/* Facet Wire "white treatment" — re-skin of the LIVE selectors
   Every selector below was observed on facetwire.com on 2026-11-14 (see audit.md).
   Load AFTER the existing stylesheet AND after the inline <style> blocks in <body>
   (home page has <style id="fw-chrome"> inside <header> and a <style> inside .labnat-band),
   e.g. as the last <link> before </body>, or keep the "html body" prefix, which already
   out-specifies those rules. !important is used only where the live HTML has inline style="".
   Requires tokens.css. */

/* ---- 1. remap the live sheets' own custom properties (styles.css + redesign.css :root) ----
   html:root (0,1,1) beats their :root (0,1,0), so every rule that reads var(--text), var(--card)...
   flips to the white palette at once. Rules below then fix the spots that hard-code dark hex values. */
html:root{
  --bg:var(--fw-bg); --bg2:var(--fw-surface); --wall:var(--fw-bg);
  --card:var(--fw-surface); --card2:var(--fw-bg-sunk);
  --line:var(--fw-line);
  --accent:var(--fw-accent); --accent-dk:var(--fw-accent-hover);
  --gold:var(--fw-gold); --gold-dk:var(--fw-gold); --best:var(--fw-win);
  --text:var(--fw-ink); --muted:var(--fw-ink-2); --faint:var(--fw-ink-3);
  --radius:var(--fw-radius);
}

/* ---- page ---- */
html body{background:var(--fw-bg);color:var(--fw-ink)}
html body a{color:var(--fw-accent)}
html body .lede,html body .sec-sub,html body .labnat-sub{color:var(--fw-ink-2)}
html body .eyebrow,html body .hero-kicker{color:var(--fw-ink-3)}
html body h1,html body h2,html body h3{color:var(--fw-ink)}
html body .hero{background:var(--fw-bg);border-bottom:var(--fw-divider)}
html body .hero h1 em{color:var(--fw-accent)}

/* ---- header: stays dark because /logo.svg is drawn in white/cream strokes ----
   Re-scope the ORIGINAL dark custom properties (from /styles.css :root) to the header only, so the
   header, mega menu and mobile menu keep their current look while the rest of the page goes white. */
html body .site-head{
  --bg:#07181d; --bg2:#0a232b; --card:#112f39; --card2:#143845;
  --line:rgba(232,196,122,.22); --accent:#e8c47a; --accent-dk:#b98f3e; --gold:#e8c47a;
  --text:#f2f8f6; --muted:#b9d2d2; --faint:#8fb0b3;
  background:var(--fw-ink);border-bottom:1px solid var(--fw-ink);backdrop-filter:none;color:#f2f8f6}
html body .site-head h1,html body .site-head h2,html body .site-head h3{color:#f2f8f6}
html body .site-head a{color:inherit}
html body .site-head .head-nav > a{color:#d5e4e4}

/* ---- grids: denser ---- */
html body .grid{gap:var(--fw-s3);grid-template-columns:repeat(auto-fill,minmax(var(--fw-card-min),1fr))}
html body .teaser-grid{gap:var(--fw-s2);grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
html body .match-grid{gap:var(--fw-s3);grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}

/* ---- stone cards (.card from app.js renderCard, .teaser-card on SEO pages) ---- */
html body .card,html body .teaser-card,html body .shape-tile,html body .lvn-card,html body .promo-card{
  background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);box-shadow:none;color:var(--fw-ink)}
html body .card:hover,html body .teaser-card:hover,html body .shape-tile:hover{border-color:var(--fw-line);box-shadow:none;transform:translateY(-1px)}
html body .card-media,html body .teaser-media,html body .shape-photo{aspect-ratio:1/1;background:var(--fw-img-bg);border-bottom:var(--fw-divider)}
html body .card-media img,html body .teaser-media img{width:100%;height:100%;object-fit:cover}
html body .card-body{padding:var(--fw-s2) var(--fw-s3) var(--fw-s3);gap:3px}
html body .card-title,html body .teaser-title,html body .card-title a{color:var(--fw-ink);font-size:var(--fw-fs-sm);font-weight:700}
html body .card-sub,html body .teaser-spec{color:var(--fw-ink-2);font-size:var(--fw-fs-xs)}
html body .card-sub.cert,html body .match-card .card-sub.cert{color:var(--fw-ink-3)}
html body .match-card .card-title a,html body .card-title a{color:var(--fw-ink)}
html body .match-card .card-title{font-family:var(--fw-font);font-weight:700}
html body .cert{border-color:var(--fw-line-mid);color:var(--fw-ink-2);border-radius:var(--fw-radius-sm);align-self:flex-start}
html body .price,html body .teaser-price{color:var(--fw-ink);font-variant-numeric:var(--fw-mono-num)}
html body .perct,html body .teaser-retailer,html body .retailer{color:var(--fw-ink-3)}
html body .card-media .badge{background:var(--fw-surface);border:var(--fw-hairline);color:var(--fw-ink);border-radius:var(--fw-radius-sm);font-weight:700}
html body .img-fallback{background:var(--fw-img-bg)}
html body .shape-name{color:var(--fw-ink)} html body .shape-meta{color:var(--fw-ink-3)}

/* ---- matchup cards (.match-card .vs-row .vs.lo .best) ---- */
html body .match-card .save-badge{background:var(--fw-gold-tint)!important;color:var(--fw-gold)!important;border:1px solid var(--fw-gold)!important;border-radius:var(--fw-radius-sm)!important}
html body .vs{background:var(--fw-surface);border:1px solid var(--fw-line-soft);border-radius:var(--fw-radius-sm);color:var(--fw-ink)}
html body .vs.lo,html body .match-card .vs.lo{background:var(--fw-win-tint);border-color:var(--fw-win);box-shadow:inset 0 0 0 1px var(--fw-win)}
html body .vs.lo .p{color:var(--fw-win-ink);font-weight:700}
html body .vs .p,html body .store-row .p,html body .mini-price{font-variant-numeric:var(--fw-mono-num)}
html body .best,html body .match-card .best,html body .best-tag,html body .vs-tag{background:var(--fw-win);color:var(--fw-ink-inverse);border-radius:var(--fw-radius-sm)}

/* ---- lab vs natural pair cards (.vs-card .sim-card .mini-card) ---- */
html body .vs-card,html body .sim-card{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);color:var(--fw-ink);padding:var(--fw-s2)}
html body .vs-head{color:var(--fw-ink);font-weight:700}
html body .mini-card{background:var(--fw-surface);border:1px solid var(--fw-line-soft);border-radius:var(--fw-radius-sm)}
html body .mini-media{background:var(--fw-img-bg);aspect-ratio:1/1;height:auto}
html body .mini-media img{object-fit:cover}
html body .mini-kind,html body .mini-cert,html body .vs-counts,html body .store-head{color:var(--fw-ink-3)}
html body .mini-title{color:var(--fw-ink-2)}
html body .mini-price{color:var(--fw-ink)}
html body .store-row{background:transparent;color:var(--fw-ink);border-bottom:var(--fw-divider);border-radius:0}
html body .save-pill{background:var(--fw-gold-tint);color:var(--fw-gold);border:1px solid var(--fw-gold);border-radius:var(--fw-radius-sm)}

/* ---- home page matchup shelf (rendered by /redesign.js into #matchups-root: .sh-card .sh-offer .sh-best) ---- */
html body .sh-card{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);color:var(--fw-ink);padding:var(--fw-s3)}
html body .sh-media{background:var(--fw-img-bg);aspect-ratio:1/1;height:auto;border-radius:var(--fw-radius-sm);border:var(--fw-divider)}
html body .sh-media img{object-fit:cover;filter:none}
html body .sh-title{color:var(--fw-ink)} html body .sh-spec{color:var(--fw-ink-2)} html body .sh-cert,html body .sh-count{color:var(--fw-ink-3)}
html body .sh-offers{border-top:var(--fw-divider)}
html body .sh-offer{background:var(--fw-surface);border:1px solid var(--fw-line-soft);border-radius:var(--fw-radius-sm);color:var(--fw-ink)}
html body .sh-offer:has(.sh-best){background:var(--fw-win-tint);border-color:var(--fw-win);box-shadow:inset 0 0 0 1px var(--fw-win)}
html body .sh-offers .r{color:var(--fw-ink-2)} html body .sh-offers .p{color:var(--fw-ink);font-variant-numeric:var(--fw-mono-num)}
html body .sh-offer:has(.sh-best) .p{color:var(--fw-win-ink)}
html body .sh-best{background:var(--fw-win);color:var(--fw-ink-inverse);border-radius:var(--fw-radius-sm)}
html body .sh-save{background:var(--fw-gold-tint);color:var(--fw-gold);border:1px solid var(--fw-gold);border-radius:var(--fw-radius-sm)}
html body .sh-view{color:var(--fw-accent)}

html body .sh-shelfhead h3{color:var(--fw-ink)}
html body .sh-shopall{color:var(--fw-accent)}
html body .sh-shelf{scrollbar-color:var(--fw-line-mid) var(--fw-bg-sunk)}
html body .sh-shelf::-webkit-scrollbar-track{background:var(--fw-bg-sunk)}
html body .sh-shelf::-webkit-scrollbar-thumb{background:var(--fw-line-mid)}

/* ---- tables (.seo-table on /stone/, /price-index/ ...) ---- */
html body .seo-table{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);font-size:var(--fw-fs-sm);font-variant-numeric:var(--fw-mono-num)}
html body .seo-table th{background:var(--fw-bg-sunk);color:var(--fw-ink-2);border-bottom:var(--fw-hairline);padding:8px 12px}
html body .seo-table thead th{position:sticky;top:0;z-index:1}
html body .seo-table td{color:var(--fw-ink);border-bottom:var(--fw-divider);padding:8px 12px;vertical-align:middle}
html body .seo-table tbody tr:nth-child(even) td{background:#FAFAF8}
/* price columns on /stone/ tables are columns 2-4 (Price, $/ct, vs lowest) */
html body .seo-table thead th:nth-child(n+2):nth-child(-n+4),html body .seo-table thead ~ tbody td:nth-child(n+2):nth-child(-n+4){text-align:right}
@media (max-width:639px){html body .seo-table{display:block;overflow-x:auto;white-space:nowrap}html body .seo-table:not(:has(thead)) > tbody{display:table;width:100%}}

/* ---- stone page photo: inline style="max-width:340px" in the generated HTML, so !important is required.
   FRAGILE selector (no class on the live <img>); preferred fix is a class in the page generator, see change-map.md ---- */
html body main.wrap > p > img[loading]{max-width:min(100%,560px)!important;aspect-ratio:1/1;object-fit:cover;background:var(--fw-img-bg);border:var(--fw-hairline);border-radius:var(--fw-radius)!important}

/* ---- home: certificate search box ---- */
html body .cert-hero{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);box-shadow:none}
html body .cert-row button{background:var(--fw-accent);color:var(--fw-ink-inverse);border-radius:var(--fw-radius)}
html body .cert-row button:hover{background:var(--fw-accent-hover)}
html body .live-stats strong{color:var(--fw-ink)}

