/* Draft Lookout website. Plain CSS, no build step, nothing loaded from other servers.
   The pages themselves are written by the site's build script; the fonts are the site's own copies (assets/fonts/).
   The look follows the app (deep navy, violet, lime, condensed capital headings), kept calm: quiet surfaces in three
   steps, hairline borders with a light top rim, and lime only for the main button, the active tab and rare highlights. */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #070B17;
  --surface-1: #0C1226;   /* cards */
  --surface-2: #111933;   /* raised: hover, inner panels */
  --surface-3: #18223F;   /* highest: tier rows, cells */
  --hairline: rgba(255, 255, 255, .07);
  --hairline-2: rgba(255, 255, 255, .13);
  --rim: rgba(255, 255, 255, .12);
  --text: #C3CCE0;
  --strong: #F3F5FB;
  --muted: #8B96B1;
  --lime: #CEFC50;    /* the app's own accent, used sparingly */
  --violet: #6D4AFF;
  --peri: #A8B6FF;
  --gold: #F5C542;
  --silver: #C9D2DE;
  --bronze: #E0975A;
  --good: #9ED67F;    /* picks */
  --up: #74A800;      /* bars above the 50% line */
  --down: #8B7CFF;    /* bars below the 50% line; this pair passed the chart colour checks on the card colour */
  --track: rgba(255, 255, 255, .08);
  --link: #B4C0FF;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Roboto Condensed", "sans-serif-condensed", Bahnschrift, "Arial Narrow", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  font-feature-settings: "cv11";
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Ambient light behind everything: one violet glow at the top, one faint one low on the left. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(109, 74, 255, .20), transparent 70%),
    radial-gradient(700px 520px at -5% 85%, rgba(70, 86, 228, .10), transparent 70%);
}

::selection { background: var(--lime); color: #070B17; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-color: rgba(180, 192, 255, .4); text-underline-offset: 3px; }
a:hover { color: var(--strong); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, caption { color: var(--strong); font-family: var(--display); font-weight: 800; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(1.625rem, 3.6vw, 2rem); letter-spacing: .015em; }
h2 a { color: inherit; text-decoration: none; }
h2 a:hover { color: var(--peri); }
h3 { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; }
p { margin: 10px 0 0; }
strong, b { color: var(--strong); font-weight: 650; }
section[id] { scroll-margin-top: 80px; }
code { font-size: .875em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.dim { color: var(--muted); font-size: .875rem; }
.lead { max-width: 42em; color: var(--text); font-size: 1.0625rem; text-wrap: pretty; }
.pt { border-radius: 10px; background: var(--surface-3); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--lime); color: #070B17; }
.eyebrow { display: block; margin: 0; color: var(--muted); font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.chip { display: inline-block; margin: 0; padding: 4px 12px; border: 1px solid var(--hairline-2); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font: 600 .75rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.badge { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--strong); font: 700 .6875rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.badge.live { background: var(--lime); color: #070B17; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header. On a computer the active tab carries a thin lime line on the header's edge; on a phone the five tabs share
   the bar evenly and the owl is the way home. */
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--hairline); background: rgba(7, 11, 23, .8); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--strong); font: 800 1.3125rem/1 var(--display); letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.brand:hover { color: var(--strong); }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--hairline-2); }
.site-nav { display: flex; gap: 2px; }
.site-nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--text); font-size: .875rem; font-weight: 550; text-decoration: none; }
.site-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--strong); }
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--strong); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 12px; bottom: -14px; left: 12px; height: 2px; border-radius: 2px; background: var(--lime); }

@media (max-width: 560px) {
  .site-header .wrap { gap: 8px; min-height: 58px; padding: 0 10px; }
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header .brand.here img { box-shadow: 0 0 0 2px var(--lime); }
  .site-nav { flex: 1; justify-content: flex-end; max-width: 360px; margin-left: auto; }
  .site-nav .nav-home { display: none; }
  .site-nav a { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 7px 2px 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .01em; }
  .site-nav a .ic { width: 19px; height: 19px; }
  .site-nav a[aria-current="page"] { background: none; color: var(--lime); }
  .site-nav a[aria-current="page"]::after { right: 32%; bottom: -5px; left: 32%; }
}

/* Home and App: the hero panel. Layered light instead of a flat colour, a faint precision grid behind the picture,
   and a 1px light rim along the top edge. */
