/* ==========================================================================
   STACKD THEME: pearl holo glass (from the approved Stackd Arcade concept D)
   One stylesheet for every Stackd page: / (Duke's page), /tweaks/, /social/, /arcade/
   and the Stackd Arcade launcher. Change a token here and every page follows.
   Prefix: s-  (so it never clashes with a page's own class names)
   ========================================================================== */
:root{
  color-scheme:light;
  /* text */
  --s-ink:#241a3a;      /* deep plum, headings + body */
  --s-mute:#5a4a78;     /* secondary text (contrast pass 2026-12-03: 6.2:1 on the darkest glass) */
  --s-soft:#62527f;     /* small print (5.5:1 on the darkest glass) */
  --s-vio:#7236ea;      /* links, accents */
  --s-acc:#7f45cf;      /* eyebrows, small labels (4.5:1+ on the glass) */
  /* glow colours */
  --s-pink:#ff8ad8;  --s-pink-l:#ffd6f1;
  --s-lilac:#b58bff; --s-lilac-l:#e7d8ff;
  --s-blue:#7cc4ff;  --s-blue-l:#d6e6ff;
  --s-pearl:#f4effc;    /* page base */
  --s-tint:#efe5ff;     /* soft chip fill */
  /* holographic gradient: primary buttons, chips, accents */
  --s-holo:linear-gradient(115deg,#ff8ad8,#b58bff,#7cc4ff,#ffb0e6,#a07bff);
  /* frosted glass */
  --s-glass:linear-gradient(155deg,rgba(255,255,255,.82),rgba(255,255,255,.45) 55%,rgba(255,255,255,.6));
  --s-glass-solid:linear-gradient(155deg,rgba(255,255,255,.96),rgba(250,246,255,.9) 55%,rgba(255,255,255,.94));
  --s-edge:rgba(110,60,180,.26);   /* the crisp lilac-gray edge on glass (was white .95: it vanished on the pearl) */
  --s-line:rgba(110,60,180,.26);   /* card, panel, input, button borders (1.5px) */
  --s-line-2:rgba(110,60,180,.34); /* dividers, separators */
  --s-hi:inset 0 0 0 1px rgba(255,255,255,.7); /* the white inner highlight just inside the edge */
  --s-shadow:inset 0 1.5px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7),inset 0 -10px 24px rgba(200,170,255,.12),0 22px 50px rgba(110,60,180,.2),0 2px 6px rgba(110,60,180,.12);
  --s-shadow-sm:inset 0 1.5px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7),0 10px 24px rgba(110,60,180,.17),0 1px 3px rgba(110,60,180,.12);
  --s-lip:#d2bdf1;      /* the 3D bottom edge under pressable glass */
  --s-lip-holo:#a77be6; /* the 3D bottom edge under holo buttons */
  --s-blur:blur(22px) saturate(170%);
  --s-display:"Space Grotesk",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --s-body:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ---- page background: pearl with three soft colour pools ---- */
html.s-page,html.s-page body{background-color:var(--s-pearl)}
html.s-page body{color:var(--s-ink);font-family:var(--s-body);overflow-x:hidden;
  /* contrast pass: a very soft shade (darker toward the edges and the bottom) on top of the pearl so cards lift off it */
  background:radial-gradient(120% 95% at 50% 38%,rgba(60,30,110,0) 55%,rgba(60,30,110,.06) 100%),
             linear-gradient(180deg,rgba(60,30,110,0) 40%,rgba(60,30,110,.035)),
             radial-gradient(800px 600px at 0% 0%,var(--s-pink-l),transparent 60%),
             radial-gradient(900px 700px at 100% 8%,var(--s-blue-l),transparent 60%),
             radial-gradient(900px 600px at 55% 100%,var(--s-lilac-l),transparent 60%),var(--s-pearl);
  background-attachment:fixed}

/* drifting glow blobs: <div class="s-blobs" aria-hidden="true"><i></i><i></i><i></i></div> as the first thing in <body> */
.s-blobs{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.s-blobs i{position:absolute;border-radius:50%;will-change:transform}
.s-blobs i:nth-child(1){width:640px;height:640px;left:-220px;top:22vh;background:radial-gradient(closest-side,rgba(255,138,216,.42),rgba(255,138,216,0));animation:s-blobA 18s ease-in-out infinite}
.s-blobs i:nth-child(2){width:700px;height:700px;right:-260px;top:8vh;background:radial-gradient(closest-side,rgba(124,196,255,.42),rgba(124,196,255,0));animation:s-blobB 22s ease-in-out infinite}
.s-blobs i:nth-child(3){width:620px;height:620px;left:30%;bottom:-300px;background:radial-gradient(closest-side,rgba(181,139,255,.36),rgba(181,139,255,0));animation:s-blobC 26s ease-in-out infinite}

/* ---- frosted glass panel (+ optional slow white glint) ---- */
.s-glass{position:relative;background:var(--s-glass);-webkit-backdrop-filter:var(--s-blur);backdrop-filter:var(--s-blur);
  border:1.5px solid var(--s-edge);box-shadow:var(--s-shadow)}
.s-glint{position:relative;overflow:hidden}
.s-glint::after{content:"";position:absolute;top:-70%;left:0;width:22%;height:240%;pointer-events:none;z-index:3;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));
  transform:translateX(-160%) rotate(18deg);animation:s-glint 7s cubic-bezier(.6,0,.2,1) infinite}
