/* GENERATED by /usr/local/bin/ccbundle from the cave-*.css sources. Do not edit; edit the sources. */
/* ---- cave-fonts.css ---- */
/* ============================================================================
   CULTURE CAVE - the house faces, served from our own origin.

   These came from fonts.googleapis.com: a DNS lookup, a TLS handshake, a
   stylesheet and then the files, all from a third party, before the display
   face existed. Until it arrived the hero set in the system fallback, which
   does not look like Culture Cave at all. That was the other site appearing
   before this one. Self-hosted and preloaded, the face is there in the first
   paint.
   ========================================================================== */
/* ccperf 2026-10-11: the Cinzel weight files are byte-identical copies of one variable font, so
   each weight downloaded the same file again. One face now covers 500-700. */
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500 700;font-display:swap;
  src:url(fonts/cinzel-700.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cinzel Decorative';font-style:normal;font-weight:700;font-display:swap;
  src:url(fonts/cinzel-decorative-700.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cinzel Decorative';font-style:normal;font-weight:900;font-display:swap;
  src:url(fonts/cinzel-decorative-900.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url(fonts/ibm-plex-mono-400.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url(fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;
  src:url(fonts/ibm-plex-mono-600.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ccperf 2026-10-11: the Manrope weight files are byte-identical copies of one variable font, so
   each weight downloaded the same file again. One face now covers 400-800. */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;
  src:url(fonts/manrope-400.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ccperf 2026-10-11: until Manrope arrives, text sets in Arial-class fonts scaled to Manrope's
   width (102.3%, measured on the hero copy), so the swap no longer re-wraps paragraphs
   (PageSpeed blamed the hero .sub for most of its layout shift). */
@font-face{font-family:'Manrope Fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Arimo'),local('Helvetica Neue'),local('Helvetica'),local('Roboto');
  size-adjust:102.3%;ascent-override:104.2%;descent-override:29.3%;line-gap-override:0%;}

/* ---- cave-ui.css ---- */
/* ============================================================================
   CULTURE CAVE - "THE DESCENT" v2.0
   Interaction layer. Loaded after cave.css.

   v1 built the cave. v2 makes it move: a lantern you carry, chambers that
   reveal as you reach them, rock that catches the light where you touch it,
   and a way to get anywhere in the cave without scrolling for it.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. MOTION + SPACE + ELEVATION SYSTEM
   One easing vocabulary for the whole site. Everything that moves uses these,
   so nothing feels like it came from a different build.
   ------------------------------------------------------------------------- */
:root{
  /* easing */
  --e-out:cubic-bezier(.16,1,.3,1);        /* the smooth one: settles, never bounces */
  --e-in-out:cubic-bezier(.65,0,.35,1);
  --e-spring:cubic-bezier(.34,1.4,.64,1);  /* a touch of overshoot, for entrances */
  --e-snap:cubic-bezier(.4,0,.2,1);

  /* duration */
  --t-1:120ms; --t-2:200ms; --t-3:320ms; --t-4:520ms; --t-5:820ms;

  /* space - a single rhythm */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:22px;
  --s-6:30px; --s-7:42px; --s-8:58px; --s-9:78px; --s-10:104px;

  /* elevation - consistent across themes */
  --el-1:0 1px 2px rgba(12,6,26,.06),0 2px 6px rgba(12,6,26,.04);
  --el-2:0 2px 4px rgba(12,6,26,.06),0 10px 26px rgba(12,6,26,.08);
  --el-3:0 4px 10px rgba(12,6,26,.08),0 22px 54px rgba(12,6,26,.12);
  --el-4:0 8px 20px rgba(12,6,26,.12),0 40px 90px rgba(12,6,26,.2);

  /* pointer position, written by cave-ui.js */
  --mx:50vw; --my:40vh; --min:0;
}
:root[data-theme="dark"]{
  --el-1:0 1px 2px rgba(0,0,0,.5),0 2px 8px rgba(0,0,0,.4);
  --el-2:0 2px 6px rgba(0,0,0,.55),0 12px 30px rgba(0,0,0,.5);
  --el-3:0 6px 14px rgba(0,0,0,.6),0 26px 60px rgba(0,0,0,.55);
  --el-4:0 10px 24px rgba(0,0,0,.65),0 48px 100px rgba(0,0,0,.6);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --el-1:0 1px 2px rgba(0,0,0,.5),0 2px 8px rgba(0,0,0,.4);
    --el-2:0 2px 6px rgba(0,0,0,.55),0 12px 30px rgba(0,0,0,.5);
    --el-3:0 6px 14px rgba(0,0,0,.6),0 26px 60px rgba(0,0,0,.55);
    --el-4:0 10px 24px rgba(0,0,0,.65),0 48px 100px rgba(0,0,0,.6);
  }
}

/* ---------------------------------------------------------------------------
   2. TYPE - the display face gets optical tracking, the body gets a measure,
   and microlabels get the size and weight the house rules ask for.
   ------------------------------------------------------------------------- */
.hero h1{letter-spacing:-.006em;line-height:.98}
.phead h1,.band h2,.blk .shead h2{letter-spacing:-.002em}
.blk .shead h2{font-size:clamp(1.72rem,3.3vw,2.45rem);line-height:1.08}
.blk .shead p{font-size:15px;line-height:1.6;max-width:56ch;margin-left:auto;margin-right:auto}
.hero .sub{font-size:clamp(15.5px,1.4vw,17.5px);line-height:1.6;max-width:54ch}

.eyebrow,.fcol h4,.fg h5,.subhd,.crumb,.field label,.mspot .msven{
  font-size:11.6px;letter-spacing:.2em;font-weight:600}
.fcol h4,.fg h5{color:color-mix(in srgb,var(--ink-mut) 55%, var(--ink) 45%)}
.pcard .pc{font-size:11.6px;letter-spacing:.04em}
.vc .vcship{font-size:9.6px;letter-spacing:.16em;color:rgba(255,255,255,.82)}

/* numbers align in columns wherever they are compared */
.hstats .s b,.pcard .price,.summary .line,.summary .tot,.drop .cd b{font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------------------
   3. THE LANTERN - you carry a light through the cave.
   Two layers: a warm pool that follows the pointer, and a faint cool rim just
   outside it so the pool has an edge instead of dissolving.
   ------------------------------------------------------------------------- */
.lamp{position:fixed;inset:0;z-index:898;pointer-events:none;opacity:0;
  transition:opacity var(--t-4) var(--e-out);
  mix-blend-mode:plus-lighter;
  background:
    radial-gradient(circle 190px at var(--mx) var(--my),
      rgba(255,232,196,.10), rgba(255,214,160,.045) 42%, transparent 72%),
    radial-gradient(circle 420px at var(--mx) var(--my),
      rgba(var(--glow-v),.05), transparent 70%);
}
.lamp.on{opacity:1}
:root[data-theme="dark"] .lamp{
  background:
    radial-gradient(circle 210px at var(--mx) var(--my),
      rgba(255,226,178,.16), rgba(255,196,120,.07) 44%, transparent 72%),
    radial-gradient(circle 520px at var(--mx) var(--my),
      rgba(var(--glow-v),.13), rgba(var(--glow-m),.05) 52%, transparent 74%);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .lamp{
    background:
      radial-gradient(circle 210px at var(--mx) var(--my),
        rgba(255,226,178,.16), rgba(255,196,120,.07) 44%, transparent 72%),
      radial-gradient(circle 520px at var(--mx) var(--my),
        rgba(var(--glow-v),.13), rgba(var(--glow-m),.05) 52%, transparent 74%);
  }
}
/* the vignette eases off around the lantern, so the light genuinely opens the dark */
body.fine .cave-vig{
  -webkit-mask-image:radial-gradient(circle 340px at var(--mx) var(--my),rgba(0,0,0,.35),#000 78%);
  mask-image:radial-gradient(circle 340px at var(--mx) var(--my),rgba(0,0,0,.35),#000 78%)}
body:not(.fine) .lamp{display:none}

/* ---------------------------------------------------------------------------
   4. REVEAL - a chamber lights up as you reach it.
   Nothing slides in from the side; everything rises and resolves, which is what
   reads as sophisticated rather than animated.
   ------------------------------------------------------------------------- */
[data-rv]{opacity:0;transform:translate3d(0,22px,0);filter:blur(7px);
  transition:opacity var(--t-4) var(--e-out),transform var(--t-4) var(--e-out),filter var(--t-4) var(--e-out);
  transition-delay:calc(var(--i,0) * 40ms)}
[data-rv]:not(.in){will-change:opacity,transform}
[data-rv].in{opacity:1;transform:none;filter:none}
[data-rv="scale"]{transform:translate3d(0,26px,0) scale(.975)}
[data-rv="scale"].in{transform:none}
[data-rv="rise"]{transform:translate3d(0,34px,0)}

/* ---------------------------------------------------------------------------
   5. ROCK CATCHES THE LIGHT - pointer-tracked specular on cards.
   A card is a slab of wet stone: it should brighten where your lantern falls,
   and lean very slightly toward it.
   ------------------------------------------------------------------------- */
.tilt{transform-style:preserve-3d;
  transition:transform var(--t-3) var(--e-out),box-shadow var(--t-3) var(--e-out)}
.tilt.live{transition:transform var(--t-1) linear,box-shadow var(--t-3) var(--e-out)}
.spec{position:relative;isolation:isolate}
.spec::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  border-radius:inherit;opacity:0;
  transition:opacity var(--t-3) var(--e-out);
  background:radial-gradient(circle 240px at var(--cx,50%) var(--cy,50%),
    rgba(255,255,255,.20), rgba(255,255,255,.06) 38%, transparent 66%)}
.spec:hover::after,.spec:focus-within::after{opacity:1}
:root[data-theme="dark"] .spec::after{
  background:radial-gradient(circle 260px at var(--cx,50%) var(--cy,50%),
    rgba(var(--glow-v),.26), rgba(var(--glow-m),.09) 40%, transparent 68%)}
@media (prefers-reduced-motion:reduce){
  [data-rv]{opacity:1!important;transform:none!important;filter:none!important;transition:none}
  .tilt{transform:none!important;transition:none}
  .spec::after{display:none}
}

/* card hover, unified */
.vc,.pcard,.cell,.tier,.mspot,.vchip{
  transition:transform var(--t-2) var(--e-out),box-shadow var(--t-2) var(--e-out),
             border-color var(--t-2) var(--e-out)}
.pcard:hover,.cell:hover{box-shadow:var(--el-3);border-color:var(--violet-lt)}
.pcard .im img,.cell.photo .ph img{transition:transform var(--t-4) var(--e-out)}
.pcard:hover .im img{transform:scale(1.045)}

/* ---------------------------------------------------------------------------
   6. THE SMART HEADER - a rock ledge that draws back when you are moving down
   the passage and comes forward the moment you turn around.
   ------------------------------------------------------------------------- */
header.top{transition:transform var(--t-3) var(--e-out),
  background-color var(--t-3) var(--e-out),box-shadow var(--t-3) var(--e-out),
  padding var(--t-3) var(--e-out)}
header.top::after{transition:opacity var(--t-3) var(--e-out)}
header.top .row{transition:padding var(--t-3) var(--e-out)}
/* Only the background, the shadow and a translate change on scroll. The header
   is position:sticky, so it still occupies its space in flow: changing its
   HEIGHT would shorten the document and jump everything below it. Translating
   it costs no layout, so the reveal stays perfectly smooth. */
body.hd-stuck header.top{
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  box-shadow:0 10px 34px -18px rgba(12,6,26,.55),
             0 1px 0 0 rgba(var(--glow-v),calc(.34 * var(--lume)))}
body.hd-hide header.top{transform:translateY(-104%)}
body.hd-hide header.top::after{opacity:0}

/* ---------------------------------------------------------------------------
   7. THE DESCENT RAIL - where you are in the cave, and a way to jump.
   A vein of mineral down the right edge that fills as you go, with a marker
   per chamber. Labels appear on hover; the whole thing is keyboard reachable.
   ------------------------------------------------------------------------- */
.descent{position:fixed;right:clamp(10px,1.6vw,26px);top:50%;transform:translateY(-50%);
  z-index:70;display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:12px 8px;border-radius:999px;
  background:color-mix(in srgb,var(--surface) 86%,transparent);
  border:1px solid var(--line-strong);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:var(--el-3),inset 0 1px 0 rgba(255,255,255,.06);
  opacity:0;transform:translateY(-50%) translateX(14px);pointer-events:none;
  transition:opacity var(--t-4) var(--e-out),transform var(--t-4) var(--e-out)}
.descent.on{opacity:1;transform:translateY(-50%) translateX(0);pointer-events:auto}
.descent .vein{position:absolute;left:50%;top:12px;bottom:12px;width:2px;margin-left:-1px;
  background:color-mix(in srgb,var(--line-strong) 90%,transparent);border-radius:2px;overflow:hidden}
.descent .vein i{position:absolute;left:0;right:0;top:0;height:100%;
  transform:scaleY(var(--depth,0));transform-origin:50% 0;
  background:linear-gradient(180deg,var(--violet),var(--magenta) 60%,var(--cyan));
  box-shadow:0 0 12px rgba(var(--glow-m),.7);transition:transform var(--t-2) linear}
.dmark{position:relative;z-index:2;display:block;width:26px;height:26px;border:0;padding:0;
  background:none;cursor:pointer;display:grid;place-items:center}
.dmark::before{content:"";width:7px;height:7px;border-radius:50%;
  background:color-mix(in srgb,var(--ink-mut) 70%,var(--line-strong));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--surface) 88%,transparent);
  transition:background var(--t-2) var(--e-out),transform var(--t-3) var(--e-spring)}
.dmark:hover::before{background:var(--violet);transform:scale(1.35)}
.dmark.on::before{background:var(--magenta);transform:scale(1.55);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--surface) 88%,transparent),0 0 16px rgba(var(--glow-m),.95)}
.dmark .lb{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%) translateX(6px);
  white-space:nowrap;font-family:var(--mono);font-size:10.8px;letter-spacing:.14em;
  text-transform:uppercase;font-weight:600;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:5px 10px;
  box-shadow:var(--el-2);opacity:0;pointer-events:none;
  transition:opacity var(--t-2) var(--e-out),transform var(--t-2) var(--e-out)}
.dmark:hover .lb,.dmark:focus-visible .lb{opacity:1;transform:translateY(-50%) translateX(0)}
@media(max-width:1100px){.descent{display:none}}

/* on narrow screens the descent becomes a hairline across the top */
.dbarline{position:fixed;left:0;top:0;height:2px;z-index:80;width:100%;
  transform:scaleX(var(--depth,0));transform-origin:0 50%;
  background:linear-gradient(90deg,var(--violet),var(--magenta) 60%,var(--cyan));
  box-shadow:0 0 10px rgba(var(--glow-m),.8);transition:transform var(--t-1) linear;display:none}
@media(max-width:1100px){.dbarline{display:block}}

/* ---------------------------------------------------------------------------
   8. THE WAYFINDER - command palette. Cmd/Ctrl+K, or / anywhere.
   A marketplace with 31 vendors and 1,000+ genetics should never make you
   navigate to search.
   ------------------------------------------------------------------------- */
.wf-ov{position:fixed;inset:0;z-index:1400;display:grid;place-items:start center;
  padding:clamp(48px,11vh,140px) 18px 24px;
  background:color-mix(in srgb,var(--void) 62%,transparent);
  -webkit-backdrop-filter:blur(10px) saturate(.9);backdrop-filter:blur(10px) saturate(.9);
  opacity:0;transition:opacity var(--t-3) var(--e-out)}
.wf-ov.on{opacity:1}
.wf{width:min(680px,100%);border-radius:20px;overflow:hidden;position:relative;
  background:var(--surface);border:1px solid var(--line-strong);
  box-shadow:var(--el-4),0 0 0 1px rgba(var(--glow-v),.16),
             0 0 70px rgba(var(--glow-v),calc(.3 * var(--lume)));
  transform:translateY(-14px) scale(.985);opacity:.4;
  transition:transform var(--t-2) var(--e-out),opacity var(--t-2) var(--e-out)}
.wf-ov.on .wf{transform:translate3d(0,0,0);opacity:1}
/* the lit lip along the top of the slab */
.wf::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(var(--glow-m),.85),transparent)}
.wf-in{display:flex;align-items:center;gap:12px;padding:16px 18px;
  border-bottom:1px solid var(--line)}
.wf-in svg{width:19px;height:19px;color:var(--violet);flex:none}
.wf-in input{flex:1;min-width:0;background:none;border:0;outline:none;font-family:inherit;
  font-size:17px;color:var(--ink);letter-spacing:-.005em}
.wf-in input::placeholder{color:var(--ink-mut)}
.wf-esc{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;color:var(--ink-mut);
  border:1px solid var(--line-strong);border-radius:6px;padding:4px 8px;flex:none}
.wf-body{max-height:min(56vh,460px);overflow:auto;overscroll-behavior:contain;
  scrollbar-width:thin}
.wf-body::-webkit-scrollbar{width:8px}
.wf-body::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:99px}
/* a fade at whichever end still has results past it, so the list never just stops */
.wf{--fade-t:0;--fade-b:0}
.wf-body{position:relative;
  -webkit-mask-image:linear-gradient(180deg,
    rgba(0,0,0,calc(1 - var(--fade-t) * .88)) 0,#000 22px,
    #000 calc(100% - 22px),rgba(0,0,0,calc(1 - var(--fade-b) * .88)) 100%);
  mask-image:linear-gradient(180deg,
    rgba(0,0,0,calc(1 - var(--fade-t) * .88)) 0,#000 22px,
    #000 calc(100% - 22px),rgba(0,0,0,calc(1 - var(--fade-b) * .88)) 100%)}
.wf-grp{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;
  font-weight:600;color:var(--ink-mut);padding:14px 18px 7px}
.wf-it{display:flex;align-items:center;gap:13px;padding:9px 18px;cursor:pointer;
  border-left:2px solid transparent;transition:background var(--t-1) linear}
.wf-it .th{width:38px;height:38px;border-radius:9px;flex:none;object-fit:cover;
  background:var(--well) center/cover no-repeat;border:1px solid var(--line)}
/* rows that are places rather than things get a mark, not an empty tile */
/* a listing with no photo gets quiet stone, not a borrowed icon */
.wf-it .th.blank{background:
  linear-gradient(135deg,color-mix(in srgb,var(--well) 60%,var(--ground2)),var(--well))}
.wf-it .th.ic{display:grid;place-items:center;background:var(--wash);color:var(--violet);
  border-color:color-mix(in srgb,var(--violet) 26%,transparent)}
.wf-it .th.ic svg{width:17px;height:17px}
.wf-it.sel .th.ic{background:var(--violet);color:#fff;border-color:transparent}
.wf-it .tx{min-width:0;flex:1}
.wf-it .n{display:block;font-size:14.6px;font-weight:600;color:var(--ink);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wf-it .m{display:block;font-family:var(--mono);font-size:11.4px;color:var(--ink-mut);
  margin-top:3px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wf-it .go{font-family:var(--mono);font-size:11px;color:var(--ink-mut);opacity:0;flex:none}
.wf-it.sel{background:var(--wash);border-left-color:var(--magenta)}
.wf-it.sel .go{opacity:1;color:var(--ink-violet)}
.wf-it.sel .n{color:var(--ink-violet)}
.wf-empty{padding:30px 18px 34px;text-align:center;color:var(--ink-mut);font-size:13.5px}
.wf-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding:11px 18px;border-top:1px solid var(--line);background:var(--well);
  font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;color:var(--ink-mut)}
.wf-foot kbd{font-family:inherit;border:1px solid var(--line-strong);border-radius:5px;
  padding:2px 6px;color:var(--ink-2);background:var(--surface)}
@media(max-width:560px){
  .wf-ov{padding-top:16px}
  .wf-in input{font-size:16px}
  .wf-foot{display:none}
}

/* The header carries more than it used to: nav, search, the shortcut hint, the
   theme lantern, account, saved and cart. Buy the search field room back out of
   the padding rather than letting it collapse to three letters. */
.top .navlinks a{padding:8px 12px}
.top .icons{gap:14px}
.top .search{position:relative;min-width:168px;max-width:340px}
/* nothing in the icon cluster may compress or wrap: a two-line Cart pill is
   the first thing that gives way when the row runs out of room */
.top .icons>*{flex:none;white-space:nowrap}
@media(max-width:1200px){
  .top .search{min-width:104px}
  .top .navlinks a{padding:8px 9px;font-size:13.5px}
  .top .row{gap:18px}
}
/* The base stylesheet only folds the nav into the burger at 960px, so between
   there and about 1060 the row has more in it than it can hold and the Cart
   pill is the piece that gets cut. Drop the search field through that band:
   the wayfinder is still on Ctrl K and in the burger menu. */
@media(min-width:961px) and (max-width:1060px){
  .top .search{display:none}
  .top .navlinks a{padding:8px 7px;font-size:13px}
  .top .row{gap:14px}
  .top .icons{gap:11px}
}
/* The base site swaps to the burger at 960px, but the row now carries a lantern
   as well, and between about 960 and 1040 the cart pill is pushed off the edge.
   Hand that band to the mobile menu instead, where everything fits. */
@media(max-width:1040px){
  .abar{display:none}
  .navlinks{display:none}
  .top .search{display:none}
  .top .icons{display:none}
  .burger{display:flex}
  .brand{margin-right:auto}
  .top .row{gap:12px}
  header.top.open .mobnav{display:flex}
  header.top.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  header.top.open .burger span:nth-child(2){opacity:0}
  header.top.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

/* Saved, as the heart it already meant */
.top .icons a.saved.ic-only{position:relative;display:grid;place-items:center;
  width:38px;height:38px;border-radius:50%;color:var(--ink-2);
  border:1px solid transparent;transition:color var(--t-2) var(--e-out),
  background var(--t-2) var(--e-out),border-color var(--t-2) var(--e-out)}
.top .icons a.saved.ic-only:hover{color:var(--magenta);background:var(--wash);
  border-color:color-mix(in srgb,var(--magenta) 28%,transparent)}
.top .icons a.saved.ic-only svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9}
.top .icons a.saved.ic-only .n{position:absolute;top:-1px;right:-1px;min-width:16px;height:16px;
  padding:0 4px;border-radius:999px;background:var(--grad2);color:#fff;
  font-family:var(--mono);font-size:9.5px;font-weight:700;line-height:16px;text-align:center;
  box-shadow:0 2px 8px rgba(var(--glow-m),.5)}
.top .icons a.saved.ic-only .n:empty,
.top .icons a.saved.ic-only .n[style*="display: none"]{display:none}
.top .icons a.saved.ic-only::after{display:none}
.top .search .kbd{position:absolute;right:11px;top:50%;transform:translateY(-50%);
  font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--ink-mut);
  border:1px solid var(--line-strong);border-radius:5px;padding:2px 6px;pointer-events:none;
  background:var(--surface)}
.top .search input{padding-right:70px;cursor:pointer;text-overflow:ellipsis}
@media(max-width:1330px){.top .search .kbd{display:none}.top .search input{padding-right:16px}}

/* ---------------------------------------------------------------------------
   9. SKELETONS - a seam of mineral running through the stone while it loads.
   ------------------------------------------------------------------------- */
.sk{position:relative;overflow:hidden;background:var(--well);border-radius:10px}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,
    color-mix(in srgb,var(--surface) 88%,transparent) 42%,
    rgba(var(--glow-v),calc(.2 * var(--lume))) 52%,
    color-mix(in srgb,var(--surface) 88%,transparent) 62%,transparent);
  animation:seam 1.5s var(--e-in-out) infinite}
@keyframes seam{100%{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.sk::after{animation:none;opacity:.5;transform:none}}
.skcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);
  overflow:hidden;box-shadow:var(--el-1)}
.skcard .a{height:138px;border-radius:0}
.skcard .b{padding:14px;display:grid;gap:9px}
.skcard .b i{display:block;height:11px;border-radius:5px}
.skcard .b i:nth-child(1){width:82%}
.skcard .b i:nth-child(2){width:46%}
.skcard .b i:nth-child(3){width:62%;margin-top:3px}

/* ---------------------------------------------------------------------------
   10. FOCUS + TOAST + SCROLLBAR - the details that read as finish
   ------------------------------------------------------------------------- */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--violet);outline-offset:3px;border-radius:6px}
.vc:focus-visible,.pcard:focus-visible,.cell:focus-visible{outline-offset:4px}

#cc-toast{background:var(--surface)!important;color:var(--ink)!important;
  border:1px solid var(--line-strong);box-shadow:var(--el-3)!important;
  font-family:var(--mono);letter-spacing:.02em;
  transition:opacity var(--t-3) var(--e-out),transform var(--t-3) var(--e-out)!important}

html{scrollbar-color:var(--line-strong) transparent}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:99px;
  border:3px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:var(--violet);background-clip:content-box}

/* ---------------------------------------------------------------------------
   11. PAGE TRANSITION - you step through the cave mouth into the next chamber
   ------------------------------------------------------------------------- */
/* Leaving a page fades out, which is safe: it is user-initiated and short.
   Arriving does NOT fade in. An entrance animation on <body> with fill-mode
   `both` holds its from-state (opacity:0) for as long as the main thread is
   busy, and on a cold load that is long enough to blank the entire page. The
   arrival is handled per-element by the reveal instead, which can only ever
   hide things that are off screen. */
body{opacity:1}
body.pg-out{opacity:0;transform:translateY(-6px);
  transition:opacity var(--t-1) var(--e-snap),transform var(--t-1) var(--e-snap)}
@media (prefers-reduced-motion:reduce){
  body.pg-out{transition:none;opacity:1;transform:none}
}

/* ---------------------------------------------------------------------------
   12. QUICK LOOK - a niche opens beside the grid.
   Browsing a marketplace should not mean a full page load per curiosity. The
   drawer carries everything needed to decide and to buy, and hands off to the
   full listing when the visitor wants the rest.
   ------------------------------------------------------------------------- */
.qv-ov{position:fixed;inset:0;z-index:1300;
  background:color-mix(in srgb,var(--void) 58%,transparent);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  opacity:0;transition:opacity var(--t-3) var(--e-out)}
.qv-ov.on{opacity:1}

.qv{position:fixed;top:0;right:0;bottom:0;width:min(468px,100vw);z-index:1301;will-change:transform;
  display:flex;flex-direction:column;
  background:var(--surface);border-left:1px solid var(--line-strong);
  box-shadow:var(--el-4),-1px 0 0 0 rgba(var(--glow-v),.2),
             -30px 0 90px rgba(var(--glow-v),calc(.24 * var(--lume)));
  transform:translateX(102%);transition:transform var(--t-4) var(--e-out)}
.qv.on{transform:translate3d(0,0,0)}
/* the lit seam where the niche was cut */
.qv::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;z-index:3;
  background:linear-gradient(180deg,transparent,rgba(var(--glow-m),.75) 30%,
    rgba(var(--glow-c),.6) 70%,transparent)}

.qv-top{display:flex;align-items:center;gap:12px;padding:14px 16px;
  border-bottom:1px solid var(--line);flex:none}
.qv-top .lbl{font-family:var(--mono);font-size:10.8px;letter-spacing:.2em;
  text-transform:uppercase;font-weight:600;color:var(--ink-mut)}
.qv-x{margin-left:auto;width:34px;height:34px;border-radius:50%;border:1px solid var(--line-strong);
  background:var(--well);color:var(--ink-2);display:grid;place-items:center;cursor:pointer;
  transition:color var(--t-2) var(--e-out),background var(--t-2) var(--e-out)}
.qv-x:hover{color:var(--ink);background:var(--wash)}
.qv-x svg{width:15px;height:15px}

.qv-body{flex:1;overflow:auto;overscroll-behavior:contain;padding:0 0 var(--s-8)}
.qv-hero{position:relative;aspect-ratio:1;background:var(--well);overflow:hidden;
  border-bottom:1px solid var(--line)}
.qv-hero img{width:100%;height:100%;object-fit:cover;display:block}
/* the strip is an overlay bar, so with the 5-cap lifted the chips must SCROLL -
   left to shrink they would squash to slivers on a listing with 32 photos */
