/* ==========================================================================
   Tasmim Inspire — "Bright Modern SaaS" theme (v5, 2026)
   Loaded after site.css. Trust blue + orange CTA, Poppins headings /
   Open Sans body, frosted-glass cards, light heroes with soft colour blobs.
   The visitor's dark theme keeps its own look (rules below are scoped to
   the light themes unless they only change shared tokens).
   Remove the <link> to this file to return to the previous look.
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  --font-sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Poppins", "Open Sans", system-ui, sans-serif;

  --b-50: #eff6ff; --b-100: #dbeafe; --b-200: #bfdbfe; --b-300: #93c5fd; --b-400: #60a5fa;
  --b-500: #3b82f6; --b-600: #2563eb; --b-700: #1d4ed8; --b-800: #1e40af; --b-900: #1e3a8a;
  --o-50: #fff7ed; --o-100: #ffedd5; --o-300: #fdba74; --o-400: #fb923c; --o-500: #f97316; --o-600: #ea580c; --o-700: #c2410c;
  --ink: #1e293b; --ink-soft: #475569; --ink-faint: #64748b;
  --glass: rgba(255, 255, 255, .72); --glass-line: rgba(148, 163, 184, .28);
  --shadow-soft: 0 1px 2px rgba(30, 41, 59, .04), 0 12px 32px -12px rgba(37, 99, 235, .18);
  --shadow-lift: 0 2px 4px rgba(30, 41, 59, .05), 0 24px 48px -16px rgba(37, 99, 235, .28);

  /* Re-point the old brand scales: "gold" accents become orange CTAs,
     "navy/blue" becomes the new trust blue. */
  --c-gold-700: #9a3412; --c-gold-600: #c2410c; --c-gold-500: #ea580c; --c-gold-400: #f97316;
  --c-gold-300: #fdba74; --c-gold-100: #ffedd5; --c-gold-50: #fff7ed;
  --c-gold-grad: linear-gradient(100deg, #f97316, #ea580c 55%, #c2410c);
  --c-blue-600: #1d4ed8; --c-blue-500: #2563eb; --c-blue-400: #60a5fa; --c-blue-100: #dbeafe; --c-blue-50: #eff6ff;
  --c-ink-900: #0f172a; --c-ink-700: #334155; --c-ink-600: #475569; --c-ink-500: #64748b;
  --sh-focus: 0 0 0 3px rgba(37, 99, 235, .35);
  --r-lg: 16px; --r-xl: 22px;
}