/* ==== home: SHAPE WALL, boutique treatment (v3, 2026-11-14) ===================================
   Restyle only. No markup, class, id or JS change. Every selector below is a hook that already exists:
     markup in the home HTML:  section.wall-band#wall > .wall-stage#wall-stage > .store-set (.track-rail, .pool),
                               .wall#shape-wall, p.band-hint, p.wall-note#wall-note
     built by /redesign.js:    article.tile[data-shape] > .fixture>i, .spot, .tile-body > .tile-media (.sparkle.s1-s3, img),
                               .shelf, h3, p.matched>b[data-count], p.labs[data-labs], p.listings[data-listings], a
     state set by /redesign.js: .wall-band.band-on (desktop >=1024px, motion allowed), .wall-band.band-static (desktop,
                               reduced motion), div.wall-scroll (wrapper it inserts), .wall-stage.is-dragging,
                               .tile.is-focus (centre tile), inline --glow (0..1) and --tilt on each tile, inline
                               transform on .tile-body (rotateY + scale = the "pop"), inline opacity/filter/z-index.
   Nothing here sets transform, opacity, filter or z-index on .tile / .tile-body / .wall-scroll / .wall-stage, so the scroll
   travel, centre pop, drag and click-through in /redesign.js run exactly as they do today.
   Light intensity (lens, bloom, flare, cone, halo, shelf highlight) is still driven by the live var(--glow).
   One image: /assets/shapewall/boutique-backdrop.webp (24 KB, generated for Facet Wire, pre-blurred). It sits on the
   static stage, so it is painted once and does not move or re-blur while the wall travels. Everything else is CSS/SVG. */

html body .wall-band{
  --sw-brass:#9A7637; --sw-brass-hi:#E7CC8E; --sw-brass-lo:#5E4518;
  --sw-ivory:#FFFDF8; --sw-ivory-2:#F6F0E4; --sw-marble:#EFE9DD;
  --sw-plaque-line:#8C6A2E;   /* brass hairline: 4.6:1 on the ivory plaque, decorative frame */
  --sw-backdrop:url("assets/shapewall/boutique-backdrop.webp");
  background:var(--fw-bg);border-top:var(--fw-divider)}
html body .wall-band h2{color:var(--fw-ink);letter-spacing:.04em}
html body .wall-band .sec-sub{color:var(--fw-ink-2)}
html body .wall-band .wall-note{color:var(--fw-ink-3)}

