/* Dawgcord public site — round 10.
   One header, one blue masthead, one sticker highlight, shared fixes.
   Linked last on every public page (and also appended to site-shell.css as a safety net).
   Selectors start with `html body[class]` on purpose: they have to beat the older
   page-by-page !important rules in site-shell.css. */

:root {
  --dw-blue: #4a8bef;
  --dw-blue-deep: #2463d9;
  --dw-ink: #10243b;
  --dw-ink-2: #173956;
  --dw-spring: cubic-bezier(.3, 1.5, .55, 1);
}
[hidden] { display: none !important; }

/* ───────── text selection: blue everywhere ───────── */
html ::selection, html body *::selection { background: #2463d9; color: #fff; -webkit-text-fill-color: #fff; text-shadow: none; }
html ::-moz-selection, html body *::-moz-selection { background: #2463d9; color: #fff; }

/* ───────── header: the same blue bar on every page (no more transparent / dark / floating capsule) ───────── */
html body[class] .site-header.site-header,
html body[class] .site-header.site-header.is-scrolled {
  position: relative !important; inset: auto !important; top: auto !important; left: auto !important; right: auto !important;
  transform: none !important; translate: none !important;
  width: 100% !important; max-width: none !important; min-height: 70px !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important;
  background: var(--dw-blue) !important; background-color: var(--dw-blue) !important; background-image: none !important;
  box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  pointer-events: auto !important; z-index: 500 !important;
}
html body[class] .site-header .header-inner,
html body[class] .site-header.is-scrolled .header-inner {
  display: flex !important; align-items: center !important; gap: 18px !important;
  width: min(1180px, calc(100% - 40px)) !important; min-height: 70px !important; margin-inline: auto !important; padding: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html body[class] .site-header .brand,
html body[class] .site-header.is-scrolled .brand {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--dw-ink) !important; font-size: 18px !important;
}
html body[class] .site-header .brand span,
html body[class] .site-header .brand .brand-name { color: var(--dw-ink) !important; }
html body[class] .site-header .brand-icon,
html body[class] .site-header.is-scrolled .brand-icon { filter: none !important; width: 34px !important; height: 34px !important; }
html body[class] .site-header .header-actions { margin-left: auto !important; display: flex !important; align-items: center !important; gap: 10px !important; pointer-events: auto !important; }
html body[class] .site-header.is-scrolled .header-actions [data-auth-actions],
html body[class] .site-header.is-scrolled .header-actions [data-site-auth-actions],
html body[class] .site-header.is-scrolled .header-actions [data-header-initial],
html body[class] .site-header.is-scrolled .header-actions .search { display: flex !important; }
html body[class] .site-header .header-actions [data-scroll-open-app],
html body[class] .site-header .scroll-open-app,
html body[class] .site-header .mobile-menu-toggle,
html body[class] .mobile-navigation { display: none !important; }

/* Log in / Download: one joined control */
html body[class] .site-header .nav-auth-duo { display: inline-flex !important; gap: 3px !important; }
html body[class] .site-header .nav-auth-duo > .button { min-height: 42px !important; box-shadow: none !important; background-image: none !important; font-weight: 800 !important; }
html body[class] .site-header .nav-auth-duo > .button:first-child { background: rgba(16, 36, 59, .14) !important; color: var(--dw-ink) !important; border-radius: 22px 8px 8px 22px !important; }
html body[class] .site-header .nav-auth-duo > .button:first-child:hover { background: rgba(16, 36, 59, .24) !important; }
html body[class] .site-header .nav-auth-duo > .button:last-child { background: var(--dw-blue-deep) !important; color: #fff !important; border-radius: 8px 22px 22px 8px !important; }
html body[class] .site-header .nav-auth-duo > .button:last-child:hover { background: #1d55bd !important; }
html body[class] .site-header .nav-auth-duo > .button:only-child { border-radius: 22px !important; }
html body[class] .site-header .nav-auth-duo > .button:active { border-radius: 12px !important; transform: scale(.97) !important; }

/* docs keep their search box in the same header */
html body[class] .docs-header .search { display: flex !important; height: 44px !important; border: 0 !important; border-radius: 22px !important; background: rgba(255, 255, 255, .30) !important; box-shadow: none !important; }
html body[class] .docs-header .search svg { color: var(--dw-ink) !important; }
html body[class] .docs-header .search input { background: transparent !important; color: var(--dw-ink) !important; box-shadow: none !important; }
html body[class] .docs-header .search input::placeholder { color: #35597d !important; opacity: 1 !important; }
html body[class] .docs-header .search kbd { background: none !important; background-color: transparent !important; color: var(--dw-ink) !important; box-shadow: none !important; }
@media (max-width: 760px) { html body[class] .docs-header .search { display: none !important; } }

/* docs: scalloped edge under the blue header + a soft blue glow, so it isn't a flat dark page */
html body.page-docs:not(.page-safety):not(.page-appeal) .site-header::after {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -10px; height: 10px; pointer-events: none;
  background: radial-gradient(circle at 10px 0, var(--dw-blue) 9px, transparent 9.5px) 0 0 / 20px 10px repeat-x;
}
html body.page-docs:not(.page-safety):not(.page-appeal) {
  background: radial-gradient(900px 380px at 50% -60px, rgba(74, 139, 239, .20), transparent 72%), #101112 !important;
}
html body.page-docs:not(.page-safety) .sidebar a[aria-current],
html body.page-docs:not(.page-safety) .sidebar a.on,
html body.page-docs:not(.page-safety) .sidebar a.active { background: rgba(74, 139, 239, .16) !important; color: #fff !important; box-shadow: inset 3px 0 0 var(--dw-blue) !important; }
html body.page-docs:not(.page-safety) #main a[class*="card"]:hover,
html body.page-docs:not(.page-safety) #main .card:hover { border-color: rgba(120, 170, 255, .55) !important; background-color: rgba(74, 139, 239, .08) !important; }

/* ───────── home: header no longer floats over (and hides) the headline ───────── */
html body.page-home .hero { padding-top: clamp(44px, 6vw, 72px) !important; }

/* ───────── blue masthead (download, updates; legal + status share the look) ───────── */
html body[class] section.mast-hero.mast-hero {
  position: relative !important; isolation: isolate; display: block !important; overflow: visible !important;
  width: 100% !important; min-height: 0 !important; margin: 0 !important;
  padding: clamp(30px, 4vw, 48px) max(20px, calc((100vw - 1180px) / 2)) 56px !important;
  border: 0 !important; background: var(--dw-blue) !important; background-image: none !important;
  color: var(--dw-ink) !important; text-align: left !important;
}
html body[class] section.mast-hero.mast-hero::before { display: none !important; }
html body[class] section.mast-hero.mast-hero::after {
  content: "" !important; display: block !important; position: absolute !important; z-index: 2; left: 0; right: 0; bottom: -10px; top: auto; height: 10px; width: auto;
  pointer-events: none; opacity: 1 !important; filter: none !important; transform: none !important; border-radius: 0 !important;
  background: radial-gradient(circle at 10px 0, var(--dw-blue) 9px, transparent 9.5px) 0 0 / 20px 10px repeat-x !important;
}
html body[class] section.mast-hero.mast-hero .wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
html body[class] section.mast-hero .kicker { display: none !important; }
html body[class] section.mast-hero h1 {
  max-width: 16ch !important; margin: 0 !important; color: var(--dw-ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important;
  font-size: clamp(38px, 6vw, 68px) !important; line-height: 1.06 !important; letter-spacing: -.045em !important; text-align: left !important; text-wrap: balance;
}
html body[class] section.mast-hero .hero-lead,
html body[class] section.mast-hero .lead { max-width: 58ch !important; margin: 16px 0 0 !important; color: var(--dw-ink-2) !important; font-size: clamp(16px, 2vw, 19px) !important; line-height: 1.6 !important; text-align: left !important; }
html body[class] section.mast-hero .hero-actions { display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 3px; margin: 26px 0 0 !important; }
html body[class] section.mast-hero .hero-note { margin: 14px 0 0 !important; color: #244b70 !important; font-size: 14px !important; text-align: left !important; }
html body[class] section.mast-hero .button-primary { background: var(--dw-blue-deep) !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
html body[class] section.mast-hero .button-primary:hover { background: #1d55bd !important; }
html body[class] section.mast-hero .button-secondary { background: rgba(255, 255, 255, .26) !important; color: var(--dw-ink) !important; box-shadow: none !important; }
html body.page-updates .feed { padding-top: 52px !important; }
html body.page-download #platforms { padding-top: 52px !important; }
@media (max-width: 640px) { html body[class] section.mast-hero.mast-hero { padding: 26px 18px 44px !important; } html body[class] section.mast-hero h1 { font-size: clamp(34px, 9.4vw, 48px) !important; } }

/* legal / report / status heroes: overflow visible so the circles show */
html body.page-safety .legal-hero, html body.page-status .status-hero { overflow: visible !important; }
html body.page-safety .legal-hero h1 { font-size: clamp(38px, 6vw, 68px) !important; line-height: 1.06 !important; }

/* ───────── highlight words ─────────
   Home only: the tilted sticker that slaps on. Everywhere else: a flat blue highlight
   (no border, no tilt) that wipes in left → right, like blushie's "What's new". */
html body.page-home .hero h1 .gradient-text {
  display: inline-block !important; margin: 0 .02em !important; padding: .03em .16em .13em !important; border: 0 !important; border-radius: .2em !important;
  background: var(--dw-blue-deep) !important; background-image: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  box-shadow: 0 0 0 .05em #fff, 0 .07em 0 .05em #bcd6fb !important; text-shadow: none !important; line-height: .92 !important; white-space: nowrap;
  transform: rotate(-3deg) !important;
  animation: dw-slap .7s var(--dw-spring) .5s backwards, dw-stick .55s var(--dw-spring) .85s backwards;
}
@keyframes dw-slap { 0% { opacity: 0; transform: rotate(-14deg) scale(.4); } }
@keyframes dw-stick { 0% { scale: 1; } 35% { scale: 1.12; } 70% { scale: .96; } 100% { scale: 1; } }

html body[class]:not(.page-home) section.mast-hero h1 .gradient-text,
html body[class]:not(.page-home) section.mast-hero h1 mark,
html body.page-safety .legal-hero h1 mark,
html body.page-status .status-hero h1 mark {
  display: inline-block !important; margin: 0 -.04em !important; padding: 0 .16em .04em !important; border: 0 !important; border-radius: .2em !important;
  background: linear-gradient(var(--dw-blue-deep), var(--dw-blue-deep)) left / 100% 100% no-repeat !important; background-color: transparent !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  box-shadow: none !important; text-shadow: none !important; line-height: inherit !important; white-space: nowrap;
  transform: none !important;
  animation: dw-word-in .9s var(--dw-spring) .26s both, dw-wipe .7s cubic-bezier(.6, 0, .2, 1) .5s both !important;
}
@keyframes dw-word-in { 0% { opacity: 0; filter: blur(6px); translate: 0 .45em; } 100% { opacity: 1; filter: blur(0); translate: 0; } }
@keyframes dw-wipe { 0% { background-size: 0% 100%; } 100% { background-size: 100% 100%; } }

/* docs headline: plain highlight, no animation, no tilt, no border */
html body.page-docs:not(.page-safety) #main h1,
html body.page-docs:not(.page-safety) #main h1.reveal-on-scroll { animation: none !important; transition: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
html body.page-docs:not(.page-safety) #main h1 mark {
  display: inline-block !important; margin: 0 -.04em !important; padding: 0 .16em .04em !important; border: 0 !important; border-radius: .2em !important;
  background: var(--dw-blue-deep) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  box-shadow: none !important; text-shadow: none !important; line-height: inherit !important; white-space: nowrap;
  transform: none !important; animation: none !important;
}

/* ───────── blurry fade-in on page load (hero + header + docs), not only when scrolling ───────── */
@keyframes dw-blur-in { 0% { opacity: 0; filter: blur(10px); transform: translateY(16px); } 100% { opacity: 1; filter: blur(0); transform: none; } }
html body.page-home .hero-copy > *,
html body[class] section.mast-hero .wrap > *,
html body.page-safety .legal-hero > *,
html body.page-status .status-hero > *,
html body.page-docs:not(.page-safety) #main > * { animation: dw-blur-in .8s cubic-bezier(.2, .7, .2, 1) both !important; }
html body[class] .site-header .header-inner > * { animation: dw-blur-in .7s cubic-bezier(.2, .7, .2, 1) both; }
html body.page-home .hero-copy > :nth-child(2), html body[class] section.mast-hero .wrap > :nth-child(2), html body.page-safety .legal-hero > :nth-child(2), html body.page-docs #main > :nth-child(2) { animation-delay: .08s !important; }
html body.page-home .hero-copy > :nth-child(3), html body[class] section.mast-hero .wrap > :nth-child(3), html body.page-safety .legal-hero > :nth-child(3), html body.page-docs #main > :nth-child(3) { animation-delay: .16s !important; }
html body.page-home .hero-copy > :nth-child(n+4), html body[class] section.mast-hero .wrap > :nth-child(n+4), html body.page-safety .legal-hero > :nth-child(n+4), html body.page-docs #main > :nth-child(n+4) { animation-delay: .24s !important; }
html body.page-home .hero > :not(.hero-copy) { animation: dw-blur-in .9s cubic-bezier(.2, .7, .2, 1) .3s both; }

/* ───────── footer links: blue line grows under the text on hover ───────── */
html body[class] .site-footer .footer-col a,
html body[class] .site-footer .footer-bottom a {
  width: fit-content; padding-bottom: 3px !important; text-decoration: none !important;
  background: linear-gradient(#2463d9, #2463d9) left bottom / 0% 2px no-repeat !important;
  transition: background-size .35s var(--dw-spring), color .2s !important;
}
html body[class] .site-footer .footer-col a:hover,
html body[class] .site-footer .footer-col a:focus-visible,
html body[class] .site-footer .footer-bottom a:hover,
html body[class] .site-footer .footer-bottom a:focus-visible { background-size: 100% 2px !important; color: #10243b !important; }

/* ───────── download page buttons ───────── */
html body[class] .download-dropdown-trigger {
  background: rgba(74, 139, 239, .14) !important; background-image: none !important; box-shadow: none !important;
  border: 1px solid rgba(120, 170, 255, .38) !important; color: #d6e6ff !important;
}
html body[class] .download-dropdown-trigger:hover,
html body[class] .download-dropdown[open] > .download-dropdown-trigger { background: var(--dw-blue-deep) !important; border-color: var(--dw-blue-deep) !important; color: #fff !important; }
html body[class] .download-direct {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 16px;
  border-radius: 14px; background: var(--dw-blue-deep); color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none !important;
  transition: background .2s, border-radius .45s var(--dw-spring), transform .3s var(--dw-spring);
}
html body[class] .download-direct:hover { background: #2f72ec; border-radius: 22px; }
html body[class] .download-direct:active { transform: scale(.98); }
html body[class] .download-direct svg { width: 18px; height: 18px; flex: none; }
html body[class] .download-direct .size { margin-left: auto; opacity: .78; font-size: 12.5px; font-weight: 600; }

/* ───────── updates / changelog: timeline of versions on the left, one sheet of notes on the right ───────── */
html body.page-updates {
  --up-sheet: #17191d; --up-sheet-line: rgba(120, 170, 255, .12); --up-line: rgba(245, 245, 245, .08);
  --up-text: #b8c2cf; --up-strong: #f4f4f5; --up-muted: #8793a7; --up-accent: #78aaff; --up-accent-soft: rgba(74, 139, 239, .16);
  --up-rail: rgba(255, 255, 255, .1); --up-hover: rgba(255, 255, 255, .05); --up-chip-ink: #fff;
  --up-new: #4a8bef; --up-better: #a98bff; --up-fixed: #43c08a; --up-other: #f5b45b;
  --up-t1: #4a8bef; --up-t2: #a98bff; --up-t3: #43c08a; --up-t4: #f5b45b; --up-t5: #ef7aa8;
}
html body.page-updates .feed-top { display: none !important; }
html body.page-updates .changelog-layout { display: grid !important; grid-template-columns: 250px minmax(0, 1fr) !important; align-items: start; gap: 30px !important; }

html body.page-updates .date-toc {
  position: sticky !important; top: 24px !important; display: flex !important; flex-direction: column; gap: 0;
  max-height: calc(100vh - 48px); overflow: auto; padding: 22px 0 0 !important;
}
html body.page-updates .date-toc-title { margin: 0 0 10px 30px; color: var(--up-muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html body.page-updates .date-toc a {
  position: relative; display: grid !important; gap: 1px; padding: 9px 12px 9px 30px !important; border-radius: 14px !important;
  color: var(--up-muted) !important; font-size: .8rem; line-height: 1.3; text-decoration: none;
  transition: background .2s, color .2s, border-radius .45s var(--dw-spring);
}
html body.page-updates .date-toc a::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 13px; width: 2px; background: var(--up-rail);
}
html body.page-updates .date-toc a:first-of-type::before { top: 50%; }
html body.page-updates .date-toc a:last-of-type::before { bottom: 50%; }
html body.page-updates .date-toc a:only-of-type::before { display: none; }
html body.page-updates .date-toc a::after {
  content: ""; position: absolute; top: 50%; left: 8px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--up-sheet); box-shadow: inset 0 0 0 2px var(--up-rail); transition: background .2s, box-shadow .2s, transform .35s var(--dw-spring);
}
html body.page-updates .date-toc a span { min-width: 0 !important; color: var(--up-strong); font-size: .9rem; font-weight: 750; overflow-wrap: anywhere; }
html body.page-updates .date-toc a:hover { background: var(--up-hover) !important; color: var(--up-strong) !important; }
html body.page-updates .date-toc a:hover::after { box-shadow: inset 0 0 0 2px var(--up-accent); }
html body.page-updates .date-toc a[aria-current] { background: var(--up-accent-soft) !important; color: var(--up-accent) !important; }
html body.page-updates .date-toc a[aria-current]::after { background: var(--up-accent); box-shadow: 0 0 0 4px var(--up-accent-soft); transform: scale(1.1); }

html body.page-updates .changelog-sheet {
  padding: 8px clamp(20px, 3.4vw, 40px) !important; border: 0 !important; border-radius: 30px !important;
  background: var(--up-sheet) !important; box-shadow: inset 0 0 0 1px var(--up-sheet-line) !important;
}
html body.page-updates .update-section { padding: 34px 0; scroll-margin-top: 20px; }
html body.page-updates .update-section + .update-section { border-top: 1px solid var(--up-line); }
html body.page-updates .update-section h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--up-strong); font-size: 1.22rem; }
html body.page-updates .update-section .ver {
  display: inline-grid; place-items: center; min-height: 36px; padding: 5px 14px; border-radius: 13px;
  background: var(--up-accent-soft); color: var(--up-accent); font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em;
}
html body.page-updates .update-section .latest {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px;
  background: var(--up-new); color: var(--up-chip-ink); font-size: .76rem; font-weight: 800;
}
html body.page-updates .update-section .latest::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: up-pulse 2.4s ease-in-out infinite; }
html body.page-updates .update-section time { color: var(--up-muted); font-size: .9rem; font-weight: 650; }
html body.page-updates .update-subtitle { margin: 0 0 14px; color: var(--up-text); font-size: 1.02rem; line-height: 1.6; }
html body.page-updates .update-banner { display: block; width: 100%; max-height: 380px; margin: 8px 0 20px; border-radius: 20px; object-fit: cover; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .6); }

html body.page-updates .update-body { max-width: 74ch; color: var(--up-text); font-size: .98rem; line-height: 1.7; }
html body.page-updates .update-body p { margin: 0 0 12px; }
html body.page-updates .update-body a { color: var(--up-accent); text-underline-offset: 3px; }
html body.page-updates .update-body strong { color: var(--up-strong); }
html body.page-updates .update-body code { padding: 1px 6px; border-radius: 6px; background: var(--up-accent-soft); color: var(--up-strong); }
html body.page-updates .update-body h3 {
  --tone: var(--up-other);
  display: flex; align-items: center; gap: 9px; width: fit-content; margin: 24px 0 10px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--up-strong); font-size: .9rem; font-weight: 800; letter-spacing: -.005em; line-height: 1.35;
}
html body.page-updates .update-body h3::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 25%, transparent); }
html body.page-updates .update-body :is(h3, ul).new { --tone: var(--up-new); }
html body.page-updates .update-body :is(h3, ul).better { --tone: var(--up-better); }
html body.page-updates .update-body :is(h3, ul).fixed { --tone: var(--up-fixed); }
html body.page-updates .update-body :is(h3, ul).t1 { --tone: var(--up-t1); }
html body.page-updates .update-body :is(h3, ul).t2 { --tone: var(--up-t2); }
html body.page-updates .update-body :is(h3, ul).t3 { --tone: var(--up-t3); }
html body.page-updates .update-body :is(h3, ul).t4 { --tone: var(--up-t4); }
html body.page-updates .update-body :is(h3, ul).t5 { --tone: var(--up-t5); }
html body.page-updates .update-body ul.dots { --tone: var(--up-muted); display: grid; gap: 9px; margin: 0 0 14px; padding: 0; list-style: none; }
html body.page-updates .update-body ul.dots li { position: relative; padding-left: 22px; }
html body.page-updates .update-body ul.dots li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
html body.page-updates .update-body blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 3px solid var(--up-accent); border-radius: 0 14px 14px 0; background: var(--up-accent-soft); }
html body.page-updates .update-body blockquote p { margin: 0; }
html body.page-updates .update-section .social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
html body.page-updates .update-section .social-links a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--up-accent-soft);
  color: var(--up-accent); font-size: .8rem; font-weight: 750; text-decoration: none; transition: background .2s, color .2s, transform .35s var(--dw-spring);
}
html body.page-updates .update-section .social-links a:hover { background: var(--up-accent); color: var(--up-chip-ink); transform: translateY(-1px); }
@keyframes up-pulse { 50% { opacity: .35; } }
@media (max-width: 900px) {
  html body.page-updates .changelog-layout { grid-template-columns: 1fr !important; gap: 14px !important; }
  html body.page-updates .date-toc {
    position: static !important; flex-direction: row; gap: 6px; max-height: none; overflow-x: auto; padding: 0 0 4px !important;
    scroll-snap-type: x proximity;
  }
  html body.page-updates .date-toc-title { display: none; }
  html body.page-updates .date-toc a { flex: none; padding: 8px 14px !important; border-radius: 999px !important; background: var(--up-sheet) !important; box-shadow: inset 0 0 0 1px var(--up-sheet-line); scroll-snap-align: start; }
  html body.page-updates .date-toc a::before, html body.page-updates .date-toc a::after { display: none; }
  html body.page-updates .date-toc a[aria-current] { background: var(--up-accent-soft) !important; }
}
@media (max-width: 640px) {
  html body.page-updates .changelog-sheet { padding: 2px 18px !important; border-radius: 24px !important; }
  html body.page-updates .update-section { padding: 26px 0; }
  html body.page-updates .update-banner { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { html body.page-updates .update-section .latest::before { animation: none; } }

/* ───────── report page: centered card ───────── */
html body.page-safety .report-form,
html body.page-safety .report-done { width: min(820px, calc(100% - 32px)) !important; max-width: 820px !important; margin: 34px auto 0 !important; }
html body.page-safety .report-form { padding: clamp(22px, 3.4vw, 36px) !important; border-radius: 28px !important; background: #17191d !important; box-shadow: 0 16px 42px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(120, 170, 255, .12) !important; }
html body.page-safety .report-done { padding: clamp(24px, 4vw, 40px) !important; border-radius: 28px !important; }
html body.page-safety .legal-ask { max-width: 1180px; margin-inline: auto !important; width: calc(100% - 32px); }
html body.page-safety .report-form + .report-done + .legal-ask,
html body.page-safety .report-done + .legal-ask,
html body.page-safety .report-form + .legal-ask { margin-top: 34px !important; }

/* ───────── home: breathing room between the FAQ and the footer ───────── */
html body.page-home #faq { padding-bottom: clamp(64px, 8vw, 104px) !important; }
html body.page-home .faq-list { margin-bottom: 0 !important; }
html body.page-home .site-footer { margin-top: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html body[class] * { animation: none !important; }
  html body[class] h1 mark, html body[class] h1 .gradient-text { transform: none !important; }
}

/* ───────── round 12 ───────── */

/* 1) Footer: no scroll animation, no blur, no fade — it is simply there. */
html body[class] .site-footer,
html body[class] .site-footer .footer-card,
html body[class] .site-footer .footer-card.reveal-on-scroll,
html body[class] .site-footer .reveal-on-scroll,
html.reveal-enabled body[class] .site-footer .footer-card.reveal-on-scroll:not(.is-revealed) {
  opacity: 1 !important; filter: none !important; transform: none !important; translate: none !important;
  transition: none !important; animation: none !important;
}

/* 2) Download page: the "Choose download" menu must paint above the footer.
   Footer cards used to create their own stacking layer later in the page, which covered the menu. */
html body.page-download main { position: relative; z-index: 5; }
html body.page-download .site-footer { position: relative; z-index: 1; }
html body.page-download .download-dropdown[open] { z-index: 90; }
html body.page-download .download-dropdown-menu { z-index: 90; }

/* 3) Hero headings (every page except home): text rises in, then the blue highlight wipes through the
   last word, like blushie's "What's new". Home keeps its own sticker. */
html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero),
html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero).reveal-on-scroll,
html.reveal-enabled body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero).reveal-on-scroll:not(.is-revealed) {
  opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
}
html body[class]:not(.page-home):not(.page-docs) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero) h1,
html body[class]:not(.page-home):not(.page-docs) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero) h1.reveal-on-scroll {
  opacity: 1 !important; transform: none !important; transition: none !important;
  animation: dw-word-in .9s var(--dw-spring) .05s both !important;
}
html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero) h1 :is(.gradient-text, mark),
html body.page-safety .legal-hero h1 mark,
html body.page-status .status-hero h1 mark,
html body.page-docs:not(.page-safety) #main h1 mark {
  display: inline-block !important; position: relative;
  background: linear-gradient(var(--dw-blue-deep), var(--dw-blue-deep)) left / 0% 100% no-repeat !important;
  background-color: transparent !important; background-clip: border-box !important; -webkit-background-clip: border-box !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  border: 0 !important; box-shadow: none !important; text-shadow: none !important; transform: none !important;
  animation: dw-wipe .7s cubic-bezier(.6, 0, .2, 1) .55s both !important;
}
@media (prefers-reduced-motion: reduce) {
  html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero, .page-hero) h1,
  html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero) h1 :is(.gradient-text, mark),
  html body.page-docs:not(.page-safety) #main h1 mark { animation: none !important; }
  html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero) h1 :is(.gradient-text, mark),
  html body.page-docs:not(.page-safety) #main h1 mark { background-size: 100% 100% !important; }
}