.hero { padding: 32px 0 8px; }
.panel { position: relative; isolation: isolate; display: grid; gap: 32px; padding: 40px 28px; overflow: hidden; border: 1px solid rgba(168, 182, 255, .16); border-radius: 28px;
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(124, 92, 255, .36), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(70, 86, 228, .2), transparent 60%),
    linear-gradient(160deg, #141B3F 0%, #0D1330 55%, #0A0F26 100%);
  box-shadow: inset 0 1px 0 var(--rim), 0 40px 90px -50px rgba(0, 0, 0, .9); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(55% 75% at 80% 45%, #000, transparent 75%); mask-image: radial-gradient(55% 75% at 80% 45%, #000, transparent 75%); }
.panel::after { content: ""; position: absolute; top: 0; right: 14%; left: 14%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }
.panel > * { min-width: 0; }
.panel .eyebrow { color: rgba(255, 255, 255, .7); }
.panel h1 { margin: 18px 0 0; color: #fff; font-size: clamp(3.25rem, 11vw, 6.25rem); letter-spacing: .005em; line-height: .9; }
.panel h1 em { color: var(--lime); font-style: normal; }
.panel .lead { margin-top: 18px; color: rgba(255, 255, 255, .86); font-size: clamp(1.0625rem, 2vw, 1.25rem); }

@media (min-width: 820px) {
  .hero { padding-top: 44px; }
  .panel { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: 64px 60px; }
}

/* The picture on the right: the owl mark in a glass frame, with three quiet labels for what the site holds. */
.showcase { position: relative; display: none; width: 340px; aspect-ratio: 1; margin: 0; justify-self: center; place-items: center; }
.mark { display: grid; place-items: center; width: 236px; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .14); border-radius: 52px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 55%), rgba(10, 15, 38, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 12px rgba(255, 255, 255, .022), 0 30px 70px -24px rgba(4, 6, 18, .85); }
.mark img { width: 172px; height: 172px; border-radius: 38px; box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .75); }
.callout { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(9, 13, 32, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 12px 30px -14px rgba(0, 0, 0, .85); color: var(--strong); font-size: .8125rem; font-weight: 600; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.callout::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 3px rgba(168, 182, 255, .18); }
.callout.c1 { top: 9%; left: -4%; }
.callout.c2 { top: 47%; right: -8%; }
.callout.c3 { bottom: 7%; left: 6%; }
@media (min-width: 820px) { .showcase { display: grid; } }

/* The App page shows the app itself: a screenshot in a quiet device frame. */
.device { position: relative; width: min(64vw, 252px); margin: 0; padding: 9px; justify-self: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 38px; background: linear-gradient(160deg, #1B2249, #0B1026); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .85); }
.device img { border-radius: 29px; }
.device .callout.c1 { top: 14%; left: -30%; }
.device .callout.c2 { top: 46%; right: -34%; }
.device .callout.c3 { bottom: 12%; left: -24%; }
@media (max-width: 819px) { .device .callout { display: none; } }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; }
.button { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; overflow: hidden; border: 0; border-radius: 12px; background: var(--lime); color: #070B17; font-weight: 650; letter-spacing: -.005em; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 32px -14px rgba(206, 252, 80, .6); }
.button:hover { color: #070B17; filter: brightness(1.05); }
.button.ghost { background: rgba(255, 255, 255, .06); color: var(--strong); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.button.ghost:hover { color: var(--strong); background: rgba(255, 255, 255, .1); filter: none; }
/* While the app is not on Google Play: a quiet line, not a second button. */
.status { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .7); font-size: .875rem; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 66, .16); }

/* Headline numbers */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 0; border: 1px solid var(--hairline); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent), var(--surface-1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.kpis div { min-width: 0; padding: 18px 22px; border-left: 1px solid var(--hairline); }
.kpis div:first-child { border-left: 0; }
.kpis dt { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.kpis dd { margin: 4px 0 0; color: var(--strong); font: 800 clamp(1.625rem, 4.4vw, 2.375rem)/1.05 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; text-wrap: balance; }

@media (max-width: 700px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(odd) { border-left: 0; }
  .kpis div:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}

/* The row of the most picked faces under the numbers, with its own small heading. */
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 0; }
.strip-head a { font-size: .875rem; font-weight: 600; text-decoration: none; }
.faces-row { margin-top: 14px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.run { display: flex; gap: 10px; width: max-content; padding: 4px 10px 4px 0; }
.run a { flex: none; border-radius: 14px; }
.run .pt { border: 1px solid var(--hairline-2); border-radius: 14px; }
.again { display: none; }

/* Page title on the inner pages */
.title { padding: 36px 0 8px; }
.title h1 { margin: 0; font-size: clamp(2.5rem, 7.5vw, 4rem); letter-spacing: .005em; line-height: .95; }
.crumb { margin: 0 0 14px; color: var(--muted); font-size: .875rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--strong); }
.who { position: relative; isolation: isolate; display: flex; align-items: center; gap: 22px; padding: 30px; overflow: hidden; border: 1px solid rgba(168, 182, 255, .14); border-radius: 24px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(124, 92, 255, .26), transparent 60%), linear-gradient(160deg, #121A3C, #0B1129 70%);
  box-shadow: inset 0 1px 0 var(--rim); }
.who::after { content: ""; position: absolute; top: 0; right: 18%; left: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); }
.who > div { min-width: 0; }
.who .lead { margin-top: 10px; }
.who .pt { flex: none; width: clamp(88px, 13vw, 128px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.jump a { padding: 7px 14px; border: 1px solid var(--hairline-2); border-radius: 999px; color: var(--text); font-size: .875rem; font-weight: 550; text-decoration: none; }
.jump a:hover { border-color: rgba(255, 255, 255, .28); color: var(--strong); }
.cue { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--hairline); border-left: 2px solid var(--gold); border-radius: 12px; background: var(--surface-1); }
.cue b { margin-right: 8px; color: var(--strong); font: 700 .8125rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
ul.plain { margin: 0; padding-left: 20px; }
ul.plain li { margin: 8px 0; }

/* Sections: one job each, separated by space and a hairline. */
.band { padding: 60px 0; }
.band + .band { border-top: 1px solid var(--hairline); }
.band > .wrap > :not(.head) + * { margin-top: 14px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.sub { max-width: 62em; margin: 8px 0 0; color: var(--muted); font-size: .9375rem; }
.more { color: var(--link); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--strong); }

.card { position: relative; padding: 20px; border: 1px solid var(--hairline); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 140px), var(--surface-1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
a.card { display: block; color: inherit; text-decoration: none; }
a.card::before { content: ""; position: absolute; top: -1px; right: 16px; left: 16px; height: 1px; background: linear-gradient(90deg, transparent, rgba(168, 182, 255, .8), transparent); opacity: 0; }
a.card:hover { border-color: var(--hairline-2); background-color: var(--surface-2); color: inherit; }
a.card:hover::before { opacity: 1; }
.ct { margin-bottom: 14px; }
.grid { display: grid; gap: 12px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.entries { grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); }
.grid.maps { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
.split { display: grid; gap: 12px; }
.split > * { min-width: 0; }
.mapart { justify-self: center; border: 1px solid var(--hairline-2); border-radius: 16px; background: #0A1024; }

@media (min-width: 880px) {
  .split { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .split.withmap { grid-template-columns: 224px 1fr; }
}

.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.card.stack { display: grid; gap: 18px; }

/* How a number is made: one quiet line on screen, the whole method behind a disclosure. */
details.method { max-width: 62em; }
.method > summary { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border: 1px solid var(--hairline-2); border-radius: 999px; color: var(--muted); font-size: .8125rem; font-weight: 600; list-style: none; cursor: pointer; user-select: none; }
.method > summary::-webkit-details-marker { display: none; }
.method > summary::before { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.method[open] > summary::before { margin-top: 3px; transform: rotate(-135deg); }
.method > summary:hover { border-color: rgba(255, 255, 255, .26); color: var(--strong); }
.method > div { margin-top: 10px; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-1); font-size: .875rem; }
.method > div > p:first-child { margin-top: 0; }

/* Tier list: one row per tier, in the app's four tier colours. The letter names the tier, the colour only repeats it. */
.t-s { --tc: var(--gold); }
.t-a { --tc: var(--lime); }
.t-b { --tc: var(--peri); }
.t-c { --tc: var(--muted); }
.tiers { display: grid; gap: 6px; padding: 10px; }
.tier { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.tier h3 { display: grid; place-items: center; height: 48px; border-radius: 10px; background: var(--tc); color: #070B17; font-size: 1.75rem; font-weight: 800; }
.tier ul, .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.tier a, .tiles a { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 7px 2px; border-radius: 10px; color: var(--text); font-size: .75rem; line-height: 1.25; text-align: center; text-decoration: none; }
.tier a:hover, .tiles a:hover { background: rgba(255, 255, 255, .06); color: var(--strong); }
.tier .pt, .tiles .pt { border-radius: 10px; }
.tier a span, .tiles a span { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.tier a b, .tiles a b { font-size: .75rem; font-variant-numeric: tabular-nums; }
.chip.grade { border-color: color-mix(in oklab, var(--tc) 60%, transparent); background: color-mix(in oklab, var(--tc) 10%, transparent); color: var(--tc); text-decoration: none; }
.chip.grade:hover { background: color-mix(in oklab, var(--tc) 18%, transparent); }

/* Coach notes: a pick or ban with its reason */
.notes { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.notes li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.notes .pt { flex: none; border-radius: 10px; }
.notes a { color: var(--strong); font-weight: 650; text-decoration: none; }
.notes a:hover { text-decoration: underline; }
.notes p { margin: 2px 0 0; font-size: .875rem; }
.tag { flex: none; min-width: 3.6em; margin-top: 1px; padding: 2px 8px; border: 1px solid; border-radius: 999px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.tag.picks { background: rgba(158, 214, 127, .08); color: var(--good); }
.tag.bans { background: rgba(255, 138, 138, .08); color: #FF9E9E; }

.table.narrow { max-width: 780px; }
table.wide { min-width: 620px; }
table.wide td { color: var(--strong); }
td.faces a { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; color: var(--strong); font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; }

/* Two brawlers in one table cell */
.duo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.duo i { color: var(--muted); font-style: normal; font-weight: 700; }
.duo span { white-space: nowrap; }

/* Cards with the five best brawlers */
.top5 .t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.top5 ol { display: flex; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.top5 li { display: grid; justify-items: center; gap: 4px; }
.top5 b { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.top5 li:nth-child(1) b { color: var(--gold); }
.top5 li:nth-child(2) b { color: var(--silver); }
.top5 li:nth-child(3) b { color: var(--bronze); }
.top5 li:nth-child(1) .pt { box-shadow: 0 0 0 2px var(--gold); }
.top5 .names { margin-top: 12px; color: var(--muted); font-size: .875rem; }

/* Brawler cards on the list page, and the search above them */
.card.entry { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; }
.card.entry .pt { flex: none; border-radius: 10px; }
.nm { display: grid; min-width: 0; margin-right: auto; }
.nm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm small { color: var(--muted); font-size: .75rem; }
.pill { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--strong); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; }
.finder[hidden] { display: none; }
.search { position: relative; flex: 1 1 280px; max-width: 440px; margin: 0; }
.search .ic { position: absolute; top: 50%; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; transform: translateY(-50%); }
.search input { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--hairline-2); border-radius: 12px; background: rgba(7, 11, 23, .6); color: var(--strong); font: inherit; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: rgba(168, 182, 255, .6); outline: none; box-shadow: 0 0 0 4px rgba(168, 182, 255, .14); }
.found { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.band[hidden], .card.entry[hidden] { display: none; }

/* Map tiles. Every picture sits in the same tall frame; square maps are shown whole inside it. */
.card.map { padding: 10px; border-radius: 16px; }
.card.map > img, .noart, .ph.img { display: block; width: 100%; height: auto; aspect-ratio: 224 / 360; margin-bottom: 10px; border-radius: 10px; object-fit: contain; background: radial-gradient(80% 60% at 50% 40%, rgba(109, 74, 255, .14), transparent 70%), #0A1024; }
.card.map h3 { font-size: 1.0625rem; }
.card.map p { margin: 2px 0 0; font-size: .75rem; }
.card.map .faces { display: flex; gap: 4px; margin-top: 10px; }
.card.map .faces .pt { border-radius: 8px; }

/* Live maps, drawn by live.js: real cards, the shimmering placeholders while they load, and the card for a map
   without a picture yet (a new map on patch day): its mode's colour, icon and a fine arena grid. */
.live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.event { position: relative; }
.event .badge { position: absolute; top: 18px; left: 18px; z-index: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.event h3 { margin-top: 2px; }
.skeleton { pointer-events: none; }
.ph { display: block; border-radius: 6px; background: linear-gradient(100deg, rgba(255, 255, 255, .035) 30%, rgba(255, 255, 255, .085) 50%, rgba(255, 255, 255, .035) 70%) 0 0 / 300% 100%; }
.skeleton .ph.img { background: linear-gradient(100deg, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, .02) 70%) 0 0 / 300% 100%, #0A1024; }
.ph.t { width: 72%; height: 15px; margin-top: 6px; }
.ph.s { width: 46%; height: 11px; margin-top: 9px; }
.ph.s + .ph.s { width: 58%; }
.noart { position: relative; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 12px; overflow: hidden; border: 1px solid color-mix(in oklab, var(--mc, var(--peri)) 26%, transparent); color: var(--mc, var(--peri));
  background: radial-gradient(70% 50% at 50% 44%, color-mix(in oklab, var(--mc, var(--peri)) 24%, transparent), transparent 72%), linear-gradient(180deg, #0F1634, #0A0F25); }
.noart::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 18px 18px; background-position: center; -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 25%, transparent 78%); mask-image: radial-gradient(circle at 50% 46%, #000 25%, transparent 78%); }
.noart::after { content: ""; position: absolute; inset: 12% 16%; z-index: -1; border: 1px dashed color-mix(in oklab, var(--mc, var(--peri)) 34%, transparent); border-radius: 14px; }
.noart svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px color-mix(in oklab, var(--mc, var(--peri)) 55%, transparent)); }
.noart span { max-width: 88%; color: var(--strong); font: 800 .875rem/1.15 var(--display); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.noart small { color: var(--muted); font-size: .6875rem; letter-spacing: .04em; }
[data-family="gem"] { --mc: #B892FF; }
[data-family="ball"] { --mc: #6FB7FF; }
[data-family="heist"] { --mc: #F3B95F; }
[data-family="bounty"] { --mc: #F5D06A; }
[data-family="zone"] { --mc: #FF8F8F; }
[data-family="knockout"] { --mc: #FFA26B; }
[data-family="showdown"] { --mc: #8EE07A; }
[data-family="hockey"] { --mc: #7FE3F0; }
[data-family="arena"] { --mc: #E58CFF; }
[data-family="duels"] { --mc: #FF9ECF; }
.button.refresh { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--strong); font-size: .8125rem; box-shadow: inset 0 0 0 1px var(--hairline-2); cursor: pointer; }
.button.refresh:hover { color: var(--strong); background: rgba(255, 255, 255, .1); filter: none; }
.button.refresh[disabled] { cursor: progress; opacity: .75; }
.button.refresh .ic { width: 15px; height: 15px; }
.button.refresh[data-state="done"] { color: var(--good); }
.button.refresh[data-state="failed"] { color: #FF9E9E; }
/* While a refresh runs, the cards on screen stay but step back. */
.grid.maps[aria-busy="true"] > .event { opacity: .5; }

/* Rows you swipe sideways: app screenshots */
.strip { display: flex; gap: 12px; margin: 0 -24px; padding: 4px 24px 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 24px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
.strip > * { flex: 0 0 150px; scroll-snap-align: start; }
.strip.shots { margin-top: 22px; }
.strip.shots > figure { flex-basis: min(66vw, 236px); margin: 0; }
.shots img { width: 100%; border: 1px solid var(--hairline-2); border-radius: 16px; }
.shots figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; }

/* Ranking tables: every row is its own quiet strip; the first three carry a medal mark on the left.
   The win-rate bar starts at the 50% line and spans 30% to 70%. Wide tables scroll inside their card, with the edges
   fading where more columns wait. */
.table { overflow-x: auto; container-type: inline-size; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
.table::-webkit-scrollbar { height: 6px; }
.table::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(255, 255, 255, .16); }
table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
caption { padding-bottom: 8px; font-size: 1.125rem; font-weight: 700; letter-spacing: .03em; text-align: left; }
thead th { padding: 4px 12px; color: var(--muted); font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
tbody th, tbody td { padding: 7px 12px; background: rgba(255, 255, 255, .028); font-weight: 400; text-align: left; }
tbody tr > :first-child { border-radius: 10px 0 0 10px; }
tbody tr > :last-child { border-radius: 0 10px 10px 0; }
tbody tr:hover > * { background: rgba(255, 255, 255, .06); }
.rk { width: 3.2em; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.medals tbody tr:nth-child(1) .rk { box-shadow: inset 2px 0 0 var(--gold); color: var(--gold); }
.medals tbody tr:nth-child(2) .rk { box-shadow: inset 2px 0 0 var(--silver); color: var(--silver); }
.medals tbody tr:nth-child(3) .rk { box-shadow: inset 2px 0 0 var(--bronze); color: var(--bronze); }
tbody th a { display: flex; align-items: center; gap: 10px; color: var(--strong); font-weight: 550; text-decoration: none; }
tbody th a:hover span { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
thead .n, td.n { text-align: right; white-space: nowrap; }
td.n { color: var(--strong); font-weight: 650; }
td.n.dim { color: var(--text); font-size: .875rem; font-weight: 400; }
.bar { width: 30%; min-width: 96px; }
.axis { display: flex; justify-content: space-between; font-weight: 400; letter-spacing: 0; }
.wr { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track); }
.wr::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: 50%; width: 1px; background: rgba(255, 255, 255, .35); }
.wr i { position: absolute; top: 0; bottom: 0; width: min(50%, calc(var(--d) * 2.5%)); }
.wr.up i { left: 50%; border-radius: 0 3px 3px 0; background: var(--up); }
.wr.down i { right: 50%; border-radius: 3px 0 0 3px; background: var(--down); }

@container (max-width: 430px) {
  .bar { display: none; }
  /* A duo stands as two rows, one brawler above the other. */
  .duo { flex-direction: column; align-items: flex-start; }
  .duo i { display: none; }
}

/* Graphs, each laid out like an exhibit: its own heading, the drawing on a quiet panel, a short legend.
   Text stays in the text colours; the marks carry the colour. Scatter: the S tier as faces with a gold ring, the rest
   in grey; the pair keeps its distance for colour-blind readers, and the S tier is also named on the chart. */
.card.chart { container-type: inline-size; padding: 24px; }
.card.chart .ct { margin-bottom: 18px; }
.plots { padding: 10px 6px 4px; border: 1px solid var(--hairline); border-radius: 14px; background: radial-gradient(90% 70% at 50% 0%, rgba(109, 74, 255, .07), transparent 70%), rgba(5, 8, 20, .5); }
.axis-x { margin: 12px 0 0; color: var(--muted); font-size: .8125rem; }
.mm { display: block; width: 100%; height: auto; }
.mm.tall { display: none; max-width: 440px; margin: 0 auto; }
@container (max-width: 600px) {
  .mm.wide { display: none; }
  .mm.tall { display: block; }
}
.mm .g { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.mm .g.mid { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 4 4; }
.mm text { fill: var(--muted); font-family: var(--sans); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.mm .d { fill: #7F8CB8; fill-opacity: .7; stroke: var(--surface-1); stroke-width: 2; }
.mm .d.s { clip-path: circle(50%); }
.mm .halo { fill: var(--surface-1); stroke: var(--gold); stroke-width: 2; }
.mm .lb { fill: var(--strong); font-size: 12.5px; font-weight: 650; paint-order: stroke; stroke: var(--surface-1); stroke-width: 4px; stroke-linejoin: round; }
.mm .lb.q { fill: var(--text); font-weight: 550; }
.mm .hit { fill: transparent; }
.mm .ring { fill: none; stroke: var(--lime); stroke-width: 2; opacity: 0; }
.mm .xh { fill: none; stroke: rgba(180, 192, 255, .55); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.mm .tip { fill: var(--strong); font-size: 12.5px; font-weight: 650; opacity: 0; paint-order: stroke; stroke: #04060E; stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.mm a:hover .ring, .mm a:hover .tip, .mm a:hover .xh, .mm a:focus .ring, .mm a:focus .tip, .mm a:focus .xh { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; color: var(--text); font-size: .8125rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 10px; height: 10px; border-radius: 50%; background: #7F8CB8; }
.key.s { background: var(--gold); }

/* Classes by mode: each cell is tinted by its distance from 50%, green above and violet below, plain at 50%.
   The number in the cell is the value; the tint only repeats it. */
@property --fl { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fr { syntax: "<length>"; inherits: false; initial-value: 36px; }
@keyframes edges { from { --fl: 0px; --fr: 36px; } 10% { --fl: 24px; } 90% { --fr: 24px; } to { --fl: 36px; --fr: 0px; } }
.heatcard { container-type: inline-size; }
@container (max-width: 700px) {
  .heat-wrap { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
  @supports (animation-timeline: scroll()) { .heat-wrap { animation: edges linear both; animation-timeline: scroll(self inline); } }
}
.heat { min-width: 600px; border-spacing: 3px; }
.heat thead a { color: inherit; text-decoration: none; }
.heat thead a:hover { color: var(--strong); }
.heat tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface-1); color: var(--strong); font-weight: 600; white-space: nowrap; }
.heat tbody tr > * { border-radius: 8px; }
.heat .hm { color: var(--strong); font-weight: 650; text-align: right; }
.heat .hm.up { background: color-mix(in oklab, var(--up) var(--p), var(--surface-3)); }
.heat .hm.down { background: color-mix(in oklab, var(--down) var(--p), var(--surface-3)); }
.heat .hm:hover { outline: 2px solid var(--peri); outline-offset: -2px; }
.scale { max-width: 340px; margin-top: 14px; color: var(--muted); font-size: .75rem; }
.scale i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in oklab, var(--down) 80%, var(--surface-3)), var(--surface-3) 50%, color-mix(in oklab, var(--up) 80%, var(--surface-3))); }
.scale p { display: flex; justify-content: space-between; margin: 4px 0 0; }

/* Lobby levels: three dots per brawler on a scale from 40% to 70%. One hue in three steps, lighter for stronger lobbies. */
.lv0 { border: 2px solid #5560D8; background: var(--surface-1); }
.lv1 { background: #8F9CFF; }
.lv2 { background: #DCE1FF; }
.dots { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.dots li { display: grid; grid-template-columns: clamp(96px, 28%, 150px) minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 7px 12px 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .028); }
.vals { display: inline-flex; gap: 10px; color: var(--strong); font-size: .75rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vals span { display: inline-flex; align-items: center; gap: 4px; }
.vals .key { width: 8px; height: 8px; }
.dots li.ax { padding-top: 0; padding-bottom: 0; background: none; color: var(--muted); font-size: .75rem; }
.dots a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--strong); font-weight: 550; text-decoration: none; }
.dots a:hover span { text-decoration: underline; }
.span { position: relative; display: block; height: 18px; }
.span::before { content: ""; position: absolute; top: 8px; right: 0; left: 0; height: 2px; border-radius: 1px; background: var(--track); }
.span::after { content: ""; position: absolute; top: 2px; bottom: 2px; left: 33.33%; width: 33.34%; border-right: 1px solid rgba(255, 255, 255, .18); border-left: 1px solid rgba(255, 255, 255, .38); }
.span b { position: absolute; top: 8px; right: calc(100% - var(--b)); left: var(--a); height: 2px; background: var(--muted); }
.span i { position: absolute; top: 4px; left: var(--x); z-index: 1; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface-1); }

/* Class spread: two faces on the scale, the class's own win rate as a white tick between them */
.cls { color: var(--strong); font-weight: 600; }
.span.s35 { height: 32px; }
.span.s35::before, .span.s35 b { top: 15px; }
.span.s35::after { top: 6px; bottom: 6px; left: 50%; width: 0; border-right: 0; }
.face { position: absolute; top: 2px; left: var(--x); z-index: 1; margin-left: -14px; }
.face .pt { border: 2px solid var(--surface-1); border-radius: 50%; }
.avg { position: absolute; top: 9px; left: var(--x); z-index: 1; width: 3px; height: 14px; margin-left: -1px; border-radius: 1px; background: var(--strong); }
.key.avg { position: static; width: 3px; height: 14px; margin: 0; border-radius: 1px; }
.bars.gain a span { display: grid; line-height: 1.2; }
.bars.gain small { color: var(--muted); font-size: .75rem; font-weight: 400; }

/* Bar list: most picked brawlers */
.bars { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(112px, 1fr) 1.15fr 3.4em; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .028); }
.bars a { display: flex; align-items: center; gap: 10px; color: var(--strong); font-weight: 550; text-decoration: none; }
.bars a:hover span { text-decoration: underline; }
.bars b { font-variant-numeric: tabular-nums; text-align: right; }
.track { display: block; height: 6px; border-radius: 0 3px 3px 0; background: var(--track); }
.track i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: var(--up); }

/* Brawler page: the build rows carry the app's own three colours */
.slot { display: flex; align-items: center; gap: 14px; }
.slot .ic { flex: none; width: 46px; height: 46px; padding: 12px; border: 1px solid; border-radius: 12px; }
.slot.g .ic { border-color: rgba(206, 252, 80, .4); background: rgba(206, 252, 80, .08); color: var(--lime); }
.slot.s .ic { border-color: rgba(245, 197, 66, .4); background: rgba(245, 197, 66, .08); color: var(--gold); }
.slot.r .ic { border-color: rgba(168, 182, 255, .4); background: rgba(168, 182, 255, .08); color: var(--peri); }
.slot div { display: grid; }
.slot b { font-size: 1.1875rem; }
.note { max-width: 62em; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tips .dim { color: var(--peri); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tips p { margin-top: 8px; }

/* Get the app: a small panel in the same light as the hero */
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 30px 32px; overflow: hidden; border-color: rgba(168, 182, 255, .16); border-radius: 24px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(124, 92, 255, .3), transparent 60%), linear-gradient(160deg, #141B3F, #0B1129 75%);
  box-shadow: inset 0 1px 0 var(--rim); }
.promo > div { max-width: 40em; }
.promo h2 { color: #fff; }
.promo p { margin-top: 8px; color: rgba(255, 255, 255, .82); }
.promo .cta { margin: 0; }

/* The App page: the overlay in a real match, as wide as the page so its text stays readable */
.ingame { display: grid; gap: 14px; }
.wide-shot { margin: 0; padding: 10px; }
.wide-shot img { width: 100%; border: 1px solid var(--hairline-2); border-radius: 12px; background: #0A1024; }
.wide-shot figcaption { margin: 12px 8px 4px; color: var(--muted); font-size: .875rem; }

/* The App page: one row per feature with its screenshot */
.tour { display: grid; gap: 14px; }
.feature { display: grid; align-items: center; gap: 22px; padding: 26px; }
.feature .no { margin: 0 0 8px; color: var(--peri); font: 700 .8125rem/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.feature h3 { font-size: clamp(1.5rem, 4vw, 1.875rem); font-weight: 800; }
.feature p { max-width: 32em; }
.feature figure { width: min(100%, 290px); margin: 0; justify-self: center; }
.feature img { border: 1px solid var(--hairline-2); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.feature figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; text-align: center; }
.grid.three > .card h3 { margin-bottom: 8px; }

@media (min-width: 760px) {
  .feature { grid-template-columns: 1fr 300px; gap: 56px; padding: 34px 52px; }
  .feature:nth-child(even) { grid-template-columns: 300px 1fr; }
  .feature figure { width: 300px; }
  .feature:nth-child(even) figure { order: -1; }
}

@media (min-width: 900px) {
  .strip { margin: 0; padding: 4px 0 14px; scroll-padding: 0; }
}

/* The AdSense unit at the end of a content page (D86). It takes room only once Google has filled it. */
ins.adsbygoogle { display: block; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad:has(ins[data-ad-status="filled"]) { padding: 28px 0; border-top: 1px solid var(--hairline); }

/* Footer. The unofficial notice is the last thing on every page, in normal text size. */
.site-footer { padding: 40px 0 52px; border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 140px), #060914; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer nav a { padding: 9px 0; color: var(--muted); font-size: .875rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--strong); }
.site-footer p { max-width: 56em; }
.notice { color: var(--text); font-size: 1rem; }

/* Text pages: privacy, data deletion, sources and licences */
.doc { max-width: 780px; font-size: 1rem; overflow-wrap: anywhere; }
.doc h1 { margin: 0 0 8px; font-size: clamp(2rem, 7vw, 2.75rem); }
.doc h2 { margin: 32px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); font-size: 1.3125rem; }
.doc h2:first-child { margin-top: 0; }
.doc .meta { margin: 0 0 24px; color: var(--muted); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc pre { margin: 12px 0 0; padding: 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-1); color: var(--muted); font-size: .8125rem; white-space: pre-wrap; }
.doc .card { margin: 16px 0; padding: 16px 18px; }
.doc .card h2 { margin-top: 0; padding: 0; border: 0; }
.doc .card > :last-child { margin-bottom: 0; }

/* Phones, for rules that have to come after the ones they change. */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .strip { margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; }
  .hero { padding-top: 20px; }
  .panel { padding: 32px 22px; border-radius: 24px; }
  .band { padding: 44px 0; }
  .card { padding: 16px; }
  .card.chart { padding: 16px; }
  .tier { grid-template-columns: 1fr; }
  .tier h3 { width: 48px; }
  .tier ul, .tiles { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .tier .pt, .tiles .pt { width: 44px; height: 44px; }
  .dots li { grid-template-columns: 96px minmax(0, 1fr); }
  .vals { grid-column: 2; }
  .who { gap: 16px; padding: 20px; }
  .promo { padding: 24px 22px; }
}

/* Motion. All of it is decoration: when the visitor asks for less motion, or the browser lacks a feature,
   the page is simply still and everything is in its place. Only transform and opacity move, with one ease. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
@keyframes progress { from { transform: scaleX(0); } }
@keyframes shine { to { transform: translateX(420%) skewX(-18deg); } }
@keyframes leave { to { opacity: 0; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* One page fades into the next (browsers with cross-page view transitions); the header stays put. */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: leave .14s ease-out both; }
  ::view-transition-new(root) { animation: enter .24s var(--ease) both; }
  .site-header { view-transition-name: site-header; }

  /* The hero comes in piece by piece; the owl mark and the phone float slowly. */
  .panel > div > * { animation: rise .7s var(--ease) both; }
  .panel > div > :nth-child(2) { animation-delay: .06s; }
  .panel > div > :nth-child(3) { animation-delay: .12s; }
  .panel > div > :nth-child(4) { animation-delay: .18s; }
  .mark, .device { animation: float 7s ease-in-out infinite; }
  .callout { animation: rise .7s var(--ease) both; }
  .callout.c1 { animation-delay: .3s; }
  .callout.c2 { animation-delay: .42s; }
  .callout.c3 { animation-delay: .54s; }
  .kpis > div { animation: rise .55s var(--ease) both; }
  .kpis > :nth-child(1) { animation-delay: .2s; }
  .kpis > :nth-child(2) { animation-delay: .26s; }
  .kpis > :nth-child(3) { animation-delay: .32s; }
  .kpis > :nth-child(4) { animation-delay: .38s; }
  .title .who { animation: rise .55s var(--ease) both; }

  /* The row of faces under the numbers moves slowly and stops under the pointer. */
  .faces-row { overflow: hidden; }
  .again { display: contents; }
  .again .pt { flex: none; }
  .run { animation: slide 90s linear infinite; }
  .faces-row:hover .run, .faces-row:focus-within .run { animation-play-state: paused; }
  .run a:hover .pt { border-color: rgba(255, 255, 255, .4); }

  /* Bars grow from the 50% line and dots pop in. */
  .wr i, .track i, .span b { animation: grow .9s var(--ease) both; }
  .wr.up i, .track i, .span b { transform-origin: left; }
  .wr.down i { transform-origin: right; }
  .mm .d { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 5ms); transform-box: fill-box; transform-origin: center; }
  .span i { animation: pop .5s var(--ease) both; }

  /* Things answer the pointer and the finger: a light line along the top edge, a small lift, a soft glow, and a
     short press. All with the same ease, nothing tilts. */
  a.card, a.card::before, .button, .site-nav a, .tier a, .tiles a, .jump a, .more, .chip.grade, .pt, .shots img, .feature img, .mapart, .card.map > img,
  tbody th, tbody td, .bars li, .dots li, .notes li, .method > summary, .search input, .crumb a, .site-footer nav a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .22s ease, transform .22s var(--ease), opacity .22s ease, filter .18s ease;
  }
  a.card:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 44px -26px rgba(109, 74, 255, .55); transform: translateY(-2px); }
  a:hover > .pt, a.card:hover .pt { transform: scale(1.05); }
  .tier a:hover .pt, .tiles a:hover .pt { transform: translateY(-2px) scale(1.06); }
  .card.map { overflow: hidden; }
  .card.map:hover > img { transform: scale(1.02); }
  .shots figure:hover img, .feature figure:hover img { box-shadow: 0 30px 60px -30px rgba(109, 74, 255, .6); transform: translateY(-4px); }
  .button:hover { transform: translateY(-1px); }
  .button::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); pointer-events: none; }
  .button.ghost::after, .button.refresh::after { content: none; }
  .button:hover::after { animation: shine .8s var(--ease); }
  .button:active, a.card:active, .site-nav a:active, .tier a:active, .tiles a:active, .jump a:active, .method > summary:active { transform: scale(.985); }
  .mm .ring, .mm .tip, .mm .xh { transition: opacity .14s ease; }
  .skeleton .ph { animation: shimmer 1.4s ease-in-out infinite; }
  .button.refresh[data-state="loading"] .ic { animation: spin .9s linear infinite; }

  /* A disclosure opens smoothly where the browser can animate to its natural height. */
  @supports (interpolate-size: allow-keywords) {
    details.method { interpolate-size: allow-keywords; }
    details.method::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
    details.method[open]::details-content { block-size: auto; }
  }

  /* While scrolling: each block rises into view over its first 140px, its bars and dots grow as it arrives, and a
     thin line under the header shows how far down the page is. Only browsers with scroll-driven animations get this. */
  @supports (animation-timeline: view()) {
    .band > .wrap > * { view-timeline: --block; }
    .band > .wrap > :not(.tour), .tour > .feature { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0px entry 140px; }
    .band .wr i, .band .track i, .band .span b, .band .span i, .band .mm .d { animation-delay: 0s; animation-timeline: --block; animation-range: entry 40px entry 380px; }
    .tier li, .tiles li, .grid.entries > a, .grid.maps > a { animation: pop linear both; animation-timeline: --block; animation-range: entry calc(20px + var(--k, 0) * 16px) entry calc(170px + var(--k, 0) * 16px); }
    :is(.tier li, .tiles li, .grid.entries > a, .grid.maps > a):nth-child(6n + 2) { --k: 1; }
    :is(.tier li, .tiles li, .grid.entries > a, .grid.maps > a):nth-child(6n + 3) { --k: 2; }
    :is(.tier li, .tiles li, .grid.entries > a, .grid.maps > a):nth-child(6n + 4) { --k: 3; }
    :is(.tier li, .tiles li, .grid.entries > a, .grid.maps > a):nth-child(6n + 5) { --k: 4; }
    :is(.tier li, .tiles li, .grid.entries > a, .grid.maps > a):nth-child(6n) { --k: 5; }
    .site-header::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: linear-gradient(90deg, var(--violet), var(--peri)); transform-origin: left; animation: progress linear both; animation-timeline: scroll(root); }
  }
}