/* ---- plaque typography (all modes) ---- */
html body .wall-band .tile h3{color:var(--fw-ink);font-family:var(--fw-serif);font-weight:600;letter-spacing:.16em}
html body .wall-band .tile h3::after{content:"";display:block;width:30px;height:1px;margin:6px auto 5px;
  background:linear-gradient(90deg,transparent,var(--sw-brass) 20%,var(--sw-brass) 80%,transparent)}
html body .wall-band .tile .matched{color:var(--fw-ink-2);font-family:var(--fw-font);text-transform:uppercase;letter-spacing:.14em;font-size:.72rem}
html body .wall-band .tile .matched b{color:var(--fw-ink);font-family:var(--fw-font);font-weight:700;font-size:1.3rem;letter-spacing:.01em;
  text-transform:none;font-variant-numeric:tabular-nums lining-nums;margin-right:.18em;vertical-align:-1px}
html body .wall-band .tile .labs,html body .wall-band .tile .listings{color:var(--fw-ink-2);font-family:var(--fw-font);letter-spacing:.02em;font-variant-numeric:tabular-nums lining-nums}
html body .wall-band .tile a{color:var(--fw-accent-hover);font-family:var(--fw-font);font-weight:700;letter-spacing:.06em;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}  /* darker teal: AA even on dimmed tiles */