/* ───────── round 13 ───────── */

/* Highlight wipe. The old rule pinned background-size with !important, and !important beats animations,
   so the blue bar stayed at 0% and never showed. Now the width comes from a registered custom property
   (--dw-wipe) which the animation drives; the bar itself is still forced blue. */
@property --dw-wipe { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@keyframes dw-wipe-run { from { --dw-wipe: 0%; } to { --dw-wipe: 100%; } }
html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero) h1 :is(.gradient-text, mark),
html body.page-safety .legal-hero h1 mark,
html body.page-status .status-hero h1 mark,
html body.page-docs:not(.page-safety) #main h1 mark {
  background-image: linear-gradient(var(--dw-blue-deep), var(--dw-blue-deep)) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: var(--dw-wipe, 100%) 100% !important;
  background-color: transparent !important;
  animation: dw-wipe-run .7s cubic-bezier(.6, 0, .2, 1) .55s both !important;
}
@media (prefers-reduced-motion: reduce) {
  html body[class]:not(.page-home) :is(section.mast-hero, .legal-hero, .status-hero) h1 :is(.gradient-text, mark),
  html body.page-safety .legal-hero h1 mark,
  html body.page-status .status-hero h1 mark,
  html body.page-docs:not(.page-safety) #main h1 mark { animation: none !important; --dw-wipe: 100%; }
}

