/* ============================================================
   Prime - main.css
   Brand layer: CRAFT.md
   Amazon's layout metrics, Base blue palette.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family:'Inter'; src:url('../assets/fonts/Inter-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../assets/fonts/Inter-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../assets/fonts/Inter-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../assets/fonts/Inter-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Fragment Mono'; src:url('../assets/fonts/FragmentMono-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }

/* ---------- Tokens ---------- */
:root {
  /* Base blue replaces every Amazon orange */
  --blue:        #0052FF;
  --blue-deep:   #003ECC;
  --blue-hi:     #3D7DFF;
  --nav:         #0A1024;
  --nav-2:       #111A33;
  --blue-tint:   #EBF1FF;
  --blue-line:   #C7D8FF;
  --prime-cyan:  #00A8E1;

  /* neutrals: ordinary UI greys */
  --ink:         #0F1111;
  --ink-2:       #565959;   /* 4.6:1 on white, passes AA */
  --ink-3:       #888C8C;   /* 2.9:1, DECORATIVE ONLY, never body text */
  --line:        #D5D9D9;
  --line-soft:   #E7E9EC;
  --page:        #EAEDED;
  --card:        #FFFFFF;
  --fill:        #F0F2F2;
  --fill-hover:  #F7FAFA;

  /* semantic */
  --star:        #F5A623;
  --price-red:   #B12704;
  --pos:         #067D62;  --pos-bg: #DDF5E9;
  --neg:         #B12704;  --neg-bg: #FDE9EA;
  --urgent:      #CC0C39;
  --stock:       #007600;
  --btn-y:       #FFD814;  --btn-y-hover:#F7CA00; --btn-y-line:#FCD200;
  --btn-o:       #FFA41C;  --btn-o-hover:#FA8900; --btn-o-line:#FF8F00;   /* Amazon's Buy Now */

  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='14' viewBox='0 0 76 14'%3E%3Cpath d='M7 .6L8.9 4.7L13.4 5.2L10 8.3L10.9 12.7L7 10.5L3.1 12.7L4 8.3L.6 5.2L5.1 4.7ZM22.5 .6L24.4 4.7L28.9 5.2L25.5 8.3L26.4 12.7L22.5 10.5L18.6 12.7L19.5 8.3L16.1 5.2L20.6 4.7ZM38 .6L39.9 4.7L44.4 5.2L41 8.3L41.9 12.7L38 10.5L34.1 12.7L35 8.3L31.6 5.2L36.1 4.7ZM53.5 .6L55.4 4.7L59.9 5.2L56.5 8.3L57.4 12.7L53.5 10.5L49.6 12.7L50.5 8.3L47.1 5.2L51.6 4.7ZM69 .6L70.9 4.7L75.4 5.2L72 8.3L72.9 12.7L69 10.5L65.1 12.7L66 8.3L62.6 5.2L67.1 4.7Z' fill='%23000'/%3E%3C/svg%3E");

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Fragment Mono', 'SF Mono', Menlo, monospace;

  /* Amazon layout metrics */
  --content-max: 1500px;
  --sidebar-w: 240px;
  --gutter: 20px;
  --card-gap: 16px;
  /* Header frame. These were landing-only until the directory header was
     aligned to it, and shop.html does not load landing.css, so they live
     here: one definition both stylesheets read, rather than two that drift.
     --stick-h is how much chrome is pinned to the top of the viewport, which
     is the main row plus the category row here and just the main row on the
     landing, where landing.css narrows it. Anchor scrolling and the sticky
     buy box are both positioned from it, so neither has to restate the sum. */
  --top-h: 64px;
  --subnav-h: 39px;
  --gx: clamp(20px, 4.5vw, 64px);
  /* Gap between the header's own items. Shared so the "Delivering to" block
     lands on the same pixel on every page: the two headers used to set this
     separately (10px here, 6px there, plus a stray 2px nudge on the landing)
     and the block visibly jumped when you moved between pages. */
  --hdr-gap: 10px;
  --stick-h: calc(var(--top-h) + var(--subnav-h));

  /* type scale */
  --t-mini: 11px; --t-sm: 12px; --t-base: 13px; --t-plus: 14px;
  --t-title: 16px; --t-lg: 18px; --t-price: 21px; --t-h1: 24px;

  --r-card: 8px; --r-ctl: 8px; --r-pill: 100px; --r-badge: 4px;
  --sh-card: 0 2px 5px rgba(15,17,17,.06);
  --sh-hover: 0 2px 12px rgba(15,17,17,.14);
  --sh-pop: 0 4px 16px rgba(15,17,17,.22);
  --ease: cubic-bezier(.16,1,.3,1);
  --t-micro: 150ms;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--stick-h) + 12px); }
/* The `hidden` attribute is how this codebase toggles the disclosure strips,
   the advert slot and the shortlist rail. Its UA rule is `display:none` at
   element specificity, so any class that sets display beats it: .buybox is
   display:flex and stayed on screen as an empty bordered panel when hidden.
   One declaration here makes the attribute mean what it says everywhere. */