/* ---- stones ---- */
html body .wall-band .tile-media img{filter:drop-shadow(0 0 .5px rgba(40,30,15,.55)) drop-shadow(0 12px 10px rgba(52,38,16,.24))}
/* templates/home.html only: components.css sets .fw-page img{height:auto}; restore the live stone size */
html body.fw-page .wall-band .tile-media img{height:300px}
/* sparkles: warm white glints with a gold edge, so they read on ivory and on the boutique wall */
html body .wall-band .sparkle{background:radial-gradient(circle,#FFFFFF 0 16%,#F3D896 30%,rgba(196,150,60,0) 64%)}

/* ---- shelf = a small ivory-marble plinth with a brass base line ---- */
html body .wall-band .shelf{position:relative;height:14px;border:0;border-radius:2px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.95) 0 3px,transparent 3px),                 /* lit top edge */
    linear-gradient(100deg,transparent 30%,rgba(150,128,96,.10) 38%,transparent 46%),    /* faint vein */
    linear-gradient(180deg,#FBF8F1 0%,#ECE4D4 70%,#D9CDB4 100%);
  box-shadow:inset 0 -2px 0 var(--sw-brass),0 1px 0 var(--sw-brass-lo),0 9px 12px -4px rgba(52,38,16,.30)}

/* ---- grid mode (phones, tablets, desktop without the band): each card is a small lit display niche ---- */
html body .wall-band:not(.band-on):not(.band-static) .tile{
  background:linear-gradient(180deg,var(--sw-ivory) 0%,#FFFFFF 60%);
  border:1px solid var(--sw-plaque-line);border-radius:8px;padding:10px 10px 14px;
  box-shadow:inset 0 0 0 3px var(--sw-ivory),inset 0 0 0 4px rgba(154,118,55,.28),0 10px 22px -12px rgba(52,38,16,.35)}
html body .wall-band:not(.band-on) .tile-media{border-radius:4px 4px 0 0;overflow:hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%,rgba(255,244,220,.70),transparent 70%),
    linear-gradient(180deg,rgba(250,246,238,.20),rgba(250,246,238,.55)),
    var(--sw-backdrop) 50% 42%/auto 190% no-repeat,#E9E1D3;
  box-shadow:inset 0 -10px 14px -10px rgba(52,38,16,.25)}
html body .wall-band:not(.band-on) .tile-media::after{background:radial-gradient(ellipse at center,rgba(52,38,16,.30),transparent 70%)}
html body .wall-band:not(.band-on) .shelf{margin:0 0 0;border-radius:0 0 3px 3px}
html body .wall-band:not(.band-on) .tile h3{margin-top:14px}
html body .wall-band:not(.band-on) .tile .matched b{display:block;margin:0 0 1px}
html body .wall-band:not(.band-on):not(.band-static) .tile a{font-size:.84rem;letter-spacing:.02em;white-space:nowrap}  /* keeps the arrow with its link on 2-up phone cards */
html body .wall-band .tile .spot{background:radial-gradient(ellipse 60% 90% at 50% 0%,rgba(255,240,206,.75),transparent 70%)}

@media (min-width:1024px){
  /* ---- the stage: a soft-focus jewellery boutique behind the wall (static, never moves with the wall) ---- */
  html body .wall-band.band-on .wall-stage{
    border-top:1px solid #D9D0BF;border-bottom:1px solid #D9D0BF;
    background:
      linear-gradient(180deg,rgba(38,30,18,.30) 0,rgba(38,30,18,.08) 64px,rgba(38,30,18,0) 150px),          /* ceiling falls off */
      radial-gradient(ellipse 85% 95% at 50% 45%,rgba(30,22,10,0) 50%,rgba(30,22,10,.22) 100%),               /* lens vignette */
      linear-gradient(180deg,rgba(52,40,22,.24) 0%,rgba(52,40,22,.16) 55%,rgba(52,40,22,.06) 100%),           /* evening dim: lets the beams read */
      var(--sw-backdrop) 50% 38%/cover no-repeat,
      linear-gradient(180deg,#EDE6DA 0%,#E2D8C7 60%,#D8CCB6 100%)}
  /* ---- store set: matte black ceiling track, glass-topped display counter with a marble front and brass trim ---- */
  html body .wall-band.band-on .store-set .track-rail{top:0;height:9px;
    background:linear-gradient(180deg,#4A4C4F 0,#1A1B1D 2px,#0C0D0E 5px,#2A2B2D 7px);
    box-shadow:0 3px 6px rgba(20,15,8,.35),0 10px 18px rgba(20,15,8,.12)}
  html body .wall-band.band-on .store-set .pool{bottom:104px;width:560px;height:46px;
    background:radial-gradient(ellipse,rgba(255,236,196,.95),rgba(255,224,170,.35) 45%,transparent 72%);filter:blur(6px)}
  html body .wall-band.band-on .store-set::before{bottom:100px;height:22px;border:0;
    background:
      linear-gradient(180deg,rgba(255,255,255,.95) 0 1px,rgba(255,255,255,0) 1px),
      linear-gradient(180deg,rgba(236,244,244,.85) 0%,rgba(214,222,220,.75) 45%,rgba(196,186,164,.9) 100%);
    box-shadow:inset 0 -3px 0 var(--sw-brass),inset 0 -4px 0 var(--sw-brass-hi),0 -14px 26px rgba(40,30,15,.10)}
  html body .wall-band.band-on .store-set::after{border:0;
    background:
      radial-gradient(ellipse 34% 60% at 50% 0%,rgba(255,234,190,.55),transparent 75%),            /* light spill */
      linear-gradient(180deg,transparent calc(100% - 9px),var(--sw-brass-lo) calc(100% - 9px),var(--sw-brass-hi) calc(100% - 7px),var(--sw-brass) calc(100% - 4px),var(--sw-brass-lo) 100%),
      repeating-linear-gradient(90deg,transparent 0 238px,rgba(110,86,46,.22) 238px 239px,rgba(255,255,255,.7) 239px 240px),
      linear-gradient(104deg,transparent 18%,rgba(140,120,90,.08) 22%,transparent 27%,transparent 58%,rgba(140,120,90,.07) 61%,transparent 66%),
      linear-gradient(180deg,#F7F2E8 0%,#ECE4D5 55%,#E0D5C0 100%)}
  /* ---- the plaques: ivory museum labels with a double brass rule ---- */
  html body .wall-band.band-on .tile::after{left:26px;right:26px;bottom:32px;height:158px;
    background:linear-gradient(180deg,var(--sw-ivory) 0%,var(--sw-ivory-2) 100%);
    border:1px solid var(--sw-plaque-line);border-radius:3px;
    box-shadow:inset 0 0 0 4px var(--sw-ivory),inset 0 0 0 5px rgba(154,118,55,.38),
      0 1px 0 rgba(255,255,255,.8),0 14px 24px -12px rgba(40,30,15,.45),0 3px 6px rgba(40,30,15,.10)}
  html body .wall-band.band-on .tile.is-focus::after{
    box-shadow:inset 0 0 0 4px var(--sw-ivory),inset 0 0 0 5px rgba(154,118,55,.55),
      0 0 0 1px rgba(154,118,55,.25),0 22px 34px -14px rgba(40,30,15,.55),0 4px 8px rgba(40,30,15,.12)}
  html body .wall-band.band-on .tile{padding-bottom:50px;min-width:446px}  /* keeps the live tile pitch: the live in-flow .spot made every tile 446px wide */
  html body .wall-band.band-on .tile h3{font-size:1.3rem;margin:8px 0 0;line-height:1.15}
  html body .wall-band.band-on .tile .matched{margin:0 0 2px}
  html body .wall-band.band-on .tile .labs,html body .wall-band.band-on .tile .listings{font-size:.78rem;margin:0}
  html body .wall-band.band-on .tile-body>a{font-size:.8rem;margin-top:3px}
  /* ---- the track spotlight: adapter + stem (::before), black anodised can with cooling fins and brass ring (::after),
          glowing lens (i), bloom (i::before) and a faint horizontal flare (i::after). All glow scales with var(--glow). ---- */
  html body .wall-band.band-on .fixture{top:34px;filter:none}  /* the live per-frame brightness filter on every fixture is dropped: the lens, bloom and flare carry the glow ramp */
  /* a slim drop rod from the ceiling track: the JS scales each tile a little, so a rod (not a rail adapter) always meets the track */
  html body .wall-band.band-on .fixture::before{top:-120px;width:18px;height:140px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 140' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%230b0c0d'/%3E%3Cstop offset='.3' stop-color='%233a3c3f'/%3E%3Cstop offset='.45' stop-color='%2374777b'/%3E%3Cstop offset='.6' stop-color='%232a2c2e'/%3E%3Cstop offset='1' stop-color='%230b0c0d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='7.2' y='0' width='3.6' height='132' fill='url(%23b)'/%3E%3Crect x='5.5' y='122' width='7' height='5' rx='1' fill='url(%23b)'/%3E%3Ccircle cx='9' cy='135' r='4' fill='url(%23b)'/%3E%3C/svg%3E") center/100% 100% no-repeat;box-shadow:none}
  html body .wall-band.band-on .fixture::after{top:17px;left:7px;width:44px;height:56px;border-radius:0;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 56'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%230a0b0c'/%3E%3Cstop offset='.18' stop-color='%2326282a'/%3E%3Cstop offset='.33' stop-color='%235d6064'/%3E%3Cstop offset='.42' stop-color='%232e3032'/%3E%3Cstop offset='.78' stop-color='%23121314'/%3E%3Cstop offset='.92' stop-color='%233b3d40'/%3E%3Cstop offset='1' stop-color='%230a0b0c'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%235a421a'/%3E%3Cstop offset='.3' stop-color='%23c9a35a'/%3E%3Cstop offset='.4' stop-color='%23f3dda0'/%3E%3Cstop offset='.55' stop-color='%23a47f3a'/%3E%3Cstop offset='.9' stop-color='%236b4f1f'/%3E%3Cstop offset='1' stop-color='%233e2d10'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.55'/%3E%3Cstop offset='.5' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.18'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='5' y='3' width='34' height='47' rx='6' fill='url(%23b)'/%3E%3Cg opacity='.9'%3E%3Crect x='5' y='9' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='10.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='13' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='14.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='17' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='18.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='21' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='22.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3C/g%3E%3Crect x='5' y='29' width='34' height='2.4' fill='url(%23r)'/%3E%3Cpath d='M3 44 h38 v4 a19 6 0 0 1 -38 0z' fill='url(%23b)'/%3E%3Cellipse cx='22' cy='44' rx='19' ry='1.6' fill='%237a7d80' opacity='.55'/%3E%3Crect x='5' y='3' width='34' height='47' rx='6' fill='url(%23f)' opacity='.6'/%3E%3Cellipse cx='22' cy='51.6' rx='16.5' ry='3.6' fill='%230b0b0b'/%3E%3C/svg%3E") center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 6px 6px rgba(30,22,10,.35))}
  html body .wall-band.band-on .fixture i{top:66px;left:12px;width:34px;height:8px;
    background:radial-gradient(ellipse 50% 60% at 50% 45%,#FFFFFF 0 35%,#FFF4D6 55%,#F5CF7E 80%,#9C7432 100%);
    opacity:calc(.30 + var(--glow,0) * .70);
    box-shadow:0 0 calc(4px + var(--glow,0) * 14px) calc(1px + var(--glow,0) * 4px) rgba(255,236,190,.95),
               0 calc(4px + var(--glow,0) * 8px) calc(14px + var(--glow,0) * 34px) calc(2px + var(--glow,0) * 10px) rgba(255,214,140,.55)}
  html body .wall-band.band-on .fixture i::before{content:"";position:absolute;left:50%;top:50%;width:150px;height:110px;margin:-48px 0 0 -75px;
    border-radius:50%;pointer-events:none;opacity:var(--glow,0);
    background:radial-gradient(ellipse 50% 50% at 50% 45%,rgba(255,250,236,.85) 0,rgba(255,236,196,.38) 22%,rgba(255,226,170,.10) 48%,transparent 70%)}
  html body .wall-band.band-on .fixture i::after{content:"";position:absolute;left:50%;top:50%;width:220px;height:2px;margin:-1px 0 0 -110px;
    pointer-events:none;opacity:calc(var(--glow,0) * var(--glow,0) * .55);
    background:linear-gradient(90deg,transparent,rgba(255,240,210,.55) 30%,rgba(255,255,255,.95) 50%,rgba(255,240,210,.55) 70%,transparent);
    box-shadow:0 0 6px rgba(255,236,196,.6)}
  /* ---- the light beam: a soft warm volume from the lens down onto the stone; opacity ramp on var(--glow) is the live one ---- */
  /* live rule makes .spot position:relative (it sits in the tile's flex flow); taking it out of flow changes nothing visible
     because .tile-body is flex:1 with the stone anchored to the bottom */
  html body .wall-band.band-on .tile .spot{position:absolute;top:100px;bottom:190px;height:auto;width:560px;mix-blend-mode:normal;clip-path:none;
    /* soft-edged beam: a conic wedge (no clip-path, so the blur really feathers the edges) faded out with a vertical mask */
    background:conic-gradient(from 155deg at 50% -1%,rgba(255,244,222,0) 0deg,rgba(255,244,222,.32) 3deg,rgba(255,244,222,.62) 7deg,rgba(255,248,236,.76) 25deg,rgba(255,244,222,.62) 43deg,rgba(255,244,222,.32) 47deg,rgba(255,244,222,0) 50deg);
    -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.9) 50%,rgba(0,0,0,.55) 85%,transparent 100%);
            mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.9) 50%,rgba(0,0,0,.55) 85%,transparent 100%);
    filter:none}  /* no blur filter: the soft stops feather the edges, and a per-frame blur on 10 large beams was the main paint cost */
  html body .wall-band.band-on .tile .spot::before{clip-path:none;filter:none;
    background:conic-gradient(from 167deg at 50% -2%,rgba(255,252,242,0) 0deg,rgba(255,252,242,.30) 3deg,rgba(255,252,242,.55) 7deg,rgba(255,255,250,.80) 13deg,rgba(255,252,242,.55) 19deg,rgba(255,252,242,.30) 23deg,rgba(255,252,242,0) 26deg);
    -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.5) 50%,transparent 90%);mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.5) 50%,transparent 90%)}
  html body .wall-band.band-on .tile .spot::after{filter:none;background:
      radial-gradient(circle 1.6px at 22% 30%,rgba(255,255,255,.95) 40%,transparent 70%),
      radial-gradient(circle 1.2px at 58% 18%,rgba(255,250,232,.85) 40%,transparent 70%),
      radial-gradient(circle 1.4px at 74% 44%,rgba(255,255,255,.90) 40%,transparent 70%),
      radial-gradient(circle 1.1px at 40% 56%,rgba(255,250,232,.80) 40%,transparent 70%),
      radial-gradient(circle 1.2px at 84% 24%,rgba(255,255,255,.75) 40%,transparent 70%),
      radial-gradient(ellipse 60% 90% at 50% 70%,rgba(255,240,206,.30),transparent 70%)}
  /* halo where the beam lands on the stone, strength = var(--glow) (live ramp) */
  html body .wall-band.band-on .tile-media::after{inset:4% 0;
    background:radial-gradient(ellipse 48% 42% at 50% 48%,rgba(255,252,242,.75),rgba(255,240,210,.28) 50%,transparent 72%)}
  html body .wall-band.band-on .tile-media img{filter:drop-shadow(0 0 .5px rgba(40,30,15,.5)) drop-shadow(0 22px 16px rgba(40,30,15,.28))}
  /* the plinth under the popped stone gets a warm highlight on its top edge */
  html body .wall-band.band-on .shelf{width:50%;height:24px;margin:0 auto 10px;border:0;border-radius:2px 2px 1px 1px;
    background:
      linear-gradient(180deg,#FFFFFF 0,#F4EEE2 6px,rgba(0,0,0,0) 6px),                                 /* lit top surface */
      linear-gradient(180deg,rgba(0,0,0,0) 6px,rgba(80,60,30,.16) 6px,rgba(80,60,30,0) 9px),            /* top edge shadow line */
      linear-gradient(97deg,transparent 22%,rgba(150,128,96,.13) 27%,transparent 33%,transparent 64%,rgba(150,128,96,.10) 69%,transparent 74%),
      linear-gradient(90deg,rgba(60,45,20,.10),rgba(60,45,20,0) 18%,rgba(60,45,20,0) 82%,rgba(60,45,20,.12)),
      linear-gradient(180deg,#F3EDE1 0%,#E7DECC 80%,#DCD0B8 100%);
    box-shadow:inset 0 -3px 0 var(--sw-brass),inset 0 -4px 0 var(--sw-brass-hi),0 1px 0 var(--sw-brass-lo),0 14px 16px -8px rgba(52,38,16,.36)}
  html body .wall-band.band-on .shelf::before{content:"";position:absolute;left:18%;right:18%;top:-5px;height:9px;border-radius:50%;pointer-events:none;
    background:radial-gradient(ellipse,rgba(52,38,16,.30),rgba(52,38,16,0) 70%);filter:blur(2px)}
  html body .wall-band.band-on .shelf::after{content:"";position:absolute;left:12%;right:12%;top:-3px;height:8px;border-radius:50%;
    opacity:var(--glow,0);background:radial-gradient(ellipse,rgba(255,246,222,.95),rgba(255,236,196,0) 70%);pointer-events:none}
  /* hint: moved off the left plaque into a small ivory pill under the track */
  html body .wall-band.band-on .band-hint{top:20px;bottom:auto;left:24px;padding:4px 12px;border-radius:999px;
    color:var(--fw-ink-2);background:rgba(255,253,248,.88);box-shadow:0 0 0 1px rgba(154,118,55,.35),0 4px 10px rgba(40,30,15,.10);
    font-size:.68rem;letter-spacing:.16em}
  /* the scroller's bar (also a way to move the wall) */
  html body .wall-band.band-on .wall-scroll{scrollbar-color:var(--sw-brass) rgba(255,253,248,.6)}
  html body .wall-band.band-on .wall-scroll::-webkit-scrollbar-track{background:rgba(255,253,248,.6)}
  html body .wall-band.band-on .wall-scroll::-webkit-scrollbar-thumb{background:linear-gradient(90deg,var(--sw-brass-lo),var(--sw-brass),var(--sw-brass-lo));border:2px solid rgba(255,253,248,.9)}

  /* ---- reduced-motion desktop (.band-static): same boutique, ten lit niches in a row, lights at rest ---- */
  html body .wall-band.band-static .wall-stage{border:1px solid #D9D0BF;border-radius:6px;
    background:linear-gradient(180deg,rgba(250,246,238,.35),rgba(250,246,238,.15)),var(--sw-backdrop) 50% 40%/cover no-repeat,#E6DDCD}
  html body .wall-band.band-static .store-set::before{border:0;
    background:linear-gradient(180deg,rgba(236,244,244,.9),rgba(196,186,164,.9));box-shadow:inset 0 -3px 0 var(--sw-brass),inset 0 -4px 0 var(--sw-brass-hi)}
  html body .wall-band.band-static .store-set::after{
    background:linear-gradient(180deg,transparent calc(100% - 7px),var(--sw-brass-hi) calc(100% - 7px),var(--sw-brass) calc(100% - 3px),var(--sw-brass-lo) 100%),
      repeating-linear-gradient(90deg,transparent 0 238px,rgba(110,86,46,.22) 238px 239px,rgba(255,255,255,.7) 239px 240px),
      linear-gradient(180deg,#F7F2E8,#E0D5C0)}
  html body .wall-band.band-static .fixture::before{width:14px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%230b0c0d'/%3E%3Cstop offset='.3' stop-color='%233a3c3f'/%3E%3Cstop offset='.45' stop-color='%236a6d71'/%3E%3Cstop offset='.6' stop-color='%232a2c2e'/%3E%3Cstop offset='1' stop-color='%230b0c0d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' width='18' height='9' rx='2' fill='url(%23b)'/%3E%3Crect x='0' y='8' width='18' height='1' fill='%23000' opacity='.5'/%3E%3Crect x='6.5' y='9' width='5' height='13' fill='url(%23b)'/%3E%3Ccircle cx='9' cy='19.5' r='3.2' fill='url(%23b)'/%3E%3C/svg%3E") center/100% 100% no-repeat}
  html body .wall-band.band-static .fixture::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 56'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%230a0b0c'/%3E%3Cstop offset='.18' stop-color='%2326282a'/%3E%3Cstop offset='.33' stop-color='%235d6064'/%3E%3Cstop offset='.42' stop-color='%232e3032'/%3E%3Cstop offset='.78' stop-color='%23121314'/%3E%3Cstop offset='.92' stop-color='%233b3d40'/%3E%3Cstop offset='1' stop-color='%230a0b0c'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%235a421a'/%3E%3Cstop offset='.3' stop-color='%23c9a35a'/%3E%3Cstop offset='.4' stop-color='%23f3dda0'/%3E%3Cstop offset='.55' stop-color='%23a47f3a'/%3E%3Cstop offset='.9' stop-color='%236b4f1f'/%3E%3Cstop offset='1' stop-color='%233e2d10'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.55'/%3E%3Cstop offset='.5' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.18'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='5' y='3' width='34' height='47' rx='6' fill='url(%23b)'/%3E%3Cg opacity='.9'%3E%3Crect x='5' y='9' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='10.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='13' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='14.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='17' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='18.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3Crect x='5' y='21' width='34' height='1.2' fill='%23000' opacity='.6'/%3E%3Crect x='5' y='22.2' width='34' height='.6' fill='%23fff' opacity='.12'/%3E%3C/g%3E%3Crect x='5' y='29' width='34' height='2.4' fill='url(%23r)'/%3E%3Cpath d='M3 44 h38 v4 a19 6 0 0 1 -38 0z' fill='url(%23b)'/%3E%3Cellipse cx='22' cy='44' rx='19' ry='1.6' fill='%237a7d80' opacity='.55'/%3E%3Crect x='5' y='3' width='34' height='47' rx='6' fill='url(%23f)' opacity='.6'/%3E%3Cellipse cx='22' cy='51.6' rx='16.5' ry='3.6' fill='%230b0b0b'/%3E%3C/svg%3E") center/100% 100% no-repeat;border-radius:0}
  html body .wall-band.band-static .fixture i{background:radial-gradient(ellipse,#FFFFFF 0 35%,#FFF0C8 60%,#E9C277);opacity:.9;box-shadow:0 0 10px 3px rgba(255,236,190,.8)}
  html body .wall-band.band-static .tile .spot{mix-blend-mode:normal;opacity:.7;background:linear-gradient(180deg,rgba(255,248,230,.75),transparent 85%)}
  html body .wall-band.band-static .tile{background:linear-gradient(180deg,rgba(255,253,248,.92),#FFFFFF 60%);border:1px solid var(--sw-plaque-line);border-radius:6px;
    box-shadow:inset 0 0 0 3px var(--sw-ivory),inset 0 0 0 4px rgba(154,118,55,.28),0 10px 20px -12px rgba(40,30,15,.4)}
  html body .wall-band.band-static .tile-media{background:radial-gradient(ellipse 60% 70% at 50% 0%,rgba(255,244,220,.75),transparent 70%),linear-gradient(180deg,rgba(250,246,238,.25),rgba(250,246,238,.55)),var(--sw-backdrop) 50% 42%/auto 220% no-repeat,#E9E1D3}
  html body .wall-band.band-static .tile h3{font-size:.86rem;letter-spacing:.12em}
  html body .wall-band.band-static .shelf{border:0;border-radius:0 0 3px 3px;
    background:linear-gradient(180deg,#FFFFFF 0,#F4EEE2 4px,#E7DECC 80%,#DCD0B8 100%);
    box-shadow:inset 0 -2px 0 var(--sw-brass),0 1px 0 var(--sw-brass-lo),0 8px 10px -6px rgba(52,38,16,.35)}
  html body .wall-band.band-static .tile a{font-size:.78rem;letter-spacing:.03em}
}
/* ==== end SHAPE WALL ======================================================================== */

/* ---- generated pages (/stone/, /compare/, /retailers/, /lab-diamonds/...) use <main class="wrap" style="padding:2rem 0 3rem">,
   whose inline shorthand zeroes the side padding of .wrap, so text touches the screen edge on phones. ---- */
html body main.wrap[style]{padding-left:18px!important;padding-right:18px!important}

/* ---- buttons ---- */
html body .btn{background:var(--fw-accent);color:var(--fw-ink-inverse);border:1px solid var(--fw-accent);border-radius:var(--fw-radius)}
html body .btn:hover{background:var(--fw-accent-hover)}
html body .btn-ghost{background:var(--fw-surface);color:var(--fw-ink);border:var(--fw-hairline)}
html body .card .btn{background:var(--fw-ink);border-color:var(--fw-ink)}  /* "View deal" = link out to retailer */

/* ---- search page compare strip (rendered by /app.js: .cmp-card .cmp-rows .cmp-lowest) ---- */
html body .cmp-card{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);box-shadow:none}
html body .cmp-rows li:first-child{background:var(--fw-win-tint);box-shadow:inset 3px 0 0 var(--fw-win);padding:2px 6px}
html body .cmp-rows li:first-child .cmp-price{color:var(--fw-win-ink)}
html body .cmp-price{font-variant-numeric:var(--fw-mono-num)}
html body .cmp-lowest{background:var(--fw-win);color:var(--fw-ink-inverse);border-radius:var(--fw-radius-sm)}
html body .cmp-spread{color:var(--fw-gold)}
html body .cert-search-row button{background:var(--fw-accent);color:var(--fw-ink-inverse);border-radius:var(--fw-radius)}

/* ---- search / filters ---- */
html body .search,html body .cert-hero,html body .cert-search{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);color:var(--fw-ink)}
html body .field label,html body .cert-hero label{color:var(--fw-ink-2)}
html body .field select,html body .field input,html body .cert-row input,html body .cert-search-row input{background:var(--fw-surface);border:1px solid var(--fw-line-mid);color:var(--fw-ink);border-radius:var(--fw-radius-sm)}
html body .cert-hint,html body .data-note,html body .result-line{color:var(--fw-ink-3)}

/* ---- blocks ---- */
html body .stats-block{color:var(--fw-ink-2)}
html body .labnat-band{background:var(--fw-surface);color:var(--fw-ink);border-top:var(--fw-hairline);border-bottom:var(--fw-hairline)}
html body .labnat-band h2,html body .labnat-band .ln-stat b{color:var(--fw-ink)}
html body .labnat-band .ln-eyebrow{color:var(--fw-gold)}
html body .labnat-band .ln-stat span,html body .labnat-band .ln-chips,html body .labnat-band .ln-fine{color:var(--fw-ink-2)}
html body .labnat-band .ln-cta{background:var(--fw-accent);border-color:var(--fw-accent);border-radius:var(--fw-radius)}
html body .matches-band .eyebrow{color:var(--fw-ink-3);border-color:var(--fw-line-soft)}
html body .matches-band .btn,html body .capture-band .btn,html body .lvn-band .btn{background:var(--fw-accent);color:var(--fw-ink-inverse);border-radius:var(--fw-radius)}
html body .lvn-band .btn-ghost{background:var(--fw-surface);color:var(--fw-ink);border:var(--fw-hairline)}
html body .promo-band{background:var(--fw-bg)}
html body .promo-body b{color:var(--fw-ink)} html body .promo-body span{color:var(--fw-ink-2)}
html body .promo-card img{background:var(--fw-img-bg)}
html body .lvn-band{background:var(--fw-bg)}
html body .lvn-shape{color:var(--fw-ink);font-weight:700} html body .lvn-row{color:var(--fw-ink-2)} html body .lvn-row b{color:var(--fw-ink);font-variant-numeric:var(--fw-mono-num)} html body .lvn-n{color:var(--fw-ink-3)} html body .lvn-ratio{color:var(--fw-gold);font-weight:700}
html body .capture-band{background:var(--fw-surface);border-top:var(--fw-hairline);color:var(--fw-ink)}
html body .capture-band h2{color:var(--fw-ink)} html body .capture-band p,html body .capture-band .capture-form label{color:var(--fw-ink-2)}
html body .capture-band .capture-form input[type="email"]{background:var(--fw-surface);border:1px solid var(--fw-line-mid);color:var(--fw-ink);border-radius:var(--fw-radius-sm)}
html body footer{background:var(--fw-surface);border-top:var(--fw-hairline);color:var(--fw-ink-2)}
html body footer a{color:var(--fw-ink-2)}

/* ---- focus ---- */
html body :focus-visible{outline:2px solid var(--fw-focus);outline-offset:2px}
html body .site-head :focus-visible{outline-color:#8AB4FF}

/* ---- wide grids (fix pass 1, 2026-11-15): card grids may use the full
   1680px measure with 32px side padding; prose measures stay narrow.
   The staged --fw-max stays 1280px for text containers. ---- */
html body main.wrap:has(.teaser-grid),html body main.wrap:has(.grid),html body main.wrap:has(.match-grid){max-width:1680px;padding-left:32px;padding-right:32px}
html body .lvn-band .wrap:has(.lvn-grid),html body .matchups-band .wrap:has(#matchups-root){max-width:1680px;padding-left:32px;padding-right:32px}
html body .lede,html body .stats-block p,html body main.wrap > p{max-width:72ch}

/* ---- Step 1 (2026-11-16): neutrality chrome retired, doors, twin, packet ----
   Featured sides are identical: no winner tint, no badge chrome. Legacy
   badge selectors below only neutralise stale cached markup; generators
   no longer emit Save/Best markup. Header (.site-head) stays dark. */
html body .vs.lo,html body .match-card .vs.lo{background:var(--fw-surface);border:1px solid var(--fw-line-soft);box-shadow:none}
html body .vs.lo .p{color:var(--fw-ink);font-weight:400}
html body .sh-offer:has(.sh-best){background:var(--fw-surface);border-color:var(--fw-line-soft);box-shadow:none}
html body .sh-offer:has(.sh-best) .p{color:var(--fw-ink)}
html body .cmp-rows li:first-child{background:transparent;box-shadow:none}
html body .cmp-rows li:first-child .cmp-price{color:var(--fw-ink)}
html body .save-badge,html body .best,html body .best-tag,html body .sh-best,html body .sh-save,html body .save-pill{display:none!important}
html body .diff-line{color:var(--fw-ink-2);font-variant-numeric:var(--fw-mono-num)}
html body .asof{color:var(--fw-ink-3);font-size:var(--fw-fs-xs)}
html body .fw-detail__media{margin:0;aspect-ratio:1/1;background:var(--fw-img-bg);border:var(--fw-hairline);border-radius:var(--fw-radius);overflow:hidden}
html body .fw-detail__media img{width:100%;height:100%;object-fit:cover;display:block}
html body .doors-grid{display:grid;gap:var(--fw-s3);grid-template-columns:1fr}
@media(min-width:640px){html body .doors-grid{grid-template-columns:1fr 1fr}}
html body .door-card{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius);padding:var(--fw-s5);color:var(--fw-ink);text-decoration:none;display:grid;gap:4px}
html body .door-card b{font-size:var(--fw-fs-lg)} html body .door-card span{color:var(--fw-ink-2)}
html body .twin-card{background:var(--fw-surface);border:var(--fw-hairline);border-radius:var(--fw-radius)}
html body .pm-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body .pm-copy{background:var(--fw-accent);color:var(--fw-ink-inverse);border:1px solid var(--fw-accent);border-radius:var(--fw-radius);padding:8px 14px;cursor:pointer}
html body .pm-copy:hover{background:var(--fw-accent-hover)}
html body .pm-none{border:1px solid var(--fw-line-mid);border-radius:var(--fw-radius-sm);padding:2px 8px;color:var(--fw-ink-2)}
html body .fw-money{color:var(--fw-ink-2)}

/* ---- Style v2 (2026-11-16): one button system, folded from buttons-v2.css ----
   Page base stays --fw-bg (off-white ruling value) with white cards;
   the wall plaque ivory above is decoration, not a page base.
   One family: 4px radius, 44px minimum height on phones, primary teal
   #0E6A82 fill, secondary #1F2628 hairline outline on white, underlined
   teal tertiary links. Cards stay 6px. Loads after every live button
   rule above, so leftover 12px/10px/16px/999px radii and 56px heights
   cannot win. Header (.site-head) stays dark. */
html body .seo-table tbody tr:nth-child(even) td{background:var(--fw-zebra)}
.fw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:var(--fw-btn-height);padding:0 var(--fw-btn-pad-x);border:1px solid transparent;border-radius:var(--fw-btn-radius);background:transparent;font-family:var(--fw-font);font-size:var(--fw-btn-fs);font-weight:var(--fw-btn-weight);letter-spacing:var(--fw-btn-tracking);line-height:1;text-decoration:none;text-align:center;white-space:nowrap;cursor:pointer;appearance:none;-webkit-appearance:none;transition:background-color var(--fw-dur) var(--fw-ease),border-color var(--fw-dur) var(--fw-ease),color var(--fw-dur) var(--fw-ease)}
.fw-btn:focus{outline:none}
.fw-btn:focus-visible,.fw-btn.is-focus{outline:2px solid var(--fw-focus);outline-offset:2px}
.fw-btn--primary{background:var(--fw-accent);border-color:var(--fw-accent);color:var(--fw-ink-inverse)}
.fw-btn--primary:hover,.fw-btn--primary.is-hover{background:var(--fw-accent-hover);border-color:var(--fw-accent-hover);color:var(--fw-ink-inverse)}
.fw-btn--secondary{background:var(--fw-surface);border-color:var(--fw-line);color:var(--fw-ink)}
.fw-btn--secondary:hover,.fw-btn--secondary.is-hover{background:var(--fw-bg-sunk);border-color:var(--fw-line);color:var(--fw-ink)}
.fw-btn--tertiary{min-height:var(--fw-btn-height);padding:0 2px;border:0;border-radius:0;background:transparent;color:var(--fw-accent);font-weight:var(--fw-btn-weight);letter-spacing:var(--fw-btn-tracking);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.fw-btn--tertiary:hover,.fw-btn--tertiary.is-hover{color:var(--fw-accent-hover);background:transparent}
.fw-btn--tertiary:focus-visible,.fw-btn--tertiary.is-focus{border-radius:var(--fw-btn-radius)}
.fw-btn--store{min-height:var(--fw-btn-height-sm);padding:0 var(--fw-btn-pad-x-sm);background:var(--fw-surface);border-color:var(--fw-line);color:var(--fw-ink);font-size:var(--fw-btn-fs-sm)}
.fw-btn--store:hover,.fw-btn--store.is-hover{background:var(--fw-bg-sunk);border-color:var(--fw-line);color:var(--fw-ink)}
.fw-btn--sm{min-height:var(--fw-btn-height-sm);padding:0 var(--fw-btn-pad-x-sm);font-size:var(--fw-btn-fs-sm)}
.fw-btn--block{display:flex;width:100%}
.fw-btn:disabled,.fw-btn[aria-disabled="true"],.fw-btn.is-disabled{cursor:not-allowed;pointer-events:none;background:var(--fw-bg-sunk);border-color:var(--fw-line-soft);color:var(--fw-ink-3);text-decoration:none;box-shadow:none;outline:none}
.fw-btn--tertiary:disabled,.fw-btn--tertiary[aria-disabled="true"],.fw-btn--tertiary.is-disabled{background:transparent;border-color:transparent;color:var(--fw-ink-3);text-decoration:underline}
/* Live selectors remapped to the same system (spec v2 section 4). */
html body .btn,html body .matches-band .btn,html body .capture-band .btn,html body .lvn-band .btn,html body .labnat-band .ln-cta,html body .cert-row button,html body .cert-search-row button,html body .pm-copy{min-height:var(--fw-btn-height);padding:0 var(--fw-btn-pad-x);border-radius:var(--fw-btn-radius);background:var(--fw-accent);border-color:var(--fw-accent);color:var(--fw-ink-inverse);font-family:var(--fw-font);font-size:var(--fw-btn-fs);font-weight:var(--fw-btn-weight);letter-spacing:var(--fw-btn-tracking)}
html body .btn:hover,html body .cert-row button:hover,html body .pm-copy:hover{background:var(--fw-accent-hover);border-color:var(--fw-accent-hover)}
html body .btn-ghost,html body .lvn-band .btn-ghost,html body .card .btn{min-height:var(--fw-btn-height);padding:0 var(--fw-btn-pad-x);border-radius:var(--fw-btn-radius);background:var(--fw-surface);border:1px solid var(--fw-line);color:var(--fw-ink);font-family:var(--fw-font);font-size:var(--fw-btn-fs);font-weight:var(--fw-btn-weight);letter-spacing:var(--fw-btn-tracking)}
html body .btn-ghost:hover,html body .card .btn:hover{background:var(--fw-bg-sunk)}
html body .shop-btn{min-height:var(--fw-btn-height-sm);border-radius:var(--fw-btn-radius);font-weight:var(--fw-btn-weight);letter-spacing:var(--fw-btn-tracking)}
html body a.fw-btn--tertiary,html body .pm-playbook{color:var(--fw-accent);text-decoration:underline;text-underline-offset:3px}
@media (max-width:639px){
html body .btn,html body .btn-ghost,html body .card .btn,html body .cert-row button,html body .cert-search-row button,html body .pm-copy,html body .shop-btn,.fw-btn,.fw-btn--sm,.fw-btn--store{min-height:var(--fw-btn-height)}
.fw-btn--main,.fw-btn--block{display:flex;width:100%}
}
@media (prefers-reduced-motion: reduce){.fw-btn{transition:none}}

/* ==== STEP 2 — mobile card pass (2026-11-16, from Grok's measured findings) ====
   360/390px only: matchup cards capped so one card no longer takes 69% of the
   screen, the search grid holds 2 columns, home shelf media shrinks, and card
   text gets a 12px floor (labels were rendering at 9.92-10.56px). */
@media (max-width:639px){
  html:root{--fw-card-min:150px}
  html body main.wrap:has(.teaser-grid),html body main.wrap:has(.grid),html body main.wrap:has(.match-grid){padding-left:16px;padding-right:16px}
  html body .match-grid{grid-template-columns:1fr}
  html body .match-card .card-media,html body .match-grid .card-media{aspect-ratio:16/10}
  html body .mini-media{aspect-ratio:4/3;height:auto}
  html body .sh-media{aspect-ratio:16/10;height:auto;max-height:300px;overflow:hidden}
  html body .match-card .best,html body .best,html body .best-tag,html body .vs-tag,html body .sh-best{font-size:.75rem}
  html body .match-card .save-badge,html body .save-pill,html body .card-media .badge{font-size:.75rem}
  html body .card-sub,html body .match-card .card-sub,html body .matches-band .match-card .card-sub,html body .teaser-spec,html body .sh-spec,html body .sh-cert,html body .sh-count,html body .sh-offers .r,html body .mini-kind,html body .mini-cert,html body .perct,html body .retailer,html body .teaser-retailer{font-size:.8125rem}
  html body .cmp-lowest,html body .bc-kicker,html body .cert,html body .eyebrow,html body .field label,html body .deal-meter,html body .lvn-n{font-size:.75rem}
}