.qv-thumbs{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:6px;z-index:2;
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;
  scroll-padding:6px;padding-bottom:3px;overscroll-behavior-x:contain}
.qv-thumbs::-webkit-scrollbar{display:none}
/* Reaching photo 2 must never depend on one strip: see the note in cave-ui.js */
.qv-arr{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);background:rgba(10,6,24,.55);color:#fff;font-size:24px;line-height:1;
  display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;padding:0 0 3px 0;
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:background .18s,border-color .18s}
.qv-arr:hover{background:rgba(124,58,237,.82);border-color:rgba(196,181,253,.7)}
.qv-arr.prev{left:10px}
.qv-arr.next{right:10px}
.qv-count{position:absolute;right:12px;top:12px;z-index:3;pointer-events:none;
  font-family:var(--mono,ui-monospace,monospace);font-size:11.5px;letter-spacing:.09em;color:#fff;
  background:rgba(10,6,24,.66);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 11px}
/* clear of the thumbnail strip along the bottom */
.qv-arr{margin-top:-34px}
.qv-thumbs button{flex:0 0 62px;aspect-ratio:1;min-width:0;padding:0;cursor:pointer;
  border:1.5px solid rgba(255,255,255,.6);border-radius:8px;background:#fff center/cover no-repeat;
  opacity:.82;transition:opacity var(--t-2) var(--e-out),transform var(--t-2) var(--e-out)}
.qv-thumbs button:hover,.qv-thumbs button.on{opacity:1;border-color:#fff;transform:translateY(-2px)}
.qv-flag{position:absolute;top:12px;left:12px;z-index:2;font-family:var(--mono);font-size:9.6px;
  letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#fff;
  background:rgba(var(--glow-v),.62);border:1px solid rgba(255,255,255,.34);border-radius:999px;
  padding:4px 11px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}

.qv-in{padding:var(--s-5) var(--s-5) 0}
.qv-ven{font-family:var(--mono);font-size:11.4px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-mut);display:flex;align-items:center;gap:8px}
.qv-in h3{font-family:var(--display);font-size:22px;line-height:1.18;margin:9px 0 0;color:var(--ink)}
.qv-price{font-family:var(--mono);font-size:22px;color:var(--ink);margin-top:12px;
  display:flex;align-items:baseline;gap:10px}
.qv-price .stk{font-size:11.4px;letter-spacing:.1em;text-transform:uppercase;color:var(--emerald)}
.qv-price .stk.out{color:var(--ink-mut)}
.qv-desc{margin-top:14px;font-size:14.2px;line-height:1.62;color:var(--ink-2);
  max-height:150px;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(#000 62%,transparent);
  mask-image:linear-gradient(#000 62%,transparent)}
.qv-desc.all{max-height:none;-webkit-mask-image:none;mask-image:none}
.qv-more{margin-top:8px;background:none;border:0;padding:6px 0;cursor:pointer;
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-violet)}
.qv-more:hover{color:var(--magenta)}
.qv-field{margin-top:var(--s-5)}
.qv-field label{display:block;font-family:var(--mono);font-size:11.4px;letter-spacing:.14em;
  text-transform:uppercase;font-weight:600;color:var(--ink-2);margin-bottom:8px}
.qv-field select{width:100%;background:var(--well);border:1px solid var(--line-strong);
  border-radius:var(--r-ctrl);color:var(--ink);padding:12px 13px;font-family:inherit;
  font-size:14.5px;outline:none}
.qv-field select:focus{border-color:var(--violet);box-shadow:0 0 0 3px var(--wash)}

.qv-foot{flex:none;padding:var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--line);background:var(--surface);display:grid;gap:10px}
.qv-row{display:flex;gap:10px;align-items:stretch}
.qv-qty{display:inline-flex;align-items:center;border:1px solid var(--line-strong);
  border-radius:var(--r-ctrl);overflow:hidden;flex:none;background:var(--surface)}
.qv-qty button{width:40px;border:0;background:none;font-size:17px;color:var(--ink-2);cursor:pointer}
.qv-qty button:hover{background:var(--well);color:var(--ink)}
.qv-qty span{min-width:38px;text-align:center;font-family:var(--mono);font-size:15px}
.qv-add{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;border:0;
  border-radius:var(--r-ctrl);background:var(--grad2);color:#fff;font-family:inherit;
  font-weight:700;font-size:14.6px;padding:14px 18px;cursor:pointer;
  box-shadow:0 8px 26px rgba(var(--glow-m),.36);
  transition:transform var(--t-2) var(--e-out),box-shadow var(--t-2) var(--e-out)}
.qv-add:hover{transform:translateY(-1px);box-shadow:0 12px 34px rgba(var(--glow-m),.5)}
.qv-add:disabled{opacity:.5;cursor:default;transform:none;box-shadow:none}
.qv-full{text-align:center;font-family:var(--mono);font-size:11.2px;letter-spacing:.14em;
  text-transform:uppercase;font-weight:600;color:var(--ink-violet);padding:4px}
.qv-full:hover{color:var(--magenta)}
.qv-load{padding:60px 20px;text-align:center;color:var(--ink-mut);font-family:var(--mono);font-size:12.5px}

/* the trigger, beside the wishlist heart */
.pcard .peek{position:absolute;top:9px;right:49px;z-index:3;width:34px;height:34px;padding:0;
  border-radius:50%;border:1px solid var(--line);
  background:color-mix(in srgb,var(--surface) 84%,transparent);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  display:grid;place-items:center;cursor:pointer;color:var(--ink-mut);
  box-shadow:0 2px 8px rgba(6,3,16,.18);
  transition:transform var(--t-2) var(--e-out),color var(--t-2) var(--e-out)}
.pcard .peek:hover{transform:scale(1.08);color:var(--violet)}
.pcard .peek svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}

/* On a phone the niche takes the whole screen and slides up from the floor.
   Sizing a fixed element from its offsets alone (top:auto with bottom:0, or a
   top inset with bottom:0 and no height) makes Chromium drop the entire frame
   and paint nothing but the root background, so the sheet is pinned on all four
   sides like the desktop drawer and simply changes which edge it enters from. */
@media(max-width:640px){
  .qv{top:0;left:0;right:0;bottom:0;width:auto;height:auto;
    border-left:0;border-radius:0;transform:translateY(100%);
    background:var(--surface);
    -webkit-backdrop-filter:none;backdrop-filter:none;
    box-shadow:none}
  .qv.on{transform:translate3d(0,0,0)}
  .qv::before{left:0;right:0;top:0;bottom:auto;width:auto;height:1px;
    background:linear-gradient(90deg,transparent,rgba(var(--glow-m),.8),transparent)}
  .qv-top{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .qv-foot{background:var(--surface)}
  .qv-hero{aspect-ratio:4/3}
  .pcard .peek{right:47px}
}

@media (prefers-reduced-motion:reduce){
  .qv,.qv-ov{transition:none}
}

/* ---- cave-soul.css ---- */
/* ============================================================================
   CULTURE CAVE - "THE SHAFT" v4.0
   Loaded last. Replaces the v3 wallpaper-and-glass-boxes approach entirely.

   v3 put a painting behind floating rounded panels. That reads as a wallpaper
   with widgets on it, because nothing relates the content to the cave.

   v4 uses the composition the paintings already have. Every one of them is a
   portal: dark rock and glowing flora at the sides, a lit throat in the middle.
   So the page is a passage with a shaft of light falling down the centre. You
   read in the light. The cave stays vivid at the margins and breaks fully open
   at chosen moments. No panels, no floating boxes, no borders around content:
   the shaft is the surface.

   Everything here is a flat gradient or a pre-baked image. No runtime blur, no
   filters, no backdrop-filter on a phone, which is what was making it stick.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. THE PASSAGE
   ------------------------------------------------------------------------- */
.cavern{position:fixed;inset:0;z-index:-3;overflow:hidden;pointer-events:none;
  background:var(--void)}
.cavern .lyr{position:absolute;inset:0;
  background-position:center center;background-size:cover;background-repeat:no-repeat;
  opacity:0;transition:opacity 900ms cubic-bezier(.4,0,.2,1)}
.cavern .lyr.on{opacity:1}
.cavern::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,
    rgba(4,2,12,var(--sky,.34)) 0,
    rgba(4,2,12,0) 22%,
    rgba(4,2,12,0) 74%,
    rgba(4,2,12,var(--floor,.5)) 100%)}
:root{--sky:.30;--floor:.44}
:root[data-theme="dark"]{--sky:.16;--floor:.30}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--sky:.16;--floor:.30}}

html{background:var(--void)}
body{background:transparent}
body::before{display:none}
section.blk::before{display:none}
.hero .hbg{background-image:none!important}

/* ---------------------------------------------------------------------------
   2. THE SHAFT - a column of light falling through the passage.
   One flat gradient. It is painted by the sections themselves so consecutive
   sections form a single unbroken column, and a section can opt out to let the
   cave break all the way open.
   ------------------------------------------------------------------------- */
:root{
  --col:1180px;                 /* the lit column */
  --feather:230px;              /* how far the light falls off into the rock */
  --shaft:250,247,253;          /* the colour of the light */
  --shaft-a:.955;               /* how solid it is where you read */
  --shaft-edge:.0;
}
:root[data-theme="dark"]{--shaft:14,8,28;--shaft-a:.74}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--shaft:14,8,28;--shaft-a:.74}}

/* One gradient, held in a variable so every lit stretch paints the identical
   column and consecutive stretches read as one unbroken shaft. The selectors
   are qualified because `section.blk` on its own outranks a bare `.shafted`. */
:root{
  --shaft-bg:linear-gradient(90deg,
    rgba(var(--shaft),var(--shaft-edge)) 0,
    rgba(var(--shaft),var(--shaft-edge)) max(0px, calc(50% - var(--col)/2 - var(--feather))),
    rgba(var(--shaft),calc(var(--shaft-a) * .55)) calc(50% - var(--col)/2 - 40px),
    rgba(var(--shaft),var(--shaft-a))    calc(50% - var(--col)/2 + 74px),
    rgba(var(--shaft),var(--shaft-a))    calc(50% + var(--col)/2 - 74px),
    rgba(var(--shaft),calc(var(--shaft-a) * .55)) calc(50% + var(--col)/2 + 40px),
    rgba(var(--shaft),var(--shaft-edge)) min(100%, calc(50% + var(--col)/2 + var(--feather))),
    rgba(var(--shaft),var(--shaft-edge)) 100%);
}
section.blk{padding:clamp(52px,6vw,96px) 0;position:relative;background:none}
section.blk.shafted,
div.pagewrap.shafted,
div.wrap.shafted,
footer.shafted{background:var(--shaft-bg)}

/* the panels are gone: the wrap is just a measure now */
section.blk>.wrap{background:none!important;border:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  border-radius:0!important;padding:0 28px!important;max-width:1240px}
section.blk>.wrap::before{display:none!important}

/* where one lit stretch meets the next, a hairline with a lit pip */
.seam{position:relative;height:0;pointer-events:none;z-index:2}
.seam::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:min(var(--col),calc(100% - 56px));height:1px;
  background:linear-gradient(90deg,transparent,var(--rule) 18%,var(--rule) 82%,transparent)}
.seam::after{content:"";position:absolute;left:50%;top:-2.5px;transform:translateX(-50%);
  width:6px;height:6px;border-radius:50%;
  background:rgb(var(--glow-m));
  box-shadow:0 0 10px rgba(var(--glow-m),.9),0 0 22px rgba(var(--glow-v),.6)}

/* ---------------------------------------------------------------------------
   3. INK AND RULE - the palette the shaft demands
   ------------------------------------------------------------------------- */
:root{
  --ink:#140C24; --ink-2:#4C4368; --ink-mut:#767089;
  --rule:rgba(20,12,36,.14);
  --rule-2:rgba(20,12,36,.08);
  --surface:rgba(255,255,255,.62);
  --well:rgba(20,12,36,.045);
  --line:rgba(20,12,36,.13);
  --line-strong:rgba(20,12,36,.24);
  --wash:rgba(124,58,237,.09);
}
:root[data-theme="dark"]{
  --ink:#F4EFFF; --ink-2:#B9AFD6; --ink-mut:#8C82A8;
  --rule:rgba(255,255,255,.14);
  --rule-2:rgba(255,255,255,.07);
  --surface:rgba(255,255,255,.055);
  --well:rgba(255,255,255,.05);
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.2);
  --wash:rgba(155,107,255,.16);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#F4EFFF; --ink-2:#B9AFD6; --ink-mut:#8C82A8;
    --rule:rgba(255,255,255,.14); --rule-2:rgba(255,255,255,.07);
    --surface:rgba(255,255,255,.055); --well:rgba(255,255,255,.05);
    --line:rgba(255,255,255,.12); --line-strong:rgba(255,255,255,.2);
    --wash:rgba(155,107,255,.16);
  }
}

/* ---------------------------------------------------------------------------
   4. TYPE - the detail that separates a design from a template
   ------------------------------------------------------------------------- */
.hero h1{letter-spacing:-.018em;line-height:.96;font-weight:700}
.blk .shead h2,.band h2,.phead h1,.pdp h1{letter-spacing:-.012em;line-height:1.04}
.blk .shead h2{font-size:clamp(1.9rem,3.6vw,2.75rem)}
.blk .shead p{font-size:15.5px;line-height:1.62;max-width:58ch;color:var(--ink-2);
  margin-left:auto;margin-right:auto}

/* the microlabel gets a rule, which is what makes it read as considered */
.eyebrow{display:inline-flex;align-items:center;gap:12px;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.24em;text-transform:uppercase;
  font-weight:600;color:var(--ink-2)}
.eyebrow::before{content:"";width:22px;height:1px;background:rgb(var(--glow-m));flex:none;
  box-shadow:0 0 8px rgba(var(--glow-m),.8)}
/* the base sheet sets .blk .shead .eyebrow{display:block}, which outranks the
   bare .eyebrow rule above, so the rule detail has to be restated here */
.blk .shead .eyebrow,.phead .eyebrow,.band .eyebrow{display:inline-flex}
.blk .shead .eyebrow{margin-bottom:18px}
.fcol h4,.fg h5,.subhd{font-family:var(--mono);font-size:11.5px;letter-spacing:.2em;
  text-transform:uppercase;font-weight:600;color:var(--ink-2)}

.orn .line,.orn .line.r{background:linear-gradient(90deg,transparent,var(--rule))}
.orn .line.r{background:linear-gradient(90deg,var(--rule),transparent)}
.orn .txt{color:var(--ink-2);letter-spacing:.3em}
.orn .dia{color:rgb(var(--glow-m))}

/* ---------------------------------------------------------------------------
   5. SURFACES - hairlines, not boxes. Nothing floats unless it is being touched.
   ------------------------------------------------------------------------- */
.cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary,.coll,.notice,.plan{
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  transition:transform var(--t-2) var(--e-out),border-color var(--t-2) var(--e-out),
             box-shadow var(--t-2) var(--e-out),background var(--t-2) var(--e-out)}
.cell:hover,.pcard:hover,.tier:hover,.mspot:hover,.vchip:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--glow-v),.55);
  background:color-mix(in srgb, var(--surface) 60%, rgba(var(--glow-v),.05));
  box-shadow:0 1px 0 rgba(var(--glow-v),.3) inset,
             0 14px 34px -18px rgba(var(--glow-v),.7)}
.cell::after{display:none}
.cell{border-radius:12px}
.pcard{border-radius:12px}
.pcard .im{background:var(--well);border-bottom:1px solid var(--rule-2)}
.pcard .fl,.pcard .srctag{background:rgba(255,255,255,.86);border:1px solid var(--rule);
  color:#3A3352;backdrop-filter:none}
:root[data-theme="dark"] .pcard .fl,
:root[data-theme="dark"] .pcard .srctag{background:rgba(16,10,30,.82);color:var(--ink-2)}
.divh,.stabs,.spec-list,.pdesc,.rt .rt-kvs{border-color:var(--rule)}
.rt .rt-kv{border-bottom-color:var(--rule-2)}
.frail{background:none;border:0;border-right:1px solid var(--rule);border-radius:0;
  padding:0 26px 0 0}
@media(max-width:820px){.frail{border-right:0;border-bottom:1px solid var(--rule);padding:0 0 22px}}
.fg{border-bottom-color:var(--rule)}
.summary{border-radius:12px}

/* the vendor cards are artwork; give them a frame worth the art */
.vc{border-radius:12px;box-shadow:0 18px 40px -22px rgba(4,2,14,.9)}
.vc::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.vc:hover{transform:translateY(-5px)}
.vc:hover::after{box-shadow:inset 0 0 0 1px rgba(var(--glow-m),.85),
  inset 0 0 60px 8px rgba(6,3,16,.3)}

/* ---------------------------------------------------------------------------
   6. THE OPEN MOMENTS - hero, band and page heads, where the cave breaks through
   ------------------------------------------------------------------------- */
.hero{background:none}
.hero .hbg::after{background:
  linear-gradient(180deg, rgba(6,3,16,.42) 0, rgba(6,3,16,.06) 26%, rgba(6,3,16,.10) 58%, rgba(6,3,16,.52) 100%)}
.hero::after{box-shadow:inset 0 0 220px 60px rgba(4,2,12,.6)}
.hero .tunnel{opacity:.4}
.heroin::before{content:"";position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);
  width:min(880px,94%);height:min(500px,84%);z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side, rgba(8,4,20,.66), rgba(8,4,20,.26) 55%, transparent 78%)}
.hero h1{text-shadow:0 2px 30px rgba(0,0,0,.8),0 0 100px rgba(var(--glow-v),.55)}
.hero .sub,.hero .herocap{text-shadow:0 1px 16px rgba(0,0,0,.85)}
.hero .hstats{background:rgba(10,5,24,.42);border-color:rgba(255,255,255,.15);
  border-radius:14px;box-shadow:0 20px 60px -30px rgba(0,0,0,.9)}

.band{background:linear-gradient(180deg,
  rgba(8,4,22,.62) 0, rgba(8,4,22,.30) 34%, rgba(8,4,22,.68) 100%)}
.band .aur{opacity:.5}
.band h2,.band .eyebrow{text-shadow:0 2px 22px rgba(0,0,0,.8)}
.band p,.band .feat{text-shadow:0 1px 14px rgba(0,0,0,.75)}
.band .eyebrow{color:#E4D2FF}
.plan{background:rgba(255,255,255,.94);border:0;border-radius:14px;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.9)}
:root[data-theme="dark"] .plan{background:rgba(22,14,40,.92)}

.phead{background:linear-gradient(180deg,
  rgba(6,3,18,.56) 0, rgba(6,3,18,.20) 46%, rgba(6,3,18,.58) 100%)}
.phead .aur{opacity:.5}
.phead::after{box-shadow:inset 0 0 160px 40px rgba(4,2,12,.5)}
.phead h1{text-shadow:0 2px 26px rgba(0,0,0,.85)}
.phead p,.phead .eyebrow{text-shadow:0 1px 14px rgba(0,0,0,.9)}
.phead .eyebrow{color:#E4D2FF}
.phead .eyebrow::before{background:#FF9BEA}

/* The drawn arches are gone. A transition between the lit passage and the open
   cave is not a shape you stamp on top, it is the light running out: the shaft
   itself fades down into the dark, in the same column, so the two are the same
   space rather than two panels butted together. */
header.top::after{display:none}   /* the icicle fringe was the tackiest thing here */

.band,.phead,.hero,.sec-hero,.vstore-hero{position:relative}
.band::before,.band::after,
.phead::before,.phead::after,
.hero::before{
  content:"";position:absolute;left:0;right:0;z-index:1;pointer-events:none;
  height:clamp(90px,11vw,170px);
  background:var(--shaft-bg)}
.band::before,.phead::before{top:0;
  -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.45) 42%,transparent);
  mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.45) 42%,transparent)}