[hidden] { display:none !important; }
body {
  font-family:var(--sans); font-size:var(--t-base); color:var(--ink);
  /* white edge to edge. Everything sits ON this rather than in a panel
     floating over a grey canvas. If you find yourself adding a
     background to a container here, check it is not just re-drawing a
     box the page already removed. */
  background:var(--card); line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a { color:var(--blue-deep); text-decoration:none; }
a:hover { color:var(--blue); text-decoration:underline; }
button { font:inherit; color:inherit; cursor:pointer; border:0; background:none; }
input,select { font:inherit; color:inherit; }
ul { list-style:none; }

:focus-visible { outline:2px solid var(--blue); outline-offset:2px; border-radius:2px; }

.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip {
  position:absolute; left:8px; top:-48px; z-index:100;
  background:var(--card); color:var(--ink); padding:10px 16px;
  border-radius:var(--r-ctl); font-weight:600; transition:top var(--t-micro);
}
.skip:focus { top:8px; }

/* ============================================================
   Header
   ============================================================ */
/* Sticky, full height and inset to --gx so this header sits at exactly the
   same place on the page as the landing's.
   Both rows are deliberately NOT capped to --content-max, unlike .shell below
   them. A cap plus margin:0 auto centres the row, so on a monitor wider than
   1500px the logo gets pushed inward by half the overflow: at 1800px that is
   150px on top of --gx, and the two headers stop agreeing exactly where the
   difference is most visible. Full bleed keeps the logo on the --gx line at
   every width, which is what the landing's .top does. The trade is that on a
   very wide screen the header no longer lines up with the product grid; the
   landing makes the same trade, since its .wrap is narrower still. */
.hdr { background:var(--nav); color:#fff; position:sticky; top:0; z-index:60; }
.hdr a { color:#fff; text-decoration:none; }

.hdr-main {
  height:var(--top-h); display:flex; align-items:center; gap:var(--hdr-gap);
  padding:0 var(--gx);
}
/* Kill the logo's own left padding so the mark itself starts on the --gx
   line rather than 8px inside it, which is what makes the two headers line
   up to the pixel. The landing does the same thing via .top .logo. */
.hdr .logo { padding-left:0; }
/* The global focus ring is Base blue, which lands at about 3.3:1 on the navy
   chrome: a pass, but the narrowest one on the site, on the controls a
   keyboard user reaches first. White on navy is unambiguous. */
.hdr :focus-visible, .top :focus-visible { outline-color:#fff; }

/* logo
   One traced lockup, retinted per surface with --logo-w (word) and
   --logo-s (smile). On the navy chrome that is white over Base blue. */
.logo { display:flex; align-items:center; padding:6px 8px; border:1px solid transparent; border-radius:2px; flex:none; }
.logo:hover { border-color:#fff; }
.logo-mark { display:block; height:34px; width:auto; --logo-w:#fff; --logo-s:var(--blue); }

/* deliver-to */
.deliver { display:flex; align-items:center; gap:5px; padding:8px 9px; border:1px solid transparent; border-radius:2px; flex:none; }
@media (hover:hover) { .deliver:hover { border-color:#fff; } }
.deliver svg { flex:none; }
.deliver-txt { line-height:1.15; }
.deliver-txt small { display:block; font-size:var(--t-sm); color:#CCC; }
.deliver-txt strong { font-size:var(--t-plus); font-weight:700; }

/* search */
.search { flex:1; display:flex; height:40px; border-radius:var(--r-ctl); overflow:hidden; min-width:0; background:#fff; }
.search:focus-within { box-shadow:0 0 0 3px var(--blue-hi); }
/* appearance:none, or iOS draws its own rounded, shaded control inside the
   bar and the result reads as a box inside a box. */
.search-in {
  appearance:none; -webkit-appearance:none; border-radius:0; box-shadow:none;
  flex:1; border:0; padding:0 14px; font:inherit; font-size:var(--t-plus); color:var(--ink); min-width:0; background:#fff;
}
.search-in:focus { outline:none; }
.search-in::-webkit-search-decoration, .search-in::-webkit-search-cancel-button { -webkit-appearance:none; }
.search-go {
  width:46px; background:var(--blue); display:grid; place-items:center; flex:none;
  transition:background var(--t-micro);
}
.search-go:hover { background:var(--blue-deep); }

.hdr-link { display:inline-block; padding:8px 9px; border:1px solid transparent; border-radius:2px; line-height:1.15; flex:none; background:none; color:#fff; font:inherit; text-align:left; cursor:pointer; }
@media (hover:hover) { .hdr-link:hover { border-color:#fff; } }
.hdr-link small { display:block; font-size:var(--t-sm); color:#CCC; }
.hdr-link strong { font-size:var(--t-plus); font-weight:700; }
.hdr-wallet { cursor:pointer; white-space:nowrap; }
.hdr-wallet small { max-width:120px; overflow:hidden; text-overflow:ellipsis; }

/* The auto margin holds it to the far right where the search wraps onto its
   own row; on a wide screen the search's flex takes that space first. */
.basket { display:flex; align-items:flex-end; gap:3px; margin-left:auto; padding:8px 9px; border:1px solid transparent; border-radius:2px; flex:none; }
@media (hover:hover) { .basket:hover { border-color:#fff; } }
.basket-n { font-size:var(--t-plus); font-weight:700; color:var(--blue-hi); }

/* sub nav */
.hdr-sub {
  background:var(--nav-2); height:var(--subnav-h);
  display:flex; align-items:center; gap:2px; padding:0 calc(var(--gx) - 9px);
  overflow-x:auto; scrollbar-width:none;
}
.hdr-sub::-webkit-scrollbar { display:none; }
.hdr-sub a {
  font-size:var(--t-plus); padding:6px 9px; border:1px solid transparent;
  border-radius:2px; white-space:nowrap;
}
.hdr-sub a:hover { border-color:#fff; }
.hdr-sub a.is-on { font-weight:700; }

/* Special Delivery. Not plain text like the row's other tabs: a warm pill
   with a flame, so it reads as an event the way Prime Day does in
   Amazon's own row. The link is the hit area and matches the others' box,
   the pill inside it is the look, so a phone can grow the target without
   the pill swelling to fill the bar. */
.hdr-sub .hdr-soon { padding:4px 5px; flex:none; }
.soon-pill {
  display:inline-flex; align-items:center; gap:6px; padding:2px 5px 2px 8px;
  border:1px solid rgba(255,122,26,.55); border-radius:var(--r-pill);
  background:linear-gradient(90deg, rgba(255,122,26,.22), rgba(204,12,57,.18));
  font-weight:700; line-height:18px;
}
.soon-pill:not(:has(.soon-new)) { padding-right:10px; }   /* no chip: even ends */
.hdr-sub .hdr-soon.is-on .soon-pill { border-color:#FF9A4D; background:linear-gradient(90deg, rgba(255,122,26,.4), rgba(204,12,57,.32)); }
.soon-flame { flex:none; transform-origin:50% 90%; }
.soon-new {
  padding:0 6px; border-radius:var(--r-pill); background:var(--btn-y); color:var(--ink);
  font-size:var(--t-mini); font-weight:700; line-height:16px; text-transform:uppercase; letter-spacing:.04em;
}
/* The row's own hover draws a white box; the pill is the tab's outline. */
.hdr-sub .hdr-soon:hover { border-color:transparent; }
@media (hover:hover) {
  .hdr-sub .hdr-soon:hover .soon-pill { border-color:#FF9A4D; background:linear-gradient(90deg, rgba(255,122,26,.32), rgba(204,12,57,.26)); }
}
/* Staking, first after All Projects since 2026-11-04, in the green of
   money coming in, with a New chip. */
.hdr-stk .soon-pill {
  border-color:rgba(46,204,150,.7);
  background:linear-gradient(90deg, rgba(6,125,98,.6), rgba(6,125,98,.28));
}
.hdr-sub .hdr-stk.is-on .soon-pill { border-color:#7BE3BE; background:linear-gradient(90deg, rgba(6,125,98,.9), rgba(6,125,98,.55)); }
.stk-ico { flex:none; }
@media (hover:hover) {
  .hdr-sub .hdr-stk:hover .soon-pill { border-color:#7BE3BE; background:linear-gradient(90deg, rgba(6,125,98,.8), rgba(6,125,98,.45)); }
}
/* The OTC desk wears the same pill in Base blue, so the row has events that
   do not read as one. It carries the New chip since 2026-11-04, and Special
   Delivery, out for weeks, gave its up. */
.hdr-otc .soon-pill {
  border-color:rgba(92,145,255,.7);
  background:linear-gradient(90deg, rgba(0,82,255,.42), rgba(0,82,255,.2));
}
.hdr-sub .hdr-otc.is-on .soon-pill { border-color:#8DB2FF; background:linear-gradient(90deg, rgba(0,82,255,.72), rgba(0,82,255,.42)); }
.otc-ico { flex:none; }
@media (hover:hover) {
  .hdr-sub .hdr-otc:hover .soon-pill { border-color:#8DB2FF; background:linear-gradient(90deg, rgba(0,82,255,.6), rgba(0,82,255,.32)); }
}
/* Dispatch, the agentic trading desk on Base, sits after the OTC desk as the
   one solid pill in the row, in Dispatch's own blue with its own mark, and an
   arrow because it is the only tab that leaves Prime. */
.hdr-dsp .soon-pill {
  position:relative; overflow:hidden; gap:7px; padding:2px 9px 2px 9px;
  border-color:#7A7AFF; background:#0000FF; color:#fff;
  box-shadow:0 0 0 3px rgba(0,0,255,.22), 0 0 14px rgba(64,64,255,.45);
}
.dsp-mark { display:block; flex:none; }
.dsp-out { flex:none; opacity:.8; }
@media (hover:hover) {
  .hdr-sub .hdr-dsp:hover .soon-pill { border-color:#fff; background:#1F1FFF; }
}
@media (prefers-reduced-motion:no-preference) {
  .soon-flame { animation:flicker 1.6s ease-in-out infinite; }
  /* a slow sweep across the pill, like the radar on Dispatch's own banner */
  .hdr-dsp .soon-pill::after {
    content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
    transform:translateX(-120%); animation:dsp-sweep 4.2s ease-in-out infinite;
  }
  @keyframes dsp-sweep { 0%,55% { transform:translateX(-120%); } 85%,100% { transform:translateX(120%); } }
  @keyframes flicker {
    0%,100% { transform:scale(1) rotate(0); }
    25%     { transform:scale(1.08,.94) rotate(-4deg); }
    50%     { transform:scale(.95,1.07) rotate(3deg); }
    75%     { transform:scale(1.04,.97) rotate(-2deg); }
  }
}

/* The aisle band at the top of the Special Delivery listing. */
.aisle {
  margin:22px var(--gutter) 0; padding:16px 18px; border-radius:var(--r-card);
  background:linear-gradient(90deg, #FFF3E8, #FFE9EC); border:1px solid #FFD2B3;
  display:flex; align-items:center; justify-content:space-between; gap:16px 24px; flex-wrap:wrap;
}
.aisle-copy { flex:1 1 360px; min-width:0; }
.aisle-hd { display:flex; align-items:center; gap:10px; }
/* Amazon's yellow, the same paint as the card buttons, sized for a band. */
.aisle-cta {
  flex:none; height:40px; padding:0 22px; display:inline-grid; place-items:center;
  background:var(--btn-y); border:1px solid var(--btn-y-line); border-radius:var(--r-pill);
  font-size:var(--t-plus); font-weight:600; color:var(--ink); box-shadow:var(--sh-card);
  transition:background var(--t-micro);
}
@media (hover:hover) { .aisle-cta:hover { background:var(--btn-y-hover); color:var(--ink); text-decoration:none; } }
@media (max-width:767px) { .aisle-cta { flex:1 1 100%; } }
.aisle-title { display:inline-flex; align-items:center; gap:8px; font-size:var(--t-h1); font-weight:700; }
.aisle-note { font-size:var(--t-base); color:var(--ink-2); margin-top:4px; max-width:80ch; }

/* ============================================================
   Shell
   ============================================================ */
.shell { max-width:var(--content-max); margin:0 auto; background:var(--card); }

.resbar {
  display:flex; align-items:center; gap:14px; padding:13px var(--gutter);
  border-bottom:1px solid var(--line-soft); flex-wrap:wrap;
}
.resbar-count { font-size:var(--t-plus); color:var(--ink-2); flex:1; min-width:200px; }
.resbar-count b { color:var(--ink); font-weight:700; }
.resbar-count em { font-style:normal; color:var(--price-red); font-weight:700; }
.resbar-held { font-size:var(--t-sm); }
.linkbtn { background:none; border:0; padding:0; font:inherit; color:var(--blue); cursor:pointer; }
.linkbtn:hover { text-decoration:underline; }
.facet-hint { font-size:var(--t-mini); color:var(--ink-2); line-height:1.4; margin:2px 0 0; }

.sortwrap { display:flex; align-items:center; gap:7px; font-size:var(--t-base); }
.sortwrap label { color:var(--ink-2); }
.sel {
  background:var(--fill); border:1px solid var(--line); border-radius:var(--r-ctl);
  padding:7px 9px; font-size:var(--t-base); cursor:pointer; box-shadow:var(--sh-card);
}
.sel:hover { background:var(--fill-hover); }

/* the disclosure strip. permanent, never dismissible */
.disclose {
  padding:10px var(--gutter); border-bottom:1px solid var(--line-soft);
  font-size:var(--t-sm); color:var(--ink-2);
}
.disclose b { color:var(--ink); }

.body { display:grid; grid-template-columns:var(--sidebar-w) 1fr; align-items:start; }

/* ============================================================
   Sidebar
   ============================================================ */
.side { padding:16px var(--gutter) 40px; }
.side h3 {
  font-size:var(--t-title); font-weight:700; margin:18px 0 7px;
}
.side h3:first-child { margin-top:0; }
.facet { display:flex; flex-direction:column; gap:1px; }
.facet-row {
  display:flex; align-items:center; gap:8px; padding:3px 0;
  font-size:var(--t-plus); color:var(--ink); cursor:pointer; text-align:left; width:100%;
}
.facet-row:hover .facet-lb { color:var(--blue); text-decoration:underline; }
.facet-row input { accent-color:var(--blue); width:14px; height:14px; flex:none; cursor:pointer; }
.facet-lb { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.facet-row.is-on .facet-lb { font-weight:700; }
/* The one toggle that widens the list instead of narrowing it may wrap:
   an ellipsis on "Show inactive projects" would hide what it does. */
.facet-row input[data-flag="showAll"] + .facet-lb { white-space:normal; }
.facet-n { color:var(--ink-2); font-size:var(--t-sm); flex:none; }

.facet-link {
  display:block; padding:3px 0; font-size:var(--t-plus);
  color:var(--ink); text-align:left; width:100%;
}
.facet-link:hover { color:var(--blue); text-decoration:underline; }
.facet-link.is-on { font-weight:700; color:var(--ink); }

.facet-more { color:var(--blue-deep); font-size:var(--t-plus); padding:5px 0; display:flex; align-items:center; gap:4px; }
.facet-more:hover { color:var(--blue); text-decoration:underline; }

.stars-opt { display:flex; align-items:center; gap:6px; }
.clear-all {
  margin-top:20px; font-size:var(--t-plus); color:var(--blue-deep);
  border:1px solid var(--line); border-radius:var(--r-ctl);
  padding:7px 12px; width:100%; background:var(--fill);
}
.clear-all:hover { background:var(--fill-hover); }

.side-note { margin-top:22px; font-size:var(--t-sm); color:var(--ink-2); line-height:1.5; }

/* ============================================================
   Results grid
   ============================================================ */
.main { padding:0 var(--gutter) 40px; min-width:0; }
.grid {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  gap:var(--card-gap); padding-top:16px;
}

.card {
  display:flex; flex-direction:column; position:relative;
}
.card.is-sponsored { }

/* Every image frame on the site is a true square.
   The frame sets the shape with aspect-ratio, and the image is absolutely
   positioned to fill it exactly, with object-fit:contain letterboxing any
   source ratio inside. Absolute positioning is deliberate: as a flex or grid
   item, a percentage height on a replaced element resolves against a
   content-sized track, so portrait art escapes the frame and covers the text
   below it. inset:0 cannot do that. Do not "simplify" this back. */
.card-media {
  position:relative; aspect-ratio:1/1; width:100%;
  margin-bottom:12px; overflow:hidden;
}
.card-media img {
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:contain; border-radius:4px;
}
.tile {
  width:100%; height:100%; display:grid; place-items:center;
  background:var(--fill); border-radius:4px;
  font-family:var(--mono); font-size:26px; font-weight:400; color:var(--blue);
  letter-spacing:-.02em; padding:8px; text-align:center; overflow:hidden;
}

/* badges */
.badge {
  position:absolute; top:6px; left:6px; z-index:2;
  height:20px; display:inline-flex; align-items:center; gap:4px;
  padding:0 7px; border-radius:var(--r-badge);
  font-size:var(--t-mini); line-height:1; color:#fff; white-space:nowrap;
}
.badge b { font-weight:700; }
.badge-verified { background:var(--blue); }
.badge-trending {
  background:var(--blue-deep); padding-right:13px;
  clip-path:polygon(0 0,100% 0,calc(100% - 6px) 50%,100% 100%,0 100%);
}
.badge-sponsored { background:var(--ink-2); }
.badge-special { background:linear-gradient(90deg, #FF7A1A, #CC0C39); }

.card-body { display:flex; flex-direction:column; gap:4px; flex:1; }

.card-title {
  font-size:var(--t-title); line-height:20px; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
a.card-title:hover { color:var(--blue); text-decoration:underline; }

.card-tick {
  font-family:var(--mono); font-size:var(--t-sm); color:var(--ink-2);
}
.card-opts { font-size:var(--t-sm); color:var(--ink-2); }
.card-opts a { color:var(--blue-deep); }

.rating { display:flex; align-items:center; gap:6px; }
.rating-n { font-size:var(--t-plus); color:var(--blue-deep); }
.rating-n:hover { color:var(--blue); text-decoration:underline; }

/* one element, five stars, sub-star precision via --fill */
.stars {
  --fill:0%;
  width:76px; height:14px; flex:none; position:relative;
  background:var(--line-soft);
  -webkit-mask:var(--star-mask) no-repeat 0 0 / 76px 14px;
  mask:var(--star-mask) no-repeat 0 0 / 76px 14px;
}
.stars::before {
  content:''; position:absolute; inset:0 auto 0 0;
  width:var(--fill); background:var(--star);
}
.stars-sm { width:60px; height:11px; -webkit-mask-size:60px 11px; mask-size:60px 11px; }

.bought { font-size:var(--t-sm); color:var(--ink-2); }

.price-row { display:flex; align-items:baseline; gap:7px; flex-wrap:wrap; margin-top:2px; }
/* The slot the live price is patched into. It has to be a real box rather
   than display:contents, because the update flash paints on it. */
.price-slot { display:inline-flex; align-items:baseline; }
/* The review byte counter once it is past the contract's cap. */
.is-over { color:var(--price-red); font-weight:700; }
.price { color:var(--ink); font-weight:400; display:inline-flex; align-items:flex-start; }
.price-cur { font-size:var(--t-sm); position:relative; top:3px; margin-right:1px; }
.price-main { font-size:var(--t-price); letter-spacing:-.01em; }
.price-main.is-tiny { font-size:var(--t-title); letter-spacing:0; }
.price-sub { font-size:var(--t-sm); position:relative; top:3px; }
.price-was { font-size:var(--t-sm); color:var(--ink-2); }
.price-was s { text-decoration:line-through; }
.price-na { font-size:var(--t-plus); color:var(--price-red); font-weight:700; }

.chg {
  display:inline-flex; align-items:center; height:18px; padding:0 6px;
  border-radius:var(--r-badge); font-size:var(--t-mini); font-weight:700;
}
.chg-up { color:var(--pos); background:var(--pos-bg); }
.chg-dn { color:var(--neg); background:var(--neg-bg); }

.ship { font-size:var(--t-sm); color:var(--ink-2); }
.ship b { color:var(--ink); font-weight:700; }
.urgent { font-size:var(--t-sm); color:var(--urgent); font-weight:400; }

.cta {
  margin-top:10px; height:32px; width:100%;
  background:var(--btn-y); border:1px solid var(--btn-y-line);
  border-radius:var(--r-pill); font-size:var(--t-base); font-weight:500; color:var(--ink);
  display:grid; place-items:center; box-shadow:var(--sh-card);
  transition:background var(--t-micro);
}
.cta:hover { background:var(--btn-y-hover); color:var(--ink); text-decoration:none; }

/* skeleton while prices load */
.sk { display:inline-block; height:1em; width:64px; border-radius:3px; background:var(--line-soft); }
@media (prefers-reduced-motion:no-preference) {
  .sk { animation:pulse 1.3s var(--ease) infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
}
.is-live { animation:flash 240ms var(--ease); }
@keyframes flash { from { background:var(--blue-tint); } to { background:transparent; } }
@media (prefers-reduced-motion:reduce) { .is-live { animation:none; } }

/* ============================================================
   Pagination + empty
   ============================================================ */
/* Wraps rather than overflowing. Previous + six numbers + Next is wider than
   a phone, and a centred nowrap row does not merely spill to one side: it
   spills to both, so the two controls a visitor actually wants were the two
   being cut off the edges. */
.pager { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; padding:34px 0 10px; }
.pg {
  min-width:38px; height:38px; padding:0 12px;
  border:1px solid var(--line); border-radius:var(--r-ctl);
  display:grid; place-items:center; font-size:var(--t-plus);
  background:var(--card); color:var(--ink);
}
.pg:hover:not(:disabled):not(.is-on) { background:var(--fill-hover); text-decoration:none; }
.pg.is-on { background:var(--blue); border-color:var(--blue); color:#fff; font-weight:700; }
.pg:disabled { color:var(--ink-3); cursor:default; background:var(--fill); }
.pg-gap { color:var(--ink-3); padding:0 2px; }

.empty { padding:60px 20px; text-align:center; }
.empty h2 { font-size:var(--t-lg); margin-bottom:8px; }
.empty p { color:var(--ink-2); font-size:var(--t-plus); }

/* ============================================================
   Footer
   ============================================================ */
.foot { background:var(--nav-2); color:#fff; margin-top:0; }
.foot-top {
  display:block; text-align:center; padding:15px; background:var(--nav-2); color:#DDD;
  font-size:var(--t-base); border-bottom:1px solid rgba(255,255,255,.1);
}
.foot-top:hover { background:#18233F; text-decoration:none; }
.foot-main {
  max-width:var(--content-max); margin:0 auto; padding:32px var(--gutter);
  background:var(--nav); display:grid; gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.foot-col h4 { font-size:var(--t-plus); margin-bottom:9px; }
.foot-col a, .foot-col p { display:block; font-size:var(--t-base); color:#DDD; margin-bottom:6px; }
.foot-col a:hover { text-decoration:underline; color:#fff; }
.foot-legal {
  background:var(--nav); border-top:1px solid rgba(255,255,255,.13);
  padding:20px; text-align:center; font-size:var(--t-sm); color:#AAA; line-height:1.7;
}
.foot-legal a { color:#DDD; text-decoration:underline; }

/* ============================================================
   Filter drawer (below 1000px)
   ============================================================ */
.filtbar { display:none; gap:8px; padding:10px var(--gutter); border-bottom:1px solid var(--line-soft); align-items:center; }
.filt-btn {
  display:inline-flex; align-items:center; gap:6px; flex:none;
  border:1px solid var(--line); border-radius:var(--r-pill);
  padding:7px 14px; font-size:var(--t-base); font-weight:500;
  background:var(--card); box-shadow:var(--sh-card);
}
.filt-btn .n {
  background:var(--blue); color:#fff; border-radius:var(--r-pill);
  min-width:18px; height:18px; padding:0 5px; font-size:var(--t-mini);
  font-weight:700; display:grid; place-items:center;
}
.chiprail { display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; flex:1; }
.chiprail::-webkit-scrollbar { display:none; }
.chip {
  flex:none; border:1px solid var(--line); border-radius:var(--r-pill);
  padding:6px 12px; font-size:var(--t-base); background:var(--card); white-space:nowrap;
}
.chip.is-on { background:var(--blue); border-color:var(--blue); color:#fff; font-weight:600; }

dialog.drawer {
  border:0; padding:0; margin:0; height:100dvh; max-height:100dvh;
  width:320px; max-width:88vw; margin-right:auto;
  background:var(--card); box-shadow:var(--sh-pop);
}
dialog.drawer::backdrop { background:rgba(15,17,17,.45); }
.drawer-in { display:flex; flex-direction:column; height:100%; }
.drawer-hd {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid var(--line); flex:none;
}
.drawer-hd h2 { font-size:var(--t-title); }
.drawer-bd { overflow-y:auto; flex:1; padding:0 16px; }
.drawer-bd .side { padding:16px 0 24px; }
.drawer-ft {
  display:flex; gap:10px; padding:12px 16px; border-top:1px solid var(--line); flex:none;
}
.drawer-ft button { flex:1; height:38px; border-radius:var(--r-pill); font-size:var(--t-plus); }
.btn-primary { background:var(--btn-y); border:1px solid var(--btn-y-line); font-weight:500; }
.btn-ghost { border:1px solid var(--line); background:var(--card); }
.x-btn { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; }
@media (hover:hover) { .x-btn:hover { background:var(--fill); } }
/* A tap must not leave the close ring behind; keyboard focus still shows. */
.x-btn:focus:not(:focus-visible) { outline:0; }

@media (prefers-reduced-motion:no-preference) {
  dialog.drawer[open] { animation:slidein 260ms var(--ease); }
  @keyframes slidein { from { transform:translateX(-100%); } to { transform:none; } }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1399px) { .grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1159px) {
  :root { --sidebar-w:200px; }
  .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:999px) {
  .body { grid-template-columns:1fr; }
  .side-desktop { display:none; }
  .main { border-left:0; }
  .filtbar { display:flex; }
  .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hdr-main { flex-wrap:wrap; height:auto; padding:8px var(--gx); gap:8px; }
  .search { order:3; flex-basis:100%; height:44px; }
  /* 16px, or iOS zooms the page when the field is tapped. */
  .search-in { font-size:16px; padding:0 14px; }
  .deliver { display:none; }
}
@media (max-width:767px) {
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  /* market cap is the number people came for, so it stays.
     The launch date and buy count are what give way. */
  .card-opts, .bought, .ship-date { display:none; }
  .price-main { font-size:var(--t-lg); }
}
@media (max-width:479px) {
  :root { --gutter:12px; }
  .grid { grid-template-columns:1fr; gap:0; }
  .card {
    display:grid; grid-template-columns:116px 1fr; gap:12px;
    padding:14px 4px; border-bottom:1px solid var(--line-soft); border-radius:0;
  }
  .card:hover { box-shadow:none; }
  .card-media { width:116px; margin-bottom:0; }
  .card-title { font-size:var(--t-plus); line-height:18px; -webkit-line-clamp:3; }
  /* Cards only. This used to match every .cta, and the dialog's button
     shrank to its text with nothing around it. */
  .card .cta { grid-column:2; width:auto; padding:0 14px; }
  /* 10px was the one piece of type on the site below the 11px floor, and
     it sits over artwork rather than paper. "New arrival" still clears
     the 116px thumbnail at 11px. */
  .badge { height:18px; padding:0 5px; }
  .hdr-sub { padding:0 calc(var(--gx) - 9px); }
}

/* ============================================================
   Detail page
   ============================================================ */
/* Three columns, two rows. The DOM is in phone order (head, gallery, buy box,
   detail) and every child is placed by hand here, so the wide layout reads
   gallery | name over detail | buy box without the markup having to be in
   that order. Rows are auto sized and the gallery and buy box span both, so
   each column is still as tall as its own content. */
.pdp {
  display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr) 300px;
  grid-template-rows:auto 1fr; gap:0 26px; padding:22px var(--gutter) 40px;
}
.pdp > .pdp-head { grid-column:2; grid-row:1; }
.pdp > #gal      { grid-column:1; grid-row:1 / span 2; }
/* align-self, or the card stretches to the height of the longer column and
   its border runs on below the disclaimer over nothing. */
.pdp > .buybox   { grid-column:3; grid-row:1 / span 2; align-self:start; }
.pdp > #main     { grid-column:2; grid-row:2; min-width:0; }

.crumb { padding:11px var(--gutter) 0; font-size:var(--t-sm); color:var(--ink-2); }
.crumb a { color:var(--blue-deep); }

.gal-main {
  position:relative; border:1px solid var(--line-soft); border-radius:var(--r-card);
  aspect-ratio:1/1; width:100%; background:var(--card); overflow:hidden;
}
.gal-main img {
  position:absolute; inset:14px;
  width:calc(100% - 28px); height:calc(100% - 28px);
  object-fit:contain; border-radius:4px;
}
.gal-thumbs { display:flex; gap:8px; margin-top:10px; }
.gal-thumb {
  position:relative; width:54px; aspect-ratio:1/1;
  border:1px solid var(--line); border-radius:6px;
  background:var(--card); overflow:hidden;
}
.gal-thumb.is-on { border-color:var(--blue); box-shadow:0 0 0 1px var(--blue); }
.gal-thumb img { position:absolute; inset:3px; width:calc(100% - 6px); height:calc(100% - 6px); object-fit:contain; }

.pdp-h1 { font-size:var(--t-h1); font-weight:500; line-height:1.28; margin-bottom:6px; }
.pdp-sub { font-size:var(--t-plus); color:var(--ink-2); margin-bottom:9px; font-family:var(--mono); }
.pdp-rating { display:flex; align-items:center; gap:9px; padding-bottom:12px; border-bottom:1px solid var(--line-soft); flex-wrap:wrap; }
.pdp-sec { padding:16px 0; border-bottom:1px solid var(--line-soft); }
.pdp-sec:last-child { border-bottom:0; }
.pdp-sec h2 { font-size:var(--t-lg); font-weight:700; margin-bottom:10px; }
.pdp-sec h3 { font-size:var(--t-title); font-weight:700; margin-bottom:8px; }
.pdp-desc { font-size:var(--t-plus); color:var(--ink); line-height:1.6; white-space:pre-wrap; }
.pdp-desc.is-empty { color:var(--ink-2); font-style:italic; }

.bullets { display:flex; flex-direction:column; gap:7px; }
.bullets li { font-size:var(--t-plus); line-height:1.5; padding-left:17px; position:relative; }
.bullets li::before { content:''; position:absolute; left:4px; top:8px; width:4px; height:4px; border-radius:50%; background:var(--ink-2); }

.socials { display:flex; gap:9px; flex-wrap:wrap; }
.social {
  display:inline-flex; align-items:center; gap:6px; padding:7px 13px;
  border:1px solid var(--line); border-radius:var(--r-pill);
  font-size:var(--t-base); background:var(--card); color:var(--ink);
}
.social:hover { background:var(--fill-hover); text-decoration:none; border-color:var(--blue); color:var(--blue); }

/* buy box */
.buybox {
  border:1px solid var(--line); border-radius:var(--r-card); padding:16px;
  position:sticky; top:calc(var(--stick-h) + 14px);
  display:flex; flex-direction:column; gap:10px; background:var(--card);
}
.buybox .price-row { margin:0; }
.bb-stock { font-size:var(--t-lg); font-weight:500; }
.bb-stock.ok { color:var(--stock); }
.bb-stock.low { color:var(--urgent); }
.bb-stock.no { color:var(--price-red); }
.bb-rows { display:flex; flex-direction:column; gap:5px; font-size:var(--t-base); }
.bb-row { display:flex; justify-content:space-between; gap:10px; }
.bb-row span:first-child { color:var(--ink-2); }
.bb-row span:last-child { text-align:right; font-weight:500; }
.bb-pad { display:inline-flex; align-items:center; gap:6px; }
.bb-pad img { width:16px; height:16px; border-radius:4px; object-fit:cover; }
.bb-note { font-size:var(--t-sm); color:var(--ink-2); line-height:1.5; }
.mono { font-family:var(--mono); font-size:var(--t-sm); }

.copy-ca {
  display:flex; align-items:center; gap:6px; width:100%; justify-content:space-between;
  border:1px solid var(--line); border-radius:var(--r-ctl); padding:7px 10px;
  background:var(--fill); font-family:var(--mono); font-size:var(--t-sm);
}
.copy-ca:hover { background:var(--fill-hover); }

/* score breakdown, the honest replacement for a reviews block */
.score-grid { display:grid; grid-template-columns:minmax(0,240px) minmax(0,1fr); gap:26px; align-items:start; }
.score-big { font-size:28px; font-weight:700; line-height:1.1; }
.check { display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--line-soft); align-items:flex-start; }
.check:last-child { border-bottom:0; }
.check-ico { width:18px; height:18px; flex:none; border-radius:50%; display:grid; place-items:center; margin-top:1px; }
.check-pass { background:var(--pos-bg); color:var(--pos); }
.check-fail { background:var(--neg-bg); color:var(--neg); }
.check-unk  { background:var(--fill); color:var(--ink-2); }
.check-body { flex:1; min-width:0; }
.check-lb { font-size:var(--t-plus); font-weight:700; }
.check-lb .st { font-weight:400; color:var(--ink-2); }
.check-help { font-size:var(--t-sm); color:var(--ink-2); margin-top:2px; line-height:1.5; }
.check-note { font-size:var(--t-sm); margin-top:3px; }

.datapoint { padding:11px 0; border-bottom:1px solid var(--line-soft); }
.datapoint:last-child { border-bottom:0; }
.dp-tag {
  display:inline-block; font-size:var(--t-mini); font-weight:700; color:var(--pos);
  background:var(--pos-bg); border-radius:var(--r-badge); padding:2px 6px; margin-bottom:4px;
}
.dp-txt { font-size:var(--t-plus); line-height:1.55; }

.fbt { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; }
.fbt-card { display:block; text-align:left; }
.fbt-card img, .fbt-card .tile { width:100%; aspect-ratio:1/1; height:auto; object-fit:contain; border-radius:6px; background:var(--fill); }
.fbt-nm { font-size:var(--t-base); margin-top:6px; color:var(--blue-deep); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fbt-card:hover .fbt-nm { text-decoration:underline; color:var(--blue); }
.fbt-mc { font-size:var(--t-sm); color:var(--ink-2); }

@media (max-width:1100px) {
  /* Two columns: gallery beside the name, detail and buy box across the full
     width under them. The buy box stops being sticky because there is no
     longer a tall neighbour for it to track. */
  .pdp { grid-template-columns:minmax(0,300px) minmax(0,1fr); grid-template-rows:auto auto auto; }
  .pdp > .pdp-head { grid-column:2; grid-row:1; }
  .pdp > #gal      { grid-column:1; grid-row:1; }
  /* Capped rather than stretched. The rows inside are label left, figure
     right, so at the full 830px of a tablet "Market cap" and "$8.29M" end up
     at opposite ends of the screen with a hand span of nothing between them. */
  .pdp > .buybox   { grid-column:1/-1; grid-row:2; position:static; margin-top:18px; max-width:520px; }
  .pdp > #main     { grid-column:1/-1; grid-row:3; }
}
@media (max-width:767px) {
  /* One column, and now the source order is the order: the price and the
     button sit directly under the picture instead of below the checks, the
     reviews and the related projects, which on a phone was about 2700px of
     scrolling before the page showed what the token costs. */
  .pdp { display:flex; flex-direction:column; gap:18px; padding-top:16px; }
  .pdp > .buybox { margin-top:0; }

  .score-grid { grid-template-columns:1fr; gap:14px; }
  .pdp-h1 { font-size:var(--t-lg); }

  /* Most project art is a 3:1 banner, and letterboxing that inside a square
     spent about 240px of a phone screen on white. A shallower frame still
     contains a square logo without cropping it. */
  .gal-main { aspect-ratio:3/2; }
  .gal-main img { inset:8px; width:calc(100% - 16px); height:calc(100% - 16px); }
}

/* score breakdown bars */
.bar-row { padding:9px 0; border-bottom:1px solid var(--line-soft); }
.bar-row:last-child { border-bottom:0; }
.bar-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:5px; }
.bar-lb { font-size:var(--t-plus); font-weight:700; }
.bar-v { font-size:var(--t-sm); color:var(--ink-2); font-family:var(--mono); flex:none; }
.bar-v.is-neg { color:var(--neg); }
.bar { height:8px; border-radius:100px; background:var(--line-soft); overflow:hidden; }
.bar-fill { display:block; height:100%; background:var(--blue); border-radius:100px; }
.bar-fill.is-neg { background:var(--neg); }
@media (prefers-reduced-motion:no-preference) {
  .bar-fill { animation:grow 620ms var(--ease); }
  @keyframes grow { from { width:0 !important; } }
}

/* ============================================================
   Community reviews
   ============================================================ */
.rev-overall { display:grid; grid-template-columns:minmax(0,200px) minmax(0,1fr); gap:26px; align-items:start; margin-bottom:20px; }
.rev-score .stars { margin-top:6px; }

.hist-row { display:flex; align-items:center; gap:9px; padding:2px 0; }
.hist-lb { font-size:var(--t-base); color:var(--blue-deep); flex:none; width:52px; }
.hist-lb:hover { color:var(--blue); text-decoration:underline; }
.hist-bar { flex:1; height:19px; background:var(--fill); border:1px solid var(--line); border-radius:2px; overflow:hidden; }
.hist-fill { display:block; height:100%; background:var(--star); }
.hist-pct { font-size:var(--t-base); color:var(--ink-2); flex:none; width:38px; text-align:right; }

/* The one moment the page has something to confirm. Survives the re-render
   that follows a post, which is the whole reason it is a block of its own
   rather than a line inside the form. */
.rev-flash {
  margin:12px 0 0; padding:10px 13px; border-radius:var(--r-badge);
  background:var(--pos-bg); color:var(--pos); border:1px solid rgba(6,125,98,.25);
  font-size:var(--t-plus); font-weight:600;
}

.rev-empty { padding:18px 0 22px; }
.rev-empty h3 { font-size:var(--t-title); margin-bottom:6px; }
.rev-empty p { font-size:var(--t-plus); color:var(--ink-2); line-height:1.55; max-width:60ch; }

/* gate notices */
/* The gate notice above the write form: a heading, one line under it, and
   the action, if there is one, on its own at the right. On a narrow screen
   the action drops below the text. */
.rev-gate {
  display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap;
  border:1px solid var(--line); border-radius:var(--r-card);
  padding:14px 18px; font-size:var(--t-base); line-height:1.5; margin-bottom:20px;
}
.rev-gate.is-wait { background:var(--fill); }
.rev-gate.is-act { background:var(--blue-tint); border-color:var(--blue-line); }
.rev-gate-txt { flex:1 1 320px; min-width:0; }
.rev-gate-txt b { display:block; font-size:var(--t-plus); font-weight:700; margin-bottom:2px; }
.rev-gate-txt span { color:var(--ink-2); }
.abtn-inline {
  flex:none; display:inline-block; background:var(--btn-y);
  border:1px solid var(--btn-y-line); border-radius:var(--r-pill);
  padding:9px 20px; font-size:var(--t-base); font-weight:600; box-shadow:var(--sh-card); white-space:nowrap;
}
.abtn-inline:hover { background:var(--btn-y-hover); }

/* write form */
.rev-form {
  border:1px solid var(--line); border-radius:var(--r-card);
  padding:16px; margin-bottom:22px; display:flex; flex-direction:column; gap:10px;
}
.rev-form h3 { font-size:var(--t-title); }
.rev-form .ain {
  width:100%; border:1px solid var(--line); border-radius:var(--r-ctl);
  padding:9px 11px; font-size:var(--t-plus); font-family:inherit; background:var(--card);
}
.rev-form .ain:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.rev-form textarea.ain { min-height:88px; resize:vertical; line-height:1.55; }

.rev-picker { display:flex; align-items:center; gap:3px; }
.pick { padding:2px; line-height:0; border-radius:4px; color:var(--line); }
.pick svg { fill:currentColor; }
.pick.on { color:var(--star); }
.pick:hover { color:var(--star); }
.rev-picked { margin-left:9px; font-size:var(--t-base); color:var(--ink-2); }

.rev-foot { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.rev-foot .bb-note { margin-right:auto; }
.rev-foot .cta { margin-top:0; }

/* the list */
.rev-list { display:flex; flex-direction:column; }
.rev-item { padding:16px 0; border-top:1px solid var(--line-soft); }
.rev-item.is-mine { background:var(--blue-tint); border-radius:var(--r-card); padding:16px; border-top:0; margin-bottom:8px; }
.rev-who { display:flex; align-items:center; gap:8px; margin-bottom:7px; }
.rev-av {
  width:26px; height:26px; border-radius:50%; background:var(--fill);
  display:grid; place-items:center; font-family:var(--mono);
  font-size:var(--t-mini); color:var(--ink-2); flex:none;
}
.rev-addr { font-family:var(--mono); font-size:var(--t-base); color:var(--ink); }
.rev-addr:hover { color:var(--blue); }
.rev-mine { font-size:var(--t-mini); font-weight:700; color:var(--blue); }
.rev-head { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.rev-title { font-size:var(--t-plus); }
.rev-date { font-size:var(--t-sm); color:var(--ink-2); margin:3px 0 7px; }
.rev-verified { color:var(--price-red); font-weight:700; margin-left:5px; }
.rev-body { font-size:var(--t-plus); line-height:1.6; white-space:pre-wrap; }
.rev-hidden { margin-top:16px; padding-top:12px; border-top:1px solid var(--line-soft); }

@media (max-width:767px) {
  .rev-overall { grid-template-columns:1fr; gap:14px; }
}
.rev-held { color:var(--ink-2); margin-left:8px; }

/* ============================================================
   Banner advert
   ============================================================ */
/* The Amazon home page arrangement: a short banner, edge to edge, with the
   aisle cards (js/depts.js) set over the bottom of it. The artwork is shown
   whole at its own 3:1 because every banner has words down to its bottom
   edge, so the slot is never taller than --spot-max and the artwork never
   wider than three times that. Beside it, and for --spot-fade under it, the
   artwork's own edges carry on out to the window's edges and fade into the
   page; the cards sit on that fade, never on the artwork. */
:root { --spot-max:300px; --spot-fade:200px; }
.spotlight {
  position:relative; margin:0; isolation:isolate; container-type:inline-size;
}
/* The fill runs to the window's edges, past the 1500px shell, so a wide
   screen never sees it stop on a vertical line. 100vw counts a desktop
   scrollbar, so the page clips sideways overflow rather than scroll. */
body:has(#spotlight) { overflow-x:clip; }
/* --spot-h is the artwork's height, --spot-art its width. Container units,
   so a resize needs no script. The fade under the artwork is eased (a
   smootherstep curve in twelve stops): a straight ramp shows where it starts. */
.spot-glow {
  --spot-h:min(calc(100cqw / 3), var(--spot-max));
  --spot-art:calc(var(--spot-h) * 3);
  position:absolute; top:0; bottom:calc(-1 * var(--spot-fade)); left:calc(50% - 50vw); width:100vw;
  z-index:-1; overflow:hidden; pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 calc(100% - var(--spot-fade)), rgba(0,0,0,0.995) calc(100% - var(--spot-fade) * 0.917), rgba(0,0,0,0.965) calc(100% - var(--spot-fade) * 0.833), rgba(0,0,0,0.896) calc(100% - var(--spot-fade) * 0.750), rgba(0,0,0,0.790) calc(100% - var(--spot-fade) * 0.667), rgba(0,0,0,0.653) calc(100% - var(--spot-fade) * 0.583), rgba(0,0,0,0.500) calc(100% - var(--spot-fade) * 0.500), rgba(0,0,0,0.347) calc(100% - var(--spot-fade) * 0.417), rgba(0,0,0,0.210) calc(100% - var(--spot-fade) * 0.333), rgba(0,0,0,0.104) calc(100% - var(--spot-fade) * 0.250), rgba(0,0,0,0.035) calc(100% - var(--spot-fade) * 0.167), rgba(0,0,0,0.005) calc(100% - var(--spot-fade) * 0.083), transparent 100%);
          mask-image:linear-gradient(#000 calc(100% - var(--spot-fade)), rgba(0,0,0,0.995) calc(100% - var(--spot-fade) * 0.917), rgba(0,0,0,0.965) calc(100% - var(--spot-fade) * 0.833), rgba(0,0,0,0.896) calc(100% - var(--spot-fade) * 0.750), rgba(0,0,0,0.790) calc(100% - var(--spot-fade) * 0.667), rgba(0,0,0,0.653) calc(100% - var(--spot-fade) * 0.583), rgba(0,0,0,0.500) calc(100% - var(--spot-fade) * 0.500), rgba(0,0,0,0.347) calc(100% - var(--spot-fade) * 0.417), rgba(0,0,0,0.210) calc(100% - var(--spot-fade) * 0.333), rgba(0,0,0,0.104) calc(100% - var(--spot-fade) * 0.250), rgba(0,0,0,0.035) calc(100% - var(--spot-fade) * 0.167), rgba(0,0,0,0.005) calc(100% - var(--spot-fade) * 0.083), transparent 100%);
}
/* Inside an aisle the cards step aside, and the fill stops at the artwork
   rather than run under the aisle's own heading. */
.spotlight:has(~ .depts[hidden]) .spot-glow { bottom:0; -webkit-mask-image:none; mask-image:none; }
/* One layer, blurred as one, over the edges' mean colour (set by
   js/spotlight.js), and 40px bigger than the slot all round. Blurring each
   strip on its own left their edges see-through, and the white page showed
   as a pale line down the artwork's sides. */
.spot-bg {
  position:absolute; inset:-40px; opacity:0; visibility:hidden; filter:blur(14px);
  transition:opacity 520ms var(--ease), visibility 0s linear 520ms;
}
.spot-bg.is-ready.is-on { opacity:1; visibility:visible; transition-delay:0s; }
.spot-bg i { position:absolute; display:block; }
/* The artwork's top edge sits 40px into the layer; each strip runs 8px
   under the artwork so the two overlap rather than meet. */
.g-l { left:0; top:0; right:calc(50% + var(--spot-art) / 2 - 8px); height:calc(40px + var(--spot-h)); }
.g-r { right:0; top:0; left:calc(50% + var(--spot-art) / 2 - 8px); height:calc(40px + var(--spot-h)); }
.g-b { left:0; right:0; top:calc(40px + var(--spot-h) - 8px); bottom:0; }
.spot-track {
  position:relative; aspect-ratio:3 / 1; max-height:var(--spot-max); width:100%;
  overflow:hidden; touch-action:pan-y;
}
/* each slide and the frame over it are the artwork's own box, centred */
.spot-slide, .spot-frame {
  position:absolute; top:0; bottom:0; left:50%; transform:translateX(-50%);
  aspect-ratio:3 / 1; max-width:100%;
}
.spot-slide {
  opacity:0; visibility:hidden;
  transition:opacity 520ms var(--ease), visibility 0s linear 520ms;
}
.spot-slide.is-on { opacity:1; visibility:visible; transition-delay:0s; }
/* Rotation is stopped in JS for reduced motion, but a visitor can still change
   slide by clicking a dot, and that must not cross-fade. */
@media (prefers-reduced-motion:reduce) {
  .spot-slide, .spot-slide.is-on, .spot-bg, .spot-bg.is-ready.is-on { transition:none; }
}
.spot-slide a, .spot-slide img, .spot-slide video { display:block; width:100%; height:100%; }
/* The artwork melts into the fill instead of stopping on a line: its bottom
   over 6px (the lowest words, "$STONKEX live on prime", sit just above
   that), and, where the fill shows beside it, its sides over 40px on the
   same eased curve. No banner has words that close to its side edges. */
.spot-slide {
  -webkit-mask-image:linear-gradient(#000 calc(100% - 6px), rgba(0,0,0,.5) calc(100% - 3px), transparent);
          mask-image:linear-gradient(#000 calc(100% - 6px), rgba(0,0,0,.5) calc(100% - 3px), transparent);
}
/* inside an aisle nothing runs under the artwork, so its bottom stays sharp */
.spotlight:has(~ .depts[hidden]) .spot-slide { -webkit-mask-image:none; mask-image:none; }
@container (min-width:940px) {
  .spot-slide {
    -webkit-mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,0.035) 6.7px, rgba(0,0,0,0.210) 13.3px, rgba(0,0,0,0.500) 20.0px, rgba(0,0,0,0.790) 26.7px, rgba(0,0,0,0.965) 33.3px, #000 40px, #000 calc(100% - 40px), rgba(0,0,0,0.965) calc(100% - 33.3px), rgba(0,0,0,0.790) calc(100% - 26.7px), rgba(0,0,0,0.500) calc(100% - 20.0px), rgba(0,0,0,0.210) calc(100% - 13.3px), rgba(0,0,0,0.035) calc(100% - 6.7px), transparent 100%), linear-gradient(#000 calc(100% - 6px), rgba(0,0,0,.5) calc(100% - 3px), transparent);
    -webkit-mask-composite:source-in;
            mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,0.035) 6.7px, rgba(0,0,0,0.210) 13.3px, rgba(0,0,0,0.500) 20.0px, rgba(0,0,0,0.790) 26.7px, rgba(0,0,0,0.965) 33.3px, #000 40px, #000 calc(100% - 40px), rgba(0,0,0,0.965) calc(100% - 33.3px), rgba(0,0,0,0.790) calc(100% - 26.7px), rgba(0,0,0,0.500) calc(100% - 20.0px), rgba(0,0,0,0.210) calc(100% - 13.3px), rgba(0,0,0,0.035) calc(100% - 6.7px), transparent 100%), linear-gradient(#000 calc(100% - 6px), rgba(0,0,0,.5) calc(100% - 3px), transparent);
            mask-composite:intersect;
  }
  .spotlight:has(~ .depts[hidden]) .spot-slide { -webkit-mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,0.035) 6.7px, rgba(0,0,0,0.210) 13.3px, rgba(0,0,0,0.500) 20.0px, rgba(0,0,0,0.790) 26.7px, rgba(0,0,0,0.965) 33.3px, #000 40px, #000 calc(100% - 40px), rgba(0,0,0,0.965) calc(100% - 33.3px), rgba(0,0,0,0.790) calc(100% - 26.7px), rgba(0,0,0,0.500) calc(100% - 20.0px), rgba(0,0,0,0.210) calc(100% - 13.3px), rgba(0,0,0,0.035) calc(100% - 6.7px), transparent 100%); mask-image:linear-gradient(90deg, transparent 0, rgba(0,0,0,0.035) 6.7px, rgba(0,0,0,0.210) 13.3px, rgba(0,0,0,0.500) 20.0px, rgba(0,0,0,0.790) 26.7px, rgba(0,0,0,0.965) 33.3px, #000 40px, #000 calc(100% - 40px), rgba(0,0,0,0.965) calc(100% - 33.3px), rgba(0,0,0,0.790) calc(100% - 26.7px), rgba(0,0,0,0.500) calc(100% - 20.0px), rgba(0,0,0,0.210) calc(100% - 13.3px), rgba(0,0,0,0.035) calc(100% - 6.7px), transparent 100%); }
}
.spot-slide img, .spot-slide video { object-fit:cover; }

.spot-frame { pointer-events:none; }
.spot-tag {
  position:absolute; left:8px; top:8px; padding:2px 8px; border-radius:var(--r-badge);
  background:rgba(15,17,17,.55); color:#fff; font-size:var(--t-mini); line-height:16px;
}
.spot-dots { position:absolute; right:12px; bottom:12px; display:flex; gap:8px; pointer-events:auto; }
.spot-dot {
  width:8px; height:8px; border-radius:50%; padding:0;
  background:rgba(255,255,255,.55); box-shadow:0 0 0 1px rgba(15,17,17,.25);
  transition:background var(--t-micro), transform var(--t-micro);
}
.spot-dot.is-on { background:#fff; transform:scale(1.25); }

/* Amazon's arrows, at the slot's edges, only where the slot is wide enough
   that they sit beside the artwork rather than on its words. */
.spot-arr {
  display:none; position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:44px; height:44px; border-radius:50%; padding:0;
  background:rgba(255,255,255,.92); color:var(--ink); border:1px solid var(--line);
  place-items:center; box-shadow:var(--sh-card);
}
.spot-prev { left:var(--gutter); }
.spot-next { right:var(--gutter); }
@media (min-width:1040px) { .spot-arr { display:grid; } }
@media (hover:hover) { .spot-arr:hover { background:#fff; border-color:var(--ink-3); } }

/* ============================================================
   Aisle cards (js/depts.js), over the banner's fade
   ============================================================ */
.depts {
  position:relative; z-index:1;
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px;
  margin:24px var(--gutter) 0;
}
.depts[hidden] { display:none; }
.dept {
  display:flex; flex-direction:column; gap:12px; min-width:0;
  background:var(--card); border-radius:var(--r-card); box-shadow:var(--sh-card);
  padding:16px 16px 16px;
}
.dept-h { font-size:var(--t-lg); font-weight:700; line-height:1.25; }
.dept-h a { color:inherit; }
.dept-quad { display:grid; grid-template-columns:1fr 1fr; gap:12px 12px; }
.dept-q { display:flex; flex-direction:column; gap:4px; min-width:0; color:var(--ink); }
.dept-pic {
  display:block; aspect-ratio:1 / .84; border-radius:var(--r-badge); overflow:hidden; background:var(--fill);
}
.dept-pic img { width:100%; height:100%; object-fit:cover; display:block; }
.dept-cap {
  font-size:var(--t-sm); line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.dept-cap small { color:var(--ink-2); font-size:var(--t-sm); }
.dept-tick { display:grid; place-items:center; background:var(--fill); }
.dept-pic .stock-logo { width:auto; height:62%; aspect-ratio:1; border-radius:18%; }
.dept-pic .stock-tile { width:62%; height:62%; font-size:clamp(13px, 1.4vw, 18px); }
.dept-one {
  display:block; flex:1; min-height:0; aspect-ratio:1 / .76; border-radius:var(--r-badge); overflow:hidden;
}
.dept-stake { background:linear-gradient(180deg, var(--blue-tint), #fff); }
.dept-stake img { width:100%; height:100%; object-fit:cover; object-position:50% 18%; display:block; }
.dept-otc {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
  background:linear-gradient(135deg, var(--nav) 0%, var(--blue-deep) 100%); color:#fff;
}
.dept-otc-ic { display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.12); }
.dept-otc-coins { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; padding:0 12px; }
.dept-otc-coins span {
  display:inline-flex; align-items:center; gap:6px; padding:4px 10px 4px 4px; border-radius:var(--r-pill);
  background:#fff; color:var(--ink); font-size:var(--t-sm); font-weight:600;
}
.dept-otc-coins img { border-radius:50%; }
.dept-note { font-size:var(--t-base); color:var(--ink-2); line-height:1.45; }
.dept-more { margin-top:auto; font-size:var(--t-base); }
@media (hover:hover) {
  a.dept-q:hover .dept-cap { color:var(--blue); text-decoration:underline; }
}

/* Under 1024px the four cards become a row that scrolls sideways inside
   itself, as Amazon's do on a phone. The row is clipped by its own box, so
   the page never scrolls sideways. */
@media (max-width:1023px) {
  :root { --spot-fade:128px; }
  .depts {
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin:16px 0 0; padding:0 var(--gutter) 8px;
    scroll-padding:0 var(--gutter);
  }
  .depts::-webkit-scrollbar { display:none; }
  .dept { flex:0 0 280px; scroll-snap-align:start; }
}
@media (max-width:560px) {
  :root { --spot-fade:96px; }
  .depts { margin-top:12px; padding:0 12px 8px; scroll-padding:0 12px; gap:12px; }
  .dept { flex-basis:min(260px, 76vw); }
  .spot-tag { left:6px; top:6px; padding:1px 6px; }
}

/* The slot with nothing sold. Rendered at the real size so the format
   reads to a buyer, and labelled Advertisement rather than Sponsored so
   it is never mistaken for a paid placement. */
.spot-house {
  aspect-ratio:3 / 1; overflow:hidden; position:relative;
  background:linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 58%, var(--blue-hi) 100%);
  display:flex; align-items:center; padding:0 clamp(24px, 5%, 68px); color:#fff;
}
.spot-house-in { position:relative; z-index:2; max-width:56%; }
.spot-house-kicker {
  font-size:var(--t-sm); letter-spacing:.16em; text-transform:uppercase;
  opacity:.78; margin-bottom:10px;
}
.spot-house-h { font-size:clamp(20px, 3.4vw, 46px); line-height:1.08; letter-spacing:-.02em; font-weight:700; }
.spot-house-sub { margin-top:12px; font-size:clamp(12px, 1.2vw, 16px); opacity:.85; max-width:44ch; }

.spot-house-art { position:absolute; right:5%; bottom:0; top:0; width:38%; }
.spot-box {
  position:absolute; bottom:14%; border-radius:6px;
  background:linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.1));
  box-shadow:0 18px 30px -18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3);
}
.spot-box-1 { left:6%;  width:34%; aspect-ratio:1; transform:rotate(-6deg); }
.spot-box-2 { left:36%; width:44%; aspect-ratio:1.15; bottom:12%; }
.spot-box-3 { left:72%; width:26%; aspect-ratio:.9; transform:rotate(7deg); }

/* ============================================================
   Treasury shortlist rail
   ============================================================ */
/* No panel and no cards inside it. The row sits on the same white as
   everything else, which is the point of flattening: a tinted box
   holding white boxes is two containers doing the job of none. */
.short { margin:22px var(--gutter) 0; }
.short-hd { margin-bottom:12px; }
.short-hd h2 { font-size:var(--t-lg); font-weight:700; }
.short-note { font-size:var(--t-base); color:var(--ink-2); margin-top:3px; max-width:80ch; }

.short-rail { position:relative; }
.short-track {
  display:flex; gap:18px; overflow-x:auto; scroll-behavior:smooth;
  scrollbar-width:none; scroll-snap-type:x proximity; padding:2px;
}
.short-track::-webkit-scrollbar { display:none; }
@media (prefers-reduced-motion:reduce) { .short-track { scroll-behavior:auto; } }

.short-card {
  flex:0 0 auto; width:clamp(150px, 17vw, 188px);
  display:flex; flex-direction:column; scroll-snap-align:start;
}
.short-card:hover { text-decoration:none; }
.short-media { position:relative; aspect-ratio:1/1; width:100%; overflow:hidden; border-radius:4px; }
.short-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.short-rank {
  position:absolute; left:0; top:0; z-index:2; min-width:20px; height:20px; padding:0 6px;
  background:var(--blue); color:#fff; border-radius:var(--r-badge) 0 var(--r-badge) 0;
  font-size:var(--t-mini); font-weight:700; display:grid; place-items:center;
}
.short-name {
  margin-top:9px; font-size:var(--t-base); color:var(--ink); line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.short-card:hover .short-name { color:var(--blue); text-decoration:underline; }
.short-tick { font-family:var(--mono); font-size:var(--t-mini); color:var(--ink-2); margin-top:2px; }
/* The star before the review line: filled in the rating colour once a
   project has one, an outline until then. */
.short-rev { display:inline-flex; align-items:center; gap:5px; }
.short-star { width:12px; height:12px; flex:none; fill:none; stroke:var(--ink-3, #8F97AE); stroke-width:1.8; stroke-linejoin:round; }
.short-star.is-on { fill:var(--star); stroke:var(--star); }
.short-row { display:flex; align-items:baseline; gap:6px; margin-top:6px; flex-wrap:wrap; }
.short-price { font-size:var(--t-plus); color:var(--ink); }
.short-none { font-size:var(--t-sm); color:var(--ink-2); }

.short-arr {
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:34px; height:44px; background:var(--card); color:var(--ink);
  border:1px solid var(--line); border-radius:var(--r-ctl);
  display:grid; place-items:center; box-shadow:var(--sh-card);
}
.short-arr:hover { background:var(--fill-hover); }
.short-prev { left:-6px; }
.short-next { right:-6px; }

.short-empty { padding:26px 4px; font-size:var(--t-plus); color:var(--ink-2); }

@media (max-width:560px) {
  .short { margin-left:12px; margin-right:12px; }
  .spot-house-in { max-width:70%; }
  .spot-house-art { display:none; }
  .short-arr { display:none; }
}

/* The weakest badge on the site, and styled to stay that way: an outline
   rather than a fill, so it never competes with Prime Verified beside it. */
.badge-new {
  background:var(--card); color:var(--blue);
  border:1px solid var(--blue-line); font-weight:600;
}
/* "Nothing bought yet" is a real reading, not a missing one, so it reads as
   ordinary grey text rather than an error. */
.ship-none { color:var(--ink-2); }

/* ============================================================
   Arrival notice (the store is not open yet)
   Markup is built in js/announce.js.
   ============================================================ */
/* A <dialog> rather than a fixed div: Escape, the focus trap and the
   backdrop all come from the element, and none of the three is worth
   reimplementing badly. The card is centred by the dialog's own margin
   auto, so nothing here has to know the viewport. */
dialog.ann {
  border:0; padding:0; background:transparent; overflow:visible;
  max-width:min(460px, calc(100vw - 32px)); width:100%;
  max-height:none; margin:auto;
}
dialog.ann::backdrop { background:rgba(10,16,36,.55); }

.ann-in {
  position:relative; background:var(--card); border-radius:var(--r-card);
  box-shadow:var(--sh-pop); padding:26px 26px 22px; text-align:left;
  /* The offer and checkout forms run taller than a phone. The card scrolls
     rather than the dialog, so its shadow is not clipped, and dvh because
     a phone's browser bars eat into 100vh. */
  max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px);
  overflow-y:auto; overscroll-behavior:contain;
}
/* Sits in the padding, out of the text column, the way Amazon's does. */
.ann-x { position:absolute; top:8px; right:8px; color:var(--ink-2); }

.ann-kicker {
  font-size:var(--t-mini); font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--blue); margin-bottom:5px;
}
.ann-h {
  font-size:var(--t-h1); line-height:1.22; font-weight:700; color:var(--ink);
  /* focused on open so the notice is read from its first word, and a focus
     ring around a heading nobody can type into is just noise */
  outline:0;
}
.ann-p { margin-top:11px; font-size:var(--t-plus); line-height:1.55; color:var(--ink-2); }
.ann-p + .ann-p { margin-top:9px; }

.ann-go { height:40px; margin-top:18px; font-size:var(--t-plus); width:100%; padding:0 18px; }

.ann-fine {
  margin-top:13px; padding-top:12px; border-top:1px solid var(--line-soft);
  font-size:var(--t-sm); color:var(--ink-2);
}

@media (prefers-reduced-motion:no-preference) {
  dialog.ann[open] { animation:annpop 240ms var(--ease); }
  @keyframes annpop { from { opacity:0; transform:translateY(10px) scale(.985); } to { opacity:1; transform:none; } }
}

@media (max-width:560px) {
  .ann-in { padding:22px 20px 18px; }
  .ann-h { font-size:var(--t-lg); }
}

/* The line that says coins have launched since this page was opened. It is a
   button, not a banner, because the only thing it does is wait to be clicked:
   nothing on the page moves until somebody asks for it to. */
.live-bar {
  display:flex; align-items:center; gap:9px; width:calc(100% - var(--gutter) * 2);
  margin:14px var(--gutter) 0; padding:10px 14px; text-align:left;
  background:var(--blue-tint); border:1px solid var(--blue-line);
  border-radius:var(--r-ctl); font-size:var(--t-plus); color:var(--ink);
}
.live-bar:hover { background:#E2EBFF; }
.live-bar b { color:var(--blue); text-decoration:underline; }
.live-dot {
  flex:none; width:8px; height:8px; border-radius:50%; background:var(--blue);
}
@media (prefers-reduced-motion:no-preference) {
  .live-dot { animation:livepulse 2.4s var(--ease) infinite; }
  @keyframes livepulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }
}

/* ============================================================
   The Prime Fund
   ============================================================ */
/* An order history, which is what Amazon's own ledger page is: a heading, a
   filter, and rows that are mostly whitespace and one photograph each. The
   numbers are the loudest thing on it and everything else gets out of their
   way, so the one question a reader arrives with, what has actually been
   handed out, is answered by the shape of the page before they read a word. */

.fund { padding:0 var(--gutter) 40px; }
.fund-hd { padding:18px 0 4px; max-width:78ch; }
.fund-hd h1 { font-size:28px; line-height:1.15; margin:0 0 10px; }
.fund-lede { font-size:var(--t-plus); color:var(--ink-2); line-height:1.6; }

/* The wallet itself, stated once, at the top, before any figure derived from
   it: every number on this page is a claim about this address and a reader
   who wants to check one starts here. */
.fund-id {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-top:16px; padding:11px 13px;
  background:var(--fill); border:1px solid var(--line-soft); border-radius:var(--r-card);
}
.fund-id-lb { font-size:var(--t-sm); color:var(--ink-2); font-weight:600; }
.fund-id-addr { color:var(--ink); word-break:break-all; }
.fund-id .copy-ca { width:auto; padding:5px 10px; background:var(--card); }
.fund-id-go { font-size:var(--t-sm); margin-left:auto; }

.fund-sec { padding-top:30px; }
.fund-sec > h2 { font-size:var(--t-lg); margin-bottom:12px; }

/* ---- what the fund holds ---- */
/* Three balances, no boxes. They were bordered cards with a caption each until
   the user cut both: what an asset is is already its mark, its ticker and its
   name, and three panels of explanation above the ledger were competing with
   the thing the page is actually for. What is left is the figure, which is
   what somebody came to read. */

.holds { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px 32px; }
.hold {
  display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:center;
  color:inherit; text-decoration:none; min-width:0;
}
.hold:hover { text-decoration:none; }
@media (hover:hover) { .hold:hover .hold-v { color:var(--blue); } }
/* The hairline is what makes these read as marks rather than as pictures.
   Two of the three are drawn on white, which on a white page is a logo
   floating in nothing; the ledger's thumbnails wear the same edge. */
.hold-ico {
  grid-row:1/3; width:40px; height:40px; border-radius:8px;
  background:var(--fill); border:1px solid var(--line-soft);
}
.hold-v {
  font-size:var(--t-price); font-weight:700; line-height:1.15; color:var(--ink);
  display:flex; align-items:baseline; gap:6px; min-width:0;
  transition:color var(--t-micro);
}
.hold-v em { font-style:normal; font-size:var(--t-sm); font-weight:600; color:var(--ink-2); }
.hold-nm { font-size:var(--t-sm); color:var(--ink-2); }
.hold-nm b { color:var(--ink); font-weight:700; }
/* The skeleton holds the row's height so the balances landing does not shove
   the ledger down the page. */
.hold.is-sk { min-height:42px; }

.fund-foot { margin-top:11px; font-size:var(--t-sm); color:var(--ink-2); line-height:1.55; }

/* ---- the three counts ---- */

.stats {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  border:1px solid var(--line); border-radius:var(--r-card); overflow:hidden;
}
.stat { padding:16px 18px; border-left:1px solid var(--line-soft); }
.stat:first-child { border-left:0; }
.stat b { display:block; font-size:26px; line-height:1.1; font-weight:700; }
.stat span { display:block; margin-top:3px; font-size:var(--t-plus); color:var(--ink); }
.stat small { display:block; margin-top:2px; font-size:var(--t-sm); color:var(--ink-2); }

/* ---- the ledger ---- */

.fund-log-hd { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:12px; }
.fund-log-hd h2 { font-size:var(--t-lg); }
.fund-log-hd .chiprail { flex:none; margin-left:auto; }

/* A table that is wider than the screen scrolls inside its own box rather
   than taking the page with it. Below 780px it stops being a table at all,
   see the block further down. */
.ledger-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--r-card); }
.ledger { width:100%; border-collapse:collapse; font-size:var(--t-base); }
.ledger thead th {
  text-align:left; font-size:var(--t-sm); font-weight:700; color:var(--ink-2);
  text-transform:uppercase; letter-spacing:.04em;
  padding:11px 16px; background:var(--fill); border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.ledger td { padding:14px 16px; border-bottom:1px solid var(--line-soft); vertical-align:middle; }
.ledger tbody tr:last-child td { border-bottom:0; }
@media (hover:hover) { .lg-row:hover td { background:var(--fill-hover); } }

.lg-c-date b { display:block; font-weight:600; white-space:nowrap; }
.lg-c-date small { display:block; color:var(--ink-2); font-size:var(--t-sm); }

.lg-item { display:flex; align-items:center; gap:11px; color:inherit; min-width:0; }
.lg-item:hover { text-decoration:none; }
.lg-logo {
  flex:none; width:44px; height:44px; border-radius:6px; object-fit:cover;
  background:var(--fill); border:1px solid var(--line-soft);
}
.lg-nm { min-width:0; }
.lg-nm b { display:block; font-weight:700; color:var(--ink); }
@media (hover:hover) { a.lg-item:hover .lg-nm b { color:var(--blue); text-decoration:underline; } }
.lg-nm small { display:block; color:var(--ink-2); font-size:var(--t-sm); }

.lg-c-qty b { display:block; font-size:var(--t-title); font-weight:700; white-space:nowrap; }
.lg-c-qty small { display:block; color:var(--ink-2); font-size:var(--t-sm); }

.lg-c-usd b { font-size:var(--t-title); font-weight:700; white-space:nowrap; }
.lg-na { color:var(--ink-2); font-size:var(--t-sm); }

.lg-st { display:inline-flex; align-items:center; gap:6px; font-weight:700; }
.lg-st.is-del { color:var(--stock); }
.lg-st.is-burn { color:var(--price-red); }
.lg-sub { display:block; margin-top:2px; color:var(--ink-2); font-size:var(--t-sm); line-height:1.45; }

/* Width hints, not a fixed layout: the browser still sizes from the content,
   it just stops handing the whole slack to whichever column has the longest
   sentence in it. Without them the status column stretched halfway across a
   1440px screen and left the receipt marooned. */
.lg-c-date { width:14%; }
.lg-c-item { width:26%; }
.lg-c-qty { width:13%; }
.lg-c-usd { width:11%; }
.ledger th:last-child, .lg-c-rec { text-align:right; }
.lg-rec { white-space:nowrap; }
.lg-rec.is-none { color:var(--ink-2); font-size:var(--t-sm); white-space:normal; }
.lg-empty { padding:28px 16px; text-align:center; color:var(--ink-2); }

/* ---- the written part ---- */

/* Three paragraphs now. The two column split and the second column that
   needed it were cut on 2026-09-23, along with the fine print: the footer
   already carries the disclaimers on every page of the site. */
.fund-note { max-width:74ch; }
.fund-note p { margin-top:10px; color:var(--ink-2); line-height:1.65; font-size:var(--t-plus); }
.fund-note strong { color:var(--ink); }
.fund-note code { font-size:var(--t-base); }

/* ---- the dashboard's three tabs ---- */
/* Burns & Deliveries, DGUY Volume and Returns & Orders share the page and its
   address (/dashboard, /dashboard#volume, /dashboard#orders). Underlined like the directory's own
   category row, so they read as places, not as filter chips. */
.dash-tabs { display:flex; gap:24px; margin-top:8px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; }
.dash-tabs::-webkit-scrollbar { display:none; }
.dash-tabs a {
  flex:none; padding:12px 0; margin-bottom:-1px;
  font-size:var(--t-plus); font-weight:600; color:var(--ink-2);
  border-bottom:3px solid transparent; text-decoration:none;
}
.dash-tabs a[aria-current] { color:var(--ink); border-bottom-color:var(--blue); }
@media (hover:hover) { .dash-tabs a:hover { color:var(--ink); text-decoration:none; } }
/* Three labels fill a phone: tighter here so the third is not cut at the edge */
@media (max-width:430px) {
  .dash-tabs { gap:12px; }
  .dash-tabs a { font-size:var(--t-base); }
}

/* ---- DGUY Volume ---- */
/* Three running totals under one range control: everything, then DGUY and
   its pairs side by side. One blue for all three: each chart is one series
   and its heading already says which. */
.vol-ranges { flex:none; margin:24px 0 16px; }
.vol-card {
  padding:16px 16px 8px; background:var(--card);
  border:1px solid var(--line); border-radius:var(--r-card);
}
.vol-card h2 { font-size:var(--t-plus); font-weight:700; color:var(--ink); display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.vol-card h2 small { font-size:var(--t-sm); font-weight:400; color:var(--ink-2); }
.vol-total { margin-top:4px; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.vol-total b { font-size:28px; line-height:1.15; font-weight:700; color:var(--ink); }
.vol-total span { font-size:var(--t-sm); color:var(--ink-2); }
.vol-card.is-hero .vol-total b { font-size:40px; letter-spacing:-.01em; }
.vol-grid2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }

.vol-chart { position:relative; height:200px; margin-top:8px; }
.vol-card.is-hero .vol-chart { height:280px; }
.vol-chart svg { display:block; width:100%; height:100%; overflow:visible; touch-action:pan-y; }
.vol-chart svg:focus { outline:none; }
.vol-chart svg:focus-visible { outline:2px solid var(--blue); outline-offset:4px; border-radius:4px; }
.vol.is-loading .vol-chart { opacity:.4; }

.vol-grid line { stroke:var(--line-soft); stroke-width:1; shape-rendering:crispEdges; }
.vol-grid text, .vol-axis text { font:400 var(--t-mini) var(--sans); fill:var(--ink-2); font-variant-numeric:tabular-nums; }
.vol-area { fill:var(--blue); fill-opacity:.1; }
.vol-line { fill:none; stroke:var(--blue); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
.vol-end { fill:var(--blue); stroke:var(--card); stroke-width:2; }
.vol-cross { opacity:0; pointer-events:none; }
.vol-cross.is-on { opacity:1; }
.vol-cross line { stroke:var(--ink-3); stroke-width:1; shape-rendering:crispEdges; }
.vol-cross circle { fill:var(--blue); stroke:var(--card); stroke-width:2; }

.vol-tip {
  position:absolute; top:-8px; z-index:2; pointer-events:none;
  padding:8px 12px; background:var(--card); white-space:nowrap;
  border:1px solid var(--line); border-radius:var(--r-ctl); box-shadow:var(--sh-hover);
}
.vol-tip b { display:block; font-size:var(--t-title); font-weight:700; color:var(--ink); }
.vol-tip span { display:block; font-size:var(--t-sm); color:var(--ink); }
.vol-tip small { display:block; margin-top:2px; font-size:var(--t-sm); color:var(--ink-2); }

@media (max-width:780px) {
  .vol-grid2 { grid-template-columns:1fr; }
  .vol-card.is-hero .vol-total b { font-size:32px; }
  .vol-card.is-hero .vol-chart { height:220px; }
  .vol-chart { height:180px; }
}

/* ---- the phone ---- */
/* The table stops being a table. Five columns of a money ledger inside 360px
   is either four words a line or a sideways scroll on the one page nobody
   should have to work at, so each row becomes the card Amazon's own order
   history is on a phone: a grey bar with the date, the item under it, then
   the amount, the outcome and the receipt. One DOM, two layouts, and it is
   still a table for anything reading it as one.

   The field labels in data-lb are for a layout that keeps the columns; here
   they are dropped, because each cell is already unmistakable on sight. A
   date, a photograph, a number in bold, a green or red word and a blue link
   need no captions, and five of them down the side of every card is the
   clutter that makes a phone page feel like a form. */
@media (max-width:780px) {
  .ledger-wrap { border:0; overflow-x:visible; }
  .ledger thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .ledger, .ledger tbody, .lg-row, .ledger td { display:block; width:auto; }
  .lg-row {
    border:1px solid var(--line); border-radius:var(--r-card);
    margin-bottom:12px; background:var(--card); overflow:hidden;
  }
  .ledger td { border-bottom:0; padding:0 14px; }
  .ledger td::before { content:none; }

  /* The date becomes the card's header bar. Every one of these is written
     against `.ledger td` so it outranks the padding and the display set on
     that selector three rules up: a bare .lg-c-date is one class where that
     is a class and an element, and it loses. */
  .ledger td.lg-c-date {
    display:flex; align-items:baseline; gap:8px;
    padding:8px 14px; background:var(--fill); border-bottom:1px solid var(--line-soft);
  }
  .lg-c-date b { font-size:var(--t-sm); }

  .ledger td.lg-c-item { padding-top:13px; }
  .ledger td.lg-c-qty { padding-top:11px; }
  .lg-c-qty b { display:inline; }
  .lg-c-qty small { display:inline; margin-left:5px; }
  /* The dollar figure is a restatement of the line above it, so it reads as
     the quiet half of one fact rather than as a second headline number. */
  .ledger td.lg-c-usd { padding-top:2px; }
  .lg-c-usd b { font-size:var(--t-plus); color:var(--ink-2); }
  .ledger td.lg-c-st { padding-top:9px; }
  .ledger td.lg-c-rec { padding-top:11px; padding-bottom:14px; text-align:left; }
  .lg-c-date, .lg-c-item, .lg-c-qty, .lg-c-usd { width:auto; }

  .lg-empty { display:block; }
  .fund-log-hd .chiprail { margin-left:0; width:100%; }
  .stat { border-left:0; border-top:1px solid var(--line-soft); }
  .stat:first-child { border-top:0; }
  .fund-hd h1 { font-size:24px; }
}
@media (max-width:420px) {
  .fund-id-go { margin-left:0; }
  .fund-id-addr { font-size:11px; }
}

/* ============================================================
   Touch targets
   ============================================================ */
/* Everything below is a hit area, not a look: the type, the colours and the
   spacing between rows are all unchanged, the box a thumb has to land in
   just gets taller. Keyed on pointer:coarse rather than on width, because
   what makes a 20px row hard to hit is the finger, not the screen: a phone
   held in landscape needs this and a narrow desktop window does not. */
@media (pointer:coarse) {
  /* Filter drawer. Eight facet rows at 20px each were stacked inside half a
     thumb's width of each other, which is where a mis-tap costs the most:
     it applies the wrong filter and reloads the list. */
  .facet-row { min-height:44px; padding:0; align-items:center; }
  /* .facet-link stays a block and gets there on padding. Its label and its
     count are a text node and a span with an ordinary space between them, and
     flex layout drops whitespace between items: turning this into a flex row
     to set min-height printed "Under $50K30". */
  .facet-link { padding:13px 0; }
  .facet-more { min-height:44px; }
  .drawer-ft button { height:46px; }

  /* Footer columns. Link to link spacing carries the margin already, so this
     only grows each link's own box down into space that was dead. The links
     stack with no gap between them, so anything short of a full target here
     means a mis-tap opens the neighbouring page rather than nothing. */
  .foot-col a { padding:12px 0; margin-bottom:0; }
  .foot-col p { padding:12px 0; margin-bottom:0; }
  .foot-top { padding:17px; }

  /* Category row. 14px type in 6px of padding is a 32px target, and the row
     is a horizontal scroller, so a tap that misses scrolls instead of
     navigating. The bar itself has to grow with the links or it clips them:
     --subnav-h is what sets its height, and --stick-h, the scroll padding and
     the sticky buy box offset are all computed from that one number. */
  :root { --subnav-h:48px; }
  .hdr-sub a { padding:13px 9px; }
  .hdr-sub .hdr-soon { padding:11px 5px; }

  /* The advert's dots are 8px of paint with 7px between them, which is under
     a third of a fingertip and too close together to choose between. The
     paint stays 8px and moves to ::before; the button around it grows to
     30px and the gap shrinks to match, so the dots sit 32px apart and land
     within a couple of px of where they were. */
  .spot-dots { gap:2px; right:8px; bottom:4px; }
  .spot-dot {
    width:30px; height:30px; border-radius:50%; background:none; box-shadow:none;
    display:grid; place-items:center;
  }
  .spot-dot::before {
    content:''; width:8px; height:8px; border-radius:50%;
    background:rgba(255,255,255,.55); box-shadow:0 0 0 1px rgba(15,17,17,.25);
    transition:background var(--t-micro), transform var(--t-micro);
  }
  .spot-dot.is-on { background:none; transform:none; }
  .spot-dot.is-on::before { background:#fff; transform:scale(1.25); }

  /* The yellow button that repeats down the results list, and stands alone on
     the two not-found pages. 32px is comfortably under a fingertip, and in
     the list every one of them has another card's link directly below it. */
  .cta { height:40px; }
  .gal-thumb { width:60px; }

  /* Breadcrumb and the inline "how scoring works" style links sit in running
     text, so they get height without becoming blocks. */
  .crumb a, .disclose a { display:inline-block; padding:6px 0; }
}

/* "12 people found this helpful", and the button under it, as on Amazon */
.rev-help { margin-top:10px; }
.rev-help-n { font-size:var(--t-sm); color:var(--ink-2); margin-bottom:6px; }
.rev-help-act { display:flex; align-items:center; gap:6px 12px; flex-wrap:wrap; font-size:var(--t-sm); }
.rev-help-btn {
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-pill);
  padding:5px 18px; font-size:var(--t-sm); box-shadow:var(--sh-card); cursor:pointer;
}
.rev-help-btn:disabled { opacity:.55; cursor:default; }
@media (hover:hover) { .rev-help-btn:not(:disabled):hover { background:var(--fill); } }
.rev-help-done { color:var(--pos); font-weight:600; }
.rev-help-msg { color:var(--ink-2); }
.rev-help-msg:empty { display:none; }
.rev-sort { justify-content:flex-end; margin:4px 0 8px; }
.rev-help:empty { display:none; }

/* The price chart, a DexScreener or GeckoTerminal frame. A fixed height
   holds the space while the live price read settles, so nothing below it
   jumps when the frame arrives. */
.chart-frame {
  height:440px; border:1px solid var(--line); border-radius:var(--r-card);
  overflow:hidden; background:var(--fill);
}
.chart-frame iframe { display:block; width:100%; height:100%; border:0; }
@media (max-width:767px) { .chart-frame { height:360px; } }

/* ============================================================
   Buy Now and the checkout window
   Markup is built in js/checkout.js and js/walletpick.js.
   ============================================================ */
.cta-buy { background:var(--btn-o); border-color:var(--btn-o-line); }
@media (hover:hover) { .cta-buy:hover { background:var(--btn-o-hover); } }
.bb-alt { display:inline-block; margin-top:8px; font-size:var(--t-sm); }

.ck-in { padding:22px 22px 18px; }
.ck-head { display:flex; align-items:center; gap:12px; margin-bottom:14px; padding-right:28px; }
.ck-logo { width:44px; height:44px; border-radius:50%; object-fit:cover; background:var(--fill); flex:none; }
.ck-h { font-size:var(--t-title); }
.ck-sub { font-size:var(--t-sm); color:var(--ink-2); }

.ck-tabs { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); border-radius:var(--r-ctl); overflow:hidden; margin-bottom:14px; }
.ck-tabs button { padding:8px 0; font-size:var(--t-base); font-weight:600; color:var(--ink-2); background:var(--card); }
.ck-tabs button[aria-selected="true"] { background:var(--ink); color:#fff; }

.ck-lb { display:block; font-size:var(--t-sm); font-weight:700; margin-bottom:5px; }
.ck-field { display:flex; align-items:center; border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--card); }
.ck-field:focus-within { border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.ck-field input {
  flex:1; min-width:0; border:0; background:none; padding:10px 12px; outline:0;
  font-family:var(--mono); font-size:20px; appearance:none; -webkit-appearance:none;
}
.ck-unit { padding:0 12px; font-weight:700; color:var(--ink-2); }
.ck-bal { font-size:var(--t-sm); color:var(--ink-2); margin-top:6px; min-height:1em; }
.ck-bal .linkbtn { margin-left:4px; font-weight:600; }
.ck-chips { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.ck-chips:empty { display:none; }
.ck-chip { border:1px solid var(--line); border-radius:var(--r-pill); padding:4px 12px; font-size:var(--t-sm); background:var(--card); }
@media (hover:hover) { .ck-chip:hover { background:var(--fill); } }
.ck-chip[aria-pressed="true"] { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }

.ck-sum { margin-top:14px; padding:12px 14px; border-radius:var(--r-card); background:var(--fill); }
.ck-hint { font-size:var(--t-base); color:var(--ink-2); }
.ck-recv { display:flex; flex-direction:column; margin-bottom:8px; }
.ck-recv span { font-size:var(--t-sm); color:var(--ink-2); }
.ck-recv b { font-size:22px; font-weight:700; font-family:var(--mono); font-weight:400; word-break:break-all; }
.ck-recv em { font-style:normal; font-size:var(--t-sm); color:var(--ink-2); }
.ck-row { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:var(--t-sm); padding:4px 0; border-top:1px solid var(--line-soft); }
.ck-row > span:first-child { color:var(--ink-2); }
.ck-row > span:last-child { text-align:right; }
.is-bad { color:var(--price-red); font-weight:700; }
.ck-slips { display:inline-flex; gap:4px; }
.ck-slip { border:1px solid var(--line); border-radius:var(--r-pill); padding:1px 8px; font-size:var(--t-mini); background:var(--card); }
.ck-slip[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }

.ck-warn { display:none; margin-top:10px; padding:9px 12px; border-radius:var(--r-badge); background:var(--neg-bg); color:var(--neg); font-size:var(--t-sm); font-weight:600; }
.ck-warn.is-on { display:block; }
.ck-go {
  margin-top:14px; width:100%; height:42px; border-radius:var(--r-pill); font-size:var(--t-plus); font-weight:600;
  background:var(--btn-o); border:1px solid var(--btn-o-line); color:var(--ink); box-shadow:var(--sh-card);
}
.ck-go.is-sell { background:var(--btn-y); border-color:var(--btn-y-line); }
.ck-go:disabled { background:var(--fill); border-color:var(--line); color:var(--ink-2); box-shadow:none; cursor:default; }
@media (hover:hover) { .ck-go:not(:disabled):hover { filter:brightness(.96); } }
.ck-status { margin-top:10px; font-size:var(--t-sm); color:var(--ink-2); min-height:1em; }
.ck-status:empty { display:none; }

/* Subscribe & Save: the buy box button and its window (js/subscribeui.js),
   which reuses the checkout's parts above. */
/* Subscribe & Save: Prime blue, so it reads as its own thing beside the
   yellow and orange buy buttons without competing with Buy Now */
.cta-sns {
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:var(--blue-tint); border-color:var(--blue-line); color:var(--blue-deep); font-weight:600;
}
.cta-sns svg { flex:none; }
@media (hover:hover) { .cta-sns:hover { background:#DCE7FF; border-color:var(--blue); color:var(--blue-deep); } }
.sns-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin:14px 0 12px; }
/* our own chevron, set in from the edge, in place of the browser's */
.sns-f select {
  width:100%; height:40px; padding:0 36px 0 12px; border:1px solid var(--line); border-radius:var(--r-ctl);
  background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23565959' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 12px;
  font-size:var(--t-base); appearance:none; -webkit-appearance:none; cursor:pointer;
  text-overflow:ellipsis; white-space:nowrap; overflow:hidden;
}
.sns-f select:focus-visible { outline:none; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.sns-capf .sns-cap-cur { padding:0 0 0 12px; }
.sns-capf input { padding-left:4px; }
.sns-cap-note { font-size:var(--t-sm); margin-top:6px; }
.sns-how { font-size:var(--t-sm); margin-top:8px; }
@media (max-width:520px) { .sns-grid { grid-template-columns:1fr; gap:8px; } }

.wpick-list { list-style:none; margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.wpick-btn {
  width:100%; display:flex; align-items:center; gap:12px; padding:10px 12px;
  border:1px solid var(--line); border-radius:var(--r-card); background:var(--card); font-size:var(--t-plus); font-weight:600; text-align:left;
}
@media (hover:hover) { .wpick-btn:hover { background:var(--fill); } }
.wpick-ic { width:28px; height:28px; border-radius:6px; overflow:hidden; background:var(--fill); flex:none; }
.wpick-ic img { display:block; width:28px; height:28px; }
.wpick-nm { display:flex; flex-direction:column; }
.wpick-nm small { font-size:var(--t-sm); font-weight:400; color:var(--ink-2); }
.wpick-apps { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.wpick-apps a {
  display:flex; align-items:center; justify-content:center; height:40px; padding:0 10px;
  border:1px solid var(--line); border-radius:var(--r-card); background:var(--card);
  font-size:var(--t-sm); font-weight:600; color:var(--ink); text-decoration:none; white-space:nowrap;
}
@media (hover:hover) { .wpick-apps a:hover { background:var(--fill); } }
.wpwc-wait, .wpwc-lead { margin-top:12px; font-size:var(--t-plus); line-height:1.5; color:var(--ink); }
.wpwc-qr { margin:14px auto 0; width:min(240px, 100%); aspect-ratio:1; background:#FFFFFF; border:1px solid var(--line); border-radius:var(--r-card); padding:8px; }
.wpwc-qr svg { display:block; width:100%; height:100%; }
.wpwc-copy { margin-top:12px; justify-content:center; cursor:pointer; }
.wmenu-who { display:flex; align-items:center; gap:12px; margin-top:14px; font-size:var(--t-plus); font-weight:600; }
.wmenu-acts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.wmenu-acts .wpick-btn { justify-content:center; text-align:center; cursor:pointer; }
.ck-who { font-size:var(--t-sm); color:var(--ink-2); margin-top:4px; }
.ck-who .linkbtn { margin-left:4px; }

/* ============================================================
   Staking Season 2 (js/stake2.js). Hidden until STAKING2.address is
   set; it reuses the Season 1 classes above and adds the season clock,
   four figures, the crew boost and auto compound cards, and the cost
   preview under a withdrawal.
   ============================================================ */
.s2 { display:block; }
.s2[hidden] { display:none; }
/* the tab on show hides the other season's parts (js/stake2.js setView) */
html[data-stake-view="s2"] [data-s1] { display:none !important; }
.s2 [hidden] { display:none !important; }

/* Season 2 coming soon, in the arena where the clock goes */
.s2-soon { position:relative; z-index:1; max-width:560px; margin-top:32px; padding:24px; border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.s2-soon[hidden] { display:none; }
.s2-soon-h { font-size:clamp(28px, 4vw, 40px); line-height:1.1; font-weight:800; letter-spacing:-.02em; color:#fff; }
.s2-soon-p { margin-top:8px; font-size:var(--t-plus); line-height:1.55; color:#C9D3E6; }
.s2-soon-p b { color:#fff; }
.s2-soon-go { margin-top:16px; height:44px; padding:0 24px; width:auto; }
.s2-tab-soon { margin-left:6px; padding:2px 8px; border-radius:var(--r-pill); background:var(--blue-tint); color:var(--blue); font-size:var(--t-mini); font-weight:700; }
.s2-tab-soon[hidden] { display:none; }

.s2-cards { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:24px; align-items:stretch; }
/* side by side the two cards end level: each body fills its card */
.s2-cards > .stk-dash { display:flex; flex-direction:column; }
.s2-cards > .stk-dash > .stk-dash-bd { flex:1 1 auto; }
.s2-cards .stk-dash { margin-top:24px; }
.stk-season.is-on { background:var(--pos-bg); color:var(--pos); }

.s2-table-wrap { margin-top:16px; overflow-x:auto; }
.s2-crew { width:100%; border-collapse:collapse; font-size:var(--t-base); }
.s2-crew th, .s2-crew td { padding:8px; text-align:right; border-bottom:1px solid var(--line-soft); white-space:nowrap; font-variant-numeric:tabular-nums; }
.s2-crew thead th { font-size:var(--t-sm); font-weight:600; color:var(--ink-2); }
.s2-crew th:first-child { text-align:left; padding-left:0; }
.s2-crew tbody th { display:flex; align-items:center; gap:8px; font-weight:700; }
.s2-crew tbody th img { width:24px; height:24px; border-radius:50%; object-fit:cover; background:var(--fill); flex:none; }
.s2-crew td:last-child { padding-right:0; }
.s2-crew tbody th span { display:flex; flex-direction:column; line-height:1.2; }
.s2-crew tbody th small { display:none; font-weight:400; font-size:var(--t-mini); color:var(--ink-2); }
.s2-status { margin-top:16px; font-size:var(--t-plus); line-height:1.55; }
.s2-row { display:flex; flex-wrap:wrap; gap:8px; }
.s2-row .stk-go { flex:1 1 160px; width:auto; padding:0 16px; }
.s2-cards .stk-muted { margin-top:12px; }
.s2-auto-wait { margin-bottom:16px; padding:12px 16px; border-radius:var(--r-card); background:var(--blue-tint); border:1px solid var(--blue-line); font-size:var(--t-base); line-height:1.5; color:var(--ink); }
.s2-cards .ck-lb { margin-top:16px; }

.s2-preview { margin-top:12px; padding:12px 16px; border-radius:var(--r-card); background:var(--fill); font-size:var(--t-sm); line-height:1.55; color:var(--ink-2); }
.s2-preview.is-cost { background:var(--neg-bg); }
.s2-preview p + p, .s2-preview .ck-row + p { margin-top:8px; }
.s2-preview b { color:var(--ink); }
.s2-preview.is-cost > p:first-child b { color:var(--neg); }
.s2-preview .ck-row { border-top-color:rgba(0,0,0,.06); }

.s2-ended-h { font-size:var(--t-lg); font-weight:700; line-height:1.35; }
.s2-ended .stk-muted { margin-top:8px; font-size:var(--t-plus); }
.s2-ended .s2-row { margin-top:8px; }

/* Season 1's box, kept below Season 2 for its stakers */
.s2-s1note { padding:12px 24px 0; font-size:var(--t-plus); line-height:1.55; color:var(--ink-2); }

@media (max-width:900px) {
  .s2-cards { grid-template-columns:minmax(0,1fr); gap:0; }
}
@media (max-width:640px) {
  /* the rate moves under the token's name, so the table fits a phone */
  .s2-crew .s2-each { display:none; }
  .s2-crew tbody th small { display:block; }
  .s2-crew th, .s2-crew td { padding:8px 4px; }
  .s2-s1note { padding:12px 16px 0; }
}

/* ============================================================
   Seller, paired stocks, compare, Your Orders
   Pages added 2026-10-06. They borrow the fund page's shell (.fund,
   .fund-hd, .stats, .ledger) so the new pages read as one family with the
   dashboard rather than as a second design.
   ============================================================ */
.grid-page { margin-top:4px; }
/* The ledger's thumbnail slot, filled with a ticker rather than artwork, for
   a paired asset: there is no logo in the feed for a stock. */
.stock-tile {
  display:inline-grid; place-items:center; width:44px; height:44px; border-radius:6px;
  background:var(--blue-tint); color:var(--blue-deep); font-family:var(--mono); font-size:11px; font-weight:400;
  border:1px solid var(--blue-line); letter-spacing:-.02em;
}
.stock-tile-lg { width:64px; height:64px; font-size:15px; border-radius:10px; }
/* A tokenized stock's logo (assets/stocks/, from tools/stocklogos.mjs). The
   pictures are square and full bleed, so they take the tile's rounded corner
   and a hairline that keeps a white logo off a white page. */
.stock-logo {
  display:inline-block; flex:none; width:44px; height:44px; border-radius:8px; object-fit:cover;
  background:var(--fill); box-shadow:0 0 0 1px var(--line-soft);
}
.stock-logo.lg-logo { border:0; border-radius:8px; }
.stock-logo.stock-tile-lg { width:64px; height:64px; border-radius:12px; }
.stock-top { display:flex; align-items:center; gap:16px; margin-bottom:8px; }
.stock-top h1 { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.stock-kind { font-size:var(--t-plus); font-weight:400; color:var(--ink-2); }
.stock-price { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-top:4px; }
.stock-price small { font-size:var(--t-sm); color:var(--ink-2); }
.stocks-table .lg-c-qty b { font-size:var(--t-plus); }
.page-stock .fund-log-hd .sortwrap { margin-left:auto; }
.page-stock .fund-log-hd .resbar-count { flex:0 1 auto; min-width:0; }
.page-seller .fund-log-hd .resbar-count { flex:0 1 auto; min-width:0; }

/* ---- compare ---- */
.cmp-add { margin-top:14px; max-width:520px; }
.cmp-add-field { position:relative; }
.cmp-in {
  width:100%; height:40px; padding:0 14px; border:1px solid var(--line); border-radius:var(--r-ctl);
  background:var(--card); font-size:var(--t-plus); appearance:none; -webkit-appearance:none;
}
.cmp-in:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.cmp-sugg {
  position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:20;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-card); box-shadow:var(--sh-pop);
  padding:4px; max-height:320px; overflow-y:auto;
}
.cmp-sugg button { width:100%; display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:6px; text-align:left; font-size:var(--t-base); }
@media (hover:hover) { .cmp-sugg button:hover { background:var(--fill); } }
.cmp-sugg img { width:28px; height:28px; border-radius:50%; object-fit:cover; background:var(--fill); flex:none; }
.cmp-none { padding:10px; font-size:var(--t-sm); color:var(--ink-2); }
.cmp-table th[scope="row"] { text-align:left; font-size:var(--t-sm); font-weight:700; color:var(--ink-2); padding:14px 16px; width:20%; vertical-align:middle; border-bottom:1px solid var(--line-soft); background:var(--fill); }
.cmp-table td { vertical-align:top; font-size:var(--t-plus); }
.cmp-table .cmp-head td { border-bottom:1px solid var(--line); }
.cmp-item { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding-right:28px; }
.cmp-item img { width:96px; height:96px; border-radius:8px; object-fit:cover; background:var(--fill); }
.cmp-nm { font-size:var(--t-title); font-weight:500; color:var(--blue-deep); }
.cmp-rm { position:absolute; top:0; right:0; }
.cmp-cta td { border-bottom:0; }
.cmp-cta .cta { margin-top:0; width:auto; display:inline-grid; padding:0 20px; }
.cmp-table .lg-sub { font-size:var(--t-sm); }
.cmp-table .social { margin:0 6px 6px 0; display:inline-block; }
/* On a phone the comparison keeps its columns: a side by side table is the
   whole point of the page, so it scrolls sideways inside its box instead of
   collapsing into cards the way the fund ledger does. */
@media (max-width:780px) {
  .cmp-wrap { overflow-x:auto; border:1px solid var(--line); }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td, .cmp-table th { display:revert; width:auto; }
  .cmp-table td { padding:10px 12px; min-width:150px; }
  .cmp-table th[scope="row"] { min-width:110px; position:sticky; left:0; z-index:1; }
  .cmp-item img { width:72px; height:72px; }
}

/* ---- the compare tray along the bottom ---- */
.tray {
  position:fixed; left:0; right:0; bottom:0; z-index:55;
  background:var(--card); border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(15,17,17,.12);
}
.tray-in { max-width:var(--content-max); margin:0 auto; display:flex; align-items:center; gap:14px; padding:10px var(--gutter); flex-wrap:wrap; }
.tray-lb { font-size:var(--t-plus); color:var(--ink-2); }
.tray-list { display:flex; gap:8px; flex:1; min-width:0; flex-wrap:wrap; }
.tray-list li { display:flex; align-items:center; gap:6px; padding:4px 6px 4px 4px; border:1px solid var(--line); border-radius:var(--r-pill); font-size:var(--t-sm); font-family:var(--mono); }
.tray-list img { width:26px; height:26px; border-radius:50%; object-fit:cover; background:var(--fill); }
.tray-x { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:var(--ink-2); }
@media (hover:hover) { .tray-x:hover { background:var(--fill); color:var(--ink); } }
.tray-go { margin-top:0; width:auto; display:inline-grid; padding:0 20px; }
.tray-clear { font-size:var(--t-sm); }
/* room for the tray at the foot of the page when it is showing */
body:has(.tray:not([hidden])) .foot { padding-bottom:72px; }

/* ---- the Market | Limit slider in the checkout ---- */
/* A segmented control with a sliding thumb, under the Buy and Sell tabs. The
   thumb is one element moved by transform, so the two labels never move and
   the switch reads as one control sliding, not two buttons repainting. */
.ck-mode {
  position:relative; display:grid; grid-template-columns:1fr 1fr; margin:-6px 0 14px;
  padding:3px; background:var(--fill); border:1px solid var(--line); border-radius:var(--r-pill);
}
.ck-mode-thumb {
  position:absolute; top:3px; bottom:3px; left:3px; width:calc(50% - 3px);
  background:var(--card); border-radius:var(--r-pill); box-shadow:var(--sh-card);
  transition:transform 220ms var(--ease);
}
.ck-mode[data-mode="limit"] .ck-mode-thumb { transform:translateX(100%); }
@media (prefers-reduced-motion:reduce) { .ck-mode-thumb { transition:none; } }
.ck-mode button { position:relative; z-index:1; padding:7px 0; font-size:var(--t-sm); font-weight:600; color:var(--ink-2); border-radius:var(--r-pill); }
.ck-mode button[aria-selected="true"] { color:var(--ink); }
/* Pay with | Receive: ETH or USDC, shared by Market and Limit */
.ck-pay { display:flex; align-items:center; gap:6px; margin:-4px 0 14px; font-size:var(--t-sm); }
.ck-pay > span { color:var(--ink-2); font-weight:600; margin-right:auto; }
.ck-paybtn {
  display:inline-flex; align-items:center; gap:6px; padding:4px 12px 4px 5px;
  border:1px solid var(--line); border-radius:var(--r-pill); background:var(--card);
  font-size:var(--t-sm); font-weight:600; color:var(--ink-2);
}
.ck-paybtn img { width:18px; height:18px; border-radius:50%; flex:none; }
.ck-paybtn[aria-pressed="true"] { border-color:var(--ink); color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
@media (hover:hover) { .ck-paybtn:not([aria-pressed="true"]):hover { background:var(--fill); } }
.lo-exp-row { border:0; margin-top:8px; }
.lo-gasless {
  display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin:-4px 0 12px;
  padding:7px 11px; border-radius:var(--r-badge); background:var(--pos-bg); color:var(--pos); font-size:var(--t-sm);
}
.lo-gasless svg { flex:none; }
.lo-gasless span { color:var(--ink-2); }
.lo-px .ck-unit:first-child { padding-right:0; }

/* ---- buy box extras: compare, limit order, alerts, badge ---- */
.bb-tools { display:flex; gap:8px 14px; flex-wrap:wrap; margin-top:6px; font-size:var(--t-sm); }
.bb-tools .linkbtn { font-size:var(--t-sm); }
.bb-tools .is-on { color:var(--pos); font-weight:600; }
.lo-open { margin-top:14px; }
.lo-open h3 { font-size:var(--t-base); margin-bottom:6px; }
.lo-open ul { display:flex; flex-direction:column; gap:6px; }
.lo-open li { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:var(--t-sm); padding:6px 0; border-top:1px solid var(--line-soft); }
.lo-open li small { display:block; color:var(--ink-2); }
.lo-open .ck-hint { margin-top:8px; }

/* ---- price alert form and the badge embed, on the project page ---- */
.alert-form { display:flex; flex-direction:column; gap:10px; border:1px solid var(--line); border-radius:var(--r-card); padding:16px; }
.alert-row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.alert-row .ain, .alert-row .sel { height:36px; }
.alert-form .ain { border:1px solid var(--line); border-radius:var(--r-ctl); padding:0 12px; font-size:var(--t-plus); background:var(--card); min-width:0; appearance:none; -webkit-appearance:none; }
.alert-form .ain:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.alert-form .ain[type="email"] { flex:1 1 220px; }
.alert-form .ain[inputmode="decimal"] { width:140px; font-family:var(--mono); }
.alert-form .cta { margin-top:0; width:auto; display:inline-grid; padding:0 20px; }
.badge-embed { display:grid; grid-template-columns:auto 1fr; gap:14px 18px; align-items:start; }
.badge-embed img { display:block; border:1px solid var(--line-soft); border-radius:6px; }
.badge-embed pre {
  margin:0; padding:10px 12px; background:var(--fill); border-radius:var(--r-card); border:1px solid var(--line-soft);
  font-family:var(--mono); font-size:var(--t-sm); white-space:pre-wrap; word-break:break-all; line-height:1.5;
}
@media (max-width:560px) { .badge-embed { grid-template-columns:1fr; } }

/* ---- questions and answers ---- */
.qa-list { display:flex; flex-direction:column; }
.qa-item { padding:14px 0; border-top:1px solid var(--line-soft); display:grid; grid-template-columns:72px 1fr; gap:4px 14px; }
.qa-lb { font-size:var(--t-sm); font-weight:700; color:var(--ink-2); padding-top:2px; }
.qa-q { font-size:var(--t-plus); font-weight:500; line-height:1.5; white-space:pre-wrap; }
.qa-a { font-size:var(--t-plus); line-height:1.6; white-space:pre-wrap; }
.qa-meta { grid-column:2; font-size:var(--t-sm); color:var(--ink-2); }
.qa-meta .mono { font-size:var(--t-sm); }
.qa-answers { grid-column:2; display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.qa-answer { padding-left:12px; border-left:2px solid var(--line); }
.qa-form { margin-top:10px; grid-column:2; }
.qa-form textarea.ain { min-height:64px; }
@media (max-width:560px) { .qa-item { grid-template-columns:1fr; } .qa-meta, .qa-answers, .qa-form { grid-column:1; } }

/* ---- the header gained a second link; on a phone the two small labels
        are what give way, the strong words stay ---- */
@media (max-width:479px) {
  .hdr-link small { display:none; }
  .hdr-link { padding:8px 6px; }
}
/* Prime Hub, the door to the Dashboard, Gaming and Video: a link in the top
   bar, and on a phone, where the top bar has no room beside the wallet, in
   the scrolling row underneath */
.hdr-sub .sub-hub { display:none; }
@media (max-width:479px) {
  .hdr-main .hdr-hub { display:none; }
  .hdr-sub .sub-hub { display:inline-block; }
}
/* the smallest phones: the word Dashboard stays, its cart gives way */
@media (max-width:359px) { .basket svg { display:none; } .basket, .hdr-link { padding:8px 3px; } .hdr-main { column-gap:4px; } .hdr .logo { padding-right:0; } }

/* =====================================================
/* ---- staking (stake.html, js/stake.js), restyled 2026-11-04 ----
   A navy hero with the Delivery Guy, figure-only tiles that sit on its
   edge, one box for the wallet, and How it works folded away. Spacing on
   the 4 8 12 16 24 32 48 scale. */
.stk { padding-top:16px; }

.stk-hero {
  position:relative; overflow:hidden; display:flex; align-items:stretch;
  min-height:280px; border-radius:12px; color:#fff;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(61,125,255,.45) 0%, rgba(61,125,255,0) 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(0,168,225,.22) 0%, rgba(0,168,225,0) 60%),
    linear-gradient(135deg, var(--nav) 0%, var(--nav-2) 100%);
}
.stk-hero-copy { position:relative; z-index:1; flex:1 1 auto; max-width:min(620px, 62%); padding:48px 32px 72px; }
.stk-hero h1 { font-size:clamp(34px, 5vw, 52px); line-height:1.05; letter-spacing:-.02em; }
.stk-hero-lede { margin-top:12px; max-width:52ch; font-size:var(--t-title); line-height:1.6; color:#D8DEEA; }
.stk-earns { list-style:none; display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.stk-earns li {
  display:flex; align-items:center; gap:12px; padding:8px 16px 8px 8px;
  border-radius:var(--r-pill); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
}
.stk-earns img { width:28px; height:28px; border-radius:50%; background:#fff; object-fit:cover; flex:none; }
.stk-earns span { display:flex; flex-direction:column; font-size:var(--t-sm); line-height:1.3; color:#B9C3D6; }
.stk-earns b { font-size:var(--t-plus); color:#fff; }
.stk-hero-art {
  position:absolute; right:4%; top:-56px; width:min(320px, 32%); height:auto;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.45)); pointer-events:none;
}

/* the figures, a white bar that overlaps the hero's lower edge */
.stk-pool { position:relative; z-index:2; margin:-40px 16px 0; }
.stk-stats {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-card);
  box-shadow:0 8px 24px rgba(10,16,36,.12); overflow:hidden;
}
.stk-stat { padding:16px 24px; border-left:1px solid var(--line-soft); min-width:0; }
.stk-stat:first-child { border-left:0; }
.stk-stat b { display:block; font-size:28px; line-height:1.1; font-weight:700; letter-spacing:-.01em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stk-stat.is-apr b { color:var(--pos); }
.stk-stat .stk-of { font-style:normal; font-weight:600; color:var(--ink-2); font-size:.62em; letter-spacing:0; }
.stk-stat.is-staked b { white-space:normal; }
.stk-fill { display:block; height:6px; margin-top:8px; border-radius:3px; background:var(--line-soft); overflow:hidden; }
.stk-fill i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg, #067D62, #2ECC96); }
.stk-stat span { display:block; margin-top:4px; font-size:var(--t-plus); color:var(--ink-2); }
.stk-stat small { display:block; margin-top:4px; font-size:var(--t-sm); color:var(--ink-2); }
.stk-pool .fund-foot:empty { display:none; }
/* no APR to print while Season 2 is on its way: words, so they may wrap */
.stk-stat.is-soon b { white-space:normal; font-size:22px; line-height:1.2; color:var(--ink); }
.stk-pool .stk-s1-note { margin:12px 8px 0; font-size:var(--t-base); color:var(--ink); }
/* while the first read from Base is on its way: a shimmering bar where each figure goes */
.stk-skel {
  display:block; height:.8em; width:70%; max-width:180px; margin:.15em 0; border-radius:6px;
  background:linear-gradient(90deg, var(--line-soft) 30%, var(--card) 50%, var(--line-soft) 70%);
  background-size:300% 100%; animation:stk-shimmer 1.4s linear infinite;
}
@keyframes stk-shimmer { from { background-position:100% 0; } to { background-position:0 0; } }
.stk-stats.is-stuck .stk-skel { animation:none; }
/* Season 2 on its way: a bar that keeps moving, under the words */
.stk-wait { position:relative; margin-top:8px; }
.stk-wait i { position:absolute; left:0; top:0; width:35%; animation:stk-wait 1.8s ease-in-out infinite; }
@keyframes stk-wait { from { transform:translateX(-100%); } to { transform:translateX(290%); } }
@media (prefers-reduced-motion:reduce) {
  .stk-skel { animation:none; }
  .stk-wait i { animation:none; width:100%; opacity:.45; }
}

/* the one box for the wallet */
.stk-dash { margin-top:32px; border:1px solid var(--line); border-radius:var(--r-card); background:var(--card); box-shadow:var(--sh-card); }
.stk-dash-hd { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 24px; border-bottom:1px solid var(--line-soft); }
.stk-dash-hd h2 { font-size:var(--t-lg); }
.stk-season { padding:4px 12px; border-radius:var(--r-pill); background:var(--blue-tint); color:var(--blue-deep); font-size:var(--t-sm); font-weight:600; }
.stk-dash-bd { padding:24px; }
.stk-dash-bd:has(.stk-mine) { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:32px; align-items:start; }
.stk-connect { display:flex; flex-direction:column; align-items:center; gap:16px; padding:24px 0; text-align:center; }
.stk-connect p { max-width:46ch; font-size:var(--t-plus); line-height:1.6; color:var(--ink-2); }
.stk-connect .stk-go { width:auto; min-width:220px; padding:0 32px; }

.stk-earned {
  padding:16px 24px 24px; border-radius:var(--r-card);
  background:linear-gradient(135deg, #FFF8E7 0%, #FFFFFF 70%); border:1px solid #F6DEA4;
}
.stk-lb { display:block; font-size:var(--t-sm); font-weight:600; color:var(--ink-2); }
.stk-earned-v { display:flex; align-items:center; gap:12px; margin-top:8px; min-width:0; }
.stk-earned-v img { width:28px; height:28px; border-radius:50%; flex:none; }
.stk-earned-v b { font-family:var(--sans); font-variant-numeric:tabular-nums; font-size:clamp(24px, 3.2vw, 32px); line-height:1.1; letter-spacing:-.02em; overflow:hidden; text-overflow:ellipsis; }
.stk-earned-v span { font-weight:600; color:var(--ink-2); }
.stk-sub { display:block; margin-top:4px; font-style:normal; font-size:var(--t-sm); color:var(--ink-2); }
.stk-sub:empty { display:none; }
.stk-claim { margin-top:16px; height:40px; font-size:var(--t-plus); font-weight:600; }
.stk-claim:disabled { opacity:.5; cursor:default; box-shadow:none; }
/* Claim and Restake side by side; the restake panel opens under them */
.stk-claims { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.stk-claims .stk-claim { margin-top:0; min-width:0; padding:0 12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stk-ghost { background:#FFFFFF; border-color:var(--line); }
@media (hover:hover) { .stk-ghost:hover { background:var(--fill-hover); } }
.stk-rs { margin-top:16px; padding-top:16px; border-top:1px solid #F6DEA4; font-size:var(--t-sm); line-height:1.55; color:var(--ink-2); }
.stk-rs p { margin:0; color:var(--ink); font-size:var(--t-plus); line-height:1.5; }
.stk-rs p.is-bad { color:#B12704; }
.stk-rs ul { margin:8px 0 0; padding-left:18px; display:grid; gap:4px; }
@media (max-width:420px) { .stk-claims { grid-template-columns:1fr; } }

.stk-kpis { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.stk-kpis > div { padding:12px 16px; border:1px solid var(--line-soft); border-radius:var(--r-card); background:var(--fill-hover); min-width:0; }
.stk-kpis dt { font-size:var(--t-sm); color:var(--ink-2); }
.stk-kpis dd { margin-top:4px; font-size:var(--t-plus); color:var(--ink-2); }
.stk-kpis dd b { font-size:var(--t-price); color:var(--ink); letter-spacing:-.01em; }
.stk-bar { display:block; height:6px; border-radius:3px; background:var(--line-soft); overflow:hidden; margin-top:8px; }
.stk-bar i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg, var(--blue) 0%, var(--prime-cyan) 100%); }
.stk-s1 { margin-top:12px; }
.stk-kpis > .stk-s1pts { grid-column:1 / -1; }

.stk-form .ck-tabs { margin-bottom:16px; }
.stk-go { height:40px; margin-top:16px; font-size:var(--t-plus); font-weight:600; }
.stk-go:disabled { opacity:.55; cursor:default; }
.stk-muted { color:var(--ink-2); font-size:var(--t-sm); line-height:1.55; }
.stk-warn { margin-top:8px; font-size:var(--t-sm); line-height:1.5; color:var(--price-red); }
.stk-msg { margin-top:12px; font-size:var(--t-sm); color:var(--ink-2); min-height:1.4em; line-height:1.5; }
.stk-msg.is-bad { color:var(--price-red); }

/* How it works, a button that folds open */
.stk-how { margin-top:24px; border:1px solid var(--blue-line); border-radius:var(--r-card); background:var(--blue-tint); overflow:hidden; }
.stk-how > summary {
  display:flex; align-items:center; gap:16px; padding:16px 24px; cursor:pointer; list-style:none;
  font-size:var(--t-title); font-weight:700; color:var(--ink);
}
.stk-how > summary::-webkit-details-marker { display:none; }
@media (hover:hover) { .stk-how > summary:hover { background:#E0E9FF; } }
.stk-how > summary:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; }
.stk-how-ico {
  display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:50%;
  background:var(--blue); color:#fff; font-size:var(--t-title); font-weight:700;
}
.stk-how-tt { display:flex; flex-direction:column; flex:1; min-width:0; }
.stk-how-tt small { font-size:var(--t-sm); font-weight:400; color:var(--ink-2); }
.stk-how-chev { flex:none; color:var(--blue); transition:transform var(--t-micro); }
.stk-how[open] .stk-how-chev { transform:rotate(180deg); }
.stk-how-bd { padding:8px 24px 24px; background:var(--card); border-top:1px solid var(--blue-line); }
.stk-how-bd p { max-width:74ch; margin-top:12px; font-size:var(--t-plus); line-height:1.65; color:var(--ink-2); }
.stk-how-bd strong { color:var(--ink); }

.stk-contract { margin-top:16px; font-size:var(--t-sm); color:var(--ink-2); }
.stk-contract code { font-size:var(--t-sm); word-break:break-all; }

@media (max-width:900px) {
  .stk-dash-bd:has(.stk-mine) { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media (max-width:640px) {
  .stk-hero { min-height:0; }
  .stk-hero-copy { padding:32px 16px 64px; max-width:none; }
  .stk-hero-art { width:130px; right:-8px; top:auto; bottom:-110px; }
  .stk-hero-lede { font-size:var(--t-plus); padding-right:96px; }
  .stk-earns { flex-direction:column; align-items:flex-start; gap:8px; }
  .stk-pool { margin:-32px 8px 0; }
  .stk-stat { padding:12px 16px; }
  .stk-stat b { font-size:22px; }
  .stk-stat.is-soon b { font-size:18px; }
  .stk-stat span { font-size:var(--t-base); }
  .stk-stat .stk-of { display:block; margin-top:2px; font-size:var(--t-plus); }
  .stk-dash-hd, .stk-dash-bd { padding-left:16px; padding-right:16px; }
  .stk-earned { padding:16px; }
  .stk-kpis { gap:8px; }
  .stk-kpis > div { padding:12px; }
  .stk-kpis dd b { font-size:var(--t-title); }
  .stk-how > summary { padding:16px; gap:12px; }
  .stk-how-bd { padding:4px 16px 16px; }
}

/* ============================================================
   The cart (2026-11-15)
   Add to Cart on every coin, the count on the header icon, the Add to
   Cart window (js/cartui.js), cart.html (js/cartpage.js), the "Buy it
   with" box on project pages and the crew pack band in Special Delivery.
   ============================================================ */
/* the count sits on the cart, Amazon style; hidden until a script has
   read the cart, so a page without one never shows a wrong number */
.basket-ic { position:relative; display:block; line-height:0; }
.basket-c {
  position:absolute; top:-7px; left:9px; min-width:18px; height:18px; padding:0 5px;
  border-radius:var(--r-pill); background:var(--btn-o); color:var(--ink);
  font-size:var(--t-mini); font-weight:700; line-height:18px; text-align:center;
}
.basket-c[hidden] { display:none; }

/* three buttons in the buy box: Add to Cart yellow, Buy Now orange, Sell quiet */
.cta-ghost { background:var(--card); border-color:var(--line); }
@media (hover:hover) { .cta-ghost:hover { background:var(--fill); } }
.bb-incart { font-size:var(--t-sm); color:var(--pos); font-weight:600; }
.bb-incart[hidden] { display:none; }

/* grid cards: the button, then the launchpad as a quiet line */
.card-alt { display:block; margin-top:6px; text-align:center; font-size:var(--t-sm); }
@media (max-width:479px) { .card .card-alt { grid-column:2; text-align:left; margin-top:0; } }

/* the Add to Cart window, on the checkout's own parts */
.cadd-stack { display:flex; flex:none; }
.cadd-logo { width:36px; height:36px; border-radius:50%; object-fit:cover; background:var(--fill); border:2px solid var(--card); }
.cadd-logo + .cadd-logo { margin-left:-12px; }
.cadd-sum { display:flex; flex-direction:column; gap:8px; }
.cadd-row { display:grid; grid-template-columns:24px auto 1fr; align-items:center; gap:8px; font-size:var(--t-sm); }
.cadd-mini { width:24px; height:24px; border-radius:50%; object-fit:cover; background:var(--card); }
.cadd-spend { font-family:var(--mono); color:var(--ink-2); white-space:nowrap; }
.cadd-get { text-align:right; min-width:0; overflow-wrap:anywhere; }
.cadd-get b { font-family:var(--mono); font-weight:400; }
.cadd-note { font-size:var(--t-sm); color:var(--ink-2); padding-top:8px; border-top:1px solid var(--line-soft); }
.cadd-done { display:flex; align-items:center; gap:12px; padding-right:28px; }
.cadd-tick { flex:none; }
.cadd-acts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.cadd-acts .cta { margin-top:0; height:40px; font-size:var(--t-plus); }
@media (max-width:479px) { .cadd-acts { grid-template-columns:1fr; } }

/* cart.html */
.page-cart { padding-top:16px; min-height:60vh; }
.cart { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; align-items:start; }
.cart-list { background:var(--card); border-radius:var(--r-card); padding:24px; }
.cart-list h1 { font-size:28px; line-height:1.15; font-weight:400; padding-bottom:16px; }
.cl-hd { display:flex; justify-content:space-between; font-size:var(--t-sm); color:var(--ink-2); padding-bottom:8px; border-bottom:1px solid var(--line); }
.cl { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.cl-media { display:block; }
.cl-img { width:96px; height:96px; border-radius:var(--r-card); object-fit:cover; background:var(--fill); display:block; }
.cl-body { display:flex; flex-direction:column; gap:8px; min-width:0; }
.cl-nm { font-size:var(--t-lg); line-height:1.25; color:var(--ink); font-weight:500; overflow-wrap:anywhere; }
.cl-tick { font-size:var(--t-sm); color:var(--ink-2); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.cl-st:empty { display:none; }
.cl-st { padding:1px 8px; border-radius:var(--r-pill); font-size:var(--t-mini); font-weight:700; background:var(--fill); color:var(--ink-2); }
.cl-st.is-done { background:var(--pos-bg); color:var(--pos); }
.cl-st.is-failed { background:var(--neg-bg); color:var(--neg); }
.cl-amt { display:flex; align-items:center; gap:8px 12px; flex-wrap:wrap; }
.cl-field { width:200px; max-width:100%; }
.cl-field input { font-size:var(--t-title); padding:8px 10px; }
.cl-field input:disabled { color:var(--ink-2); }
.cl-pay { display:inline-flex; gap:4px; }
.cl-pay .ck-paybtn img { width:16px; height:16px; }
.cl-q { font-size:var(--t-base); line-height:1.5; }
.cl-q b { font-family:var(--mono); font-weight:400; }
.cl-min { display:block; font-size:var(--t-sm); color:var(--ink-2); }
.cl-acts { display:flex; align-items:center; gap:8px; font-size:var(--t-sm); color:var(--line); }
.cl-acts .linkbtn { font-size:var(--t-sm); }
.cl-usd { font-size:var(--t-title); font-weight:700; white-space:nowrap; text-align:right; }
.cart-sub { text-align:right; font-size:var(--t-lg); padding-top:12px; }
.cart-sub:empty { display:none; }
.cart-box {
  background:var(--card); border-radius:var(--r-card); padding:24px;
  position:sticky; top:calc(var(--stick-h) + 16px); display:flex; flex-direction:column; gap:8px;
}
.cart-box[hidden] { display:none; }
.cart-tot { font-size:var(--t-lg); }
.cart-tot b { font-weight:700; }
.cart-usd { font-size:var(--t-sm); color:var(--ink-2); margin-top:-4px; }
.cart-box .ck-row { padding:8px 0; }
.cart-box .ck-go { margin-top:8px; }
.cart-how { font-size:var(--t-sm); color:var(--ink-2); line-height:1.5; }
.cart-alt { margin-top:0; height:36px; }
.cart-empty h2 { font-size:var(--t-h1); font-weight:700; }
.cart-empty p { margin-top:8px; font-size:var(--t-plus); color:var(--ink-2); max-width:60ch; }
.cart-empty-links { display:flex; align-items:center; gap:12px 24px; flex-wrap:wrap; margin-top:16px !important; }
.cart-shop { width:auto; padding:0 24px; margin-top:0; height:36px; }
.cart-empty-p { color:var(--ink-2); padding:16px 0; }
.cart-done {
  border:1px solid var(--pos); border-radius:var(--r-card); padding:16px; margin-bottom:16px;
  background:var(--pos-bg); outline:0;
}
.cart-done.is-none { border-color:var(--neg); background:var(--neg-bg); }
.cart-done h2 { font-size:var(--t-lg); font-weight:700; }
.cart-done p { margin-top:8px; font-size:var(--t-base); }
.cd-list { list-style:none; margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.cd-list li { display:flex; align-items:center; gap:8px 12px; flex-wrap:wrap; font-size:var(--t-base); }
.cd-list b { font-family:var(--mono); font-weight:400; }
.cd-img { width:28px; height:28px; border-radius:50%; object-fit:cover; background:var(--card); }
@media (max-width:1023px) { .cart { grid-template-columns:minmax(0,1fr) 260px; gap:16px; } }
@media (max-width:767px) {
  .cart { grid-template-columns:1fr; }
  .cart-box { position:static; order:-1; }
  .cart-list { padding:16px; }
}
@media (max-width:479px) {
  .page-cart { padding-top:8px; }
  .cart-list h1 { font-size:var(--t-h1); padding-bottom:8px; }
  .cl { grid-template-columns:64px minmax(0,1fr); gap:12px; }
  .cl-img { width:64px; height:64px; }
  .cl-nm { font-size:var(--t-title); }
  .cl-usd { grid-column:2; text-align:left; font-size:var(--t-plus); order:-1; }
  .cl-field { width:100%; }
}

/* Buy it with, on the project page */
.bw { display:flex; align-items:center; gap:16px 32px; flex-wrap:wrap; }
.bw-pics { display:flex; align-items:center; gap:8px; }
.bw-pic { display:block; transition:opacity var(--t-micro); }
.bw-pic img { width:96px; height:96px; border-radius:var(--r-card); object-fit:cover; background:var(--fill); display:block; }
.bw-pic.is-off { opacity:.3; }
.bw-plus { font-size:var(--t-h1); color:var(--ink-2); }
.bw-side { display:flex; flex-direction:column; gap:8px; flex:1 1 180px; max-width:280px; }
.bw-note { font-size:var(--t-sm); color:var(--ink-2); }
.bw-note:empty { display:none; }
.bw-go { margin-top:0; height:36px; }
.bw-go:disabled { background:var(--fill); border-color:var(--line); color:var(--ink-2); box-shadow:none; cursor:default; }
.bw-list { list-style:none; margin-top:16px; display:flex; flex-direction:column; gap:8px; font-size:var(--t-base); }
.bw-list label { display:flex; align-items:flex-start; gap:8px; cursor:pointer; }
.bw-list input { margin-top:2px; accent-color:var(--blue); width:16px; height:16px; flex:none; }
.bw-tick { color:var(--ink-2); }
@media (max-width:479px) {
  .bw-pic img { width:64px; height:64px; }
  .bw-plus { font-size:var(--t-lg); }
  .bw-side { max-width:none; flex-basis:100%; }
}

/* the crew pack, under the Special Delivery band */
.crew {
  margin:12px var(--gutter) 0; padding:16px 18px; border-radius:var(--r-card);
  background:var(--card); border:1px solid var(--line);
  display:flex; align-items:center; gap:16px 24px; flex-wrap:wrap;
}
.crew[hidden] { display:none; }
.crew-pics { display:flex; flex:none; }
.crew-pics img { width:56px; height:56px; border-radius:50%; object-fit:cover; background:var(--fill); border:3px solid var(--card); }
.crew-pics img + img { margin-left:-16px; }
.crew-copy { flex:1 1 320px; min-width:0; }
.crew-h { font-size:var(--t-lg); font-weight:700; }
.crew-note { font-size:var(--t-base); color:var(--ink-2); margin-top:4px; }
.crew-go { cursor:pointer; }
@media (max-width:767px) { .crew-go { flex:1 1 100%; } }

/* ---- Seller Central (2026-11-18): the Seller tag, the "From the seller"
        block on a project page, and the Seller Central page ---- */
.seller-tag {
  display:inline-flex; align-items:center; gap:4px; vertical-align:1px;
  padding:1px 8px 1px 6px; border-radius:var(--r-pill);
  background:var(--blue-tint); color:var(--blue-deep); border:1px solid var(--blue-line);
  font-size:var(--t-mini); font-weight:700; line-height:16px; white-space:nowrap; cursor:help;
}
.seller-tag svg { flex:none; color:var(--blue); }
.seller-proof { display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; font-size:var(--t-sm); color:var(--ink-2); line-height:1.5; margin:0 0 12px; }
.seller-proof span:last-child { flex:1 1 280px; min-width:0; }
.seller-banner { display:block; width:100%; height:auto; aspect-ratio:3 / 1; object-fit:cover; border-radius:var(--r-card); border:1px solid var(--line-soft); background:var(--fill); margin:0 0 12px; }
.seller-h4 { font-size:var(--t-plus); font-weight:700; margin:16px 0 4px; }
.seller-roadmap { font-size:var(--t-plus); line-height:1.6; white-space:pre-line; overflow-wrap:anywhere; max-width:72ch; }
.seller-meta { margin-top:12px; }
.seller-meta a { margin-left:4px; }
#seller.is-line { padding-top:0; }
.qa-answer.is-seller { border-left-color:var(--blue); }
.qa-seller-note { font-size:var(--t-mini); }

.page-sc .fund-hd { max-width:78ch; }
.sc-proof { display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; margin-top:12px; font-size:var(--t-base); color:var(--ink-2); line-height:1.5; }
.sc-proof span:last-child { flex:1 1 280px; min-width:0; }
.sc-card {
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-card);
  padding:16px; display:flex; flex-direction:column; gap:12px; max-width:860px;
  font-size:var(--t-plus); line-height:1.55;
}
.sc-card p { margin:0; }
.sc-card .bb-rows { max-width:520px; }
.sc-name { font-size:var(--t-title); font-weight:700; }
.page-sc .ain {
  border:1px solid var(--line); border-radius:var(--r-ctl); padding:0 12px; height:36px; width:100%;
  font-size:var(--t-plus); background:var(--card); min-width:0; appearance:none; -webkit-appearance:none;
}
.page-sc textarea.ain { height:auto; min-height:160px; padding:10px 12px; line-height:1.55; resize:vertical; font-family:inherit; }
.page-sc .ain:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue-tint); }
.sc-find { display:flex; gap:8px; max-width:860px; margin-top:12px; }
.sc-find .ain { flex:1 1 auto; font-family:var(--mono); font-size:var(--t-base); }
.sc-find .cta, .sc-btn { margin-top:0; width:auto; height:36px; padding:0 22px; flex:none; }
.sc-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.sc-chip { padding:4px 12px; border:1px solid var(--line); border-radius:var(--r-pill); background:var(--card); font-size:var(--t-base); font-weight:600; color:var(--ink); }
.sc-chip.is-on { border-color:var(--blue); background:var(--blue-tint); }
#sc-mine { margin-top:12px; }
.sc-fs { border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; min-width:0; }
.sc-fs legend { font-size:var(--t-title); font-weight:700; padding:0; margin-bottom:8px; }
.sc-fs + .sc-fs { border-top:1px solid var(--line-soft); padding-top:16px; }
.sc-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 16px; }
.sc-field { display:flex; flex-direction:column; gap:4px; font-size:var(--t-sm); font-weight:600; color:var(--ink-2); min-width:0; }
.sc-err { color:var(--price-red); font-weight:500; }
.sc-row { display:flex; align-items:center; gap:12px 16px; flex-wrap:wrap; }
.sc-file { position:relative; cursor:pointer; }
.sc-file input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.sc-file:focus-within .abtn-inline { box-shadow:0 0 0 2px var(--blue-tint), 0 0 0 3px var(--blue); }
.sc-mod { display:flex; flex-direction:column; }
.sc-mod-row { display:grid; grid-template-columns:1fr 80px 60px; gap:12px; align-items:center; padding:8px 0; border-top:1px solid var(--line-soft); font-size:var(--t-base); }
@media (max-width:767px) {
  .sc-grid { grid-template-columns:1fr; }
  .sc-find { flex-wrap:wrap; }
  .sc-find .cta { flex:1 1 100%; }
  .sc-card { padding:12px; }
}
/* Season 1's box once Season 2 is live: withdraw only, so one tab, one claim button */
.s2-s1box .stk-tabs { grid-template-columns:1fr; }
.s2-s1box .stk-claims { grid-template-columns:1fr; }
.s2-claims { grid-template-columns:1fr; }

/* ---------- Season 2, the arena (2026-11-22) ----------
   One dark stage for the season: its number, a live countdown, the run of
   the season and four figures on glass. Everything below it stays on the
   site's light cards. Spacing from the 4/8/12/16/24/32/48 scale. */
.s2-tabs { display:inline-flex; gap:4px; margin:0 0 16px; padding:4px; border-radius:var(--r-pill); background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-card); }
.s2-tabs[hidden] { display:none; }
.s2-tabs button { display:inline-flex; align-items:center; gap:8px; padding:8px 20px; border-radius:var(--r-pill); font-size:var(--t-plus); font-weight:700; color:var(--ink-2); }
.s2-tabs button[aria-selected="true"] { background:var(--nav); color:#fff; box-shadow:0 4px 12px rgba(10,16,36,.25); }
@media (hover:hover) { .s2-tabs button[aria-selected="false"]:hover { color:var(--ink); background:var(--fill); } }
.s2-tabs button:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.s2-dot { display:none; width:8px; height:8px; border-radius:50%; background:#2ECC96; box-shadow:0 0 0 0 rgba(46,204,150,.6); }
.s2-tabs .s2-live .s2-dot { display:inline-block; animation:s2-pulse 2s infinite; }
@keyframes s2-pulse { 0% { box-shadow:0 0 0 0 rgba(46,204,150,.55); } 70% { box-shadow:0 0 0 8px rgba(46,204,150,0); } 100% { box-shadow:0 0 0 0 rgba(46,204,150,0); } }

.s2-arena {
  position:relative; overflow:hidden; isolation:isolate; border-radius:16px; color:#fff;
  background:#050A1C;
  box-shadow:0 24px 48px rgba(5,10,28,.28);
}
/* a faint grid, fading out from the middle */
.s2-arena::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%); mask-image:radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}
/* three slow lights: Base blue, cyan, and the AMZNc gold low on the right */
.s2-aura { position:absolute; inset:0; z-index:-2; pointer-events:none; }
.s2-aura i { position:absolute; border-radius:50%; filter:blur(64px); opacity:.55; }
.s2-aura i:nth-child(1) { width:520px; height:520px; left:-120px; top:-180px; background:#0052FF; animation:s2-drift 18s ease-in-out infinite alternate; }
.s2-aura i:nth-child(2) { width:420px; height:420px; right:8%; top:-160px; background:#00A8E1; opacity:.4; animation:s2-drift 22s ease-in-out infinite alternate-reverse; }
.s2-aura i:nth-child(3) { width:380px; height:380px; right:-80px; bottom:-200px; background:#FF9900; opacity:.28; animation:s2-drift 26s ease-in-out infinite alternate; }
@keyframes s2-drift { from { transform:translate3d(0,0,0) scale(1); } to { transform:translate3d(48px,32px,0) scale(1.12); } }

.s2-arena-in { position:relative; padding:48px 48px 32px; }
.s2-arena-top { position:relative; display:flex; align-items:flex-end; gap:24px; min-height:240px; }
.s2-arena-copy { position:relative; z-index:1; flex:1 1 auto; max-width:620px; }
.s2-title {
  font-size:clamp(56px, 10vw, 112px); line-height:.92; font-weight:800; letter-spacing:-.04em;
  background:linear-gradient(180deg, #FFFFFF 30%, #9FC2FF 100%); -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 0 48px rgba(61,125,255,.35);
}
.s2-title span { background:linear-gradient(135deg, #7CB3FF 0%, #2ECC96 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.s2-sub { margin-top:16px; max-width:44ch; font-size:clamp(16px, 1.6vw, 20px); line-height:1.5; color:#C9D3E6; }
.s2-earns { margin-top:24px; }
/* a second line with a token name in it stays one line ("paid in DGUY") */
.stk-earns span span { display:inline; }
.s2-guide {
  display:inline-flex; align-items:center; gap:8px; margin-top:24px; height:40px; padding:0 16px;
  border-radius:var(--r-pill); border:1px solid rgba(255,255,255,.24); background:rgba(10,16,36,.4);
  color:#fff; font-size:var(--t-plus); font-weight:600; text-decoration:none;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  transition:background var(--t-micro), border-color var(--t-micro);
}
.s2-guide:hover { color:#fff; text-decoration:none; }
@media (hover:hover) { .s2-guide:hover { background:rgba(61,125,255,.28); border-color:rgba(124,179,255,.6); } }
/* The banner (assets/img/season2-hero.webp): flush right at the top of the
   arena, nudged past the edge into the empty glow beside the figure so the
   stack stays clear of the title. Its left side and its foot fade into the
   arena, so the countdown and the figures sit on plain dark. */
.s2-arena-art { position:absolute; top:0; right:0; height:var(--s2-art-h, 440px); width:100%; z-index:-1; pointer-events:none; }
.s2-arena-art img {
  position:absolute; top:0; right:0; height:100%; width:auto; max-width:none;
  transform:translateX(var(--s2-art-shift, 4%));
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 50%, transparent 92%);
  -webkit-mask-composite:source-in;
          mask-image:linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 50%, transparent 92%);
          mask-composite:intersect;
}

/* the countdown and the run of the season */
.s2-clock { position:relative; z-index:1; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:end; gap:16px 32px; margin-top:32px; }
.s2-clock:empty { display:none; }
.s2-cdwrap { display:flex; flex-direction:column; gap:8px; }
.s2-cds { display:flex; gap:8px; }
.s2-cd {
  display:flex; flex-direction:column; align-items:center; min-width:72px; padding:12px 8px 8px;
  border-radius:12px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.s2-cd b { font-size:40px; line-height:1; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.s2-cd span { margin-top:4px; font-size:var(--t-mini); font-weight:600; color:#9AA8C2; text-transform:uppercase; letter-spacing:.08em; }
.s2-cd-what { font-size:var(--t-plus); color:#C9D3E6; }
.s2-clock-line { grid-column:1 / -1; font-size:var(--t-plus); line-height:1.55; color:#C9D3E6; }
.s2-clock > .s2-clock-line:only-child { font-size:var(--t-title); }
.s2-clock-line b { color:#fff; }
.s2-cdwrap + .s2-clock-line { grid-column:auto; align-self:end; padding-bottom:28px; }
.s2-run { align-self:end; padding-bottom:28px; }
.s2-run-track { position:relative; height:8px; border-radius:4px; background:rgba(255,255,255,.1); }
.s2-run-track i { position:absolute; inset:0 auto 0 0; border-radius:4px; background:linear-gradient(90deg, #0052FF, #00A8E1 60%, #2ECC96); box-shadow:0 0 16px rgba(0,168,225,.6); }
.s2-run-track em { position:absolute; top:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(46,204,150,.35), 0 0 16px rgba(46,204,150,.8); }
.s2-run-ends { display:flex; justify-content:space-between; gap:12px; margin-top:12px; font-size:var(--t-sm); color:#9AA8C2; }
.s2-run-ends b { color:#fff; font-weight:700; }

/* four figures on glass */
/* the Season 2 withdrawal step (js/stake2.js confirmWithdraw) */
.s2-wd .ann-in { max-width:520px; }
dialog.s2-wd { max-width:min(520px, calc(100vw - 32px)); }
.s2-wd-rows { margin-top:16px; padding:12px 16px; border-radius:var(--r-card); background:var(--fill); }
.s2-wd-rows .ck-row { display:flex; justify-content:space-between; gap:16px; padding:4px 0; font-size:var(--t-plus); }
.s2-wd-rows .ck-row.is-sub { padding-left:12px; font-size:var(--t-base); color:var(--ink-2); }
.s2-wd-rows .ck-row.is-total { margin-top:4px; padding-top:8px; border-top:1px solid var(--line); }
.s2-wd-acts { display:grid; grid-template-columns:1fr; gap:8px; margin-top:24px; }
.s2-wd-acts .cta { height:48px; width:100%; padding:0 16px; font-size:var(--t-plus); }
.s2-wd-acts [data-wd="yes"] { order:-1; }
/* the Season 2 welcome (js/stake2.js): the .ann card, its own guide link,
   and the page held still behind it */
html.s2-locked, html.s2-locked body { overflow:hidden; }
.s2-welcome-guide { display:inline-flex; align-items:center; gap:8px; margin-top:16px; font-size:var(--t-plus); font-weight:700; color:var(--blue); }
.s2-welcome-guide svg { transition:transform var(--t-micro); }
@media (hover:hover) { .s2-welcome-guide:hover svg { transform:translateX(3px); } }
.s2-welcome .ann-go { height:48px; margin-top:24px; }
.s2-stats { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:24px; }
/* without a stake there is no cost to leave: three figures fill the row */
.s2-stats.is-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.s2-stat {
  min-width:0; padding:16px 20px; border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.s2-stat b { display:flex; align-items:center; gap:8px; font-size:30px; line-height:1.1; font-weight:800; letter-spacing:-.02em; color:#fff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.s2-stat b img { width:26px; height:26px; border-radius:50%; flex:none; }
.s2-stat > span { display:block; margin-top:4px; font-size:var(--t-plus); color:#C9D3E6; }
.s2-stat small { display:block; margin-top:4px; font-size:var(--t-sm); color:#8C9AB5; }
.s2-stat.is-apr b { color:#2ECC96; text-shadow:0 0 24px rgba(46,204,150,.45); }
.s2-stat.is-pot b { color:#FFC24B; text-shadow:0 0 24px rgba(255,153,0,.35); }
.s2-slope { position:relative; display:block; height:6px; margin-top:8px; border-radius:3px; background:linear-gradient(90deg, #FF5C5C, #FFC24B 55%, #2ECC96); }
.s2-slope i { position:absolute; top:50%; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.25); }
.s2-note { position:relative; z-index:1; margin-top:16px; font-size:var(--t-sm); line-height:1.55; color:#FFC24B; }
.s2-note:empty { display:none; }

/* the crew gauge */
.s2-boost { display:grid; grid-template-columns:auto minmax(0,1fr); gap:24px; align-items:center; }
.s2-gauge { position:relative; width:216px; }
.s2-gauge svg { display:block; width:100%; height:auto; overflow:visible; }
.s2-gauge path { fill:none; stroke-width:12; stroke-linecap:round; }
.s2-g-track { stroke:var(--line-soft); }
.s2-g-can { stroke:rgba(46,204,150,.25); }
.s2-g-now { stroke:url(#s2-g); filter:drop-shadow(0 2px 6px rgba(0,82,255,.35)); transition:stroke-dasharray .6s var(--ease); }
.s2-g-v { position:absolute; left:0; right:0; bottom:-4px; display:flex; flex-direction:column; align-items:center; }
.s2-g-v b { font-size:26px; line-height:1; font-weight:800; letter-spacing:-.02em; }
.s2-g-v span { margin-top:4px; font-size:var(--t-sm); color:var(--ink-2); }
.s2-boost-kv { display:grid; gap:8px; }
.s2-boost-kv > div { display:flex; justify-content:space-between; gap:12px; padding:8px 12px; border-radius:var(--r-card); background:var(--fill-hover); border:1px solid var(--line-soft); font-size:var(--t-sm); }
.s2-boost-kv dt { color:var(--ink-2); }
.s2-boost-kv dd { font-weight:700; text-align:right; }

/* the auto compound switch */
.s2-auto-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.s2-auto-top p { font-size:var(--t-plus); line-height:1.55; color:var(--ink-2); }
.s2-auto-top b { color:var(--ink); }
.s2-switch { position:relative; flex:none; width:56px; height:32px; border-radius:16px; background:var(--line); transition:background var(--t-micro); }
.s2-switch i { position:absolute; top:4px; left:4px; width:24px; height:24px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.2); transition:transform .2s var(--ease); }
.s2-switch[aria-checked="true"] { background:#067D62; }
.s2-switch[aria-checked="true"] i { transform:translateX(24px); }
.s2-switch:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.s2-switch:disabled { opacity:.5; }

@media (prefers-reduced-motion:reduce) {
  .s2-aura i, .s2-tabs .s2-live .s2-dot { animation:none; }
}
@media (max-width:900px) {
  .s2-arena { --s2-art-h:400px; --s2-art-shift:14%; }
  .s2-arena-copy { max-width:52%; }
  .s2-arena-in { padding:32px 24px 24px; }
  .s2-clock { grid-template-columns:minmax(0,1fr); gap:16px; }
  .s2-run, .s2-cdwrap + .s2-clock-line { padding-bottom:0; }
  .s2-stats, .s2-stats.is-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .s2-stats.is-3 .s2-stat:last-child { grid-column:1 / -1; }
}
@media (max-width:640px) {
  .s2-tabs { display:flex; }
  .s2-tabs[hidden] { display:none; }
  .s2-tabs button { flex:1; justify-content:center; padding:8px 12px; }
  .s2-arena { border-radius:12px; }
  .s2-arena-in { padding:32px 16px 16px; }
  .s2-arena-top { min-height:0; }
  .s2-title { font-size:clamp(44px, 14vw, 56px); white-space:nowrap; }
  .s2-sub { padding-right:24px; }
  /* phones: the figure on top (the phone crop), the title below it */
  .s2-arena-art { position:relative; height:264px; z-index:0; }
  .s2-arena-art img {
    position:static; width:100%; height:100%; object-fit:cover; object-position:50% 0; transform:none;
    -webkit-mask-image:linear-gradient(180deg, #000 70%, transparent 100%); mask-image:linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .s2-arena-copy { max-width:none; }
  .s2-arena-in { padding-top:8px; }
  .s2-earns { flex-direction:column; align-items:flex-start; gap:8px; }
  .s2-cds { gap:4px; }
  .s2-cd { flex:1; min-width:0; padding:8px 4px; }
  .s2-cd b { font-size:28px; }
  .s2-stats { gap:8px; }
  .s2-stat { padding:12px; }
  .s2-stat b { font-size:22px; }
  .s2-stat > span { font-size:var(--t-base); }
  .s2-boost { grid-template-columns:minmax(0,1fr); justify-items:center; gap:16px; }
  .s2-boost-kv { width:100%; }
}
/* Subscribe & Save: the plan cap editor in Your Orders (js/orders.js) */
.sns-cap-edit { display:inline-flex; align-items:center; gap:4px; }
.sns-cap-edit input { width:96px; height:30px; padding:0 6px; border:1px solid var(--line); border-radius:var(--r-ctl); font-family:var(--mono); }