/* ---- 2. Base ------------------------------------------------------------ */
html:not([data-theme="dark"]) body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(59, 130, 246, .10), transparent 60%),
    radial-gradient(700px 480px at -10% 40%, rgba(249, 115, 22, .06), transparent 60%),
    #f8fafc;
  background-attachment: fixed;
}
html:not([data-theme="dark"]) body::after { display: none !important; }
h1, h2, h3, h4, .h1, .h2, .h3, .brand__name, .card__title, .section-head h2, .btn { font-family: var(--font-head); }
h1, h2 { letter-spacing: -.025em; }
html:not([data-theme="dark"]) body :is(h1, h2, h3, h4) { color: #0f172a; }
html:not([data-theme="dark"]) body a:not(.btn) { color: var(--b-600); }
html:not([data-theme="dark"]) body a:not(.btn):hover { color: var(--b-800); }
:focus-visible { outline: 3px solid var(--b-500); outline-offset: 2px; }
::selection { background: var(--b-100); color: #0f172a; }

/* Section labels: small blue label with a short rule. */
html:not([data-theme="dark"]) body .eyebrow { color: var(--b-600) !important; }
html:not([data-theme="dark"]) body .section-head h2 + * { color: var(--ink-soft); }

/* ---- 3. Header: white glass bar ----------------------------------------- */
html:not([data-theme="dark"]) body .site-header {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
html:not([data-theme="dark"]) body .site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(30, 64, 175, .35); }
html:not([data-theme="dark"]) body .site-header .brand__name { color: #0f172a; }
html:not([data-theme="dark"]) body .site-header .brand__tag { color: var(--ink-faint); }
html:not([data-theme="dark"]) body .site-header .brand__logo { box-shadow: 0 0 0 2px var(--b-100), 0 6px 14px rgba(37, 99, 235, .18); }
html:not([data-theme="dark"]) body .site-header .main-nav__link { color: #334155; font-family: var(--font-head); font-weight: 500; }
html:not([data-theme="dark"]) body .site-header .main-nav__link:hover { color: var(--b-600); }
html:not([data-theme="dark"]) body .site-header .main-nav__link::after { background: var(--b-600); }
html:not([data-theme="dark"]) body .site-header .main-nav__link[aria-current="page"] { color: var(--b-700); }
html:not([data-theme="dark"]) body .site-header .mega-toggle { color: #64748b; }
html:not([data-theme="dark"]) body .site-header .theme-toggle { border-color: #cbd5e1; color: #334155; }
html:not([data-theme="dark"]) body .site-header .theme-toggle:hover { border-color: var(--b-500); color: var(--b-600); }
html:not([data-theme="dark"]) body .nav-toggle { border-color: #cbd5e1; }
html:not([data-theme="dark"]) body .nav-toggle__bars,
html:not([data-theme="dark"]) body .nav-toggle__bars::before,
html:not([data-theme="dark"]) body .nav-toggle__bars::after { background: #0f172a; }
@media (max-width: 860px) {
  html:not([data-theme="dark"]) body .site-header .main-nav { background: #fff; border-color: #e2e8f0; box-shadow: 0 24px 40px -20px rgba(15, 23, 42, .25); }
}

/* ---- 4. Buttons --------------------------------------------------------- */
.btn { font-weight: 600; letter-spacing: 0; transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
html:not([data-theme="dark"]) body .btn:not(.btn--gold):not(.btn--ghost):not(.btn--secondary):not([class*="ghost"]):not([class*="light"]):not([class*="outline"]):not(.dca-wa):not(.dca-btn-danger) {
  --btn-bg: var(--b-600); --btn-fg: #fff; background: var(--b-600); color: #fff; border-color: var(--b-600);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .55);
}
html:not([data-theme="dark"]) body .btn:not(.btn--gold):not(.btn--ghost):not(.btn--secondary):not([class*="ghost"]):not([class*="light"]):not([class*="outline"]):not(.dca-wa):not(.dca-btn-danger):hover { background: var(--b-700); border-color: var(--b-700); color: #fff; }
.btn--gold {
  --btn-bg: linear-gradient(135deg, #f97316, #ea580c 60%, #c2410c) !important;
  --btn-fg: #fff !important;
  background: linear-gradient(135deg, #f97316, #ea580c 60%, #c2410c) !important;
  color: #fff !important; border-color: transparent !important;
  box-shadow: 0 10px 24px -10px rgba(234, 88, 12, .65) !important;
  text-shadow: 0 1px 1px rgba(124, 45, 18, .35);
}
.btn--gold:hover { background: linear-gradient(135deg, #fb923c, #ea580c 50%, #9a3412) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(234, 88, 12, .7) !important; }
html:not([data-theme="dark"]) body :is(.btn--ghost, .btn--secondary, .hero__btn-outline, .pf-btn-ghost, .dc-btn-ghost, .dca-btn-light, .auth__alt) {
  background: rgba(255, 255, 255, .8) !important; color: var(--b-700) !important;
  border: 1.5px solid var(--b-200) !important; box-shadow: none !important;
}
html:not([data-theme="dark"]) body :is(.btn--ghost, .btn--secondary, .hero__btn-outline, .pf-btn-ghost, .dc-btn-ghost, .dca-btn-light, .auth__alt):hover { border-color: var(--b-500) !important; background: var(--b-50) !important; }

/* ---- 5. Heroes: light, with soft colour blobs --------------------------- */
html:not([data-theme="dark"]) body :is(.hero--v4, .hero--v3, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(560px 360px at 88% 8%, rgba(59, 130, 246, .26), transparent 65%),
    radial-gradient(520px 340px at 8% 92%, rgba(99, 102, 241, .14), transparent 65%),
    radial-gradient(420px 300px at 55% 110%, rgba(249, 115, 22, .14), transparent 65%),
    linear-gradient(180deg, #f8fbff, #eef4ff) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid rgba(219, 234, 254, .9);
}
html:not([data-theme="dark"]) body :is(.hero--v4, .hero--v3, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) :is(h1, h2, h3, strong, b, dt) { color: #0f172a !important; }
html:not([data-theme="dark"]) body :is(.hero--v4, .hero--v3, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) :is(p, li, small, dd, time, .lead, span:not(.btn *):not([class*="chip"]):not([class*="badge"]):not([class*="pill"]):not([class*="dot"]):not(.text-gold)) { color: var(--ink-soft) !important; }
html:not([data-theme="dark"]) body :is(.hero--v4, .hero--v3, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) a:not(.btn) { color: var(--b-600) !important; }
html:not([data-theme="dark"]) body :is(.hero--v4, .hero--v3, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) svg { color: var(--b-600); }
html:not([data-theme="dark"]) body :is(.hero--v4, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) .breadcrumbs :is(a, span, li) { color: var(--ink-faint) !important; }
html:not([data-theme="dark"]) body :is(.hero--v4, .blog-hero, .contact-hero, .dc-hero, .pf-hero, .legal-hero, .article-hero, .dca-hero) .eyebrow { color: var(--b-600) !important; }

/* Gradient headline words. */
html:not([data-theme="dark"]) body .text-gold,
html:not([data-theme="dark"]) body .hero .text-gold {
  background: linear-gradient(100deg, #2563eb, #4f46e5 45%, #7c3aed) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  animation: none !important;
}
html:not([data-theme="dark"]) body .dc-hero h1 span, html:not([data-theme="dark"]) body .auth-side h2 em { color: var(--b-600); }

/* Chips inside heroes become soft blue badges. */
html:not([data-theme="dark"]) body :is(.pf-chip, .hero__chip, .dca-pill, .dc-hero__meta li, .legal-hero__badge) {
  background: rgba(255, 255, 255, .75) !important; color: var(--b-700) !important; border: 1px solid var(--b-100) !important;
}
html:not([data-theme="dark"]) body .pf-chip--live { color: #15803d !important; border-color: #bbf7d0 !important; }

/* Hero quick facts and the Dev Connect hero panel: glass tiles. */
html:not([data-theme="dark"]) body .hero--v4 .hero__features li,
html:not([data-theme="dark"]) body .dc-hero__panel,
html:not([data-theme="dark"]) body .dc-hero__panel > * {
  background: var(--glass) !important; border: 1px solid var(--glass-line) !important; border-radius: 16px !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-soft) !important;
}
html:not([data-theme="dark"]) body .hero--v4 .hero__features li { padding: 1rem 1.15rem !important; border-left: 1px solid var(--glass-line) !important; }
html:not([data-theme="dark"]) body .hero--v4 .hero__features { gap: 1rem !important; }
html:not([data-theme="dark"]) body .hero--v4 .hero__feature-icon,
html:not([data-theme="dark"]) body .dc-hero__panel [class*="icon"] {
  width: 42px !important; height: 42px !important; border-radius: 12px !important; display: grid !important; place-items: center !important;
  background: var(--b-50) !important; color: var(--b-600) !important;
}
html:not([data-theme="dark"]) body .hero__illustration { filter: drop-shadow(0 30px 50px rgba(37, 99, 235, .25)); }
html:not([data-theme="dark"]) body .pf-shot { box-shadow: var(--shadow-lift); border-color: #fff; }

/* ---- 6. Cards: frosted glass ------------------------------------------- */
html:not([data-theme="dark"]) body .section :is(.card, .process__step):not(.card--flush):not(.card--post) {
  background: var(--glass) !important;
  border: 1px solid var(--glass-line) !important; border-top: 1px solid var(--glass-line) !important;
  border-radius: 18px !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease !important;
}
html:not([data-theme="dark"]) body .section :is(.card, .process__step):not(.card--flush):not(.card--post):hover {
  transform: translateY(-4px) !important; box-shadow: var(--shadow-lift) !important; border-color: var(--b-200) !important;
}
html:not([data-theme="dark"]) body .section .card:not(.card--flush):not(.card--post)::before { display: none !important; }
html:not([data-theme="dark"]) body .section :is(.card__icon, .process__icon) {
  width: 46px !important; height: 46px !important; border-radius: 13px !important; display: grid !important; place-items: center !important;
  background: linear-gradient(135deg, var(--b-50), var(--b-100)) !important; color: var(--b-600) !important;
  margin-bottom: 1rem !important;
}
html:not([data-theme="dark"]) body .section .card:nth-child(3n+2) .card__icon { background: linear-gradient(135deg, #eef2ff, #e0e7ff) !important; color: #4f46e5 !important; }
html:not([data-theme="dark"]) body .section .card:nth-child(3n+3) .card__icon { background: linear-gradient(135deg, var(--o-50), var(--o-100)) !important; color: var(--o-600) !important; }
html:not([data-theme="dark"]) body .process__num { -webkit-text-stroke: 0 !important; color: var(--b-200) !important; font-family: var(--font-head); }
html:not([data-theme="dark"]) body .process__step:hover .process__num { color: var(--b-500) !important; }
html:not([data-theme="dark"]) body .card__more, html:not([data-theme="dark"]) body .card--link .card__foot svg { color: var(--b-600); }
html:not([data-theme="dark"]) body .section .card .pill-list .pill { color: var(--b-700); }
html:not([data-theme="dark"]) body .section .card .pill-list .pill + .pill::before { color: var(--o-500); }

/* Image cards (portfolio, blog). */
html:not([data-theme="dark"]) body :is(.card--flush, .card--post, .pf-mini) {
  background: #fff !important; border: 1px solid #e8eef8 !important; border-radius: 18px !important; box-shadow: var(--shadow-soft) !important;
}
html:not([data-theme="dark"]) body :is(.card--flush, .card--post, .pf-mini):hover { box-shadow: var(--shadow-lift) !important; transform: translateY(-5px); }

/* Other panels on the public site. */
html:not([data-theme="dark"]) body :is(.contact-card, .dc-card, .pf-card, .dca-panel, .dca-tile, .dca-proj, .dca-thread, .dca-share) {
  border-color: var(--glass-line) !important; border-radius: 20px !important; box-shadow: var(--shadow-soft) !important;
}
html:not([data-theme="dark"]) body :is(.contact-card__icon, .dca-card__icon) { background: linear-gradient(135deg, var(--b-50), var(--b-100)) !important; color: var(--b-600) !important; }

/* Form fields. */
html:not([data-theme="dark"]) body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) { border-radius: 12px; }
html:not([data-theme="dark"]) body :is(input, select, textarea):focus { border-color: var(--b-500) !important; box-shadow: 0 0 0 4px rgba(59, 130, 246, .15) !important; outline: none; }

/* FAQ stays a clean list, with blue hover. */
html:not([data-theme="dark"]) body .faq > summary:hover { color: var(--b-600); }
html:not([data-theme="dark"]) body .faq > summary::after { border-color: var(--b-600) !important; }

/* Check lists. */
html:not([data-theme="dark"]) body .check-list svg, html:not([data-theme="dark"]) body .check-list li::before { color: var(--b-600); }

/* ---- 7. Bands & CTAs: bright blue gradient ----------------------------- */
html:not([data-theme="dark"]) body :is(.section--navy, .cta-band, .pf-cta, .dc-dir-cta, .footer-cta, .dc-done, .dca-idea, .sig-intro, .contact-direct) {
  background:
    radial-gradient(420px 260px at 92% 0%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(360px 240px at 0% 100%, rgba(249, 115, 22, .28), transparent 65%),
    linear-gradient(120deg, #1d4ed8, #2563eb 50%, #4f46e5) !important;
  color: #fff !important; border: 0 !important;
}
html:not([data-theme="dark"]) body :is(.section--navy, .cta-band, .pf-cta, .dc-dir-cta, .footer-cta, .dc-done, .dca-idea, .contact-direct) :is(h1, h2, h3, strong, b) { color: #fff !important; }
html:not([data-theme="dark"]) body :is(.section--navy, .cta-band, .pf-cta, .dc-dir-cta, .footer-cta, .dc-done, .dca-idea) :is(p, li, small, .on-navy-muted) { color: rgba(239, 246, 255, .88) !important; }
html:not([data-theme="dark"]) body :is(.section--navy, .cta-band, .pf-cta, .dc-dir-cta, .footer-cta, .dc-done, .dca-idea) .eyebrow { color: #fff !important; }
html:not([data-theme="dark"]) body :is(.section--navy, .cta-band, .pf-cta, .dc-dir-cta, .footer-cta) :is(.btn--ghost, .btn--secondary, [class*="ghost"]) { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: rgba(255, 255, 255, .45) !important; }
html:not([data-theme="dark"]) body .cta-band { border-radius: 24px !important; box-shadow: 0 30px 60px -24px rgba(37, 99, 235, .55) !important; }

/* ---- 8. Footer: deep slate ---------------------------------------------- */
html[data-theme] .site-footer--v4, html[data-theme] .site-footer {
  background: radial-gradient(700px 300px at 85% 0%, rgba(37, 99, 235, .22), transparent 65%), #0f172a !important;
}
.site-footer .footer-title::after { background: linear-gradient(90deg, #f97316, #ea580c) !important; }
.site-footer a:hover { color: #fdba74 !important; }
/* Footer links read as white text on the dark footer in every theme
   (the light theme otherwise paints every link blue). Icons keep their colours. */
html body .site-footer a:not(.btn):not(.footer-social a) { color: #e2e8f0 !important; }
html body .site-footer a:not(.btn):not(.footer-social a):hover { color: #fdba74 !important; }

/* ---- 9. Small details --------------------------------------------------- */
.announcement { background: linear-gradient(90deg, #1d4ed8, #4f46e5) !important; color: #fff !important; }
.announcement a, .announcement span { color: #fff !important; }
.whatsapp-float { box-shadow: 0 12px 28px -8px rgba(22, 163, 74, .55); }
.to-top { background: #fff; color: var(--b-600); box-shadow: var(--shadow-soft); }
.read-progress { background: linear-gradient(90deg, #2563eb, #f97316) !important; }

/* Dev Connect app bar: blue with an orange active tab. */
.dc-appnav { background: rgba(15, 23, 42, .94) !important; }
.dc-appnav__item.is-active { background: linear-gradient(135deg, #fb923c, #ea580c) !important; color: #fff !important; }
.dc-appnav__item.is-active .dc-appnav__icon img { border-color: #fff !important; }

/* Log in screens: blue colour panel. */
html:not([data-theme="dark"]) body .auth-side {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(380px 260px at 0% 100%, rgba(249, 115, 22, .35), transparent 70%),
    linear-gradient(155deg, #2563eb, #1d4ed8 55%, #4338ca) !important;
}
html:not([data-theme="dark"]) body .auth-side h2 em { color: #fde68a !important; }
html:not([data-theme="dark"]) body .auth-side__tag { color: #fff !important; background: rgba(255, 255, 255, .16) !important; }

/* ---- 10. Motion --------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"]:not([data-theme="dark"]) :is(.hero--v4, .dc-hero, .pf-hero, .blog-hero, .contact-hero)::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .28), transparent 65%);
    animation: blobDrift 14s ease-in-out infinite alternate;
  }
  @keyframes blobDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.15); } }
  html[data-animate="on"] .btn--gold::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); }
}

/* ---- 11. Wider layout on big screens + balanced About section ---------- */
@media (min-width: 1440px) { :root { --container: 1280px; } }
@media (min-width: 1100px) {
  .section--about .container.about-split { max-width: 1360px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(2.5rem, 4vw, 4.5rem) !important; }
}
.section--about .about-split__media { position: relative; }
.section--about .about-split__media img { width: 100%; height: auto; aspect-ratio: 1200 / 860; object-fit: cover; border-radius: 24px !important; }
html:not([data-theme="dark"]) .section--about .about-split__media::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; z-index: -1; border-radius: 32px; background: linear-gradient(135deg, rgba(59, 130, 246, .22), rgba(249, 115, 22, .16)); filter: blur(2px); }
.section--about .about-split__copy h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
.section--about .about-split__copy p { font-size: 1.04rem; line-height: 1.75; max-width: 62ch; }
.section--about .about-split__copy .check-list li { font-weight: 600; }

/* ---- 12. Forms: hidden status stays hidden; tidy option grid ----------- */
[hidden], .notice[hidden], [data-form-status][hidden] { display: none !important; }
[data-form-status]:empty { display: none !important; }
.choice-chips { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px !important; }
.choice-chips--soft { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.choice-chip { display: block; }
.choice-chip span {
  display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 48px;
  padding: .7rem .95rem !important; border-radius: 12px !important; text-align: left; line-height: 1.3;
  font-size: .9rem !important; font-weight: 500; box-shadow: none !important;
}
.choice-chip span::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #cbd5e1; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.choice-chip input:checked + span, .choice-chips--soft .choice-chip input:checked + span {
  background: #eff6ff !important; border-color: #3b82f6 !important; color: #1e3a8a !important; font-weight: 600;
}
.choice-chip input:checked + span::before { border-color: #2563eb; background: #2563eb; box-shadow: inset 0 0 0 3px #fff; }
.choice-chip:hover span { border-color: #93c5fd !important; }
html[data-theme="dark"] .choice-chip span { background: rgba(255, 255, 255, .03) !important; border-color: rgba(255, 255, 255, .12) !important; color: rgba(226, 232, 240, .9) !important; }
html[data-theme="dark"] .choice-chip span::before { border-color: rgba(255, 255, 255, .35); background: transparent; }
html[data-theme="dark"] .choice-chip input:checked + span, html[data-theme="dark"] .choice-chips--soft .choice-chip input:checked + span { background: rgba(59, 130, 246, .16) !important; border-color: #60a5fa !important; color: #fff !important; }
html[data-theme="dark"] .choice-chip input:checked + span::before { border-color: #60a5fa; background: #60a5fa; box-shadow: inset 0 0 0 3px #0f1d3d; }
html[data-theme="dark"] .choice-chip:hover span { border-color: rgba(96, 165, 250, .6) !important; }
@media (max-width: 560px) { .choice-chips, .choice-chips--soft { grid-template-columns: 1fr 1fr; } .choice-chip span { font-size: .84rem !important; min-height: 44px; } }
@media (max-width: 360px) { .choice-chips, .choice-chips--soft { grid-template-columns: 1fr; } }
.contact-layout > *, .contact-grid > *, .contact-card, .contact-card form, .choice-field, .choice-chips > * { min-width: 0; }
.choice-chips { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.choice-chips--soft { grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); }
.choice-chip span { overflow-wrap: anywhere; }
@media (max-width: 560px) { .choice-chips, .choice-chips--soft { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 360px) { .choice-chips, .choice-chips--soft { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---- 13. Light/Dark toggle icon + mobile menu -------------------------- */
.theme-toggle { display: inline-grid !important; place-items: center; }
.theme-toggle__icon { display: inline-flex !important; }
.theme-toggle__icon--sun, html[data-theme="dark"] .theme-toggle__icon--moon { display: none !important; }
html[data-theme="dark"] .theme-toggle__icon--sun { display: inline-flex !important; }
.theme-toggle__icon svg { width: 18px; height: 18px; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  html body .site-header .main-nav { padding: .4rem 16px 1.25rem !important; border-radius: 0 0 22px 22px; max-height: calc(100dvh - var(--header-h)); box-shadow: 0 30px 50px -24px rgba(15, 23, 42, .35) !important; }
  html body .site-header .main-nav[data-open="true"] { animation: navDrop .28s cubic-bezier(.16, 1, .3, 1); }
  html body .site-header .main-nav__list { gap: 0 !important; }
  html body .site-header .main-nav__list > li { display: flex; align-items: center; border-bottom: 1px solid #eef2f7; }
  html body .site-header .main-nav__link { flex: 1; display: flex !important; align-items: center; justify-content: space-between; padding: 1rem .25rem !important; font-size: 1.02rem !important; font-weight: 600 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
  html body .site-header .main-nav__link::after { content: "" !important; position: static !important; display: block !important; width: 8px !important; height: 8px !important; transform: rotate(45deg) !important; background: none !important; border-radius: 0 !important; border-top: 2px solid #94a3b8; border-right: 2px solid #94a3b8; margin-right: .35rem; }
  html body .site-header .has-mega .main-nav__link::after { display: none !important; }
  html body .site-header .main-nav__link[aria-current="page"] { color: #2563eb !important; }
  html body .site-header .main-nav__link[aria-current="page"]::after { border-color: #2563eb; }
  html body .site-header .mega-toggle { width: 44px; height: 44px; border-radius: 12px; }
  html body .nav-theme { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 1rem !important; margin-top: .9rem !important; padding: 0 .25rem !important; border-top: 0 !important; }
  html body .nav-theme__label { padding: 0 !important; font-size: .95rem !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: #334155 !important; }
  html body .nav-theme__options { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; min-width: 190px; padding: 4px !important; border-radius: 12px !important; background: #f1f5f9 !important; border: 1px solid #e2e8f0 !important; }
  html body .nav-theme__options button { min-height: 40px !important; color: #475569 !important; border-radius: 9px !important; font-size: .88rem !important; background: transparent !important; box-shadow: none !important; }
  html body .nav-theme__options button[aria-pressed="true"] { background: #fff !important; color: #1d4ed8 !important; box-shadow: 0 1px 3px rgba(15, 23, 42, .12), 0 4px 10px -6px rgba(37, 99, 235, .35) !important; }
  html body .nav-cta { margin-top: 1rem !important; min-height: 50px; }
  html[data-theme="dark"] body .site-header .main-nav__list > li { border-bottom-color: rgba(255, 255, 255, .08); }
  html[data-theme="dark"] body .site-header .main-nav__link { color: #e2e8f0 !important; }
  html[data-theme="dark"] body .site-header .main-nav__link[aria-current="page"] { color: #93c5fd !important; }
  html[data-theme="dark"] body .nav-theme__label { color: #cbd5e1 !important; }
  html[data-theme="dark"] body .nav-theme__options { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .1) !important; }
  html[data-theme="dark"] body .nav-theme__options button { color: #cbd5e1 !important; }
  html[data-theme="dark"] body .nav-theme__options button[aria-pressed="true"] { background: #1e293b !important; color: #fff !important; }
}

/* ===== 14. Icon tiles: centred, consistent, with a hover fill ===== */
body:not(#_) .section :is(.card__icon, .process__icon) {
  width: 56px !important; height: 56px !important; flex: 0 0 56px;
  display: grid !important; place-items: center !important; place-content: center !important;
  justify-content: center !important; align-content: center !important;
  border-radius: 16px !important; margin: 0 0 1.1rem !important; padding: 0 !important;
  position: relative; transform: none;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12) !important;
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease !important;
}
body:not(#_) .section :is(.card__icon, .process__icon) svg {
  width: 28px !important; height: 28px !important; margin: 0 !important; display: block;
}
body:not(#_) .section :is(.card__icon, .process__icon) svg.icon--line { stroke-width: 1.8; }
body:not(#_) .section .services-list .card__icon, body:not(#_) .section .card__icon[style] { margin-bottom: 0 !important; }
html:not([data-theme="dark"]) body:not(#_) .section .card:nth-child(3n+2) .card__icon { box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .14) !important; }
html:not([data-theme="dark"]) body:not(#_) .section .card:nth-child(3n+3) .card__icon { box-shadow: inset 0 0 0 1px rgba(234, 88, 12, .16) !important; }
/* Hover: tile fills with its colour, icon turns white. */
html:not([data-theme="dark"]) body:not(#_) .section .card:hover .card__icon {
  background: linear-gradient(135deg, var(--b-500), var(--b-700)) !important; color: #fff !important;
  transform: translateY(-2px) rotate(-3deg) !important; box-shadow: 0 10px 20px -8px rgba(37, 99, 235, .55) !important;
}
html:not([data-theme="dark"]) body:not(#_) .section .card:nth-child(3n+2):hover .card__icon {
  background: linear-gradient(135deg, #6366f1, #4338ca) !important; box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .55) !important;
}
html:not([data-theme="dark"]) body:not(#_) .section .card:nth-child(3n+3):hover .card__icon {
  background: linear-gradient(135deg, #fb923c, #ea580c) !important; box-shadow: 0 10px 20px -8px rgba(234, 88, 12, .55) !important;
}
/* Dark theme tiles. */
html[data-theme="dark"] body:not(#_) .section :is(.card__icon, .process__icon) {
  background: rgba(59, 130, 246, .14) !important; color: #93c5fd !important; box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .18) !important;
}
html[data-theme="dark"] body:not(#_) .section .card:nth-child(3n+2) .card__icon { background: rgba(129, 140, 248, .14) !important; color: #a5b4fc !important; }
html[data-theme="dark"] body:not(#_) .section .card:nth-child(3n+3) .card__icon { background: rgba(251, 146, 60, .14) !important; color: #fdba74 !important; }
html[data-theme="dark"] body:not(#_) .section .card:hover .card__icon { transform: translateY(-2px) rotate(-3deg) !important; }
/* Compact side-by-side benefit layout on small screens. */
@media (max-width: 640px) {
  body:not(#_) .section :is(.card--benefit, .process__step) { grid-template-columns: 48px 1fr !important; }
  body:not(#_) .section :is(.card--benefit .card__icon, .process__icon) { width: 48px !important; height: 48px !important; margin: 0 !important; border-radius: 14px !important; }
  body:not(#_) .section :is(.card--benefit .card__icon, .process__icon) svg { width: 24px !important; height: 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(#_) .section .card:hover .card__icon { transform: none !important; }
}

/* ===== 15. Dark theme: same card system as light, on deep slate ===== */
html[data-theme="dark"] body:not(#_) .section :is(.card, .process__step):not(.card--flush):not(.card--post) {
  background: linear-gradient(180deg, rgba(30, 41, 59, .72), rgba(15, 23, 42, .72)) !important;
  border: 1px solid rgba(148, 163, 184, .16) !important; border-top: 1px solid rgba(148, 163, 184, .16) !important;
  border-radius: 18px !important;
  padding: 1.5rem !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 36px -24px rgba(0, 0, 0, .7) !important;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease !important;
}
html[data-theme="dark"] body:not(#_) .section :is(.card, .process__step):not(.card--flush):not(.card--post):hover {
  transform: translateY(-4px) !important; border-color: rgba(96, 165, 250, .4) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 44px -24px rgba(37, 99, 235, .45) !important;
}
html[data-theme="dark"] body:not(#_) .section .card:not(.card--flush):not(.card--post)::before { display: none !important; }
html[data-theme="dark"] body .eyebrow { color: #93c5fd !important; }
html[data-theme="dark"] body .section .card :is(.card__title, h3) { color: #f1f5f9; }
html[data-theme="dark"] body .section .card :is(.card__text, p) { color: #a8b3c7; }
html[data-theme="dark"] body .section :is(.card__more, .card--link .card__foot svg) { color: #60a5fa; }
html[data-theme="dark"] body:not(#_) .section .card:hover .card__icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; color: #fff !important;
  box-shadow: 0 10px 20px -8px rgba(59, 130, 246, .6) !important;
}
html[data-theme="dark"] body:not(#_) .section .card:nth-child(3n+2):hover .card__icon { background: linear-gradient(135deg, #6366f1, #4338ca) !important; }
html[data-theme="dark"] body:not(#_) .section .card:nth-child(3n+3):hover .card__icon { background: linear-gradient(135deg, #fb923c, #ea580c) !important; }

/* Mobile benefit / process cards: icon left, title + text right, both themes. */
@media (max-width: 640px) {
  body:not(#_) .section :is(.card--benefit, .process__step) {
    display: grid !important; grid-template-columns: 48px minmax(0, 1fr) !important;
    column-gap: 14px !important; row-gap: 4px !important; align-items: start !important;
    padding: 1.15rem !important;
  }
  body:not(#_) .section :is(.card--benefit .card__icon, .process__icon) { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
  body:not(#_) .section :is(.card--benefit .card__title, .process__title) { grid-column: 2 !important; grid-row: 1 !important; align-self: center !important; margin: 0 !important; min-width: 0; word-break: normal; overflow-wrap: normal; hyphens: none; }
  body:not(#_) .section :is(.card--benefit .card__text, .process__text) { grid-column: 2 !important; grid-row: 2 !important; margin: 0 !important; }
  body:not(#_) .section .process__num { grid-column: auto; }
}

/* ===== 16. Back-to-top button: visible arrow in both themes ===== */
body:not(#_) .to-top {
  background: linear-gradient(135deg, var(--b-500, #3b82f6), var(--b-700, #1d4ed8)) !important;
  color: #fff !important; border: 0 !important;
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .6) !important;
}
body:not(#_) .to-top svg { color: #fff !important; fill: currentColor !important; }
body:not(#_) .to-top:hover { filter: brightness(1.08); }

/* ===== 17. Dev Connect member area on phones: compact, app-like top ===== */
@media (max-width: 720px) {
  body:not(#_) .dca-hero { padding: 14px 0 16px !important; text-align: left !important; min-height: 0 !important; }
  body:not(#_) .dca-hero .container { padding-inline: 16px; }
  body:not(#_) .dca-hero__inner { flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 12px !important; }
  body:not(#_) .dca-hero__pic { width: 56px !important; height: 56px !important; border-width: 3px !important; box-shadow: 0 6px 14px rgba(15, 23, 42, .14) !important; flex: 0 0 56px; }
  body:not(#_) .dca-hero__text, body:not(#_) .dca-hero__text :is(h1, p) { flex: 1 1 0; min-width: 0 !important; text-align: left !important; }
  body:not(#_) .dca-hero__text p { justify-content: flex-start !important; }
  body:not(#_) .dca-hero__eyebrow { font-size: .68rem !important; letter-spacing: .05em; }
  body:not(#_) .dca-hero h1 { font-size: 1.25rem !important; line-height: 1.25; margin: .1rem 0 .2rem !important; }
  body:not(#_) .dca-hero p { justify-content: flex-start !important; font-size: .85rem; line-height: 1.4; }
  body:not(#_) .dca-hero--slim p { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body:not(#_) .dca-hero :is(.dca-pill, .pf-chip) { font-size: .72rem; padding: .2rem .55rem; }
  /* Profile page: stats and buttons as compact full-width rows. */
  body:not(#_) .dca-hero .dca-stats { width: 100% !important; gap: 6px !important; }
  body:not(#_) .dca-hero .dca-stats li { padding: .4rem .3rem !important; border-radius: 10px !important; }
  body:not(#_) .dca-hero .dca-stats strong { font-size: .95rem !important; }
  body:not(#_) .dca-hero .dca-stats span { font-size: .62rem !important; }
  body:not(#_) .dca-hero__actions { width: 100%; justify-content: flex-start !important; gap: 8px !important; }
  body:not(#_) .dca-hero__actions .btn { padding: .5rem .9rem !important; font-size: .82rem !important; }
  /* Content starts right under the slim header instead of overlapping it. */
  body:not(#_) .dca-body { margin-top: 0 !important; padding-top: 14px !important; }
  /* Home quick actions: one row of four app icons. */
  body:not(#_) .dca-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 14px !important; }
  body:not(#_) .dca-tile { align-items: center; text-align: center; padding: 10px 4px !important; border-radius: 14px !important; gap: 4px !important; }
  body:not(#_) .dca-tile__icon { width: 40px !important; height: 40px !important; border-radius: 12px !important; position: relative; }
  body:not(#_) .dca-tile strong { font-size: .7rem !important; line-height: 1.2; margin-top: 2px !important; overflow-wrap: anywhere; }
  body:not(#_) .dca-tile small { display: none !important; }
}

/* ===== 18. Dev Connect jobs board ===== */
body:not(#_) .dca-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) and (min-width: 721px) {
  body:not(#_) .dca-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dca-tile--orange .dca-tile__icon { background: #ffedd5; color: #c2410c; }
.dca-job__type--full-time { background: #e8f0ff; color: #1d4ed8; }
.dca-job__type--part-time { background: #e0f2fe; color: #0369a1; }
.dca-job__type--freelance { background: #dcfce7; color: #15803d; }
.dca-job__type--internship { background: var(--c-gold-100); color: var(--c-gold-700); }
.dca-job__type--contract { background: #f3e8ff; color: #7e22ce; }
.dca-job__company { margin: 0; font-size: .86rem; font-weight: 600; color: var(--c-ink-500); }
.dca-job__facts { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--c-ink-500); }
.dca-job__facts > * { display: inline-flex; align-items: center; gap: 5px; }
.dca-job__facts svg { width: 14px; height: 14px; flex: 0 0 auto; }
.dca-job__facts--lg { margin-top: .6rem; font-size: .88rem; }
.dca-app { display: inline-flex; align-items: center; padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.dca-app--new { background: #e0f2fe; color: #0369a1; }
.dca-app--short { background: #fef3c7; color: #b45309; }
.dca-app--hired { background: #dcfce7; color: #15803d; }
.dca-app--rejected { background: #fee2e2; color: #b91c1c; }
.dca-app--withdrawn { background: #f1f5f9; color: #475569; }
.dca-japp__status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .4rem; font-weight: 600; }
.dca-japp__note { margin: .6rem 0 1rem; padding: .7rem .9rem; border: 1px solid #e8ebf2; border-radius: 12px; font-size: .9rem; }
.dca-japp__note summary { cursor: pointer; font-weight: 600; }
.dca-japp__note > div { margin-top: .5rem; }
html[data-theme="dark"] .dca-job__company, html[data-theme="dark"] .dca-job__facts { color: #cbd5e1; }
html[data-theme="dark"] .dca-japp__note { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .dca-tile--orange .dca-tile__icon { background: rgba(251, 146, 60, .16); color: #fdba74; }

/* ===== 19. Dev Connect Hiring mode & employer profiles ===== */
.dca-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.dca-modes .dca-panel { margin-bottom: 0; }
.dca-mode { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.dca-mode h2 { margin: 0; font-size: 1.15rem; }
.dca-mode p { margin: 0 0 .3rem; }
.dca-mode.is-current { border-color: #bfdbfe; background: linear-gradient(180deg, #f8fbff, #fff); }
.dca-mode__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e8f0ff; color: #1d4ed8; }
.dca-mode:not(.is-current) .dca-mode__icon { background: #ffedd5; color: #c2410c; }
.dca-mode__icon svg { width: 20px; height: 20px; }
.dca-steps { margin: .4rem 0 .8rem; padding-left: 1.2rem; display: grid; gap: .45rem; }
.dca-emp__logo { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--c-gold-grad); color: #fff; font-weight: 800; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(234, 88, 12, .25); }
.dca-emp__logo--lg { width: 112px; height: 112px; border-radius: 28px; font-size: 3rem; border: 4px solid #fff; }
.dca-emp-card { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dca-emp-card__text { flex: 1 1 200px; min-width: 0; display: grid; }
.dca-emp-card__text strong { font-size: 1.1rem; }
.dca-emp-card__text small { color: var(--c-ink-500); }
.dca-emp-card__actions { display: flex; gap: .5rem; }
.dca-hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.dca-hstats li { display: grid; gap: 2px; padding: .9rem; border-radius: 16px; background: #fff; border: 1px solid #e8ebf2; text-align: center; }
.dca-hstats strong { font-size: 1.5rem; line-height: 1.1; }
.dca-hstats span { font-size: .78rem; color: var(--c-ink-500); }
.dca-hjobs { display: grid; gap: .6rem; }
.dca-hjob { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1rem; border: 1px solid #e8ebf2; border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dca-hjob:hover { border-color: #fdba74; box-shadow: 0 6px 16px rgba(15, 23, 42, .06); }
.dca-hjob__main { display: grid; min-width: 0; }
.dca-hjob__main strong { overflow-wrap: anywhere; }
.dca-hjob__main small, .dca-hjob__side small { color: var(--c-ink-500); font-size: .78rem; }
.dca-hjob__side { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; text-align: right; }
.dca-hjob__side b { color: #c2410c; }
.dca-hjob__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.dca-hjob__tools form { margin: 0; }
.dca-mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dca-mode-switch > div { flex: 1 1 260px; }
.dca-mode-switch p { margin: .2rem 0 0; }
.dca-mode-switch form { margin: 0; }
.dca-notice { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .5rem; padding: .75rem .9rem; border-radius: 12px; font-size: .9rem; }
.dca-notice svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.dca-notice--wait { background: #fef3c7; color: #92400e; }
.dca-notice--bad { background: #fee2e2; color: #991b1b; }
.dca-applicants { display: grid; gap: .9rem; }
.dca-applicant { padding: 1rem; border: 1px solid #e8ebf2; border-radius: 16px; }
.dca-applicant.is-withdrawn { opacity: .6; }
.dca-applicant__head { display: flex; align-items: center; gap: .75rem; }
.dca-applicant__head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dca-applicant__who { flex: 1 1 auto; min-width: 0; display: grid; }
.dca-applicant__who small { color: var(--c-ink-500); font-size: .8rem; }
.dca-applicant__note { margin: .7rem 0; padding: .7rem .9rem; border-radius: 12px; background: #f8fafc; font-size: .92rem; overflow-wrap: anywhere; }
.dca-applicant__facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; font-size: .82rem; }
.dca-applicant__facts > * { display: inline-flex; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.dca-applicant__facts svg { width: 13px; height: 13px; flex: 0 0 auto; }
.dca-applicant__actions { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 0; }
.dca-hirebar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: .9rem; text-decoration: none; }
.dca-hirebar > span:first-child { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.dca-hirebar svg { width: 16px; height: 16px; flex: 0 0 auto; }
a.dca-hirebar:hover { border-color: #fb923c; }
.dca-hirebar__actions { display: flex; gap: .5rem; }
.dca-pill--hire { background: #ffedd5 !important; color: #9a3412 !important; text-decoration: none; }
.dca-job__company a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dca-job__company a:hover { color: #c2410c; }
.dca-job__company a svg { width: 12px; height: 12px; }
.dca-job__by { margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: #ffedd5; color: #9a3412; font-size: .7rem; font-weight: 700; }
.dca-section-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-size: 1.15rem; }
.dca-section-title svg { width: 18px; height: 18px; color: #c2410c; }
@media (max-width: 720px) {
  .dca-modes { grid-template-columns: 1fr; }
  .dca-hstats { gap: .5rem; }
  .dca-hstats li { padding: .6rem .3rem; }
  .dca-hstats strong { font-size: 1.2rem; }
  .dca-hjob { flex-direction: column; align-items: stretch; }
  .dca-hjob__side { justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; justify-content: start; gap: .6rem; }
  body:not(#_) .dca-emp__logo--lg { width: 56px; height: 56px; border-radius: 14px; font-size: 1.5rem; border-width: 3px; flex: 0 0 56px; }
}
html[data-theme="dark"] .dca-mode.is-current { background: rgba(59, 130, 246, .08); border-color: rgba(96, 165, 250, .3); }
html[data-theme="dark"] .dca-mode__icon { background: rgba(59, 130, 246, .16); color: #93c5fd; }
html[data-theme="dark"] .dca-mode:not(.is-current) .dca-mode__icon { background: rgba(251, 146, 60, .16); color: #fdba74; }
html[data-theme="dark"] .dca-hstats li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] :is(.dca-hjob, .dca-applicant) { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] :is(.dca-hstats span, .dca-hjob__main small, .dca-hjob__side small, .dca-applicant__who small, .dca-emp-card__text small) { color: #cbd5e1; }
html[data-theme="dark"] .dca-applicant__note { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dca-hirebar { background: rgba(251, 146, 60, .1); border-color: rgba(251, 146, 60, .3); color: #fdba74; }
html[data-theme="dark"] .dca-notice--wait { background: rgba(251, 191, 36, .14); color: #fcd34d; }
html[data-theme="dark"] .dca-notice--bad { background: rgba(248, 113, 113, .14); color: #fca5a5; }
html[data-theme="dark"] :is(.dca-pill--hire, .dca-job__by) { background: rgba(251, 146, 60, .16) !important; color: #fdba74 !important; }
html[data-theme="dark"] .dca-emp__logo--lg { border-color: #1e293b; }

/* ===== 20. Dev Connect: phone polish & motion ===== */
/* Tiles: full label on wide screens, a one-word label on phones. */
.dca-tile__short { display: none; }
@media (max-width: 720px) {
  body:not(#_) .dca-tile__long { display: none; }
  body:not(#_) .dca-tile__short { display: inline; }
  body:not(#_) .dca-tile strong { font-size: .74rem !important; white-space: nowrap; }
  body:not(#_) .dca-tile { min-height: 78px; justify-content: center; }
  /* Comfortable tap targets (44px). */
  .dca-back { min-height: 44px; padding-right: .5rem; margin-bottom: .25rem; }
  body:not(#_) .dca-hero__actions .btn { min-height: 42px; }
  .dca-japp__note summary, .dca-pview details summary, .dca-body details > summary { min-height: 44px; display: flex; align-items: center; gap: .4rem; }
  .dca-chips a { min-height: 40px; }
  .dca-pill--hire { min-height: 30px; }
  .alerts [data-dismiss] button, .notice__close { min-width: 40px; min-height: 40px; }
  /* Readable small print. */
  body:not(#_) .dca-hero .dca-stats span { font-size: .7rem !important; }
  /* Form fields at 16px so phones do not zoom in when typing. */
  .dca-body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  .dca-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
  /* Filter chips: snap while swiping and fade at the edge to hint there is more. */
  .dca-chips { scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 1.5rem; }
  .dca-chips a { scroll-snap-align: start; }
}

/* Interaction feedback (always on, gentle). */
.dca-tile, .dca-proj, .dca-hjob, .dca-thread, .dca-person, .dca-post-mini, .dca-chips a, .dc-appnav__item {
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.dca-tile:active, .dca-proj:active, .dca-hjob:active, .dca-thread:active, .dca-person:active, .dca-chips a:active, .dc-appnav__item:active { transform: scale(.96); }
.dca-body .btn:active, .dca-page .btn:active { transform: scale(.97); }
@media (hover: hover) {
  .dca-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15, 23, 42, .1); }
  .dca-tile:hover .dca-tile__icon { animation: dcaWiggle .5s ease; }
  .dca-proj:hover, .dca-person:hover { transform: translateY(-3px); }
}
.dca-body :is(input, select, textarea):focus-visible { transition: box-shadow .2s ease, border-color .2s ease; }

@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"] .dca-hero :is(.dca-hero__eyebrow, h1, p, .dca-stats, .dca-hero__actions) { animation: dcaUp .55s cubic-bezier(.2, .8, .2, 1) backwards; }
  html[data-animate="on"] .dca-hero h1 { animation-delay: .06s; }
  html[data-animate="on"] .dca-hero p, html[data-animate="on"] .dca-hero .dca-stats { animation-delay: .12s; }
  html[data-animate="on"] .dca-hero .dca-hero__actions { animation-delay: .18s; }
  html[data-animate="on"] :is(.dca-hero__pic, .dca-emp__logo--lg) { animation: dcaPop .6s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  /* Home tiles drop in one after another. */
  html[data-animate="on"] .dca-tiles .dca-tile { animation: dcaUp .5s cubic-bezier(.2, .8, .2, 1) backwards; }
  html[data-animate="on"] .dca-tiles .dca-tile:nth-child(2) { animation-delay: .05s; }
  html[data-animate="on"] .dca-tiles .dca-tile:nth-child(3) { animation-delay: .1s; }
  html[data-animate="on"] .dca-tiles .dca-tile:nth-child(4) { animation-delay: .15s; }
  html[data-animate="on"] .dca-tiles .dca-tile:nth-child(5) { animation-delay: .2s; }
  /* Unread dots breathe so new things get noticed. */
  .dca-tile__dot, .dc-appnav__badge { animation: dcaPulse 2s ease-out infinite; }
  /* Progress bars fill up. */
  html[data-animate="on"] .dca-meter__bar span { transform-origin: left center; animation: dcaFill 1.1s cubic-bezier(.2, .8, .2, 1) .25s both; }
  /* Messages and alerts slide in. */
  html[data-animate="on"] .dca-body .alerts .notice, html[data-animate="on"] .dca-page .alerts .notice { animation: dcaUp .4s ease backwards; }
  /* App bar: slides up once, active tab icon pops. */
  html[data-animate="on"] .dc-appnav { animation: dcaBar .5s cubic-bezier(.2, .8, .2, 1) backwards; }
  html[data-animate="on"] .dc-appnav__item.is-active .dc-appnav__icon { animation: dcaPop .45s cubic-bezier(.34, 1.56, .64, 1) .1s both; }
  /* Page-to-page: the app bar stays put, the page cross-fades. */
  .dc-appnav { view-transition-name: dc-appnav; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: dcaFadeOut .16s ease both; }
  ::view-transition-new(root) { animation: dcaFadeIn .24s ease both; }
}
@keyframes dcaUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dcaPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes dcaFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dcaPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@keyframes dcaWiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }
@keyframes dcaBar { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes dcaFadeOut { to { opacity: 0; } }
@keyframes dcaFadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .dca-tile, .dca-proj, .dca-hjob, .dca-thread, .dca-person, .dca-chips a, .dc-appnav__item, .dca-body .btn { transition: none !important; }
  .dca-tile:hover, .dca-proj:hover, .dca-person:hover { transform: none; }
}
html[data-theme="dark"] .dca-tile:hover { box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
/* After the scroll reveal finishes, list cards get their tap/hover transitions back. */
.js .dca-body :is(.dca-proj, .dca-hjob, .dca-thread, .dca-person)[data-reveal].is-in { transition: opacity .7s cubic-bezier(.22, .61, .36, 1), translate .7s cubic-bezier(.22, .61, .36, 1), transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, border-color .2s ease; }
/* Flash messages readable in dark mode. */
html[data-theme="dark"] .notice--success { background: rgba(34, 197, 94, .12); color: #bbf7d0; border-color: rgba(34, 197, 94, .35); }
html[data-theme="dark"] .notice--info { background: rgba(59, 130, 246, .12); color: #bfdbfe; border-color: rgba(59, 130, 246, .35); }
html[data-theme="dark"] .notice--warning { background: rgba(245, 158, 11, .12); color: #fde68a; border-color: rgba(245, 158, 11, .35); }
html[data-theme="dark"] .notice--error { background: rgba(239, 68, 68, .12); color: #fecaca; border-color: rgba(239, 68, 68, .35); }

/* ===== 21. Dev Connect notifications, points & badges ===== */
/* Header bell (signed-in members only). */
.dc-bell { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: .4rem; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: var(--c-navy-900, #0b1b3d); text-decoration: none; flex: 0 0 auto; transition: transform .18s ease, border-color .2s ease; }
.dc-bell svg { width: 18px; height: 18px; }
.dc-bell:hover, .dc-bell.is-active { border-color: #fb923c; color: #c2410c; }
.dc-bell:active { transform: scale(.94); }
.dc-bell__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .7rem; font-weight: 800; line-height: 20px; text-align: center; border: 2px solid #fff; }
@media (min-width: 1100px) { .dc-bell { order: 5; margin-left: .6rem; margin-right: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .dc-bell:has(.dc-bell__count) svg { animation: dcaRing 2.4s ease-in-out 1s 2; transform-origin: 50% 10%; }
  .dc-bell__count { animation: dcaPulse 2s ease-out infinite; }
}
@keyframes dcaRing { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } 50% { transform: rotate(6deg); } }

/* Notifications list. */
.dca-notifs { padding: .5rem; display: grid; gap: .25rem; }
.dca-notif { position: relative; display: flex; gap: .8rem; align-items: flex-start; padding: .8rem .9rem; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color .2s ease, transform .18s ease; }
a.dca-notif:hover { background: #f8fafc; }
a.dca-notif:active { transform: scale(.98); }
.dca-notif.is-new { background: #fff7ed; }
.dca-notif__icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; }
.dca-notif__icon svg { width: 17px; height: 17px; }
.dca-notif__icon--green { background: #dcfce7; color: #15803d; }
.dca-notif__icon--orange { background: #ffedd5; color: #c2410c; }
.dca-notif__icon--blue { background: #e0f2fe; color: #0369a1; }
.dca-notif__icon--purple { background: #f3e8ff; color: #7e22ce; }
.dca-notif__icon--gold { background: #fef3c7; color: #b45309; }
.dca-notif__text { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.dca-notif__text strong { font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.dca-notif__body { color: var(--c-ink-500); font-size: .85rem; overflow-wrap: anywhere; }
.dca-notif__time { color: var(--c-ink-500); font-size: .75rem; }
.dca-notif__dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #ef4444; }

/* Level card. */
.dca-level { display: grid; gap: .7rem; color: inherit; text-decoration: none; background: linear-gradient(135deg, #fff7ed, #fff 60%); border-color: #fed7aa; }
.dca-level--link { transition: transform .2s ease, box-shadow .2s ease; }
.dca-level--link:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(234, 88, 12, .14); }
.dca-level--link:active { transform: scale(.98); }
.dca-level__top { display: flex; align-items: center; gap: .8rem; }
.dca-level__badge { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--c-gold-grad); color: #fff; box-shadow: 0 10px 20px rgba(234, 88, 12, .28); }
.dca-level__badge svg { width: 24px; height: 24px; }
.dca-level__text { flex: 1 1 auto; display: grid; min-width: 0; }
.dca-level__text small, .dca-level__pts small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink-500); font-weight: 700; }
.dca-level__text strong { font-size: 1.3rem; line-height: 1.15; }
.dca-level__pts { display: grid; text-align: right; }
.dca-level__pts strong { font-size: 1.6rem; line-height: 1; color: #c2410c; }
.dca-level__bar { margin: 0; }
.dca-level__bar span { background: var(--c-gold-grad) !important; }
.dca-level__next { margin: 0; color: var(--c-ink-500); }
.dca-level__facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.dca-level__facts li { display: inline-flex; align-items: center; gap: 5px; }
.dca-level__facts svg { width: 14px; height: 14px; color: #ea580c; }
.dca-level__go { margin-left: auto; font-weight: 700; color: #c2410c; }

/* Podium + board. */
.dca-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: .6rem; margin: .5rem 0 1.25rem; }
.dca-podium__place { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.dca-podium__place img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, .15); }
.dca-podium__place--1 img { width: 80px; height: 80px; border-color: #fbbf24; }
.dca-podium__place strong { font-size: .88rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dca-podium__place small { color: var(--c-ink-500); font-weight: 700; font-size: .8rem; }
.dca-podium__rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0; color: #334155; font-weight: 800; font-size: .85rem; }
.dca-podium__place--1 .dca-podium__rank { background: #fbbf24; color: #78350f; }
.dca-podium__place--2 .dca-podium__rank { background: #cbd5e1; }
.dca-podium__place--3 .dca-podium__rank { background: #fdba74; color: #7c2d12; }
.dca-podium__step { width: 100%; margin-top: .4rem; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, #e8f0ff, #f8fafc); height: 54px; }
.dca-podium__place--1 .dca-podium__step { height: 84px; background: linear-gradient(180deg, #fde68a, #fff7ed); }
.dca-podium__place--3 .dca-podium__step { height: 38px; background: linear-gradient(180deg, #fed7aa, #fff7ed); }
.dca-podium__place.is-me strong { color: #c2410c; }
.dca-board { list-style: none; padding: .4rem; display: grid; gap: .2rem; }
.dca-board li { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 12px; }
.dca-board li.is-me { background: #fff7ed; outline: 1px solid #fed7aa; }
.dca-board__rank { flex: 0 0 26px; text-align: center; font-weight: 800; color: var(--c-ink-500); }
.dca-board img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dca-board__who { flex: 1 1 auto; display: grid; min-width: 0; }
.dca-board__who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dca-board__who small { color: var(--c-ink-500); font-size: .75rem; }
.dca-board__pts { font-weight: 800; color: #c2410c; }

/* Badges. */
.dca-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.dca-badge { display: grid; justify-items: center; gap: 4px; padding: .9rem .6rem; border-radius: 16px; border: 1px dashed #cbd5e1; text-align: center; color: var(--c-ink-500); }
.dca-badge strong { font-size: .85rem; color: inherit; }
.dca-badge small { font-size: .72rem; line-height: 1.3; }
.dca-badge__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f5f9; color: #94a3b8; }
.dca-badge__icon svg { width: 18px; height: 18px; }
.dca-badge.is-earned { border-style: solid; border-color: #fed7aa; background: #fffbf5; color: var(--c-navy-900, #0b1b3d); }
.dca-badge.is-earned .dca-badge__icon { background: var(--c-gold-grad); color: #fff; box-shadow: 0 6px 14px rgba(234, 88, 12, .25); }
.dca-badges--mini { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.dca-badges--mini .dca-badge { padding: .6rem .3rem; }
.dca-badges--mini .dca-badge strong { font-size: .72rem; }
@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"] .dca-badge.is-earned .dca-badge__icon { animation: dcaPop .6s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  html[data-animate="on"] .dca-podium__step { transform-origin: bottom; animation: dcaRise .7s cubic-bezier(.2, .8, .2, 1) .15s backwards; }
  html[data-animate="on"] .dca-podium__place img { animation: dcaPop .6s cubic-bezier(.34, 1.56, .64, 1) .45s backwards; }
}
@keyframes dcaRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dca-earn { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.dca-earn li { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid #f1f5f9; font-size: .9rem; }
.dca-earn li:last-child { border-bottom: 0; }
.dca-earn strong { color: #15803d; white-space: nowrap; }
.dca-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .dca-grid--even { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .dca-podium__place img { width: 52px; height: 52px; }
  .dca-podium__place--1 img { width: 64px; height: 64px; }
  .dca-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dca-badges--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dc-bell { width: 42px; height: 42px; }
}

/* Dark mode. */
html[data-theme="dark"] .dc-bell { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #e2e8f0; }
html[data-theme="dark"] .dc-bell__count { border-color: #0f172a; }
html[data-theme="dark"] a.dca-notif:hover { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dca-notif.is-new { background: rgba(251, 146, 60, .1); }
html[data-theme="dark"] :is(.dca-notif__body, .dca-notif__time, .dca-level__next, .dca-board__who small, .dca-podium__place small, .dca-level__text small, .dca-level__pts small) { color: #cbd5e1; }
html[data-theme="dark"] .dca-level { background: linear-gradient(135deg, rgba(251, 146, 60, .14), rgba(15, 23, 42, .4) 60%); border-color: rgba(251, 146, 60, .3); }
html[data-theme="dark"] .dca-level__pts strong, html[data-theme="dark"] .dca-board__pts, html[data-theme="dark"] .dca-level__go { color: #fdba74; }
html[data-theme="dark"] .dca-podium__step { background: linear-gradient(180deg, rgba(96, 165, 250, .25), rgba(15, 23, 42, .2)); }
html[data-theme="dark"] .dca-podium__place--1 .dca-podium__step { background: linear-gradient(180deg, rgba(251, 191, 36, .4), rgba(15, 23, 42, .2)); }
html[data-theme="dark"] .dca-podium__place--3 .dca-podium__step { background: linear-gradient(180deg, rgba(251, 146, 60, .35), rgba(15, 23, 42, .2)); }
html[data-theme="dark"] .dca-podium__place img { border-color: #1e293b; }
html[data-theme="dark"] .dca-board li.is-me { background: rgba(251, 146, 60, .1); outline-color: rgba(251, 146, 60, .3); }
html[data-theme="dark"] .dca-badge { border-color: rgba(255, 255, 255, .15); color: #94a3b8; }
html[data-theme="dark"] .dca-badge__icon { background: rgba(255, 255, 255, .06); color: #64748b; }
html[data-theme="dark"] .dca-badge.is-earned { background: rgba(251, 146, 60, .08); border-color: rgba(251, 146, 60, .3); color: #f1f5f9; }
html[data-theme="dark"] .dca-earn li { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .dca-earn strong { color: #86efac; }
.dca-notif .dca-notif__text strong { color: var(--c-navy-900, #0b1b3d); }
html[data-theme="dark"] .dca-notif .dca-notif__text strong { color: #f1f5f9; }
.dca-podium__place { grid-row: 1; }
.dca-podium__place--1 { grid-column: 2; }
.dca-podium__place--2 { grid-column: 1; }
.dca-podium__place--3 { grid-column: 3; }
.dca-level--link, .dca-level--link:hover { color: var(--c-navy-900, #0b1b3d); }
html[data-theme="dark"] .dca-level--link, html[data-theme="dark"] .dca-level--link:hover { color: #f1f5f9; }

/* ===== 22. Dev Connect app top bar (signed-in members) ===== */
.dc-topbar { border-bottom: 1px solid rgba(15, 23, 42, .06); }
.dc-topbar__inner { display: flex; align-items: center; gap: .75rem; min-height: 64px; }
.dc-topbar__brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--c-navy-900, #0b1b3d); flex: 0 0 auto; }
.dc-topbar__brand img { width: 36px; height: 36px; border-radius: 10px; }
.dc-topbar__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.dc-topbar__name b { font-weight: 800; background: var(--c-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-topbar__tabs { display: none; }
.dc-topbar__actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
.dc-topbar .dc-bell { margin: 0; order: 0; }
.dc-topbar__btn { width: 44px; height: 44px; border-radius: 12px; }
.dc-topbar__points { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 .75rem; border-radius: 999px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; text-decoration: none; font-size: .85rem; transition: transform .18s ease, border-color .2s ease; }
.dc-topbar__points svg { width: 15px; height: 15px; color: #ea580c; }
.dc-topbar__points strong { font-weight: 800; }
.dc-topbar__points:hover { border-color: #fb923c; }
.dc-topbar__points:active { transform: scale(.95); }
.dc-topbar__lvl { color: #c2410c; font-weight: 600; padding-left: 6px; border-left: 1px solid #fed7aa; }

/* Profile menu. */
.dc-topbar__me { position: relative; }
.dc-topbar__me > summary { list-style: none; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; padding: 3px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.dc-topbar__me > summary::-webkit-details-marker { display: none; }
.dc-topbar__me > summary img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.dc-topbar__chev { display: none; }
.dc-topbar__me[open] > summary { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(251, 146, 60, .2); }
.dc-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; width: min(280px, calc(100vw - 24px)); padding: .5rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 24px 50px rgba(15, 23, 42, .18); display: grid; gap: 2px; }
.dc-menu__head { display: flex; align-items: center; gap: .7rem; padding: .6rem .6rem .8rem; margin-bottom: .25rem; border-bottom: 1px solid #f1f5f9; }
.dc-menu__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dc-menu__head span { display: grid; min-width: 0; }
.dc-menu__head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-menu__head small { color: var(--c-ink-500); font-size: .78rem; }
.dc-menu a, .dc-menu__logout { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 44px; padding: 0 .75rem; border-radius: 12px; border: 0; background: none; color: var(--c-navy-900, #0b1b3d); text-decoration: none; font: inherit; font-size: .92rem; font-weight: 600; text-align: left; cursor: pointer; }
.dc-menu a:hover, .dc-menu__logout:hover { background: #f8fafc; }
.dc-menu svg { width: 16px; height: 16px; color: #ea580c; flex: 0 0 auto; }
.dc-menu em { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .72rem; display: grid; place-items: center; }
.dc-menu hr { border: 0; border-top: 1px solid #f1f5f9; margin: .3rem 0; }
.dc-menu form { margin: 0; }
.dc-menu__logout { color: #b91c1c; }
.dc-menu__logout svg { color: #dc2626; }
@media (prefers-reduced-motion: no-preference) {
  .dc-topbar__me[open] .dc-menu { animation: dcaMenu .18s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; }
}
@keyframes dcaMenu { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

/* Desktop: section tabs in the top bar, no floating bottom bar. */
@media (min-width: 1024px) {
  .dc-topbar__tabs { display: flex; align-items: center; gap: 2px; margin-left: 1.25rem; }
  .dc-topbar__tab { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 .85rem; border-radius: 999px; color: #475569; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s ease, color .2s ease; }
  .dc-topbar__tab svg { width: 15px; height: 15px; }
  .dc-topbar__tab:hover { background: #f1f5f9; color: var(--c-navy-900, #0b1b3d); }
  .dc-topbar__tab.is-active { background: var(--c-navy-900, #0b1b3d); color: #fff; }
  .dc-topbar__dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px #fff; }
  .dc-topbar__chev { display: inline-grid; width: 18px; color: #64748b; transform: rotate(90deg); transition: transform .2s ease; }
  .dc-topbar__chev svg { width: 11px; height: 11px; }
  .dc-topbar__me[open] .dc-topbar__chev { transform: rotate(-90deg); }
  .dc-topbar__me > summary { padding-right: 6px; }
  body.has-dc-nav .dc-appnav { display: none; }
  body.has-dc-nav { padding-bottom: 0; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .dc-topbar__tab span { display: none; }
  .dc-topbar__tab { padding: 0 .75rem; }
}
/* Phones: compact bar. */
@media (max-width: 520px) {
  .dc-topbar__inner { gap: .4rem; min-height: 58px; }
  .dc-topbar__name { font-size: 1rem; }
  .dc-topbar__brand img { width: 32px; height: 32px; }
  .dc-topbar__lvl { display: none; }
  .dc-topbar__points { height: 38px; padding: 0 .6rem; }
  .dc-topbar__actions { gap: .3rem; }
  .dc-topbar__btn, .dc-topbar .dc-bell { width: 40px; height: 40px; }
  .dc-topbar__me > summary img { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .dc-topbar__name { display: none; }
}

/* Dark mode. */
html[data-theme="dark"] .dc-topbar { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .dc-topbar__brand { color: #f1f5f9; }
html[data-theme="dark"] .dc-topbar__points { background: rgba(251, 146, 60, .12); border-color: rgba(251, 146, 60, .3); color: #fed7aa; }
html[data-theme="dark"] .dc-topbar__lvl { color: #fdba74; border-color: rgba(251, 146, 60, .3); }
html[data-theme="dark"] .dc-topbar__me > summary { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .dc-menu { background: #0f1d3a; border-color: rgba(255, 255, 255, .1); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .dc-menu__head, html[data-theme="dark"] .dc-menu hr { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .dc-menu__head small { color: #cbd5e1; }
html[data-theme="dark"] :is(.dc-menu a, .dc-menu__head strong) { color: #f1f5f9; }
html[data-theme="dark"] .dc-menu a:hover, html[data-theme="dark"] .dc-menu__logout:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .dc-menu__logout { color: #fca5a5; }
@media (min-width: 1024px) {
  html[data-theme="dark"] .dc-topbar__tab { color: #cbd5e1; }
  html[data-theme="dark"] .dc-topbar__tab:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  html[data-theme="dark"] .dc-topbar__tab.is-active { background: #f2cf6b; color: #0b1b3d; }
  html[data-theme="dark"] .dc-topbar__dot { box-shadow: 0 0 0 2px #0f172a; }
}
body:not(#_) .dc-menu a, body:not(#_) .dc-menu__head strong { color: var(--c-navy-900, #0b1b3d); }
body:not(#_) .dc-menu__logout { color: #b91c1c; }
html[data-theme="dark"] body:not(#_) .dc-menu a, html[data-theme="dark"] body:not(#_) .dc-menu__head strong { color: #f1f5f9; }
html[data-theme="dark"] body:not(#_) .dc-menu__logout { color: #fca5a5; }
body:not(#_) .dc-topbar__brand { color: var(--c-navy-900, #0b1b3d); }
html[data-theme="dark"] body:not(#_) .dc-topbar__brand { color: #f1f5f9; }

/* ===== 23. Dev Connect bottom app bar — light, modern tab bar ===== */
body:not(#_) .dc-appnav {
  background: rgba(255, 255, 255, .9) !important;
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(15, 23, 42, .08); border-radius: 24px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 10px 30px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .06);
  width: min(520px, calc(100% - 20px));
}
body:not(#_) .dc-appnav__item {
  gap: 4px; padding: 6px 2px 5px; border-radius: 16px; background: none !important;
  color: #64748b !important; font-size: .68rem; font-weight: 600; letter-spacing: .01em;
}
body:not(#_) .dc-appnav__item:hover { color: #0b1b3d !important; }
body:not(#_) .dc-appnav__icon {
  width: 52px; height: 30px; border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
body:not(#_) .dc-appnav__icon svg { width: 20px; height: 20px; }
body:not(#_) .dc-appnav__icon img { width: 26px; height: 26px; border: 2px solid #e2e8f0; }
body:not(#_) .dc-appnav__item.is-active { color: #c2410c !important; font-weight: 800; }
body:not(#_) .dc-appnav__item.is-active .dc-appnav__icon { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #ea580c; }
body:not(#_) .dc-appnav__item.is-active .dc-appnav__icon img { border-color: #fb923c !important; }
body:not(#_) .dc-appnav__badge { top: -4px; right: 6px; border-color: #fff; }
body:not(#_) .dc-appnav__item:active .dc-appnav__icon { transform: scale(.9); }
html[data-theme="dark"] body:not(#_) .dc-appnav {
  background: rgba(15, 23, 42, .88) !important; border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
html[data-theme="dark"] body:not(#_) .dc-appnav__item { color: #94a3b8 !important; }
html[data-theme="dark"] body:not(#_) .dc-appnav__item:hover { color: #f1f5f9 !important; }
html[data-theme="dark"] body:not(#_) .dc-appnav__item.is-active { color: #fdba74 !important; }
html[data-theme="dark"] body:not(#_) .dc-appnav__item.is-active .dc-appnav__icon { background: rgba(251, 146, 60, .2); color: #fdba74; }
html[data-theme="dark"] body:not(#_) .dc-appnav__icon img { border-color: rgba(255, 255, 255, .25); }
html[data-theme="dark"] body:not(#_) .dc-appnav__badge { border-color: #0f172a; }
@media (max-width: 360px) {
  body:not(#_) .dc-appnav__icon { width: 44px; }
}

/* ===== 24. Dev Connect earning: wallet, paid tasks ===== */
.dca-wallet { position: relative; overflow: hidden; margin-bottom: 1.25rem; padding: 1.5rem; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(251, 146, 60, .45), transparent 45%), linear-gradient(135deg, #0b1b3d, #1e3a8a); box-shadow: 0 18px 40px rgba(11, 27, 61, .25); }
.dca-wallet__main { display: grid; gap: 2px; }
.dca-wallet__main small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; font-weight: 700; }
.dca-wallet__main strong { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.dca-wallet__main span { opacity: .9; }
.dca-wallet__main em { font-style: normal; opacity: .7; font-size: .82rem; margin-left: .35rem; }
.dca-wallet__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.dca-wallet__stats li { display: grid; padding: .7rem .8rem; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.dca-wallet__stats strong { font-size: 1.05rem; }
.dca-wallet__stats span { font-size: .74rem; opacity: .8; }
.dca-earnways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.25rem; }
.dca-earnways .dca-panel { margin-bottom: 0; }
.dca-earnway { display: grid; gap: .35rem; align-content: start; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.dca-earnway:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15, 23, 42, .1); }
.dca-earnway:active { transform: scale(.98); }
.dca-earnway strong { font-size: 1rem; }
.dca-earnway small { color: var(--c-ink-500); line-height: 1.4; }
.dca-earnway__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.dca-earnway__icon svg { width: 18px; height: 18px; }
.dca-earnway__icon--green { background: #dcfce7; color: #15803d; }
.dca-earnway__icon--orange { background: #ffedd5; color: #c2410c; }
.dca-earnway__icon--gold { background: #fef3c7; color: #b45309; }
.dca-reflink { display: flex; gap: .5rem; align-items: center; }
.dca-reflink input { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: #f8fafc; }
.dca-ledger strong.is-minus { color: #b91c1c; }
.dca-ledger strong.is-zero { color: var(--c-ink-500); font-weight: 600; }
.dca-walletstrip { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; padding: .9rem 1.1rem; transition: transform .2s ease, box-shadow .2s ease; }
.dca-walletstrip:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
.dca-walletstrip__text { display: grid; flex: 1 1 auto; }
.dca-walletstrip__text small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink-500); font-weight: 700; }
.dca-walletstrip__text strong { font-size: 1.35rem; line-height: 1.1; color: #15803d; }
.dca-walletstrip__go { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #c2410c; font-size: .88rem; }
.dca-walletstrip__go svg { width: 13px; height: 13px; }
body:not(#_) .dc-menu em.dc-menu__money { background: #dcfce7; color: #15803d; min-width: 0; padding: 0 8px; }

/* Paid task: badge, box, review form. */
.dca-paytag { display: inline-flex; align-items: center; gap: 5px; padding: .25rem .65rem; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 800; }
.dca-paytag svg { width: 12px; height: 12px; }
.dca-taskbox { border-color: #bbf7d0; background: linear-gradient(180deg, #f0fdf4, #fff 55%); }
.dca-taskbox__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.dca-taskbox__stats li { display: grid; padding: .7rem; border-radius: 14px; background: #fff; border: 1px solid #dcfce7; text-align: center; }
.dca-taskbox__stats strong { font-size: 1.2rem; color: #15803d; }
.dca-taskbox__stats span { font-size: .74rem; color: var(--c-ink-500); }
.dca-review { display: grid; gap: .5rem; margin-top: .8rem; }
.dca-review input { width: 100%; }

/* Payment choice on the job form. */
.dca-kinds--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.dca-kinds--2 .dca-kind span { display: grid; gap: 2px; }
.dca-kinds--2 .dca-kind small { font-weight: 500; font-size: .76rem; opacity: .8; }
.dca-pay { border: 1px solid #e8ebf2; border-radius: 16px; padding: 1rem; }
.dca-pay__task { margin-top: .8rem; }
.dca-pay:has(input[value="listing"]:checked) .dca-pay__task { display: none; }
.dca-pay__note { display: flex; gap: .5rem; align-items: flex-start; margin: .2rem 0 0; padding: .7rem .8rem; border-radius: 12px; background: #f8fafc; font-size: .85rem; line-height: 1.5; }
.dca-pay__note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #2563eb; }
.dca-pay__locked { display: flex; gap: .5rem; align-items: center; margin: 0; font-size: .9rem; }
.dca-pay__locked svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .dca-earnways { grid-template-columns: 1fr; }
  .dca-wallet { padding: 1.2rem; border-radius: 18px; }
  .dca-wallet__stats li { padding: .55rem .5rem; }
  .dca-wallet__stats strong { font-size: .92rem; }
  .dca-kinds--2 { grid-template-columns: 1fr !important; }
  .dca-taskbox__stats strong { font-size: 1rem; }
  .dca-walletstrip__go { font-size: .8rem; }
}
html[data-theme="dark"] :is(.dca-earnway small, .dca-walletstrip__text small, .dca-taskbox__stats span) { color: #cbd5e1; }
html[data-theme="dark"] .dca-earnway__icon--green { background: rgba(34, 197, 94, .16); color: #86efac; }
html[data-theme="dark"] .dca-earnway__icon--orange { background: rgba(251, 146, 60, .16); color: #fdba74; }
html[data-theme="dark"] .dca-earnway__icon--gold { background: rgba(251, 191, 36, .16); color: #fcd34d; }
html[data-theme="dark"] .dca-walletstrip__text strong, html[data-theme="dark"] .dca-taskbox__stats strong { color: #86efac; }
html[data-theme="dark"] .dca-walletstrip__go { color: #fdba74; }
html[data-theme="dark"] .dca-reflink input, html[data-theme="dark"] .dca-pay__note { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dca-pay { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .dca-taskbox { background: linear-gradient(180deg, rgba(34, 197, 94, .08), transparent 55%); border-color: rgba(34, 197, 94, .25); }
html[data-theme="dark"] .dca-taskbox__stats li { background: rgba(255, 255, 255, .04); border-color: rgba(34, 197, 94, .2); }
html[data-theme="dark"] .dca-paytag { background: rgba(34, 197, 94, .16); color: #86efac; }
html[data-theme="dark"] .dca-ledger strong.is-minus { color: #fca5a5; }
html[data-theme="dark"] body:not(#_) .dc-menu em.dc-menu__money { background: rgba(34, 197, 94, .16); color: #86efac; }
body:not(#_) :is(.dca-earnway, .dca-walletstrip) { color: var(--c-navy-900, #0b1b3d); }
html[data-theme="dark"] body:not(#_) :is(.dca-earnway, .dca-walletstrip) { color: #f1f5f9; }
/* Small print paragraphs flow as normal text (links stay inline); a leading icon sits on the first line. */
p.dca-small { display: block; }
p.dca-small > svg:first-child { display: inline-block; vertical-align: -2px; margin-right: 6px; }

/* ===== 25. Dev Connect website (devconnect subdomain) ===== */
body.dc-site { --dcs-navy: #0a1d47; --dcs-navy-2: #0c2457; --dcs-ink: #0b1b3d; --dcs-gold: linear-gradient(100deg, #f5d77e, #e0ac1f 55%, #c4900e); }
body.dc-site, body.dc-site :is(h1, h2, h3, .btn) { font-family: "Plus Jakarta Sans", var(--font-sans); }
.dcs-kicker { margin: 0 0 .6rem; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: #93c5fd; }
.dcs-kicker span { color: #f2cf6b; }
.dcs-section .dcs-kicker, .dcs-pagehero .dcs-kicker { color: #2563eb; }
.dcs-section .dcs-kicker span, .dcs-pagehero .dcs-kicker span { color: #d9a419; }

/* Header */
.dcs-header .dcs-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.dcs-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--dcs-ink, #0b1b3d); flex: 0 0 auto; }
.dcs-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 16px rgba(217, 164, 25, .35); }
.dcs-brand__name { font-family: "Plus Jakarta Sans", var(--font-sans); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.dcs-brand__name b { margin-left: .18rem; font-weight: 800; background: var(--dcs-gold, linear-gradient(100deg, #f5d77e, #e0ac1f 55%, #c4900e)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dcs-brand--light { color: #fff; }
.dcs-nav { display: none; }
.dcs-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.dcs-login { background: #f1f5f9; color: var(--dcs-ink); border-color: #e2e8f0; }
.dcs-menu { position: relative; }
.dcs-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; }
.dcs-menu > summary::-webkit-details-marker { display: none; }
.dcs-menu__bars, .dcs-menu__bars::before, .dcs-menu__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--dcs-ink); position: relative; transition: transform .2s ease, opacity .2s ease; }
.dcs-menu__bars::before, .dcs-menu__bars::after { content: ""; position: absolute; left: 0; }
.dcs-menu__bars::before { top: -6px; }
.dcs-menu__bars::after { top: 6px; }
.dcs-menu[open] .dcs-menu__bars { background: transparent; }
.dcs-menu[open] .dcs-menu__bars::before { transform: translateY(6px) rotate(45deg); }
.dcs-menu[open] .dcs-menu__bars::after { transform: translateY(-6px) rotate(-45deg); }
.dcs-menu__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; width: min(300px, calc(100vw - 24px)); padding: .6rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 24px 50px rgba(15, 23, 42, .18); display: grid; gap: 2px; }
.dcs-menu__panel > a { display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 12px; color: var(--dcs-ink); font-weight: 600; text-decoration: none; }
.dcs-menu__panel > a:hover, .dcs-menu__panel > a.is-active { background: #fff7ed; color: #c2410c; }
.dcs-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .4rem; padding-top: .6rem; border-top: 1px solid #f1f5f9; }
@media (prefers-reduced-motion: no-preference) { .dcs-menu[open] .dcs-menu__panel { animation: dcaMenu .18s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; } }
@media (min-width: 1080px) {
  .dcs-nav { display: flex; align-items: center; gap: 2px; margin-left: 1rem; }
  .dcs-nav__link { padding: .5rem .8rem; border-radius: 999px; color: #475569; font-weight: 600; font-size: .92rem; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
  .dcs-nav__link:hover { background: #f1f5f9; color: var(--dcs-ink); }
  .dcs-nav__link.is-active { background: var(--dcs-ink); color: #fff; }
  .dcs-menu { display: none; }
}
@media (max-width: 560px) { .dcs-login { display: none; } .dcs-brand__name { font-size: 1.05rem; } .dcs-brand img { width: 34px; height: 34px; } }
@media (max-width: 340px) { .dcs-join { display: none; } }

/* Hero */
.dcs-hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); color: #fff; background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, .35), transparent 40%), radial-gradient(circle at 10% 90%, rgba(217, 164, 25, .18), transparent 40%), linear-gradient(160deg, #0a1d47 0%, #0c2457 55%, #081638 100%); }
.dcs-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.dcs-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2.5rem; align-items: center; }
.dcs-hero h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; font-weight: 800; }
.dcs-hero h1 em { font-style: normal; background: var(--dcs-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dcs-hero__lead { margin: 0 0 1.6rem; max-width: 620px; font-size: 1.08rem; line-height: 1.65; color: #cbd5f0; }
.dcs-hero__lead a { color: #f2cf6b; }
.dcs-hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.dcs-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.dcs-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.dcs-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.dcs-chips li { padding: .45rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: .9rem; }
.dcs-hero__site { display: flex; align-items: center; gap: .4rem; margin: 1.2rem 0 0; font-family: "JetBrains Mono", ui-monospace, monospace; }
.dcs-hero__site a { color: #f2cf6b; }
.dcs-hero__site svg { width: 15px; height: 15px; color: #93c5fd; }
.dcs-hero__art { display: grid; place-items: center; }
.dcs-hero__card { display: grid; justify-items: center; gap: 1rem; padding: 2.2rem 2rem; border-radius: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); text-align: center; }
.dcs-hero__card img { width: 120px; height: 120px; border-radius: 30px; box-shadow: 0 18px 40px rgba(217, 164, 25, .45); }
.dcs-hero__card strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.dcs-hero__card strong b { margin-left: .2rem; background: var(--dcs-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dcs-hero__card code { padding: .4rem .8rem; border-radius: 10px; background: rgba(0, 0, 0, .25); color: #93c5fd; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"] .dcs-hero__card { animation: dcsFloat 6s ease-in-out infinite; }
  html[data-animate="on"] .dcs-hero__copy > * { animation: dcaUp .6s cubic-bezier(.2, .8, .2, 1) backwards; }
  html[data-animate="on"] .dcs-hero__copy > :nth-child(2) { animation-delay: .06s; }
  html[data-animate="on"] .dcs-hero__copy > :nth-child(3) { animation-delay: .12s; }
  html[data-animate="on"] .dcs-hero__copy > :nth-child(4) { animation-delay: .18s; }
  html[data-animate="on"] .dcs-hero__copy > :nth-child(5) { animation-delay: .24s; }
}
@keyframes dcsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Page hero (inner pages) */
.dcs-pagehero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); background: linear-gradient(180deg, #eef4ff, #fff); border-bottom: 1px solid #eef1f6; }
.dcs-pagehero h1 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.15; letter-spacing: -.025em; color: var(--dcs-ink); font-weight: 800; }
.dcs-pagehero p { margin: 0; max-width: 760px; font-size: 1.05rem; line-height: 1.65; color: #475569; }

/* Stats strip */
.dcs-stats { position: relative; margin-top: -2rem; z-index: 2; }
.dcs-stats ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.dcs-stats li { display: grid; gap: 2px; padding: 1.1rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 14px 30px rgba(11, 27, 61, .08); text-align: center; }
.dcs-stats strong { font-size: 1.7rem; font-weight: 800; color: var(--dcs-ink); letter-spacing: -.02em; }
.dcs-stats span { font-size: .82rem; color: #64748b; font-weight: 600; }

/* Sections */
.dcs-section--tint { background: #f8fafc; }
.dcs-head { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.dcs-head h2 { margin: 0; font-size: clamp(1.5rem, 3.6vw, 2.2rem); letter-spacing: -.02em; color: var(--dcs-ink); font-weight: 800; }
.dcs-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; text-align: left; flex-wrap: wrap; }
.dcs-head--left { text-align: left; margin: 0 0 1rem; max-width: none; }
.dcs-h2-sm { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: 1.3rem; color: var(--dcs-ink); font-weight: 800; }
.dcs-h2-sm svg { width: 18px; height: 18px; color: #d9a419; }
.dcs-center { text-align: center; margin: 2rem 0 0; }
.dcs-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dcs-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dcs-feature { display: grid; align-content: start; gap: .5rem; padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 8px 24px rgba(11, 27, 61, .05); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dcs-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11, 27, 61, .1); border-color: #fde68a; }
.dcs-feature h3 { margin: .3rem 0 0; font-size: 1.08rem; color: var(--dcs-ink); }
.dcs-feature p { margin: 0; color: #475569; line-height: 1.6; font-size: .94rem; }
body:not(#_) .dcs-feature--link { color: inherit; }
.dcs-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto; }
.dcs-icon svg { width: 20px; height: 20px; }
.dcs-icon--blue { background: #e8f0ff; color: #1d4ed8; }
.dcs-icon--orange { background: #ffedd5; color: #c2410c; }
.dcs-icon--green { background: #dcfce7; color: #15803d; }
.dcs-icon--purple { background: #f3e8ff; color: #7e22ce; }
.dcs-icon--gold { background: #fef3c7; color: #b45309; }
.dcs-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.dcs-steps li { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 1.6rem 1rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid #e8ebf2; text-align: center; }
.dcs-steps strong { color: var(--dcs-ink); }
.dcs-steps small { color: #64748b; line-height: 1.5; }
.dcs-steps__n { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dcs-ink); color: #fff; font-weight: 800; font-size: .85rem; }
.dcs-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.dcs-job { display: grid; gap: .4rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.dcs-job:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(11, 27, 61, .08); }
.dcs-job strong { color: var(--dcs-ink); font-size: 1.05rem; }
.dcs-job small { color: #64748b; }
.dcs-empty { display: flex; align-items: center; gap: .6rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: #f8fafc; border: 1px dashed #cbd5e1; color: #475569; }
.dcs-empty svg { width: 18px; height: 18px; flex: 0 0 auto; color: #d9a419; }
.dcs-earnband { color: #fff; background: linear-gradient(160deg, #0a1d47, #0c2457 60%, #081638); }
.dcs-earnband__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
.dcs-earnband h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 4vw, 2.3rem); color: #fff; letter-spacing: -.02em; }
.dcs-earnband p { color: #cbd5f0; line-height: 1.7; margin: 0 0 1.4rem; }
.dcs-earnlist { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.dcs-earnlist li { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.dcs-earnlist li > span:last-child { display: grid; }
.dcs-earnlist small { color: #cbd5f0; }
.dcs-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: start; }
.dcs-list { display: grid; gap: .6rem; }
.dcs-list__item { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; background: #fff; border: 1px solid #e8ebf2; }
.dcs-list__item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dcs-list__item > span:last-child { display: grid; min-width: 0; }
.dcs-list__item small { color: #64748b; overflow-wrap: anywhere; }
.dcs-cta { padding-top: 1rem; }
.dcs-cta__box { display: grid; justify-items: center; gap: .8rem; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(circle at 80% 0%, rgba(217, 164, 25, .3), transparent 45%), linear-gradient(160deg, #0a1d47, #0c2457); }
.dcs-cta__box img { border-radius: 16px; box-shadow: 0 12px 28px rgba(217, 164, 25, .4); }
.dcs-cta__box h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); color: #fff; letter-spacing: -.02em; }
.dcs-cta__box p { margin: 0 0 .6rem; color: #cbd5f0; }
.dcs-prose { color: #334155; line-height: 1.75; }
.dcs-prose h2 { margin: 1.8rem 0 .6rem; font-size: 1.25rem; color: var(--dcs-ink); }
.dcs-prose h2:first-child { margin-top: 0; }
.dcs-prose ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.dcs-prose--narrow { max-width: 820px; }
.dcs-bigstats { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.dcs-bigstats li { display: flex; align-items: baseline; gap: .7rem; padding: 1.2rem 1.4rem; border-radius: 20px; background: linear-gradient(135deg, #fff7ed, #fff); border: 1px solid #fed7aa; }
.dcs-bigstats strong { font-size: 2.4rem; font-weight: 800; color: #c2410c; letter-spacing: -.03em; }
.dcs-bigstats span { color: #475569; font-weight: 600; }
.dcs-timeline { position: relative; display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; padding: 0; list-style: none; }
.dcs-timeline::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#fde68a, #bfdbfe); }
.dcs-timeline li { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.dcs-timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--dcs-gold); color: var(--dcs-ink); box-shadow: 0 8px 18px rgba(217, 164, 25, .3); }
.dcs-timeline__dot svg { width: 19px; height: 19px; }
.dcs-timeline li > div { flex: 1 1 auto; padding: .9rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid #e8ebf2; }
.dcs-timeline strong { color: var(--dcs-ink); }
.dcs-timeline p { margin: .3rem 0 0; color: #475569; line-height: 1.6; }
.dcs-note { display: flex; gap: .6rem; align-items: flex-start; max-width: 820px; margin: 1.5rem auto 0; padding: .9rem 1.1rem; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.dcs-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; }
.dcs-calc { list-style: none; padding: 0 !important; margin: 0 0 .8rem; display: grid; gap: 0 !important; border-radius: 16px; overflow: hidden; border: 1px solid #e8ebf2; background: #fff; }
.dcs-calc li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid #f1f5f9; }
.dcs-calc li.is-total { background: #f0fdf4; border-bottom: 0; }
.dcs-calc li.is-total strong { color: #15803d; }
.dcs-muted { color: #64748b; font-size: .9rem; }
.dcs-faq { max-width: 820px; }
.dcs-faq .dcs-h2-sm { margin-top: 2rem; }
.dcs-faq .dcs-h2-sm:first-child { margin-top: 0; }
.dcs-faq__item { margin-bottom: .6rem; border-radius: 16px; background: #fff; border: 1px solid #e8ebf2; }
.dcs-faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; padding: .8rem 1.1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--dcs-ink); }
.dcs-faq__item > summary::-webkit-details-marker { display: none; }
.dcs-faq__item > summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f5f9; font-weight: 800; transition: transform .2s ease; }
.dcs-faq__item[open] > summary::after { transform: rotate(45deg); background: #fef3c7; }
.dcs-faq__item p { margin: 0; padding: 0 1.1rem 1rem; color: #475569; line-height: 1.7; }

/* Footer */
.dcs-footer { margin-top: 3rem; padding: 3rem 0 1.2rem; color: #cbd5f0; background: #081638; }
.dcs-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.dcs-footer a { color: #e2e8f0; text-decoration: none; }
.dcs-footer a:hover { color: #f2cf6b; }
.dcs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dcs-footer__h { margin: 0 0 .9rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #93c5fd; }
.dcs-footer__brand p { margin: .7rem 0 0; line-height: 1.6; font-size: .92rem; }
.dcs-footer__tag { font-family: "JetBrains Mono", ui-monospace, monospace; color: #93c5fd; }
.dcs-footer__tag span { color: #f2cf6b; }
.dcs-footer__social { display: flex; gap: .5rem; margin-top: 1rem; }
.dcs-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.dcs-footer__social svg { width: 17px; height: 17px; }
.dcs-footer__cta { display: grid; gap: .6rem; align-content: start; }
body:not(#_) .dcs-footer__cta .btn--gold { color: var(--dcs-ink); }
.dcs-footer__login { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.dcs-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .dcs-hero__grid, .dcs-earnband__grid, .dcs-two { grid-template-columns: 1fr; }
  .dcs-hero__art { order: -1; }
  .dcs-hero__card { padding: 1.4rem 1.6rem; flex-direction: row; }
  .dcs-hero__card img { width: 84px; height: 84px; border-radius: 22px; }
  .dcs-features, .dcs-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .dcs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcs-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .dcs-hero__art { display: none; }
  .dcs-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcs-stats { margin-top: -1.5rem; }
  .dcs-features, .dcs-features--4, .dcs-jobs { grid-template-columns: 1fr; }
  .dcs-hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .dcs-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .dcs-footer__cta { grid-column: 1 / -1; }
}

/* Dark mode */
html[data-theme="dark"] .dcs-brand { color: #f1f5f9; }
html[data-theme="dark"] :is(.dcs-login, .dcs-menu > summary) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #f1f5f9; }
html[data-theme="dark"] :is(.dcs-menu__bars, .dcs-menu__bars::before, .dcs-menu__bars::after) { background: #f1f5f9; }
html[data-theme="dark"] .dcs-menu[open] .dcs-menu__bars { background: transparent; }
html[data-theme="dark"] .dcs-menu__panel { background: #0f1d3a; border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dcs-menu__panel > a { color: #f1f5f9; }
html[data-theme="dark"] .dcs-menu__panel > a:hover, html[data-theme="dark"] .dcs-menu__panel > a.is-active { background: rgba(251, 146, 60, .12); color: #fdba74; }
html[data-theme="dark"] .dcs-menu__cta { border-color: rgba(255, 255, 255, .08); }
@media (min-width: 1080px) {
  html[data-theme="dark"] .dcs-nav__link { color: #cbd5e1; }
  html[data-theme="dark"] .dcs-nav__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  html[data-theme="dark"] .dcs-nav__link.is-active { background: #f2cf6b; color: #0b1b3d; }
}
html[data-theme="dark"] .dcs-pagehero { background: linear-gradient(180deg, rgba(59, 130, 246, .1), transparent); border-color: rgba(255, 255, 255, .06); }
html[data-theme="dark"] :is(.dcs-pagehero h1, .dcs-head h2, .dcs-h2-sm, .dcs-feature h3, .dcs-steps strong, .dcs-job strong, .dcs-timeline strong, .dcs-prose h2, .dcs-faq__item > summary, .dcs-stats strong) { color: #f1f5f9; }
html[data-theme="dark"] :is(.dcs-pagehero p, .dcs-feature p, .dcs-steps small, .dcs-job small, .dcs-list__item small, .dcs-timeline p, .dcs-prose, .dcs-faq__item p, .dcs-stats span, .dcs-bigstats span, .dcs-muted) { color: #cbd5e1; }
html[data-theme="dark"] :is(.dcs-stats li, .dcs-feature, .dcs-steps li, .dcs-job, .dcs-list__item, .dcs-timeline li > div, .dcs-faq__item, .dcs-calc) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dcs-section--tint { background: rgba(255, 255, 255, .02); }
html[data-theme="dark"] .dcs-empty { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .15); color: #cbd5e1; }
html[data-theme="dark"] .dcs-bigstats li { background: rgba(251, 146, 60, .08); border-color: rgba(251, 146, 60, .25); }
html[data-theme="dark"] .dcs-bigstats strong { color: #fdba74; }
html[data-theme="dark"] .dcs-note { background: rgba(251, 146, 60, .1); border-color: rgba(251, 146, 60, .3); color: #fdba74; }
html[data-theme="dark"] .dcs-calc li { border-color: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .dcs-calc li.is-total { background: rgba(34, 197, 94, .1); }
html[data-theme="dark"] .dcs-faq__item > summary::after { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .dcs-section .dcs-kicker, html[data-theme="dark"] .dcs-pagehero .dcs-kicker { color: #93c5fd; }
html[data-theme="dark"] .dcs-icon--blue { background: rgba(59, 130, 246, .16); color: #93c5fd; }
html[data-theme="dark"] .dcs-icon--orange { background: rgba(251, 146, 60, .16); color: #fdba74; }
html[data-theme="dark"] .dcs-icon--green { background: rgba(34, 197, 94, .16); color: #86efac; }
html[data-theme="dark"] .dcs-icon--purple { background: rgba(168, 85, 247, .16); color: #d8b4fe; }
html[data-theme="dark"] .dcs-icon--gold { background: rgba(251, 191, 36, .16); color: #fcd34d; }
/* Headings and text on the dark Dev Connect bands stay light (theme heading colours are stronger). */
body:not(#_) :is(.dcs-hero, .dcs-earnband, .dcs-cta__box) :is(h1, h2, h3) { color: #fff; }
body:not(#_) .dcs-hero h1 em { color: transparent; }
body:not(#_) :is(.dcs-head h2, .dcs-pagehero h1, .dcs-h2-sm, .dcs-feature h3, .dcs-prose h2) { color: var(--dcs-ink, #0b1b3d); }
html[data-theme="dark"] body:not(#_) :is(.dcs-head h2, .dcs-pagehero h1, .dcs-h2-sm, .dcs-feature h3, .dcs-prose h2) { color: #f1f5f9; }
body:not(#_) .dcs-footer :is(h2, a) { color: inherit; }
body:not(#_) .dcs-footer a { color: #e2e8f0; }
body:not(#_) .dcs-footer .dcs-footer__h { color: #93c5fd; }
body:not(#_) .dcs-brand { color: var(--dcs-ink, #0b1b3d); }
body:not(#_) .dcs-brand--light, html[data-theme="dark"] body:not(#_) .dcs-brand { color: #fff; }
body:not(#_) :is(.dcs-hero__lead, .dcs-earnband p) a { color: #f2cf6b; }
@media (max-width: 560px) { .dcs-actions { gap: .35rem; } .dcs-join { padding-inline: .8rem; } }

/* ===== 26. Dev Connect website polish: terminal hero, trust, focus, filters ===== */
/* Keyboard focus: a clear gold ring everywhere on the Dev Connect site. */
body.dc-site :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #f2cf6b; outline-offset: 3px; border-radius: 10px; }
body.dc-site :is(a, button, summary, [role="button"]) { cursor: pointer; }

/* Header gains a soft shadow once the page scrolls. */
.dcs-header { transition: box-shadow .25s ease, background-color .25s ease; }
.dcs-header.is-scrolled { box-shadow: 0 10px 30px rgba(8, 22, 56, .12); }

/* Trust line under the hero. */
.dcs-trust { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.2rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: #cbd5f0; }
.dcs-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.dcs-trust svg { width: 15px; height: 15px; color: #4ade80; }

/* Terminal window in the hero. */
.dcs-term { position: relative; width: min(440px, 100%); border-radius: 18px; overflow: visible; background: rgba(4, 12, 34, .82); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(242, 207, 107, .08) inset; backdrop-filter: blur(8px); }
.dcs-term__bar { display: flex; align-items: center; gap: 7px; padding: .7rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 18px 18px 0 0; background: rgba(255, 255, 255, .04); }
.dcs-term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.dcs-term__bar i:nth-child(2) { background: #f59e0b; }
.dcs-term__bar i:nth-child(3) { background: #22c55e; }
.dcs-term__bar span { margin-left: .5rem; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .74rem; color: #94a3b8; }
.dcs-term__body { padding: 1rem 1.1rem 1.3rem; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .86rem; line-height: 1.85; color: #e2e8f0; }
.dcs-term__l { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcs-term__l b { color: #f2cf6b; margin-right: .35rem; }
.dcs-term__ok { color: #4ade80; }
.dcs-term__info { color: #93c5fd; }
.dcs-term__caret { display: inline-block; width: .55em; height: 1.05em; margin-left: .3rem; vertical-align: -.15em; background: #f2cf6b; }
.dcs-term__mark { position: absolute; right: -18px; top: -26px; width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 16px 36px rgba(217, 164, 25, .45); }
@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"] .dcs-term__l { opacity: 0; animation: dcsLine .45s ease forwards; animation-delay: calc(.4s + var(--d, 0) * .55s); }
  html[data-animate="on"] .dcs-term__caret { animation: dcsBlink 1s steps(1) infinite; }
  html[data-animate="on"] .dcs-term { animation: dcsFloat 7s ease-in-out infinite; }
}
@keyframes dcsLine { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes dcsBlink { 50% { opacity: 0; } }

/* Cards: gold glow on hover, icon lifts. */
.dcs-feature { position: relative; isolation: isolate; }
.dcs-feature::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(242, 207, 107, .55), transparent 45%, rgba(59, 130, 246, .4)); opacity: 0; transition: opacity .25s ease; }
.dcs-feature:hover::before { opacity: 1; }
.dcs-feature .dcs-icon { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.dcs-feature:hover .dcs-icon { transform: translateY(-3px) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .dcs-feature:hover, .dcs-feature:hover .dcs-icon, .dcs-job:hover { transform: none; } }

/* Opportunities filter chips (buttons). */
.dcs-filter { margin-bottom: 1.4rem; }
.dcs-filter button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 40px; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid #e8ebf2; font: inherit; font-weight: 600; font-size: .88rem; color: var(--dcs-ink, #0b1b3d); box-shadow: 0 4px 12px rgba(11, 27, 61, .06); transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.dcs-filter button svg { width: 15px; height: 15px; }
.dcs-filter button span { min-width: 22px; padding: 0 6px; border-radius: 999px; background: #f1f5f9; font-size: .75rem; }
.dcs-filter button.is-active { background: var(--dcs-ink, #0b1b3d); color: #fff; border-color: var(--dcs-ink, #0b1b3d); }
.dcs-filter button.is-active span { background: rgba(255, 255, 255, .18); }
.dcs-filter button:active { transform: scale(.96); }
[data-opp][hidden], [data-opp-group][hidden], .dcs-faq__item[hidden], .dcs-h2-sm[hidden] { display: none !important; }

/* FAQ search. */
.dcs-faqsearch { position: relative; margin-bottom: 1.6rem; }
.dcs-faqsearch svg { position: absolute; left: 1rem; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.dcs-faqsearch input { width: 100%; min-height: 52px; padding: .8rem 1rem .8rem 2.7rem; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; font-size: 16px; box-shadow: 0 8px 22px rgba(11, 27, 61, .05); }
.dcs-faq__none { margin: 0 0 1rem; color: #475569; }

/* Dark mode for the new parts. */
html[data-theme="dark"] .dcs-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
html[data-theme="dark"] .dcs-filter button { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #f1f5f9; }
html[data-theme="dark"] .dcs-filter button span { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dcs-filter button.is-active { background: #f2cf6b; border-color: #f2cf6b; color: #0b1b3d; }
html[data-theme="dark"] .dcs-filter button.is-active span { background: rgba(11, 27, 61, .15); }
html[data-theme="dark"] .dcs-faqsearch input { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #f1f5f9; }
html[data-theme="dark"] .dcs-faq__none { color: #cbd5e1; }
html[data-theme="dark"] body.dc-site { background: #070f26; }

@media (max-width: 980px) {
  .dcs-term { width: 100%; max-width: 520px; }
  .dcs-term__mark { width: 56px; height: 56px; right: -8px; top: -20px; border-radius: 16px; }
}
@media (max-width: 640px) {
  /* On phones the terminal shows under the copy instead of being hidden. */
  body:not(#_) .dcs-hero__art { display: grid; order: 2; margin-top: .5rem; }
  .dcs-term__body { font-size: .76rem; padding: .8rem .9rem 1rem; }
  .dcs-term__mark { display: none; }
  .dcs-trust { font-size: .82rem; }
}

/* ==========================================================================
   27. Dev Connect logo (DC globe mark): blue glow, login-side logo
   ========================================================================== */
.dcs-brand img, .dc-topbar__brand img { box-shadow: 0 6px 16px rgba(14, 165, 233, .35); background: #020a1f; }
.dcs-hero__card img, .dcs-term__mark, .dcs-cta__box img { box-shadow: 0 16px 36px rgba(14, 165, 233, .45); }
.auth-logo { align-self: center; width: min(300px, 100%); margin: .5rem auto 0; }
.auth-logo img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(56, 189, 248, .25), 0 24px 60px -10px rgba(14, 165, 233, .55); }
@media (prefers-reduced-motion: no-preference) {
  .auth-logo img { animation: authLogoIn .7s cubic-bezier(.2, .8, .2, 1) both, authLogoFloat 7s ease-in-out .7s infinite; }
  @keyframes authLogoIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes authLogoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 900px) {
  .auth-logo { width: 150px; margin-top: 1rem; }
}

/* ==========================================================================
   28. Dev Connect learning feed (posts, composer, reactions, code blocks)
   ========================================================================== */
.dcf, .dcf-page, .dca-feedbox, .dcs-feed {
  --dcf-card: #fff; --dcf-line: #e6eaf2; --dcf-ink: #0b1b3d; --dcf-muted: #5b6b86; --dcf-soft: #f4f7fc;
  --dcf-like: #e11d48; --dcf-help: #d97706; --dcf-save: #2563eb;
}
html[data-theme="dark"] .dcf, html[data-theme="dark"] .dcf-page, html[data-theme="dark"] .dca-feedbox, html[data-theme="dark"] .dcs-feed {
  --dcf-card: #0d1f45; --dcf-line: rgba(255, 255, 255, .1); --dcf-ink: #f1f5f9; --dcf-muted: #a9b6cf; --dcf-soft: rgba(255, 255, 255, .05);
  --dcf-like: #fb7185; --dcf-help: #fbbf24; --dcf-save: #60a5fa;
}
.dcf__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; max-width: 1080px; }
.dcf__side { position: sticky; top: 88px; display: grid; gap: 1rem; }
.dcf__side .dca-panel { margin: 0; }
@media (max-width: 960px) { .dcf__grid { grid-template-columns: 1fr; } .dcf__side { position: static; } }

.dcf-note { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 14px; background: color-mix(in srgb, #2563eb 8%, var(--dcf-card)); border: 1px solid color-mix(in srgb, #2563eb 22%, transparent); color: var(--dcf-ink); font-size: .9rem; line-height: 1.5; }
.dcf-note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: #2563eb; }
.dcf-note a { color: inherit; font-weight: 700; }

/* Composer */
.dcf-compose { margin-bottom: 1rem; background: var(--dcf-card); border: 1px solid var(--dcf-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(11, 27, 61, .07); }
.dcf-compose > summary { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; cursor: pointer; list-style: none; color: var(--dcf-muted); font-weight: 600; }
.dcf-compose > summary::-webkit-details-marker { display: none; }
.dcf-compose > summary img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dcf-compose > summary > span:nth-child(2) { flex: 1; padding: .7rem 1rem; border-radius: 999px; background: var(--dcf-soft); }
.dcf-compose[open] > summary { border-bottom: 1px solid var(--dcf-line); }
.dcf-compose[open] .dca-share__btn { transform: rotate(45deg); }
.dcf-form { display: grid; gap: .9rem; padding: 1rem; }
.dcf-cats { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.dcf-cats legend { font-weight: 700; color: var(--dcf-ink); margin-bottom: .5rem; font-size: .92rem; }
.dcf-cat { position: relative; }
.dcf-cat input { position: absolute; opacity: 0; pointer-events: none; }
.dcf-cat > span { display: grid; grid-template-columns: auto 1fr; column-gap: .5rem; align-items: center; height: 100%; padding: .6rem .7rem; border: 1.5px solid var(--dcf-line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.dcf-cat svg { width: 18px; height: 18px; color: #2563eb; grid-row: span 2; }
.dcf-cat b { color: var(--dcf-ink); font-size: .9rem; }
.dcf-cat small { color: var(--dcf-muted); font-size: .74rem; line-height: 1.3; }
.dcf-cat input:checked + span { border-color: #2563eb; background: color-mix(in srgb, #2563eb 9%, var(--dcf-card)); }
.dcf-cat input:focus-visible + span { outline: 3px solid color-mix(in srgb, #2563eb 45%, transparent); outline-offset: 2px; }
@media (max-width: 640px) { .dcf-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dcf-cat small { display: none; } }
.dcf-field { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--dcf-ink); }
.dcf-field > span { display: inline-flex; align-items: center; gap: .35rem; }
.dcf-field > span svg { width: 15px; height: 15px; }
.dcf-field small { font-weight: 500; color: var(--dcf-muted); }
.dcf-field input[type="text"], .dcf-field input[type="url"], .dcf-field textarea, .dcf-field select, .dcf-report input[type="text"] { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--dcf-line); border-radius: 12px; background: var(--dcf-card); color: var(--dcf-ink); font: inherit; font-weight: 400; min-height: 44px; }
.dcf-field input[type="file"] { font-size: .85rem; color: var(--dcf-muted); max-width: 100%; }
.dcf-field textarea { resize: vertical; }
.dcf-mono, .dcp__code pre { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
.dcf-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 640px) { .dcf-row { grid-template-columns: 1fr; } }
.dcf-extra > summary { cursor: pointer; font-weight: 700; color: #2563eb; display: inline-flex; gap: .4rem; align-items: center; min-height: 36px; }
.dcf-extra > summary svg { width: 16px; height: 16px; }
.dcf-extra[open] { display: grid; gap: .6rem; }
.dcf-agree { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem; border-radius: 12px; background: var(--dcf-soft); font-size: .86rem; color: var(--dcf-ink); line-height: 1.5; }
.dcf-agree input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.dcf-form__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.dcf-form__foot small { display: inline-flex; align-items: center; gap: .35rem; }
.dcf-form__foot svg { width: 14px; height: 14px; color: #f59e0b; }

.dcf-guest { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: linear-gradient(120deg, #0a1d47, #1d4ed8); color: #fff; }
.dcf-guest > span svg { width: 28px; height: 28px; color: #f2cf6b; }
.dcf-guest p { flex: 1 1 260px; margin: 0; font-size: .92rem; }
.dcf-guest .dca-btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Post card */
.dcf-list { display: grid; gap: 1rem; }
.dcp { background: var(--dcf-card); border: 1px solid var(--dcf-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(11, 27, 61, .07); overflow: hidden; scroll-margin-top: 90px; }
.dcp--featured { border-color: color-mix(in srgb, #f59e0b 55%, transparent); box-shadow: 0 12px 34px rgba(245, 158, 11, .16); }
.dcp--review { opacity: .85; border-style: dashed; }
.dcp__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem .4rem; }
.dcp__pic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dcp__who { display: grid; flex: 1; min-width: 0; }
.dcp__who strong { color: var(--dcf-ink); font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcp__who small { color: var(--dcf-muted); font-size: .8rem; }
.dcp__who small a { color: inherit; text-decoration: none; }
.dcp__who small a:hover { text-decoration: underline; }
.dcp__lvl { font-weight: 700; color: #2563eb; }
html[data-theme="dark"] .dcp__lvl { color: #93c5fd; }
.dcp__cat { --cat: #2563eb; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; background: color-mix(in srgb, var(--cat) 12%, transparent); color: var(--cat); }
.dcp__cat svg { width: 13px; height: 13px; }
.dcp__cat--tip { --cat: #d97706; } .dcp__cat--resource { --cat: #0891b2; } .dcp__cat--question { --cat: #7c3aed; }
.dcp__cat--showcase { --cat: #059669; } .dcp__cat--career { --cat: #db2777; }
html[data-theme="dark"] .dcp__cat { filter: brightness(1.45); }
.dcp__flag { display: flex; align-items: center; gap: .4rem; margin: .3rem 1.1rem 0; font-size: .8rem; font-weight: 700; color: #b45309; }
.dcp__flag svg { width: 14px; height: 14px; }
.dcp__flag--warn { color: #b91c1c; }
html[data-theme="dark"] .dcp__flag { color: #fbbf24; }
html[data-theme="dark"] .dcp__flag--warn { color: #fca5a5; }
.dcp__body { padding: .5rem 1.1rem .2rem; color: var(--dcf-ink); }
.dcp__title { margin: .2rem 0 .4rem; font-size: 1.12rem; line-height: 1.35; color: var(--dcf-ink); }
h1.dcp__title { font-size: clamp(1.3rem, 3vw, 1.65rem); }
body:not(#_) .dcp__title, body:not(#_) .dcp__title a { color: var(--dcf-ink); }
.dcp__title a { text-decoration: none; }
body:not(#_) .dcp__title a:hover { color: #2563eb; }
.dcp__text { font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.dcp__text p { margin: 0 0 .7rem; color: var(--dcf-ink); }
.dcp__text p:last-child { margin-bottom: .4rem; }
.dcp__text code, .dca-comment__text code { padding: .1rem .35rem; border-radius: 6px; background: var(--dcf-soft, #f4f7fc); font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .86em; }
.dcp__more { display: inline-block; margin-bottom: .4rem; font-weight: 700; color: #2563eb; text-decoration: none; }
.dcp__code { margin: .5rem 1.1rem .6rem; border-radius: 14px; overflow: hidden; background: #0b1530; border: 1px solid rgba(255, 255, 255, .08); }
.dcp__code-bar { display: flex; justify-content: space-between; align-items: center; padding: .4rem .8rem; background: rgba(255, 255, 255, .05); color: #93c5fd; font: 700 .74rem "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.dcp__code-bar button { display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; padding: 0 .6rem; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #e2e8f0; font: 600 .78rem system-ui, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; }
.dcp__code-bar button svg { width: 13px; height: 13px; }
.dcp__code pre { margin: 0; padding: .9rem 1rem; max-height: 420px; overflow: auto; color: #e2e8f0; line-height: 1.6; tab-size: 4; background: transparent; }
.dcp__codehint { display: inline-flex; align-items: center; gap: .4rem; margin: 0 1.1rem .6rem; padding: .4rem .75rem; border-radius: 10px; background: var(--dcf-soft); color: var(--dcf-ink); font-size: .84rem; font-weight: 600; text-decoration: none; }
.dcp__codehint svg { width: 15px; height: 15px; color: #2563eb; }
.dcp__img { display: block; margin: .4rem 0 .2rem; background: var(--dcf-soft); }
.dcp__img img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.dcp__link { display: flex; align-items: center; gap: .7rem; margin: .5rem 1.1rem .6rem; padding: .7rem .85rem; border-radius: 12px; border: 1px solid var(--dcf-line); background: var(--dcf-soft); color: var(--dcf-ink); text-decoration: none; }
.dcp__link > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--dcf-muted); }
.dcp__link span { display: grid; flex: 1; min-width: 0; }
.dcp__link b { font-size: .9rem; color: var(--dcf-ink); }
.dcp__link small { color: var(--dcf-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcp__foot { border-top: 1px solid var(--dcf-line); margin-top: .4rem; padding: .3rem .5rem; }
.dcp__acts { display: flex; align-items: center; gap: .15rem; }
.dcp__acts form { display: contents; }
.dcp-act { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding: 0 .4rem; border: 0; border-radius: 10px; background: none; color: var(--dcf-muted); font-family: inherit; font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.dcp-act svg { width: 18px; height: 18px; transition: transform .2s cubic-bezier(.2, .8, .2, 1.4); }
.dcp-act b { font-weight: 700; }
.dcp-act:hover:not([disabled]) { background: var(--dcf-soft); color: var(--dcf-ink); }
.dcp-act[disabled] { opacity: .55; cursor: default; }
.dcp-act:focus-visible { outline: 3px solid color-mix(in srgb, #2563eb 45%, transparent); outline-offset: -2px; }
.dcp-act--like.is-on { color: var(--dcf-like); }
.dcp-act--helpful.is-on { color: var(--dcf-help); }
.dcp-act--save.is-on { color: var(--dcf-save); }
.dcp-act.is-pop svg { animation: dcpPop .35s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes dcpPop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dcp-act.is-pop svg { animation: none; } }
@media (max-width: 560px) {
  .dcp-act span { display: none; }
  .dcp-act { gap: .25rem; }
  .dcp__head { padding: .85rem .9rem .3rem; }
  .dcp__link, .dcp__code, .dcp__codehint, .dcp__flag { margin-left: .9rem; margin-right: .9rem; }
  .dcp__body { padding: .5rem .9rem .2rem; }
}
.dcf-more { display: flex; width: max-content; margin: 1.25rem auto 0; }

/* Side boxes */
.dcf-top { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .55rem; }
.dcf-top li { display: flex; align-items: center; gap: .6rem; }
.dcf-top li > span:nth-child(3) { display: grid; flex: 1; min-width: 0; }
.dcf-top strong { font-size: .88rem; color: var(--dcf-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcf-top small { font-size: .75rem; color: var(--dcf-muted); }
.dcf-top img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dcf-top__n { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--dcf-soft); font-weight: 800; font-size: .75rem; color: var(--dcf-ink); }
.dcf-top li:first-child .dcf-top__n { background: #f59e0b; color: #fff; }
.dcf-top__prize { font-size: .8rem; color: #059669; }
html[data-theme="dark"] .dcf-top__prize { color: #4ade80; }
.dcf-rules { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .88rem; color: var(--dcf-ink); }

/* Post page */
.dcf-page .dcp { margin-bottom: 1rem; }
.dcf-report { margin: 0 0 1rem; }
.dcf-report > summary { cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; color: var(--dcf-muted); font-size: .86rem; font-weight: 600; }
.dcf-report > summary svg { width: 14px; height: 14px; }
.dcf-report form { display: grid; gap: .6rem; margin-top: .6rem; padding: 1rem; border-radius: 14px; border: 1px solid var(--dcf-line); background: var(--dcf-card); }
.dcf-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; font-size: .88rem; color: var(--dcf-ink); }
.dcf-reasons label { display: flex; gap: .45rem; align-items: center; min-height: 36px; }
@media (max-width: 560px) { .dcf-reasons { grid-template-columns: 1fr; } }
.dcf-report .btn { justify-self: start; }
.dcf-owner { margin: 0 0 1rem; }
.dcf-join { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 0; }
.dcf-related { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.dcf-related a { display: grid; padding: .7rem .85rem; border-radius: 12px; background: var(--dcf-soft); text-decoration: none; color: var(--dcf-ink); }
.dcf-related small { color: var(--dcf-muted); font-size: .78rem; }
.dcf-disclaimer { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 2rem; font-size: .8rem; line-height: 1.5; color: var(--dcf-muted); }
.dcf-disclaimer svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   29. Dev Connect website: who it is for, why us, feed preview, help centre
   ========================================================================== */
.dcs-lead { margin: .6rem auto 0; max-width: 620px; color: #475569; font-size: 1.02rem; line-height: 1.6; }
html[data-theme="dark"] .dcs-lead { color: #cbd5e1; }

.dcs-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dcs-aud__card { padding: 1.4rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 12px 30px rgba(11, 27, 61, .06); transition: transform .2s ease, box-shadow .2s ease; }
.dcs-aud__card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 27, 61, .1); }
.dcs-aud__card h3 { margin: .9rem 0 .7rem; font-size: 1.08rem; color: var(--dcs-ink, #0b1b3d); }
.dcs-aud__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dcs-aud__card li { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: #475569; }
.dcs-aud__card li svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #16a34a; }
html[data-theme="dark"] .dcs-aud__card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
html[data-theme="dark"] .dcs-aud__card h3 { color: #f1f5f9; }
html[data-theme="dark"] .dcs-aud__card li { color: #cbd5e1; }
html[data-theme="dark"] .dcs-aud__card li svg { color: #4ade80; }
@media (max-width: 1024px) { .dcs-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dcs-aud { grid-template-columns: 1fr; } }

.dcs-diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; max-width: 980px; margin: 0 auto; }
.dcs-diff__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; }
.dcs-diff__item h3 { margin: 0 0 .3rem; font-size: 1.02rem; color: var(--dcs-ink, #0b1b3d); }
.dcs-diff__item p { margin: 0; color: #475569; font-size: .93rem; line-height: 1.55; }
html[data-theme="dark"] .dcs-diff__item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dcs-diff__item h3 { color: #f1f5f9; }
html[data-theme="dark"] .dcs-diff__item p { color: #cbd5e1; }
@media (max-width: 760px) { .dcs-diff { grid-template-columns: 1fr; } }

.dcs-feed__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.dcs-feed__grid .dcp-act span { display: none; }
@media (max-width: 1024px) { .dcs-feed__grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; } .dcs-feed__grid .dcp-act span { display: inline; } }
@media (max-width: 560px) { .dcs-feed__grid .dcp-act span { display: none; } }
.dcs-feed__note { display: flex; justify-content: center; align-items: center; gap: .45rem; margin: 1.2rem 0 0; font-size: .86rem; color: #475569; text-align: center; }
.dcs-feed__note svg { width: 15px; height: 15px; color: #2563eb; }
.dcs-feed__note a { font-weight: 700; }
html[data-theme="dark"] .dcs-feed__note { color: #cbd5e1; }

/* Member home feed box */
.dca-share--inline { margin: .2rem 0 .9rem; box-shadow: none; background: var(--dcf-soft); border-color: var(--dcf-line); color: var(--dcf-ink); }
.dca-feedbox .dca-cat { --cat: #2563eb; background: color-mix(in srgb, var(--cat) 14%, transparent); color: var(--cat); }
.dca-feedbox .dcp__cat--tip { --cat: #d97706; } .dca-feedbox .dcp__cat--resource { --cat: #0891b2; } .dca-feedbox .dcp__cat--question { --cat: #7c3aed; }
.dca-feedbox .dcp__cat--showcase { --cat: #059669; } .dca-feedbox .dcp__cat--career { --cat: #db2777; }

/* Earn: creator prizes */
.dcs-prizes { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.dcs-prizes li { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid #e8ebf2; }
.dcs-prizes li strong { margin-left: auto; color: #059669; }
.dcs-prizes__n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f1f5f9; font-weight: 800; }
.dcs-prizes li:first-child .dcs-prizes__n { background: #f59e0b; color: #fff; }
html[data-theme="dark"] .dcs-prizes li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #e2e8f0; }
html[data-theme="dark"] .dcs-prizes li strong { color: #4ade80; }
html[data-theme="dark"] .dcs-prizes__n { background: rgba(255, 255, 255, .08); }

/* FAQ / help centre */
.dcq-hero { text-align: center; }
.dcq-hero p { margin-left: auto; margin-right: auto; }
.dcq-search { max-width: 640px; margin: 1.5rem auto 0; }
.dcq__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; align-items: start; max-width: 1080px; }
.dcq__nav { position: sticky; top: 88px; display: grid; gap: .35rem; }
.dcq__nav a { display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: .45rem .7rem; border-radius: 14px; text-decoration: none; color: var(--dcs-ink, #0b1b3d); font-weight: 700; font-size: .93rem; transition: background .15s; }
.dcq__nav a:hover { background: #f1f5f9; }
.dcq__nav a b { margin-left: auto; min-width: 26px; padding: .1rem .45rem; border-radius: 999px; background: #f1f5f9; font-size: .74rem; text-align: center; color: #475569; }
.dcq__nav .dcs-icon { width: 34px; height: 34px; border-radius: 10px; }
.dcq__nav .dcs-icon svg { width: 16px; height: 16px; }
html[data-theme="dark"] .dcq__nav a { color: #e2e8f0; }
html[data-theme="dark"] .dcq__nav a:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .dcq__nav a b { background: rgba(255, 255, 255, .08); color: #cbd5e1; }
.dcq__main { max-width: none; }
.dcq-group { scroll-margin-top: 90px; margin-bottom: 2rem; }
.dcq-group[hidden] { display: none; }
.dcq-group__title { display: flex; align-items: center; gap: .7rem; margin: 0 0 .9rem; font-size: 1.25rem; color: var(--dcs-ink, #0b1b3d); }
.dcq-group__title .dcs-icon { width: 38px; height: 38px; border-radius: 12px; }
.dcq-group__title .dcs-icon svg { width: 18px; height: 18px; }
html[data-theme="dark"] .dcq-group__title { color: #f1f5f9; }
.dcq .dcs-faq__item { transition: border-color .15s, box-shadow .15s; }
.dcq .dcs-faq__item[open] { border-color: color-mix(in srgb, #f59e0b 45%, transparent); box-shadow: 0 10px 26px rgba(11, 27, 61, .07); }
.dcq .dcs-faq__item > summary:hover { color: #2563eb; }
html[data-theme="dark"] .dcq .dcs-faq__item > summary:hover { color: #93c5fd; }
.dcq-none { display: flex; align-items: center; gap: .5rem; padding: 1rem; border-radius: 14px; background: #fff7ed; color: #9a3412; }
.dcq-none[hidden] { display: none; }
.dcq-none svg { width: 16px; height: 16px; }
html[data-theme="dark"] .dcq-none { background: rgba(251, 146, 60, .1); color: #fdba74; }
.dcq-help { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-top: 1rem; padding: 1.4rem; border-radius: 20px; background: linear-gradient(120deg, #0a1d47, #1d4ed8); color: #fff; }
.dcq-help h2 { margin: 0 0 .25rem; font-size: 1.15rem; color: #fff; }
.dcq-help p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .93rem; }
.dcq-help__btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.dcq-help .dca-btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
body:not(#_) .dcq-help h2 { color: #fff; }
@media (max-width: 900px) {
  .dcq__grid { grid-template-columns: 1fr; gap: 1rem; }
  .dcq__nav { position: static; display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
  .dcq__nav::-webkit-scrollbar { display: none; }
  .dcq__nav a { flex: 0 0 auto; min-height: 44px; padding: .35rem .8rem .35rem .4rem; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; }
  html[data-theme="dark"] .dcq__nav a { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
  .dcq__nav .dcs-icon { width: 30px; height: 30px; border-radius: 50%; }
  .dcq-help { grid-template-columns: 1fr; text-align: left; }
}
.dcp__code pre code { background: none; padding: 0; border-radius: 0; color: inherit; font-size: inherit; }
.dcp__text code, .dca-comment__text code { color: var(--dcf-ink, #0b1b3d); }
html[data-theme="dark"] .dca-comment__text code { color: #e2e8f0; background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   30. Chat with the team (messenger layout) + admin quick replies
   ========================================================================== */
.dcm, .dcm-inbox {
  --m-card: #fff; --m-line: #e6eaf2; --m-ink: #0b1b3d; --m-muted: #5b6b86; --m-bg: #eef2f8;
  --m-me: linear-gradient(135deg, #1d4ed8, #0a1d47); --m-me-ink: #fff; --m-team: #fff; --m-team-ink: #0b1b3d;
}
html[data-theme="dark"] .dcm, html[data-theme="dark"] .dcm-inbox {
  --m-card: #0d1f45; --m-line: rgba(255, 255, 255, .1); --m-ink: #f1f5f9; --m-muted: #a9b6cf; --m-bg: #081638;
  --m-team: #142a5a; --m-team-ink: #f1f5f9;
}

/* Conversation page: full-height messenger */
body:has(.dcm) .dc-appnav { display: none; }
body:has(.dcm) { padding-bottom: 0; }
body:has(.dcm) main { min-height: 0; }
.dcm { padding: 0; }
.dcm__wrap { display: flex; flex-direction: column; width: min(860px, 100%); margin: 0 auto; height: calc(100dvh - var(--dcm-top, 68px)); background: var(--m-bg); }
@media (min-width: 861px) { .dcm__wrap { height: calc(100dvh - var(--dcm-top, 68px) - 2.5rem); margin: 1.25rem auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--m-line); box-shadow: 0 24px 60px rgba(3, 10, 30, .18); } }
.dcm__head { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: var(--m-card); border-bottom: 1px solid var(--m-line); flex: 0 0 auto; }
.dcm__back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--m-ink); flex: 0 0 auto; }
.dcm__back:hover { background: var(--m-bg); }
.dcm__back svg { width: 18px; height: 18px; }
.dcm__avatar { position: relative; flex: 0 0 auto; }
.dcm__avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 16px rgba(14, 165, 233, .35); }
.dcm-team .dcm__avatar img { width: 56px; height: 56px; }
.dcm__online { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--m-card); }
.dcm__who { display: grid; min-width: 0; flex: 1; }
.dcm__who strong { color: var(--m-ink); font-size: 1rem; }
.dcm__who small { display: flex; align-items: center; gap: .3rem; color: var(--m-muted); font-size: .8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dcm__who small svg { width: 12px; height: 12px; flex: 0 0 auto; }
.dcm-chip { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: #fef3c7; color: #92400e; }
.dcm-chip--answered { background: #dcfce7; color: #166534; }
.dcm-chip--closed { background: #e2e8f0; color: #475569; }
html[data-theme="dark"] .dcm-chip { background: rgba(251, 191, 36, .15); color: #fcd34d; }
html[data-theme="dark"] .dcm-chip--answered { background: rgba(74, 222, 128, .15); color: #86efac; }
html[data-theme="dark"] .dcm-chip--closed { background: rgba(255, 255, 255, .08); color: #cbd5e1; }
.dcm .alerts { padding: .6rem .9rem 0; margin: 0; }

.dcm__list { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 1rem .9rem .5rem; display: flex; flex-direction: column; gap: .2rem; scroll-behavior: smooth;
  background-image: radial-gradient(color-mix(in srgb, var(--m-ink) 6%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; }
.dcm__intro { align-self: center; display: flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; padding: .45rem .8rem; border-radius: 12px; background: color-mix(in srgb, #f59e0b 14%, var(--m-card)); color: var(--m-ink); font-size: .76rem; text-align: center; max-width: 90%; }
.dcm__intro svg { width: 12px; height: 12px; flex: 0 0 auto; }
.dcm__day { align-self: center; margin: .8rem 0 .5rem; }
.dcm__day span { display: inline-block; padding: .25rem .75rem; border-radius: 999px; background: var(--m-card); color: var(--m-muted); font-size: .74rem; font-weight: 700; box-shadow: 0 2px 6px rgba(11, 27, 61, .06); }
.dcm-msg { display: flex; align-items: flex-end; gap: .45rem; max-width: 82%; margin-top: .55rem; }
.dcm-msg.is-grouped { margin-top: .15rem; }
.dcm-msg--me { align-self: flex-end; flex-direction: row-reverse; }
.dcm-msg--team { align-self: flex-start; }
.dcm-msg__pic { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; }
.dcm-msg--team.is-grouped .dcm-msg__pic { visibility: hidden; }
.dcm-msg__bubble { position: relative; padding: .55rem .8rem .35rem; border-radius: 18px; box-shadow: 0 2px 8px rgba(11, 27, 61, .07); min-width: 72px; }
.dcm-msg--me .dcm-msg__bubble { background: var(--m-me); color: var(--m-me-ink); border-bottom-right-radius: 6px; }
.dcm-msg--team .dcm-msg__bubble { background: var(--m-team); color: var(--m-team-ink); border-bottom-left-radius: 6px; }
.dcm-msg.is-grouped.dcm-msg--me .dcm-msg__bubble { border-top-right-radius: 8px; }
.dcm-msg.is-grouped.dcm-msg--team .dcm-msg__bubble { border-top-left-radius: 8px; }
.dcm-msg__text { font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; white-space: normal; }
.dcm-msg__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.dcm-msg--team .dcm-msg__text a { color: #2563eb; }
html[data-theme="dark"] .dcm-msg--team .dcm-msg__text a { color: #93c5fd; }
.dcm-msg__time { display: block; margin-top: .15rem; text-align: right; font-size: .68rem; opacity: .7; }
.dcm-msg.is-sending { opacity: .65; }
.dcm-msg.is-new { animation: dcmIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dcmIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dcm-msg.is-new { animation: none; } .dcm__list { scroll-behavior: auto; } }
.dcm__seen { align-self: flex-end; display: flex; align-items: center; gap: .3rem; margin: .25rem .2rem 0; font-size: .72rem; color: var(--m-muted); }
.dcm__seen[hidden] { display: none; }
.dcm__seen svg { width: 12px; height: 12px; color: #22c55e; }

.dcm__compose { flex: 0 0 auto; display: flex; align-items: flex-end; gap: .5rem; padding: .6rem .7rem; padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--m-card); border-top: 1px solid var(--m-line); }
.dcm__compose textarea { flex: 1; min-height: 46px; max-height: 160px; padding: .7rem 1rem; border-radius: 24px; border: 1.5px solid var(--m-line); background: var(--m-bg); color: var(--m-ink); font: inherit; font-size: 16px; line-height: 1.4; resize: none; }
.dcm__compose textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px color-mix(in srgb, #2563eb 22%, transparent); }
.dcm__send { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border: 0; border-radius: 50%; background: linear-gradient(135deg, #f2cf6b, #e0a91f); color: #0b1b3d; cursor: pointer; box-shadow: 0 8px 18px rgba(224, 169, 31, .35); transition: transform .15s; }
.dcm__send:hover { transform: scale(1.05); }
.dcm__send:active { transform: scale(.95); }
.dcm__send[disabled] { opacity: .6; }
.dcm__send svg { width: 20px; height: 20px; }
.dcm__hint { flex: 0 0 auto; margin: 0; padding: 0 1rem .55rem; background: var(--m-card); color: var(--m-muted); font-size: .72rem; text-align: center; }
.dcm__hint-key { padding: .05rem .35rem; border-radius: 5px; background: var(--m-bg); border: 1px solid var(--m-line); font-weight: 700; }
@media (pointer: coarse) { .dcm__hint { display: none; } }
.dcm__error { padding: 0 1rem .5rem; background: var(--m-card); }
.dcm__closed { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px)); background: var(--m-card); border-top: 1px solid var(--m-line); color: var(--m-muted); font-size: .9rem; }
.dcm__closed svg { width: 14px; height: 14px; }

/* Inbox */
.dcm-team { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: linear-gradient(120deg, #0a1d47, #1d4ed8); color: #fff; box-shadow: 0 18px 40px rgba(10, 29, 71, .25); }
.dcm-team .dcm__online { border-color: #12307a; }
.dcm-team h1 { margin: 0 0 .2rem; font-size: clamp(1.2rem, 3.5vw, 1.5rem); color: #fff; }
body:not(#_) .dcm-team h1 { color: #fff; }
.dcm-team p { display: flex; align-items: flex-start; gap: .35rem; margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .82); }
.dcm-team p svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 3px; }
.dcm-team__new { margin-left: auto; padding: .3rem .7rem; border-radius: 999px; background: #ef4444; color: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.dcm-topics__label { margin: 0 0 .5rem; font-weight: 700; font-size: .9rem; color: var(--m-ink); }
.dcm-topics { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; margin-bottom: .9rem; scrollbar-width: none; }
.dcm-topics::-webkit-scrollbar { display: none; }
.dcm-topic { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .4rem .9rem; border-radius: 999px; background: var(--m-card); border: 1px solid var(--m-line); color: var(--m-ink); font-size: .86rem; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.dcm-topic svg { width: 15px; height: 15px; color: #2563eb; }
.dcm-topic:hover, .dcm-topic.is-active { border-color: #2563eb; background: color-mix(in srgb, #2563eb 8%, var(--m-card)); }
.dcm-compose__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.dcm-compose__foot a { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 600; }
.dcm-compose__foot a svg { width: 14px; height: 14px; }
.dcm-list__title { margin: 1.4rem 0 .6rem; font-size: 1.05rem; color: var(--m-ink); }
.dcm-list { display: grid; gap: .5rem; }
.dcm-row { position: relative; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 16px; background: var(--m-card); border: 1px solid var(--m-line); text-decoration: none; color: var(--m-ink); transition: transform .15s, box-shadow .15s; }
.dcm-row:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 27, 61, .08); }
.dcm-row__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; background: color-mix(in srgb, #2563eb 10%, var(--m-card)); color: #2563eb; }
.dcm-row__icon svg { width: 18px; height: 18px; }
.dcm-row__main { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.dcm-row__top { display: flex; justify-content: space-between; gap: .6rem; }
.dcm-row__top strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .95rem; }
.dcm-row__top small { flex: 0 0 auto; color: var(--m-muted); font-size: .76rem; }
.dcm-row__text { color: var(--m-muted); font-size: .86rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dcm-row__meta { display: flex; align-items: center; gap: .45rem; color: var(--m-muted); font-size: .76rem; }
.dcm-row.is-unread { border-color: color-mix(in srgb, #2563eb 45%, transparent); }
.dcm-row.is-unread .dcm-row__top strong, .dcm-row.is-unread .dcm-row__text { color: var(--m-ink); font-weight: 700; }
.dcm-row.is-unread .dcm-row__top small { color: #2563eb; font-weight: 700; }
.dcm-row__dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 4px color-mix(in srgb, #2563eb 18%, transparent); }

/* Admin: quick replies + seen */
.dc-quick { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .2rem; }
.dc-quick button { max-width: 100%; padding: .35rem .7rem; border-radius: 999px; border: 1px solid #dbe3ef; background: #f8fafc; color: #1e3a8a; font-size: .78rem; font-weight: 600; text-align: left; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dc-quick button:hover { border-color: #2563eb; background: #eff6ff; }
.dc-admin-chat__seen { margin: .3rem 0 0; text-align: right; font-size: .75rem; color: #16a34a; font-weight: 600; }
.dc-admin-chat__seen[hidden] { display: none; }
.dc-admin-chat__text a { color: inherit; text-decoration: underline; }
.dcm-list { grid-template-columns: minmax(0, 1fr); }
body:not(#_) .dcm-row, body:not(#_) .dcm-row__top strong { color: var(--m-ink); }
body:not(#_) .dcm-row.is-unread .dcm-row__top strong { color: var(--m-ink); }

/* ==========================================================================
   31. Project marketplace (browse, listing, orders)
   ========================================================================== */
.dmk, .dmk-page, .dca-page {
  --dcf-card: #fff; --dcf-line: #e6eaf2; --dcf-ink: #0b1b3d; --dcf-muted: #5b6b86; --dcf-soft: #f4f7fc;
  --m-card: #fff; --m-line: #e6eaf2; --m-ink: #0b1b3d; --m-muted: #5b6b86;
}
html[data-theme="dark"] .dmk, html[data-theme="dark"] .dmk-page, html[data-theme="dark"] .dca-page {
  --dcf-card: #0d1f45; --dcf-line: rgba(255, 255, 255, .1); --dcf-ink: #f1f5f9; --dcf-muted: #a9b6cf; --dcf-soft: rgba(255, 255, 255, .05);
  --m-card: #0d1f45; --m-line: rgba(255, 255, 255, .1); --m-ink: #f1f5f9; --m-muted: #a9b6cf;
}
.dmk-h1 { margin: .4rem 0 1rem; font-size: clamp(1.35rem, 3.5vw, 1.8rem); color: var(--dcf-ink); }
body:not(#_) .dmk-h1 { color: var(--dcf-ink); }
.dmk-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 0 0 1rem; color: var(--dcf-muted); font-size: .86rem; font-weight: 600; }
.dmk-trust span { display: inline-flex; align-items: center; gap: .35rem; }
.dmk-trust svg { width: 15px; height: 15px; color: #16a34a; }
.dmk-sell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 1rem 1.2rem; border-radius: 18px; background: linear-gradient(120deg, #0a1d47, #1d4ed8); color: #fff; }
.dmk-sell div { display: grid; gap: .2rem; flex: 1 1 300px; }
.dmk-sell span { color: rgba(255, 255, 255, .82); font-size: .9rem; }
.dmk-mine { margin-bottom: 1rem; }
.dmk-mine > summary { cursor: pointer; display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--dcf-ink); }
.dmk-mine > summary svg { width: 16px; height: 16px; }
.dmk-mine ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .4rem; }
.dmk-mine li a { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .6rem .8rem; border-radius: 12px; background: var(--dcf-soft); text-decoration: none; color: var(--dcf-ink); }
.dmk-mine li small { color: var(--dcf-muted); margin-left: auto; }
.dmk-mine__orders, .dmk-orders-link a { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-weight: 700; }
.dmk-mine__orders svg, .dmk-orders-link svg { width: 14px; height: 14px; }
.dmk-st { display: inline-flex; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #fef3c7; color: #92400e; }
.dmk-st--live, .dmk-st--o-completed { background: #dcfce7; color: #166534; }
.dmk-st--rejected, .dmk-st--removed, .dmk-st--o-disputed { background: #fee2e2; color: #991b1b; }
.dmk-st--paused, .dmk-st--o-refunded { background: #e2e8f0; color: #475569; }
.dmk-st--o-delivered { background: #dbeafe; color: #1e40af; }
html[data-theme="dark"] .dmk-st { filter: brightness(.9) saturate(1.2); }
.dmk-search { position: relative; margin: 0 0 .8rem; }
.dmk-search svg { position: absolute; left: 1rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: #94a3b8; }
.dmk-search input { width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 2.6rem; border-radius: 16px; border: 1px solid var(--dcf-line); background: var(--dcf-card); color: var(--dcf-ink); font-size: 16px; }

.dmk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.dmk-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--dcf-card); border: 1px solid var(--dcf-line); text-decoration: none; color: var(--dcf-ink); box-shadow: 0 10px 28px rgba(11, 27, 61, .07); transition: transform .2s ease, box-shadow .2s ease; }
.dmk-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 27, 61, .14); }
.dmk-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0a1d47, #1d4ed8); overflow: hidden; }
.dmk-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dmk-card:hover .dmk-card__img img { transform: scale(1.04); }
.dmk-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .85); }
.dmk-card__ph svg { width: 44px; height: 44px; }
.dmk-card__price { position: absolute; right: .7rem; bottom: .7rem; padding: .3rem .7rem; border-radius: 999px; background: #fff; color: #0b1b3d; font-size: .95rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.dmk-card__body { display: grid; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.dmk-card__cat { display: inline-flex; align-items: center; gap: .3rem; color: #2563eb; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dmk-card__cat svg { width: 13px; height: 13px; }
html[data-theme="dark"] .dmk-card__cat { color: #93c5fd; }
.dmk-card__body strong { font-size: 1.02rem; line-height: 1.3; }
.dmk-card__body small { color: var(--dcf-muted); font-size: .86rem; line-height: 1.45; }
.dmk-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .5rem; color: var(--dcf-muted); font-size: .8rem; }
.dmk-card__by { display: inline-flex; align-items: center; gap: .35rem; }
.dmk-card__by img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.dmk-verified { display: inline-flex; color: #2563eb; }
.dmk-verified svg { width: 14px; height: 14px; }

/* Listing */
.dmk-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.dmk-detail__side { position: sticky; top: 88px; display: grid; gap: 1rem; }
.dmk-detail__side .dca-panel { margin: 0; }
@media (max-width: 900px) { .dmk-detail { grid-template-columns: 1fr; } .dmk-detail__side { position: static; } }
.dmk-detail__img { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; margin-bottom: 1rem; background: linear-gradient(135deg, #0a1d47, #1d4ed8); }
.dmk-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.dmk-detail h1 { margin: .3rem 0 .4rem; font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--dcf-ink); }
body:not(#_) .dmk-detail h1 { color: var(--dcf-ink); }
.dmk-detail__lead { color: var(--dcf-muted); font-size: 1.05rem; line-height: 1.55; }
.dmk-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 1rem; }
.dmk-tags span { padding: .25rem .65rem; border-radius: 999px; background: var(--dcf-soft); border: 1px solid var(--dcf-line); color: var(--dcf-ink); font-size: .8rem; font-weight: 600; }
.dmk-desc { line-height: 1.65; color: var(--dcf-ink); }
.dmk-buy { display: grid; gap: .7rem; }
.dmk-buy__price { margin: 0; font-size: 2rem; font-weight: 800; color: var(--dcf-ink); }
.dmk-buy__price small { font-size: .9rem; font-weight: 600; color: var(--dcf-muted); }
.dmk-buy__bal { margin: 0; color: var(--dcf-muted); }
.dmk-buy__low { display: flex; gap: .4rem; margin: 0; padding: .6rem .75rem; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: .86rem; }
.dmk-buy__low svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }
html[data-theme="dark"] .dmk-buy__low { background: rgba(251, 146, 60, .12); color: #fdba74; }
.dmk-buy__form { display: grid; gap: .6rem; }
.dmk-buy .btn[disabled] { opacity: .5; cursor: not-allowed; }
.dmk-owner { display: flex; gap: .5rem; flex-wrap: wrap; }
.dmk-safe { list-style: none; margin: .3rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--dcf-line); display: grid; gap: .4rem; font-size: .84rem; color: var(--dcf-muted); }
.dmk-safe li { display: flex; align-items: center; gap: .45rem; }
.dmk-safe svg { width: 15px; height: 15px; color: #16a34a; }
.dmk-seller { display: flex; align-items: center; gap: .75rem; }
.dmk-seller img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.dmk-seller span { display: grid; }
.dmk-seller strong { color: var(--dcf-ink); }
.dmk-seller small { color: var(--dcf-muted); font-size: .8rem; }
.dmk-status { margin-bottom: 1rem; }

/* Orders */
.dmk-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: s; }
.dmk-steps li { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 12px; background: var(--dcf-soft); color: var(--dcf-muted); font-weight: 700; font-size: .85rem; }
.dmk-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--dcf-line); font-size: .78rem; }
.dmk-steps li.is-done { color: #166534; background: #dcfce7; }
.dmk-steps li.is-done span { background: #16a34a; color: #fff; }
html[data-theme="dark"] .dmk-steps li.is-done { background: rgba(74, 222, 128, .12); color: #86efac; }
.dmk-banner { display: flex; gap: .5rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: .9rem; }
.dmk-banner svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.dmk-banner--grey { background: var(--dcf-soft); color: var(--dcf-ink); }
.dmk-money { max-width: 420px; }
.dmk-delivery { padding: .9rem 1rem; border-radius: 12px; background: var(--dcf-soft); border: 1px dashed var(--dcf-line); color: var(--dcf-ink); line-height: 1.6; overflow-wrap: anywhere; }
.dmk-confirm { display: grid; gap: .8rem; }
.dcm-row__icon { font-weight: 800; font-size: 1.05rem; }
.dcm-row__meta b { color: #2563eb; font-size: .76rem; }

/* Policy pages */
.dcs-summary { margin: 0 0 1.8rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: color-mix(in srgb, #2563eb 7%, #fff); border: 1px solid color-mix(in srgb, #2563eb 20%, transparent); }
html[data-theme="dark"] .dcs-summary { background: rgba(37, 99, 235, .1); border-color: rgba(96, 165, 250, .25); }
.dcs-summary > strong { display: block; margin-bottom: .5rem; font-size: 1.05rem; }
.dcs-summary ul { margin: 0; }
.dcs-fees { width: 100%; border-collapse: collapse; font-size: .93rem; }
.dcs-fees td { padding: .5rem .2rem; border-bottom: 1px solid rgba(100, 116, 139, .2); }
.dcs-fees td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   32. Dev Connect hero v2: aurora, orbiting logo, floating live cards,
       word rotator, entrance + scroll reveal, announcement bar
   ========================================================================== */
.dcs-hero--v2 { isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: center; background: linear-gradient(160deg, #061433 0%, #0a1d47 45%, #071232 100%); }
.dcs-hero__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.dcs-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.dcs-blob--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, #2563eb, transparent 65%); animation: dcsBlob1 18s ease-in-out infinite alternate; }
.dcs-blob--2 { width: 420px; height: 420px; bottom: -180px; left: -120px; background: radial-gradient(circle, #e0a91f, transparent 65%); opacity: .35; animation: dcsBlob2 22s ease-in-out infinite alternate; }
.dcs-blob--3 { width: 360px; height: 360px; top: 30%; left: 40%; background: radial-gradient(circle, #06b6d4, transparent 65%); opacity: .28; animation: dcsBlob3 26s ease-in-out infinite alternate; }
@keyframes dcsBlob1 { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes dcsBlob2 { to { transform: translate(140px, -60px) scale(1.2); } }
@keyframes dcsBlob3 { to { transform: translate(-80px, -90px) scale(.9); } }

.dcs-hero--v2 .dcs-hero__grid { align-items: center; }
.dcs-hero--v2 h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
.dcs-rotate { display: inline-block; position: relative; }
.dcs-rotate em { display: inline-block; transition: opacity .35s ease, transform .35s ease, filter .35s ease; }
.dcs-rotate.is-out em { opacity: 0; transform: translateY(.35em); filter: blur(4px); }
.dcs-rotate::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px; background: linear-gradient(90deg, #f5d77e, #e0ac1f); transform-origin: left; animation: dcsUnder 2.6s ease-in-out infinite; opacity: .8; }
@keyframes dcsUnder { 0%, 100% { transform: scaleX(.15); } 50% { transform: scaleX(1); } }

.dcs-in { opacity: 0; transform: translateY(18px); animation: dcsIn .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes dcsIn { to { opacity: 1; transform: none; } }
.dcs-shine { position: relative; overflow: hidden; }
.dcs-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: dcsShine 3.6s ease-in-out 1.2s infinite; }
@keyframes dcsShine { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* Orbit */
.dcs-orbit { position: relative; width: min(460px, 86vw); aspect-ratio: 1; margin: 0 auto; transform-style: preserve-3d; transition: transform .25s ease-out; }
.dcs-orbit__logo { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(56, 189, 248, .35), 0 0 80px rgba(37, 99, 235, .55), 0 30px 70px rgba(0, 0, 0, .45); animation: dcsPulse 4.5s ease-in-out infinite; }
.dcs-orbit__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes dcsPulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(56, 189, 248, .35), 0 0 60px rgba(37, 99, 235, .45), 0 30px 70px rgba(0, 0, 0, .45); } 50% { box-shadow: 0 0 0 1px rgba(56, 189, 248, .6), 0 0 110px rgba(56, 189, 248, .6), 0 30px 70px rgba(0, 0, 0, .45); } }
.dcs-orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(147, 197, 253, .35); }
.dcs-orbit__ring--1 { inset: 8%; animation: dcsSpin 26s linear infinite; }
.dcs-orbit__ring--2 { inset: 0; border-style: solid; border-color: rgba(242, 207, 107, .22); animation: dcsSpin 38s linear infinite reverse; }
.dcs-orbit__ring--3 { inset: -8%; border-color: rgba(147, 197, 253, .18); animation: dcsSpin 52s linear infinite; }
.dcs-orbit__ring b { position: absolute; top: -18px; left: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -18px; border-radius: 12px; background: rgba(10, 29, 71, .9); border: 1px solid rgba(255, 255, 255, .18); color: #93c5fd; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.dcs-orbit__ring--2 b { color: #f2cf6b; top: auto; bottom: -18px; }
.dcs-orbit__ring--3 b { color: #4ade80; }
.dcs-orbit__ring b svg { width: 16px; height: 16px; animation: dcsSpin 26s linear infinite reverse; }
@keyframes dcsSpin { to { transform: rotate(360deg); } }

.dcs-float { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem .55rem .55rem; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #0b1b3d; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); white-space: nowrap; font-size: .82rem; animation: dcsBob 5s ease-in-out infinite; will-change: transform; }
.dcs-float b { display: block; font-size: .86rem; }
.dcs-float small { display: block; color: #64748b; font-size: .72rem; }
.dcs-float__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; }
.dcs-float__ic svg { width: 16px; height: 16px; }
.dcs-float__ic--like { background: linear-gradient(135deg, #fb7185, #e11d48); }
.dcs-float__ic--money { background: linear-gradient(135deg, #4ade80, #16a34a); }
.dcs-float__ic--sale { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.dcs-float__ic--hire { background: linear-gradient(135deg, #fcd34d, #d97706); }
.dcs-float--a { top: 6%; left: -8%; animation-delay: -1s; }
.dcs-float--b { top: 24%; right: -10%; animation-delay: -2.5s; }
.dcs-float--c { bottom: 18%; left: -12%; animation-delay: -3.5s; }
.dcs-float--d { bottom: 2%; right: -2%; animation-delay: -.5s; }
@keyframes dcsBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 900px) {
  .dcs-hero--v2 { min-height: 0; }
  body:not(#_) .dcs-hero--v2 .dcs-hero__art { display: block; order: 2; margin-top: 1.5rem; }
  .dcs-orbit { width: min(330px, 78vw); }
  .dcs-float { font-size: .74rem; padding: .4rem .6rem .4rem .4rem; }
  .dcs-float__ic { width: 28px; height: 28px; }
  .dcs-float--a { left: -4%; } .dcs-float--b { right: -6%; } .dcs-float--c { left: -6%; } .dcs-float--d { right: 0; }
}
@media (max-width: 420px) { .dcs-float--b, .dcs-float--c { display: none; } }

.dcs-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .45); }
.dcs-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: dcsScroll 1.8s ease-in-out infinite; }
@keyframes dcsScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) { .dcs-scroll { display: none; } }

/* Scroll reveal for sections (added by dc-app.js) */
.dcs-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--r, 0) * 70ms); }
.dcs-reveal.is-shown { opacity: 1; transform: none; }

/* Announcement bar on the Dev Connect site */
.dcs-banner { position: relative; z-index: 5; background: linear-gradient(90deg, #e0a91f, #f5d77e, #e0a91f); background-size: 200% 100%; animation: dcsBanner 8s linear infinite; color: #0b1b3d; font-weight: 700; font-size: .88rem; text-align: center; }
.dcs-banner a, .dcs-banner span { display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem 1rem; color: inherit; text-decoration: none; }
.dcs-banner svg { width: 15px; height: 15px; }
@keyframes dcsBanner { to { background-position: 200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .dcs-blob, .dcs-orbit__ring, .dcs-orbit__ring b svg, .dcs-orbit__logo, .dcs-float, .dcs-shine::after, .dcs-rotate::after, .dcs-scroll span, .dcs-banner { animation: none; }
  .dcs-in { animation: none; opacity: 1; transform: none; }
  .dcs-reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1240px) { .dcs-float--b { right: 2%; top: 20%; } .dcs-float--a { left: -2%; } .dcs-float--c { left: -4%; } }
/* The v2 hero runs its own staggered entrance (overrides the older .dcs-hero__copy rule). */
html[data-animate="on"] .dcs-hero--v2 .dcs-hero__copy > .dcs-in, .dcs-hero--v2 .dcs-in { animation: dcsIn .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
html:not([data-animate="on"]) .dcs-in { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { html[data-animate="on"] .dcs-hero--v2 .dcs-hero__copy > .dcs-in, .dcs-hero--v2 .dcs-in { animation: none; opacity: 1; transform: none; } }

/* ==========================================================================
   33. Hero v2 polish: compact height, live pill, skills marquee
   ========================================================================== */
.dcs-hero--v2 { min-height: 0; display: block; padding: clamp(2rem, 4.5vw, 3.6rem) 0 clamp(4rem, 7vw, 5.5rem); }
.dcs-hero--v2 h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); margin-bottom: .9rem; }
.dcs-hero--v2 .dcs-kicker { margin-bottom: .6rem; }
.dcs-hero--v2 .dcs-hero__lead { max-width: 560px; }
.dcs-hero--v2 .dcs-orbit { width: min(430px, 86vw); }

/* Live pill */
.dcs-live { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0; font-size: .86rem; text-decoration: none; backdrop-filter: blur(8px); transition: background .2s, border-color .2s, transform .2s; }
.dcs-live:hover { background: rgba(255, 255, 255, .12); border-color: rgba(242, 207, 107, .5); transform: translateY(-1px); color: #fff; }
.dcs-live b { color: #fff; }
.dcs-live strong { color: #f2cf6b; }
.dcs-live > svg { width: 14px; height: 14px; transition: transform .2s; }
.dcs-live:hover > svg { transform: translateX(3px); }
.dcs-live__faces { display: flex; }
.dcs-live__faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #0a1d47; margin-left: -8px; }
.dcs-live__faces img:first-child { margin-left: 0; }
.dcs-live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
.dcs-live__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: dcsPing 1.8s ease-out infinite; }
@keyframes dcsPing { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@media (max-width: 480px) { .dcs-live { font-size: .78rem; } .dcs-live__faces img:nth-child(n+3) { display: none; } }

/* Skills marquee */
.dcs-marquee { position: relative; margin-top: 1.6rem; max-width: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.dcs-marquee__track { display: flex; gap: .55rem; width: max-content; animation: dcsMarquee 38s linear infinite; }
.dcs-marquee:hover .dcs-marquee__track { animation-play-state: paused; }
.dcs-marquee span { flex: 0 0 auto; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #cbd5e1; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .78rem; font-weight: 600; }
.dcs-marquee span:nth-child(3n+1) { color: #93c5fd; }
.dcs-marquee span:nth-child(3n+2) { color: #f2cf6b; }
@keyframes dcsMarquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .dcs-live__dot::after, .dcs-marquee__track { animation: none; }
}
.dcs-hero--v2 .dcs-hero__grid > * { min-width: 0; }
.dcs-marquee { max-width: min(600px, 100%); }

/* Fee table: label left, value right, never wider than the screen */
.dcs-fees, .dcs-fees tbody { display: block; width: 100%; }
.dcs-fees tr { display: flex; justify-content: space-between; align-items: baseline; gap: .9rem; border-bottom: 1px solid rgba(100, 116, 139, .2); }
.dcs-fees tr:last-child { border-bottom: 0; }
.dcs-fees td { border: 0; padding: .55rem 0; }
.dcs-fees td:first-child { flex: 1 1 auto; min-width: 0; }
.dcs-fees td:last-child { flex: 0 1 auto; max-width: 48%; text-align: right; white-space: normal; }
.dcs-prose { overflow-wrap: anywhere; }
.dcs-fees td { overflow-wrap: normal; word-break: normal; }
.dcs-fees td:last-child { max-width: 52%; }
.dcf__grid > * { min-width: 0; }
@media (max-width: 960px) { .dcf__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   34. "Join in 90 seconds" guide video
   ========================================================================== */
.dcs-guide { position: relative; overflow: hidden; background: radial-gradient(600px 400px at 15% 30%, rgba(37, 99, 235, .14), transparent 70%), radial-gradient(500px 360px at 90% 80%, rgba(224, 169, 31, .1), transparent 70%); }
.dcs-guide__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 1040px; }
.dcs-guide__grid > * { min-width: 0; }
.dcs-guide__phone { position: relative; justify-self: center; width: min(320px, 82vw); }
.dcs-guide__frame { position: relative; padding: 10px; border-radius: 42px; background: linear-gradient(160deg, #1e293b, #0b1220); box-shadow: 0 0 0 2px rgba(147, 197, 253, .25), 0 40px 80px -20px rgba(3, 10, 30, .6), 0 0 80px rgba(37, 99, 235, .25); }
.dcs-guide__frame::before { content: ""; position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 12px; background: #000; z-index: 2; pointer-events: none; }
.dcs-guide__frame video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; border-radius: 32px; background: #081638; object-fit: cover; }
.dcs-guide__badge { position: absolute; top: 18%; right: -18px; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; background: linear-gradient(135deg, #f2cf6b, #e0a91f); color: #0b1b3d; font-weight: 800; font-size: .82rem; box-shadow: 0 10px 24px rgba(224, 169, 31, .4); animation: dcsBob 5s ease-in-out infinite; }
.dcs-guide__badge svg { width: 14px; height: 14px; }
.dcs-guide__copy h2 { margin: .3rem 0 .5rem; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--dcs-ink, #0b1b3d); }
html[data-theme="dark"] body:not(#_) .dcs-guide__copy h2 { color: #f1f5f9; }
.dcs-guide__steps { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0; display: grid; gap: .7rem; }
.dcs-guide__steps li { display: flex; gap: .8rem; align-items: flex-start; }
.dcs-guide__steps li > span { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 6px 14px rgba(37, 99, 235, .3); }
.dcs-guide__steps strong { display: block; color: var(--dcs-ink, #0b1b3d); }
.dcs-guide__steps small { color: #64748b; font-size: .88rem; line-height: 1.45; }
html[data-theme="dark"] .dcs-guide__steps strong { color: #f1f5f9; }
html[data-theme="dark"] .dcs-guide__steps small { color: #cbd5e1; }
@media (max-width: 820px) {
  .dcs-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .dcs-guide__copy { text-align: left; }
  .dcs-guide__badge { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .dcs-guide__badge { animation: none; } }

/* Dev Connect site: footer always at the very bottom, no back-to-top bubble, no light gap on over-scroll */
html:has(body.dc-site) { background: #070f26; }
html[data-theme="light"]:has(body.dc-site) { background: #0a1d47; }
body.dc-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.dc-site > main { flex: 1 0 auto; }
body.dc-site > .dcs-footer { flex-shrink: 0; margin-top: auto; }
body.dc-site .to-top { display: none !important; }
.dcs-footer__bottom { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }

/* ==========================================================================
   35. Dev Connect tour video (real screen recording, loads only on tap)
   ========================================================================== */
.dcs-story { position: relative; overflow: hidden; background: linear-gradient(160deg, #061433, #0a1d47 60%, #071232); color: #fff; }
.dcs-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 1040px; }
.dcs-story__grid > * { min-width: 0; }
.dcs-story h2 { margin: .3rem 0 .6rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
body:not(#_) .dcs-story h2 { color: #fff; }
.dcs-story p.dcs-lead { margin-left: 0; color: #cbd5e1; }
.dcs-story__list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: .5rem; }
.dcs-story__list li { display: flex; align-items: center; gap: .6rem; color: #e2e8f0; font-weight: 600; }
.dcs-story__list li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(242, 207, 107, .15); color: #f2cf6b; font-weight: 800; font-size: .8rem; }
@media (max-width: 820px) { .dcs-story__grid { grid-template-columns: minmax(0, 1fr); } .dcs-story__player { order: -1; } }
.dcs-story__player .dcs-guide__phone { margin: 0 auto; }
.dcs-tourvid video { aspect-ratio: 9 / 16; }


/* ==========================================================================
   37. Dev Connect: challenges, events, portfolio pages, follows, best answers
   ========================================================================== */
.dcx-h { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 .9rem; font-size: 1.15rem; }
.dcx-h svg { width: 18px; height: 18px; color: #f59e0b; }
.dcx-state { display: inline-flex; align-items: center; gap: 4px; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #eef2f7; color: #475569; }
.dcx-state svg { width: 12px; height: 12px; }
.dcx-state--open { background: #dcfce7; color: #15803d; }
.dcx-state--soon { background: #e0e7ff; color: #4338ca; }
.dcx-state--judge { background: #fef3c7; color: #b45309; }
.dcx-state--done { background: #f1f5f9; color: #64748b; }
.dcx-state--in { background: #fbf0d2; color: #96690a; }
.dcx-state--live { background: #fee2e2; color: #dc2626; }
.dcx-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .82rem; color: #64748b; min-width: 0; }
.dcx-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.dcx-meta svg { width: 14px; height: 14px; }
.dcx-prize { color: #b45309 !important; font-weight: 700; }
.dcx-how { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.dcx-how li { display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; border-radius: 14px; background: #fff; border: 1px solid #e8ebf2; font-weight: 600; font-size: .86rem; }
.dcx-how li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #ffb020, #ff7a18); color: #1a0d00; font-weight: 800; font-size: .8rem; }
.dcx-champs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.dcx-champs li, .dcx-entries li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.dcx-champs img, .dcx-entries img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.dcx-champs span, .dcx-entries__who { display: grid; min-width: 0; }
.dcx-champs small, .dcx-entries small { color: #64748b; font-size: .8rem; overflow-wrap: anywhere; }
.dcx-dates { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: #64748b; font-size: .88rem; margin: .2rem 0 0; }
.dcx-dates svg { width: 15px; height: 15px; }
.dcx-prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin: 1rem 0; }
.dcx-prizes__item { display: grid; justify-items: center; gap: .15rem; padding: .85rem .6rem; border-radius: 16px; background: #f8fafc; border: 1px solid #e8ebf2; text-align: center; }
.dcx-prizes__item svg { width: 22px; height: 22px; color: #f59e0b; }
.dcx-prizes__item strong { font-size: 1.15rem; }
.dcx-prizes__item small { color: #64748b; font-size: .78rem; }
.dcx-prizes__item--1 { background: linear-gradient(160deg, #fff7db, #ffe9a8); border-color: #f5d36b; }
.dcx-sub { font-size: 1rem; margin: 1rem 0 .4rem; }
.dcx-prose p { margin: 0 0 .7rem; }
.dcx-prose ul { margin: 0 0 .7rem; padding-left: 1.2rem; }
.dcx-form { display: grid; gap: .9rem; }
.dcx-form input, .dcx-form textarea { width: 100%; }
.dcx-entries { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.dcx-entries li { padding: .6rem .7rem; border-radius: 14px; border: 1px solid #eef1f6; }
.dcx-entries__who { flex: 1; }
.dcx-entries li.is-rank1 { background: linear-gradient(160deg, #fff7db, #fff1c4); border-color: #f5d36b; }
.dcx-entries li.is-winner:not(.is-rank1) { background: #f8fafc; }
.dcx-rank { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800; color: #b45309; }
.dcx-rank svg { width: 13px; height: 13px; }
/* Events */
.dcx-events { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.dcx-event { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e8ebf2; border-radius: 18px; text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(11, 27, 61, .06); transition: transform .2s, box-shadow .2s; min-width: 0; }
.dcx-event:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 27, 61, .1); }
.dcx-event.is-past { opacity: .8; }
.dcx-event__date { flex: none; display: grid; place-items: center; width: 58px; padding: .45rem 0; border-radius: 14px; background: linear-gradient(160deg, #1a4bab, #0d2b63); color: #fff; line-height: 1.05; }
.dcx-event__date b { font-size: 1.45rem; }
.dcx-event__date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #f2cf6b; }
.dcx-event__body { display: grid; gap: .35rem; min-width: 0; flex: 1; }
.dcx-facts { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; color: #475569; font-size: .92rem; }
.dcx-facts li { display: flex; align-items: center; gap: .45rem; }
.dcx-facts svg { width: 16px; height: 16px; color: #1a4bab; flex: none; }
.dcx-faces { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.dcx-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.dcx-faces span { font-weight: 700; color: #64748b; font-size: .9rem; }
/* Public portfolio */
.dcx-pf-hero { color: #fff; padding: 2.4rem 0 4.6rem; background: radial-gradient(700px 380px at 90% 0%, rgba(59, 130, 246, .45), transparent 62%), linear-gradient(160deg, #0a1d47, #0d2b63 58%, #0b2257); }
.dcx-pf-hero__inner { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.dcx-pf-hero__pic { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(242, 207, 107, .9); background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); flex: none; }
.dcx-pf-hero__text { flex: 1; min-width: 0; }
body:not(#_) .dcx-pf-hero h1 { color: #fff; margin: 0 0 .2rem; font-size: clamp(1.6rem, 4vw, 2.3rem); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.dcx-verified svg { width: 24px; height: 24px; color: #38bdf8; }
.dcx-pf-hero__headline { margin: 0 0 .2rem; font-size: 1.05rem; font-weight: 600; color: #f2cf6b; overflow-wrap: anywhere; }
.dcx-pf-hero__sub { margin: 0; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.dcx-pf-hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0; }
.dcx-chip { display: inline-flex; align-items: center; gap: 5px; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; }
.dcx-chip svg { width: 14px; height: 14px; }
.dcx-chip--gold { background: rgba(242, 207, 107, .18); border-color: rgba(242, 207, 107, .45); color: #ffe39a; font-weight: 700; }
.dcx-pf-hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dcx-pf-hero__actions form { margin: 0; }
.dcx-stats { list-style: none; margin: -3.2rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; position: relative; }
.dcx-stats li { display: grid; justify-items: center; padding: .9rem .4rem; border-radius: 16px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 10px 26px rgba(11, 27, 61, .08); text-align: center; }
.dcx-stats strong { font-size: 1.4rem; color: var(--c-navy-900); }
.dcx-stats small { color: #64748b; font-size: .76rem; }
.dcx-about { margin: 0 0 .9rem; color: #334155; overflow-wrap: anywhere; }
.dcx-skills, .dcx-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.dcx-skills span { padding: .35rem .75rem; border-radius: 999px; background: #eef4ff; color: #1d4ed8; font-size: .84rem; font-weight: 600; }
.dcx-badges span { display: inline-flex; align-items: center; gap: 5px; padding: .4rem .8rem; border-radius: 12px; background: #fbf0d2; color: #7a5507; font-size: .84rem; font-weight: 700; }
.dcx-badges svg { width: 15px; height: 15px; }
.dcx-list { margin: 0; padding-left: 0; list-style: none; display: grid; gap: .45rem; }
.dcx-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; }
.dcx-mini a { display: grid; gap: .2rem; padding: .85rem .95rem; border-radius: 14px; border: 1px solid #e8ebf2; text-decoration: none; color: inherit; min-width: 0; transition: border-color .2s, transform .2s; }
.dcx-mini a:hover { border-color: #93b4f0; transform: translateY(-1px); }
.dcx-mini strong { overflow-wrap: anywhere; }
.dcx-mini small { color: #b45309; font-weight: 600; font-size: .78rem; }
.dcx-mini span { color: #64748b; font-size: .84rem; }
.dcx-pf-cta { text-align: center; }
.dcx-pf-cta h2 { margin: 0 0 .3rem; }
/* Best answers & post authors */
.dca-comment--best .dca-comment__box { background: #ecfdf5; border: 1px solid #86efac; }
.dca-tag--best { background: #dcfce7; color: #15803d; }
.dca-comment__mark { display: inline; }
.dca-comment__best { border: 0; background: none; padding: 0; margin: .35rem .9rem 0 0; color: #15803d; font-weight: 700; font-size: .8rem; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.dca-comment__best svg { width: 14px; height: 14px; }
.dca-comment__who a { color: inherit; text-decoration: none; }
.dca-comment__who a:hover strong, .dcp__name:hover strong { text-decoration: underline; }
.dcp__name { color: inherit; text-decoration: none; }
.dcp__answered { display: inline-flex; align-items: center; gap: 4px; padding: .2rem .55rem; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 700; }
.dcp__answered svg { width: 12px; height: 12px; }
.dc-member__name a { color: inherit; text-decoration: none; }
.dc-member__name a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .dcx-how, .dcx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcx-pf-hero__inner { flex-direction: column; text-align: center; }
  body:not(#_) .dcx-pf-hero h1, .dcx-pf-hero__chips, .dcx-pf-hero__actions { justify-content: center; }
  .dcx-pf-hero__pic { width: 108px; height: 108px; }
  .dcx-event { gap: .75rem; padding: .85rem; }
  .dcx-event__date { width: 50px; }
}
/* Dark theme */
html[data-theme="dark"] :is(.dcx-how li, .dcx-event, .dcx-stats li, .dcx-prizes__item, .dcx-mini a, .dcx-entries li) { background: var(--c-navy-900); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dcx-stats strong { color: #fff; }
html[data-theme="dark"] :is(.dcx-about, .dcx-facts) { color: #cbd5e1; }
html[data-theme="dark"] :is(.dcx-prizes__item--1, .dcx-entries li.is-rank1) { background: rgba(242, 207, 107, .12); border-color: rgba(242, 207, 107, .4); }
html[data-theme="dark"] .dca-comment--best .dca-comment__box { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .4); }
html[data-theme="dark"] .dcx-skills span { background: rgba(59, 130, 246, .15); color: #93c5fd; }
html[data-theme="dark"] .dcx-badges span { background: rgba(242, 207, 107, .15); color: #f2cf6b; }
html[data-theme="dark"] .dcx-faces img { border-color: var(--c-navy-900); }
html[data-theme="dark"] :is(.dcx-prizes__item small, .dcx-stats small) { color: #cbd5e1; }

/* ==========================================================================
   38. Dev Connect app polish: docked bottom bar, home tiles, portfolio, images
   ========================================================================== */
/* Bottom tab bar sits flush on the bottom edge — no gap under it. */
body:not(#_) .dc-appnav {
  left: 0; right: 0; bottom: 0; transform: none; width: 100%;
  border-radius: 20px 20px 0 0; border-width: 1px 0 0;
  padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(15, 23, 42, .1);
}
@media (min-width: 640px) {
  body:not(#_) .dc-appnav { left: 50%; right: auto; transform: translateX(-50%); width: min(560px, 100%); }
}
body.has-dc-nav { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
html[data-theme="dark"] body:not(#_) .dc-appnav { box-shadow: 0 -6px 24px rgba(0, 0, 0, .35); }

/* Home quick actions: rows of four, labels never cut. */
body:not(#_) .dca-tile strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 380px) { body:not(#_) .dca-tile strong { font-size: .64rem !important; } }

/* Points card on the wallet page */
.dcx-stats--flat { margin: 0 0 .9rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcx-stats--flat li { box-shadow: none; }
.dcx-redeem { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; }
.dcx-redeem li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; padding: .55rem .7rem; border-radius: 12px; border: 1px solid #eef1f6; font-size: .88rem; }
.dcx-redeem small { color: #64748b; width: 100%; }
html[data-theme="dark"] .dcx-redeem li { border-color: rgba(255, 255, 255, .1); }

/* Own profile page fits any phone width */
.dca-hero--profile .dca-hero__inner, .dca-hero--profile .dca-hero__text { min-width: 0; }
.dca-hero--profile .dca-hero__text { flex: 1 1 200px; }
.dca-hero--profile h1, .dca-hero--profile p { overflow-wrap: anywhere; }
.dca-hero--profile .dca-stats { max-width: 100%; }
.dca-hero--profile .dca-hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dca-hero--profile .dca-hero__actions form { margin: 0; }
@media (max-width: 560px) {
  .dca-hero--profile .dca-hero__inner { flex-direction: column; text-align: center; }
  .dca-hero--profile .dca-hero__text p { justify-content: center; }
  .dca-hero--profile .dca-hero__actions { justify-content: center; }
  .dca-hero--profile .dca-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}
.dca-body, .dca-col, .dca-grid > * { min-width: 0; }
.dca-panel { overflow-wrap: anywhere; }

/* Feed images: fixed post shapes like Facebook (1:1 or 4:5), tap to open. */
.dcp__img { display: block; width: 100%; margin: .7rem 0 0; padding: 0; border: 0; background: #0b1220; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: var(--ratio, 1 / 1); }
.dcp__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcx-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(2, 6, 23, .92); padding: 16px; cursor: zoom-out; animation: dcxFade .18s ease; }
.dcx-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); object-fit: contain; }
.dcx-lightbox button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@keyframes dcxFade { from { opacity: 0; } }
.dcf-ratio { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.dcf-ratio label { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid #dbe2ec; font-size: .82rem; font-weight: 600; cursor: pointer; }
.dcf-ratio input { accent-color: #ea580c; }
@keyframes dcaBarUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* The app bar is part of every page: no entrance animation, it is simply there. */
html[data-animate="on"] body:not(#_) .dc-appnav { animation: none; }

/* ==========================================================================
   39. Speed: above-the-fold hero content is visible from the first paint
   Entrance motion stays, but nothing in the hero starts invisible, so the
   largest content (hero picture / heading) counts as painted immediately.
   ========================================================================== */
@keyframes heroLift { from { transform: translateY(14px); } to { transform: none; } }
@keyframes heroMediaLift { from { transform: translateY(18px) scale(.98); } to { transform: none; } }
html[data-animate="on"] body:not(#_) .hero__copy > * { animation-name: heroLift; filter: none; opacity: 1; }
html[data-animate="on"] body:not(#_) .hero__media { animation-name: heroMediaLift; opacity: 1; }
body:not(#_) .dcs-hero--v2 .dcs-in,
html[data-animate="on"] body:not(#_) .dcs-hero--v2 .dcs-hero__copy > .dcs-in { opacity: 1; animation-name: heroLift; animation-fill-mode: both; }
@media (prefers-reduced-motion: reduce) {
  body:not(#_) .hero__copy > *, body:not(#_) .hero__media, body:not(#_) .dcs-hero--v2 .dcs-in { animation: none !important; transform: none !important; }
}

/* 40. Dev Connect hashtags ------------------------------------------------ */
.dcp__tag { color: #2563eb; font-weight: 600; text-decoration: none; border-radius: 6px; padding: 0 .15em; background: rgba(37, 99, 235, .08); }
.dcp__tag:hover, .dcp__tag:focus-visible { background: rgba(37, 99, 235, .16); text-decoration: underline; }
.dcp__tag small { color: #64748b; font-weight: 500; margin-left: .15rem; }
.dcp__tag.is-active { background: #2563eb; color: #fff; }
.dcp__tag.is-active small { color: #dbeafe; }
.dcp__tag--big { font-size: 1.05rem; padding: .15rem .5rem; }
.dcf-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.dcf-tags .dcp__tag { padding: .3rem .6rem; font-size: .88rem; min-height: 32px; display: inline-flex; align-items: center; }
.dcf-tagbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .25rem 0 1rem; }
.dcf-tagbar__x { margin-left: auto; font-size: .88rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dcp__tag { color: #93c5fd; background: rgba(147, 197, 253, .12); } }
:root[data-theme="dark"] .dcp__tag { color: #93c5fd; background: rgba(147, 197, 253, .12); }

/* 41. Dev Connect inbox + encrypted member chats ------------------------- */
.dcib .dca-col { max-width: 760px; }
.dcib__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dcib__head h1 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--m-ink); }
.dcib__head p { display: flex; align-items: flex-start; gap: .4rem; margin: 0; color: var(--m-muted); font-size: .9rem; line-height: 1.5; }
.dcib__head p svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 3px; color: #22c55e; }
.dcib__search { position: relative; margin-bottom: 1rem; }
.dcib__search input { width: 100%; min-height: 50px; padding: .75rem 1rem .75rem 2.8rem; border-radius: 999px; border: 1.5px solid var(--m-line); background: var(--m-card); color: var(--m-ink); font: inherit; font-size: 16px; }
.dcib__search input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px color-mix(in srgb, #2563eb 22%, transparent); }
.dcib__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--m-muted); display: grid; }
.dcib__search-icon svg { width: 16px; height: 16px; }
.dcib__results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + .4rem); margin: 0; padding: .35rem; list-style: none; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 18px; box-shadow: 0 20px 48px rgba(3, 10, 30, .22); max-height: 360px; overflow-y: auto; }
.dcib__hit { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; color: var(--m-ink); text-decoration: none; min-height: 52px; }
.dcib__hit:hover, [role="option"].is-active .dcib__hit { background: color-mix(in srgb, #2563eb 10%, var(--m-card)); }
.dcib__hit img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dcib__hit span { display: grid; min-width: 0; }
.dcib__hit strong { font-size: .95rem; }
.dcib__hit small { color: var(--m-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcib__none { padding: .8rem; color: var(--m-muted); font-size: .9rem; }
.dcib__list { display: grid; gap: .1rem; padding: .35rem; border-radius: 20px; background: var(--m-card); border: 1px solid var(--m-line); }
.dcib__row { position: relative; display: flex; align-items: center; gap: .8rem; padding: .7rem .75rem; border-radius: 14px; color: var(--m-ink); text-decoration: none; min-height: 68px; transition: background .15s; }
.dcib__row:hover, .dcib__row:focus-visible { background: color-mix(in srgb, #2563eb 7%, var(--m-card)); }
.dcib__row + .dcib__row::before { content: ""; position: absolute; left: 76px; right: .75rem; top: -.05rem; border-top: 1px solid var(--m-line); }
.dcib__pic { position: relative; flex: 0 0 auto; }
.dcib__pic img { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.dcib__row--team .dcib__pic img { box-shadow: 0 6px 16px rgba(14, 165, 233, .35); }
.dcib__main { display: grid; gap: .15rem; min-width: 0; flex: 1; }
.dcib__top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.dcib__top strong { font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcib__top small { color: var(--m-muted); font-size: .76rem; white-space: nowrap; }
.dcib__text { display: flex; align-items: center; gap: .3rem; color: var(--m-muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcib__text svg { width: 11px; height: 11px; flex: 0 0 auto; }
.dcib__row.is-unread .dcib__top strong, .dcib__row.is-unread .dcib__text { color: var(--m-ink); font-weight: 700; }
.dcib__row.is-unread .dcib__top small { color: #2563eb; font-weight: 700; }
html[data-theme="dark"] .dcib__row.is-unread .dcib__top small { color: #93c5fd; }
.dcib__count { flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; background: #2563eb; color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.dcib__empty { display: flex; gap: .8rem; align-items: flex-start; margin-top: .9rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px dashed var(--m-line); color: var(--m-muted); font-size: .9rem; line-height: 1.55; }
.dcib__empty > span { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, #2563eb 12%, var(--m-card)); color: #2563eb; }
.dcib__empty svg { width: 18px; height: 18px; }
.dcib__empty p { margin: 0; }
.dcib__empty strong { color: var(--m-ink); }
.dcib__team { margin-top: 2rem; scroll-margin-top: 90px; }
.dcib__team .dcm-team h2 { margin: 0 0 .2rem; font-size: clamp(1.1rem, 3vw, 1.3rem); }
body:not(#_) .dcib__team .dcm-team h2 { color: #fff; }

/* Conversation */
.dcdm__e2e svg { color: #22c55e; }
.dcdm__intro { color: var(--m-ink); background: color-mix(in srgb, #22c55e 13%, var(--m-card)); }
.dcdm__intro svg { color: #16a34a; }
.dcdm__loading { align-self: center; display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0; color: var(--m-muted); font-size: .88rem; }
.dcdm__loading[hidden] { display: none; }
.dcdm__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--m-line); border-top-color: #2563eb; animation: dcdmSpin .8s linear infinite; }
@keyframes dcdmSpin { to { transform: rotate(360deg); } }
.dcdm__locked { font-style: italic; opacity: .75; }
.dcm-msg.is-failed .dcm-msg__bubble { outline: 2px solid #ef4444; cursor: pointer; }
.dcm-msg.is-failed .dcm-msg__time { opacity: 1; }
.dcdm__menu { position: relative; flex: 0 0 auto; }
.dcdm__menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--m-ink); cursor: pointer; }
.dcdm__menu > summary::-webkit-details-marker { display: none; }
.dcdm__menu > summary:hover, .dcdm__menu[open] > summary { background: var(--m-bg); }
.dcdm__menu > summary svg { width: 18px; height: 18px; }
.dcdm__menu-list { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 40; min-width: 240px; padding: .35rem; border-radius: 16px; background: var(--m-card); border: 1px solid var(--m-line); box-shadow: 0 20px 48px rgba(3, 10, 30, .25); }
.dcdm__menu-list form { margin: 0; }
.dcdm__menu-list button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 44px; padding: .55rem .75rem; border: 0; border-radius: 10px; background: none; color: var(--m-ink); font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.dcdm__menu-list button:hover, .dcdm__menu-list button:focus-visible { background: var(--m-bg); }
.dcdm__menu-list svg { width: 15px; height: 15px; color: var(--m-muted); }
.dcdm__gate { flex: 1 1 auto; overflow-y: auto; display: grid; place-items: center; padding: 1.25rem; }
.dcdm__gate[hidden] { display: none; }
.dcm__wrap:has(.dcdm__gate:not([hidden])) .dcm__list,
.dcm__wrap:has(.dcdm__gate:not([hidden])) .dcm__compose,
.dcm__wrap:has(.dcdm__gate:not([hidden])) .dcdm__wait { display: none; }
.dcdm__card { width: min(420px, 100%); padding: 1.5rem; border-radius: 22px; background: var(--m-card); border: 1px solid var(--m-line); box-shadow: 0 18px 44px rgba(3, 10, 30, .14); color: var(--m-ink); }
.dcdm__card h1 { margin: .8rem 0 .4rem; font-size: 1.35rem; color: var(--m-ink); }
body:not(#_) .dcdm__card h1 { color: var(--m-ink); }
.dcdm__card > p { margin: 0 0 1rem; color: var(--m-muted); font-size: .92rem; line-height: 1.55; }
.dcdm__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; box-shadow: 0 10px 24px rgba(34, 197, 94, .35); }
.dcdm__badge svg { width: 22px; height: 22px; }
.dcdm__field { display: grid; gap: .3rem; margin-bottom: .8rem; font-size: .88rem; font-weight: 600; }
.dcdm__field input { min-height: 48px; padding: .65rem .9rem; border-radius: 12px; border: 1.5px solid var(--m-line); background: var(--m-bg); color: var(--m-ink); font: inherit; font-size: 16px; }
.dcdm__field input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px color-mix(in srgb, #2563eb 22%, transparent); }
.dcdm__check { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: .88rem; min-height: 32px; }
.dcdm__check input { width: 18px; height: 18px; }
.dcdm__note { display: flex; gap: .4rem; margin: 0 0 .9rem; padding: .6rem .75rem; border-radius: 12px; background: color-mix(in srgb, #f59e0b 12%, var(--m-card)); color: var(--m-ink); font-size: .8rem; line-height: 1.5; }
.dcdm__note svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; color: #d97706; }
.dcdm__err { margin: 0 0 .6rem; color: #dc2626; font-size: .86rem; font-weight: 600; }
.dcdm__err:empty { display: none; }
html[data-theme="dark"] .dcdm__err { color: #fca5a5; }
.dcdm__link { display: block; margin: .9rem auto 0; padding: .4rem; border: 0; background: none; color: #2563eb; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
html[data-theme="dark"] .dcdm__link { color: #93c5fd; }
.dcdm__wait { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom, 0px)); background: var(--m-card); border-top: 1px solid var(--m-line); color: var(--m-muted); font-size: .88rem; text-align: center; }
.dcdm__wait[hidden] { display: none; }
.dcdm__wait > svg { width: 14px; height: 14px; }
.dcm__compose[hidden] { display: none; }
.dcdm__dialog { width: min(440px, calc(100% - 2rem)); padding: 1.3rem; border: 1px solid var(--m-line); border-radius: 20px; background: var(--m-card); color: var(--m-ink); box-shadow: 0 30px 70px rgba(3, 10, 30, .35); }
.dcdm__dialog::backdrop { background: rgba(3, 10, 30, .55); }
.dcdm__dialog h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: 1.15rem; color: var(--m-ink); }
body:not(#_) .dcdm__dialog h2 { color: var(--m-ink); }
.dcdm__dialog h2 svg { width: 18px; height: 18px; color: #22c55e; }
.dcdm__dialog p { color: var(--m-muted); font-size: .9rem; line-height: 1.55; }
.dcdm__code { margin: 1rem 0; padding: 1rem; border-radius: 14px; background: var(--m-bg); font: 700 1.25rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; text-align: center; word-spacing: .4em; }
.dcdm__dialog .dcdm__code { color: var(--m-ink); }
.dcdm__reasons { display: grid; gap: .25rem; margin: 0 0 .8rem; padding: 0; border: 0; }
.dcdm__reasons legend { margin-bottom: .4rem; font-weight: 700; font-size: .9rem; }
.dcdm__reasons label { display: flex; align-items: center; gap: .55rem; min-height: 40px; padding: .3rem .6rem; border-radius: 10px; font-size: .92rem; cursor: pointer; }
.dcdm__reasons label:hover { background: var(--m-bg); }
.dcdm__reasons input { width: 18px; height: 18px; }
.dcdm__actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .dcdm__spin { animation-duration: 2s; } }
.dcib.dca-body { margin-top: 0; padding-top: 1.75rem; }

/* 42. Certificate verification (Sublime Centre) -------------------------- */
.cv-head .lead { max-width: 640px; }
.cv-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; max-width: 640px; }
.cv-form input { flex: 1 1 260px; min-height: 54px; padding: .8rem 1.1rem; border-radius: 14px; border: 1.5px solid #cbd5e1; background: #fff; color: #0f172a; font: inherit; font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cv-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.cv-form input:focus { outline: none; border-color: #2e4463; box-shadow: 0 0 0 4px rgba(46, 68, 99, .18); }
.cv-form .btn { min-height: 54px; }
.cv-wrap { max-width: 880px; }
.cv-result { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: 18px; border: 1.5px solid; }
.cv-result h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.cv-result p { margin: 0; line-height: 1.6; }
.cv-result__icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.cv-result__icon svg { width: 20px; height: 20px; }
.cv-result--bad { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.cv-result--bad .cv-result__icon { background: #dc2626; }
.cv-result--warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.cv-result--warn .cv-result__icon { background: #d97706; }
.cv-card { position: relative; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 24px 60px rgba(15, 23, 42, .12); color: #0f172a; }
.cv-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #111 0 30%, #c8902c 30% 70%, #111 70%); }
.cv-card__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: 1.4rem 1.5rem 0; }
.cv-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.cv-badge svg { width: 18px; height: 18px; }
.cv-badge--ok { background: #dcfce7; color: #166534; }
.cv-badge--bad { background: #fee2e2; color: #991b1b; }
.cv-card__no { font-weight: 700; color: #475569; font-size: .92rem; letter-spacing: .04em; }
.cv-card__reason { display: flex; gap: .4rem; margin: .8rem 1.5rem 0; padding: .6rem .8rem; border-radius: 12px; background: #fef2f2; color: #7f1d1d; font-size: .9rem; }
.cv-card__reason svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; }
.cv-card__body { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: 1.2rem 1.5rem 1.5rem; }
.cv-card__label { margin: .6rem 0 .1rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; }
.cv-card__name { margin: 0; font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.15; color: #0f172a; }
body:not(#_) .cv-card__name { color: #0f172a; }
.cv-card__sub { margin: .2rem 0 0; color: #475569; font-weight: 600; }
.cv-card__course { margin: 0; font-size: clamp(1.15rem, 3vw, 1.45rem); font-weight: 800; color: #b45309; text-transform: uppercase; letter-spacing: .02em; }
.cv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem 1rem; margin: 1.2rem 0 0; }
.cv-facts div { padding: .7rem .85rem; border-radius: 12px; background: #f8fafc; border: 1px solid #eef2f7; }
.cv-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.cv-facts dd { margin: .15rem 0 0; font-weight: 700; color: #0f172a; }
.cv-marks { margin-top: 1.1rem; }
.cv-card__remarks { margin: 1rem 0 0; color: #334155; }
.cv-qr { margin: 0; align-self: start; text-align: center; padding: .7rem; border-radius: 16px; border: 1px solid #e5e7eb; background: #fff; }
.cv-qr svg { display: block; width: 150px; height: 150px; }
.cv-qr figcaption { margin-top: .35rem; font-size: .75rem; color: #64748b; max-width: 150px; }
.cv-card__foot { display: flex; align-items: center; gap: .4rem; margin: 0; padding: .8rem 1.5rem; border-top: 1px solid #eef2f7; background: #f8fafc; color: #475569; font-size: .82rem; }
.cv-card__foot svg { width: 13px; height: 13px; color: #16a34a; }
.cv-card.is-revoked .cv-card__name, .cv-card.is-revoked .cv-card__course { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .75; }
.cv-how .card__title { font-size: 1.05rem; }
@media (max-width: 640px) {
  .cv-card__body { grid-template-columns: 1fr; }
  .cv-qr { justify-self: center; }
  .cv-form .btn { flex: 1 1 100%; justify-content: center; }
}
html[data-theme="dark"] .cv-form input { background: #0f1b33; border-color: rgba(255, 255, 255, .18); color: #f1f5f9; }
.cv-person { display: flex; align-items: center; gap: 1rem; }
.cv-person__photo { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 18px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px #c8902c, 0 10px 24px rgba(15, 23, 42, .18); }
.cv-card__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0 1.5rem 1.4rem; }
.cv-download { background: linear-gradient(135deg, #e0b04a, #b9831c); color: #111; border: 0; box-shadow: 0 10px 24px rgba(185, 131, 28, .35); }
.cv-download:hover, .cv-download:focus-visible { color: #111; filter: brightness(1.05); }
@media (max-width: 640px) {
  .cv-person { flex-direction: column; align-items: flex-start; }
  .cv-download { flex: 1 1 100%; justify-content: center; }
}

/* 43. Sublime Centre admission form -------------------------------------- */
/* Hero */
.adm-hero { position: relative; overflow: hidden; padding: 2.25rem 0 6.5rem; background: radial-gradient(120% 140% at 100% 0%, #17347a 0%, #0b1b3d 55%, #060f24 100%); color: #e2e8f0; }
.adm-hero__glow { position: absolute; inset: auto -10% -60% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 185, 58, .28), transparent 65%); pointer-events: none; }
.adm-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.adm-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: center; }
.adm-hero .breadcrumbs, .adm-hero .breadcrumbs a, .adm-hero .breadcrumb, .adm-hero .breadcrumb a { color: #94a3b8; }
.adm-hero__badge { display: inline-flex; align-items: center; gap: .55rem; margin-top: .75rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(232, 185, 58, .12); border: 1px solid rgba(232, 185, 58, .35); color: #f2cf6b; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: adm-pulse 2s infinite; }
@keyframes adm-pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.adm-hero h1 { margin: 1rem 0 .75rem; color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
.adm-hero h1 span { background: linear-gradient(90deg, #f2cf6b, #e0a52a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adm-hero__lead { max-width: 560px; font-size: 1.08rem; line-height: 1.65; color: #cbd5e1; margin: 0; }
.adm-flow { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.adm-flow li { display: flex; align-items: center; gap: .7rem; padding: .6rem 1rem .6rem .6rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.adm-flow b { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #f2cf6b; }
.adm-flow li > span:last-child { font-weight: 600; font-size: .93rem; color: #fff; line-height: 1.3; }
.adm-flow__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #e8b93a, #b8860b); color: #111; flex: 0 0 auto; }
.adm-flow__ico svg { width: 18px; height: 18px; }
.adm-hero__card { padding: 1.75rem 1.5rem 1.5rem; border-radius: 26px; background: #fff; color: #0f172a; text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transform: rotate(1.5deg); }
.adm-hero__card img { width: 170px; height: auto; margin: 0 auto; display: block; }
.adm-hero__card p { margin: .35rem 0 1rem; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #b8860b; }
.adm-hero__card ul { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px dashed #e2e8f0; display: grid; gap: .6rem; text-align: left; }
.adm-hero__card li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: #1e293b; }
.adm-hero__card li svg { width: 18px; height: 18px; color: #b8860b; flex: 0 0 auto; }

/* Layout */
.adm { position: relative; margin-top: -4.5rem; padding-bottom: 4.5rem; }
.adm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.75rem; align-items: start; }
.adm-layout--done { grid-template-columns: 1fr; }
.adm-form { min-width: 0; padding: 1.5rem; border-radius: 26px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 30px 70px rgba(15, 23, 42, .12); }

/* Progress */
.adm-progress { position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: .85rem; margin: -.25rem -.25rem 1.25rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid #eef2f7; }
.adm-progress__bar { flex: 1; height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.adm-progress__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e8b93a, #b8860b); transition: width .35s ease; }
.adm-progress__txt { font-size: .8rem; font-weight: 700; color: #64748b; white-space: nowrap; }
.adm-progress.is-done .adm-progress__bar i { background: linear-gradient(90deg, #22c55e, #16a34a); }
.adm-progress.is-done .adm-progress__txt { color: #16a34a; }

/* Sections */
.adm-sec { margin: 0 0 1rem; padding: 1.35rem 1.35rem 1.5rem; border: 1px solid #eef2f7; border-radius: 20px; background: linear-gradient(180deg, #fbfcfe, #fff); min-width: 0; }
.adm-sec__head { display: flex; align-items: center; gap: .85rem; padding: 0; margin: 0 0 1.25rem; width: 100%; float: left; }
.adm-sec__head + * { clear: both; }
.adm-sec__head b { display: block; font-size: 1.12rem; color: #0f172a; line-height: 1.25; }
.adm-sec__head small { display: block; margin-top: 2px; font-size: .85rem; font-weight: 500; color: #64748b; }
.adm-sec__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: 0 0 auto; background: linear-gradient(135deg, #17347a, #0b1b3d); color: #f2cf6b; font-weight: 800; font-size: 1rem; box-shadow: 0 8px 18px rgba(11, 27, 61, .25); }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.adm-grid .field, .adm-sec > .field { margin: 0; }
.adm-span { grid-column: 1 / -1; }
.adm label, .adm-label { display: block; margin: 0 0 .45rem; font-weight: 600; font-size: .9rem; color: #0f172a; }
.adm .field__required { color: #dc2626; margin-left: 2px; }
.adm .field__optional { margin-left: .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.adm .input-icon > svg { z-index: 1; }
.adm-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea) { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 13px; background: #fff; color: #0f172a; font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.adm-form .input-icon :is(input, select) { padding-left: 2.75rem; }
.adm-form textarea { min-height: 110px; }
.adm-form :is(input, select, textarea):focus { border-color: #b8860b !important; box-shadow: 0 0 0 4px rgba(232, 185, 58, .2) !important; outline: none; }
.adm .input-icon:focus-within > svg { color: #b8860b; }
.adm-form [aria-invalid="true"] { border-color: #dc2626 !important; }
.adm .field-error { display: block; margin-top: .4rem; font-size: .84rem; font-weight: 600; color: #dc2626; }

/* Course cards */
.adm-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.adm-courses[aria-invalid="true"] .adm-course__box { border-color: #fca5a5; }
.adm-course { position: relative; margin: 0; cursor: pointer; }
.adm-course input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.adm-course__box { position: relative; display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1rem 1rem 1.05rem; border-radius: 16px; border: 1.5px solid #e2e8f0; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.adm-course:hover .adm-course__box { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 23, 42, .07); }
.adm-course__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fbf0d2; color: #96690a; }
.adm-course__ico svg { width: 19px; height: 19px; }
.adm-course__name { font-weight: 700; font-size: .98rem; color: #0f172a; line-height: 1.3; padding-right: 1.5rem; }
.adm-course__dur { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: #64748b; }
.adm-course__dur svg { width: 13px; height: 13px; }
.adm-course__tick { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cbd5e1; color: transparent; transition: all .15s; }
.adm-course__tick svg { width: 13px; height: 13px; }
.adm-course input:checked + .adm-course__box { border-color: #b8860b; background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: 0 0 0 4px rgba(232, 185, 58, .18); }
.adm-course input:checked + .adm-course__box .adm-course__tick { background: #b8860b; border-color: #b8860b; color: #fff; }
.adm-course input:checked + .adm-course__box .adm-course__ico { background: linear-gradient(135deg, #e8b93a, #b8860b); color: #111; }
.adm-course input:focus-visible + .adm-course__box { outline: 3px solid rgba(23, 52, 122, .4); outline-offset: 2px; }
.adm-course--other .adm-course__ico { background: #eef2f7; color: #475569; }
.adm-other { margin-top: 1rem !important; }
.adm-other[hidden] { display: none; }

/* Choice tiles */
.adm-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.25rem; margin-top: 1.4rem; padding-top: 1.25rem; border-top: 1px dashed #e2e8f0; }
.adm-tiles { display: flex; flex-wrap: wrap; gap: .5rem; }
.adm-tile { position: relative; margin: 0 !important; cursor: pointer; }
.adm-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.adm-tile span { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .5rem 1rem; border-radius: 13px; border: 1.5px solid #e2e8f0; background: #fff; font-weight: 600; font-size: .9rem; color: #334155; transition: all .15s; }
.adm-tile span svg { width: 16px; height: 16px; color: #94a3b8; }
.adm-tile--sm span { min-width: 92px; justify-content: center; }
.adm-tile:hover span { border-color: #cbd5e1; }
.adm-tile input:checked + span { border-color: #b8860b; background: #fffaf0; color: #7a4f05; box-shadow: 0 0 0 3px rgba(232, 185, 58, .18); }
.adm-tile input:checked + span svg { color: #b8860b; }
.adm-tile input:focus-visible + span { outline: 3px solid rgba(23, 52, 122, .4); outline-offset: 2px; }

/* Final */
.adm-final { margin-top: .5rem; padding: 1.25rem 1.35rem 1.35rem; border-radius: 20px; background: linear-gradient(135deg, #fffaf0, #fff 60%); border: 1px solid #f3e3b5; }
.adm-agree { display: flex !important; gap: .7rem; align-items: flex-start; margin: 0 0 .25rem !important; font-size: .92rem !important; font-weight: 500 !important; line-height: 1.5; color: #334155 !important; cursor: pointer; }
.adm-agree input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: #b8860b; }
body:not(#_) .adm .adm-submit { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.1rem; min-height: 56px; font-size: 1.05rem; font-weight: 800; border-radius: 15px; background: linear-gradient(135deg, #f2cf6b, #d9a419 45%, #b8860b); color: #111; border: 0; box-shadow: 0 14px 30px rgba(184, 134, 11, .35); transition: transform .15s, box-shadow .15s, filter .15s; }
body:not(#_) .adm .adm-submit:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 36px rgba(184, 134, 11, .42); color: #111; }
.adm-submit svg { width: 19px; height: 19px; transition: transform .15s; }
.adm-submit:hover svg { transform: translateX(3px); }
.adm-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .85rem 0 0; font-size: .82rem; color: #64748b; }
.adm-note svg { width: 13px; height: 13px; color: #16a34a; }

/* Sidebar */
.adm-side { position: sticky; top: 90px; display: grid; gap: 1rem; }
.adm-side__card { padding: 1.4rem; border-radius: 22px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.adm-side__card h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .65rem; font-size: 1.05rem; color: #0f172a; }
.adm-side__card h2 svg { width: 19px; height: 19px; color: #b8860b; }
.adm-side__card p { margin: 0 0 1rem; font-size: .92rem; color: #475569; line-height: 1.55; }
.adm-side__card--dark { background: linear-gradient(160deg, #17347a, #0b1b3d); border-color: transparent; color: #e2e8f0; }
.adm-side__card--dark h2 { color: #fff; }
.adm-side__card--dark h2 svg { color: #f2cf6b; }
.adm-why { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.adm-why li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.adm-why svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(242, 207, 107, .18); color: #f2cf6b; }
.adm-side__link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-weight: 600; font-size: .9rem; }
.adm-side__link svg { width: 17px; height: 17px; }

/* Thank you */
.adm-done { max-width: 640px; margin: 0 auto; padding: 2.5rem 1.75rem; border-radius: 26px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 30px 70px rgba(15, 23, 42, .14); text-align: center; outline: none; }
.adm-done h2 { margin: 1rem 0 .5rem; }
.adm-done p { color: #334155; margin: .35rem 0; }
.adm-done__ref { display: inline-block; margin: .35rem 0 !important; padding: .55rem 1.25rem; border-radius: 12px; background: #fbf0d2; border: 1px dashed #b8860b; font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; color: #7a4f05 !important; }
.adm-done .btn-group { margin-top: 1.25rem; }
.adm-done__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #dcfce7; color: #16a34a; box-shadow: 0 0 0 10px rgba(220, 252, 231, .5); }
.adm-done__icon svg { width: 36px; height: 36px; }

/* Dark theme */
html[data-theme="dark"] :is(.adm-form, .adm-side__card:not(.adm-side__card--dark), .adm-done) { background: #0d1f45; border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .adm-sec { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] :is(.adm-sec__head b, .adm label, .adm-label, .adm-course__name, .adm-side__card h2) { color: #f1f5f9; }
html[data-theme="dark"] :is(.adm-sec__head small, .adm-course__dur, .adm-side__card p, .adm-note, .adm-progress__txt) { color: #94a3b8; }
html[data-theme="dark"] .adm-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea),
html[data-theme="dark"] :is(.adm-course__box, .adm-tile span) { background: #0a1835; border-color: rgba(255, 255, 255, .14); color: #e2e8f0; }
html[data-theme="dark"] .adm-course input:checked + .adm-course__box,
html[data-theme="dark"] .adm-tile input:checked + span { background: rgba(232, 185, 58, .12); border-color: #e8b93a; color: #fcd77a; }
html[data-theme="dark"] .adm-progress { background: rgba(13, 31, 69, .92); border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .adm-progress__bar { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .adm-final { background: rgba(232, 185, 58, .07); border-color: rgba(232, 185, 58, .25); }
html[data-theme="dark"] .adm-agree { color: #cbd5e1 !important; }
html[data-theme="dark"] .adm-two { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .adm-done p { color: #cbd5e1; }

/* Responsive */
@media (max-width: 1024px) {
  .adm-hero__grid { grid-template-columns: 1fr; }
  .adm-hero__card { display: none; }
  .adm-layout { grid-template-columns: 1fr; }
  .adm-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .adm-hero { padding: 1.5rem 0 5.5rem; }
  .adm-flow li { flex: 1 1 100%; }
  .adm-form { padding: .85rem; border-radius: 22px; }
  .adm-sec { padding: 1.1rem 1rem 1.2rem; border-radius: 18px; }
  .adm-grid, .adm-two { grid-template-columns: 1fr; }
  .adm-courses { grid-template-columns: 1fr; }
  .adm-course__box { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: .75rem; }
  .adm-course__name { flex: 1 1 0; }
  .adm-course__dur { flex-basis: 100%; padding-left: calc(38px + .75rem); margin-top: -.5rem; }
  .adm-course__tick { position: static; order: 3; }
  .adm-side { grid-template-columns: 1fr; }
  .adm-progress { top: 64px; }
  .adm-form :is(input, select, textarea) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .adm-dot { animation: none; } .adm-course__box, .adm-submit { transition: none; } }
body:not(#_) .adm-hero h1, body:not(#_) .adm-side__card--dark h2 { color: #fff; }
body:not(#_) .adm-hero h1 span { color: transparent; -webkit-text-fill-color: transparent; }
body:not(#_) .adm-hero :is(.breadcrumbs, .breadcrumb, nav[aria-label="Breadcrumb"]) :is(a, span, li, [aria-current]) { color: #94a3b8; }
body:not(#_) .adm-hero :is(.breadcrumbs, .breadcrumb, nav[aria-label="Breadcrumb"]) a:hover { color: #f2cf6b; }
@media (max-width: 720px) {
  .adm-course__box { display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; grid-template-areas: "ico name tick" "ico dur tick"; align-items: center; column-gap: .8rem; row-gap: .15rem; padding: .85rem .9rem; }
  .adm-course__ico { grid-area: ico; }
  .adm-course__name { grid-area: name; padding-right: 0; }
  .adm-course__dur { grid-area: dur; padding-left: 0; margin-top: 0; flex-basis: auto; }
  .adm-course__tick { grid-area: tick; position: static; }
  .adm-course--other .adm-course__dur { font-weight: 500; }
}

/* 44. Aira — AI assistant (Roman Urdu chat + Urdu voice call) ------------- */
.tai { --tai-navy: #0b1b3d; --tai-navy2: #17347a; --tai-gold: #d9a419; --tai-violet: #7c5cff; --tai-cyan: #38d5f2; position: fixed; right: 20px; bottom: 92px; z-index: 900; font-family: inherit; }
.tai[hidden] { display: none; }
.tai img { display: block; }

/* Launcher */
.tai-fab { display: flex; align-items: center; gap: .65rem; padding: .35rem 1.1rem .35rem .35rem; border: 0; border-radius: 999px; cursor: pointer; color: #fff; background: linear-gradient(120deg, #0b1b3d 0%, #1e3f8f 60%, #3b2a8f 100%); box-shadow: 0 16px 36px -12px rgba(11, 27, 61, .7), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .2s, box-shadow .2s; }
.tai-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(11, 27, 61, .8), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.tai-fab:focus-visible { outline: 3px solid #f2cf6b; outline-offset: 3px; }
.tai-fab__orb { position: relative; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #38d5f2, #7c5cff, #f2cf6b, #38d5f2); }
.tai-fab__orb picture, .tai-fab__orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #eef2ff; }
.tai-fab__orb i { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2.5px solid #0b1b3d; }
.tai-fab__orb::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(56, 213, 242, .5); animation: tai-ring 2.6s ease-out infinite; pointer-events: none; }
.tai-fab__text { display: grid; text-align: left; line-height: 1.2; }
.tai-fab__text b { font-size: .95rem; }
.tai-fab__text small { font-size: .74rem; color: #a5f3fc; }
.tai.is-open .tai-fab { display: none; }
@keyframes tai-ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }

/* Panel */
.tai-panel { position: fixed; right: 20px; bottom: 20px; width: 400px; max-width: calc(100vw - 32px); height: min(660px, calc(100vh - 40px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; color: #0f172a; box-shadow: 0 40px 90px -24px rgba(11, 27, 61, .6), 0 0 0 1px rgba(15, 23, 42, .06); animation: tai-in .24s cubic-bezier(.2, .8, .2, 1); }
.tai-panel[hidden] { display: none; }
@keyframes tai-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.tai-head { position: relative; display: flex; align-items: center; gap: .7rem; padding: .8rem .85rem .8rem .9rem; color: #fff; background: linear-gradient(120deg, #0b1b3d 0%, #1e3f8f 65%, #3b2a8f 100%); }
.tai-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #38d5f2, #7c5cff, #f2cf6b); opacity: .8; }
.tai-head__avatar { position: relative; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #38d5f2, #7c5cff, #f2cf6b, #38d5f2); }
.tai-head__avatar picture, .tai-head__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #eef2ff; }
.tai-head__avatar i { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #0b1b3d; }
.tai-head__text { flex: 1 1 auto; min-width: 0; display: grid; line-height: 1.2; }
.tai-head__text b { font-size: 1.05rem; letter-spacing: .01em; }
.tai-head__text small { font-size: .75rem; color: #c7d2fe; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tai-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.tai-icon svg { width: 18px; height: 18px; }
.tai-icon:hover { background: rgba(255, 255, 255, .22); }
.tai-icon--call { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 6px 14px -6px rgba(34, 197, 94, .8); }
.tai-icon--call:hover { background: linear-gradient(135deg, #2bd468, #16a34a); transform: scale(1.05); }
.tai.is-calling .tai-icon--call { background: #dc2626; }
.tai-icon:focus-visible { outline: 2px solid #f2cf6b; outline-offset: 2px; }

/* Body + messages */
.tai-body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 100% 0%, #eef2ff 0%, #f7f8fc 45%); }
.tai-log { flex: 1 1 auto; overflow-y: auto; padding: 1rem .85rem; display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.tai-welcome { display: grid; justify-items: center; text-align: center; gap: .55rem; padding: .25rem .25rem .5rem; }
.tai-welcome__art img { width: 200px; height: auto; margin-bottom: -.25rem; filter: drop-shadow(0 14px 24px rgba(59, 42, 143, .22)); }
.tai-welcome h3 { margin: 0; font-size: 1.2rem; color: #0b1b3d; }
.tai-welcome p { margin: 0; max-width: 320px; font-size: .9rem; line-height: 1.6; color: #475569; }
.tai-welcome p b { color: #3b2a8f; }
.tai-start { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; width: 100%; margin-top: .3rem; }
.tai-start__btn { display: grid; justify-items: center; gap: .15rem; padding: .8rem .5rem; border-radius: 16px; border: 1px solid #e0e7ff; background: #fff; cursor: pointer; font: inherit; color: #0b1b3d; box-shadow: 0 8px 20px -16px rgba(30, 63, 143, .6); transition: transform .15s, border-color .15s, box-shadow .15s; }
.tai-start__btn:hover { transform: translateY(-2px); border-color: #a5b4fc; box-shadow: 0 14px 26px -16px rgba(30, 63, 143, .7); }
.tai-start__btn span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #e0e7ff, #ede9fe); color: #3b2a8f; }
.tai-start__btn span svg { width: 19px; height: 19px; }
.tai-start__btn b { font-size: .9rem; }
.tai-start__btn small { font-size: .72rem; color: #64748b; }
.tai-start__btn--call span { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.tai-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .35rem; }
.tai-chips button { padding: .42rem .8rem; border-radius: 99px; border: 1px solid #e0e7ff; background: #fff; color: #3730a3; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.tai-chips button:hover { background: #eef2ff; border-color: #a5b4fc; }

.tai-row { display: flex; align-items: flex-end; gap: .45rem; animation: tai-pop .2s ease-out; }
.tai-row--me { justify-content: flex-end; }
@keyframes tai-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tai-row__av { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #e0e7ff; box-shadow: 0 0 0 2px #fff; }
.tai-msg { max-width: 82%; padding: .6rem .85rem .45rem; border-radius: 18px; font-size: .92rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.tai-msg--bot { background: #fff; border: 1px solid #e6eaf3; border-bottom-left-radius: 6px; box-shadow: 0 6px 16px -14px rgba(15, 23, 42, .5); }
.tai-msg--me { background: linear-gradient(135deg, #1e3f8f, #3b2a8f); color: #fff; border-bottom-right-radius: 6px; }
.tai-msg--ur { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 1rem; line-height: 1.9; }
.tai-msg--err { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.tai-msg a { color: inherit; text-decoration: underline; }
.tai-msg--bot a { color: #4338ca; }
.tai-meta { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .68rem; opacity: .6; white-space: nowrap; }
.tai-msg--me .tai-meta { justify-content: flex-end; }
.tai-listen { padding: .1rem .5rem; border-radius: 99px; border: 1px solid #e0e7ff; background: #f5f7ff; color: #3730a3; font: inherit; font-size: .7rem; font-weight: 600; cursor: pointer; opacity: 1; }
.tai-listen:hover { background: #e0e7ff; }
.tai-typing .tai-msg { display: inline-flex; gap: 4px; padding: .75rem .9rem; }
.tai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8b9bd6; animation: tai-dot 1.1s infinite; }
.tai-typing i:nth-child(2) { animation-delay: .15s; }
.tai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tai-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Composer */
.tai-form { display: flex; align-items: flex-end; gap: .45rem; padding: .65rem .7rem; border-top: 1px solid #eef1f7; background: #fff; }
.tai-form[hidden] { display: none; }
.tai-form textarea { flex: 1 1 auto; min-height: 44px; max-height: 120px; padding: .65rem .9rem; border-radius: 22px; border: 1.5px solid #e2e8f0; background: #f8fafc; font: inherit; font-size: 16px; line-height: 1.4; resize: none; color: #0f172a; }
.tai-form textarea:focus { outline: none; border-color: #818cf8; background: #fff; box-shadow: 0 0 0 3px rgba(129, 140, 248, .2); }
.tai-mic, .tai-send { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 0; cursor: pointer; transition: transform .15s, filter .15s; }
.tai-mic { background: #eef2ff; color: #3b2a8f; }
.tai-mic:hover { background: #e0e7ff; transform: scale(1.05); }
.tai-send { background: linear-gradient(135deg, #1e3f8f, #3b2a8f); color: #fff; box-shadow: 0 8px 18px -10px rgba(59, 42, 143, .9); }
.tai-send:hover { transform: scale(1.06); filter: brightness(1.08); }
.tai-mic:focus-visible, .tai-send:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.tai-foot { display: flex; align-items: center; justify-content: center; gap: .3rem; margin: 0; padding: .3rem .75rem .55rem; background: #fff; font-size: .68rem; color: #94a3b8; text-align: center; }
.tai-foot svg { width: 11px; height: 11px; }

/* Call view */
.tai-call { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.25rem; text-align: center; color: #fff; background: radial-gradient(110% 80% at 50% 15%, #2a3f9a 0%, #13235a 45%, #0b1b3d 80%); }
.tai-call[hidden] { display: none; }
.tai-call::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 20% 80%, rgba(56, 213, 242, .18), transparent), radial-gradient(40% 30% at 85% 70%, rgba(124, 92, 255, .22), transparent); pointer-events: none; }
.tai-live, .tai-perm { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 100%; }
.tai-live[hidden], .tai-perm[hidden] { display: none; }
.tai-orb { position: relative; display: grid; place-items: center; width: 170px; height: 170px; }
.tai-orb i { position: relative; z-index: 2; display: block; width: 118px; height: 118px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #38d5f2, #7c5cff, #f2cf6b, #38d5f2); box-shadow: 0 0 50px rgba(124, 92, 255, .45); transition: transform .25s, box-shadow .25s; }
.tai-orb i picture, .tai-orb i img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #e0e7ff; }
.tai-orb span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(56, 213, 242, .45); opacity: 0; }
.tai-orb.is-listening span { animation: tai-wave 2.2s ease-out infinite; }
.tai-orb.is-listening span:nth-child(2) { animation-delay: .7s; }
.tai-orb.is-listening span:nth-child(3) { animation-delay: 1.4s; }
.tai-orb.is-hearing i { transform: scale(1.07); box-shadow: 0 0 70px rgba(34, 197, 94, .6); }
.tai-orb.is-thinking i { animation: tai-think 1.4s ease-in-out infinite; }
.tai-orb.is-speaking i { animation: tai-speak .5s ease-in-out infinite alternate; box-shadow: 0 0 70px rgba(56, 213, 242, .6); }
@keyframes tai-wave { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.08); opacity: 0; } }
@keyframes tai-think { 0%, 100% { transform: scale(.97); filter: brightness(.95); } 50% { transform: scale(1.02); filter: brightness(1.1); } }
@keyframes tai-speak { from { transform: scale(.98); } to { transform: scale(1.08); } }
.tai-call__name { margin: .2rem 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; }
.tai-call__state { margin: 0; font-size: .95rem; font-weight: 600; color: #a5f3fc; }
.tai-bars { display: flex; align-items: center; gap: 5px; height: 30px; }
.tai-bars i { width: 5px; height: 100%; border-radius: 99px; background: linear-gradient(180deg, #38d5f2, #7c5cff); transform: scaleY(.15); transition: transform .08s linear; }
.tai-bars.is-thinking i, .tai-bars.is-speaking i { animation: tai-bar 1s ease-in-out infinite; }
.tai-bars.is-thinking i { background: #f2cf6b; }
.tai-bars i:nth-child(2) { animation-delay: .1s; } .tai-bars i:nth-child(3) { animation-delay: .2s; } .tai-bars i:nth-child(4) { animation-delay: .3s; } .tai-bars i:nth-child(5) { animation-delay: .4s; }
@keyframes tai-bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(.85); } }
.tai-call__heard { margin: 0; max-width: 100%; min-height: 1.2em; font-size: .82rem; color: #94a3b8; font-style: italic; }
.tai-call__reply { margin: 0; max-width: 100%; max-height: 6.8em; overflow-y: auto; padding: 0 .25rem; font-size: .95rem; line-height: 1.6; color: #f8fafc; }
.tai-call__actions { display: flex; gap: 1.4rem; margin-top: .5rem; }
.tai-round { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.tai-round svg { width: 22px; height: 22px; }
.tai-round:hover { transform: scale(1.07); background: rgba(255, 255, 255, .22); }
.tai-round .tai-slash { display: none; }
.tai-round.is-on { background: #f2cf6b; color: #1a1200; }
.tai-round.is-on .tai-slash { display: inline; }
.tai-round--end { background: #dc2626; box-shadow: 0 10px 24px -10px rgba(220, 38, 38, .9); }
.tai-round--end:hover { background: #ef4444; }
.tai-round--end svg { transform: rotate(135deg); }
.tai-round:focus-visible { outline: 3px solid #f2cf6b; outline-offset: 3px; }
.tai-call__hint { margin: .3rem 0 0; font-size: .74rem; color: #94a3b8; }

/* Microphone permission card */
.tai-perm { max-width: 300px; padding: 1.5rem 1.25rem; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.tai-perm__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 0 0 8px rgba(34, 197, 94, .15), 0 0 0 16px rgba(34, 197, 94, .07); animation: tai-ring2 2s ease-in-out infinite; }
.tai-perm__ico svg { width: 26px; height: 26px; }
@keyframes tai-ring2 { 50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, .18), 0 0 0 22px rgba(34, 197, 94, .06); } }
.tai-perm h4 { margin: .6rem 0 0; font-size: 1.05rem; color: #fff; }
.tai-perm p { margin: 0; font-size: .86rem; line-height: 1.6; color: #cbd5e1; }
.tai-perm p b { color: #a5f3fc; }
.tai-perm__btn { margin-top: .4rem; width: 100%; min-height: 48px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .95rem; color: #062b14; background: linear-gradient(135deg, #4ade80, #22c55e); box-shadow: 0 12px 26px -12px rgba(34, 197, 94, .9); }
.tai-perm__btn[hidden] { display: none; }
.tai-perm__btn:hover { filter: brightness(1.05); }
.tai-perm__alt { border: 0; background: none; color: #cbd5e1; font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }

/* Dark site theme */
html[data-theme="dark"] .tai-panel { background: #0d1f45; color: #e2e8f0; box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
html[data-theme="dark"] .tai-body { background: radial-gradient(120% 60% at 100% 0%, #1a2b63 0%, #0a1835 50%); }
html[data-theme="dark"] .tai-welcome h3 { color: #fff; }
html[data-theme="dark"] .tai-welcome p { color: #cbd5e1; }
html[data-theme="dark"] .tai-welcome p b { color: #a5b4fc; }
html[data-theme="dark"] .tai-start__btn, html[data-theme="dark"] .tai-chips button { background: #13284f; border-color: rgba(255, 255, 255, .1); color: #e2e8f0; }
html[data-theme="dark"] .tai-start__btn small { color: #94a3b8; }
html[data-theme="dark"] .tai-msg--bot { background: #13284f; border-color: rgba(255, 255, 255, .08); color: #e2e8f0; }
html[data-theme="dark"] .tai-msg--bot a { color: #a5b4fc; }
html[data-theme="dark"] .tai-row__av { box-shadow: 0 0 0 2px #0d1f45; }
html[data-theme="dark"] .tai-form, html[data-theme="dark"] .tai-foot { background: #0d1f45; border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .tai-form textarea { background: #0a1835; border-color: rgba(255, 255, 255, .14); color: #e2e8f0; }
html[data-theme="dark"] .tai-mic { background: #1a2b63; color: #c7d2fe; }
html[data-theme="dark"] .tai-listen { background: #0a1835; border-color: rgba(255, 255, 255, .14); color: #c7d2fe; }

@media (max-width: 560px) {
  .tai { right: 14px; bottom: 84px; }
  .tai-fab { padding: .3rem; }
  .tai-fab__text { display: none; }
  .tai-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; }
  .tai-welcome__art img { width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .tai-fab__orb::after, .tai-orb span, .tai-orb i, .tai-typing i, .tai-bars i, .tai-perm__ico, .tai-row, .tai-panel { animation: none !important; }
}

/* Aira: corner layout — Aira bottom-right, WhatsApp bottom-left ------------- */
.tai { bottom: 22px; }
body:not(#_) .whatsapp-float--v4 { right: auto; left: 22px; bottom: 22px; }
body:not(#_) .whatsapp-float--v4 span { right: auto; left: calc(100% + 12px); }
body:not(#_) .wa-bubble { right: auto; left: 22px; border-radius: 16px 16px 16px 4px; transform-origin: bottom left; }
body:not(#_) .to-top { left: 22px; bottom: 92px; }
@media (max-width: 560px) {
  .tai { right: 14px; bottom: 16px; }
  body:not(#_) .whatsapp-float--v4 { left: 16px; bottom: 16px; }
  body:not(#_) .wa-bubble { left: 16px; right: auto; }
  body:not(#_) .to-top { left: 18px; bottom: 82px; }
}

/* Teaser: Aira waves when the site opens ------------------------------------ */
.tai-teaser { position: absolute; right: 0; bottom: calc(100% + 10px); width: 300px; display: flex; align-items: flex-end; gap: 0; pointer-events: none; }
.tai-teaser[hidden] { display: none; }
.tai-teaser > * { pointer-events: auto; }
.tai-teaser__art { position: absolute; right: -6px; bottom: -8px; width: 132px; z-index: 2; transform-origin: 60% 100%; animation: tai-peek .7s cubic-bezier(.2, .9, .3, 1.3) both, tai-sway 2.6s ease-in-out .8s 3; }
.tai-teaser__art img { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(30, 41, 99, .3)); }
.tai-teaser__bubble { position: relative; margin-right: 112px; padding: .85rem .95rem .8rem; border-radius: 18px 18px 6px 18px; background: #fff; color: #0f172a; box-shadow: 0 22px 46px -18px rgba(11, 27, 61, .55), 0 0 0 1px rgba(99, 102, 241, .14); animation: tai-bubble .45s .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.tai-teaser__bubble b { display: block; font-size: .95rem; color: #0b1b3d; }
.tai-teaser__bubble span { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.5; color: #475569; }
.tai-teaser__actions { display: flex; gap: .4rem; margin-top: .6rem; }
.tai-teaser__actions button { flex: 1; min-height: 36px; border-radius: 10px; border: 1px solid #e0e7ff; background: #f5f7ff; color: #3730a3; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.tai-teaser__actions button.is-call { border: 0; background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.tai-teaser__actions button:hover { filter: brightness(1.05); }
.tai-teaser__x { position: absolute; top: -10px; right: 104px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #0b1b3d; color: #fff; font-size: 16px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); animation: tai-bubble .3s .5s both; }
.tai.has-teaser .tai-fab__orb { animation: tai-glow 1.4s ease-in-out 3; }
@keyframes tai-peek { from { opacity: 0; transform: translateY(40px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes tai-sway { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
@keyframes tai-bubble { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes tai-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(56, 213, 242, 0); } 50% { box-shadow: 0 0 0 10px rgba(56, 213, 242, .35); } }
html[data-theme="dark"] .tai-teaser__bubble { background: #13284f; color: #e2e8f0; box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
html[data-theme="dark"] .tai-teaser__bubble b { color: #fff; }
html[data-theme="dark"] .tai-teaser__bubble span { color: #cbd5e1; }
html[data-theme="dark"] .tai-teaser__actions button:not(.is-call) { background: #0a1835; border-color: rgba(255, 255, 255, .14); color: #c7d2fe; }
@media (max-width: 560px) {
  .tai-teaser { width: min(290px, calc(100vw - 28px)); }
  .tai-teaser__art { width: 112px; }
  .tai-teaser__bubble { margin-right: 92px; }
  .tai-teaser__x { right: 84px; }
}

/* Call extras: timer, ended + maintenance cards --------------------------- */
.tai-call__timer { display: inline-block; margin-left: .45rem; padding: .1rem .5rem; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #a5f3fc; vertical-align: middle; }
.tai-call__timer[hidden] { display: none; }
.tai-call__timer.is-late { background: rgba(220, 38, 38, .25); color: #fecaca; }
.tai-orb.is-ringing i { animation: tai-ringshake 1s ease-in-out infinite; }
.tai-orb.is-ringing span { animation: tai-wave 1.6s ease-out infinite; }
.tai-orb.is-ringing span:nth-child(2) { animation-delay: .5s; }
.tai-orb.is-ringing span:nth-child(3) { animation-delay: 1s; }
@keyframes tai-ringshake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-5deg); } 20%, 40% { transform: rotate(5deg); } }
.tai-perm__ico--end { background: linear-gradient(135deg, #64748b, #334155); box-shadow: none; animation: none; }
.tai-perm__ico--end svg { transform: rotate(135deg); }
.tai-perm.is-maint .tai-perm__ico { background: linear-gradient(135deg, #f59e0b, #b45309); box-shadow: 0 0 0 8px rgba(245, 158, 11, .15); animation: none; }
.tai-perm__links { display: flex; gap: .5rem; width: 100%; margin-top: .3rem; }
.tai-perm__links[hidden] { display: none; }
.tai-perm__links a { flex: 1; display: grid; place-items: center; min-height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }
.tai-perm__links a.is-wa { background: linear-gradient(135deg, #4ade80, #22c55e); color: #062b14; }
.tai-perm__links a:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .tai-teaser__art, .tai-teaser__bubble, .tai-teaser__x, .tai.has-teaser .tai-fab__orb, .tai-orb.is-ringing i { animation: none !important; } }
.tai-icon[data-tai-clear] { width: 34px; height: 34px; background: transparent; }
.tai-icon[data-tai-clear]:hover { background: rgba(255, 255, 255, .14); }
.tai-icon[data-tai-clear] svg { width: 16px; height: 16px; }
.tai.is-calling .tai-icon[data-tai-clear] { display: none; }

/* Aira teaser — smaller, lighter (admin can switch it off) */
.tai-teaser { width: 250px; bottom: calc(100% + 8px); }
.tai-teaser__art { width: 92px; right: -4px; bottom: -6px; animation: tai-peek .55s cubic-bezier(.2, .9, .3, 1.2) both, tai-sway 1.8s ease-in-out .7s 1; }
.tai-teaser__bubble { margin-right: 78px; padding: .65rem .75rem .65rem; border-radius: 14px 14px 5px 14px; }
.tai-teaser__bubble b { font-size: .86rem; }
.tai-teaser__bubble span { font-size: .76rem; line-height: 1.45; }
.tai-teaser__actions { margin-top: .45rem; gap: .35rem; }
.tai-teaser__actions button { min-height: 32px; font-size: .76rem; border-radius: 9px; }
.tai-teaser__x { right: 70px; top: -9px; width: 22px; height: 22px; font-size: 14px; }
.tai-teaser.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.tai.has-teaser .tai-fab__orb { animation: tai-glow 1.4s ease-in-out 1; }
.tai.tai--nochat .tai-start { grid-template-columns: 1fr; }
.tai.tai--nocall .tai-start { grid-template-columns: 1fr; }
@media (max-width: 560px) {
  .tai-teaser { width: min(230px, calc(100vw - 28px)); }
  .tai-teaser__art { width: 78px; }
  .tai-teaser__bubble { margin-right: 66px; }
  .tai-teaser__x { right: 58px; }
}