.band::after,.phead::after,.hero::before{bottom:0;
  -webkit-mask-image:linear-gradient(0deg,#000,rgba(0,0,0,.45) 42%,transparent);
  mask-image:linear-gradient(0deg,#000,rgba(0,0,0,.45) 42%,transparent)}
/* the page head opens straight under the header, so it has no light above it */
.phead::before{display:none}
/* the band and the footer are both lit at that joint, so the fade is enough */
.band .wrap,.phead .wrap,.hero .wrap{position:relative;z-index:2}

/* ---------------------------------------------------------------------------
   7. CHROME - header, footer, controls
   ------------------------------------------------------------------------- */
.abar{background:rgba(5,2,14,.88);color:#D6C8F5}
.quicknav{background:rgba(var(--shaft),calc(var(--shaft-a) * .9));
  border-bottom:1px solid var(--rule);backdrop-filter:none;-webkit-backdrop-filter:none}
header.top{background:rgba(var(--shaft),calc(var(--shaft-a) * .94));
  border-bottom:1px solid var(--rule);
  -webkit-backdrop-filter:none;backdrop-filter:none}
body.hd-stuck header.top{background:rgba(var(--shaft),var(--shaft-a));
  box-shadow:0 1px 0 var(--rule),0 18px 40px -34px rgba(6,3,18,.9)}
footer{background:rgba(var(--shaft),calc(var(--shaft-a) * .92));
  border-top:1px solid var(--rule);
  -webkit-backdrop-filter:none;backdrop-filter:none}
footer::before{opacity:.5}

.top .search input,.mobnav .msearch input,.input,.textarea,.sel,.sortsel select,
.qv-field select,.dsearch input{
  background:rgba(255,255,255,.7);border:1px solid var(--line);color:var(--ink)}
:root[data-theme="dark"] .top .search input,
:root[data-theme="dark"] .input,:root[data-theme="dark"] .textarea,
:root[data-theme="dark"] .sel,:root[data-theme="dark"] .sortsel select,
:root[data-theme="dark"] .qv-field select{background:rgba(255,255,255,.06)}
.top .search .kbd{background:rgba(255,255,255,.75);border-color:var(--line)}
:root[data-theme="dark"] .top .search .kbd{background:rgba(255,255,255,.08)}

.tchip{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#F2ECFF}
.hero .tchip:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.55)}
.bigsearch input{background:rgba(255,255,255,.97);border:0;
  box-shadow:0 20px 60px -26px rgba(0,0,0,.9),0 0 0 1px rgba(var(--glow-v),.28)}
.bigsearch input:focus{box-shadow:0 20px 60px -26px rgba(0,0,0,.9),0 0 0 3px rgba(var(--glow-v),.6)}

.drop{margin-top:calc(-1 * clamp(22px,3vw,42px))}
.drop>.wrap{background:rgba(14,7,30,.82);border:1px solid rgba(var(--glow-m),.4);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 24px 60px -34px rgba(0,0,0,.95),0 0 40px -18px rgba(var(--glow-m),.7)}

/* overlays keep their blur on desktop, where it is affordable */
.wf{background:rgba(var(--shaft),.985);
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.qv{background:rgba(var(--shaft),.99);
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.descent{background:rgba(var(--shaft),.88);border-color:var(--line);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}

/* ---------------------------------------------------------------------------
   8. MOBILE - this is where it was sticking. Nothing here may blur, filter or
   composite per frame. The shaft covers the column, the plate is the small one,
   and every decorative layer is switched off.
   ------------------------------------------------------------------------- */
@media(max-width:860px){
  :root{--col:100vw;--feather:0px;--shaft-a:.965}
  :root[data-theme="dark"]{--shaft-a:.86}
  section.blk>.wrap{padding:0 18px!important}
  section.blk{padding:38px 0}
  .hero .tunnel,.motes,.lamp,.cave-vig,.cave-grain{display:none!important}
  *,*::before,*::after{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .wf,.qv,.descent,header.top,.quicknav,footer{
    background:rgba(var(--shaft),.99)!important}
  .qv-foot{background:rgba(var(--shaft),1)!important}
  .cavern .lyr{transition:opacity 520ms linear}
  /* keep the browser from laying out and painting what is far off screen */
  section.blk,.band,footer{content-visibility:auto;contain-intrinsic-size:auto 700px}
}
@media (prefers-reduced-motion:reduce){
  .cavern .lyr{transition:none}
}

/* ---- cave-custom.css ---- */
/* ============================================================================
   CULTURE CAVE - THE HOUSE KIT  v5.0
   Loaded last. Everything in here is drawn for Culture Cave and exists nowhere
   else: the ground it stands on, its marks, its seals, its controls.

   The change of principle: on a phone the cave photograph is the ground and it
   works, because the screen is narrow and the image reads as a place. On a
   desktop the same photograph reads as wallpaper behind furniture. So desktop
   gets a ground of our own instead - a mycelial mat grown filament by filament
   - and the cave paintings become deliberate imagery inside the hero, the
   vendor band and the page heads, where they are pictures rather than backdrop.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. THE GROUND
   Mineral paper, warm, never flat: a slow vertical shift plus the mycelium mat.
   ------------------------------------------------------------------------- */
:root{
  --paper-1:#F6F2F8;
  --paper-2:#EFE9F4;
  --paper-3:#E7DFEE;
  --myc:url("custom/myc-light.svg");
  --myc-a:.2;
  --myc-size:440px;
}
:root[data-theme="dark"]{
  --paper-1:#0C0718;
  --paper-2:#120B22;
  --paper-3:#170E2C;
  --myc:url("custom/myc-dark.svg");
  --myc-a:.2;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper-1:#0C0718; --paper-2:#120B22; --paper-3:#170E2C;
    --myc:url("custom/myc-dark.svg"); --myc-a:.16;
  }
}

@media(min-width:861px){
  /* the photographic cavern comes off the desktop entirely */
  .cavern{display:none!important}

  /* The ground lives on <html>. On <body> it would paint over the mat and the
     bedding, both of which sit at a negative z-index behind the content. */
  html{background:
    linear-gradient(180deg,var(--paper-1) 0,var(--paper-2) 46%,var(--paper-3) 100%)
    fixed}
  body{background:transparent}

  /* the mat: one grown tile, fixed so the page moves across it */
  body::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
    background-image:var(--myc);
    background-size:var(--myc-size) var(--myc-size);
    background-repeat:repeat;
    opacity:var(--myc-a);
    display:block}

  /* strata: the faintest bedding in the mineral, drawn not photographed */
  body::before{content:"";display:block;position:fixed;inset:0;z-index:-1;pointer-events:none;
    background:repeating-linear-gradient(179.3deg,
      transparent 0 62px,
      color-mix(in srgb,var(--ink) 3.5%,transparent) 62px 63px,
      transparent 63px 118px,
      color-mix(in srgb,var(--ink) 2%,transparent) 118px 119px,
      transparent 119px 196px);
    opacity:.75}

  /* the shaft is no longer needed: the ground already reads */
  section.blk.shafted,div.pagewrap.shafted,div.wrap.shafted,footer.shafted{background:none}
  .seam::before{background:linear-gradient(90deg,transparent,var(--rule) 16%,var(--rule) 84%,transparent)}
  /* A hung picture is not a panel butted against the page: its edges dissolve
     into the paper, top and bottom, so the mat appears to continue behind it. */
  .band::after,.phead::after,.hero::before{
    content:"";display:block;position:absolute;left:0;right:0;bottom:0;
    height:clamp(80px,9vw,150px);z-index:3;pointer-events:none;
    background:linear-gradient(0deg,var(--paper-2) 0,rgba(0,0,0,0) 100%)}
  .band::after{background:linear-gradient(0deg,var(--paper-3) 0,rgba(0,0,0,0) 100%)}
  .phead::after{background:linear-gradient(0deg,var(--paper-1) 0,rgba(0,0,0,0) 100%)}
  .hero::before{z-index:6}

  /* the paintings return as pictures, in the three places that want one */
  .hero .hbg{background-image:var(--plate-hero)!important;
    background-size:cover;background-position:center}
  .band{background:var(--plate-band) center/cover no-repeat}
  .phead{background:var(--plate-head) center/cover no-repeat}
  .band::before{content:"";display:block;position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(8,4,22,.72),rgba(8,4,22,.42) 40%,rgba(8,4,22,.78))}
  .phead::before{content:"";display:block;position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(6,3,18,.68),rgba(6,3,18,.36) 46%,rgba(6,3,18,.7))}
  .band>.wrap,.phead>.wrap{position:relative;z-index:2}
}

/* the cards read as cut into the mat, so they carry a little more body */
@media(min-width:861px){
  .cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary,.coll,.notice{
    background:rgba(255,255,255,.78)}
  :root[data-theme="dark"] .cell,:root[data-theme="dark"] .pcard,
  :root[data-theme="dark"] .tier,:root[data-theme="dark"] .mspot,
  :root[data-theme="dark"] .formcard,:root[data-theme="dark"] .summary{
    background:rgba(255,255,255,.055)}
}

/* ---------------------------------------------------------------------------
   2. THE SPORE - the house mark. A body with five hyphae leaving it.
   It is the bullet, the pip, the divider and the tick, so one drawn thing runs
   through the entire interface instead of a borrowed dingbat.
   ------------------------------------------------------------------------- */
:root{
  --spore:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23000' stroke-width='1.4' stroke-linecap='round' fill='none'%3E%3Cpath d='M12 4.2v3.1M19 8.4l-2.6 1.6M17.2 17.6l-2.4-2M6.8 17.6l2.4-2M5 8.4l2.6 1.6'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='3.1' fill='%23000'/%3E%3C/svg%3E");
}
.spore{display:inline-block;width:1em;height:1em;vertical-align:-.14em;
  background:currentColor;-webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat}

/* the seam pip becomes the mark */
.seam::after{background:transparent;box-shadow:none;
  width:15px;height:15px;top:-7px;
  background-color:rgb(var(--glow-m));
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat;
  filter:drop-shadow(0 0 6px rgba(var(--glow-m),.8))}

/* the eyebrow rule ends in a spore rather than stopping dead */
.eyebrow::before{width:26px}
.eyebrow::after{content:"";width:.72em;height:.72em;flex:none;
  background:rgb(var(--glow-m));
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat;
  opacity:.85}

/* list bullets, everywhere */
.rt .rt-list li::before{background:currentColor;color:rgb(var(--glow-v));
  width:11px;height:11px;transform:none;border-radius:0;left:2px;top:.42em;
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat}
.dia{font-size:0!important;width:13px;height:13px;display:inline-block;flex:none;
  background:currentColor;
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat}
.orn .dia,.drop .tag .dia{color:rgb(var(--glow-m))}
.abar .dia{width:10px;height:10px;color:rgb(var(--glow-m));vertical-align:-1px}
.cell .ct::before{background:rgb(var(--glow-v));width:9px;height:9px;border-radius:0;
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat;opacity:.9}

/* ---------------------------------------------------------------------------
   3. CORNER TICKS - every card is set into the page rather than dropped on it.
   Two drawn brackets, opposite corners, in the light of the chamber.
   ------------------------------------------------------------------------- */
.cell,.pcard,.tier,.mspot,.formcard,.summary,.plan,.vchip{position:relative}
.cell::before,.pcard::before,.tier::before,.mspot::before,
.cell::after,.pcard::after,.tier::after,.mspot::after{
  content:"";position:absolute;width:13px;height:13px;pointer-events:none;z-index:3;
  border:0 solid rgba(var(--glow-v),.5);
  transition:border-color var(--t-2) var(--e-out),transform var(--t-2) var(--e-out)}
.cell::before,.pcard::before,.tier::before,.mspot::before{
  top:-1px;left:-1px;border-top-width:1.5px;border-left-width:1.5px;
  transform-origin:0 0;border-top-left-radius:12px}
.cell::after,.pcard::after,.tier::after,.mspot::after{
  bottom:-1px;right:-1px;border-bottom-width:1.5px;border-right-width:1.5px;
  border-bottom-right-radius:12px;display:block;opacity:1;background:none;
  left:auto;top:auto;transform:scale(1);transform-origin:100% 100%;filter:none}
.cell:hover::before,.pcard:hover::before,.tier:hover::before,.mspot:hover::before,
.cell:hover::after,.pcard:hover::after,.tier:hover::after,.mspot:hover::after{
  transform:scale(1.6923);border-color:rgb(var(--glow-m))}

/* ---------------------------------------------------------------------------
   4. NOTCHED MARKS - the badges are cut, not rounded. A pill is a default; a
   notch is a decision.
   ------------------------------------------------------------------------- */
.vc .vcbadge,.mspot .msflag,.vpill,.pcard .fl,.pcard .srctag,.tier.feat::before{
  border-radius:0;
  clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.vc .vcbadge{padding:5px 13px;letter-spacing:.14em}
.pcard .fl,.pcard .srctag{padding:3px 8px}

/* the stock dot is a spore */
.dot.g{background:transparent;width:10px;height:10px;box-shadow:none;
  background-color:var(--emerald);
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat}

/* ---------------------------------------------------------------------------
   5. THE SEAL - an engraved roundel for the promises the marketplace makes.
   Drawn once as a mask so it takes the colour of whatever it is stamped on.
   ------------------------------------------------------------------------- */
:root{
  --seal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3'%3E%3Ccircle cx='20' cy='20' r='17.4'/%3E%3Ccircle cx='20' cy='20' r='14.2' stroke-dasharray='1.6 2.6'/%3E%3C/g%3E%3Cpath d='M13.4 20.4l4.6 4.4 8.6-9.2' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.p100,.pcard .p100{display:inline-flex!important;align-items:center;gap:7px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;font-weight:600;
  color:var(--emerald)!important;text-transform:uppercase}
.p100::before{content:"";width:15px;height:15px;flex:none;background:currentColor;
  -webkit-mask:var(--seal) center/contain no-repeat;
  mask:var(--seal) center/contain no-repeat}
.plan li svg,.band .feat svg,.mspot .mspts svg{display:none}
.plan li,.band .feat,.mspot .mspts span{position:relative;padding-left:26px}
.plan li::before,.band .feat::before,.mspot .mspts span::before{
  content:"";position:absolute;left:0;top:.12em;width:16px;height:16px;
  background:var(--emerald);
  -webkit-mask:var(--seal) center/contain no-repeat;
  mask:var(--seal) center/contain no-repeat}
.band .feat::before{background:#5BE0B0}

/* ---------------------------------------------------------------------------
   6. CONTROLS - drawn, not borrowed
   ------------------------------------------------------------------------- */
/* the checkbox is a spore that grows into its cell */
.opt .bx{width:19px;height:19px;border-radius:4px;border:1.5px solid var(--line-strong);
  background:transparent;position:relative;overflow:visible;transition:.18s var(--e-out)}
.opt .bx svg{display:none}
.opt .bx::after{content:"";position:absolute;inset:0;
  background:rgb(var(--glow-v));opacity:0;transform:scale(.3) rotate(-45deg);
  -webkit-mask:var(--spore) center/contain no-repeat;
  mask:var(--spore) center/contain no-repeat;
  transition:opacity .18s ease,transform .3s var(--e-spring)}
.opt:hover .bx{border-color:rgba(var(--glow-v),.7)}
.opt.on .bx{border-color:rgb(var(--glow-v));background:rgba(var(--glow-v),.1)}
.opt.on .bx::after{opacity:1;transform:none}
.opt.rad .bx{border-radius:50%}

/* the toggle is a lantern on a rail */
.sw{width:42px;height:22px;background:var(--well);border:1px solid var(--line-strong);
  border-radius:999px;transition:.22s var(--e-out)}
.sw::after{width:16px;height:16px;top:2px;left:2px;background:var(--ink-mut);
  box-shadow:none;transition:.26s var(--e-spring),background .2s}
.toggle.on .sw{background:rgba(var(--glow-v),.18);border-color:rgb(var(--glow-v))}
.toggle.on .sw::after{left:22px;background:rgb(var(--glow-m));
  box-shadow:0 0 10px rgba(var(--glow-m),.9),0 0 20px rgba(var(--glow-v),.6)}

/* the select carries the house chevron */
.sel,.sortsel select,select.input,.qv-field select{
  appearance:none;-webkit-appearance:none;padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%23776f92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;background-size:16px}

/* ---------------------------------------------------------------------------
   7. BUTTONS - a carved face with a seam of mineral that catches the light
   ------------------------------------------------------------------------- */
.btn,.solid,.msgo,.qv-add,.top .icons .cart,.pact.add,.pact.opts{
  position:relative}
.btn,.solid,.msgo,.qv-add,.bigsearch .go,.top .icons .cart,.pact.add,.pact.opts{
  overflow:hidden;
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px)}
/* the hero button is already absolutely placed inside its field: giving it
   position:relative drops it out of the input entirely */
.bigsearch .go{position:absolute}
.btn::after,.solid::after,.msgo::after,.qv-add::after,.bigsearch .go::after,
.top .icons .cart::after{
  content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.42),transparent);
  transform:translateX(0) skewX(-18deg);transition:transform var(--t-4) var(--e-out)}
.btn:hover::after,.solid:hover::after,.msgo:hover::after,.qv-add:hover::after,
.bigsearch .go:hover::after,.top .icons .cart:hover::after{transform:translateX(422.2%) skewX(-18deg)}
.btn:active,.solid:active,.qv-add:active{transform:translateY(1px)}

/* the quiet button gets brackets instead of a box */
.btn2,.ghost.stamp{position:relative}
.btn2::before,.btn2::after{content:"";position:absolute;width:8px;height:8px;
  border:1.5px solid rgb(var(--glow-v));opacity:0;transition:.2s var(--e-out)}
.btn2::before{top:-3px;left:-3px;border-right:0;border-bottom:0}
.btn2::after{bottom:-3px;right:-3px;border-left:0;border-top:0}
.btn2:hover::before,.btn2:hover::after{opacity:1;width:12px;height:12px}

/* ---------------------------------------------------------------------------
   8. NUMERALS - the counts are the proof, so they are set like a plate
   ------------------------------------------------------------------------- */
.hstats{border-radius:0;overflow:visible;border:0;background:none!important;
  box-shadow:none!important;position:relative;gap:0}
.hstats::before,.hstats::after{content:"";position:absolute;left:8%;right:8%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent)}
.hstats::before{top:0}
.hstats::after{bottom:0}
.hstats .s{border-right:1px solid rgba(255,255,255,.16);padding:22px 14px}
.hstats .s:last-child{border-right:0}
.hstats .s b{font-family:var(--mono);font-weight:500;letter-spacing:-.02em;
  font-size:clamp(26px,3vw,36px)}
.hstats .s span{font-size:10.5px;letter-spacing:.22em}

/* ---------------------------------------------------------------------------
   9. FOCUS, SELECTION, SCROLLBAR - the house even here
   ------------------------------------------------------------------------- */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:1.5px solid rgb(var(--glow-m));outline-offset:3px;
  box-shadow:0 0 0 5px rgba(var(--glow-v),.2)}
::selection{background:rgba(var(--glow-v),.26);color:var(--ink)}
::-webkit-scrollbar-thumb{background:rgba(var(--glow-v),.4);background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:rgb(var(--glow-v));background-clip:content-box}

/* ---------------------------------------------------------------------------
   10. MOBILE keeps the photographed cave and loses none of the marks
   ------------------------------------------------------------------------- */
@media(max-width:860px){
  body::after,body::before{display:none}
  /* The cavern is mounted by script, so before it exists the phone would paint
     a bare colour where the cave should be. Give <html> the same plate in CSS
     and the very first paint is already the right place. */
  html{background:var(--void)}
  .cell::before,.pcard::before,.cell::after,.pcard::after{width:10px;height:10px}
}

/* ---------------------------------------------------------------------------
   THE HOUSE ORNAMENT
   Every divider and eyebrow on the site printed the text glyph U+2726 as its
   mark. A typeface's idea of a diamond is not our drawing. Swap it for a spore
   in the same hand as the icon set, without touching 31 pieces of markup: the
   glyph is hidden and the mark is painted as a mask so it still takes its
   colour from currentColor and still inherits every glow around it.
   ------------------------------------------------------------------------- */
.dia{font-size:0!important;line-height:0;display:inline-block;vertical-align:middle;
  width:.72em;height:.72em;position:relative}