.s-glint.s-late::after{animation-delay:-3.5s}

/* ---- holographic fill + text ---- */
.s-holo{background:var(--s-holo);background-size:300% 300%;animation:s-holo 9s ease-in-out infinite;color:#fff}
.s-holo-text{background:var(--s-holo);background-size:300% 300%;animation:s-holo 9s ease-in-out infinite;
  -webkit-background-clip:text;background-clip:text;color:transparent}

/* ---- mirror reflections ---- */
/* real reflection of an element (Chrome, Edge, Safari; others just skip it) */
.s-reflect{-webkit-box-reflect:below 14px linear-gradient(transparent 60%,rgba(255,255,255,.5))}
/* a glossy mirror floor to stand things on: position it absolutely under the object */
.s-floor{position:absolute;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.55) 45%,rgba(255,255,255,0));
  box-shadow:0 0 80px rgba(255,255,255,.55) inset}
.s-floor::after{content:"";position:absolute;inset:20%;border-radius:50%;border:1.5px solid rgba(160,92,224,.22)}

html.s-page{scroll-behavior:smooth}
.s-page [id]{scroll-margin-top:96px}
@media (prefers-reduced-motion:reduce){html.s-page{scroll-behavior:auto}}

/* ---- shared pieces (product pages) ---- */
.s-eyebrow{font:700 12px var(--s-body);letter-spacing:4px;color:var(--s-acc);text-transform:uppercase}
.s-chip{display:inline-flex;align-items:center;gap:6px;font:800 10.5px var(--s-body);letter-spacing:1.3px;padding:5px 10px;border-radius:999px;background:var(--s-tint);color:var(--s-vio);white-space:nowrap}
.s-chip.s-holo{color:#fff;background:var(--s-holo);background-size:300% 300%}
.s-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;color:#fff;font:800 17px var(--s-body);
  padding:17px 28px;border-radius:999px;border:0;cursor:pointer;text-align:center;
  box-shadow:0 16px 36px rgba(170,90,255,.42),inset 0 1px 0 rgba(255,255,255,.55);transition:transform .2s,box-shadow .2s}
.s-btn:hover{transform:translateY(-3px) scale(1.02);color:#fff}
.s-btn svg{width:18px;height:18px;flex:none}
.s-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#3d2a63;font:700 16px var(--s-body);
  padding:16px 24px;border-radius:999px;background:rgba(255,255,255,.85);border:1.5px solid var(--s-line);box-shadow:0 8px 20px rgba(110,60,180,.12);cursor:pointer;transition:transform .2s}
