/* Kiliagon Horus.
   Brand tokens come from kiliagon.com: blue #174790, orange #E38110, Noto Sans, and the diamond motif.
   Shape rule: round means something a shopper typed (search box, query pill); squared means Kiliagon's structure. */
:root {
  color-scheme: light;
  --blue: #174790; --navy: #022a57; --orange: #e38110; --mid: #1769aa; --sky: #cce5f9; --sky-2: #eaf3fc;
  /* --field is the blue behind the header and hero; --head, --link and --mark are navy and blue as text, outline and chart mark. */
  --field: #174790; --head: #022a57; --link: #174790; --mark: #174790;
  --paper: #f3f6fb; --sheet: #fff; --ink: #152030; --ink-2: #48566b; --ink-3: #64748b; --rule: #d5deeb; --rule-2: #e7edf5;
  /* Chart series, validated on white with the dataviz palette checker: blue, orange, aqua, violet, magenta. */
  --s1: #1769aa; --s2: #e38110; --s2b: #e8943a; --s2c: #eda559; --s3: #1baf7a; --s4: #6250d6; --s5: #e87ba4; --quiet: #c3ccd9;
  --up: #006300; --down: #b3261e;
  /* --heat is the single hue of shaded cells (heat grid, treemap): mixed into the card colour, pale for low and strong for high. */
  --heat: #174790;
  /* --other is the band of everything folded into "Other" in a split: a neutral that stays apart from the fifth series and from --quiet. */
  --other: #64748b;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(1rem, 4vw, 2.5rem);
}
/* Dark theme. It applies when the visitor chose it, or when their system is dark and they have not chosen light.
   The two blocks must stay identical. Chart series are their own steps, validated on the dark card colour. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --blue: #2459ad; --navy: #0a2a55; --mid: #5aa5ea; --sky: #1f3b5e; --sky-2: #17273b;
  --field: #0f2240; --head: #eaf0f8; --link: #8db9f2; --mark: #6ea6ea;
  --paper: #0b121b; --sheet: #141d2a; --ink: #e6ecf5; --ink-2: #a7b4c6; --ink-3: #8592a6; --rule: #2b384b; --rule-2: #202b3b;
  --s1: #3d8bdc; --s2: #d17a22; --s2b: #dd9247; --s2c: #e6a96a; --s3: #23a877; --s4: #8170e6; --s5: #d46a98; --quiet: #45536a;
  --up: #62d06c; --down: #ff9a8f; --heat: #5aa5ea; --other: #b3bfd1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --blue: #2459ad; --navy: #0a2a55; --mid: #5aa5ea; --sky: #1f3b5e; --sky-2: #17273b;
    --field: #0f2240; --head: #eaf0f8; --link: #8db9f2; --mark: #6ea6ea;
    --paper: #0b121b; --sheet: #141d2a; --ink: #e6ecf5; --ink-2: #a7b4c6; --ink-3: #8592a6; --rule: #2b384b; --rule-2: #202b3b;
    --s1: #3d8bdc; --s2: #d17a22; --s2b: #dd9247; --s2c: #e6a96a; --s3: #23a877; --s4: #8170e6; --s5: #d46a98; --quiet: #45536a;
    --up: #62d06c; --down: #ff9a8f; --heat: #5aa5ea; --other: #b3bfd1;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 1rem/1.5 var(--font); color: var(--ink); background: var(--paper); }
a { color: var(--link); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 90; background: var(--sheet); padding: .5rem .8rem; border-radius: 6px; }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--ink-2); }
.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.n small { color: var(--ink-2); font-size: .82rem; margin-left: .35rem; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gut); }
kbd { font: 600 .78rem var(--font); border: 1px solid var(--rule); border-radius: 5px; padding: .05rem .4rem; color: var(--ink-2); background: var(--sheet); }

/* Header */
.top { background: var(--field); color: #fff; position: sticky; top: 0; z-index: 40; }
.top-in { max-width: 76rem; margin: 0 auto; padding: .65rem var(--gut); display: flex; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap; }
/* The logo and the word beside it share a baseline. The image's bottom edge sits on the word's baseline, and a third
   of the image is the descender of its g, so the image is moved down by that much: its letters then stand on the
   line the word stands on, with the g hanging below as a letter does. */
.wordmark { display: flex; align-items: baseline; gap: .5rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.wordmark img { display: block; height: 1.45rem; width: auto; transform: translateY(.49rem); }
.wordmark span { font-size: 1.15rem; font-weight: 400; letter-spacing: 0; opacity: .85; }
.top-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; padding: 0; color: #fff; background: none; border: 1px solid rgb(255 255 255 / .35); border-radius: 6px; cursor: pointer; }
.top-icon:hover { background: rgb(255 255 255 / .14); }
.top nav { display: flex; flex: 1; min-width: 0; overflow-x: auto; gap: 1.15rem; }
.top nav a { color: rgb(255 255 255 / .8); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.top nav a:hover { color: #fff; }
.top nav a[aria-current] { color: #fff; border-color: var(--orange); }
.top-end { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.rail.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .9rem; overflow: visible; padding: 0; margin-top: 1.25rem; }
@media (max-width: 560px) { .rail.wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .rail.wall .rail-b { padding: .6rem .65rem .7rem; } }
.rail-b small b { color: var(--head); font-size: .95rem; }
.sc-chg { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; min-height: 1.5rem; }
.sc-chg .chg.badge { white-space: nowrap; }
.sc-chg small { color: var(--ink-2); font-size: .75rem; }
.rail-b .rowtrend { width: 100%; height: 36px; margin-top: .2rem; }
.rail-b .rowtrend .tspark { height: 36px; }
/* Product cards: the product's photo on the white panel brand logos stand on, then the numbers. Amazon photos are shot on
   white, so the panel stays white in the dark theme too. */
.pc-img { position: relative; display: grid; place-items: center; height: 9.5rem; background: #fff; border-bottom: 1px solid var(--rule-2); }
.pc-img img { display: block; max-width: 82%; max-height: 8.25rem; object-fit: contain; }
.pc-img.none { background: var(--rule-2); color: var(--ink-3); font-size: .8rem; }
.pc-pos { position: absolute; top: .5rem; left: .5rem; min-width: 1.5rem; padding: .05rem .4rem; border-radius: 4px; background: var(--navy); color: #fff; font-size: .78rem; text-align: center; }
.pc-other { position: absolute; top: .5rem; right: .5rem; }
.pc-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; font-size: .92rem; line-height: 1.3; min-height: 2.6em; }
.pc-t b { font-weight: 700; color: var(--head); }
.pc-t.stem { min-height: 0; -webkit-line-clamp: 1; }
.rail-b .pc-path { color: var(--link); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-b .pc-v { color: var(--head); font-weight: 700; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-kind { display: flex; align-items: center; gap: .6rem; margin: 0; }
.crumbs-l { margin: .25rem 0 0; color: var(--ink-2); font-size: .9rem; }
.tree-open { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.rail-b .pc-m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-b .pc-k { margin-top: .15rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rail.wall.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rail.wall.prodwall { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
@media (max-width: 560px) { .rail.wall.trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pc-img { height: 7.5rem; } .pc-img img { max-height: 6.5rem; } }
/* One product's page: its photo beside its name */
.prod-top { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin: .5rem 0 1.25rem; }
.pc-img.big { height: 16rem; border: 1px solid var(--rule); border-radius: 12px; }
.pc-img.big img { max-height: 14rem; }
.prod-title { margin: .3rem 0 .4rem; font-size: 1.5rem; line-height: 1.3; }
.prod-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--ink-2); }
.tile-v.sm { font-size: 1.25rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .prod-top { grid-template-columns: minmax(0, 1fr); } .pc-img.big { height: 12rem; } }
/* The sign-out button shows an icon and keeps its name for screen readers and as a tooltip. */
/* Marketplace picker: one flag for each marketplace. The current one is underlined like the current page. */
.scope { display: flex; align-items: center; gap: .15rem; }
.scope button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .4rem .3rem; cursor: pointer; opacity: .6; }
.scope button:hover, .scope button[aria-pressed="true"] { opacity: 1; }
.scope button[aria-pressed="true"] { border-color: var(--orange); }
/* Flags are drawn here because Windows has no flag emoji. */
.flag { display: block; width: 1.5rem; height: 1rem; border-radius: 2px; box-shadow: 0 0 0 1px rgb(255 255 255 / .35); background: center / cover no-repeat; }
.flag-IT { background-image: linear-gradient(90deg, #009246 33.4%, #fff 0 66.6%, #ce2b37 0); }
.flag-FR { background-image: linear-gradient(90deg, #0055a4 33.4%, #fff 0 66.6%, #ef4135 0); }
.flag-DE { background-image: linear-gradient(#000 33.4%, #d00 0 66.6%, #ffce00 0); }
.flag-ES { background-image: linear-gradient(#aa151b 25%, #f1bf00 0 75%, #aa151b 0); }
.flag-UK { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' clip-path='url(%23t)' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/svg%3E"); }

/* Search */
.sb { position: relative; display: block; }
.sb-box { display: flex; align-items: center; gap: .55rem; height: 2.5rem; padding: 0 .9rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-3); cursor: text; }
.sb-box:focus-within { border-color: var(--link); box-shadow: 0 0 0 3px var(--sky); }
.sb-in { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 .95rem var(--font); color: var(--ink); }
.sb-in::placeholder { color: var(--ink-3); opacity: 1; }
/* The search box floats at the bottom of every page but Home, where the hero has its own. It lets the page show
   through, blurred; where blur is not available it is nearly opaque instead. Its suggestions open upwards. */
.dock { position: fixed; z-index: 55; left: 50%; bottom: 1rem; width: min(38rem, calc(100% - 2rem)); transform: translateX(-50%); }
.dock .sb-box { height: 3.1rem; padding: 0 1.2rem; background: color-mix(in srgb, var(--sheet) 72%, transparent); border-color: color-mix(in srgb, var(--ink-3) 40%, transparent); box-shadow: 0 16px 40px -14px rgb(2 20 50 / .5); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dock .sb-box { background: color-mix(in srgb, var(--sheet) 95%, transparent); } }
.dock .sb-box:focus-within { background: var(--sheet); }
.dock .sb-in { font-size: 1rem; }
.dock .sb-list { top: auto; bottom: calc(100% + 8px); }
body[data-dock] .foot { padding-bottom: 6rem; }
body[data-dock] > kiliagon-footer { --kiliagon-footer-padding: 10px 0 6rem; }
body[data-dock] .tray { bottom: 5rem; }
.sb.lg .sb-box { height: 4rem; padding: 0 1.4rem; gap: .9rem; border: 2px solid var(--link); }
.sb.lg .sb-in { font-size: 1.25rem; }
.wrap > .sb.lg { margin-bottom: 1.25rem; }
.hero .wrap > .sb.lg { margin-bottom: 0; }
.sb-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: min(26rem, 62vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--quiet) transparent; margin: 0; padding: .5rem; list-style: none; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 18px 44px -14px rgb(2 42 87 / .35); max-height: 60vh; overflow: auto; color: var(--ink); text-align: left; }
.sb-main { display: grid; min-width: 0; line-height: 1.3; }
.sb-main small { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .45rem; color: var(--ink-2); font-size: .8rem; }
.sb-opt .logo { margin-left: auto; }
.sb-h { font-size: .78rem; font-weight: 700; color: var(--ink-3); padding: .55rem .75rem .25rem; }
.sb-opt { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border-radius: 8px; cursor: pointer; }
.sb-opt:hover, .sb-opt[aria-selected="true"] { background: var(--sky-2); }
.sb-term, .sb-ent { font-weight: 600; }
.sb-meta { margin-left: auto; color: var(--ink-2); font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-note { padding: .6rem .75rem; color: var(--ink-2); font-size: .85rem; border-top: 1px solid var(--rule-2); margin-top: .25rem; }

/* Query pill: exactly what a shopper typed. Tags and entity links are squared. */
.q { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .26rem .75rem .26rem .55rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.q .ic { color: var(--ink-3); }
.q:hover { border-color: var(--link); background: var(--sky-2); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .42rem; border-radius: 4px; background: var(--rule-2); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.tag.hot { background: var(--orange); color: var(--navy); }
.tag.hot::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .35rem; background: currentColor; transform: rotate(45deg); vertical-align: .06em; }
.tag.new { background: var(--navy); color: #fff; }
.logo { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: var(--rule-2); color: var(--ink-2); font-size: .95rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.logo img { display: block; width: 100%; height: 100%; padding: 12%; object-fit: contain; background: #fff; }
.logo.sm { width: 1.75rem; height: 1.75rem; border-radius: 6px; font-size: .8rem; }
.logo.lg { width: 3.25rem; height: 3.25rem; border-radius: 10px; font-size: 1.4rem; }
/* A brand badge in a list row: a round logo and the brand's name. */
.logo.dot { width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: .68rem; }
.logo.dot img { padding: 8%; }
.bbadge { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .1rem .55rem .1rem .12rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.2; text-decoration: none; vertical-align: middle; }
.bbadge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.bbadge:hover, a.bbadge:focus-visible { border-color: var(--link); color: var(--link); }
.bbadge.fits { font-weight: 600; color: var(--link); }
.bl { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.tag.brand { background: var(--blue); color: #fff; text-decoration: none; }
a.tag.brand:hover { background: var(--navy); }
.tag.fits { padding: .05rem .38rem; background: var(--sheet); border: 1px solid var(--link); color: var(--link); text-decoration: none; }
.qb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
.ghost { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid var(--rule); background: var(--sheet); border-radius: 6px; padding: .3rem .6rem; font: 600 .8rem var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ghost:hover { border-color: var(--link); color: var(--link); }
.btn { display: inline-block; background: var(--blue); color: #fff; border-radius: 6px; padding: .55rem 1rem; font-weight: 700; text-decoration: none; }
.btn.warm { background: var(--orange); color: var(--navy); }
.ghost.icon { padding: .3rem .4rem; }
/* A list page (Brands, Categories): every row is a card of its own under the headings that sort the list. The name
   comes first and large, then the number, a small trend and the change as a badge. A card opens its page. */
.cardlist { margin-top: 2rem; }
.cardlist .sec-h { justify-content: space-between; margin-bottom: .4rem; }
.tbl.cards { border-collapse: separate; border-spacing: 0 .6rem; margin-top: -.3rem; }
.tbl.cards th { padding: 0 1.1rem; border-bottom: 0; }
.tbl.cards th:first-child { padding-left: 1.4rem; }
.tbl.cards th:last-child { padding-right: 1.4rem; }
.tbl.cards td { padding: .95rem 1.1rem; background: var(--sheet); border: solid var(--rule); border-width: 1px 0; }
.tbl.cards td:first-child { padding-left: 1.4rem; border-left-width: 1px; border-radius: 12px 0 0 12px; }
.tbl.cards td:last-child { padding-right: 1.4rem; border-right-width: 1px; border-radius: 0 12px 12px 0; }
.tbl.cards td[colspan] { border-radius: 12px; }
.tbl.cards tr.go { cursor: pointer; }
.tbl.cards tr.go:hover td { background: var(--sky-2); }
.sort-sel { display: none; }
.rn { display: grid; gap: .35rem; justify-items: start; min-width: 12rem; }
.rn.pic { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .9rem; }
.rn.pic .logo { width: 3rem; height: 3rem; border-radius: 10px; font-size: 1.2rem; }
.rn-t { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--head); text-decoration: none; }
a.rn-t:hover, tr.go:hover a.rn-t { text-decoration: underline; text-underline-offset: .18em; }
.tag.dept { background: var(--sky); color: var(--head); font-weight: 600; text-decoration: none; }
a.tag.dept:hover { background: var(--blue); color: #fff; }
.rv { display: inline-grid; justify-items: end; line-height: 1.2; }
.rv strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--head); }
.tbl td.n .rv small { margin: 0; font-size: .78rem; color: var(--ink-2); }
.c-more .rv strong { font-size: 1rem; }
.tbl td.n small.c-note, .c-word { display: none; }
.rowtrend { width: 11rem; height: 40px; }
.rowtrend .tspark { height: 40px; margin: 0; }
.chg.badge { display: inline-block; padding: .18rem .55rem; border-radius: 4px; font-size: .84rem; font-weight: 700; }
.chg.badge.up { background: color-mix(in srgb, var(--up) 13%, transparent); }
.chg.badge.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.chg { font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.chg.up { color: var(--up); }

/* Home hero: the brand blue field with its diamonds */
.hero { position: relative; z-index: 5; background: var(--field); color: #fff; }
.hero-stage { position: relative; }
.hero-in { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; padding-top: clamp(2.25rem, 5vw, 3.5rem); padding-bottom: 4.6rem; }
.hero .hero-in > h1 { margin: 0; color: #fff; font-size: clamp(2.05rem, 4.2vw, 3.1rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.hero h1 > span { display: block; }
/* The marketplace in the headline changes with each example. */
.hero .hero-in > h1 > .hero-word { position: relative; box-sizing: border-box; width: fit-content; max-width: 100%; overflow: hidden; margin: .1em 0 .1em -.16em; padding: 0 .16em; background: var(--orange); color: var(--navy); font-weight: 800; }
/* While the country changes, the name leaving is laid over the one arriving, and the box clips both (app.js slideWord). */
.hero-word .hw { display: inline-block; vertical-align: top; }
.hero-word .hw.out { position: absolute; left: .16em; top: 0; white-space: nowrap; }
.hero-word .hw.in { white-space: nowrap; }
.hero-find { padding-top: clamp(0rem, 5vw, 4.1rem); }
.hero-sub { margin: 1rem 0 1.75rem; max-width: 42rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #ffc078; }
.hero .sb.lg .sb-box { border: 0; box-shadow: 0 16px 40px -14px rgb(2 20 50 / .7); }
.sb.go .sb-box { padding-right: 8.4rem; }
.sb-go { position: absolute; z-index: 1; top: .55rem; right: .55rem; height: 2.9rem; padding: 0 1.5rem; background: var(--orange); color: var(--navy); border: 0; border-radius: 999px; font: 700 1rem var(--font); cursor: pointer; }
.sb-go:hover { filter: brightness(1.08); }
.hero-chart { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 58%; pointer-events: none; }
.hc-other { fill: none; stroke: rgb(255 255 255 / .17); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.hc-line { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hc-area { fill: url(#heroFill); }
.hero-foot { position: relative; z-index: 2; background: rgb(2 20 50 / .28); border-top: 1px solid rgb(255 255 255 / .16); }
.hero-foot > .wrap { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 3.4rem; padding-top: .5rem; padding-bottom: .5rem; }
.hero-note { margin: 0; min-height: 1.4em; font-size: .88rem; color: rgb(255 255 255 / .8); }
.hero-note strong { color: #fff; }
.hero-ctl { display: flex; align-items: center; gap: .9rem; }
.hero-dots { display: flex; align-items: center; gap: .1rem; }
.hero-dot { position: relative; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; background: none; border: 0; cursor: pointer; }
.hero-dot::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: rgb(255 255 255 / .45); }
/* The current example is a longer marker. While the examples play, its orange part grows over the example's turn. */
.hero-dot[aria-current] { width: 3.2rem; }
.hero-dot[aria-current]::before { width: 2.6rem; background: rgb(255 255 255 / .28); }
.hero-dot[aria-current]::after { content: ""; position: absolute; left: .3rem; top: 50%; width: 2.6rem; height: .5rem; margin-top: -.25rem; border-radius: 999px; background: var(--orange); }
.hero-dots[data-playing] .hero-dot[aria-current]::after { animation: heroTurn var(--turn, 6.5s) linear forwards; }
@keyframes heroTurn { from { clip-path: inset(0 92% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }
.hero-play { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0; color: #fff; background: none; border: 1.5px solid rgb(255 255 255 / .6); border-radius: 50%; cursor: pointer; }
.hero-play:hover { background: rgb(255 255 255 / .14); }
.hero .q { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .35); color: #fff; }
.hero .q:hover { background: rgb(255 255 255 / .24); border-color: #fff; }
.hero .q .ic { color: rgb(255 255 255 / .75); }
.ent { display: inline-flex; align-items: center; gap: .45rem; padding: .26rem .55rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 6px; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.ent:hover { background: rgb(255 255 255 / .16); }
.hero .tag { background: var(--orange); color: var(--navy); }
.hero-keys { margin: .9rem 0 0 1.4rem; font-size: .85rem; color: rgb(255 255 255 / .75); }
.hero-keys kbd { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .4); color: #fff; }
.hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dia { position: absolute; }
.dia.tr { top: -18px; right: -18px; width: min(34vw, 440px); }
.dia.bl { display: none; bottom: -18px; left: -18px; width: 250px; }
@media (min-width: 1400px) { .dia.bl { display: block; } }

/* Page text */
.wrap > h1 { margin: 2.2rem 0 .5rem; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--head); }
h1 .tag { font-size: .85rem; vertical-align: .55em; }
.wrap > h1.with-logo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.lede { margin: 0 0 1.25rem; max-width: 64ch; font-size: 1.05rem; color: var(--ink-2); }
.trail { margin: 2rem 0 -1.7rem; font-size: .9rem; }
.crumbs .sep { margin: 0 .35rem; color: var(--ink-3); }
.band-h { margin: 2.6rem 0 .2rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--head); }
.state { max-width: 46rem; padding: 1.25rem 1.5rem; background: var(--sky-2); border: 1px solid var(--sky); border-radius: 12px; }
.state p { margin: .45rem 0; }

/* Sheets and grid */
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 1.35rem 1.5rem 1.5rem; }
.sheet h2, .sheet h3 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--head); }
.sheet-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.sheet-h > .controls, .sheet-h > .segc { margin: 0; }
.sub { margin: .3rem 0 1rem; max-width: 68ch; font-size: .9rem; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.grid > * > .sheet { height: 100%; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; } .c6 { grid-column: span 6; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; }
.col { display: flex; flex-direction: column; gap: 1rem; }
.grid + .sheet { margin-top: 1rem; }
.grid > .col > .sheet { height: auto; }
@media (max-width: 900px) { .c8, .c7, .c6, .c5, .c4 { grid-column: span 12; } .peek-col, .row-hit { display: none; } }

/* Controls */
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.1rem 0; }
.controls.tight { margin: 0 0 1rem; }
.segc { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; }
.segc button { border: 0; background: none; border-radius: 5px; padding: .38rem .8rem; font: 600 .86rem var(--font); color: var(--ink-2); cursor: pointer; }
.segc button:hover { background: var(--sky-2); }
.segc button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.segc button:disabled { opacity: .45; cursor: not-allowed; background: none; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.75rem 0 0; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .45rem .4rem 1rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px; font-size: 1.2rem; font-weight: 700; color: var(--head); }
.dot { width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.chip button { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.chip button:hover { background: var(--rule-2); color: var(--ink); }
.chips .sb { width: 15rem; }
.chips .sb-box { height: 2.75rem; }

/* Figures */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 22rem)); gap: 1.25rem 2rem; margin: 1.5rem 0; }
.tile { border-top: 3px solid var(--c, var(--head)); padding-top: .7rem; }
.tile-l { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.tile-b { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: .3rem 0 .15rem; font-size: .82rem; color: var(--ink-2); }
.tile-v { font-size: 2.3rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--head); }
.tile-s { font-size: .88rem; color: var(--ink-2); }
.tile-d { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .3rem; }
.track { display: block; height: 10px; }
.track i { display: block; height: 100%; min-width: 2px; background: var(--mid); border-radius: 0 4px 4px 0; }
.est { display: grid; grid-template-columns: minmax(5rem, 1fr) 6.5rem 7.5rem; gap: .75rem; align-items: center; }
.est strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.est small { color: var(--ink-2); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* A list without ranges gives the bar the room the range would take. */
.est.bare { grid-template-columns: minmax(5rem, 1fr) 4.6rem; }
.est.bare small { display: none; }
.est.bare strong { text-align: right; }
.rbar { position: relative; display: block; height: 10px; }
.rbar i { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--c, var(--mid)); border-radius: 0 4px 4px 0; }
.rbar b { position: absolute; top: 4px; left: var(--lo); width: calc(var(--hi) - var(--lo)); height: 2px; background: var(--head); }
.rbar b::before, .rbar b::after { content: ""; position: absolute; top: -3px; width: 2px; height: 8px; background: var(--head); }
.rbar b::before { left: 0; } .rbar b::after { right: 0; }
.rbar.floor i { width: calc(var(--v) + 14%); border-radius: 0; background: linear-gradient(90deg, var(--c, var(--mid)) 55%, transparent); }
.rbar.floor b, .rbar.plain b { display: none; }
.seg { display: flex; gap: 2px; height: 28px; }
.seg-b { display: flex; align-items: center; min-width: 4px; padding: 0 0 0 .5rem; border: 0; border-radius: 4px; font: inherit; }
button.seg-b { cursor: pointer; }
.seg-b em { font-style: normal; font-size: .8rem; font-weight: 700; color: #fff; }
.seg-b em.dark { color: var(--ink); }
.seg-b.on { outline: 2px solid var(--head); outline-offset: 2px; }
.seg:has(.on) .seg-b:not(.on) { opacity: .35; }
.seg.thin { height: 8px; }
.seg.thin .seg-b { padding: 0; border-radius: 99px; }
.legend { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: .9rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend i, .intent i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.legend strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.legend.keys { margin-top: .4rem; }
/* A legend that switches layers: each name is a button, a layer switched off keeps an empty swatch and a struck name. */
.legend.switches { gap: .25rem .6rem; }
.lg-sw { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .5rem; border: 0; border-radius: 6px; background: none; font: inherit; color: var(--ink-2); cursor: pointer; }
.lg-sw i { width: 10px; height: 10px; border-radius: 2px; flex: none; background: var(--k); box-shadow: inset 0 0 0 1.5px var(--k); }
.lg-sw:hover:not(:disabled) { background: var(--sky-2); }
.lg-sw:disabled { cursor: default; }
.lg-sw.off { color: var(--ink-3); }
.lg-sw.off i { background: none; }
.lg-sw.off .lg-n { text-decoration: line-through; text-decoration-thickness: 1px; }
.lg-sw.off strong { color: var(--ink-3); font-weight: 500; }
.lg-hint { color: var(--ink-3); font-size: .8rem; padding: .25rem 0; }
.legend.switches .link-btn { font-size: .85rem; }
.legend.keys i { height: 2px; width: 14px; border-radius: 2px; }
.intent { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }

/* Lists */
.trend, .room, .bars, .prods, .rel, .pulse, .season { list-style: none; margin: 0; padding: 0; }
.trend li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) 8rem 92px auto; gap: .9rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--rule-2); }
.trend li:first-child, .room li:first-child, .bars li:first-child, .rel li:first-child, .prods li:first-child { border-top: 0; }
/* Trending now: rows that open a detail panel beside the list */
.trend.pick li { position: relative; grid-template-columns: 1.6rem minmax(0, 1fr) 8rem 92px; padding-inline: .6rem; }
.row-hit { position: absolute; inset: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.row-hit:hover { background: var(--sky-2); }
.trend.pick li[aria-current] .row-hit { background: var(--sky-2); }
.trend.pick li > :not(.row-hit) { position: relative; z-index: 1; pointer-events: none; }
.trend.pick li a, .trend.pick li .ghost { pointer-events: auto; }
.grid > .peek-col > .sheet { height: auto; }
.peek { position: sticky; top: 4.75rem; }
.peek-h { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; }
.peek-h .q { font-size: 1.1rem; }
.peek-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; margin: .7rem 0 .5rem; font-size: .9rem; color: var(--ink-2); }
.peek-n strong { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--head); }
.peek-a { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 0; }
.peek-a .ghost { padding: .52rem .8rem; font-size: .86rem; text-decoration: none; }
.peek-m { margin: .7rem 0 0; font-size: .86rem; color: var(--ink-2); }
.peek h2 { margin: 1.1rem 0 .4rem; font-size: .95rem; }
.plot.small { min-height: 0; }
.mini { margin: 0; padding: 0; list-style: none; }
.mini li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--rule-2); }
.mini li:first-child { border-top: 0; }
.mini-t { display: grid; min-width: 0; line-height: 1.3; }
.mini-t strong { overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-t small { color: var(--ink-2); font-size: .8rem; }
.mini .n { font-size: .86rem; }
.pos { font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; min-width: 0; }
.who small { flex-basis: 100%; color: var(--ink-2); font-size: .82rem; }
.rk { display: grid; line-height: 1.3; font-variant-numeric: tabular-nums; }
.rk .rk-r { font-size: .78rem; color: var(--ink-2); }
/* A page without the period control says once which weeks it shows. */
.sub.fixed-weeks { margin: .9rem 0 .2rem; font-weight: 600; color: var(--ink-2); }
.room li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--rule-2); }
.room .q { justify-self: start; }
.room .seg, .room li > small { grid-column: 1 / -1; }
.room li > small { color: var(--ink-2); font-size: .82rem; }
.bars li { display: grid; grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr) minmax(7rem, auto); gap: .9rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--rule-2); }
.bars li > a, .bars li > span:first-child { font-weight: 600; overflow-wrap: anywhere; }
.bars.mk a[aria-current] { color: var(--head); font-weight: 800; text-decoration: none; }
.bars.wide { margin-top: 1rem; }
/* In a narrow card the name and the figure keep to their own width and the bar takes what is left. */
.bars.slim li { grid-template-columns: minmax(5rem, 7.5rem) minmax(2.5rem, 1fr) auto; }
.stack { display: block; min-width: 6px; }
.rel li { display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--rule-2); }
.rel .q { justify-self: start; }
.sheet > .segc { margin-bottom: .6rem; }
.verdict { margin: .9rem 0; font-size: .95rem; }
.prods li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; padding: .75rem 0; border-top: 1px solid var(--rule-2); }
.pimg { position: relative; display: block; width: 4.5rem; height: 4.5rem; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--rule-2); }
.pimg img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pimg.sm { width: 2.5rem; height: 2.5rem; border-radius: 6px; }
.pimg b { position: absolute; top: 0; left: 0; min-width: 1.35rem; padding: .05rem .3rem; border-radius: 0 0 6px 0; background: var(--navy); color: #fff; font-size: .75rem; text-align: center; }
.prod-m { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: .1rem 0 .45rem; font-size: .86rem; }
.prod-m > :first-child { font-weight: 600; }
.prod-h { display: flex; justify-content: space-between; gap: 1rem; }
.prods small { display: block; margin-top: .3rem; color: var(--ink-2); font-size: .82rem; }
.prods summary { margin-top: .35rem; color: var(--link); font-size: .88rem; font-weight: 600; cursor: pointer; }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--rule-2); }
.kv > div:first-child { border-top: 0; }
.kv dt { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.kv dd { margin: 0; }
.pulse { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; margin-top: .9rem; }
.pulse a { display: grid; gap: .1rem; padding: 1rem 1.1rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; color: inherit; text-decoration: none; }
.pulse a:hover { border-color: var(--link); }
.pulse a[aria-current] { background: var(--sky-2); }
.pulse a[aria-current] > span:first-child { color: var(--head); font-weight: 700; }
.pulse a[aria-current] > span:first-child::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; background: var(--orange); transform: rotate(45deg); vertical-align: .05em; }
.pulse a > span:first-child { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pulse strong { font-size: 1.6rem; font-weight: 700; color: var(--head); line-height: 1.2; }
.pulse .spark { width: 100%; height: auto; margin-top: .4rem; }
.season { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2rem; }
.season li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--rule); }
.season .q { justify-self: start; }
.season .spark { grid-column: 2; grid-row: 1 / 3; }

/* Brand cards in a sideways-scrolling row */
.rails > * > .sheet h2 { margin-bottom: .8rem; }
.rail { display: flex; gap: .75rem; margin: 0; padding: 0 0 .5rem; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; }
.rail li { flex: 0 0 11rem; scroll-snap-align: start; }
.rail a { display: block; height: 100%; overflow: hidden; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; color: inherit; text-decoration: none; }
.rail a:hover { border-color: var(--link); }
/* A brand card: its place in the top left corner, then the name with the logo as a small mark beside it. */
.bt-h { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.rail-b .bt-h strong { color: var(--head); font-size: 1.05rem; line-height: 1.2; }
.rail-b .bt-k { justify-self: start; margin-bottom: .3rem; }
.rail-b { display: grid; gap: .15rem; padding: .7rem .8rem .8rem; }
.rail-b strong { overflow-wrap: anywhere; }
.rail-b small { color: var(--ink-2); font-size: .8rem; }
.rail-b .track { height: 6px; margin: .35rem 0 .15rem; }
.rail-b .chg { white-space: normal; }

/* A band heading with a link beside it */
.sheet-h.band { margin-top: 2.6rem; align-items: baseline; }
.sheet-h.band .band-h { margin: 0; }

/* Tables */
/* Positioned, so a hidden label inside a wide table is clipped with the table and cannot widen the page. */
.scroll { position: relative; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { padding: .5rem .9rem .5rem 0; text-align: left; font-size: .8rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tbl td { padding: .55rem .9rem .55rem 0; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
.tbl th.n, .tbl td.n { text-align: right; }
.tbl td.w { width: 40%; min-width: 17rem; }
.tbl td.w:has(.est.bare), .tbl td.w:has(.cellbar) { width: 34%; min-width: 12rem; }
.tbl .q { white-space: nowrap; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
/* A table fits the space its card gives it, whatever the window size or zoom: below a width its headings wrap and an
   estimate puts its range under the number; narrower still, the columns that repeat what others show step aside
   (clicks per search, then clicks, then the 18-month line). The page never needs to scroll sideways for them. */
.scroll { container-type: inline-size; }
@container (max-width: 78rem) {
  .tbl th { white-space: normal; }
  .tbl th.n, .tbl th.c-spark { max-width: 7rem; }
  .tbl td.w { width: 28%; min-width: 10rem; }
  .tbl td.w:has(.est.bare), .tbl td.w:has(.cellbar) { min-width: 9rem; }
  .est { grid-template-columns: minmax(3rem, 1fr) auto; column-gap: .6rem; row-gap: 0; }
  .est .rbar { grid-row: span 2; }
  .est small { grid-column: 2; font-size: .74rem; }
}
@container (max-width: 66rem) { .tbl .c-rate { display: none; } }
@container (max-width: 56rem) { .tbl .c-clicks { display: none; } }
@container (max-width: 46rem) { .tbl .c-spark { display: none; } }
/* Phone-sized tables: queries wrap, the range and the compare button go, the spacing tightens. */
@container (max-width: 40rem) {
  .tbl .q { white-space: normal; }
  .tbl th, .tbl td { padding-right: .55rem; }
  .tbl td.w, .tbl td.w:has(.est.bare), .tbl td.w:has(.cellbar) { min-width: 6.5rem; width: auto; }
  .est small { display: none; }
  .tbl .c-act { display: none; }
}
/* Card lists between phone and desktop: the extra counts go first, then the trend. On phones the cards stack instead. */
@container (min-width: 34rem) and (max-width: 64rem) { .tbl.cards .c-more { display: none; } }
@container (min-width: 34rem) and (max-width: 42rem) { .tbl.cards .c-trend { display: none; } }
/* The narrowest tables keep the number of an estimate without its bar. */
@container (max-width: 30rem) { .tbl th, .tbl td { padding-right: .4rem; } .tbl .q, .tbl .q span, .tbl .tag { overflow-wrap: anywhere; white-space: normal; } .tbl .chg { white-space: normal; } .est .rbar { display: none; } .est { grid-template-columns: auto; } .tbl td.w, .tbl td.w:has(.est.bare), .tbl td.w:has(.cellbar) { min-width: 0; } .cellbar .track { display: none; } }

/* Line chart */
.plot { min-height: 250px; }
.lc { display: block; max-width: 100%; border-radius: 8px; }
.lc text { font: 500 12px var(--font); fill: var(--ink-3); }
.lc .lc-name { fill: var(--ink); font-weight: 600; }
.lc .lc-note { fill: var(--ink-2); font-size: 11.5px; }
.lc-grid { stroke: var(--rule-2); }
.lc-base { stroke: var(--quiet); }
.lc-event { stroke: var(--rule); }
.lc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lc-end { stroke: var(--sheet); stroke-width: 2; }
.lc-hair { stroke: var(--ink-3); }
.lc-lead { stroke: var(--ink-3); fill: none; }
.lc-band { fill: var(--orange); opacity: .1; }
/* Months outside the chosen period are muted, with a rule where the period starts. */
/* The small trend of a scorecard tile */
.tspark { height: 52px; margin-top: .6rem; }
.tspark svg { display: block; max-width: 100%; border-radius: 4px; }
/* A tile can narrow below its trend's last drawn width; the trend redraws to fit. */
.tile { min-width: 0; }
.tspark .ts-off { stroke: var(--quiet); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.tspark .ts-dot { stroke: var(--paper); stroke-width: 2; }
.tspark .ts-mark { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5; }
/* A brand's logo at the end of its line, on the white plate logos stand on everywhere; its initial when there is none. */
.lc-pic { fill: #fff; stroke: var(--rule); }
.lc-pic.none { fill: var(--rule-2); }
.lc .lc-initial { fill: var(--ink-2); font-size: 11px; font-weight: 700; }
.legend .logo.sm { width: 1.5rem; height: 1.5rem; border-radius: 5px; font-size: .72rem; }

/* Long pages: named sections under a bar that stays below the site header */
.secbar { position: sticky; top: var(--top-h, 61px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.2rem; margin-top: 1.4rem; padding: .35rem 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.secbar nav { display: flex; gap: 1.3rem; min-width: 0; overflow-x: auto; }
.secbar nav button { padding: .55rem 0 .45rem; background: none; border: 0; border-bottom: 2px solid transparent; font: 600 .95rem var(--font); color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.secbar nav button:hover { color: var(--head); }
.secbar nav button[aria-current] { color: var(--head); border-color: var(--orange); }
.sec { margin-top: 2.1rem; scroll-margin-top: calc(var(--top-h, 61px) + 4.2rem); }
.sec-h { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-bottom: .8rem; }
.sec-h h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--head); }
.sec-h h2:focus { outline: none; }
.sec-h .controls { margin: 0; }
.secbar .controls { margin: 0; gap: .4rem .8rem; }
.seg-sel { display: none; }
/* A product in a table: its picture, its title on two lines at most, and its ASIN */
.pcell { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .7rem; align-items: center; min-width: 15rem; max-width: 26rem; }
.pcell strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: .88rem; font-weight: 600; line-height: 1.3; white-space: normal; }
.pcell small { display: block; color: var(--ink-2); font-size: .78rem; }
.sec-note { margin-left: auto; font-size: .84rem; color: var(--ink-2); }
/* The period control in a row of its own (Home, Explore, the lists): the periods, the comparison, how far the data reaches. */
.controls.period-row { margin: 1rem 0 .4rem; min-height: 2.25rem; }
.per-note { white-space: nowrap; }
.sec > .grid { margin-top: 0; }
.stack-y { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.sheet-h > .controls { flex-wrap: wrap; justify-content: flex-end; }
.sheet-h + * { margin-top: .9rem; }
.tbl tr.on > td { background: var(--sky-2); }
.link-btn { padding: 0; background: none; border: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
/* The scorecard: a tile can carry the mix of what it counts as a thin bar with its key. */
.tile .seg.thin { height: 12px; margin-top: .7rem; }
.tile .seg.thin .seg-b { cursor: pointer; }
.tile .legend { margin-top: .5rem; gap: .2rem 1rem; font-size: .82rem; }
.ramp-na b.best { background: none; box-shadow: inset 0 0 0 2px var(--orange); }

/* Tables the reader can turn around: sort by a heading, narrow by text, download the rows */
.tbl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem .9rem; min-height: 2rem; margin: .2rem 0 .5rem; font-size: .86rem; }
.tbl-tools:empty { display: none; }
.tbl-find { flex: 1; min-width: 10rem; max-width: 19rem; margin-right: auto; padding: .42rem .9rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px; font: 500 .92rem var(--font); color: var(--ink); }
.tbl-find:hover { border-color: var(--ink-3); }
/* A brand's keyword filters: its lines as chips with their counts, the chosen line's models as a second row under a
   rule, and the type as a menu that says its value. On a phone each row scrolls sideways instead of wrapping. */
.kw-filters { display: grid; gap: .55rem; margin: 0 0 .8rem; }
.qchips { display: flex; flex-wrap: wrap; gap: .4rem; }
.qchip { display: inline-flex; align-items: baseline; gap: .4rem; flex: none; padding: .4rem .85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font: 600 .88rem var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; }
.qchip small { font-size: .76rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.qchip:hover { border-color: var(--link); }
.qchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.qchip[aria-pressed="true"] small { color: rgb(255 255 255 / .78); }
.qchip.more { align-items: center; border-style: dashed; color: var(--ink-2); font-weight: 500; }
.qchip.more .ic { margin-left: -.1rem; }
.qchips.models { padding-left: .9rem; border-left: 2px solid var(--rule); }
.qchips.models .qchip { padding: .28rem .7rem; font-size: .84rem; }
.fpill { display: inline-flex; align-items: center; gap: .3rem; height: 2rem; padding: 0 .55rem 0 .8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font: 500 .86rem var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.fpill b { font-weight: 700; color: var(--ink); }
.fpill:hover { border-color: var(--link); }
.fsplit { display: inline-flex; align-items: stretch; margin-right: auto; }
.fsplit.on .fpill { border-color: var(--link); background: var(--sky-2); color: var(--head); border-radius: 999px 0 0 999px; }
.fsplit.on .fpill b { color: var(--head); }
.fpill-x { display: inline-grid; place-items: center; width: 2rem; border: 1px solid var(--link); border-left: 0; border-radius: 0 999px 999px 0; background: var(--sky-2); color: var(--head); cursor: pointer; }
.fpill-x:hover { background: var(--sky); }
/* The menu a filter opens, placed under its button by the script. */
.fmenu { position: fixed; inset: auto; margin: 0; min-width: 14rem; max-width: min(23rem, calc(100vw - 16px)); max-height: min(24rem, 70vh); padding: 0; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 18px 40px -16px rgb(2 20 50 / .45); }
.fmenu:popover-open { display: flex; flex-direction: column; }
.fmenu-list { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: .35rem; }
.fmenu-find { flex: none; margin: .55rem .55rem .2rem; padding: .42rem .85rem; border: 1px solid var(--ink-3); border-radius: 999px; background: var(--sheet); font: 500 .9rem var(--font); color: var(--ink); }
.fmenu-none { margin: 0; padding: .55rem .6rem; font-size: .86rem; color: var(--ink-2); }
/* On a phone the menu is a sheet from the bottom of the screen, with rows large enough for a thumb. */
.fmenu.sheet { inset: auto 0 0 0; width: 100%; min-width: 0; max-width: none; max-height: 72vh; border-width: 1px 0 0; border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom); }
.fmenu.sheet .fopt { min-height: 44px; align-items: center; }
.fmenu.sheet::backdrop { background: rgb(2 20 50 / .4); }
.fopt { display: flex; align-items: baseline; gap: .8rem; width: 100%; padding: .45rem .6rem; border: 0; border-radius: 6px; background: none; font: 500 .9rem var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.fopt small { margin-left: auto; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fopt:hover { background: var(--sky-2); }
.fopt[aria-pressed="true"] { background: var(--sky-2); color: var(--head); font-weight: 700; }
.fopt:disabled { color: var(--ink-3); background: none; cursor: default; }
/* The line or model a keyword names: the model, with its line under it. */
.lm { display: inline-grid; justify-items: start; gap: .05rem; }
.lm strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.lm small { font-size: .8rem; color: var(--ink-3); }
.lm .tag.typo { grid-row: 1; grid-column: 2; align-self: center; margin-left: .4rem; }
.lm-none { color: var(--ink-3); font-size: .86rem; }
.lm strong a { color: inherit; text-decoration: none; }
.lm strong a:hover { color: var(--link); text-decoration: underline; }
.lm .tag.fits { padding: .02rem .36rem; }
.lm-m { font-weight: 600; color: var(--ink); white-space: nowrap; }
.lm-under { display: none; margin: .2rem 0 0 .55rem; font-size: .78rem; color: var(--ink-3); }
@container (max-width: 40rem) { .tbl .c-lm { display: none; } .lm-under { display: block; } .lm-under:empty { display: none; } }
@media (max-width: 640px) {
  .qchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: .3rem; }
}
.th-sort { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
.th-sort:hover { color: var(--link); }
.th-sort i { min-width: .9em; font-style: normal; color: var(--link); }
.tbl th[aria-sort] .th-sort { font-weight: 700; color: var(--head); }
.tbl th.n .th-sort { flex-direction: row-reverse; }
.tbl-more { margin: .9rem 0 0; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem .7rem; margin-top: .9rem; font-size: .88rem; }
.pager [role="status"] { margin-right: auto; font-variant-numeric: tabular-nums; }
.pager .ghost:disabled { opacity: .45; cursor: not-allowed; }
.pager-n { padding: .3rem .5rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; font: 600 .8rem var(--font); color: var(--ink-2); }
.tbl td.n small { display: block; margin: 0; font-size: .78rem; }
.cellbar { display: grid; grid-template-columns: minmax(3.5rem, 1fr) 4.4rem; gap: .7rem; align-items: center; }
.cellbar strong { font-variant-numeric: tabular-nums; text-align: right; }
/* Charts beyond the line chart */
.st-layer { stroke: var(--sheet); stroke-width: 1.25; stroke-linejoin: round; }
/* Flows between two columns: translucent bands, a hairline of the card colour between the parts of a target */
.sk-link { opacity: .42; transition: opacity .12s; }
.sk-part { stroke: var(--sheet); stroke-width: 1; }
.sk.picked .sk-link { opacity: .12; }
.sk.picked .sk-link.on { opacity: .85; }
.sk.picked .sk-part:not(.on) { opacity: .35; }
.lc .sk-n { fill: var(--ink-2); font-weight: 500; }
.lc .sk-note { fill: var(--ink-3); font-weight: 500; }
.st-rule { fill: none; stroke: var(--ink-3); }
.mult { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; }
.mult-p { display: flex; flex-direction: column; gap: .1rem; min-width: 0; padding: .7rem .8rem .45rem; border: 1px solid var(--rule); border-radius: 10px; color: inherit; text-decoration: none; }
a.mult-p:hover { border-color: var(--link); }
.mult-p.on { background: var(--sky-2); border-color: var(--link); }
.mult-h { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.mult-h b { color: var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mult-p small { min-height: 1.3em; font-size: .78rem; color: var(--ink-2); }
.mult-c { display: block; min-width: 0; margin-top: auto; padding-top: .3rem; }
.heat { width: 100%; border-collapse: separate; border-spacing: 2px; }
.heat thead th { padding: 0 0 .25rem; font-size: .76rem; font-weight: 500; color: var(--ink-3); text-align: center; vertical-align: bottom; white-space: nowrap; }
.heat thead th { position: relative; padding-top: 1.05rem; }
/* The year sits above its first month without widening that month's column, so every month is equally wide. */
.heat thead th small { position: absolute; top: 0; left: 0; display: block; font-size: .7rem; white-space: nowrap; }
.heat tbody th { max-width: 12rem; padding: 0 .8rem 0 0; font-size: .88rem; font-weight: 600; text-align: left; overflow: hidden; }
.heat tbody th .q { font-size: .86rem; }
.heat tbody th .q span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heat td { height: 1.75rem; min-width: 1.35rem; border-radius: 3px; }
.heat td.hc { background: color-mix(in oklab, var(--heat) var(--p), var(--sheet)); }
.heat td.na, .ramp-na b { background: repeating-linear-gradient(135deg, var(--rule) 0 1.5px, transparent 1.5px 6px); }
/* Not "top": that is the site header's class, and its sticky position and layer would come with it. */
.heat td.best { box-shadow: inset 0 0 0 2px var(--orange); }
.heat .pk { min-width: 5.6rem; padding-left: .7rem; font-size: .82rem; color: var(--ink-2); text-align: left; white-space: nowrap; }
.heat .m-s { display: none; }
/* The grid fits its card: the Peak column goes first (the outlined cell already marks each row's best month), then
   the months shrink to their initials. */
@container (max-width: 60rem) { .heat .pk { display: none; } .heat tbody th { max-width: 9.5rem; } }
@container (max-width: 46rem) {
  .heat .m-l { display: none; } .heat .m-s { display: inline; }
  .heat td { min-width: .7rem; height: 1.5rem; } .heat tbody th { max-width: 7.5rem; padding-right: .5rem; }
  .heat thead th small { font-size: .62rem; }
  .heat thead th { padding-top: .9rem; }
}
@container (max-width: 30rem) { .heat { border-spacing: 1px; } .heat td { min-width: .5rem; height: 1.3rem; border-radius: 2px; } .heat tbody th { max-width: 6rem; } .heat thead th small { display: none; } .heat thead th { padding-top: 0; } }
.ramp { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .8rem 0 0; font-size: .82rem; color: var(--ink-2); }
.ramp i { width: 7rem; height: .6rem; border-radius: 3px; background: linear-gradient(90deg, color-mix(in oklab, var(--heat) 14%, var(--sheet)), color-mix(in oklab, var(--heat) 54%, var(--sheet))); }
.ramp.full i { background: linear-gradient(90deg, color-mix(in oklab, var(--heat) 6%, var(--sheet)), var(--heat)); }
.ramp-na { display: inline-flex; align-items: center; gap: .4rem; margin-left: .8rem; }
.ramp-na b { width: 1.1rem; height: .9rem; border-radius: 3px; }
.plot.tm-plot, .plot.wf-plot, .plot.db-plot { min-height: 0; }
.tm-cell { fill: color-mix(in oklab, var(--heat) var(--p), var(--sheet)); stroke: var(--sheet); stroke-width: 1.5; }
.tm a { cursor: pointer; }
.tm a:focus { outline: none; }
.tm a:hover .tm-cell, .tm a:focus-visible .tm-cell { stroke: var(--orange); stroke-width: 2.5; }
.tm a:hover .tm-group, .tm a:focus-visible .tm-group { fill: var(--link); text-decoration: underline; }
.lc .tm-name { fill: var(--ink); font-size: 12.5px; font-weight: 600; pointer-events: none; }
.lc .tm-val { fill: var(--ink); font-size: 11.5px; pointer-events: none; }
.lc .tm-group { fill: var(--ink-2); font-size: 12px; font-weight: 700; }
.wf-hit { fill: transparent; }
.wf-row:hover .wf-hit, .wf-row:focus-visible .wf-hit, .db-row:hover .wf-hit, .db-row:focus-visible .wf-hit { fill: var(--sky-2); }
.wf-row:focus, .db-row:focus { outline: none; }
.wf-total { stroke: var(--head); stroke-width: 2; }
.wf-dot { fill: var(--head); stroke: var(--sheet); stroke-width: 2; }
.wf-link { fill: none; stroke: var(--ink-3); stroke-dasharray: 2 3; }
.lc .wf-name { fill: var(--ink); font-size: 12.5px; }
.lc .wf-val { fill: var(--ink); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.db-from { fill: var(--sheet); stroke: var(--ink-3); stroke-width: 1.5; }
.lc .db-was { fill: var(--ink-3); font-size: 11.5px; }
.db a { cursor: pointer; }
.db a:hover text { fill: var(--link); text-decoration: underline; }

/* Brand page */
/* The columns start at the top, so their headings stay level and a card added to one column moves no other. */
.ntree { position: relative; display: grid; grid-template-columns: minmax(150px, .78fr) minmax(190px, 1fr) minmax(190px, 1fr) minmax(210px, 1.12fr); gap: 52px; align-items: start; margin-top: .5rem; }
.ntree > section { position: relative; z-index: 1; min-width: 0; }
.tree-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tree-links path { fill: none; stroke: var(--quiet); stroke-width: 1.25; }
.tree-links path.on { stroke: var(--mid); stroke-width: 2; }
button.node.rest { cursor: pointer; }
/* A line that names no model has no models column. */
.ntree.flat { grid-template-columns: minmax(150px, .78fr) minmax(190px, 1fr) minmax(210px, 1.12fr); }
.col-t { margin: 0 0 .6rem; font-size: .82rem; font-weight: 700; color: var(--head); }
.col-t small { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-2); }
.nodes { display: grid; gap: .5rem; }
.node { display: grid; gap: .3rem; width: 100%; padding: .55rem .7rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; font: inherit; color: var(--ink); text-align: left; }
button.node { cursor: pointer; }
button.node:hover { border-color: var(--mid); }
.node[aria-pressed="true"] { background: var(--sky-2); border-color: var(--link); }
.node.rest, .node.none { background: var(--paper); }
/* The card that holds the rest of a column opens them in a menu, like the "more" chip over the keyword list. */
.node.rest { border-style: dashed; }
button.node.rest:hover { border-color: var(--link); }
.node.rest .node-t span { display: inline-flex; align-items: center; gap: .25rem; }
.node.none[aria-pressed="true"] { background: var(--sky-2); }
.node-t { display: flex; justify-content: space-between; gap: .5rem; font-size: .88rem; font-weight: 600; }
.node-t span { overflow-wrap: anywhere; }
.node-t small, .node-v small { font-size: .78rem; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.node-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; font-variant-numeric: tabular-nums; }
.node .track { height: 4px; }
.node.root { gap: .15rem; padding: 1rem .9rem; }
.root-n { font-size: 1.25rem; font-weight: 700; color: var(--head); }
.root-v { font-size: 1.9rem; font-weight: 700; line-height: 1.15; color: var(--head); }
.node.root p { margin: 0; font-size: .82rem; color: var(--ink-2); }
.root-mix { display: grid; gap: .3rem; margin: .65rem 0 0; padding: .65rem 0 0; list-style: none; border-top: 1px solid var(--rule-2); font-size: .8rem; color: var(--ink-2); }
.root-mix li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: .4rem; align-items: center; }
.root-mix i { width: 10px; height: 10px; border-radius: 2px; }
.root-mix strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.leafs { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.leafs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
.leafs .q { justify-self: start; font-size: .88rem; }
@media (max-width: 1080px) {
  .ntree { grid-template-columns: 1fr; gap: 1.1rem; }
  .tree-links { display: none; }
  .ntree .nodes, .leafs { padding-left: .8rem; border-left: 2px solid var(--rule-2); }
}
.cover { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; align-items: end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule-2); }
.cover-bars { display: flex; align-items: flex-end; gap: 2px; height: 36px; }
.cover-bars i { flex: 1; min-height: 2px; background: var(--quiet); border-radius: 2px 2px 0 0; }
.cover-bars i.on { background: var(--blue); }
.cover p { margin: 0; font-size: .86rem; color: var(--ink-2); }

/* Loading: keep the last view on screen, dimmed, while new data arrives */
.loading { max-width: 76rem; margin: 3rem auto; padding: 0 var(--gut); color: var(--ink-2); }
body[data-busy] #view { opacity: .5; transition: opacity .2s .15s; pointer-events: none; }
body[data-busy] .top::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30%; height: 3px; background: var(--orange); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
/* The shell index.html draws before any script runs: Home's hero, or a plain page for any other address. Grey blocks stand
   where the cards will be. app.js replaces it with the real page, which has the same layout. */
.shell { display: none; }
html:not([data-shell="page"]) .shell-home, html[data-shell="page"] .shell-page { display: block; }
body[data-busy] #view:has(.shell) { opacity: 1; pointer-events: auto; }
.skel { height: .85rem; border-radius: 6px; background: var(--rule-2); animation: skel 1.6s ease-in-out infinite; }
@keyframes skel { 50% { opacity: .5; } }
.skel-card { min-height: 24rem; }
.skel-card .skel { margin-top: 1.15rem; }
.skel-card .skel.h { width: 38%; height: 1.3rem; margin-top: 0; }
.skel.w85 { width: 85%; } .skel.w70 { width: 70%; } .skel.w60 { width: 60%; }
.skel-title { width: min(22rem, 70%); height: 2.6rem; margin: 2.2rem 0 .5rem; }
.skel-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 22rem)); gap: 1.25rem 2rem; margin: 1.5rem 0; }
.skel-tile { height: 7.5rem; }
.skel-bar { height: 2.6rem; margin: 1.4rem 0 1.6rem; }
.skel-sheet { height: 26rem; border-radius: 12px; }
.shell-status { margin-top: 1rem; color: var(--ink-2); font-size: .9rem; }
.shell-status:empty { display: none; }
/* The marketplace flags arrive with the person's profile; their place is kept so the header does not shift. */
#mkt:empty { min-width: 11.25rem; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.top nav a[hidden] { display: none; }
.sub.note { margin: .9rem 0 0; }
@media (prefers-reduced-motion: reduce) { body[data-busy] .top::after { animation: none; width: 100%; } }

/* Floating pieces */
.tip { position: fixed; top: 0; left: 0; z-index: 80; max-width: 20rem; padding: .6rem .75rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 14px 34px -12px rgb(2 42 87 / .4); font-size: .82rem; pointer-events: none; }
.tip-t { margin-bottom: .3rem; font-weight: 700; color: var(--head); }
.tip-r { display: grid; grid-template-columns: 14px auto minmax(0, 1fr); gap: .05rem .5rem; align-items: center; padding: .1rem 0; }
.tip-r.plain { grid-template-columns: auto minmax(0, 1fr); }
.tip-r span { color: var(--ink-2); }
.tip-r em { grid-column: 2 / -1; font-style: normal; color: var(--ink-2); }
.tip-k { width: 14px; height: 2px; border-radius: 2px; }
.tray { position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; max-width: calc(100vw - 2rem); padding: .5rem .5rem .5rem 1rem; background: var(--navy); color: #fff; border-radius: 10px; box-shadow: 0 16px 40px -12px rgb(2 20 50 / .6); }
.tray-l { font-weight: 700; font-size: .88rem; }
.tray-c { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .3rem .2rem .7rem; background: rgb(255 255 255 / .14); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.tray-c button { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.tray-c button:hover { background: rgb(255 255 255 / .2); }
.foot { max-width: 76rem; margin: 3rem auto 0; padding: 1.25rem var(--gut) 5rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .85rem; }
.data-credit { width: 100%; margin-top: 3rem; padding-block: 1.25rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .85rem; }
body:has(> kiliagon-footer) { display: flex; flex-direction: column; min-height: 100dvh; }
body:has(> kiliagon-footer) > #view { flex-grow: 1; }
body > kiliagon-footer { background: var(--field); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
@media (prefers-reduced-motion: reduce) {
  .hero-dots[data-playing] .hero-dot[aria-current]::after { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (max-width: 760px) {
  /* On a phone the site header scrolls away and the section bar is the only thing that stays. */
  .top { position: static; }
  .secbar { top: 0; }
  .secbar .segc[aria-label="Period"], .period-row .segc[aria-label="Period"] { display: none; }
  /* Cards on a narrow screen: the name on top, the number beside the change, the trend across the card. */
  .sort-sel { display: inline-block; }
  .tbl.cards, .tbl.cards tbody { display: block; margin-top: 0; }
  .tbl.cards thead { display: none; }
  .tbl.cards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .55rem .8rem; margin-bottom: .6rem; padding: .95rem 1rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; }
  .tbl.cards tr.go:hover { background: var(--sky-2); }
  .tbl.cards td, .tbl.cards td:first-child, .tbl.cards td:last-child { display: block; padding: 0; background: none; border: 0; border-radius: 0; text-align: left; }
  .tbl.cards td:first-child, .tbl.cards td.c-trend, .tbl.cards td[colspan] { grid-column: 1 / -1; }
  .tbl.cards td.c-main { grid-row: 2; grid-column: 1; }
  .tbl.cards td.c-move { grid-row: 2; grid-column: 2; justify-self: end; align-self: center; }
  .tbl.cards td.c-trend { grid-row: 3; }
  .tbl.cards td.c-more { display: none; }
  .tbl.cards .rv { justify-items: start; }
  .tbl.cards td.n small.c-note { display: block; }
  .c-word { display: inline; }
  .rowtrend { width: 100%; }
  .rn { min-width: 0; }
  .rn.pic .logo { width: 2.5rem; height: 2.5rem; }
  .seg-sel { display: inline-block; }
  .sec { scroll-margin-top: 4.5rem; }
  .sec-note { margin-left: 0; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 1.1rem; }
  .top-in { column-gap: .5rem; }
  .top-end { margin-left: auto; gap: .5rem; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-bottom: 4rem; }
  .hero-find { padding-top: 0; }
  .hero-keys { display: none; }
  .hero-note { font-size: .8rem; }
  .sb.go .sb-box { padding-right: 6.9rem; }
  .sb-go { padding: 0 1.05rem; }
  .scope { gap: 0; }
  .scope button { padding: .4rem .2rem; }
  .flag { width: 1.3rem; height: .87rem; }
  .dia.tr { width: 44vw; opacity: .55; }
  .trend li, .trend.pick li { grid-template-columns: 1.4rem minmax(0, 1fr) auto; }
  .trend .spark, .trend .ghost { display: none; }
  .bars li { grid-template-columns: minmax(0, 1fr) auto; }
  .bars .track, .bars .stack { grid-column: 1 / -1; order: 3; }
  .est { grid-template-columns: auto auto; }
  .est .rbar { display: none; }
  .cover { grid-template-columns: 1fr; }
  .chip { font-size: 1.05rem; }
  .sb.lg .sb-box { height: 3.4rem; }
  .sb.lg .sb-in { font-size: 1.05rem; }
  .kv > div { grid-template-columns: 1fr; gap: .1rem; }
}