/* Footer wordmark: letters hop on hover. */
html body[class] .site-footer .footer-wordmark {
  overflow: visible !important; padding-top: .14em !important; animation: none !important;
}
html body[class] .site-footer .footer-wordmark .fw-l {
  display: inline-block; cursor: default; transform-origin: 50% 85%;
  transform: translateY(var(--y, 0)) rotate(var(--t, 0deg));
  transition: color .2s ease, text-shadow .2s ease;
}
html body[class] .site-footer .footer-wordmark .fw-l.is-hop {
  animation: dw-letter-hop .62s cubic-bezier(.3, 1.5, .55, 1) both;
  color: #4a8bef; -webkit-text-fill-color: #4a8bef;
  text-shadow: 0 .045em 0 #1a4fb0;
}
html body[class] .site-footer .footer-wordmark .fw-l.is-nudge { animation: dw-letter-nudge .5s cubic-bezier(.3, 1.5, .55, 1) both; }
@keyframes dw-letter-hop {
  0%   { transform: translateY(var(--y, 0)) rotate(var(--t, 0deg)) scale(1, 1); }
  22%  { transform: translateY(calc(var(--y, 0em) + .03em)) rotate(var(--t, 0deg)) scale(1.1, .88); }
  50%  { transform: translateY(-.2em) rotate(calc(var(--t, 0deg) * -2.5)) scale(.95, 1.08); }
  78%  { transform: translateY(.015em) rotate(calc(var(--t, 0deg) * 1.4)) scale(1.04, .96); }
  100% { transform: translateY(var(--y, 0)) rotate(var(--t, 0deg)) scale(1, 1); }
}
@keyframes dw-letter-nudge {
  0%, 100% { transform: translateY(var(--y, 0)) rotate(var(--t, 0deg)); }
  45% { transform: translateY(-.05em) rotate(calc(var(--t, 0deg) * -1.5)); }
}
@media (prefers-reduced-motion: reduce) {
  html body[class] .site-footer .footer-wordmark .fw-l.is-hop,
  html body[class] .site-footer .footer-wordmark .fw-l.is-nudge { animation: none !important; }
}