.s-ghost:hover{transform:translateY(-2px);color:#3d2a63}
.s-pill{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#3d2a63;font:600 14px var(--s-body);padding:10px 16px;border-radius:999px;border:0;background:none;cursor:pointer;white-space:nowrap;transition:transform .2s,background .2s}
.s-pill:hover{transform:translateY(-2px);background:rgba(255,255,255,.9);color:#3d2a63}
.s-pill.s-holo{color:#fff;font-weight:800;background:var(--s-holo);background-size:300% 300%;box-shadow:0 6px 16px rgba(170,90,255,.35)}
.s-pill.s-holo:hover{background:var(--s-holo);background-size:300% 300%;color:#fff}

/* top navigation pill */
.s-nav{display:flex;align-items:center;gap:6px;padding:7px;border-radius:999px;margin:0 auto;width:max-content;max-width:100%}
.s-logo{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;box-shadow:0 6px 18px rgba(170,90,255,.45)}
.s-logo svg{width:21px;height:21px}
.s-nav .s-name{font:700 15px var(--s-display);letter-spacing:.02em;padding:0 10px 0 6px;white-space:nowrap}
.s-sep{width:1.5px;height:24px;background:var(--s-line-2);margin:0 4px}

/* section heading */
.s-sh{text-align:center;margin:0 auto 26px;max-width:720px;display:flex;flex-direction:column;gap:8px;align-items:center}
.s-sh h2{margin:0;font:700 clamp(30px,7vw,44px)/1.05 var(--s-display);letter-spacing:-.03em;text-wrap:balance}
.s-sh p{margin:0;color:var(--s-mute);font-size:16px;text-wrap:balance}

/* FAQ accordion: <div class="s-faq"><details class="s-glass">... */
.s-faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.s-faq details{border-radius:20px}
.s-faq summary{list-style:none;cursor:pointer;padding:18px 54px 18px 22px;font-weight:700;font-size:16px;position:relative}
.s-faq summary::-webkit-details-marker{display:none}
.s-faq summary::after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);font:600 24px var(--s-body);color:var(--s-acc)}
.s-faq details[open] summary::after{content:"\2212"}
.s-faq details p{margin:0;padding:0 22px 18px;color:var(--s-mute);line-height:1.55}

/* cross links between the Stackd products */
.s-xlink{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.s-xl{border-radius:24px;padding:20px 22px;text-decoration:none;color:var(--s-ink);display:flex;align-items:center;gap:16px;transition:transform .2s}
.s-xl:hover{transform:translateY(-3px);color:var(--s-ink)}
.s-xl .s-ic{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff}
.s-xl .s-ic svg{width:22px;height:22px}
.s-xl span{flex:1;min-width:0}
.s-xl b{display:block;font-size:17px}
.s-xl small{display:block;color:var(--s-soft);font-size:13px;line-height:1.4}
.s-xl em{font-style:normal;font-size:22px;color:var(--s-acc)}

/* glass dialog */
.s-modal{position:fixed;inset:0;z-index:600;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(60,30,100,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.s-modal[hidden]{display:none}
.s-dialog{width:100%;max-width:440px;max-height:calc(100% - 32px);overflow-y:auto;border-radius:28px;padding:26px 24px 22px;display:flex;flex-direction:column;gap:12px;background:var(--s-glass-solid);animation:s-pop .22s ease-out}

.s-page a:focus-visible,.s-page button:focus-visible,.s-page summary:focus-visible{outline:2.5px solid var(--s-vio);outline-offset:3px}


/* ---- floating glass badges: the same component on every page ----
   <div class="s-float s-dk" aria-hidden="true"><span class="s-fi s-holo"><svg .../></span><span><b>Title</b><small>Line</small></span></div>
   Position each one with the page's own CSS (left/right/top). Purely decorative: no clicks, never steals focus.
   s-dk = desktop only (761px and up), s-mo = phone only (760px and down), neither = both (auto-shrinks on phones).
   Timing: add s-f2 / s-f3 / s-f4 so neighbours don't bob in step. Gold icon: s-fi s-gold. */
.s-float{position:absolute;z-index:6;display:flex;gap:10px;align-items:center;padding:11px 15px 11px 11px;border-radius:18px;pointer-events:none;white-space:nowrap;
  color:var(--s-ink);background:var(--s-glass);-webkit-backdrop-filter:var(--s-blur);backdrop-filter:var(--s-blur);border:1.5px solid var(--s-edge);box-shadow:var(--s-shadow-sm);
  animation:s-float 6s ease-in-out infinite}
.s-float .s-fi{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#fff}
.s-float .s-fi svg{width:18px;height:18px}
.s-float .s-gold{background:linear-gradient(180deg,#ffe27a,#f5b700);color:#5a4500}
.s-float b{display:block;font:800 14px/1.2 var(--s-body)}
.s-float small{display:block;font:500 12px/1.3 var(--s-body);color:var(--s-soft)}
.s-float.s-f2{animation-duration:7s;animation-delay:-2s}
.s-float.s-f3{animation-duration:6.5s;animation-delay:-4s}
.s-float.s-f4{animation-duration:5.5s;animation-delay:-1s}
@media (max-width:760px){
  .s-float{gap:7px;padding:6px 10px 6px 6px;border-radius:13px}
  .s-float .s-fi{width:26px;height:26px;border-radius:8px}
  .s-float .s-fi svg{width:14px;height:14px}
  .s-float b{font-size:11.5px}
  .s-float small{font-size:10px}
  .s-float.s-dk{display:none}
}
@media (min-width:761px){.s-float.s-mo{display:none}}

/* phone/tablet-only and desktop-only bits (touch screens count as phone) */
@media (min-width:761px) and (hover:hover),(min-width:761px) and (pointer:fine){.s-mo-only{display:none!important}}
@media (max-width:760px),(hover:none) and (pointer:coarse){.s-dk-only{display:none!important}}
/* small glass note, e.g. "Setup happens on your PC" */
.s-note{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-radius:16px;background:rgba(255,255,255,.75);border:1.5px solid var(--s-line);box-shadow:0 4px 12px rgba(110,60,180,.1);font-size:13px;line-height:1.45;color:var(--s-mute);text-align:left}
.s-note b{color:var(--s-ink)}
.s-note svg{flex:none;width:18px;height:18px;margin-top:1px;color:var(--s-vio)}

/* ---- motion ---- */
@keyframes s-holo{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes s-glint{0%{transform:translateX(-160%) rotate(18deg)}55%,100%{transform:translateX(560%) rotate(18deg)}}
@keyframes s-blobA{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(90px,50px) scale(1.12)}}
@keyframes s-blobB{0%,100%{transform:translate(0,0) scale(1.08)}50%{transform:translate(-110px,-30px) scale(.95)}}
@keyframes s-blobC{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-80px,-60px) scale(1.1)}}
@keyframes s-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes s-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes s-pop{from{transform:translateY(16px) scale(.98);opacity:0}}
@media (prefers-reduced-motion:reduce){
  .s-holo,.s-holo-text,.s-blobs i,.s-dialog,.s-float{animation:none!important}
  .s-glint::after{display:none}
}

/* Stackd logo (Dec 2026, Dave): the three coloured layers on their own, no holo/pearl tile behind them */
.topnav .logo, .topnav .logo.shimmer, .flogo, .s-logo { background: none !important; box-shadow: none !important; animation: none; }
.topnav .logo.shimmer::before { display: none; }
.topnav .logo svg.sklogo { width: 40px; height: 40px; } .flogo svg.sklogo { width: 30px; height: 30px; } .s-logo svg.sklogo { width: 40px; height: 40px; } .webfoot .flogo svg.sklogo { width: 30px; height: 30px; }

/* ==========================================================================
   STACKD HEADER (LOCKED by Dave, Dec 2026). Same on Stackd HQ, Duke's page and Stackd Social, phone and desktop.
   Markup: tools/header/header.mjs. Behaviour: shared/stackd-header.js. Prefix sh- .
   Motion is transform/opacity only (phones in the TikTok in-app browser).
   ========================================================================== */
.sh-bar,.sh-bar *,.sh-menu,.sh-menu *,.sh-dock,.sh-dock *{box-sizing:border-box}   /* Duke's page has no global border-box: keep the header the same size on every page */
/* CRISP LINES (Dave 2026-12-03: "the top left of this line looks thicker than the rest"). Every header edge is ONE 1px hairline
   (--sh-hair), the same all the way round: no white inset highlight on the top edge (it stacked on the border and made the top
   and the rounded ends look heavier), no 1.5px widths (1.5 CSS px is 1, 1.875 or 3 device px depending on the screen's
   scaling, so it snapped unevenly), and the pill's left edge on a whole pixel (auto margins split an odd leftover into .5 px). */
/* SOFT BAR (Dave Dec 4 2026: the floating pill, gradient ring and boxed tiles "feel like AI crap, not soft real dev UI"; same language as the fan app's
   tab bar, app/app.css .tabs): ONE slim full-width frosted bar, a 1px hairline, no heavy shadow or gloss. The bar (.sh-bar) is the frosted strip; .sh-pill
   (kept as the class/id the page scripts look for) is just its centred row. Right side: cart icon (count dot only above 0), Plans as a quiet text link,
   "Get your page" a compact flat button, the profile a plain 32px avatar. The wordmark's small uppercase label is gone. */
:root{--sh-hair:rgba(110,60,180,.3);--sh-bar-hair:rgba(110,60,180,.14);--sh-h:56px;--sh-dockh:60px;--sh-grad:linear-gradient(115deg,#ff7fd0,#a66bff 55%,#6fb6ff)}
.sh-bar{position:fixed;top:0;left:0;right:0;z-index:60;height:var(--sh-h);box-sizing:border-box;padding:0 12px;-webkit-tap-highlight-color:transparent;line-height:1.5;
  background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);border-bottom:1px solid var(--sh-bar-hair)}
.sh-pill{position:relative;display:flex;align-items:center;gap:8px;height:100%;width:100%;max-width:1360px;min-width:0;margin:0 auto;padding:0;font-family:Inter,system-ui,sans-serif}
.sh-brand{display:flex;align-items:center;gap:8px;color:#22183b!important;text-decoration:none!important;flex:0 1 auto;min-width:0;padding:4px 4px 4px 0;border-radius:10px}
.sh-logo{width:28px;height:28px;display:block;flex:none}
.sh-logo svg{width:100%;height:100%;display:block}
.sh-wm{font:700 17px/1 'Space Grotesk',Inter,system-ui,sans-serif;letter-spacing:-.01em;color:#22183b;white-space:nowrap}
.sh-wm small{display:none}
.sh-ic{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sh-tabs{display:none}
.sh-r{margin-left:auto;display:flex;align-items:center;gap:4px;min-width:0;flex:0 1 auto}
.sh-r>*{min-width:0}
/* profile: a plain 32px avatar circle, no ring */
.sh-me{position:relative;width:32px;height:32px;margin-left:4px;border-radius:50%;padding:0;border:0;cursor:pointer;flex:none;background:#f1eafd;transition:transform .15s}
.sh-me>span{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;overflow:hidden;font:700 13px 'Space Grotesk',Inter,sans-serif;color:#6b45d8}
.sh-me .sh-dot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:#ff3b6b;border:2px solid #fff}
.sh-me .sh-dot[hidden]{display:none}
.sh-me:active,.sh-cart:active,.sh-get:active{transform:scale(.96)}
/* "Get your page": one compact solid button, a single flat purple-to-pink gradient, 36px, no glow */
.sh-get{height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:99px;flex:none;white-space:nowrap;text-decoration:none!important;cursor:pointer;
  background:linear-gradient(100deg,#7a4cf0,#d44fb4);transition:transform .15s,opacity .15s}
.sh-get span{font:600 13.5px/1 'Space Grotesk',Inter,sans-serif;color:#fff;letter-spacing:0}
.sh-get:hover{opacity:.92}
/* Plans: a quiet text link (dropped on very small phones) */
.sh-plans{height:36px;display:inline-flex;align-items:center;padding:0 10px;border-radius:10px;flex:none;font:500 14px/1 Inter,system-ui,sans-serif;color:#5a4a78!important;text-decoration:none!important;background:none;box-shadow:none}
.sh-plans:hover{color:#22183b!important}
@media (max-width:379px){.sh-plans{display:none}}
/* cart: a plain 36px icon button; the count is a small flat dot, shown only above 0 (stackd-header.js sets data-z on the number when it is 0) */
.sh-cart{position:relative;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:none!important;color:#4a3a6e!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  text-decoration:none!important;box-shadow:none;transition:transform .15s;flex:none}
.sh-cart .sh-ic{width:24px;height:24px}
.sh-cart>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* the word "Cart" stays for screen readers */
.sh-cart b,.sh-cart b.count{position:absolute;top:1px;right:0;display:grid!important;place-items:center;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:99px;
  font:700 10.5px/1 'Space Grotesk',Inter,sans-serif;color:#fff;background:#d44fb4;box-shadow:0 0 0 2px #fff}
.sh-cart b[data-z]{display:none!important}
.sh-cart b.bump{animation:sh-bump .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes sh-bump{40%{transform:scale(1.25)}}
.sh-cart:focus-visible,.sh-me:focus-visible,.sh-brand:focus-visible,.sh-plans:focus-visible,.sh-get:focus-visible,.sh-tabs a:focus-visible,.sh-dock a:focus-visible,.sh-row:focus-visible{outline:2px solid #7236ea;outline-offset:2px}
@media (max-width:359px){.sh-wm{display:none}.sh-brand{gap:0}}
/* the small menu (account button, far right): a dropdown under it, from the right */
.sh-scrim{position:fixed;inset:0;z-index:61;background:rgba(40,20,80,.22);opacity:0;transition:opacity .3s}
.sh-scrim.on{opacity:1}
.sh-scrim[hidden],.sh-menu[hidden]{display:none}
.sh-menu{position:fixed;z-index:62;top:64px;right:12px;left:12px;max-width:400px;margin-left:auto;border-radius:28px;padding:16px 14px 10px;
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--sh-hair);box-shadow:0 24px 60px rgba(90,50,170,.28);
  transform:translateY(-10px) scale(.97);transform-origin:top right;opacity:0;transition:transform .35s cubic-bezier(.2,.9,.2,1),opacity .25s;font-family:Inter,system-ui,sans-serif;color:#22183b}
.sh-menu.on{transform:none;opacity:1}
.sh-menu{max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sh-menu h4{font:700 10.5px/1 'Space Grotesk',sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#8a7aa8;margin:12px 4px 8px}
.sh-menu .sh-acard+h4{margin-top:4px}
/* GO TO rows (Dave Dec 4 2026: "a different color and UI on each go-to tab"): every row is the same. 56px+ tall, the dock's tile (white box, hairline,
   ONE violet outline icon), title 15px semibold + one grey line, one chevron, one hover/press. Only .sh-hot (the sales row) has a holo border. */
.sh-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px 8px 9px;border-radius:16px;background:#fff;border:1px solid var(--sh-hair);margin:0 0 8px;color:#22183b!important;text-decoration:none!important;
  text-align:left;cursor:pointer;font:inherit;box-shadow:0 3px 10px -5px rgba(110,60,180,.2);-webkit-tap-highlight-color:transparent;transition:border-color .2s,box-shadow .2s,transform .12s}
.sh-row .sh-av{width:38px;height:38px;border-radius:31%;background:#fff;border:1px solid rgba(122,90,200,.16);box-shadow:0 3px 9px -4px rgba(110,60,200,.26);display:grid;place-items:center;color:#8a5cff;flex:none}
.sh-row .sh-av .sh-ic{width:21px;height:21px;stroke-width:1.9;color:#8a5cff}
.sh-rt{min-width:0;flex:1}
.sh-rt b{display:block;font:600 15px/1.2 'Space Grotesk',sans-serif;color:#22183b}
.sh-rt small{display:block;color:#6b5f86;font:400 12.5px/1.3 Inter,system-ui,sans-serif;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-row>.sh-ic:last-child{width:18px;height:18px;color:#9a88c4;transition:transform .2s}
.sh-row:hover{border-color:rgba(138,92,255,.5);box-shadow:0 6px 16px -7px rgba(110,60,200,.34)}
.sh-row:hover>.sh-ic:last-child{transform:translateX(2px);color:#7a3df0}
.sh-row:active{transform:scale(.985);border-color:rgba(138,92,255,.6)}
.sh-row.sh-hot{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(115deg,#ff7fd2,#a07bff 50%,#5ea8f2) border-box;box-shadow:0 8px 18px -9px rgba(160,100,255,.55)}
.sh-row.sh-hot:hover{box-shadow:0 10px 22px -9px rgba(160,100,255,.7)}
.sh-menu>.sh-row:last-child{margin-bottom:6px}
/* HQ phones: the tab bar. The same frosted, flush bar as the fan app (.tabs in app/app.css): hairline top border, safe-area padding, inactive = icon only,
   active = a soft gradient pill with its name. Nothing boxed in tiles; the name of an inactive tab stays for screen readers. */
.sh-dock{position:fixed;left:0;right:0;bottom:0;z-index:58;display:flex;gap:4px;box-sizing:border-box;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));
  background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);border-top:1px solid var(--sh-bar-hair);-webkit-tap-highlight-color:transparent}
.sh-dock a{flex:1 1 0;min-width:0;height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:99px;color:#5a4a78!important;text-decoration:none!important;
  font:600 13.5px/1 'Space Grotesk',Inter,sans-serif;transition:flex-grow .28s cubic-bezier(.2,.8,.2,1),background-color .2s,color .2s}
.sh-dock a .sh-ic{width:24px;height:24px}
.sh-dock a span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sh-dock a.on{flex-grow:2.1;color:#fff!important;background:var(--sh-grad)}
.sh-dock a.on span{position:static;width:auto;height:auto;overflow:visible;clip:auto}
/* a page with the bar keeps room for it (bar + safe area), so nothing is covered; the footer sits above it */
@media (max-width:959px){html:has(.sh-dock) body{padding-bottom:calc(var(--sh-dockh) + env(safe-area-inset-bottom,0px))}}
@media (min-width:960px){
  .sh-bar{padding:0 24px}
  .sh-logo{width:30px;height:30px}.sh-wm{font-size:18px}
  /* HQ's four sections in the header centre: plain tabs, the active one a soft gradient pill (same language as the phone bar) */
  .sh-tabs{display:flex;gap:4px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
  .sh-tabs a{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:99px;font:600 14px 'Space Grotesk',Inter,sans-serif;color:#5a4a78!important;text-decoration:none!important;transition:color .2s,background-color .2s}
  .sh-tabs a:hover{color:#22183b!important;background:rgba(110,60,180,.07)}
  .sh-tabs a.on{color:#fff!important;background:var(--sh-grad)}
  .sh-tabs .sh-ic{width:20px;height:20px}
  .sh-dock{display:none}
  .sh-menu{top:64px;right:max(24px,calc(50% - 680px + 12px));left:auto;width:380px}
}
@media (prefers-reduced-motion:reduce){.sh-menu,.sh-scrim,.sh-dock a,.sh-tabs a{transition:none}}

/* the space a page keeps under the fixed header (Duke's page, Stackd Social) */
.sh-space{height:64px;grid-column:1/-1;flex:none}
@media (min-width:960px){.sh-space{height:64px}}

/* ---- Stackd app install sheet (shared/stackd-install.js) ---- */
#stackdIosSheet{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overscroll-behavior:contain}
#stackdIosSheet[hidden]{display:none}
#stackdIosSheet .si-scrim{position:absolute;inset:0;background:rgba(36,26,58,.36);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#stackdIosSheet .si-card{position:relative;width:100%;max-width:420px;max-height:min(86dvh,calc(var(--sm-vvh,100dvh) - 32px));overflow-y:auto;overscroll-behavior:contain;box-shadow:0 30px 80px rgba(60,30,130,.34);outline:0;border-radius:24px;padding:20px 20px 18px;color:var(--s-ink);font:500 15px/1.5 var(--s-body);background:var(--s-glass-solid)}
#stackdIosSheet .si-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:#f1e8ff;color:#5a4a78;font:500 22px/1 Inter,sans-serif;cursor:pointer}
#stackdIosSheet .si-card>b{padding-right:30px;font:700 19px var(--s-display)}
#stackdIosSheet ol{margin:10px 0 14px;padding-left:20px}#stackdIosSheet li{margin:6px 0}
#stackdIosSheet .si-share svg{width:18px;height:18px;vertical-align:-3px;fill:none;stroke:var(--s-vio);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#stackdIosSheet .si-ok{width:100%;justify-content:center}
[data-stackd-install][hidden]{display:none!important}

/* ---- DEV | USER (owners only, stackd-header.js ownerView): the toggle in the header's right side, the strip under the bar,
   and the "Owner only" cards DEV view adds to the Store and the Library */
.sh-va{display:flex;align-items:stretch;gap:0;padding:0;border-radius:12px;background:#fff;border:1px solid #a07bff;flex:none;overflow:hidden;height:36px;box-shadow:0 4px 12px rgba(110,60,180,.12)}
.sh-va button{border:0;background:none;cursor:pointer;font:700 11px/1 'Space Grotesk',Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6b5a8e;min-width:44px;min-height:36px;padding:0 10px;transition:background .2s,color .2s}
.sh-va button+button{border-left:1px solid #a07bff}
.sh-va button:hover{color:#22183b}
.sh-va button.on{color:#4b1fb0;background:linear-gradient(115deg,rgba(229,79,184,.2),rgba(138,92,240,.22) 55%,rgba(63,134,224,.2))}
.sh-va button:focus-visible{outline:2.5px solid #7236ea;outline-offset:-3px}
.sh-vastrip{position:fixed;z-index:59;top:66px;right:max(16px,calc((100vw - 1360px) / 2 + 12px));display:flex;gap:6px;align-items:center;font:600 11.5px/1.2 Inter,system-ui,sans-serif;padding:6px 11px;border-radius:99px;
  box-shadow:0 6px 16px rgba(110,60,180,.14);pointer-events:none;max-width:calc(100vw - 32px)}
.sh-vastrip b{font-family:'Space Grotesk',Inter,sans-serif;white-space:nowrap}
.sh-vastrip span{opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-vastrip.d{background:#efe5ff;color:#4b1fb0}
.sh-vastrip.u{background:#fff1d6;color:#7a4a00;border:1px solid #ffcf7a}
html.sh-asuser body::after{content:"";position:fixed;inset:0;z-index:58;pointer-events:none;box-shadow:inset 0 4px 0 #ffad33,inset 0 0 0 3px rgba(255,173,51,.5)}
.sh-ownonly{padding:18px;border-radius:24px;border:2px dashed rgba(122,61,240,.35)!important}
.sh-ownonly header{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:14px}
.sh-ownonly h3{margin:0}
.sh-oogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.sh-oocard{outline:2px dashed rgba(122,61,240,.4);outline-offset:-2px}
.sh-oocard .art.sh-ooart{display:block}
.sh-oocard .art b{font-size:24px}
.sh-oo{display:inline-block;font:700 10.5px/1 'Space Grotesk',Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#fff;background:#22183b;padding:6px 9px;border-radius:99px}
.sh-oonote{display:block;margin-top:6px;font-size:11.5px;color:#7a3df0;font-weight:600}
@media (max-width:640px){.sh-vastrip{top:64px;left:12px;right:12px}.sh-vastrip span{display:none}}
@media (max-width:480px){html.sh-asdev .sh-cart>span,html.sh-asuser .sh-cart>span{display:none}html.sh-asdev .sh-cart,html.sh-asuser .sh-cart{padding-left:10px}}

/* ---- Stackd account in the header (stackd-header.js account()): the account button is the LAST one (far right, after the
   cart). Signed out it shows a person icon, signed in the fan's picture or initial. Its menu starts with the account card. */
.sh-me>span .sh-user{width:20px;height:20px;stroke:#6b45d8}
.sh-me.sh-in{background:none;box-shadow:none}   /* signed in: just the picture, no ring */
.sh-me.sh-in>span{background:none}
.sh-me .sh-acav{border:0}
.sh-acav{width:100%;height:100%;border-radius:50%;border:2px solid #fff;box-sizing:border-box;background:linear-gradient(135deg,#ff8ad8,#b58bff) center/cover;display:grid;place-items:center;font:700 15px 'Space Grotesk',Inter,sans-serif;color:#fff}
.sh-acav.big{width:50px;height:50px;flex:none;font-size:19px;box-shadow:0 0 0 2px #c9a8ff,0 6px 14px rgba(110,60,180,.25)}
.sh-acard{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin:0 0 12px;padding:16px 14px 12px;border-radius:22px;box-sizing:border-box;
  background:linear-gradient(150deg,#fff 0%,#fbf3ff 55%,#eef5ff 100%);box-shadow:inset 0 0 0 1px #e4d4fb,0 8px 20px rgba(110,60,180,.10);font-family:Inter,system-ui,sans-serif;color:#22183b}
.sh-acic{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff8ad8,#b58bff 55%,#7cc4ff);box-shadow:0 8px 18px rgba(160,92,224,.3);margin-bottom:4px}
.sh-acic svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sh-acard>b{font:700 18px/1.15 'Space Grotesk',Inter,sans-serif;letter-spacing:-.3px}
.sh-acard>small{font:500 12.5px/1.4 Inter,sans-serif;color:#5a4a78;max-width:290px}
.sh-abtn{display:flex;align-items:center;justify-content:center;width:100%;height:46px;margin-top:8px;border-radius:15px;box-sizing:border-box;color:#fff!important;text-decoration:none!important;
  font:700 15px 'Space Grotesk',Inter,sans-serif;background:linear-gradient(115deg,#ff6fcf,#a66bff 50%,#5eaef7);background-size:200% 200%;box-shadow:0 4px 0 #6a3fc0,0 10px 22px rgba(122,61,240,.28);animation:sh-holo 6s ease-in-out infinite}
.sh-abtn:active{transform:translateY(2px);box-shadow:0 2px 0 #6a3fc0}
@keyframes sh-holo{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.sh-alink{margin-top:6px;font:500 13px Inter,sans-serif;color:#5a4a78!important;text-decoration:none!important;padding:4px 6px}
.sh-alink u{color:#7a3df0;font-weight:700;text-underline-offset:3px}
.sh-acard.sh-in{align-items:stretch;text-align:left;gap:10px;padding:14px}
.sh-acme{display:flex;align-items:center;gap:12px;min-width:0}
.sh-acme>span:last-child{min-width:0}
.sh-acme b{display:block;font:700 17px 'Space Grotesk',Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-acme small{display:block;font:500 12.5px Inter,sans-serif;color:#5a4a78}
.sh-abtns{display:flex;gap:8px}
.sh-abtns .sh-abtn{flex:1;margin:0;height:42px;font-size:14px}
.sh-aout{flex:none;height:42px;padding:0 16px;border:0;border-radius:15px;cursor:pointer;background:#fff;color:#6b45d8;font:700 14px 'Space Grotesk',Inter,sans-serif;box-shadow:inset 0 0 0 1.5px #d3c0f3}
.sh-acard a:focus-visible,.sh-aout:focus-visible{outline:2.5px solid #7236ea;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.sh-abtn{animation:none}}
/* the one-time welcome sheet */
.sh-wsheet{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));font-family:Inter,system-ui,sans-serif;color:#22183b;overscroll-behavior:contain}
.sh-wscrim{position:absolute;inset:0;background:rgba(40,20,80,.36);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .3s}
.sh-wcard{position:relative;width:100%;max-width:420px;max-height:min(86dvh,calc(var(--sm-vvh,100dvh) - 32px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;padding:26px 20px 18px;border-radius:28px;text-align:center;outline:0;
  background:linear-gradient(160deg,#fff 0%,#fbf5ff 55%,#f2f7ff 100%);box-shadow:0 30px 80px rgba(60,30,130,.34);opacity:0;transform:translateY(14px) scale(.96);transition:transform .4s cubic-bezier(.2,.9,.2,1),opacity .28s}
.sh-wsheet.on .sh-wscrim{opacity:1}.sh-wsheet.on .sh-wcard{opacity:1;transform:none}
.sh-wx{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1e8ff;color:#5a4a78;font:500 22px/1 Inter,sans-serif;cursor:pointer}
.sh-wlogo{display:block;width:58px;height:58px;margin:0 auto 6px;filter:drop-shadow(0 10px 16px rgba(160,92,224,.35))}.sh-wlogo svg{width:100%;height:100%}
.sh-wcard h3{font:700 27px/1.1 'Space Grotesk',Inter,sans-serif;letter-spacing:-.6px;margin:6px 0 8px}
.sh-wcard h3 span{background:linear-gradient(100deg,#ff6fcf,#a66bff 50%,#5eaef7);-webkit-background-clip:text;background-clip:text;color:transparent}
.sh-wcard p{font:500 14.5px/1.45 Inter,sans-serif;color:#5a4a78;margin:0 4px 12px}
.sh-wcard ul{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px;text-align:left}
.sh-wcard li{font:500 13.5px/1.35 Inter,sans-serif;color:#5a4a78;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:0 4px 12px rgba(110,60,180,.08)}
.sh-wcard li b{display:block;color:#22183b;font:700 14px 'Space Grotesk',Inter,sans-serif}
.sh-wb{display:flex;align-items:center;justify-content:center;width:100%;height:52px;border-radius:17px;border:0;margin-top:10px;font:700 16px Inter,sans-serif;text-decoration:none!important;color:#fff!important;cursor:pointer}
.sh-wb.tt{background:#111;box-shadow:0 4px 0 #000}.sh-wb.dc{background:#5865f2;box-shadow:0 4px 0 #3c45b8}.sh-wb.tw{background:#9146ff;box-shadow:0 4px 0 #6a2fd0}
.sh-wb.sh-oa{background:#fff;color:#22183b!important;box-shadow:inset 0 0 0 1.5px #e4d6fb,0 4px 0 #e4d6fb;gap:10px}.sh-wb.sh-oa svg{width:22px;height:22px;flex:none}
.sh-wb.gh{background:rgba(255,255,255,.85);color:#7a3df0!important;box-shadow:inset 0 0 0 1.5px #d3c0f3;height:46px;font-size:15px}
.sh-wcard small{display:block;margin-top:12px;font:500 12px Inter,sans-serif;color:#8c7fa6}
/* "Built for creators like you" on the store */
.sh-forc{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:14px 14px 14px 16px;border-radius:22px;color:#fff;
  background:linear-gradient(115deg,#c0349e,#7a4ae8 55%,#2f6fd6);box-shadow:0 14px 30px rgba(122,61,240,.3)}
.sh-fic{width:46px;height:46px;border-radius:15px;flex:none;display:grid;place-items:center;background:rgba(255,255,255,.18)}
.sh-fic svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sh-ft{flex:1;min-width:0}.sh-ft b{display:block;font:700 17px 'Space Grotesk',Inter,sans-serif}.sh-ft small{display:block;font:500 13.5px/1.4 Inter,sans-serif;opacity:.9;margin-top:2px}
.sh-forc button{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font:500 20px/1 Inter,sans-serif;cursor:pointer}
@media (prefers-reduced-motion:reduce){.sh-wcard,.sh-wscrim{transition:none}}

/* ---- CONTRAST PASS (Dave 2026-12-03: "increase the contrast and thickness of the lines ... way sharper, way easier to read").
   The tokens above do most of it (--s-edge / --s-line, darker --s-mute / --s-soft / --s-acc, deeper --s-shadow, the soft
   backdrop shade). This block catches the page cards that still hard-code a white 1px edge, which vanished on the pearl.
   Only pearl pages (html.s-page) and only the edge colour + width: no sizes, colours or layouts change. */
:root.s-page :is(.scard,.lp,.dock,.glass,.sheet .card,.ac-card,.ac-who li,.db-pf a,.db-pf div,.req,.ap-ghost,.ap-strip,.ap-two>div,
  .pc-info,.pv,.sk,.it,.bx,.sbtn,.bprice,.chipz button,.radios label,.tog label,.sw button,.tune input,.ticks span,
  .bf input[type=text],.bf input[type=email],.bf input[type=url],.bf textarea){border-color:var(--s-line)}
:root.s-page :is(.scard,.lp,.ac-card,.db-pf a,.db-pf div,.it,.bx){border-width:1.5px}
:root.s-page :is(input,textarea,select):focus-visible{outline:2.5px solid var(--s-vio);outline-offset:2px}
/* popups (shared/stackd-modal.js): the popup box itself takes focus when it opens, without a ring; scroll lock look */
[role="dialog"][tabindex="-1"]:focus,dialog:focus{outline:0}
html.sm-locked{overscroll-behavior:none}
/* a profile picture sits on plain white (a see-through PNG never shows what is behind it); the gradient + initial is only the fallback */
.sh-acav[style*="background-image"]{background-color:#fff}