.orn .dia,.divider .dia{width:11px;height:11px}
.dia::before{content:"";position:absolute;inset:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222.6%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M12%202.6V7M12%2021.4V17M2.6%2012H7M21.4%2012H17%22%2F%3E%3Cpath%20d%3D%22M5.6%205.6l2.6%202.6M18.4%2018.4l-2.6-2.6M18.4%205.6l-2.6%202.6M5.6%2018.4l2.6-2.6%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222.6%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M12%202.6V7M12%2021.4V17M2.6%2012H7M21.4%2012H17%22%2F%3E%3Cpath%20d%3D%22M5.6%205.6l2.6%202.6M18.4%2018.4l-2.6-2.6M18.4%205.6l-2.6%202.6M5.6%2018.4l2.6-2.6%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
@media (prefers-reduced-motion:no-preference){
  .orn .dia::before{animation:dia-breathe 6.5s ease-in-out infinite}
  .orn .dia:last-of-type::before{animation-delay:-3.25s}
}
@keyframes dia-breathe{0%,100%{opacity:.62;transform:rotate(0deg) scale(.94)}
  50%{opacity:1;transform:rotate(45deg) scale(1.06)}}

/* ---- cave-v3.css ---- */
/* ============================================================================
   CULTURE CAVE 3.0 - THE SOUL
   Loaded last. This is the aesthetic, taken directly from the paintings.

   The palette is not chosen, it is measured. Sampling every pixel in the seven
   paintings that is both bright and saturated - the glow itself, not the rock -
   gives: 64% cyan-to-blue, 21% magenta-to-pink, the rest violet and ember. The
   old build leaned violet, which is why it never quite read as Culture Cave.
   Cyan leads. Magenta answers. Everything else is an accent.

   The art is UV blacklight poster work: near-black ground, neon LINE, outer
   glow, nothing flat-filled. So the interface is drawn the same way. Dark is
   the default now, because that is what the paintings are; the lit chamber is
   still there behind the lantern for anyone who wants it.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. THE MEASURED PALETTE
   ------------------------------------------------------------------------- */
:root{
  --uv-cyan:#14C4FF;   --uv-ice:#7FEBFF;   --uv-blue:#1489FF;
  --uv-mag:#FF14C4;    --uv-pink:#FF1489;  --uv-violet:#A855F7;
  --uv-green:#5BFF9E;  --uv-amber:#FF8A2E;
  --void-0:#07040F; --void-1:#0B0618; --void-2:#120A24; --void-3:#1A0F31;

  /* the three glow channels every rim, ring and shadow already reads from */
  --glow-v:20,196,255;    /* cyan leads */
  --glow-m:255,20,196;    /* magenta answers */
  --glow-c:20,137,255;    /* blue holds the middle */
  --glow-e:91,255,158;
}

/* dark is the default: the paintings are dark, so the site is */
:root,:root[data-theme="dark"]{
  --ground:var(--void-1); --ground2:var(--void-2); --ground3:var(--void-3);
  --ink:#EAF6FF; --ink-2:#9FB6D4; --ink-mut:#6E839E;
  --surface:rgba(20,196,255,.045);
  --well:rgba(20,196,255,.06);
  --line:rgba(20,196,255,.2);
  --line-strong:rgba(20,196,255,.38);
  --rule:rgba(20,196,255,.18);
  --rule-2:rgba(20,196,255,.09);
  --wash:rgba(20,196,255,.12);
  --violet:var(--uv-cyan); --violet-lt:var(--uv-ice);
  --magenta:var(--uv-mag); --cyan:var(--uv-blue);
  --ink-violet:var(--uv-ice); --emerald:var(--uv-green); --gold:var(--uv-amber);
  --grad2:linear-gradient(118deg,var(--uv-cyan),var(--uv-mag));
  --grad3:linear-gradient(100deg,var(--uv-cyan) 0%,var(--uv-violet) 48%,var(--uv-mag) 100%);
  --paper-1:var(--void-1); --paper-2:var(--void-2); --paper-3:var(--void-3);
  --myc:url("custom/myc-dark.svg"); --myc-a:.13;
  --shaft:12,7,26; --shaft-a:.72;
  --veil:0; --sky:.2; --floor:.34;
}
/* the lit chamber, kept and made to work with the same measured hues */
:root[data-theme="light"]{
  --ground:#F4F1F8; --ground2:#EBE6F2; --ground3:#E3DCEC;
  --ink:#0E0A1A; --ink-2:#4A4260; --ink-mut:#736B88;
  --surface:rgba(255,255,255,.8);
  --well:rgba(14,10,26,.045);
  --line:rgba(14,10,26,.14); --line-strong:rgba(14,10,26,.26);
  --rule:rgba(14,10,26,.14); --rule-2:rgba(14,10,26,.07);
  --wash:rgba(20,137,255,.1);
  --violet:#0A8FD6; --violet-lt:#14C4FF; --magenta:#D6009E; --cyan:#0A6FD6;
  --ink-violet:#0A6FA8; --emerald:#0F9E60; --gold:#C96A0E;
  --paper-1:#F6F3FA; --paper-2:#EFEAF5; --paper-3:#E7E0EF;
  --myc:url("custom/myc-light.svg"); --myc-a:.16;
  --shaft:248,245,252; --shaft-a:.95;
  --sky:.3; --floor:.44;
}

/* The ground goes on <html> only. Giving <body> an opaque background paints it
   over the cavern, which sits at z-index -3. This is the third time that trap
   has bitten on this build: on this site, page backgrounds live on <html>. */
html{background:var(--void-0)}
body{background:transparent;color:var(--ink)}

/* ---------------------------------------------------------------------------
   2. THE PAINTINGS ARE THE GROUND AGAIN, ON EVERY SIZE
   The v5 build took the photograph off desktop because it read as wallpaper
   behind panels. There are no panels now, so it can come back: what made it
   wallpaper was the furniture on top of it, not the picture itself.
   ------------------------------------------------------------------------- */
@media(min-width:861px){
  .cavern{display:block!important}
  html{background:var(--void-0)!important}
  body::after{opacity:.09}          /* the mat stays, as grain over the art */
  body::before{display:none}
  .hero .hbg{background-image:none!important}   /* the cavern behind it is the picture */
  .band,.phead{background:none!important}
  .band::before,.phead::before{background:linear-gradient(180deg,
    rgba(4,2,10,.62),rgba(4,2,10,.22) 42%,rgba(4,2,10,.68))!important}
  .band::after,.phead::after,.hero::before{display:none!important}
}
.cavern .lyr{filter:none}
.cavern::after{background:
  linear-gradient(180deg,rgba(4,2,10,var(--sky)) 0,rgba(4,2,10,0) 24%,
                  rgba(4,2,10,0) 72%,rgba(4,2,10,var(--floor)) 100%)}

/* The lit chamber does NOT wash the paintings out. A picture block is a
   picture: light type over dark art, in both themes. Only the stretches you
   READ go light, and they do that with their own floor, so the art still lives
   at the edges instead of being bleached to fog. */
:root[data-theme="light"] .cavern::after{background:
  linear-gradient(180deg,rgba(6,3,16,.34) 0,rgba(6,3,16,.1) 26%,
                  rgba(6,3,16,.1) 74%,rgba(6,3,16,.38) 100%)}

/* ---------------------------------------------------------------------------
   3. NEON LINE, NOT HAIRLINE
   In the art nothing has a grey border. Every edge is a lit contour.
   ------------------------------------------------------------------------- */
.cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary,.coll,.notice,.plan{
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:inset 0 0 0 0 transparent;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
@media(max-width:860px){
  .cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary{
    -webkit-backdrop-filter:none;backdrop-filter:none;
    background:rgba(11,6,24,.72)}
  :root[data-theme="light"] .cell,:root[data-theme="light"] .pcard,
  :root[data-theme="light"] .tier,:root[data-theme="light"] .mspot,
  :root[data-theme="light"] .formcard,:root[data-theme="light"] .summary{
    background:rgba(255,255,255,.9)}
}
.cell:hover,.pcard:hover,.tier:hover,.mspot:hover,.vchip:hover{
  border-color:rgb(var(--glow-v));
  background:color-mix(in srgb,var(--surface) 70%,rgba(var(--glow-v),.08));
  box-shadow:0 0 0 1px rgba(var(--glow-v),.5),
             0 0 26px -6px rgba(var(--glow-v),.7),
             0 18px 44px -22px rgba(var(--glow-m),.6)}
.cell::before,.pcard::before,.tier::before,.mspot::before,
.cell::after,.pcard::after,.tier::after,.mspot::after{
  border-color:rgba(var(--glow-v),.75)}
.cell:hover::before,.pcard:hover::before,.tier:hover::before,.mspot:hover::before,
.cell:hover::after,.pcard:hover::after,.tier:hover::after,.mspot:hover::after{
  border-color:rgb(var(--glow-m));
  filter:drop-shadow(0 0 5px rgba(var(--glow-m),.9))}

/* every rule on the page is a lit filament */
.divh,.fg,.stabs,.spec-list,.pdesc,.summary .tot,.fdisc,.cartrow,.frail{
  border-color:var(--rule)}
.seam::before{background:linear-gradient(90deg,transparent,
  rgba(var(--glow-v),.55) 20%,rgba(var(--glow-m),.55) 80%,transparent);
  height:1px;box-shadow:0 0 8px rgba(var(--glow-v),.4)}

/* ---------------------------------------------------------------------------
   4. THE ROSETTE - the runes in the sky of the art, struck behind each chamber
   ------------------------------------------------------------------------- */
.blk .shead{position:relative}
.blk .shead::after{content:"";position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:clamp(230px,26vw,340px);aspect-ratio:1;z-index:-1;pointer-events:none;
  background:var(--rune) center/contain no-repeat;
  opacity:.2;
  animation:runeturn 210s linear infinite}
@keyframes runeturn{to{transform:translate(-50%,-50%) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.blk .shead::after{animation:none}}
@media(max-width:860px){.blk .shead::after{width:210px;opacity:.14}}

/* ---------------------------------------------------------------------------
   5. TYPE IN THE DARK
   ------------------------------------------------------------------------- */
.blk .shead h2,.phead h1,.band h2{color:var(--ink);
  text-shadow:0 0 34px rgba(var(--glow-v),.35)}
.hero h1{text-shadow:0 2px 30px rgba(0,0,0,.85),0 0 90px rgba(var(--glow-v),.55)}
.hero h1 .grad{background:linear-gradient(100deg,var(--uv-ice),var(--uv-mag) 55%,var(--uv-cyan));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.eyebrow{color:var(--uv-ice)}
.eyebrow::before{background:rgb(var(--glow-m));box-shadow:0 0 8px rgba(var(--glow-m),.9)}
.blk .shead p,.hero .sub{color:var(--ink-2)}
:root[data-theme="light"] .blk .shead h2{text-shadow:none}
:root[data-theme="light"] .eyebrow{color:var(--ink-2)}

/* ---------------------------------------------------------------------------
   6. CHROME
   ------------------------------------------------------------------------- */
.abar{background:rgba(4,2,10,.92);color:var(--uv-ice);
  border-bottom:1px solid rgba(var(--glow-v),.2)}
.quicknav{background:rgba(7,4,15,.78);border-bottom:1px solid var(--rule);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
header.top{background:rgba(7,4,15,.8);border-bottom:1px solid var(--rule);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3)}
body.hd-stuck header.top{background:rgba(7,4,15,.93);
  box-shadow:0 1px 0 rgba(var(--glow-v),.28),0 20px 44px -34px rgba(0,0,0,.9)}
footer{background:rgba(7,4,15,.86);border-top:1px solid var(--rule);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
:root[data-theme="light"] .abar{background:rgba(10,6,20,.94)}
:root[data-theme="light"] .quicknav,
:root[data-theme="light"] header.top{background:rgba(248,245,252,.86)}
:root[data-theme="light"] body.hd-stuck header.top{background:rgba(248,245,252,.96)}
:root[data-theme="light"] footer{background:rgba(248,245,252,.9)}
@media(max-width:860px){
  header.top,.quicknav,footer{-webkit-backdrop-filter:none;backdrop-filter:none;
    background:rgba(7,4,15,.95)}
  :root[data-theme="light"] header.top,:root[data-theme="light"] .quicknav,
  :root[data-theme="light"] footer{background:rgba(248,245,252,.97)}
}
.brand{color:var(--ink)}
.navlinks a{color:var(--ink-2)}
.navlinks a:hover{color:var(--uv-ice);background:rgba(var(--glow-v),.1)}
.navlinks a.active,.qp.on{background:var(--grad2);color:#04020A;font-weight:700;
  box-shadow:0 0 20px -4px rgba(var(--glow-v),.8)}
.top .icons .cart{background:var(--grad2);color:#04020A;font-weight:700;
  box-shadow:0 0 22px -6px rgba(var(--glow-m),.9)}
.top .search input,.mobnav .msearch input,.input,.textarea,.sel,.sortsel select,
.dsearch input,.qv-field select{
  background:rgba(20,196,255,.06);border:1px solid var(--line);color:var(--ink)}
:root[data-theme="light"] .top .search input,
:root[data-theme="light"] .input,:root[data-theme="light"] .textarea,
:root[data-theme="light"] .sel,:root[data-theme="light"] .dsearch input{
  background:rgba(255,255,255,.85)}
.top .search .kbd{background:rgba(20,196,255,.1);border-color:var(--line);color:var(--ink-2)}
.bigsearch input{background:rgba(6,3,14,.72);border:1px solid rgba(var(--glow-v),.45);
  color:var(--ink);
  box-shadow:0 0 34px -10px rgba(var(--glow-v),.75),inset 0 0 24px -12px rgba(var(--glow-v),.6)}
.bigsearch input::placeholder{color:var(--ink-mut)}
.bigsearch input:focus{border-color:rgb(var(--glow-v));
  box-shadow:0 0 44px -8px rgba(var(--glow-v),.95)}
.bigsearch .go{background:var(--grad2);color:#04020A;font-weight:800}
.tchip{background:rgba(20,196,255,.08);border-color:var(--line);color:var(--uv-ice)}
.tchip:hover{border-color:rgb(var(--glow-v));background:rgba(20,196,255,.16)}
.hstats .s b{color:var(--ink);text-shadow:0 0 26px rgba(var(--glow-v),.6)}
.hstats .s span{color:var(--ink-2)}
.hstats::before,.hstats::after{background:linear-gradient(90deg,transparent,
  rgba(var(--glow-v),.6),transparent)}
.hstats .s{border-right-color:var(--rule)}
.drop>.wrap{background:rgba(8,4,18,.8);border:1px solid rgba(var(--glow-m),.45);
  box-shadow:0 0 34px -12px rgba(var(--glow-m),.8)}
.drop .tag{color:var(--uv-ice)}

/* buttons carry the measured gradient and a real glow */
.btn,.solid,.msgo,.qv-add,.pact.add,.pact.opts{
  background:var(--grad2);color:#04020A;font-weight:800;
  box-shadow:0 0 26px -8px rgba(var(--glow-m),.85)}
.btn:hover,.solid:hover,.qv-add:hover{box-shadow:0 0 38px -6px rgba(var(--glow-m),1)}
.btn2{background:transparent;border:1px solid var(--line-strong);color:var(--ink)}
.btn2:hover{border-color:rgb(var(--glow-v));color:var(--uv-ice)}

/* overlays */
.wf{background:rgba(9,5,20,.96);border-color:rgba(var(--glow-v),.4);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.28),0 0 90px -20px rgba(var(--glow-v),.7),
             0 40px 100px -40px #000}
.wf-it.sel{background:rgba(var(--glow-v),.14);border-left-color:rgb(var(--glow-m))}
.qv{background:rgba(9,5,20,.98);border-color:rgba(var(--glow-v),.35)}
.descent{background:rgba(9,5,20,.86);border-color:var(--line)}
:root[data-theme="light"] .wf{background:rgba(250,248,253,.98)}
:root[data-theme="light"] .qv{background:rgba(250,248,253,.99)}
:root[data-theme="light"] .descent{background:rgba(250,248,253,.9)}
.dmark::before{background:var(--line-strong)}
.dmark.on::before{background:rgb(var(--glow-m))}
.descent .vein i{background:linear-gradient(180deg,var(--uv-cyan),var(--uv-mag))}

/* the vendor cards are the art; frame them in light */
.vc{border:1px solid rgba(var(--glow-v),.28);
  box-shadow:0 20px 44px -26px #000}
.vc:hover{border-color:rgb(var(--glow-m));
  box-shadow:0 0 30px -6px rgba(var(--glow-m),.8),0 26px 60px -28px #000}
.vc .vcbadge{background:rgba(6,3,14,.72);border-color:rgba(var(--glow-v),.5);
  color:var(--uv-ice)}
.vc .vcname{color:#fff}

/* the seal and the spore take the measured hues */
.p100,.pcard .p100{color:var(--uv-green)!important}
.dot.g{background-color:var(--uv-green)}
.plan li::before,.mspot .mspts span::before{background:var(--uv-green)}
.band .feat::before{background:var(--uv-green)}

/* ---------------------------------------------------------------------------
   7. FOCUS AND SELECTION, in the house colours
   ------------------------------------------------------------------------- */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:1.5px solid rgb(var(--glow-v));outline-offset:3px;
  box-shadow:0 0 0 5px rgba(var(--glow-v),.22),0 0 20px -4px rgba(var(--glow-v),.8)}
::selection{background:rgba(var(--glow-v),.32);color:#fff}
::-webkit-scrollbar-thumb{background:rgba(var(--glow-v),.45);background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:rgb(var(--glow-v));background-clip:content-box}

/* ---------------------------------------------------------------------------
   8. THE HERO READS
   The rune sky is busy, which is the point of it, so the words get their own
   pool of dark rather than the painting being dimmed to suit them.
   ------------------------------------------------------------------------- */
.heroin::before{
  width:min(1000px,96%);height:min(620px,92%);
  background:radial-gradient(58% 52% at 50% 46%,
    rgba(4,2,10,.34) 0,rgba(4,2,10,.2) 46%,transparent 78%)!important;
  filter:blur(20px)}
.hero h1{text-shadow:0 2px 22px rgba(0,0,0,.95),0 0 70px rgba(0,0,0,.8),
  0 0 110px rgba(var(--glow-v),.5)}
.hero .sub{color:#DCEBFA;text-shadow:0 1px 14px rgba(0,0,0,.95),0 0 30px rgba(0,0,0,.7)}
.hero .herocap,.hero .orn .txt{color:#BFE4FF;text-shadow:0 1px 12px rgba(0,0,0,.95)}
.hero .orn .line,.hero .orn .line.r{background:linear-gradient(90deg,transparent,rgba(20,196,255,.55))}
.hero .orn .line.r{background:linear-gradient(90deg,rgba(20,196,255,.55),transparent)}
.hero .hstats{background:rgba(5,3,12,.62);border:1px solid rgba(var(--glow-v),.28);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
@media(max-width:860px){
  .hero .hstats{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(5,3,12,.8)}
}
.hero .tchip{background:rgba(5,3,12,.6);border-color:rgba(var(--glow-v),.35);color:#DCEBFA}
.trending .l{color:#9FC8E6}

/* ---------------------------------------------------------------------------
   9. READABLE OVER A BUSY PAINTING
   In the art nothing is a transparent pane: forms are DARK with a lit contour.
   So the cards are dark bodies with a neon rim, which is both more faithful to
   the source and the only way text survives over a rune sky. And the passage
   floor darkens down its centre so running copy always has ground under it.
   ------------------------------------------------------------------------- */
:root,:root[data-theme="dark"]{
  --surface:rgba(8,4,18,.74);
  --well:rgba(8,4,18,.6);
}
:root[data-theme="light"]{--surface:rgba(255,255,255,.92);--well:rgba(14,10,26,.05)}

.cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary,.coll,.notice,.plan{
  background:var(--surface);
  -webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2)}
@media(max-width:860px){
  .cell,.pcard,.tier,.mspot,.vchip,.formcard,.summary{
    background:rgba(8,4,18,.9);
    -webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-theme="light"] .cell,:root[data-theme="light"] .pcard,
  :root[data-theme="light"] .tier,:root[data-theme="light"] .mspot,
  :root[data-theme="light"] .formcard,:root[data-theme="light"] .summary{
    background:rgba(255,255,255,.96)}
}
.pcard .im{background:rgba(4,2,10,.5)}
.cell .nm,.pcard .pn,.tier .tn{color:var(--ink)}
.cell .ct,.pcard .pc{color:var(--ink-2)}
.cell .ix,.pcard .fl,.pcard .srctag{background:rgba(4,2,10,.8);border-color:var(--line);
  color:var(--uv-ice)}

/* The floor of the passage.
   Behind the hero the painting runs at full strength, because there is nothing
   to read there but four words. Everywhere you actually read it drops right
   back: the cave should be something you can see is there, not something
   competing with the price.

   The floor is drawn on a pseudo-element pinned to 100vw rather than on the
   element itself, because the content wrapper is only 1200px wide and a
   background on it leaves the margins showing raw painting either side. */
section.blk.shafted,div.pagewrap.shafted,div.wrap.shafted,footer.shafted{
  background:none;position:relative}
section.blk.shafted>*,div.pagewrap.shafted>*,div.wrap.shafted>*,footer.shafted>*{
  position:relative;z-index:1}
section.blk.shafted::after,div.pagewrap.shafted::after,
div.wrap.shafted::after,footer.shafted::after{
  content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;
  transform:translateX(-50%);z-index:0;pointer-events:none;
  background:linear-gradient(90deg,
    rgba(6,3,14,.72) 0,
    rgba(6,3,14,.86) 18%,
    rgba(6,3,14,.93) 38%,
    rgba(6,3,14,.94) 50%,
    rgba(6,3,14,.93) 62%,
    rgba(6,3,14,.86) 82%,
    rgba(6,3,14,.72) 100%)}
:root[data-theme="light"] section.blk.shafted::after,
:root[data-theme="light"] div.pagewrap.shafted::after,
:root[data-theme="light"] div.wrap.shafted::after,
:root[data-theme="light"] footer.shafted::after{
  background:linear-gradient(90deg,
    rgba(246,243,250,.82) 0,
    rgba(246,243,250,.96) 20%,
    rgba(246,243,250,.98) 50%,
    rgba(246,243,250,.96) 80%,
    rgba(246,243,250,.82) 100%)}
@media(min-width:861px){:root{--col:1180px}}
@media(max-width:860px){
  section.blk.shafted::after,div.pagewrap.shafted::after,
  div.wrap.shafted::after,footer.shafted::after{background:rgba(6,3,14,.92)}
  :root[data-theme="light"] section.blk.shafted::after,
  :root[data-theme="light"] div.wrap.shafted::after,
  :root[data-theme="light"] footer.shafted::after{background:rgba(246,243,250,.97)}
}

/* The page head on an inner page sits above the content, not the hero, so it
   quietens too: enough painting to know where you are, not enough to read past. */
.phead::before{background:linear-gradient(180deg,
  rgba(5,3,12,.74) 0,rgba(5,3,12,.56) 46%,rgba(5,3,12,.78) 100%)!important}
@media(min-width:861px){
  .phead::before{background:linear-gradient(180deg,
    rgba(5,3,12,.74) 0,rgba(5,3,12,.56) 46%,rgba(5,3,12,.78) 100%)!important}
}

/* the rune sits above the floor, so it still reads */
.blk .shead::after{z-index:0;opacity:.16}
.blk .shead>*{position:relative;z-index:1}

/* the hero, the band and the page heads are pictures in both themes */
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .phead h1,
:root[data-theme="light"] .band h2{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.9)}
:root[data-theme="light"] .hero .sub,
:root[data-theme="light"] .phead p{color:#DCEBFA}
:root[data-theme="light"] .hero .herocap,
:root[data-theme="light"] .hero .orn .txt,
:root[data-theme="light"] .phead .eyebrow,
:root[data-theme="light"] .band .eyebrow{color:#BFE4FF}
:root[data-theme="light"] .band p,
:root[data-theme="light"] .band .feat{color:#D6E6F5}
:root[data-theme="light"] .hstats .s b{color:#fff}
:root[data-theme="light"] .hstats .s span{color:#BFE4FF}

/* ---------------------------------------------------------------------------
   10. THE HERO, PARED BACK
   The hero is the painting. Everything in front of it now earns its place: a
   line to say where we are, the name, and the one thing a visitor comes to do.
   The promise moved down onto the plate, where it can be read properly instead
   of competing with the art for the same square inches.
   ------------------------------------------------------------------------- */
.heroin{padding:clamp(96px,14vw,190px) 0 clamp(110px,15vw,200px)}
.hero .herocap{letter-spacing:.32em;font-size:11px;margin-bottom:30px;opacity:.9}
.hero h1{margin-bottom:clamp(34px,5vw,58px)}
.bigsearch{margin-top:0}
.trending{margin-top:22px;opacity:.9}
.trending .l{font-size:10.5px;letter-spacing:.2em}
.hero .tchip{font-size:12.5px;padding:7px 14px}
.hstats{margin-top:clamp(38px,5vw,64px);max-width:520px}

/* less copy in front of the art means the art needs less holding back */
.heroin::before{
  width:min(880px,92%);height:min(460px,70%);top:42%;
  background:radial-gradient(58% 52% at 50% 46%,
    rgba(4,2,10,.26) 0,rgba(4,2,10,.14) 48%,transparent 78%)!important}
.hero::after{box-shadow:inset 0 0 180px 44px rgba(4,2,12,.4)}

/* ---------------------------------------------------------------------------
   11. THE PLATE
   It was a countdown; it is now the thing the whole marketplace is for. Set as
   one sentence with the part that matters carrying the weight.
   ------------------------------------------------------------------------- */
.drop{margin-top:calc(-1 * clamp(30px,4vw,60px))}
.drop>.wrap{padding:clamp(20px,2.6vw,30px) clamp(24px,4vw,52px);
  max-width:min(940px,calc(100% - 44px))}
.drop .promise{margin:0;text-align:center;
  font-size:clamp(15px,1.55vw,18.5px);line-height:1.62;
  color:#DCEBFA;max-width:62ch;
  text-shadow:0 1px 12px rgba(0,0,0,.7)}
.drop .promise b{color:#fff;font-weight:700;
  text-shadow:0 0 22px rgba(var(--glow-v),.75)}
@media(max-width:640px){
  .drop>.wrap{padding:20px 22px}
  .drop .promise{font-size:15px;line-height:1.6}
}

/* the promise sets as two even lines rather than orphaning "sale." */
.drop .promise{max-width:54ch;text-wrap:balance;margin:0 auto}
.drop>.wrap{border-radius:18px;max-width:min(820px,calc(100% - 44px))}
@media(max-width:640px){.drop>.wrap{border-radius:16px}}
/* the headline sits over the brightest part of the swirl, so it keeps a little
   more of its own weight now that nothing else is competing for the space */
.hero h1{text-shadow:0 2px 18px rgba(0,0,0,.95),0 0 58px rgba(0,0,0,.75),
  0 0 120px rgba(var(--glow-v),.45)}

/* ---------------------------------------------------------------------------
   12. "THE PROOF IS THE HEADLINE"
   The figures are the sentence. Both are live, so the headline restates itself
   as the catalogue grows. Values below are the mockup's, kept exactly, because
   a hero that reads differently on the site than it did in the mockup is not
   the hero that was chosen.
   ------------------------------------------------------------------------- */
.hero h1{font-size:clamp(2.6rem,5.6vw,4.2rem);line-height:1.06;letter-spacing:-.012em;
  margin-bottom:0}
.bigsearch{margin-top:42px}
.heroin{padding:clamp(104px,14vw,180px) 0 clamp(120px,16vw,210px)}
.hero .herocap{letter-spacing:.28em;font-size:11.5px;margin-bottom:clamp(24px,3vw,34px)}
.hero h1 .grad{font-variant-numeric:tabular-nums}
@media(max-width:640px){
  .hero h1{font-size:clamp(2.1rem,9vw,2.9rem);line-height:1.1}
  .bigsearch{margin-top:30px}
  .hero .herocap{font-size:10.5px;letter-spacing:.2em}
}

/* ---- cave-lab.css ---- */
/* ============================================================================
   CULTURE CAVE - THE LAB, styled
   Instruments, not widgets: brushed dark bodies, neon readouts, hairline rules.
   ========================================================================== */

/* ------------------------------------------------------------ the scope --- */
.scope{position:relative;overflow:hidden;border-radius:12px;isolation:isolate;
  background:#04020C;border:1px solid rgba(var(--glow-v),.34);
  box-shadow:inset 0 0 60px -18px rgba(var(--glow-v),.55)}
.scope .sc-stage{position:absolute;inset:0;transform-origin:center;
  transition:transform .12s linear;cursor:zoom-in}
.scope.zoomed .sc-stage{cursor:grab}
.scope.grab .sc-stage{cursor:grabbing;transition:none}
.scope .sc-img{width:100%;height:100%;object-fit:cover;display:block;
  transition:filter .18s ease;user-select:none;-webkit-user-drag:none}
/* the eyepiece: a round field with the rest masked off */
.scope::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background:radial-gradient(circle at 50% 50%,transparent 56%,rgba(2,1,6,.62) 74%,rgba(2,1,6,.94) 100%)}
.scope .sc-ret{position:absolute;inset:0;pointer-events:none;z-index:4;opacity:.5}
.scope .sc-ret i{position:absolute;background:rgba(var(--glow-v),.55)}
.scope .sc-ret .h{left:50%;top:0;bottom:0;width:1px;transform:translateX(-.5px)}
.scope .sc-ret .v{top:50%;left:0;right:0;height:1px;transform:translateY(-.5px)}
.scope .sc-ret .c{left:50%;top:50%;width:74px;height:74px;margin:-37px 0 0 -37px;
  background:none;border:1px solid rgba(var(--glow-v),.6);border-radius:50%}
.scope .sc-ret .sweep{left:50%;top:50%;width:44%;height:1px;transform-origin:0 50%;
  background:linear-gradient(90deg,rgba(var(--glow-v),.75),transparent);
  animation:scsweep 7s linear infinite}
@keyframes scsweep{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.scope .sc-ret .sweep{animation:none;opacity:.3}}
.scope[data-field="uv"] .sc-ret i{background:rgba(var(--glow-m),.6)}
.scope .sc-hud{position:absolute;top:12px;left:12px;z-index:5;display:flex;gap:10px;
  align-items:center;font-family:var(--mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--uv-ice);
  background:rgba(4,2,12,.72);border:1px solid rgba(var(--glow-v),.3);
  padding:5px 11px;border-radius:6px}
.scope .sc-hud b{font-weight:700;color:#fff}
.scope .sc-hud .sc-fld{opacity:.75}
/* the scale bar restates what its length means at the current magnification */
.scope .sc-scale{position:absolute;right:14px;bottom:64px;z-index:5;text-align:right;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;color:var(--uv-ice)}
.scope .sc-scale i{display:block;width:88px;height:0;margin-bottom:5px;
  border-top:2px solid var(--uv-ice);position:relative}
.scope .sc-scale i::before,.scope .sc-scale i::after{content:"";position:absolute;
  top:-4px;width:2px;height:8px;background:var(--uv-ice)}
.scope .sc-scale i::before{left:0}.scope .sc-scale i::after{right:0}
.scope .sc-ctl{position:absolute;left:10px;right:10px;bottom:10px;z-index:6;
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  background:rgba(4,2,12,.82);border:1px solid rgba(var(--glow-v),.28);
  border-radius:10px;padding:8px 10px;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.scope .sc-b{width:28px;height:28px;flex:none;border-radius:7px;cursor:pointer;
  border:1px solid rgba(var(--glow-v),.35);background:rgba(var(--glow-v),.08);
  color:var(--uv-ice);font-size:15px;line-height:1;display:grid;place-items:center}
.scope .sc-b:hover{background:rgba(var(--glow-v),.2);border-color:rgb(var(--glow-v))}
.scope input[type=range]{flex:1 1 70px;min-width:60px;accent-color:rgb(var(--glow-v));height:20px}
.scope .sc-lb{font-family:var(--mono);font-size:10px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-mut)}
.scope .sc-sep{width:1px;height:20px;background:rgba(var(--glow-v),.22);flex:none}
.scope .sc-fields{display:flex;gap:3px;flex:none}
.scope .sc-fb{font-family:var(--mono);font-size:10px;letter-spacing:.1em;
  text-transform:uppercase;padding:6px 9px;border-radius:6px;cursor:pointer;
  border:1px solid rgba(var(--glow-v),.24);background:transparent;color:var(--ink-mut)}
.scope .sc-fb.on{background:var(--grad2);color:#04020A;border-color:transparent;font-weight:700}
@media(max-width:560px){
  .scope .sc-ctl{gap:6px;padding:7px}
  .scope .sc-lb,.scope .sc-sep{display:none}
  .scope .sc-scale{bottom:88px}
}
/* on a product page the media box becomes the stage */
.pdp .media.scope{aspect-ratio:1}

/* -------------------------------------------------------------- the lab --- */
.lab-sec{margin:0 0 clamp(46px,6vw,84px)}
.lab-h{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.lab-h h3{font-family:var(--display);font-size:clamp(1.4rem,2.6vw,2rem);
  letter-spacing:-.01em;margin:0;color:var(--ink)}
.lab-n{font-family:var(--mono);font-size:11.5px;letter-spacing:.24em;font-weight:700;
  color:rgb(var(--glow-m));text-transform:uppercase}
.lab-sec>p.lab-lead{color:var(--ink-2);font-size:15px;max-width:62ch;margin:0 0 22px}
.lab-body{background:rgba(8,4,18,.74);border:1px solid var(--line);border-radius:14px;
  padding:clamp(18px,2.6vw,30px);position:relative}
:root[data-theme="light"] .lab-body{background:rgba(255,255,255,.92)}
.lab-fine{font-family:var(--mono);font-size:11px;line-height:1.6;color:var(--ink-mut);
  margin:18px 0 0;padding-top:14px;border-top:1px solid var(--rule-2)}
.lab-empty,.lab-load{color:var(--ink-mut);font-size:14px;padding:24px 0;text-align:center}
.lab-f{display:block;margin-bottom:14px}
.lab-f>span{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-2);margin-bottom:7px;font-weight:600}
.lab-f input,.lab-f select{width:100%;background:rgba(var(--glow-v),.06);
  border:1px solid var(--line);border-radius:8px;color:var(--ink);
  padding:11px 13px;font-family:inherit;font-size:14.5px;outline:none}
.lab-f input:focus,.lab-f select:focus{border-color:rgb(var(--glow-v))}

/* lineage --------------------------------------------------------------- */
.lg-r,.lg-k{list-style:none;margin:0;padding:0}
.lg-k{margin-left:clamp(14px,2.4vw,30px);padding-left:clamp(14px,2.4vw,26px);
  border-left:1px solid var(--rule)}
.lg-n{position:relative;margin:7px 0}
.lg-n .lg-b{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;width:100%;
  text-align:left;cursor:pointer;padding:9px 13px;border-radius:9px;
  border:1px solid transparent;background:rgba(var(--glow-v),.05);
  transition:border-color .18s,background .18s,transform .18s}
.lg-n .lg-b:hover{border-color:rgb(var(--glow-v));background:rgba(var(--glow-v),.12);
  transform:translateX(3px)}
.lg-name{font-family:var(--display);font-size:15.5px;color:var(--ink);letter-spacing:.005em}
.lg-note{font-family:var(--mono);font-size:11px;color:var(--ink-mut);letter-spacing:.04em}
.lg-go{margin-left:auto;font-family:var(--mono);font-size:10px;letter-spacing:.16em;
  text-transform:uppercase;color:rgb(var(--glow-m));opacity:0;transition:opacity .18s}
.lg-n .lg-b:hover .lg-go{opacity:1}
.lg-n[data-tier="0"]>.lg-b{background:var(--grad2);border-color:transparent}
.lg-n[data-tier="0"] .lg-name{color:#04020A;font-weight:700}
.lg-n[data-tier="0"] .lg-note{color:rgba(4,2,10,.72)}

/* oracle ---------------------------------------------------------------- */
.or-prog{display:flex;gap:6px;margin-bottom:18px}
.or-prog i{width:34px;height:3px;border-radius:2px;background:var(--rule)}
.or-prog i.done{background:rgb(var(--glow-v))}
.or-prog i.now{background:rgb(var(--glow-m));box-shadow:0 0 8px rgba(var(--glow-m),.9)}
.or-q{font-family:var(--display);font-size:1.25rem;margin:0 0 16px;color:var(--ink)}
.or-a{display:grid;gap:9px}
.or-b{text-align:left;padding:14px 16px;border-radius:10px;cursor:pointer;
  border:1px solid var(--line);background:rgba(var(--glow-v),.05);color:var(--ink);
  font-family:inherit;font-size:14.5px;transition:.18s}
.or-b:hover{border-color:rgb(var(--glow-v));background:rgba(var(--glow-v),.13);transform:translateX(3px)}
.or-back,.or-again{margin-top:16px;background:none;border:0;cursor:pointer;
  font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:rgb(var(--glow-m))}
.or-v h4{font-family:var(--display);font-size:1.5rem;margin:10px 0 10px;color:var(--ink)}
.or-v h5{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-2);margin:18px 0 6px}
.or-v p{color:var(--ink-2);font-size:14.5px;line-height:1.65;margin:0}
.or-k{display:inline-block;font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;
  text-transform:uppercase;font-weight:700;padding:5px 11px;border-radius:6px}
.or-v.contaminant .or-k{background:rgba(255,20,137,.16);color:#FF6BA8;border:1px solid rgba(255,20,137,.4)}
.or-v.healthy .or-k{background:rgba(91,255,158,.14);color:var(--uv-green);border:1px solid rgba(91,255,158,.4)}
.or-v.watch .or-k{background:rgba(255,138,46,.14);color:var(--uv-amber);border:1px solid rgba(255,138,46,.4)}

/* clock ----------------------------------------------------------------- */
.ck-new{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end;
  padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--rule)}
.ck-new .lab-f{margin:0}
.ck-new .btn{height:44px;white-space:nowrap}
@media(max-width:760px){.ck-new{grid-template-columns:1fr}}
.ck-list{display:grid;gap:16px}
.ck-c{border:1px solid var(--line);border-radius:12px;padding:18px;
  background:rgba(var(--glow-v),.04)}
.ck-c header{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ck-c h4{font-family:var(--display);font-size:1.05rem;margin:0;color:var(--ink)}
.ck-sp{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-mut)}
.ck-x{margin-left:auto;background:none;border:0;color:var(--ink-mut);font-size:20px;
  cursor:pointer;line-height:1}
.ck-x:hover{color:rgb(var(--glow-m))}
.ck-age{font-family:var(--mono);font-size:12.5px;color:var(--ink-2);margin-bottom:12px}
.ck-age b{font-size:24px;color:var(--ink);font-weight:500}
.ck-bar{position:relative;height:6px;border-radius:4px;background:var(--rule);overflow:visible;
  margin-bottom:16px}
.ck-bar i{display:block;height:100%;border-radius:4px;
  background:linear-gradient(90deg,var(--uv-cyan),var(--uv-mag))}
.ck-now{position:absolute;top:-5px;width:2px;height:16px;background:#fff;
  box-shadow:0 0 8px rgba(255,255,255,.9);transform:translateX(-1px)}
.ck-st{list-style:none;margin:0 0 12px;padding:0;display:grid;
  grid-template-columns:repeat(4,1fr);gap:8px}
@media(max-width:620px){.ck-st{grid-template-columns:repeat(2,1fr)}}
.ck-st li{padding:9px 10px;border-radius:8px;border:1px solid var(--rule-2);
  background:rgba(0,0,0,.18)}
.ck-st li b{display:block;font-size:12.5px;color:var(--ink-mut);font-weight:600}
.ck-st li span{font-family:var(--mono);font-size:10.5px;color:var(--ink-mut);opacity:.75}
.ck-st li.past{border-color:rgba(var(--glow-v),.3)}
.ck-st li.past b{color:var(--ink-2)}
.ck-st li.now{border-color:rgb(var(--glow-m));background:rgba(var(--glow-m),.1)}
.ck-st li.now b{color:var(--ink)}
.ck-say{font-size:13.5px;color:var(--ink-2);margin:0;line-height:1.6}

/* bench ----------------------------------------------------------------- */
.bn-f{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--rule)}
.bn-f .lab-f{margin:0}
@media(max-width:760px){.bn-f{grid-template-columns:repeat(2,1fr)}}
@media(max-width:440px){.bn-f{grid-template-columns:1fr}}
.bn-dl{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:0;
  background:var(--rule);border:1px solid var(--rule);border-radius:10px;overflow:hidden}
@media(max-width:700px){.bn-dl{grid-template-columns:repeat(2,1fr)}}
.bn-dl>div{background:rgba(8,4,18,.8);padding:15px 16px}
:root[data-theme="light"] .bn-dl>div{background:#fff}
.bn-dl dt{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-mut);margin:0 0 6px}
.bn-dl dd{margin:0;font-family:var(--mono);font-size:20px;color:var(--ink);
  font-variant-numeric:tabular-nums}
.bn-note{font-size:13.5px;color:var(--ink-2);line-height:1.65;margin:16px 0 0}
.bn-note b{color:var(--ink)}

/* depth ----------------------------------------------------------------- */
.dp-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(20px,3vw,40px)}
@media(max-width:820px){.dp-grid{grid-template-columns:1fr}}
.dp-grid h4{font-family:var(--display);font-size:1.1rem;margin:0 0 4px;color:var(--ink)}
.dp-sub{font-size:13px;color:var(--ink-mut);margin:0 0 14px}
.dp-l{list-style:none;margin:0;padding:0;counter-reset:dp}
.dp-l li{counter-increment:dp;border-bottom:1px solid var(--rule-2)}
.dp-l a{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:11px 2px;
  align-items:center;transition:.16s}
.dp-l a:hover{padding-left:8px}
.dp-n{font-size:14.5px;color:var(--ink);font-weight:600}
.dp-n::before{content:counter(dp,decimal-leading-zero);font-family:var(--mono);
  font-size:10.5px;color:var(--ink-mut);margin-right:9px}
.dp-m{font-family:var(--mono);font-size:10.5px;color:var(--ink-mut);grid-column:1}
.dp-v{font-family:var(--mono);font-size:15px;color:rgb(var(--glow-v));
  grid-row:1/3;grid-column:2;font-variant-numeric:tabular-nums}
.dp-bar{grid-column:1;height:3px;border-radius:2px;background:var(--rule);margin-top:5px}
.dp-bar i{display:block;height:100%;border-radius:2px;
  background:linear-gradient(90deg,var(--uv-cyan),var(--uv-mag))}

/* ---------------------------------------------------------------------------
   A <button> does not inherit colour from its ancestors: the UA gives it
   `buttontext`, which is black. Setting the colour only on a span inside it is
   not enough once anything resets it, so every control in the lab states its
   own colour, and its children inherit from the control.
   ------------------------------------------------------------------------- */
.lg-b,.or-b,.or-back,.or-again,.ck-x,.sc-b,.sc-fb,.bn-f button{color:var(--ink)}
.lg-b .lg-name{color:inherit}
.lg-b .lg-note{color:var(--ink-mut)}
.lg-n[data-tier="0"]>.lg-b{color:#04020A}
.lg-n[data-tier="0"]>.lg-b .lg-note{color:rgba(4,2,10,.7)}
.or-b{color:var(--ink)}

/* Stated as literals, not tokens. The lineage nodes were resolving to the light
   ink on a dark body and no amount of token plumbing made that reliable, so the
   two colours that matter are pinned and the light theme restates them. */
.lg-b .lg-name{color:#EAF6FF!important}
.lg-b .lg-note{color:#93A9C6!important}
.lg-n[data-tier="0"]>.lg-b .lg-name{color:#04020A!important}
.lg-n[data-tier="0"]>.lg-b .lg-note{color:rgba(4,2,10,.72)!important}
:root[data-theme="light"] .lg-b .lg-name{color:#0E0A1A!important}
:root[data-theme="light"] .lg-b .lg-note{color:#5A5270!important}
:root[data-theme="light"] .lg-n[data-tier="0"]>.lg-b .lg-name{color:#04020A!important}
.or-b{color:#EAF6FF}
:root[data-theme="light"] .or-b{color:#0E0A1A}

/* The cultivation instruments state their scope. Culture Cave sells its
   Psilocybe genetics for microscopy and taxonomy, so the tools that assume a
   grow have to say which species they are for. */
.lab-scope{grid-column:1/-1;margin:2px 0 0;display:flex;align-items:flex-start;gap:8px;
  color:var(--ink-2);opacity:.95}
.lab-scope::before{content:"";flex:none;width:3px;align-self:stretch;border-radius:2px;
  background:linear-gradient(180deg,rgb(var(--glow-v)),rgb(var(--glow-m)));opacity:.7}

/* ---------------------------------------------------------------- the stage
   WITHOUT touch-action:none THE SLIDE CANNOT BE MOVED ON A PHONE. The browser
   claims the drag for scrolling before pointermove ever fires, so the scope
   looked like it only had one fixed zoom point. This one line is the fix. */
.scope .sc-stage{touch-action:none;-webkit-user-select:none;user-select:none}
.scope{outline:none}
.scope:focus-visible{outline:2px solid var(--uv-ice,#7FEBFF);outline-offset:3px}
.scope .sc-img{pointer-events:none;-webkit-user-drag:none}

/* say how to drive it, once, then get out of the way */
.scope .sc-hint{position:absolute;left:50%;top:14px;transform:translateX(-50%);
  z-index:6;pointer-events:none;white-space:nowrap;max-width:calc(100% - 24px);
  overflow:hidden;text-overflow:ellipsis;
  padding:7px 12px;border-radius:999px;
  background:rgba(6,3,14,.82);border:1px solid rgba(var(--glow-v),.34);
  color:#CFE6FA;font:600 9.5px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  opacity:0;transition:opacity .5s ease}
.scope:hover .sc-hint,.scope:focus-within .sc-hint{opacity:1}
.scope.touched .sc-hint{opacity:0!important}
@media(pointer:coarse){
  .scope .sc-hint{opacity:1}
  .scope .sc-hint::after{content:""}
}
@media(max-width:560px){
  .scope .sc-hint{font-size:8.6px;letter-spacing:.06em;padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){
  .scope .sc-hint{transition:none}
}

/* The HUD and the scale bar are READOUTS, not controls. Left interactive they
   swallow a drag that happens to start on them, which on a phone is most of the
   top-left corner of the stage. */
.scope .sc-hud,.scope .sc-scale{pointer-events:none}

/* ---- cave-stalk.css ---- */
/* ============================================================================
   CULTURE CAVE - THE STALK, dressed
   Hyphae's gesture, Culture Cave's hand: the handle is a carved slab with the
   house spore on it, the branches grow on a lit filament, and the node under
   your thumb fills with the brand gradient.
   ========================================================================== */

/* ---------------------------------------------------------------- the handle
   It sits above the fold of the page rather than in a dock, because Culture
   Cave has no dock: it is a marketplace, not an app shell. */
#cc-stalk-handle{
  position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);z-index:191;
  display:inline-flex;align-items:center;gap:11px;
  padding:12px 20px 12px 16px;border-radius:999px;cursor:pointer;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;
  font-weight:700;color:var(--uv-ice,#7FEBFF);
  background:rgba(8,4,18,.9);
  border:1px solid rgba(var(--glow-v),.5);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.16),
             0 10px 34px -10px rgba(var(--glow-v),.8),
             0 22px 50px -26px #000,
             inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease,border-color .22s ease;
  -webkit-user-select:none;user-select:none;-webkit-user-drag:none;touch-action:none}
#cc-stalk-handle:hover{transform:translateX(-50%) translateY(-2px);
  border-color:rgb(var(--glow-m));
  box-shadow:0 0 0 1px rgba(var(--glow-m),.3),
             0 14px 40px -10px rgba(var(--glow-m),.9),0 24px 56px -26px #000}
#cc-stalk-handle.pulling{transform:translateX(-50%) scale(.97)}
#cc-stalk-handle:focus-visible{outline:2px solid rgb(var(--glow-m));outline-offset:4px}
/* the house mark, breathing */
#cc-stalk-handle .sk-spore{width:17px;height:17px;flex:none;
  background:linear-gradient(120deg,var(--uv-cyan,#14C4FF),var(--uv-mag,#FF14C4));
  -webkit-mask:var(--spore) center/contain no-repeat;mask:var(--spore) center/contain no-repeat;
  animation:skbreath 4.5s ease-in-out infinite}
@keyframes skbreath{0%,100%{opacity:.8;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
#cc-stalk-handle .sk-n{font-size:10px;letter-spacing:.08em;color:var(--ink-mut,#6E839E);
  padding-left:11px;border-left:1px solid rgba(var(--glow-v),.28)}
@media (prefers-reduced-motion:reduce){#cc-stalk-handle .sk-spore{animation:none}}
/* out of the way while a full-screen overlay is up */
.wf-ov.on ~ #cc-stalk-handle,body:has(.qv.on) #cc-stalk-handle{opacity:0;pointer-events:none}
@media(max-width:520px){
  #cc-stalk-handle{padding:11px 16px 11px 13px;gap:9px;font-size:10.5px;letter-spacing:.16em}
  #cc-stalk-handle .sk-n{display:none}
  #cc-stalksay{max-width:min(300px,88vw);padding:9px 14px}
  #cc-stalksay b{font-size:15px}
  #cc-stalksay s{font-size:9.8px;letter-spacing:.04em}
}

/* ----------------------------------------------------------- the menu layer */
/* The veil colour sits on the layer itself as well as on its child. On a phone
   the child alone was not painting, and a menu you cannot read the page behind
   is better than a menu with the page shouting through it. The z-index clears
   everything the page itself uses. */
#cc-stalk{position:fixed;inset:0;z-index:190;pointer-events:none;opacity:0;
  background:rgba(5,2,12,.92);
  transition:opacity .18s ease}
#cc-stalk.on{opacity:1;pointer-events:auto}
/* THE VEIL IS TRANSLUCENT. Never hide the page you are navigating away from:
   the whole complaint about a modal drawer is that it covers what you were
   reading in order to help you leave it. */
/* Translucent, but only just: you should still know what you are leaving,
   without the page competing with the branches you are choosing between. */
#cc-stalk .sk-veil{position:absolute;inset:0;
  background:rgba(5,2,12,.90);
  -webkit-backdrop-filter:blur(6px) saturate(.85);backdrop-filter:blur(6px) saturate(.85)}
#cc-stalklines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
/* the filament: the same two hues everything else in the cave glows with */
.sk-live{fill:none;stroke:url(#ccstalkgrad);stroke-width:2.5;stroke-linecap:round;
  opacity:.9;filter:drop-shadow(0 0 6px rgba(var(--glow-v),.8))}
#cc-stalknodes{position:absolute;inset:0}

.sk-node{position:absolute;transform:translate(-50%,-50%) scale(.5);opacity:0;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  width:var(--slot,92px);
  cursor:pointer;
  transition:opacity .18s ease,transform .3s cubic-bezier(.34,1.4,.64,1)}
.sk-node.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.sk-disc{position:relative;width:48px;height:48px;border-radius:50%;display:grid;
  place-items:center;
  background:rgba(10,5,22,.92);
  border:1px solid rgba(var(--glow-v),.45);
  color:var(--uv-ice,#7FEBFF);
  box-shadow:0 0 18px -6px rgba(var(--glow-v),.7),0 10px 24px -12px #000;
  transition:transform .18s cubic-bezier(.34,1.4,.64,1),background .18s,border-color .18s,box-shadow .18s}
.sk-node b{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;font-weight:600;
  color:#CFE6FA;text-align:center;max-width:100%;line-height:1.28;
  /* the name shrinks a little when its slot is tight rather than colliding */
  font-size:clamp(9.4px,calc(var(--slot,92px) * .118),10.8px);
  overflow-wrap:anywhere;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  text-shadow:0 1px 8px rgba(0,0,0,.95),0 0 14px rgba(0,0,0,.8)}
/* a branch you have already passed through */
.sk-node.via .sk-disc{background:rgba(var(--glow-v),.16);border-color:rgba(var(--glow-v),.75)}
/* the one under your thumb */
.sk-node.at .sk-disc{background:linear-gradient(122deg,var(--uv-cyan,#14C4FF),var(--uv-mag,#FF14C4));
  color:#04020A;border-color:transparent;transform:scale(1.2);
  box-shadow:0 0 30px -4px rgba(var(--glow-m),.95),0 12px 30px -12px #000}
.sk-node.at b{color:#fff;font-weight:700}
.sk-node:hover .sk-disc{transform:scale(1.1);border-color:rgb(var(--glow-m))}
.sk-cnt{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:999px;
  padding:0 5px;background:var(--uv-mag,#FF14C4);color:#fff;
  font-family:var(--mono);font-size:9.5px;font-weight:700;line-height:18px;text-align:center;
  box-shadow:0 0 10px rgba(var(--glow-m),.9)}

/* a pill says what releasing will do, BEFORE it commits */
#cc-stalksay{position:absolute;left:50%;transform:translateX(-50%);max-width:82vw;z-index:3;
  padding:10px 17px;border-radius:14px;text-align:center;
  background:rgba(8,4,18,.94);border:1px solid rgba(var(--glow-v),.4);
  box-shadow:0 0 26px -8px rgba(var(--glow-v),.7),0 18px 40px -20px #000;
  transition:top .18s ease}
#cc-stalksay b{display:inline-flex;align-items:center;gap:9px;
  font-family:var(--display);font-size:16px;color:#fff;letter-spacing:.01em}
#cc-stalksay b svg{color:var(--uv-cyan,#14C4FF)}
#cc-stalksay s{display:block;text-decoration:none;font-family:var(--mono);
  font-size:10.5px;letter-spacing:.06em;color:var(--ink-mut,#6E839E);margin-top:4px}

/* a depth gauge teaches the gesture without a tutorial */
#cc-stalkdepth{position:absolute;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:3}
#cc-stalkdepth i{width:20px;height:3px;border-radius:999px;
  background:rgba(var(--glow-v),.22);transition:background .18s,box-shadow .18s}
#cc-stalkdepth i.on{background:rgb(var(--glow-m));box-shadow:0 0 8px rgba(var(--glow-m),.9)}

/* the hint, once, then never again */
.sk-hint{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));
  z-index:93;transform:translateX(-50%);pointer-events:none;
  display:flex;align-items:center;gap:9px;padding:9px 15px;border-radius:999px;
  background:rgba(var(--glow-v),.14);border:1px solid rgba(var(--glow-v),.45);
  color:var(--uv-ice,#7FEBFF);font-family:var(--mono);font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;white-space:nowrap;
  animation:skfade 8s ease forwards}
@keyframes skfade{0%{opacity:0;transform:translate(-50%,10px)}
  9%{opacity:1;transform:translate(-50%,0)}86%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.sk-hint{animation:none;opacity:1}}

/* while the menu is open the page underneath stops scrolling out from under it */
body.stalking{overflow:hidden}

/* ============================================================================
   THE STALK v2 - finding, and the trail
   Once the menu holds the whole catalogue, walking to a thing is slower than
   naming it. Any keystroke turns the web into a launcher.
   ========================================================================== */
#cc-stalkfind{position:absolute;left:50%;top:clamp(64px,13vh,150px);transform:translateX(-50%);
  width:min(520px,90vw);display:none;z-index:4}
#cc-stalk.finding #cc-stalkfind{display:block}
#cc-stalk.finding #cc-stalksay{display:none}
.sk-fbar{display:flex;align-items:center;gap:11px;padding:13px 16px;border-radius:14px;
  background:rgba(8,4,18,.96);border:1px solid rgba(var(--glow-v),.5);
  box-shadow:0 0 30px -8px rgba(var(--glow-v),.8),0 20px 44px -22px #000}
.sk-fic{display:grid;place-items:center;color:var(--uv-cyan,#14C4FF);flex:none}
#cc-stalkq{flex:1;min-width:0;background:none;border:0;outline:none;color:#EAF6FF;
  font-family:var(--sans);font-size:16px;letter-spacing:.005em}
#cc-stalkq::placeholder{color:var(--ink-mut,#6E839E)}
.sk-fesc{font-family:var(--mono);font-size:10px;letter-spacing:.1em;color:var(--ink-mut,#6E839E);
  border:1px solid rgba(var(--glow-v),.3);border-radius:6px;padding:3px 7px;flex:none}
#cc-stalkhits{margin-top:10px;display:grid;gap:6px;max-height:min(52vh,420px);overflow:auto;
  overscroll-behavior:contain;padding-right:2px}
.sk-hit{display:flex;align-items:center;gap:12px;width:100%;text-align:left;cursor:pointer;
  padding:10px 13px;border-radius:11px;
  background:rgba(10,5,22,.9);border:1px solid rgba(var(--glow-v),.24);
  color:#EAF6FF;font-family:inherit;transition:border-color .15s,background .15s,transform .15s}
.sk-hit:hover,.sk-hit.on{border-color:rgb(var(--glow-m));background:rgba(var(--glow-v),.14);
  transform:translateX(3px)}
.sk-hit .hi{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;flex:none;
  background:rgba(var(--glow-v),.12);color:var(--uv-ice,#7FEBFF)}
.sk-hit.on .hi{background:linear-gradient(122deg,var(--uv-cyan,#14C4FF),var(--uv-mag,#FF14C4));color:#04020A}
.sk-hit .ht{min-width:0;flex:1}
.sk-hit .ht b{display:block;font-size:14.5px;font-weight:600;line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sk-hit .ht s{display:block;text-decoration:none;font-family:var(--mono);font-size:10.5px;
  color:var(--ink-mut,#6E839E);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sk-hit .hc{font-family:var(--mono);font-size:11px;color:var(--uv-mag,#FF14C4);flex:none}
.sk-none{padding:22px;text-align:center;color:var(--ink-mut,#6E839E);
  font-family:var(--mono);font-size:12px}

/* the trail: how you got to where the readout is pointing */
#cc-stalksay u{display:block;text-decoration:none;font-family:var(--mono);font-size:9.8px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--uv-cyan,#14C4FF);margin-bottom:5px;
  opacity:.85}

@media(max-width:520px){
  #cc-stalkfind{top:56px;width:calc(100vw - 28px)}
  #cc-stalkq{font-size:16px}
  .sk-hit{padding:9px 11px;gap:10px}
  .sk-hit .ht b{font-size:13.5px}
}

/* the deep link opens without the fade, so a capture of it is repeatable */
#cc-stalk.nofade,#cc-stalk.nofade .sk-node{transition:none!important}

/* the branch you came through: present, but plainly behind you */
.sk-node.via{z-index:1}
.sk-node.via .sk-disc{width:38px;height:38px;opacity:.9}
.sk-node.via .sk-disc svg{width:15px;height:15px}
.sk-node.via b{font-size:9.5px;opacity:.75;letter-spacing:.06em}
.sk-node.via .sk-cnt{transform:scale(.8)}

/* a long strain name must ellipsis inside the row, not push the row wider than
   the phone: every level of the flex chain needs to be allowed to shrink */
#cc-stalkhits{width:100%}
.sk-hit{max-width:100%;box-sizing:border-box}
.sk-hit .ht{overflow:hidden;min-width:0}
.sk-hit .ht b,.sk-hit .ht s{max-width:100%}
/* an auto grid track sizes to its items' max-content, and a nowrap strain name
   has a very large one, so the track has to be told it may not exceed the box */
#cc-stalkhits{grid-template-columns:minmax(0,1fr)}

/* ============================================================================
   THE STALK - EXTREME. The menu is the shop.
   Reaching a listing inside the menu and then being thrown out to a page to act
   on it defeats the point, so the listing opens in place with the arc still
   behind it and the basket on the handle.
   ========================================================================== */
#cc-stalkpanel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);
  width:min(460px,calc(100vw - 28px));max-height:min(84vh,720px);overflow:auto;
  overscroll-behavior:contain;display:none;opacity:0;z-index:6;
  border-radius:18px;background:rgba(9,5,20,.985);
  border:1px solid rgba(var(--glow-v),.5);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.18),
             0 0 70px -14px rgba(var(--glow-v),.85),0 40px 90px -40px #000;
  transition:opacity .2s ease,transform .26s cubic-bezier(.34,1.4,.64,1)}
#cc-stalk.shopping #cc-stalkpanel{display:block;opacity:1;transform:translate(-50%,-50%) scale(1)}
#cc-stalk.shopping #cc-stalksay,#cc-stalk.shopping #cc-stalkdepth{opacity:.25}
.sp-x{position:absolute;top:11px;right:11px;z-index:3;width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;
  background:rgba(6,3,14,.8);border:1px solid rgba(var(--glow-v),.4);color:var(--uv-ice,#7FEBFF)}
.sp-x:hover{border-color:rgb(var(--glow-m));color:#fff}
.sp-art{aspect-ratio:16/10;background:rgba(var(--glow-v),.07);overflow:hidden;
  border-bottom:1px solid rgba(var(--glow-v),.22)}
.sp-art img{width:100%;height:100%;object-fit:cover;display:block}
.sp-body{padding:18px 18px 20px}
.sp-ven{font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-mut,#6E839E)}
.sp-body h4{font-family:var(--display);font-size:20px;line-height:1.2;margin:8px 0 0;color:#fff}
.sp-price{display:flex;align-items:baseline;gap:12px;margin-top:12px}
.sp-price b{font-family:var(--mono);font-size:22px;color:#fff;font-variant-numeric:tabular-nums}
.sp-stk{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--uv-green,#5BFF9E)}
.sp-stk.out{color:var(--ink-mut,#6E839E)}
.sp-var{width:100%;margin-top:14px;padding:11px 13px;border-radius:10px;
  background:rgba(var(--glow-v),.08);border:1px solid rgba(var(--glow-v),.32);
  color:#EAF6FF;font-family:inherit;font-size:14.5px;outline:none}
.sp-var:focus{border-color:rgb(var(--glow-v))}
.sp-row{display:flex;gap:10px;margin-top:14px}
.sp-qty{display:inline-flex;align-items:center;flex:none;border-radius:10px;overflow:hidden;
  border:1px solid rgba(var(--glow-v),.32);background:rgba(var(--glow-v),.06)}
.sp-qty button{width:38px;height:44px;border:0;background:none;cursor:pointer;
  color:var(--uv-ice,#7FEBFF);font-size:17px;line-height:1}
.sp-qty button:hover{background:rgba(var(--glow-v),.16)}
.sp-qty b{min-width:34px;text-align:center;font-family:var(--mono);font-size:15px;color:#fff}
.sp-add{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border:0;border-radius:10px;cursor:pointer;padding:0 18px;height:46px;
  background:linear-gradient(122deg,var(--uv-cyan,#14C4FF),var(--uv-mag,#FF14C4));
  color:#04020A;font-family:inherit;font-weight:800;font-size:14.5px;
  box-shadow:0 0 26px -8px rgba(var(--glow-m),.9);
  transition:transform .16s,box-shadow .16s}
.sp-add:hover{transform:translateY(-1px);box-shadow:0 0 36px -6px rgba(var(--glow-m),1)}
.sp-add:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}
.sp-full{display:block;text-align:center;margin-top:14px;padding:6px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--uv-ice,#7FEBFF)}
.sp-full:hover{color:rgb(var(--glow-m))}

/* a listing on the shelf wears its price and a warmer rim than a place does */
.sk-node .sk-disc.buy{border-color:rgba(var(--glow-m),.55)}
.sk-node.at .sk-disc.buy{border-color:transparent}
.sk-node u{display:block;text-decoration:none;font-family:var(--mono);font-size:10px;
  letter-spacing:.04em;color:var(--uv-mag,#FF14C4);margin-top:1px;
  text-shadow:0 1px 8px rgba(0,0,0,.95)}

/* the basket, on the handle, because the menu is also the cart button */
#cc-stalk-handle .sk-cart{min-width:19px;height:19px;padding:0 6px;border-radius:999px;
  background:linear-gradient(122deg,var(--uv-cyan,#14C4FF),var(--uv-mag,#FF14C4));
  color:#04020A;font-family:var(--mono);font-size:10px;font-weight:700;line-height:19px;
  text-align:center;margin-left:-2px}
#cc-stalk-handle .sk-cart.pop{animation:skpop .45s cubic-bezier(.34,1.5,.64,1)}
@keyframes skpop{0%{transform:scale(1)}45%{transform:scale(1.45)}100%{transform:scale(1)}}

.sk-toast{position:absolute;left:50%;bottom:96px;transform:translate(-50%,10px);z-index:8;
  padding:11px 18px;border-radius:999px;opacity:0;pointer-events:none;
  background:rgba(8,4,18,.96);border:1px solid rgba(var(--glow-m),.5);
  color:#EAF6FF;font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;
  box-shadow:0 0 26px -8px rgba(var(--glow-m),.9);
  transition:opacity .2s ease,transform .24s cubic-bezier(.34,1.4,.64,1);
  max-width:82vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sk-toast.on{opacity:1;transform:translate(-50%,0)}

@media(max-width:520px){
  #cc-stalkpanel{width:calc(100vw - 20px);max-height:86vh}
  .sp-art{aspect-ratio:3/2}
  .sp-body{padding:15px 15px 17px}
  .sp-body h4{font-size:18px}
}

/* ============================================================================
   THE ROOM - a place, opened inside the menu
   ========================================================================== */
#cc-stalkroom{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.985);
  width:min(940px,calc(100vw - 24px));height:min(84vh,860px);
  display:none;opacity:0;z-index:7;flex-direction:column;overflow:hidden;
  border-radius:18px;background:rgba(7,4,16,.985);
  border:1px solid rgba(var(--glow-v),.5);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.16),
             0 0 80px -16px rgba(var(--glow-v),.85),0 46px 100px -44px #000;
  transition:opacity .2s ease,transform .26s cubic-bezier(.34,1.4,.64,1)}
#cc-stalk.roomed #cc-stalkroom{display:flex;opacity:1;transform:translate(-50%,-50%) scale(1)}
#cc-stalk.roomed #cc-stalksay,
#cc-stalk.roomed #cc-stalkdepth,
#cc-stalk.roomed #cc-stalknodes,
#cc-stalk.roomed #cc-stalklines{opacity:0;pointer-events:none}

.rm-bar{display:flex;align-items:center;gap:11px;flex:0 0 auto;padding:11px 12px;
  border-bottom:1px solid rgba(var(--glow-v),.28);background:rgba(10,5,22,.9)}
.rm-back,.rm-x,.rm-out{width:34px;height:34px;flex:none;border-radius:9px;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(var(--glow-v),.1);border:1px solid rgba(var(--glow-v),.3);
  color:var(--uv-ice,#7FEBFF);transition:.16s}
.rm-back{transform:scaleX(-1)}
.rm-back:hover,.rm-x:hover,.rm-out:hover{border-color:rgb(var(--glow-m));
  background:rgba(var(--glow-m),.16);color:#fff}
.rm-x{margin-left:0}
.rm-t{flex:1;min-width:0;line-height:1.25}
.rm-t b{display:block;font-family:var(--display);font-size:15.5px;color:#fff;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-t s{display:block;text-decoration:none;font-family:var(--mono);font-size:9.8px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-mut,#6E839E)}
.rm-body{position:relative;flex:1;min-height:0}
#cc-room{width:100%;height:100%;border:0;display:block;background:transparent}
.rm-wait{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:11px;
  color:var(--ink-mut,#6E839E);font-family:var(--mono);font-size:12px;letter-spacing:.1em;
  background:rgba(7,4,16,.96);text-align:center;padding:20px}
.rm-wait a{color:var(--uv-ice,#7FEBFF);text-decoration:underline}
.rm-wait span{width:15px;height:15px;border-radius:50%;flex:none;
  border:2px solid rgba(var(--glow-v),.28);border-top-color:rgb(var(--glow-v));
  animation:rmspin .8s linear infinite}
@keyframes rmspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rm-wait span{animation:none}}

@media(max-width:640px){
  #cc-stalkroom{width:calc(100vw - 14px);height:88vh;border-radius:16px}
  .rm-bar{padding:9px 10px;gap:9px}
  .rm-t b{font-size:14px}
  .rm-out{display:none}
}

/* A node on the outermost arc already carries an icon and a two-line name; the
   price makes it three lines and the ring stops being legible. The readout card
   above shows the price for whatever is highlighted, so the node does not need
   it on a narrow screen. This has to sit at the END of the file: the base
   `.sk-node u{display:block}` rule is further down than where it was first
   written, and a media query adds no specificity to beat it. */
@media(max-width:760px){
  .sk-node u{display:none}
}


/* ======================================================================= THE MAP
   A section drawing through the site. Each top-level branch is a stratum of rock
   at a labelled depth; its children are chambers cut into it; drilling a chamber
   opens a seam of real listings.

   THE GRID IS THE WHOLE TRICK. .sm-section is two columns, and every stratum
   contributes TWO children to it: a .sm-tick (the depth ruler segment) and a
   .sm-band (the rock). Because they are grid siblings on the same implicit row,
   the ruler segment is always exactly as tall as the band it measures, with no
   absolute positioning and nothing that can drift out of step. */
#cc-stalkmap{position:absolute;inset:0;z-index:5;display:none;flex-direction:column;
  --sm-core:46px}
#cc-stalk.mapping #cc-stalkmap{display:flex}
/* the arc steps aside for the map, exactly the way it does for the search */
#cc-stalk.mapping #cc-stalknodes,
#cc-stalk.mapping #cc-stalklines,
#cc-stalk.mapping #cc-stalksay,
#cc-stalk.mapping #cc-stalkdepth{display:none!important}
#cc-stalk.finding #cc-stalkmap{display:none}

.sm-top{flex:0 0 auto;display:flex;align-items:center;gap:8px;
  padding:calc(10px + env(safe-area-inset-top,0px)) 132px 10px 12px;
  background:rgba(6,3,14,.96);border-bottom:1px solid rgba(var(--glow-v),.22);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.sm-here{flex:0 0 auto;font:700 9.5px/1 var(--mono);letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-mut,#7d8ba6);white-space:nowrap}
/* 16px EXACTLY, or iOS Safari zooms the whole overlay on focus and the visitor
   has to pinch back out of a map they can no longer read */
.sm-q{flex:1;min-width:0;height:38px;border-radius:10px;
  background:rgba(255,255,255,.05);border:1px solid rgba(var(--glow-v),.28);
  color:#EAF4FF;font:400 16px/1 var(--sans,system-ui);padding:0 12px;outline:none}
.sm-q::placeholder{color:rgba(220,235,255,.4)}
.sm-q:focus{border-color:rgba(var(--glow-m),.65);background:rgba(255,255,255,.08)}
/* The view switch is a direct child of the sheet, not of the map, so it is still
   there after you flip to the orbit. Top right in both views. */
#cc-stalkview{position:absolute;z-index:7;display:none;padding:3px;border-radius:999px;
  top:calc(10px + env(safe-area-inset-top,0px));right:12px;
  background:rgba(6,3,14,.92);border:1px solid rgba(var(--glow-v),.28);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#cc-stalk.on #cc-stalkview{display:inline-flex}
#cc-stalk.finding #cc-stalkview{display:none}
.sm-v{border:0;background:none;cursor:pointer;border-radius:999px;
  padding:0 11px;height:32px;color:var(--ink-mut,#7d8ba6);
  font:700 9.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.sm-v.on{color:#06121e;background:linear-gradient(120deg,#14C4FF,#FF14C4)}
.sm-v:focus-visible{outline:2px solid #7FEBFF;outline-offset:2px}

.sm-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  position:relative;padding:0 12px calc(104px + env(safe-area-inset-bottom,0px)) 0}
.sm-section{display:grid;grid-template-columns:var(--sm-core) 1fr;align-items:stretch}

/* the ruler: a knotted rope with the depth in metres beside it */
.sm-tick{position:relative;padding-top:16px}
.sm-tick::before{content:"";position:absolute;right:11px;top:0;bottom:0;width:2px;
  background:repeating-linear-gradient(180deg,
    rgba(var(--sm-rgb,20,196,255),.6) 0 7px, rgba(var(--sm-rgb,20,196,255),.1) 7px 13px)}
.sm-tick i{position:sticky;top:6px;display:block;text-align:right;padding-right:22px;
  font:700 9px/1 var(--mono);font-variant-numeric:tabular-nums;
  color:rgba(var(--sm-rgb,20,196,255),.85);font-style:normal}
.sm-tick em{position:absolute;right:7px;top:17px;width:10px;height:10px;border-radius:2px;
  transform:rotate(45deg);background:rgba(var(--sm-rgb,20,196,255),.9);
  box-shadow:0 0 12px rgba(var(--sm-rgb,20,196,255),.7)}
.sm-tick-end::before{bottom:auto;height:22px}

/* the rock */
.sm-band{padding:14px 0 18px 12px;border-top:1px solid rgba(var(--glow-v),.16);
  position:relative;isolation:isolate;
  background:linear-gradient(180deg,rgba(var(--sm-rgb,20,196,255),.075),rgba(var(--sm-rgb,20,196,255),.02)),
    repeating-linear-gradient(180deg,rgba(255,255,255,.028) 0 1px,transparent 1px 7px)}
.sm-face{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:11px}
.sm-ico{width:26px;height:26px;flex:none;border-radius:8px;display:grid;place-items:center;
  background:rgba(var(--sm-rgb,20,196,255),.16);color:#EAF4FF}
.sm-face h3{margin:0;font:400 17px/1.15 var(--display);color:#fff;letter-spacing:.01em}
.sm-lay{margin-left:auto;font:700 9px/1 var(--mono);letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-mut,#7d8ba6);white-space:nowrap}
.sm-all{flex-basis:100%;height:32px;border-radius:9px;cursor:pointer;
  background:rgba(255,255,255,.04);border:1px dashed rgba(var(--sm-rgb,20,196,255),.45);
  color:#CFE6FA;font:700 9.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.sm-all:hover{background:rgba(var(--sm-rgb,20,196,255),.14)}

.sm-chambers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sm-ch{min-height:56px;padding:9px 10px;border-radius:11px;cursor:pointer;text-align:left;
  display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;
  background:rgba(255,255,255,.045);border:1px solid rgba(var(--sm-rgb,20,196,255),.22);
  color:#CFE6FA;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.sm-ch:hover{background:rgba(var(--sm-rgb,20,196,255),.14);
  border-color:rgba(var(--glow-m),.5);transform:translateY(-1px)}
.sm-ch:focus-visible{outline:2px solid #7FEBFF;outline-offset:2px}
.sm-ch.open{background:rgba(var(--sm-rgb,20,196,255),.18);border-color:rgba(var(--glow-m),.6)}
.sm-chi{display:grid;place-items:center;color:rgba(var(--sm-rgb,20,196,255),.95)}
.sm-chn{font:600 12.5px/1.3 var(--sans,system-ui);color:#EAF4FF;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sm-chc,.sm-chd{font:700 9.5px/1 var(--mono);color:var(--uv-mag,#FF7BE5)}
.sm-hl{font-style:normal;background:rgba(255,20,196,.28);border-radius:3px;
  padding:0 2px;color:#fff}

/* the seam: real listings, spanning the full width under the chamber that opened it */
.sm-seam{grid-column:1/-1;margin:2px 0 4px;padding:9px;border-radius:11px;
  background:rgba(4,2,10,.6);border:1px solid rgba(var(--glow-m),.32)}
.sm-lots{display:flex;flex-direction:column;gap:6px}
.sm-lot{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;
  min-height:46px;padding:5px 8px;border-radius:9px;cursor:pointer;text-align:left;
  background:rgba(255,255,255,.04);border:1px solid rgba(var(--glow-v),.16);color:#CFE6FA}
.sm-lot:hover{background:rgba(var(--glow-m),.14);border-color:rgba(var(--glow-m),.5)}
.sm-lotart{width:38px;height:38px;border-radius:7px;overflow:hidden;background:rgba(255,255,255,.06);
  display:grid;place-items:center}
.sm-lotart img{width:100%;height:100%;object-fit:cover;display:block}
.sm-lott{min-width:0}
.sm-lott b{display:block;font:600 12px/1.28 var(--sans,system-ui);color:#EAF4FF;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-lott s{display:block;text-decoration:none;font:400 9.5px/1.3 var(--mono);
  color:var(--ink-mut,#7d8ba6);letter-spacing:.08em;text-transform:uppercase}
.sm-lotp{font:700 11px/1 var(--mono);color:var(--uv-mag,#FF7BE5);white-space:nowrap}
.sm-wait{font:400 11px/1.4 var(--mono);color:var(--ink-mut,#7d8ba6);padding:10px 4px}

.sm-none{grid-column:1/-1;padding:34px 16px;text-align:center}
.sm-none b{display:block;font:400 17px/1.3 var(--display);color:#fff;margin-bottom:14px}
.sm-hand{height:40px;padding:0 16px;border-radius:999px;cursor:pointer;
  background:linear-gradient(120deg,#14C4FF,#FF14C4);border:0;color:#06121e;
  font:700 10px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.sm-floor{grid-column:2/-1;padding:14px 0 4px;font:700 9px/1 var(--mono);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-mut,#7d8ba6)}

@media(min-width:760px){
  #cc-stalkmap{--sm-core:64px}
  .sm-scroll{padding-right:26px}
  .sm-chambers{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sm-face h3{font-size:20px}
  .sm-all{flex-basis:auto;padding:0 14px}
  .sm-lots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1180px){
  .sm-chambers{grid-template-columns:repeat(4,minmax(0,1fr))}
  .sm-lots{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .sm-ch{transition:none}
  .sm-ch:hover{transform:none}
}

/* ---- cave-dive.css ---- */
/* ============================================================================
   CULTURE CAVE - THE CAVE DIVE
   One button that goes into the cave for you: it picks a vendor at random,
   grabs a few of their genetics, drops them in your basket and hands you the
   code that takes 15% off them.
   ========================================================================== */

/* ------------------------------------------------------------------ the button */
.cd-btn{position:relative;display:inline-flex;align-items:center;gap:11px;
  border:0;cursor:pointer;font-family:var(--sans);font-weight:700;font-size:14.5px;
  letter-spacing:.01em;color:#fff;padding:14px 26px 14px 20px;border-radius:999px;
  background:linear-gradient(112deg,#7C3AED,#E250C8 58%,#1FB6EE);
  box-shadow:0 10px 34px -12px rgba(var(--glow-m),.85),
             0 0 0 1px rgba(255,255,255,.16) inset;
  transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease,filter .2s ease}
.cd-btn:hover{transform:translateY(-2px);
  box-shadow:0 16px 44px -12px rgba(var(--glow-m),1),0 0 0 1px rgba(255,255,255,.24) inset}
.cd-btn:active{transform:translateY(0)}
.cd-btn:disabled{cursor:default;filter:saturate(.6) brightness(.9)}
.cd-btn .cd-ic{width:22px;height:22px;flex:none;display:grid;place-items:center}
.cd-btn .cd-ic svg{width:22px;height:22px}
.cd-btn small{display:block;font-family:var(--mono);font-size:9.6px;letter-spacing:.18em;
  text-transform:uppercase;font-weight:600;opacity:.82;margin-top:2px}
.cd-btn .cd-lb{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1}
/* the pulse that says there is something behind this button */
.cd-btn::after{content:"";position:absolute;inset:-3px;border-radius:inherit;pointer-events:none;
  border:1px solid rgba(var(--glow-m),.55);opacity:0;
  animation:cd-ping 3.4s ease-out infinite}
@keyframes cd-ping{0%{opacity:.75;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.13)}}
.cd-btn.busy::after{animation:none;opacity:0}
@media (prefers-reduced-motion:reduce){.cd-btn::after{animation:none;opacity:0}}

/* the descending spore while it is diving */
.cd-btn.busy .cd-ic svg{animation:cd-sink 1s ease-in-out infinite}
@keyframes cd-sink{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}

.hero .cd-wrap{display:flex;justify-content:center;margin-top:22px}

/* ------------------------------------------------------------------ the haul */
.cd-panel{position:relative;z-index:14;scroll-margin-top:96px;
  margin:clamp(26px,4vw,52px) auto;
  max-width:var(--col,1180px);border-radius:18px;overflow:hidden;
  border:1px solid rgba(var(--glow-m),.42);
  background:rgba(var(--shaft),var(--shaft-a));
  box-shadow:0 34px 90px -40px rgba(4,2,14,.95),0 0 60px -30px rgba(var(--glow-m),.8);
  opacity:0;transform:translateY(14px);
  transition:opacity .5s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1)}
.cd-panel.in{opacity:1;transform:none}
.cd-head{display:flex;align-items:center;gap:16px;padding:18px 22px;
  border-bottom:1px solid var(--rule);position:relative}
.cd-head .cd-vimg{width:56px;height:56px;border-radius:12px;object-fit:cover;flex:none;
  border:1px solid var(--line)}
.cd-head .cd-t{min-width:0;flex:1}
.cd-kick{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);
  font-size:10.8px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;
  color:rgb(var(--glow-m))}
.cd-kick::before{content:"";width:20px;height:1px;background:currentColor;flex:none}
.cd-head h3{font-family:var(--display);font-size:clamp(1.15rem,2.2vw,1.5rem);
  margin:6px 0 0;color:var(--ink);letter-spacing:-.01em}
.cd-head .cd-sub{font-family:var(--mono);font-size:11.4px;color:var(--ink-2);margin-top:4px}
.cd-x{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;
  border:1px solid var(--line);background:var(--well);color:var(--ink-2);cursor:pointer;
  display:grid;place-items:center;transition:color .2s,background .2s}
.cd-x:hover{color:var(--ink);background:var(--wash)}
.cd-x svg{width:14px;height:14px}

.cd-items{display:grid;gap:1px;background:var(--rule)}
.cd-row{display:flex;align-items:center;gap:14px;padding:13px 22px;
  background:rgba(var(--shaft),var(--shaft-a))}
.cd-row img,.cd-row .ph{width:46px;height:46px;border-radius:9px;object-fit:cover;flex:none;
  border:1px solid var(--line);background:var(--well)}
.cd-row .cd-n{flex:1;min-width:0;font-size:14.2px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-row .cd-was{font-family:var(--mono);font-size:12.4px;color:var(--ink-mut);
  text-decoration:line-through;flex:none}
.cd-row .cd-now{font-family:var(--mono);font-size:14px;color:var(--ink);flex:none;
  font-variant-numeric:tabular-nums}

.cd-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding:16px 22px;border-top:1px solid var(--rule)}
.cd-save{font-family:var(--mono);font-size:11.6px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:#12915E}
:root[data-theme="dark"] .cd-save{color:#43E3A2}
.cd-code{display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);
  font-size:12.4px;font-weight:600;letter-spacing:.14em;color:var(--ink);
  border:1px dashed rgba(var(--glow-m),.6);border-radius:9px;padding:7px 12px;
  background:rgba(var(--glow-m),.08)}
.cd-acts{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}
.cd-go,.cd-again{border:0;cursor:pointer;font-family:inherit;font-weight:700;font-size:13.6px;
  padding:12px 20px;border-radius:10px;transition:transform .18s,box-shadow .18s}
.cd-go{background:linear-gradient(112deg,#7C3AED,#E250C8);color:#fff;
  box-shadow:0 10px 26px -12px rgba(var(--glow-m),.9)}
.cd-go:hover{transform:translateY(-1px)}
.cd-again{background:var(--well);color:var(--ink);border:1px solid var(--line)}
.cd-again:hover{border-color:rgba(var(--glow-v),.6)}
.cd-note{width:100%;font-family:var(--mono);font-size:11px;line-height:1.5;color:var(--ink-mut)}

@media(max-width:640px){
  .cd-head{padding:15px 16px;gap:12px}
  .cd-row{padding:11px 16px;gap:11px}
  .cd-foot{padding:14px 16px;gap:12px}
  .cd-acts{margin-left:0;width:100%}
  .cd-go,.cd-again{flex:1}
  .cd-row .cd-was{display:none}
}

/* ---- cave-seam.css ---- */
/* ============================================================================
   CULTURE CAVE - THE SEAM, THE SONAR, THE PASSPORT
   Three things that only work because thirty independent growers share one cave.
   Everything here is microscopy and taxonomy framing: specimens, formats,
   collections. Nothing about cultivation.
   ========================================================================== */

.sm-block{margin:clamp(30px,4vw,52px) 0 0;position:relative}
.sm-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.sm-kick{display:inline-flex;align-items:center;gap:11px;font-family:var(--mono);
  font-size:11.2px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;
  color:rgb(var(--glow-m))}
.sm-kick::before{content:"";width:20px;height:1px;background:currentColor;flex:none}
.sm-head h3{font-family:var(--display);font-size:clamp(1.2rem,2.3vw,1.6rem);margin:7px 0 0;
  color:var(--ink);letter-spacing:-.01em}
.sm-head p{margin:5px 0 0;font-size:14px;color:var(--ink-2);max-width:56ch}
.sm-head .sm-t{flex:1;min-width:220px}

/* ------------------------------------------------------------------ the seam */
.sm-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;
  background:var(--surface)}
.sm-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;align-items:center;
  padding:13px 16px;border-top:1px solid var(--rule);text-decoration:none;color:inherit;
  transition:background .18s ease}
.sm-row:first-child{border-top:0}
.sm-row:hover{background:var(--wash)}
.sm-row .sm-v{display:flex;align-items:center;gap:11px;min-width:0}
.sm-row .sm-vi{width:38px;height:38px;border-radius:9px;object-fit:cover;flex:none;
  border:1px solid var(--line);background:var(--well)}
.sm-row .sm-vn{display:block;font-weight:600;font-size:14.2px;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-row .sm-meta{display:block;font-family:var(--mono);font-size:11.2px;color:var(--ink-mut);margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-fmt{font-family:var(--mono);font-size:10.6px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--ink-2);border:1px solid var(--line);border-radius:999px;
  padding:4px 10px;white-space:nowrap}
.sm-price{font-family:var(--mono);font-size:15px;color:var(--ink);font-variant-numeric:tabular-nums;
  white-space:nowrap;text-align:right}
.sm-price s.sm-conv{color:var(--ink-mut);letter-spacing:.02em;text-transform:none;font-weight:500;
  font-size:10.8px;margin-top:3px}
.sm-price s{display:block;font-size:10.4px;color:var(--ink-mut);text-decoration:none;
  letter-spacing:.1em;text-transform:uppercase;margin-top:2px;font-weight:600}
.sm-row.best{background:linear-gradient(90deg,rgba(var(--glow-e),.10),transparent 60%)}
.sm-row.best .sm-price s{color:#12915E}
:root[data-theme="dark"] .sm-row.best .sm-price s{color:#43E3A2}
.sm-row.here{background:var(--well)}
.sm-row.here .sm-price s{color:var(--ink-violet)}
.sm-row.out{opacity:.5}
.sm-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.sm-note{font-family:var(--mono);font-size:11px;color:var(--ink-mut);line-height:1.5}
@media(max-width:640px){
  .sm-row{grid-template-columns:1fr auto;gap:8px 12px;padding:12px 14px}
  .sm-row .sm-v{grid-column:1/-1}
  .sm-fmt{justify-self:start}
}

/* ----------------------------------------------------------------- the sonar */
.sn-btn{display:inline-flex;align-items:center;gap:9px;cursor:pointer;
  font-family:var(--mono);font-size:11.4px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--ink-2);background:var(--well);
  border:1px solid var(--line);border-radius:999px;padding:10px 16px;
  transition:color .18s,border-color .18s,background .18s}
.sn-btn svg{width:15px;height:15px;flex:none}
.sn-btn:hover{color:var(--ink);border-color:rgba(var(--glow-v),.6)}
.sn-btn.on{color:#fff;border-color:transparent;
  background:linear-gradient(112deg,#7C3AED,#E250C8);
  box-shadow:0 8px 22px -12px rgba(var(--glow-m),.9)}
.sn-btn.on .sn-ring{animation:sn-ping 2.6s ease-out infinite}
@keyframes sn-ping{0%{opacity:1;r:3}70%,100%{opacity:0;r:9}}
@media (prefers-reduced-motion:reduce){.sn-btn.on .sn-ring{animation:none}}

/* what the sonar heard while you were away */
.sn-hit{position:fixed;left:50%;bottom:22px;transform:translate(-50%,140%);z-index:1250;
  width:min(520px,calc(100vw - 28px));border-radius:14px;overflow:hidden;
  border:1px solid rgba(var(--glow-e),.5);background:var(--surface);
  box-shadow:0 30px 70px -30px rgba(4,2,14,.95);
  transition:transform .5s cubic-bezier(.16,1,.3,1)}
.sn-hit.in{transform:translate(-50%,0)}
.sn-hit .sn-h{display:flex;align-items:center;gap:12px;padding:14px 16px}
.sn-hit .sn-ic{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:rgba(var(--glow-e),.16);color:#12915E}
:root[data-theme="dark"] .sn-hit .sn-ic{color:#43E3A2}
.sn-hit .sn-tx{flex:1;min-width:0}
.sn-hit b{display:block;font-size:14.4px;color:var(--ink)}
.sn-hit span{display:block;font-family:var(--mono);font-size:11.4px;color:var(--ink-2);margin-top:2px}
.sn-hit .sn-go{border:0;cursor:pointer;font-family:inherit;font-weight:700;font-size:13px;
  padding:10px 16px;border-radius:9px;color:#fff;
  background:linear-gradient(112deg,#7C3AED,#E250C8)}
.sn-hit .sn-x{border:0;background:none;cursor:pointer;color:var(--ink-mut);padding:6px;
  font-size:16px;line-height:1}

/* -------------------------------------------------------------- the passport */
.pp-wrap{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}
.pp-top{display:flex;align-items:center;gap:16px;padding:20px;border-bottom:1px solid var(--rule);
  background:linear-gradient(120deg,rgba(var(--glow-v),.10),rgba(var(--glow-c),.06))}
.pp-seal{width:54px;height:54px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:linear-gradient(122deg,#7C3AED,#E250C8);color:#fff;
  box-shadow:0 0 26px -8px rgba(var(--glow-m),.9)}
.pp-seal svg{width:26px;height:26px}
.pp-top h3{font-family:var(--display);font-size:1.35rem;margin:0;color:var(--ink)}
.pp-top .pp-rank{font-family:var(--mono);font-size:11.4px;letter-spacing:.18em;
  text-transform:uppercase;font-weight:600;color:rgb(var(--glow-m));margin-top:4px}
.pp-stats{display:grid;grid-template-columns:repeat(4,1fr)}
.pp-st{padding:18px 14px;text-align:center;border-right:1px solid var(--rule)}
.pp-st:last-child{border-right:0}
.pp-st b{display:block;font-family:var(--mono);font-size:26px;color:var(--ink);
  font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.pp-st span{display:block;font-family:var(--mono);font-size:10.4px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-mut);margin-top:5px}
@media(max-width:560px){.pp-stats{grid-template-columns:repeat(2,1fr)}
  .pp-st:nth-child(2){border-right:0}
  .pp-st:nth-child(-n+2){border-bottom:1px solid var(--rule)}}
.pp-body{padding:18px 20px}
.pp-sub{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  font-weight:600;color:var(--ink-mut);margin:0 0 12px}
.pp-flags{display:flex;flex-wrap:wrap;gap:8px}
.pp-flag{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:11.6px;
  color:var(--ink-2);border:1px solid var(--line);border-radius:999px;padding:6px 12px}
.pp-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;
  margin-top:20px}
.pp-badge{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:11px;
  border:1px solid var(--line);background:var(--well)}
.pp-badge.got{border-color:rgba(var(--glow-m),.55);
  background:linear-gradient(120deg,rgba(var(--glow-m),.12),transparent)}
.pp-badge .pb-i{width:30px;height:30px;border-radius:8px;flex:none;display:grid;place-items:center;
  background:var(--surface);color:var(--ink-mut);border:1px solid var(--line)}
.pp-badge.got .pb-i{color:#fff;border-color:transparent;
  background:linear-gradient(122deg,#7C3AED,#E250C8)}
.pp-badge .pb-i svg{width:15px;height:15px}
.pp-badge b{display:block;font-size:13px;color:var(--ink)}
.pp-badge span{display:block;font-family:var(--mono);font-size:10.4px;color:var(--ink-mut);margin-top:2px}
.pp-badge:not(.got){opacity:.62}
.pp-locked{padding:34px 20px;text-align:center;color:var(--ink-2);font-size:14.4px}
.pp-locked a{color:var(--ink-violet);font-weight:600}

/* ------------------------------------------------------- the survey page */
.sv-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.sv-count{font-family:var(--mono);font-size:11.4px;letter-spacing:.16em;text-transform:uppercase;
  font-weight:600;color:rgb(var(--glow-m))}
.sv-find{flex:1;min-width:180px;max-width:320px;background:var(--well);border:1px solid var(--line);
  border-radius:999px;padding:10px 16px;font-family:inherit;font-size:14px;color:var(--ink);outline:none}
.sv-find:focus{border-color:rgba(var(--glow-v),.7)}

.sv-seams{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);
  max-height:min(62vh,620px);overflow-y:auto}
.sv-seam{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;width:100%;
  text-align:left;padding:13px 16px;border:0;border-top:1px solid var(--rule);cursor:pointer;
  background:none;font-family:inherit;transition:background .16s}
.sv-seam:first-child{border-top:0}
.sv-seam:hover{background:var(--wash)}
.sv-seam.on{background:var(--wash)}
.sv-n{font-weight:600;font-size:14.4px;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-v{font-family:var(--mono);font-size:11.4px;letter-spacing:.1em;text-transform:uppercase;
  color:rgb(var(--glow-m));white-space:nowrap}
.sv-p{font-family:var(--mono);font-size:12.6px;color:var(--ink-2);white-space:nowrap;
  font-variant-numeric:tabular-nums}
.sv-go{font-family:var(--mono);font-size:10.6px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-mut);white-space:nowrap}
.sv-seam.on .sv-go{color:var(--ink-violet)}
.sv-open{padding:4px 12px 14px;background:var(--well);border-top:1px solid var(--rule)}
.sv-open .sm-list{border-radius:11px}
.sv-act{margin-top:12px}
@media(max-width:700px){
  .sv-seam{grid-template-columns:1fr auto;gap:6px 12px}
  .sv-p{grid-column:1}
  .sv-go{display:none}
}

.sv-watches{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.sv-w{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;
  padding:13px 16px;border-top:1px solid var(--rule)}
.sv-w:first-child{border-top:0}
.sv-wn{font-weight:600;font-size:14.4px;color:var(--ink);text-transform:capitalize}
.sv-ws{font-family:var(--mono);font-size:11.6px;color:var(--ink-mut);white-space:nowrap}
.sv-ws.up{color:#12915E;font-weight:600}
:root[data-theme="dark"] .sv-ws.up{color:#43E3A2}
.sv-wg{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-violet);white-space:nowrap}
.sv-wx{border:1px solid var(--line);background:var(--well);color:var(--ink-mut);cursor:pointer;
  width:28px;height:28px;border-radius:50%;line-height:1;font-size:12px}
.sv-wx:hover{color:var(--ink);border-color:var(--line-strong)}
@media(max-width:640px){
  .sv-w{grid-template-columns:1fr auto;gap:6px 12px}
  .sv-wg{grid-column:1}
}

/* ---- cave-reach.css ---- */
/* ============================================================================
   THE REACH · THE LEDGER · THE COMPASS
   ========================================================================== */

/* -------------------------------------------------------------- the reach */
.rx-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;
  padding:11px 15px;border:1px solid var(--line);border-radius:999px;
  background:var(--surface)}
.rx-sw{position:relative;width:42px;height:24px;flex:none;border-radius:999px;cursor:pointer;
  border:1px solid var(--line-strong);background:var(--well);padding:0;
  transition:background .2s,border-color .2s}
.rx-sw .rx-dot{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;
  background:var(--ink-mut);transition:transform .24s cubic-bezier(.16,1,.3,1),background .2s}
.rx-sw.on{border-color:transparent;background:linear-gradient(112deg,#7C3AED,#E250C8)}
.rx-sw.on .rx-dot{transform:translateX(18px);background:#fff}
.rx-lb{font-size:14px;color:var(--ink-2)}
.rx-lb b{color:var(--ink);font-weight:600}
.rx-n{font-family:var(--mono);font-size:11.2px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--ink-mut);margin-left:auto}
body.reach-on .rx-n{color:rgb(var(--glow-m))}
.rx-ch{border:0;background:none;cursor:pointer;font-family:var(--mono);font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--ink-violet);padding:4px}
.rx-sel{background:var(--well);border:1px solid var(--line-strong);border-radius:8px;
  padding:7px 10px;font-family:inherit;font-size:13px;color:var(--ink);outline:none}
body.reach-on .rx-off{display:none!important}
@media(max-width:600px){
  .rx-bar{border-radius:14px;padding:11px 13px}
  .rx-n{margin-left:0;width:100%}
}

/* ------------------------------------------------------------- the ledger */
.lg-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0;
  padding:11px 14px;border:1px solid var(--line);border-radius:11px;background:var(--well)}
.lg-k{font-family:var(--mono);font-size:10.4px;letter-spacing:.2em;text-transform:uppercase;
  font-weight:600;color:rgb(var(--glow-m));flex:none}
.lg-spark{width:116px;height:22px;flex:none;color:rgb(var(--glow-v));opacity:.9}
.lg-t{font-family:var(--mono);font-size:11.6px;line-height:1.5;color:var(--ink-2);min-width:0}

/* ------------------------------------------------------------ the compass */
.cp-tree{display:grid;gap:18px}
.cp-g{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.cp-gh{display:flex;align-items:baseline;gap:12px;padding:14px 16px;border-bottom:1px solid var(--rule);
  background:linear-gradient(120deg,rgba(var(--glow-v),.10),transparent)}
.cp-gn{font-family:var(--display);font-size:1.16rem;color:var(--ink);letter-spacing:-.01em}
.cp-gn.lat{font-style:italic}
.cp-gc{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-mut);margin-left:auto}
.cp-sps{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1px;
  background:var(--rule)}
.cp-sp{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:12px 15px;
  background:var(--surface);text-decoration:none;transition:background .16s}
.cp-sp:hover{background:var(--wash)}
.cp-sn{font-size:14.2px;font-weight:600;color:var(--ink)}
.cp-sn.lat{font-style:italic}
.cp-sc{font-family:var(--mono);font-size:13px;color:rgb(var(--glow-m));font-variant-numeric:tabular-nums}
.cp-sv{grid-column:1/-1;font-family:var(--mono);font-size:10.8px;color:var(--ink-mut)}

/* ----------------------------------------------------------- the outfitter */
.of-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.of-row{display:grid;grid-template-columns:minmax(118px,auto) 1fr auto;gap:3px 16px;
  align-items:center;padding:13px 16px;border-top:1px solid var(--rule);
  text-decoration:none;transition:background .16s}
.of-row:first-child{border-top:0}
.of-row:hover{background:var(--wash)}
/* every cell is placed explicitly: leaving some to auto-placement while others
   span rows put the price in the name's column */
.of-k{grid-column:1;grid-row:1/3;align-self:center;
  font-family:var(--mono);font-size:10.4px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:rgb(var(--glow-m));white-space:nowrap}
.of-n{grid-column:2;grid-row:1;font-size:14.2px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.of-v{grid-column:2;grid-row:2;font-family:var(--mono);font-size:11.2px;color:var(--ink-mut);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.of-p{grid-column:3;grid-row:1/3;align-self:center;text-align:right;
  font-family:var(--mono);font-size:14px;color:var(--ink);
  font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:640px){
  .of-row{grid-template-columns:1fr auto;gap:2px 12px}
  .of-k{grid-column:1/-1;grid-row:1}
  .of-n{grid-column:1;grid-row:2}
  .of-v{grid-column:1;grid-row:3}
  .of-p{grid-column:2;grid-row:2/4;align-self:center}
}

/* ---- cave-split.css ---- */
/* ============================================================================
   THE SPLIT - two errands, two grids, one swipe between them
   ========================================================================== */
.sp-wrap{position:relative;display:flex;flex-direction:column;align-items:center}

/* -------------------------------------------------------------- the toggle
   The lit pill is exactly half the control and slides by exactly its own width,
   so the geometry is only correct if the two tabs are exactly half each. Sized
   by their text they were not, and nothing lined up. A two-column grid of 1fr
   forces the halves; the labels are the same length so the type is balanced too. */
.sp-toggle{position:relative;display:inline-flex;
  margin:0 auto 14px;padding:4px;border-radius:999px;
  border:1px solid var(--line);background:var(--well);isolation:isolate}
/* Both halves are pinned to one width rather than sized by their text. A grid of
   1fr would stretch the control to the full column, and content sizing makes the
   halves unequal, which is what left the pill sitting off its label. */
.sp-tab{position:relative;z-index:2;flex:0 0 auto;
  min-width:clamp(128px,30vw,162px);
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border:0;background:none;cursor:pointer;
  font-family:inherit;font-size:14px;font-weight:600;line-height:1;color:var(--ink-2);
  padding:12px 18px;border-radius:999px;white-space:nowrap;
  transition:color var(--t-3) var(--e-out)}
.sp-tab b{display:inline-flex;align-items:center;justify-content:center;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  background:color-mix(in srgb,var(--ink) 10%,transparent);
  font-family:var(--mono);font-size:10.5px;font-weight:600;line-height:1;
  font-variant-numeric:tabular-nums;color:inherit;
  transition:background var(--t-3) var(--e-out)}
.sp-tab.on{color:#fff}
.sp-tab.on b{background:rgba(255,255,255,.24)}
/* the lit pill slides between the two rather than snapping */
.sp-ind{position:absolute;z-index:1;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);
  border-radius:999px;background:linear-gradient(112deg,#7C3AED,#E250C8);
  box-shadow:0 6px 20px -8px rgba(var(--glow-m),.9);
  transition:transform var(--t-3) var(--e-out)}
.sp-wrap[data-side="gen"] .sp-ind{transform:translateX(100%)}
.sp-sub{margin:0 0 22px;text-align:center;font-size:14px;color:var(--ink-2);max-width:52ch}

/* --------------------------------------------------------------- the track */
/* Straight overflow clipping. An inline padding here sits INSIDE the clip box,
   so the pane you are not on shows through it as a sliver at the edge. The
   height follows the active pane so the shorter side leaves no dead space. */
.sp-view{width:100%;overflow:hidden;
  transition:height var(--t-3) var(--e-out)}
.sp-track{display:flex;align-items:flex-start;width:200%;touch-action:pan-y;
  transition:transform var(--t-3) var(--e-out)}
.sp-track.drag{transition:none;cursor:grabbing}
.sp-pane{width:50%;flex:none;display:grid;gap:14px;
  grid-template-columns:repeat(5,1fr);align-content:start;
  transition:opacity var(--t-3) var(--e-out)}
.sp-pane.off{opacity:.35;pointer-events:none}
@media(max-width:960px){.sp-pane{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){
  .sp-pane{grid-template-columns:repeat(2,1fr);gap:12px}
  .sp-tab{padding:11px 12px;font-size:13.4px;gap:7px;min-width:clamp(112px,36vw,140px)}
  .sp-sub{font-size:13.4px;margin-bottom:18px}
}

/* a hint that there is another side, on touch where there is no hover */
.sp-view::after{content:"";display:block;height:0}
.sp-wrap[data-side="bench"] .sp-hint-r,
.sp-wrap[data-side="gen"] .sp-hint-l{display:none}

@media (prefers-reduced-motion:reduce){
  .sp-view,.sp-track,.sp-ind,.sp-pane,.sp-tab{transition:none}
}

/* ---- cave-vendor.css ---- */
/* ============================================================================
   VENDOR BRANDING (TEST LAYER) - see cave-vendor.js for how to switch it off.
   Everything is scoped under body.mp-brand, so with the layer off not one rule
   here can reach the page.
   ========================================================================== */

/* The storefront banner is deliberately NOT touched: MycoPunks gets the same
   house cave background as every other vendor. Their own artwork appears in the
   footer instead, which is where they use it themselves.
   ------------------------------------------------------------------------- */

/* ------------------------------------------------------------ their footer */
.mpf{position:relative;background:#0c0f0d;color:#EAF3F0;overflow:hidden;
  border-top:1px solid rgba(255,255,255,.09)}
/* The illustrated band runs edge to edge, the way it does on their own site.
   The vertical position is not a guess: the hand-drawn MYCOPUNKS sits between
   70 and 90 percent down the file, and at 90% the visible window covers it at
   every width from 390 to 1920. Centred, the lettering falls below the crop
   entirely, which is what it was doing. */
.mpf-band{height:clamp(120px,18vw,260px);
  background:url("vendors/mycopunks-band.jpg") no-repeat;
  background-size:cover;
  background-position:center 90%;
  /* it closes their footer now rather than opening it, so the rule moves to the top */
  border-top:1px solid rgba(255,255,255,.12)}
.mpf-in{max-width:1180px;margin:0 auto;padding:clamp(28px,4vw,46px) clamp(18px,3vw,28px) 8px;
  display:grid;grid-template-columns:minmax(260px,1.5fr) 1fr 1fr;gap:clamp(24px,4vw,54px)}
@media(max-width:820px){.mpf-in{grid-template-columns:1fr 1fr}
  .mpf-sign{grid-column:1/-1}}
@media(max-width:520px){.mpf-in{grid-template-columns:1fr;gap:26px}}

.mpf h4{margin:0 0 14px;font:800 .82rem/1.2 var(--sans,system-ui);
  letter-spacing:.16em;text-transform:uppercase;color:var(--mp-ink,#108474)}
.mpf-sign p{margin:0 0 14px;font:400 .96rem/1.55 var(--sans,system-ui);
  color:rgba(234,243,240,.78);max-width:36ch}
.mpf-form{display:flex;gap:8px;max-width:380px}
.mpf-form input{flex:1;min-width:0;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:12px 14px;
  color:#fff;font:400 .95rem var(--sans,system-ui);outline:none}
.mpf-form input::placeholder{color:rgba(234,243,240,.45)}
.mpf-form input:focus{border-color:var(--mp-ink,#108474);
  box-shadow:0 0 0 3px rgba(16,132,116,.28)}
.mpf-form button{flex:none;border:0;cursor:pointer;border-radius:8px;padding:12px 20px;
  background:var(--mp-ink,#108474);color:#fff;font:800 .9rem var(--sans,system-ui);
  letter-spacing:.02em;transition:filter .18s}
.mpf-form button:hover{filter:brightness(1.14)}

.mpf-col a{display:block;padding:6px 0;color:rgba(234,243,240,.80);
  font:400 .95rem/1.4 var(--sans,system-ui);text-decoration:none;transition:color .16s}
.mpf-col a:hover{color:var(--mp-ink,#108474)}

.mpf-note{max-width:1180px;margin:0 auto;
  padding:14px clamp(18px,3vw,28px) clamp(22px,3vw,32px);
  font:400 .78rem/1.5 var(--mono,ui-monospace);color:rgba(234,243,240,.42);
  border-top:1px solid rgba(255,255,255,.07);margin-top:18px;
  padding-bottom:clamp(16px,2.4vw,24px)}

/* ============================================================================
   THE SPOTLIGHT - a vendor who has not opened yet
   They have nothing to put in a grid, so they get a card of their own above the
   categories: bounded, rimmed with light, and sitting on a darkened stretch of
   cave so it reads as a plate set into the page rather than another band.
   Everything is scoped under .fv, which only exists when the layer is on.
   ========================================================================== */
.fv{position:relative;margin:clamp(30px,4.4vw,60px) 0 clamp(10px,2vw,26px);
  padding:clamp(30px,4vw,56px) clamp(14px,2.4vw,28px);overflow:hidden;isolation:isolate;
  /* the ground behind the card is dropped hard so the card itself is the light */
  background:linear-gradient(180deg,rgba(3,1,10,0) 0,rgba(3,1,10,.80) clamp(30px,4.5vw,64px),rgba(3,1,10,.90) 60%,rgba(3,1,10,.90) 100%)}
.fv-aura{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(50% 110% at 26% 50%, rgba(16,132,116,.22), transparent 66%),
    radial-gradient(46% 110% at 74% 44%, rgba(var(--glow-m),.20), transparent 66%);
  animation:fv-breathe 11s ease-in-out infinite}
@keyframes fv-breathe{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.fv-aura{animation:none}}

/* ---------------------------------------------------------------- the card */
.fv-in{position:relative;max-width:980px;margin:0 auto;
  padding:clamp(24px,3vw,42px) !important;
  border-radius:clamp(18px,2.2vw,26px);
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(16,132,116,.16), transparent 58%),
    radial-gradient(110% 140% at 92% 100%, rgba(var(--glow-m),.16), transparent 60%),
    linear-gradient(165deg, rgba(24,16,44,.96), rgba(10,6,22,.98));
  box-shadow:
    0 40px 90px -36px rgba(0,0,0,.95),
    0 0 90px -34px rgba(var(--glow-m),.7),
    inset 0 1px 0 rgba(255,255,255,.07);
  display:grid;grid-template-columns:minmax(0,clamp(210px,27vw,300px)) minmax(0,1fr);
  gap:clamp(22px,3.4vw,44px);align-items:center}
/* a lit rim around the whole plate, brightest where the two brand colours meet */
.fv-in::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  padding:1px;
  background:linear-gradient(140deg,
    rgba(120,240,220,.55) 0%, rgba(190,170,255,.42) 40%,
    rgba(255,180,235,.38) 70%, rgba(255,120,210,.50) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude}
@media(max-width:760px){.fv-in{grid-template-columns:minmax(0,1fr);gap:22px;justify-items:center;
  text-align:center}}

/* their card, lifted off the plate */
.fv-card{position:relative;width:100%;max-width:300px;aspect-ratio:3/4;border-radius:14px;
  overflow:hidden;background:var(--void,#0a0618);
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 26px 56px -24px rgba(0,0,0,.95),
             0 0 0 1px rgba(16,132,116,.34),
             0 0 44px -18px rgba(var(--glow-m),.8)}
.fv-card img{width:100%;height:100%;object-fit:cover;display:block}
.fv-tbc{position:absolute;top:11px;left:auto;right:11px;transform:none;
  font-family:var(--mono);font-size:11.6px;font-weight:700;letter-spacing:.18em;
  color:#fff;background:rgba(12,10,22,.86);
  border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 16px;
  box-shadow:0 6px 20px -8px rgba(0,0,0,.9)}

.fv-kick{display:inline-flex;align-items:center;gap:11px;font-family:var(--mono);
  font-size:11.6px;letter-spacing:.24em;text-transform:uppercase;font-weight:600;
  color:#3FD6BE}
.fv-kick::before{content:"";width:22px;height:1px;background:currentColor;flex:none;
  box-shadow:0 0 8px currentColor}
@media(max-width:760px){.fv-kick::before{display:none}}
.fv h2{font-family:var(--display);font-size:clamp(1.9rem,3.8vw,2.7rem);line-height:1.04;
  letter-spacing:-.015em;margin:12px 0 0;color:#fff;
  text-shadow:0 2px 22px rgba(0,0,0,.75)}
.fv-meta{margin:10px 0 0;font-family:var(--mono);font-size:11.6px;letter-spacing:.1em;
  text-transform:uppercase;color:rgba(226,216,250,.70)}
.fv-meta span{white-space:nowrap}
.fv-meta span+span::before{content:"\00b7";margin:0 .7em;opacity:.55}
@media(max-width:560px){.fv-meta span{display:block}
  .fv-meta span+span::before{content:none;margin:0}}
.fv-bio{margin:16px 0 0;font-size:15.2px;line-height:1.62;max-width:60ch;
  color:rgba(233,226,252,.88)}
@media(max-width:760px){.fv-bio{margin-inline:auto}}

.fv-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
@media(max-width:760px){.fv-cta{justify-content:center}}
.fv-soon{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);
  font-size:11.6px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(233,226,252,.82)}
.fv-soon i{width:7px;height:7px;border-radius:50%;background:#3FD6BE;flex:none;
  box-shadow:0 0 10px #3FD6BE;animation:fv-pulse 2.2s ease-in-out infinite}
@keyframes fv-pulse{0%,100%{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.fv-soon i{animation:none;opacity:1}}
.fv-go{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);
  font-size:11.6px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;text-decoration:none;border:1px solid rgba(63,214,190,.55);
  border-radius:999px;padding:12px 22px;background:rgba(16,132,116,.22);
  transition:background var(--t-2) var(--e-out),border-color var(--t-2) var(--e-out),
             transform var(--t-2) var(--e-out)}
.fv-go:hover{background:rgba(16,132,116,.34);border-color:rgba(63,214,190,.85);
  transform:translateY(-1px)}

/* ==========================================================================
   STOREFRONT - these apply to EVERY vendor, not just a branded one.
   ========================================================================== */

/* .phead is used here as a plain section title. cave-v3 gives it a dark
   gradient slab that is invisible on a black page but appears the moment the
   shaft lights up, taking unreadable grey type with it. */
#cc-store .phead::before,#cc-store .phead::after{display:none!important}
#cc-store .phead span{color:var(--ink)!important;text-shadow:none!important}

/* The rating pill prints its star as class="star", which style.css owns as the
   twinkling starfield point: absolutely positioned, white radial blob, animated
   forever. Two classes beat a bare .star, so no !important is needed. */
.videntbadge .star{position:static;background:none;border-radius:0;opacity:1;
  animation:none;will-change:auto}

/* The newsletter band is built with inline colours picked for a white page, so
   its heading sits at 1.1:1 in both themes. Style attributes need !important. */
.vnews h3{color:var(--ink)!important}
.vnews p{color:var(--ink-2)!important}
#cc-vnews-email,.vrev-in{background:var(--surface)!important;color:var(--ink)!important;
  border-color:var(--line)!important}

/* A vendor with no artwork used to render as an empty outlined box with the
   alt text spilling out of the corner. Fill the plate with a lettermark. */
.vbanner .vb-mark{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;font-family:var(--display);font-weight:700;
  font-size:clamp(2.6rem,7vw,4.4rem);letter-spacing:.02em;color:rgba(255,255,255,.92);
  text-shadow:0 2px 26px rgba(0,0,0,.6);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(124,58,237,.55), transparent 62%),
    radial-gradient(110% 90% at 80% 95%, rgba(226,80,200,.42), transparent 64%),
    linear-gradient(165deg,#1a1233,#0a0618)}

/* ---------------------------------------------------------------- density
   The hero spent 512px of desktop and 898px of phone before the first thing a
   visitor can buy. vendor.html's inline <style> loads after every stylesheet,
   so each of these needs the #cc-store qualifier to land. */
@media(min-width:821px){
  #cc-store .vhero2 .wrap{padding-block:34px}
  #cc-store .vhero2-grid{gap:30px}
  #cc-store .vbanner{width:264px}
  #cc-store .vident h1{margin-bottom:10px}
  #cc-store .vident-badges{margin-bottom:14px}
  #cc-store .vfollow-row{margin-bottom:14px}
}
@media(max-width:820px){
  #cc-store .vhero2 .wrap{padding-block:26px}
  #cc-store .vbanner{width:min(230px,58vw)}
  /* three stacked full-width buttons become one row plus a pair */
  #cc-store .vident .vactions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  #cc-store .vident .vactions .btn-follow{grid-column:1/-1;width:auto}
  #cc-store .vident .vactions .btn2{width:auto}
}

/* ==========================================================================
   FEATURED SLOT, SECOND PASS - make it read as an exhibit, not another card.
   Everything here is additive over the plate that was already there.
   ========================================================================== */

/* A shaft of light falling on the plate from the roof of the chamber, which is
   what a cave would actually do to the one thing it wanted you to look at. */
.fv-spot{position:absolute;left:50%;top:-6%;width:min(1180px,96%);height:78%;
  transform:translateX(-50%);z-index:-1;pointer-events:none;
  background:
    radial-gradient(56% 80% at 50% 0%, rgba(120,240,215,.26), transparent 66%),
    radial-gradient(34% 94% at 50% 0%, rgba(255,255,255,.13), transparent 70%),
    radial-gradient(78% 60% at 50% 4%, rgba(var(--glow-m),.14), transparent 74%);
  -webkit-mask:linear-gradient(180deg,#000 0,#000 52%,transparent 100%);
          mask:linear-gradient(180deg,#000 0,#000 52%,transparent 100%)}

/* the plate itself: lifted, warmer at the rim, and it answers the pointer */
.fv-in{transition:transform var(--t-3) var(--e-out),box-shadow var(--t-3) var(--e-out)}
.fv-in:hover{transform:translateY(-3px);
  box-shadow:0 52px 110px -38px rgba(0,0,0,.98),
             0 0 120px -30px rgba(var(--glow-m),.85),
             inset 0 1px 0 rgba(255,255,255,.10)}
/* a slow travelling highlight along the rim so the plate is never quite still */
.fv-in::after{content:"";position:absolute;inset:0;border-radius:inherit;
  pointer-events:none;padding:1px;opacity:.85;
  background:linear-gradient(115deg,transparent 32%,rgba(190,255,240,.55) 47%,
             rgba(255,180,235,.45) 53%,transparent 68%);
  background-size:280% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude}
@media (prefers-reduced-motion:no-preference){
  .fv-in::after{animation:fv-sweep 9s linear infinite}
}
@keyframes fv-sweep{0%{background-position:180% 0}100%{background-position:-80% 0}}

/* the corner marker: this is the one vendor being shown off */
.fv-flag{position:absolute;top:0;left:clamp(24px,4vw,54px);transform:translateY(-50%);
  z-index:3;font-family:var(--mono);font-size:10.6px;font-weight:700;
  letter-spacing:.24em;text-transform:uppercase;color:#04231E;
  background:linear-gradient(112deg,#7BF3DC,#3FD6BE 58%,#9FE4FF);
  border-radius:999px;padding:7px 16px;white-space:nowrap;
  box-shadow:0 8px 22px -8px rgba(0,0,0,.9),0 0 26px -6px rgba(63,214,190,.7)}
@media(max-width:760px){.fv-flag{left:50%;transform:translate(-50%,-50%)}}

/* their artwork, set into a lit mount rather than dropped on the plate */
.fv-card{transition:transform var(--t-3) var(--e-out),box-shadow var(--t-3) var(--e-out)}
.fv-in:hover .fv-card{transform:translateY(-2px) scale(1.014);
  box-shadow:0 34px 66px -24px rgba(0,0,0,.98),
             0 0 0 1px rgba(63,214,190,.55),
             0 0 60px -14px rgba(var(--glow-m),.9)}
.fv-mount{position:absolute;inset:-10px;border-radius:19px;z-index:-1;pointer-events:none;
  background:conic-gradient(from 210deg,rgba(63,214,190,.42),rgba(var(--glow-v),.30) 30%,
             rgba(var(--glow-m),.38) 62%,rgba(63,214,190,.42));
  filter:blur(13px);opacity:.85}
/* one pass of light across the art on hover */
.fv-sheen{position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden}
.fv-sheen::before{content:"";position:absolute;top:-60%;bottom:-60%;width:38%;left:-50%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.30),transparent);
  transform:skewX(-16deg);transition:left var(--t-5) var(--e-out)}
.fv-in:hover .fv-sheen::before{left:120%}
@media (prefers-reduced-motion:reduce){.fv-sheen::before{display:none}}

/* their reach, in their own figures, filling the dead space under the bio */
.fv-stats{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.fv-stats li{display:flex;flex-direction:column;gap:3px;padding:10px 15px;
  border-radius:12px;background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);min-width:0}
.fv-stats b{font-family:var(--mono);font-size:17px;font-weight:600;letter-spacing:-.01em;
  color:#EAF6FF;line-height:1}
.fv-stats span{font-family:var(--mono);font-size:10.4px;letter-spacing:.12em;
  text-transform:uppercase;color:rgba(226,216,250,.68);white-space:nowrap}
@media(max-width:760px){.fv-stats{justify-content:center}}
@media(max-width:430px){.fv-stats li{flex:1 1 100%;flex-direction:row;align-items:baseline;
  justify-content:space-between;gap:12px}}

/* the name carries a little more weight now it is the headline of an exhibit */
.fv h2{font-size:clamp(2.05rem,4.1vw,3rem)}
.fv-kick{color:#7BF3DC}

/* The status chip sat at the old quality next to the new flag. Same weight,
   deliberately a holding colour rather than the mint of "featured". */
.fv-tbc{background:linear-gradient(112deg,rgba(38,26,10,.94),rgba(20,13,4,.94))!important;
  border:1px solid rgba(255,196,110,.55)!important;color:#FFDFB0!important;
  box-shadow:0 6px 20px -8px rgba(0,0,0,.95),0 0 20px -6px rgba(255,180,80,.45)!important}

/* ---- cave-embed.css ---- */
/* ============================================================================
   CULTURE CAVE - EMBED MODE
   A page loaded with ?embed=1 is being shown INSIDE the Stalk, so it drops the
   chrome it would otherwise repeat: no header, no quick nav, no announcement
   bar, no footer, no handle, no page-entry animation. What is left is the
   content, on a transparent ground, so the menu's own veil shows through and it
   reads as one surface rather than a page in a box.
   ========================================================================== */
html.cc-embed,html.cc-embed body{background:transparent!important}
html.cc-embed .cavern,
html.cc-embed .abar,
html.cc-embed .quicknav,
html.cc-embed header.top,
html.cc-embed footer,
html.cc-embed #cc-stalk,
html.cc-embed #cc-stalk-handle,
html.cc-embed .descent,
html.cc-embed .dbarline,
html.cc-embed .cave-vig,
html.cc-embed .cave-grain,
html.cc-embed .lamp,
html.cc-embed .sk-hint,
html.cc-embed .drop{display:none!important}

/* the page head keeps its title but loses the full-bleed picture: inside the
   menu the picture is already behind you */
html.cc-embed .phead{background:none!important;padding:6px 0 18px!important}
html.cc-embed .phead::before,html.cc-embed .phead::after,
html.cc-embed .phead .aur{display:none!important}
html.cc-embed .phead h1{font-size:clamp(1.5rem,3.4vw,2rem)!important;text-shadow:none!important}
html.cc-embed .phead p{max-width:60ch}

/* the floors stop being floors: the Stalk's veil is the ground now */
html.cc-embed section.blk.shafted::after,
html.cc-embed div.pagewrap.shafted::after,
html.cc-embed div.wrap.shafted::after,
html.cc-embed footer.shafted::after{display:none!important}
html.cc-embed section.blk{padding:22px 0!important}
html.cc-embed .pagewrap{padding:8px 0 30px!important}
html.cc-embed .seam{display:none}
html.cc-embed .hero{display:none!important}

/* room to breathe without the site chrome around it */
html.cc-embed .wrap{padding-left:18px!important;padding-right:18px!important;max-width:100%!important}
html.cc-embed body{padding-bottom:12px}

/* ---- cave-descent.css ---- */
/* ============================================================================
   CULTURE CAVE - THE DESCENT
   The artwork IS the cave. No drawn ceilings, no god rays, no shafts of light.
   The owner's painting carries the room; this layer only makes the words
   legible on top of it and hangs a rope down the right so scrolling reads as
   climbing down. Cheap on purpose: one image, one scrim, one moving element.
   ========================================================================== */

:root{
  --dsc-img:url("plates/hero-owner-md.webp");
  --dsc-rope:#C9A77A;
  --dsc-rope-d:#7A5C38;
}
@media(min-width:1201px){:root{--dsc-img:url("plates/hero-owner-lg.webp")}}
@media(max-width:760px){:root{--dsc-img:url("plates/hero-owner-sm.webp")}}

/* ---------------------------------------------------------------- the room */
/* cave-v3.css kills .hero::before with !important, so the painting goes on the
   element itself; the scrim takes ::after, which nothing claims with force. */
.hero{position:relative;isolation:isolate;overflow:hidden;
  background:var(--dsc-img) 34% 46%/cover no-repeat}
/* Legibility only, and as little of it as the words will tolerate: a band
   behind the type, clear at the top so the ceiling reads as a ceiling. */
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  box-shadow:none;
  background:
    linear-gradient(180deg,
      rgba(6,3,16,.30) 0,
      rgba(6,3,16,.16) 20%,
      rgba(6,3,16,.44) 52%,
      rgba(6,3,16,.74) 100%),
    radial-gradient(64% 42% at 50% 44%, rgba(6,3,16,.34), transparent 74%)}
.hero>*{position:relative;z-index:2}
/* the base sheet's own hero art and starfield are redundant now */
.hero .hbg,.hero .stars{display:none!important}

.hero h1{text-shadow:0 2px 30px rgba(4,2,12,.75),0 1px 3px rgba(4,2,12,.6)}
.hero .sub{color:#EAF0FB;text-shadow:0 1px 16px rgba(4,2,12,.7)}
.hero .herocap{color:#CFE0F2}

/* ------------------------------------------------------------------ THE RIG
   A real caving rig down the right edge, not a drawn line. Kernmantle rope:
   two counter-rotating braids over a cylinder shade, so it reads as a woven
   sheath rather than a candy stripe. Hardware is dropped forged steel and
   anodised alloy. The whole rail is a scrubber: click anywhere on the rope and
   you go to that depth.
   ------------------------------------------------------------------------- */
.rope{position:fixed;top:var(--dsc-rope-top,150px);bottom:0;
  right:clamp(4px,2.2vw,30px);width:44px;z-index:70;display:block;
  pointer-events:none;-webkit-user-select:none;user-select:none}
.rope.off{display:none}

/* the hanger the rope is anchored to at the lip */
.rope-anchor{position:absolute;left:50%;top:-11px;width:26px;height:22px;
  margin-left:-13px;z-index:3}

/* --------------------------------------------------------------- the rope */
.rope-l{position:absolute;left:50%;top:8px;bottom:0;width:11px;margin-left:-5.5px;
  border-radius:6px;cursor:pointer;pointer-events:auto;
  background:
    /* braid, one way */
    repeating-linear-gradient(-64deg,
      rgba(255,255,255,.20) 0 1.5px, rgba(255,255,255,0) 1.5px 4px,
      rgba(0,0,0,.34) 4px 5.5px, rgba(0,0,0,0) 5.5px 9px),
    /* braid, the other way */
    repeating-linear-gradient(64deg,
      rgba(0,0,0,.24) 0 2px, rgba(0,0,0,0) 2px 5px,
      rgba(255,255,255,.10) 5px 6.5px, rgba(255,255,255,0) 6.5px 10px),
    /* the black tracer fleck every real rope has */
    repeating-linear-gradient(-64deg,
      #1C1A19 0 1.6px, rgba(0,0,0,0) 1.6px 16px),
    /* sheath colour */
    repeating-linear-gradient(-64deg,
      #E8791F 0 5px, #F6A340 5px 8px, #C15C10 8px 12px),
    /* cylinder */
    linear-gradient(90deg,
      rgba(0,0,0,.62) 0, rgba(0,0,0,.18) 26%,
      rgba(255,255,255,.16) 44%, rgba(0,0,0,.16) 66%, rgba(0,0,0,.58) 100%);
  box-shadow:0 0 12px rgba(0,0,0,.6), inset 0 0 3px rgba(0,0,0,.4)}
.rope-l::after{content:"";position:absolute;inset:0;border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.45)}

/* the rope frays into the dark at the bottom instead of being cut off */
.rope-fade{position:absolute;left:0;right:0;bottom:0;height:90px;z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(6,3,16,0),var(--void,#06030F) 82%)}

/* --------------------------------------------------------- the gear on it */
.rope-g{position:absolute;left:50%;width:34px;height:34px;margin-left:-17px;
  pointer-events:auto;cursor:pointer;
  transform:translateY(-50%);
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.75));
  transition:transform var(--t-2) var(--e-out),filter var(--t-2) var(--e-out)}
.rope-g svg{width:100%;height:100%;display:block}
.rope-g:hover,.rope-g:focus-visible{transform:translateY(-50%) scale(1.16);
  filter:drop-shadow(0 4px 9px rgba(0,0,0,.85)) drop-shadow(0 0 12px rgba(255,150,60,.5))}
.rope-g:focus-visible{outline:none}
/* the section it takes you to */
.rope-g b{position:absolute;right:44px;top:50%;transform:translateY(-50%) translateX(6px);
  font-family:var(--mono);font-size:10.8px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:#F4E9DC;white-space:nowrap;
  background:rgba(10,6,4,.9);border:1px solid rgba(232,121,31,.42);
  border-radius:6px;padding:6px 10px;opacity:0;pointer-events:none;
  box-shadow:0 6px 18px rgba(0,0,0,.6);
  transition:opacity var(--t-2) var(--e-out),transform var(--t-2) var(--e-out)}
.rope-g:hover b,.rope-g:focus-visible b{opacity:1;transform:translateY(-50%) translateX(0)}
.rope-g.on{filter:drop-shadow(0 3px 6px rgba(0,0,0,.8)) drop-shadow(0 0 10px rgba(255,160,70,.55))}

/* ------------------------------------------------- the ascender you ride on */
.rope-d{position:absolute;left:50%;top:0;width:38px;height:44px;margin-left:-19px;
  z-index:4;will-change:transform;pointer-events:none;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.8))}
.rope-d svg{width:100%;height:100%;display:block}
/* the lamp on the helmet actually throws light down the rope */
.rope-beam{position:absolute;left:50%;top:34px;width:120px;height:150px;
  margin-left:-60px;z-index:-1;pointer-events:none;opacity:.5;
  background:radial-gradient(50% 62% at 50% 0%,rgba(255,214,150,.5),transparent 72%)}
.rope-m{position:absolute;right:46px;top:50%;transform:translateY(-50%);
  font-family:var(--mono);font-size:11.6px;letter-spacing:.12em;font-weight:600;
  color:#FFE9CE;white-space:nowrap;text-shadow:0 1px 8px rgba(0,0,0,.95);
  opacity:0;transition:opacity var(--t-2) var(--e-out)}
.rope.live .rope-m{opacity:.94}

/* scrubbing: a hairline where you are about to land */
.rope-hit{position:absolute;left:50%;width:26px;height:2px;margin-left:-13px;
  background:linear-gradient(90deg,transparent,#FFD79A,transparent);
  opacity:0;pointer-events:none;transition:opacity 90ms linear}
.rope.scrub .rope-hit{opacity:.95}

@media(max-width:860px){
  /* hard against the edge: page content reaches x=374 at 390 wide, so the rope
     and its touch padding have to live entirely to the right of that or it
     steals taps from the buttons underneath it */
  .rope{width:18px;right:0}
  .rope-l{width:7px;margin-left:-3.5px}
  .rope-g{width:25px;height:25px;margin-left:-12.5px}
  .rope-g b{display:none}
  .rope-d{width:28px;height:33px;margin-left:-14px}
  .rope-m,.rope-beam{display:none}
}
@media (prefers-reduced-motion:reduce){
  .rope-d{transition:none}
}


/* ---------------------------------------------------------------------------
   FIT THE ROOM TO THE PAINTING
   The painting is 1.75:1. The hero was running about 1.15:1, so `cover` threw
   away a third of the picture at the sides and zoomed the middle. Tightening
   the hero to roughly the painting's own ratio shows the whole cavern AND
   removes the dead space that was under the stats.
   ------------------------------------------------------------------------- */
.hero .heroin{padding:clamp(34px,4.4vw,58px) 0 clamp(26px,3vw,40px)}
.hero h1{margin:6px 0 0}
.hero .sub{margin-top:clamp(12px,1.5vw,18px)}
.hero .orn{margin:clamp(14px,1.8vw,20px) auto}
.hero .bigsearch{margin-top:clamp(14px,1.8vw,20px)}
.hero .trending{margin-top:clamp(12px,1.5vw,17px)}
.hero .hstats{margin-top:clamp(18px,2.2vw,26px)}

/* the headline sits over the brightest part of the ceiling, so it gets its own
   pool of shade rather than darkening the whole picture */
.hero .heroin::before{content:"";position:absolute;left:50%;top:0;
  width:min(112%,1080px);height:58%;transform:translateX(-50%);
  z-index:-1;pointer-events:none;border-radius:50%;
  background:radial-gradient(52% 50% at 50% 42%,rgba(5,2,14,.62),transparent 72%)}
.hero .heroin{position:relative}

/* the rope hangs from under the header, not across the announcement bar */
.rope{top:var(--dsc-rope-top,150px)}
@media(max-width:1100px){.rope{--dsc-rope-top:120px}}

/* The ornament repeats the eyebrow word for word directly above it. One of
   them has to go, and the eyebrow is the one carrying the location. */
.hero .orn{display:none}

/* The headline crosses the brightest part of the ceiling. Give it a deeper
   pool of shade and a harder edge so the gradient face still reads. */
.hero .heroin::before{
  background:radial-gradient(54% 52% at 50% 40%,rgba(4,2,12,.78),rgba(4,2,12,.34) 62%,transparent 76%)}
.hero h1{text-shadow:0 2px 34px rgba(3,1,10,.92),0 2px 8px rgba(3,1,10,.8),0 1px 2px rgba(3,1,10,.7)}

.hero .sub{text-shadow:0 1px 20px rgba(3,1,10,.9),0 1px 3px rgba(3,1,10,.75)}

/* The first line is normally painted by clipping --grad3 to the glyphs. Over a
   lit cave those mid-tone stops have almost no luminance and the line vanishes,
   and the clip fights every attempt to lift it. In the hero it is simply set
   solid, bright, and legible; line two stays white, so the two-tone reads. */
.hero .heroin h1 span.grad{
  background:none!important;background-image:none!important;
  -webkit-text-fill-color:#9FE4FF!important;color:#9FE4FF!important;
  text-shadow:0 2px 26px rgba(3,1,10,.95),0 1px 4px rgba(3,1,10,.85)}

/* The v2 descent rail did this job before the rope existed, and it now sits
   directly on top of it. The rope supersedes it. */
.descent,.dbarline{display:none!important}

/* An 8px rope is far below the 44px touch minimum, so on coarse pointers the
   rope and the gear get an invisible hit area either side. The drawing does not
   change; only what your thumb can find does. */
@media (pointer:coarse){
  /* the padding grows to the RIGHT, into the margin, never left into content */
  .rope-l::before{content:"";position:absolute;top:0;bottom:0;left:-4px;right:-9px}
  .rope-g::before{content:"";position:absolute;top:-11px;bottom:-11px;left:-4px;right:-9px}
  /* the helmet is the abseil handle on touch, so it has to be grabbable */
  .rope-d{pointer-events:auto;touch-action:none}
  .rope-d::before{content:"";position:absolute;inset:-8px -14px}
}

/* The v1 tunnel furniture is no longer built, and it must never take part in
   layout again if an old cave.js is still cached: .throat and .pool are IN FLOW
   and were adding ~854px of empty hero under the content. */
.hero .tunnel,.hero .throat,.hero .pool{display:none!important}

/* The stalk menu takes the whole screen: its panels (the vendor roster, a room)
   and the cave map sit above the page, and the rope was drawing straight through
   them. body.stalking is set on open and cleared on close, so the rope comes
   back by itself. */
body.stalking .rope,
body.stalking .torch-exit{display:none}

/* ---- cave-rope.css ---- */
/* ============================================================================
   CULTURE CAVE - THE ROPE, FOR REAL
   Upgrades the descent rail from a striped gradient to a drawn rope.

   The old rope was two repeating-linear-gradients crossing each other. That
   reads as barber's pole, not as rope, because a real kernmantle sheath does
   three things a gradient cannot:
     - it is woven, so at every crossing one pick passes OVER and the next
       passes UNDER, and you can see it;
     - it is round, so the weave COMPRESSES towards the edges as the surface
       turns away from you, and the picks get narrower and darker;
     - it hangs, so it moves.
   All three need per-pixel shading and a physics step, so the rope is painted
   into a canvas by cave-rope.js. Everything else about the rail - the hit
   target, the gear markers, the scrubbing, the touch rules - is untouched.

   Additive: this only hides the old gradient. If the canvas cannot be created
   the class is never added and the gradient rope stays exactly as it was.
   ========================================================================== */

/* The canvas sits in the rope column BEHIND everything hanging off it.
   z-index:1 is above z-index:auto, so the canvas alone was painting over the
   axe, the radio and the karabiner - kit clipped to a rope has to sit in front
   of it or it looks like a photograph of a rope with stickers behind it. */
.rope-cv{position:absolute;left:0;top:0;width:100%;height:100%;
  z-index:1;pointer-events:none;display:block}
.rope.cv .rope-g{z-index:3}
.rope.cv .rope-anchor{z-index:6}

/* With the canvas up, .rope-l keeps its job as the hit target and loses its
   paint. It stays exactly where it was so every pointer handler still lines up. */
.rope.cv .rope-l{background:none;box-shadow:none;border-radius:0;
  /* a touch wider than the gradient rope was: five picks across 11px is 2.2px
     each, which is under what a screen can show cleanly */
  width:13px;margin-left:-6.5px}
@media(max-width:860px){.rope.cv .rope-l{width:9px;margin-left:-4.5px}}
.rope.cv .rope-l::after{display:none}

/* the descender rides the sway: cave-descent.js owns .rope-d's transform for
   depth, so the horizontal offset goes on a wrapper and the two compose */
/* A transformed element makes its own stacking context, so .rope-d's z-index:4
   became relative to THIS wrapper and the helmet dropped behind the canvas the
   moment the wrapper was introduced. The wrapper has to carry the z-index. */
.rope-sw{position:absolute;left:0;top:0;width:100%;height:100%;
  pointer-events:none;will-change:transform;z-index:5}
.rope.cv .rope-d{filter:drop-shadow(0 5px 9px rgba(0,0,0,.85))}

/* The rope is still, so the gear no longer needs carrying sideways with it.
   --gx is kept at 0 and the rules stay, so restoring any drift later is a
   one-line change in the script rather than a CSS reshuffle. */
.rope.cv .rope-g{transform:translateY(-50%) translateX(var(--gx,0px))}
.rope.cv .rope-g:hover,.rope.cv .rope-g:focus-visible{
  transform:translateY(-50%) translateX(var(--gx,0px)) scale(1.16)}

/* the one bit of life left: the strand warms slightly while you scrub the rail,
   which is a hover response rather than motion */
.rope-cv{transition:filter 180ms ease}
.rope.scrub .rope-cv{filter:brightness(1.08) saturate(1.05)}

@media (prefers-reduced-motion:reduce){
  .rope-cv{transition:none}
}

/* ---- cave-mode.css ---- */
/* ============================================================================
   CULTURE CAVE - CAVE MODE
   A third state beside light and dark: the lights go out and you get a torch.
   Nothing is hidden, it is just dark, and you have to look for things.

   The darkness is ONE element carrying a radial gradient with a hole in the
   middle, sized far larger than any viewport and moved by transform alone, so
   following the pointer costs a composite and never a repaint.
   ========================================================================== */

/* ------------------------------------------------------- the mode switches */
/* The switch is styled on its own class, NOT scoped to .modeset: the desktop
   copy lives in .top .icons instead, and scoping it to the group is what made
   that one collapse to 12x2px with no sizing at all. */
.mbtn,.top .icons .mbtn{display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:38px;min-width:38px;width:auto;padding:0 10px;border-radius:11px;cursor:pointer;
  background:color-mix(in srgb,var(--surface) 82%,transparent);
  border:1px solid var(--line);color:var(--ink);flex:none;line-height:1;
  transition:background var(--t-2) var(--e-out),border-color var(--t-2) var(--e-out),
             color var(--t-2) var(--e-out),transform var(--t-2) var(--e-out)}
.mbtn svg,.top .icons .mbtn svg{width:19px;height:19px;min-width:19px;flex:none;display:block}
.mbtn:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--line) 40%,rgb(var(--glow-m)))}
.mbtn:active{transform:translateY(0)}
.mbtn b{font-family:var(--mono);font-size:10.4px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase}
.modeset{display:none;align-items:center;gap:6px}
@media(max-width:960px){.modeset{display:flex}}
/* on desktop the cave switch sits with the other icons, beside the lantern */
.top .icons .mbtn.cavebtn{display:inline-flex}
@media(max-width:960px){.top .icons .mbtn.cavebtn{display:none}}

/* lit, because it is the way back out */
.mbtn.cavebtn.on{background:linear-gradient(120deg,rgba(255,176,74,.24),rgba(255,120,40,.18));
  border-color:rgba(255,186,96,.62);color:#FFE3BC;
  box-shadow:0 0 0 3px rgba(255,170,70,.10),0 0 18px rgba(255,160,60,.42)}

/* ------------------------------------------------------------- the dark */
html[data-mode="cave"]{--cave-on:1}
.torch{position:fixed;left:0;top:0;width:100%;height:100%;z-index:9990;
  pointer-events:none;opacity:0;visibility:hidden;
  transition:opacity var(--t-4) var(--e-out),visibility 0s linear var(--t-4)}
html[data-mode="cave"] .torch{opacity:1;visibility:visible;transition-delay:0s}

/* the darkness, with the beam cut out of it */
.torch .dk{position:absolute;left:0;top:0;width:4200px;height:4200px;
  margin:-2100px 0 0 -2100px;will-change:transform;
  background:radial-gradient(circle 2100px at 2100px 2100px,
    rgba(2,1,6,0) 0,
    rgba(2,1,6,0) var(--tr,120px),
    rgba(2,1,6,.30) calc(var(--tr,120px) * 1.30),
    rgba(2,1,6,.72) calc(var(--tr,120px) * 1.85),
    rgba(2,1,6,.93) calc(var(--tr,120px) * 2.5),
    #020106 calc(var(--tr,120px) * 3.4))}

/* the warm light the torch actually throws */
.torch .lt{position:absolute;left:0;top:0;width:1400px;height:1400px;
  margin:-700px 0 0 -700px;will-change:transform;mix-blend-mode:screen;opacity:.5;
  background:radial-gradient(circle 700px at 700px 700px,
    rgba(255,214,150,.30) 0,
    rgba(255,196,120,.16) calc(var(--tr,120px) * .7),
    rgba(255,170,90,.06) calc(var(--tr,120px) * 1.5),
    transparent calc(var(--tr,120px) * 2.4))}

/* the rim of the beam, so it reads as a torch and not a spotlight */
.torch .rim{position:absolute;left:0;top:0;width:600px;height:600px;
  margin:-300px 0 0 -300px;will-change:transform;pointer-events:none;
  border-radius:50%;
  box-shadow:inset 0 0 60px 10px rgba(255,190,110,.10)}

@media (prefers-reduced-motion:no-preference){
  html[data-mode="cave"] .torch .lt{animation:torch-flicker 4.2s ease-in-out infinite}
}
@keyframes torch-flicker{
  0%,100%{opacity:.5}
  38%{opacity:.44}
  62%{opacity:.56}
}

/* a hint the first time, and only the first time */
.torch-hint{position:fixed;left:50%;bottom:clamp(22px,6vh,54px);transform:translateX(-50%);
  z-index:9992;pointer-events:none;font-family:var(--mono);font-size:11.6px;
  letter-spacing:.16em;text-transform:uppercase;color:#FFDCAE;
  background:rgba(8,4,2,.86);border:1px solid rgba(255,178,92,.45);
  border-radius:999px;padding:10px 18px;box-shadow:0 10px 30px rgba(0,0,0,.7);
  opacity:0;transition:opacity var(--t-4) var(--e-out)}
.torch-hint.on{opacity:1}

/* THE WAY OUT.
   The header builds its own stacking context, so a z-index on a button inside
   it can never rise above the overlay: it is trapped at the header's level.
   The exit is therefore its own fixed control, a lit torch switch that sits
   above the dark and is always reachable on any page, at any size. */
.torch-exit{position:fixed;top:calc(env(safe-area-inset-top,0px) + 14px);
  right:calc(env(safe-area-inset-right,0px) + 14px);
  z-index:9996;display:none;align-items:center;gap:8px;height:42px;padding:0 14px;
  border-radius:999px;cursor:pointer;font-family:var(--mono);font-size:10.6px;
  font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#FFE7C4;
  background:linear-gradient(120deg,rgba(46,22,4,.94),rgba(24,11,2,.94));
  border:1px solid rgba(255,186,96,.6);
  box-shadow:0 0 0 4px rgba(255,170,70,.10),0 0 30px rgba(255,158,58,.55),
             0 8px 26px rgba(0,0,0,.7);
  transition:transform var(--t-2) var(--e-out),box-shadow var(--t-2) var(--e-out)}
.torch-exit svg{width:19px;height:19px;flex:none}
.torch-exit:hover{transform:translateY(-1px);
  box-shadow:0 0 0 5px rgba(255,170,70,.14),0 0 38px rgba(255,158,58,.7),0 8px 26px rgba(0,0,0,.7)}
html[data-mode="cave"] .torch-exit{display:inline-flex}
@media(max-width:560px){.torch-exit{height:38px;padding:0 12px;font-size:9.8px}}

html[data-mode="cave"] .mbtn.cavebtn{
  box-shadow:0 0 0 3px rgba(255,170,70,.14),0 0 26px rgba(255,160,60,.6)}

/* in the dark the page's own glow furniture is a distraction */
html[data-mode="cave"] .cave-still .mote,
html[data-mode="cave"] .mote,html[data-mode="cave"] .star,html[data-mode="cave"] .spark{
  animation-play-state:paused}

/* ------------------------------------------------------------ the three-way switch
   Icon only. A round torch button, because a pill with words in it reads as a
   setting and this is meant to read as a light you can pick up. The name lives in
   the accessible label and the tooltip, not on screen.
   It has to clear TWO things already anchored down there: the rope rail on the
   right edge (cave-descent.css, 44px wide, inset by clamp(4px,2.2vw,30px)) and the
   stalk handle in the middle (cave-stalk.css). On a phone there is no room beside
   the stalk pill, so it steps up above it instead. */
.modecycle{position:fixed;z-index:9997;
  bottom:calc(env(safe-area-inset-bottom,0px) + 22px);
  right:calc(env(safe-area-inset-right,0px) + clamp(4px,2.2vw,30px) + 58px);
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;padding:0;border-radius:999px;cursor:pointer;
  color:var(--uv-ice,#7FEBFF);
  background:rgba(8,4,18,.9);
  border:1px solid rgba(var(--glow-v),.5);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.16),
             0 10px 34px -10px rgba(var(--glow-v),.8),
             0 22px 50px -26px #000,
             inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease,
             color .22s ease,border-color .22s ease,background .22s ease}
.modecycle svg{width:21px;height:21px;flex:none}
.modecycle:hover{transform:translateY(-1px);
  box-shadow:0 0 0 1px rgba(var(--glow-v),.24),
             0 14px 40px -10px rgba(var(--glow-v),.9),
             0 22px 50px -26px #000,
             inset 0 1px 0 rgba(255,255,255,.10)}
.modecycle:active{transform:translateY(0) scale(.96)}
.modecycle:focus-visible{outline:2px solid var(--uv-ice,#7FEBFF);outline-offset:3px}

/* LIT: the torch is actually burning, so the button is too */
.modecycle.on{color:#FFE7C4;
  background:linear-gradient(120deg,rgba(46,22,4,.94),rgba(24,11,2,.94));
  border-color:rgba(255,186,96,.6);
  box-shadow:0 0 0 4px rgba(255,170,70,.10),0 0 30px rgba(255,158,58,.55),
             0 8px 26px rgba(0,0,0,.7)}
.modecycle.on:hover{box-shadow:0 0 0 5px rgba(255,170,70,.14),
             0 0 38px rgba(255,158,58,.7),0 8px 26px rgba(0,0,0,.7)}

/* DAYLIGHT: a dark disc on a white page is a hole, so invert it there. This is
   the only way light and dark stay tellable apart once the words are gone. */
.modecycle[data-mode-now="light"]{color:#3C2A66;
  background:rgba(255,255,255,.92);
  border-color:rgba(60,42,102,.22);
  box-shadow:0 0 0 1px rgba(60,42,102,.06),
             0 10px 30px -12px rgba(60,42,102,.55),
             0 18px 44px -26px rgba(0,0,0,.4),
             inset 0 1px 0 rgba(255,255,255,.9)}
.modecycle[data-mode-now="light"]:hover{
  box-shadow:0 0 0 1px rgba(60,42,102,.10),
             0 14px 36px -12px rgba(60,42,102,.6),
             0 18px 44px -26px rgba(0,0,0,.4),
             inset 0 1px 0 rgba(255,255,255,.9)}

/* the separate top-right escape hatch is redundant now the switch never leaves */
html[data-mode="cave"] .torch-exit{display:none}

@media(max-width:900px){
  .modecycle{right:calc(env(safe-area-inset-right,0px) + 26px)}
}
/* phones: sit ABOVE the stalk handle, which owns the bottom centre */
@media(max-width:620px){
  .modecycle{width:44px;height:44px;
    bottom:calc(env(safe-area-inset-bottom,0px) + 76px)}
  .modecycle svg{width:20px;height:20px}
}
@media(prefers-reduced-motion:reduce){
  .modecycle{transition:none}
  .modecycle:hover{transform:none}
}

/* ---- cave-crawl.css ---- */
/* ===========================================================================
   CAVE MODE: the things that live down here.
   Paired with cave-crawl.js. Delete both and the cave is empty again.
   =========================================================================== */

/* The creatures sit ABOVE the torch darkness (.torch is z-index 9990), not
   below it. Below it they would be perfectly hidden, which sounds right and
   plays wrong: nothing appears to happen and the whole thing reads as broken.
   Above it, drawn nearly black, they are a suggestion of a shape you are not
   quite sure about, and the beam is what confirms it. --lit is written from JS
   as the torch closes on them, and it does the confirming. */
.crawlers{position:fixed;inset:0;z-index:9993;pointer-events:none;
  opacity:0;transition:opacity .9s ease}
.crawlers.on{opacity:1}

.cr{position:absolute;left:0;top:0;will-change:transform;
  /* almost nothing in the dark, everything in the beam */
  color:rgb(calc(24 + var(--lit,0) * 190), calc(20 + var(--lit,0) * 168), calc(18 + var(--lit,0) * 140));
  opacity:calc(.30 + var(--lit,0) * .70);
  filter:drop-shadow(0 0 calc(var(--lit,0) * 9px) rgba(255,170,90,calc(var(--lit,0) * .55)))}
.cr svg{width:100%;height:100%;display:block;overflow:visible}

/* THE EYES ARE THE WHOLE TRICK. The body fades out in the dark; the eyes never
   quite do. A pair of eyes with no body attached is worse than either, and it
   is what makes you look twice at a corner of the screen. */
.cr .cr-eye{fill:#FFCE7A;opacity:calc(.55 + var(--lit,0) * .45)}
.cr-moth .cr-eye{fill:#EFE6FF}
.cr-spider .cr-eye{fill:#FF9A7A}

/* the moth is lit from in front, because it is flying at the torch */
.cr-moth{color:rgb(calc(40 + var(--lit,0) * 190), calc(36 + var(--lit,0) * 176), calc(46 + var(--lit,0) * 168));
  opacity:calc(.34 + var(--lit,0) * .66)}

/* ---------------------------------------------------------------- the sound
   Sits under the mode switch, same corner, same language, so the two controls
   that belong to cave mode read as a pair. Only exists while the lights are out. */
.cr-sound{position:fixed;z-index:9997;display:none;align-items:center;justify-content:center;
  width:38px;height:38px;padding:0;border-radius:999px;cursor:pointer;
  bottom:calc(env(safe-area-inset-bottom,0px) + 76px);
  right:calc(env(safe-area-inset-right,0px) + clamp(4px,2.2vw,30px) + 62px);
  color:#FFE7C4;background:linear-gradient(120deg,rgba(46,22,4,.94),rgba(24,11,2,.94));
  border:1px solid rgba(255,186,96,.5);
  box-shadow:0 0 0 3px rgba(255,170,70,.08),0 0 20px rgba(255,158,58,.4),0 6px 20px rgba(0,0,0,.7);
  transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease,color .2s ease}
html[data-mode="cave"] .cr-sound{display:inline-flex}
.cr-sound svg{width:17px;height:17px}
.cr-sound:hover{transform:translateY(-1px);box-shadow:0 0 0 4px rgba(255,170,70,.12),0 0 26px rgba(255,158,58,.55),0 6px 20px rgba(0,0,0,.7)}
.cr-sound:focus-visible{outline:2px solid #FFCE7A;outline-offset:3px}
.cr-sound.off{color:rgba(255,231,196,.5);border-color:rgba(255,186,96,.22);
  box-shadow:0 6px 20px rgba(0,0,0,.7)}

@media(max-width:620px){
  .cr-sound{width:36px;height:36px;
    bottom:calc(env(safe-area-inset-bottom,0px) + 126px);
    right:calc(env(safe-area-inset-right,0px) + 30px)}
}

/* Nothing crawls and nothing is drawn for someone who asked for stillness.
   The JS refuses to start the loop as well; this is the belt to that braces. */
@media(prefers-reduced-motion:reduce){
  .crawlers{display:none}
  .cr-sound{transition:none}
  .cr-sound:hover{transform:none}
}

/* ---- cave-fast.css ---- */
/* ============================================================================
   CULTURE CAVE - THE FAST LAYER
   Scrolling ran at 36fps with 67ms frames. There were no long tasks at all, so
   none of it was JavaScript: it was paint. Measured, one change at a time, on a
   1440x900 desktop:

     baseline .................. 36fps
     grain + vignette off ...... 56fps   <- the biggest single cost
     backdrop-filter off ....... 50fps
     will-change off ........... 43fps
     box-shadow off ............ 41fps

   None of those can simply be deleted; they are the cave. So instead they are
   SUSPENDED WHILE THE PAGE IS MOVING and restored the moment it stops. Nobody
   can see grain during a flick scroll, and the design is untouched at rest -
   which is where anyone actually looks at it.
   ========================================================================== */

/* ---- 1. while scrolling: drop the full-screen decorative layers ----------
   .cavern, .cave-grain and .cave-vig are three stacked full-viewport fixed
   layers, two of them blended. Blend modes force the compositor to read the
   backdrop back on every frame, which is why they cost more than everything
   else combined. */
body.cc-moving .cave-grain,
body.cc-moving .cave-vig{opacity:0}
.cave-grain,.cave-vig{transition:opacity 140ms linear}

/* ---- 2. while scrolling: no backdrop blur -------------------------------
   A backdrop-filter has to sample everything painted underneath it, every
   frame, per element. At rest it is the frosted glass the design wants; in
   motion it is just a tax. */
body.cc-moving .pcard,
body.cc-moving .pwish,
body.cc-moving .peek,
body.cc-moving .vc,
body.cc-moving .chip,
body.cc-moving .card{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* ---- 3. never promote 139 layers at once --------------------------------
   [data-rv]:not(.in){will-change:opacity,transform} is correctly scoped to
   elements that have not revealed yet - but on this page that is 139 of them,
   every one getting its own compositor layer and its own slice of GPU memory
   before it is anywhere near the screen. cave-fast.js hands the hint out only
   to the handful about to animate. */
[data-rv]:not(.in){will-change:auto}
[data-rv]:not(.in).cc-soon{will-change:opacity,transform}

/* ---- 4. the decorative motion can stop while the page moves ------------- */
body.cc-moving .star,
body.cc-moving .spark,
body.cc-moving .mote{animation-play-state:paused}

/* ---- 5. NO content-visibility. MEASURED, NOT ASSUMED.
   The obvious move here is content-visibility:auto on the long grids, and it
   makes this page SLOWER: 39fps with it against 49fps without. Skipping layout
   for off-screen sections sounds free, but each one re-does layout as it
   crosses the range boundary, and during a scroll that boundary is crossed
   constantly. Left out on purpose - do not "add the obvious optimisation" back
   without re-running cc-experiment.py. */

/* ---- 6. the decorative particles ---------------------------------------
   ~100 stars and motes, each with will-change:transform and an infinite
   animation, so each one holds a compositor layer for the life of the page.
   They are worth having at rest and worth nothing mid-scroll. */
body.cc-moving .star,
body.cc-moving .spark,
body.cc-moving .mote,
body.cc-moving .motes{will-change:auto;animation-play-state:paused;opacity:0}
.star,.spark,.mote{transition:opacity 160ms linear}

/* Someone who has asked for less motion gets the cheap path permanently, and
   nothing here should ever animate for them. */
@media (prefers-reduced-motion:reduce){
  .cave-grain,.cave-vig{transition:none}
}