/* ───────── docs: clearer intro, springy cards, tidier sidebar ───────── */
html body.page-docs:not(.page-safety) .docs-intro { padding: clamp(6px, 2vw, 18px) 0 10px; }
html body.page-docs:not(.page-safety) .docs-intro .docs-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 16px !important; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .08em;
}
html body.page-docs:not(.page-safety) .docs-intro .docs-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html body.page-docs:not(.page-safety) .docs-intro-links { gap: 8px !important; }
html body.page-docs:not(.page-safety) .docs-intro-links a {
  border-radius: 999px !important; padding-inline: 16px !important;
  transition: background .2s, color .2s, transform .35s var(--dw-spring) !important;
}
html body.page-docs:not(.page-safety) .docs-intro-links a:hover { transform: translateY(-2px); }
html body.page-docs:not(.page-safety) .home-section + .home-section { margin-top: 48px; }
html body.page-docs:not(.page-safety) .home-section h2 { font-size: 1.18rem !important; letter-spacing: -.02em; }
html body.page-docs:not(.page-safety) .home-section > p { margin-bottom: 16px; }
html body.page-docs:not(.page-safety) .cards { gap: 12px !important; }
html body.page-docs:not(.page-safety) .card {
  border-radius: 20px !important;
  transition: background .2s, box-shadow .2s, border-radius .45s var(--dw-spring), transform .35s var(--dw-spring) !important;
}
html body.page-docs:not(.page-safety) .card:is(:hover, :focus-visible) { border-radius: 26px !important; transform: translateY(-3px); }
html body.page-docs:not(.page-safety) .card .card-icon { border-radius: 12px !important; transition: transform .45s var(--dw-spring); }
html body.page-docs:not(.page-safety) .card:is(:hover, :focus-visible) .card-icon { transform: rotate(-6deg) scale(1.08); }
html body.page-docs:not(.page-safety) .nav-title { font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase; }
html body.page-docs:not(.page-safety) .nav-list a { border-radius: 12px !important; transition: background .2s, color .2s, border-radius .45s var(--dw-spring); }
html body.page-docs:not(.page-safety) .nav-list a:hover { border-radius: 16px !important; }
html body.page-docs:not(.page-safety) .pager a { border-radius: 20px !important; transition: box-shadow .2s, transform .35s var(--dw-spring) !important; }
html body.page-docs:not(.page-safety) .pager a:hover { transform: translateY(-2px); }
html body.page-docs:not(.page-safety) .prose :is(pre, .code-block pre, .table-wrap) { border-radius: 16px !important; }
@media (max-width: 760px) {
  html body.page-docs:not(.page-safety) .docs-mobile-tools .menu-toggle { border-radius: 999px !important; }
  html body.page-docs:not(.page-safety) .cards { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.page-docs:not(.page-safety) :is(.card, .card .card-icon, .pager a, .docs-intro-links a) { transition: none !important; transform: none !important; }
}

/* ───────── scrollbars: hidden on every public page, scrolling still works ───────── */
html, html body, html body * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
html::-webkit-scrollbar, html body::-webkit-scrollbar, html body *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }

/* ───────── home hero title: a little smaller on desktop ───────── */
@media (min-width: 621px) { html body.page-home .hero h1 { font-size: clamp(44px, 6.6vw, 84px) !important; } }

/* ───────── raised pill buttons: download section and report forms ───────── */
html body[class] { --pill-bg: #2463d9; --pill-bg-hover: #2c6ff0; --pill-shade: #163f8a; --pill-ink: #fff; }
html body.page-home .download-main .button-primary,
html body[class] .report-send {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 9px;
  height: 54px !important; min-height: 54px !important; padding: 0 30px !important; border: 0 !important; border-radius: 27px !important;
  background: var(--pill-bg) !important; background-image: none !important; color: var(--pill-ink) !important;
  box-shadow: 0 5px 0 var(--pill-shade) !important; font-size: 1rem !important; font-weight: 750 !important; text-shadow: none !important;
  transition: background .15s, box-shadow .2s, transform .25s var(--dw-spring), border-radius .45s var(--dw-spring) !important;
}
html body.page-home .download-main .button-primary:is(:hover, :focus-visible),
html body[class] .report-send:not(:disabled):is(:hover, :focus-visible) {
  background: var(--pill-bg-hover) !important; transform: translateY(-1px); box-shadow: 0 6px 0 var(--pill-shade) !important;
}
html body.page-home .download-main .button-primary:active,
html body[class] .report-send:not(:disabled):active {
  border-radius: 20px !important; transform: translateY(4px) !important; box-shadow: 0 1px 0 var(--pill-shade) !important;
}
html body[class] .report-send:disabled { opacity: .55; transform: none !important; }
html body[class] .report-form > .report-send { justify-self: end; margin-top: 4px; }
html body.page-home .download-main { margin-top: 30px !important; padding-bottom: 5px; }
html body.page-home .download-platforms { gap: 8px !important; }
html body.page-home .download-platforms a,
html body.page-home .download-platforms a:is(:hover, :focus-visible) { min-height: 42px !important; padding: 0 16px !important; border-radius: 999px !important; }

/* ───────── report and appeal forms: soft rounded fields and reason chips ───────── */
html body.page-docs .report-form { border-radius: 28px !important; }
html body.page-docs .report-form .label { margin-left: 4px !important; }
html body.page-docs .report-form :is(input[type=text], input[type=password], select, textarea, .prefix) { border-radius: 20px !important; }
html body.page-docs .report-form :is(input[type=text], input[type=password], select, .prefix) { min-height: 52px; }
html body.page-docs .report-form .prefix input { min-height: 0; border-radius: 0 !important; }
html body.page-docs .reasons { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
html body.page-docs .reason {
  min-height: 44px !important; padding: 0 16px !important; border-radius: 14px !important; font-size: .92rem;
  transition: background .2s, color .2s, box-shadow .2s, border-radius .45s var(--dw-spring) !important;
}
html body.page-docs .reason::before { display: none !important; }
html body.page-docs .reason:hover { border-radius: 20px !important; }
html body.page-docs .reason:has(input:checked) { border-radius: 22px !important; background: var(--pill-bg) !important; color: #fff !important; box-shadow: none !important; }
@media (max-width: 480px) { html body[class] .report-form > .report-send { justify-self: stretch; } }

/* ───────── footer: rounded card with a brand column, link columns and the big wordmark ───────── */
html body[class] .site-footer { padding: clamp(40px, 6vw, 56px) 12px 12px !important; background: transparent !important; }
html body[class] .site-footer .footer-card {
  width: auto !important; max-width: 1180px !important; margin-inline: auto !important;
  padding: 48px 44px 18px !important; border: 0 !important; border-radius: 44px !important; box-shadow: none !important;
}
html body[class] .site-footer .footer-top {
  display: grid !important; grid-template-columns: minmax(250px, 360px) repeat(3, max-content) !important;
  justify-content: space-between !important; gap: 40px 56px !important; padding: 0 !important;
}
html body[class] .site-footer .footer-brand { display: flex !important; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0 !important; }
html body[class] .site-footer .footer-brand p { max-width: 340px !important; margin: 0 !important; font-size: 1.02rem !important; line-height: 1.55 !important; }
html body[class] .site-footer .footer-cta { margin: 0 !important; }
html body[class] .site-footer .footer-social { margin: 0 !important; }
html body[class] .site-footer .footer-col { display: flex !important; flex-direction: column; align-items: flex-start; gap: 10px; }
html body[class] .site-footer .footer-col h3 { margin: 0 0 4px !important; font-size: .78rem !important; letter-spacing: .08em !important; }
html body[class] .site-footer .footer-col a { margin: 0 !important; padding: 2px 0 3px !important; color: #23405f !important; font-size: .95rem !important; font-weight: 600 !important; }

html body[class] .site-footer .fpill {
  height: 48px; min-height: 48px; padding: 0 24px; border-radius: 24px;
  background: #2463d9 !important; color: #fff !important; font-weight: 750; box-shadow: none !important;
  transition: background .15s, box-shadow .25s, border-radius .45s var(--dw-spring), transform .35s var(--dw-spring) !important;
}
html body[class] .site-footer .fpill:is(:hover, :focus-visible) {
  background: #1a4fb8 !important; color: #fff !important; transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(20, 63, 140, .75) !important;
}
html body[class] .site-footer .fpill:active { border-radius: 12px; transform: scale(.97); }

html body[class] .site-footer .social-links { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin: 0 !important; }
html body[class] .site-footer .social-links a {
  position: relative; display: grid !important; place-items: center; width: 42px !important; height: 42px !important; padding: 0 !important;
  border-radius: 14px !important; background: rgba(36, 99, 217, .09) !important; color: #23405f !important;
  transition: background .2s, color .2s, border-radius .45s var(--dw-spring), transform .35s var(--dw-spring) !important;
}
html body[class] .site-footer .social-links a:is(:hover, :focus-visible) {
  border-radius: 21px !important; background: #2463d9 !important; color: #fff !important; transform: translateY(-2px) rotate(-6deg);
}
html body[class] .site-footer .social-links a:active { transform: scale(.94); }
html body[class] .site-footer .social-links svg { width: 18px !important; height: 18px !important; }
html body[class] .site-footer .social-links a span {
  position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
}

html body[class] .site-footer .footer-wordmark { margin: 34px auto 6px !important; }
html body[class] .site-footer .footer-bottom {
  margin: 0 !important; padding: 10px 4px 4px !important; border: 0 !important; border-top: 0 !important; font-size: 12.5px !important;
}

/* ───────── download platform links on the homepage: springy hover, icon picks up the accent ───────── */
html body.page-home .download-platforms a {
  transition: background .2s, border-color .2s, color .2s, border-radius .45s var(--dw-spring), transform .35s var(--dw-spring) !important;
}
html body.page-home .download-platforms a svg { transition: transform .35s var(--dw-spring), color .2s; }
html body.page-home .download-platforms a:is(:hover, :focus-visible) { transform: translateY(-2px); }
html body.page-home .download-platforms a:is(:hover, :focus-visible) svg { color: #78aaff; opacity: 1; transform: scale(1.12) rotate(-6deg); }
html body.page-home .download-platforms a:active { transform: scale(.97); }

@media (max-width: 1000px) {
  html body[class] .site-footer .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; justify-content: stretch !important; gap: 34px 24px !important; }
  html body[class] .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  html body[class] .site-footer { padding: 40px 8px 8px !important; }
  html body[class] .site-footer .footer-card { padding: 34px 22px 16px !important; border-radius: 34px !important; }
  html body[class] .site-footer .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 18px !important; }
  html body[class] .site-footer .footer-bottom { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body[class] .site-footer :is(.fpill, .social-links a),
  html body.page-home .download-platforms a,
  html body.page-home .download-platforms a svg { transition: none !important; transform: none !important; }
}
