/* ===== FramePeek — /showcase (operator-curated creator deck) =====
   Isolated stylesheet: this page loads ONLY this file. All classes are prefixed `sc-`.

   Scroll story (2026-10-17): the page is one pinned stage and the page scroll is its timeline —
   hero title over a narrow doorway into a concrete hall -> the doorway opens to full screen -> the camera
   walks in -> the deck rises from the vanishing point. Once the page bottom is reached the deck owns the wheel.

   Layout (approved 2026-10): a 3D deck seen from ~30deg above. Scroll / swipe moves through the
   works of one concept one at a time (waiting cards stack above, passed cards tip toward the camera
   below); the arrows / rail switch to the next concept's deck. Click or Space opens the work in a window.
   Each card is sized from its media's own aspect ratio inside a deck box that scales with the window.

   Fonts: system sans for UI (matches the rest of the site), IBM Plex Mono self-hosted for small labels —
   this page makes zero third-party requests. */

@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');
}
@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');
}

:root{
  --sc-bg:#08080a; --sc-card:#141417; --sc-ink:#f2efe9; --sc-dim:#9a958c; --sc-faint:#6a655e;
  --sc-ice:#dceeff; --sc-ice-soft:rgba(220,238,255,.5);
  --sc-line:rgba(236,239,245,.1); --sc-line2:rgba(236,239,245,.16);
  --sc-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --sc-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,"Times New Roman",serif;
  --sc-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sc-nav-h:44px;
  /* deck box — every card is fitted inside it by its own ratio. Height AND width both feed it (36vh + 17vw),
     capped by what fits vertically, so narrowing or widening the window visibly changes the card, and a big
     monitor gets a big card (1920x1080 ≈ 713px, 1440x900 ≈ 569px, 1100x700 ≈ 439px, 2560x1440 ≈ 950px). */
  /* deck box; the FRONT card is this * --sc-pop (~1.5). Capped so box*pop still fits the viewport height. */
  --sc-ch:clamp(200px, min(calc(34vh + 18vw), 56vh), 820px);
  --sc-bw:min(calc(var(--sc-ch) * 1.25), 88vw);
  --sc-pop:1.12;   /* front card scale; JS reads this (smaller on phones) */
  --sc-flip:.5s;
}
*{box-sizing:border-box;margin:0}
@media (max-aspect-ratio:1/1){:root{--sc-ch:clamp(200px, min(52vh, 150vw), 760px);--sc-bw:min(calc(var(--sc-ch) * 1.25), 78vw);--sc-pop:0.98}}
body{background:var(--sc-bg);color:var(--sc-ink);font-family:var(--sc-sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(820px 520px at 50% 40%, rgba(220,238,255,.07), transparent 62%)}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
img{display:block;max-width:100%}
::selection{background:var(--sc-ice);color:var(--sc-bg)}

/* ===== nav — floating pill (site-wide top bar) ===== */
.sc-nav-slot{position:fixed;top:0;left:0;right:0;z-index:50;padding:10px 16px 0;pointer-events:none}
.sc-nav{pointer-events:auto;max-width:1080px;margin:0 auto;height:var(--sc-nav-h);display:flex;align-items:center;gap:12px;
  padding:0 5px 0 16px;background:rgba(18,18,21,.72);-webkit-backdrop-filter:saturate(150%) blur(18px);backdrop-filter:saturate(150%) blur(18px);
  border:1px solid var(--sc-line2);border-radius:999px}
.sc-brand{display:flex;align-items:center;gap:8px;font-family:var(--sc-serif);font-weight:600;font-size:16px;letter-spacing:-.01em;white-space:nowrap}
.sc-brand svg{width:20px;height:20px;display:block;flex:none}
.sc-links{margin-left:auto;display:flex;align-items:center;gap:2px}
.sc-links a{font-size:13px;color:var(--sc-dim);padding:6px 11px;border-radius:999px;transition:color .2s,background .2s}
.sc-links a:hover{color:var(--sc-ink);background:rgba(236,239,245,.05)}
.sc-links a.active{color:var(--sc-ink)}
.sc-cta{font-size:13px;font-weight:600;color:#08080a;background:var(--sc-ink);padding:7px 15px;border-radius:999px;white-space:nowrap;transition:opacity .2s}
.sc-cta:hover{opacity:.9}
@media(max-width:620px){ .sc-links a:not(.active){display:none} .sc-nav-slot{padding:8px 10px 0} }

/* ===== the pinned stage (page scroll = timeline) ===== */
.sc-scroll{position:relative;z-index:1;height:calc(100vh + 230vh)}
.sc-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.sc-pin.is-static{position:relative}

/* the hall: starts as a narrow doorway (clip-path set by JS), opens to full screen, then dims behind the deck */
.sc-hall{position:absolute;inset:0;z-index:0;background:#0b0b0d;clip-path:inset(19% 40% 19% 40% round 18px);will-change:clip-path}
/* the source is a portrait shot: on wide screens it stays a tall center panel (the symmetric hall and its
   vanishing point intact) whose sides dissolve into the dark instead of being cropped to one wall */
.sc-hall-vid{position:absolute;top:0;left:50%;height:100%;width:min(100vw, 96vh);margin-left:calc(min(100vw, 96vh) / -2);
  object-fit:cover;transform-origin:50% 46%;will-change:transform,opacity}
@media (min-aspect-ratio:1/1){.sc-hall-vid{-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}}
.sc-hall-shade{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 50% 46%, transparent 30%, rgba(8,8,10,.86) 100%), linear-gradient(rgba(8,8,10,.35), rgba(8,8,10,.15) 40%, rgba(8,8,10,.75))}

/* diagonal light shafts — the hall's own sun, swept across by the scroll */
.sc-beams{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;mix-blend-mode:screen}
.sc-beams i{position:absolute;top:-60%;left:0;width:18vw;min-width:120px;height:220%;opacity:0;will-change:transform,opacity;
  background:linear-gradient(90deg, transparent, rgba(232,238,248,.07) 30%, rgba(240,244,252,.17) 50%, rgba(232,238,248,.07) 70%, transparent)}

/* hero */
.sc-hero{position:absolute;left:0;right:0;top:50%;z-index:3;transform:translateY(-52%);text-align:center;padding:0 20px;pointer-events:none}
.sc-hero h1{font-weight:650;font-size:clamp(46px, 9.4vw, 150px);line-height:.9;letter-spacing:-.05em;color:#f6f4ef;
  text-shadow:0 6px 40px rgba(0,0,0,.55)}
.sc-hero h1 span{display:block;will-change:transform,opacity,filter}
.sc-sub{max-width:520px;margin:26px auto 0;font-size:clamp(14.5px, 1.25vw, 17px);line-height:1.55;color:#bdb8b0;text-shadow:0 2px 18px rgba(0,0,0,.8)}
.sc-cue{position:absolute;left:50%;bottom:22px;z-index:3;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;
  font-family:var(--sc-mono);font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--sc-faint);pointer-events:none}
.sc-cue i{width:1px;height:46px;background:linear-gradient(var(--sc-ice), transparent);transform-origin:top;animation:sc-cue 1.8s cubic-bezier(.6,0,.3,1) infinite}
@keyframes sc-cue{0%{transform:scaleY(0);opacity:1}60%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}

/* concept switch: a light band wipes the screen while the concept's name flashes behind the deck */
.sc-wipe{position:absolute;top:0;bottom:0;left:-100%;width:300%;z-index:4;pointer-events:none;opacity:0;mix-blend-mode:screen;
  background:linear-gradient(104deg, transparent 38%, rgba(220,238,255,.10) 46%, rgba(255,255,255,.34) 50%, rgba(220,238,255,.10) 54%, transparent 62%)}
.sc-wipe.go-r{animation:sc-wipe-r .95s cubic-bezier(.55,0,.3,1) both}
.sc-wipe.go-l{animation:sc-wipe-l .95s cubic-bezier(.55,0,.3,1) both}
@keyframes sc-wipe-r{0%{transform:translateX(-34%);opacity:1}100%{transform:translateX(34%);opacity:1}}
@keyframes sc-wipe-l{0%{transform:translateX(34%);opacity:1}100%{transform:translateX(-34%);opacity:1}}
.sc-word{position:absolute;left:0;right:0;top:50%;z-index:1;transform:translateY(-50%);text-align:center;pointer-events:none;white-space:nowrap;
  font-weight:800;font-size:clamp(64px, 15vw, 260px);letter-spacing:-.04em;text-transform:uppercase;line-height:1;
  color:transparent;-webkit-text-stroke:1px rgba(236,239,245,.4);opacity:0}
.sc-word.go{animation:sc-word 1.5s cubic-bezier(.2,.8,.2,1) both}
@keyframes sc-word{0%{opacity:0;letter-spacing:.4em;filter:blur(12px)}30%{opacity:1;letter-spacing:-.02em;filter:blur(0)}70%{opacity:.7}100%{opacity:0;letter-spacing:-.06em;filter:blur(4px)}}

/* ===== stage ===== */
.sc-stage{position:absolute;inset:0;z-index:2;perspective:calc(var(--sc-ch) * 3.26);perspective-origin:50% 42%;overflow:hidden}
/* containers never take clicks: the tilted card's lower half sits behind their flat plane in 3D,
   so they would swallow every click there. Only the cards (set per card in JS) are clickable. */
.sc-deck-outer{position:absolute;left:50%;top:50%;width:var(--sc-bw);height:var(--sc-ch);
  margin-left:calc(var(--sc-bw) / -2);margin-top:calc(var(--sc-ch) / -2 + 6px);
  transform-style:preserve-3d;pointer-events:none}
.sc-deck{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(-30deg);pointer-events:none}
/* size + centering margins are set per card from its aspect ratio */
.sc-card{position:absolute;left:50%;top:50%;border-radius:16px;overflow:hidden;background:var(--sc-card);
  transform-origin:50% 50%;opacity:calc(var(--o, 1) * var(--sc-in, 1));
  box-shadow:0 24px 50px -18px rgba(0,0,0,.75),inset 0 0 0 1px rgba(236,239,245,.07);
  transition:transform var(--sc-flip) cubic-bezier(.22,.8,.24,1),opacity .4s ease,filter .5s ease;
  will-change:transform;backface-visibility:hidden;cursor:pointer}
.sc-card.is-video{-webkit-mask-image:-webkit-radial-gradient(white,black)} /* Safari: keep video inside the rounded corners */
/* the card stepping to the front pops toward the viewer, fast with a small overshoot;
   leaving the front it shrinks back into the deck on the normal (quicker) flip timing */
.sc-card.active{transition:transform .32s cubic-bezier(.3,1.5,.5,1),opacity .3s ease,filter .4s ease}
.sc-card.active{cursor:zoom-in;box-shadow:0 40px 80px -24px rgba(0,0,0,.85),inset 0 0 0 1px var(--sc-ice-soft),0 0 60px -14px rgba(220,238,255,.16)}
.sc-card .sc-media{width:100%;height:100%;object-fit:cover;display:block}
.sc-card img.sc-media{transform:scale(1.02)}
.sc-card.active img.sc-media{animation:sc-kenburns 18s ease-out both}
@keyframes sc-kenburns{0%{transform:scale(1.02) translate(0,0)}100%{transform:scale(1.09) translate(-1.4%,-1.4%)}}
.sc-card .sc-scrim{position:absolute;inset:0;background:linear-gradient(transparent 58%,rgba(5,5,7,.78))}
.sc-card .sc-meta{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 12px;display:flex;
  align-items:flex-end;justify-content:space-between;gap:10px;opacity:0;transition:opacity .35s}
.sc-card.active .sc-meta{opacity:1}
.sc-who{display:flex;align-items:center;gap:8px;min-width:0}
.sc-av{width:24px;height:24px;border-radius:50%;background:#0d0d10;border:1px solid var(--sc-line2);
  display:grid;place-items:center;font-family:var(--sc-mono);font-size:9.5px;color:var(--sc-ice-soft);flex:none}
.sc-card .sc-who b{font-weight:500;font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-card .sc-side{display:flex;align-items:center;gap:10px;flex:none}
/* like — a heart on the front card and in the window; fills ice-blue, pops with a ring when liked */
.sc-like,.sc-add{position:relative;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;
  color:var(--sc-ink);background:rgba(8,8,10,.45);border:1px solid var(--sc-line2);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:color .2s,border-color .2s,background .2s}
.sc-like svg,.sc-add svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;transition:fill .2s,transform .15s}
.sc-like::before,.sc-add::before{content:'';position:absolute;inset:-6px}   /* 44px touch target around the 32px circle */
.sc-like:hover,.sc-add:hover{border-color:var(--sc-ice-soft)}
.sc-add[hidden]{display:none}
/* speech bubble beside the two round buttons: CSS only (the browser's own title tooltip has a random delay), shows 0.5s after the mouse rests, gone at once on leave; mouse devices only */
.sc-tip{position:absolute;top:50%;z-index:5;white-space:nowrap;pointer-events:none;opacity:0;padding:5px 10px;border-radius:999px;font-family:var(--sc-mono);font-size:11px;line-height:1.2;letter-spacing:.03em;font-weight:400;
  color:var(--sc-ink);background:rgba(14,14,17,.94);border:1px solid var(--sc-line2);transition:opacity .12s,transform .12s}
.sc-add .sc-tip{left:calc(100% + 8px);transform:translate(-4px,-50%)}
.sc-like .sc-tip{right:calc(100% + 8px);transform:translate(4px,-50%)}
@media (hover:hover){
  .sc-like:hover,.sc-add:hover{color:#fff;background:rgba(26,26,31,.7)}
  .sc-like.on:hover,.sc-add.saved:hover{color:var(--sc-ice)}
  .sc-like:hover svg,.sc-add:hover svg{transform:scale(1.14)}
  .sc-like:hover .sc-tip,.sc-add:hover .sc-tip{opacity:1;transform:translate(0,-50%);transition-delay:.5s}
}
@media (hover:none){.sc-tip{display:none}}
/* add to my gallery — a box with a plus on the left; saving pulses it, when saved the box tints ice-blue and the plus turns into a check */
.sc-add .sc-chk{display:none}
.sc-add.saved{color:var(--sc-ice);border-color:var(--sc-ice-soft)}
.sc-add.saved .sc-tray{fill:currentColor;fill-opacity:.28}
.sc-add.saved .sc-plus{display:none}
.sc-add.saved .sc-chk{display:inline}
.sc-add.busy{pointer-events:none;animation:sc-busy 1s ease-in-out infinite}
@keyframes sc-busy{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.sc-add.busy{animation:none;opacity:.6}}
.sc-like.on{color:var(--sc-ice);border-color:var(--sc-ice-soft)}
.sc-like.on svg{fill:currentColor}
.sc-like.pop svg{animation:sc-heart .5s cubic-bezier(.2,1.6,.4,1)}
.sc-like.pop::after{content:'';position:absolute;inset:-2px;border-radius:50%;border:1.5px solid var(--sc-ice);animation:sc-ring .6s ease-out forwards;pointer-events:none}
@keyframes sc-heart{0%{transform:scale(.6)}60%{transform:scale(1.3)}100%{transform:scale(1)}}
@keyframes sc-ring{0%{transform:scale(.8);opacity:.9}100%{transform:scale(2);opacity:0}}
.sc-like:focus-visible,.sc-add:focus-visible{outline:2px solid var(--sc-ice-soft);outline-offset:2px}
.sc-card:not(.active) .sc-like,.sc-card:not(.active) .sc-add{pointer-events:none}
/* on the cards the two buttons sit in the top corners and show with the front card, like its caption */
.sc-card .sc-like,.sc-card .sc-add{position:absolute;top:10px;z-index:3;opacity:0;transition:opacity .35s,color .2s,border-color .2s,background .2s}
.sc-card .sc-like{right:10px}
.sc-card .sc-add{left:10px}
.sc-card.active .sc-like,.sc-card.active .sc-add{opacity:1}
.sc-card.active .sc-vbadge{right:52px}   /* the play badge steps left of the heart */
.sc-toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom));z-index:200;max-width:min(88vw,380px);transform:translate(-50%,12px);opacity:0;pointer-events:none;
  padding:10px 16px;border-radius:999px;font-size:13px;line-height:1.35;text-align:center;color:var(--sc-ink);background:rgba(14,14,17,.92);border:1px solid var(--sc-line2);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .25s,transform .25s}
.sc-toast.on{opacity:1;transform:translate(-50%,0)}
.sc-toast.has-link.on{pointer-events:auto}
.sc-toast a{color:var(--sc-ice);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.sc-card,.sc-body{touch-action:manipulation}   /* double tap = like, not zoom */
.sc-burst{position:absolute;left:50%;top:50%;z-index:4;width:34%;max-width:150px;min-width:64px;aspect-ratio:1/1;pointer-events:none;
  color:var(--sc-ice);filter:drop-shadow(0 8px 28px rgba(0,0,0,.55));animation:sc-burst .95s cubic-bezier(.2,1.3,.4,1) forwards}
.sc-burst svg{width:100%;height:100%;fill:currentColor;stroke:none}
@keyframes sc-burst{0%{transform:translate(-50%,-50%) scale(.2);opacity:0}22%{transform:translate(-50%,-50%) scale(1.12);opacity:1}
  40%{transform:translate(-50%,-50%) scale(.96);opacity:1}75%{transform:translate(-50%,-50%) scale(1);opacity:1}100%{transform:translate(-50%,-62%) scale(1.15);opacity:0}}
.sc-card .sc-go{font-family:var(--sc-mono);font-size:10px;letter-spacing:.06em;color:var(--sc-ice);white-space:nowrap;flex:none}
.sc-card .sc-vbadge{position:absolute;top:10px;right:10px;z-index:2;width:26px;height:26px;border-radius:50%;
  background:rgba(8,8,10,.6);border:1px solid var(--sc-line2);display:grid;place-items:center;color:var(--sc-ink);transition:opacity .3s}
.sc-card .sc-vbadge svg{width:10px;height:10px;margin-left:1px}
.sc-card.active.is-playing .sc-vbadge{opacity:0} /* the front card is already playing */
/* a shaft of light sweeps across each card as it reaches the front (two names so it can restart) */
.sc-card::after{content:'';position:absolute;inset:-10% -60%;pointer-events:none;opacity:0;mix-blend-mode:screen;
  background:linear-gradient(104deg, transparent 40%, rgba(236,242,252,.08) 46%, rgba(255,255,255,.42) 50%, rgba(236,242,252,.08) 54%, transparent 60%)}
.sc-card.sw-a::after{animation:sc-sweep-a 1.05s .12s cubic-bezier(.45,0,.25,1) both}
.sc-card.sw-b::after{animation:sc-sweep-b 1.05s .12s cubic-bezier(.45,0,.25,1) both}
@keyframes sc-sweep-a{0%{transform:translateX(-45%);opacity:1}100%{transform:translateX(45%);opacity:1}}
@keyframes sc-sweep-b{0%{transform:translateX(-45%);opacity:1}100%{transform:translateX(45%);opacity:1}}

/* opacity/filter only ever go on cards, never on the 3D containers — on them they would flatten the deck.
   The intro fade-in rides on --sc-in (a custom property, which does not flatten). */
.sc-deck-outer.scrub .sc-card{transition:none}
.sc-card.exit{transition:transform .62s cubic-bezier(.6,0,.4,1),opacity .5s ease,filter .5s ease}
.sc-card.enter{transition:transform .95s cubic-bezier(.16,1,.3,1),opacity .6s ease,filter .7s ease}

/* ===== arrows (concept) ===== */
.sc-arrow{position:fixed;top:50%;z-index:40;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;color:var(--sc-ink);
  background:rgba(18,18,21,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--sc-line2);
  transition:background .2s,transform .15s,border-color .2s}
.sc-arrow:hover{background:rgba(30,30,34,.85);border-color:var(--sc-ice-soft)}
.sc-arrow:active{transform:translateY(-50%) scale(.94)}
.sc-arrow svg{width:17px;height:17px}
.sc-arrow.sc-left{left:max(12px,3vw)} .sc-arrow.sc-right{right:max(12px,3vw)}
.sc-arrow[hidden]{display:none}
.sc-arrow,.sc-bottom,.sc-fade-b,.sc-legal{opacity:0;visibility:hidden;transition:opacity .45s ease,visibility 0s .45s,background .2s,transform .15s,border-color .2s}
body.sc-live .sc-arrow,body.sc-live .sc-bottom,body.sc-live .sc-fade-b,body.sc-live .sc-legal{opacity:1;visibility:visible;transition:opacity .45s ease,visibility 0s,background .2s,transform .15s,border-color .2s}
@media(max-width:620px){.sc-arrow{width:34px;height:34px}.sc-arrow.sc-left{left:8px}.sc-arrow.sc-right{right:8px}}

/* ===== bottom — concept line + rail ===== */
.sc-fade-b{position:fixed;left:0;right:0;bottom:0;height:96px;z-index:20;pointer-events:none;
  background:linear-gradient(to top, rgba(8,8,10,.92) 25%, rgba(8,8,10,0))}
.sc-bottom{position:fixed;left:0;right:0;bottom:12px;z-index:35;display:flex;flex-direction:column;align-items:center;gap:7px;pointer-events:none}
.sc-bottom[hidden]{display:none}
.sc-line{font-family:var(--sc-mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--sc-dim);white-space:nowrap}
.sc-line b{color:var(--sc-ink);font-weight:500;font-family:var(--sc-sans);letter-spacing:.02em;text-transform:none;font-size:12.5px}
.sc-hint{color:var(--sc-faint);transition:opacity .5s}
.sc-rail{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;padding:0 12px;pointer-events:auto}
.sc-rail:empty{display:none}
.sc-rail button{font-family:var(--sc-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--sc-dim);
  background:rgba(18,18,21,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--sc-line);border-radius:999px;padding:5px 11px;cursor:pointer;transition:.2s}
.sc-rail button:hover{color:var(--sc-ink);border-color:var(--sc-line2)}
.sc-rail button.on{color:#08080a;background:var(--sc-ice);border-color:var(--sc-ice)}
/* keyboard guide — any device with a mouse/trackpad; a small column bottom-left (clear of the concept rail).
   Bright for the first seconds, then faint; the pressed key lights up */
.sc-keys{position:fixed;left:18px;bottom:18px;z-index:36;display:none;flex-direction:column;align-items:flex-start;gap:7px;pointer-events:none;
  font-family:var(--sc-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--sc-dim);opacity:0;transition:opacity 1.2s ease}
.sc-keys.on{opacity:.72}
.sc-keys.fresh{opacity:1}
.sc-keys span{display:inline-flex;align-items:center;gap:4px}
.sc-keys kbd{font:500 10.5px/1 var(--sc-mono);letter-spacing:0;text-transform:none;min-width:22px;height:21px;padding:0 6px;margin-right:3px;
  display:inline-grid;place-items:center;color:var(--sc-ink);background:rgba(24,24,28,.7);border:1px solid rgba(236,239,245,.24);border-bottom-width:2px;border-radius:5px;transition:border-color .6s}
.sc-keys.fresh kbd{border-color:var(--sc-ice-soft)}
.sc-keys kbd.hit{animation:sc-key .5s ease-out}
@keyframes sc-key{0%{color:#08080a;background:var(--sc-ice);border-color:var(--sc-ice);transform:translateY(1px)}100%{color:var(--sc-ink);background:rgba(24,24,28,.7);border-color:rgba(236,239,245,.24)}}
@media (any-pointer:fine) and (min-width:700px){ .sc-keys{display:flex} .sc-hint{display:none} }
.sc-line #scCnt{display:inline-block}
.sc-line #scCnt.sc-end{animation:sc-end .6s ease}
@keyframes sc-end{0%,100%{transform:none;color:inherit}30%{transform:translateY(-3px);color:var(--sc-ice)}60%{transform:translateY(1px)}}
.sc-legal{position:fixed;right:16px;bottom:14px;z-index:36;font-family:var(--sc-mono);font-size:10px;letter-spacing:.04em;color:var(--sc-faint)}
.sc-legal a:hover{color:var(--sc-ice)}
@media(max-width:760px){.sc-legal{display:none}}

/* ===== status / empty ===== */
.sc-status{position:fixed;left:0;right:0;bottom:16vh;z-index:30;text-align:center;font-family:var(--sc-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--sc-faint)}
.sc-status[hidden]{display:none}
.sc-empty{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:30;width:min(520px,calc(100vw - 32px));
  text-align:center;padding:40px 28px 34px;border:1px dashed var(--sc-ice-soft);border-radius:16px;background:rgba(14,14,17,.6)}
.sc-empty[hidden]{display:none}
body:not(.sc-live) .sc-empty{opacity:0;visibility:hidden}
.sc-empty{transition:opacity .45s ease}
.sc-empty h2{font-size:24px;font-weight:600;letter-spacing:-.01em;margin-bottom:10px}
.sc-empty p{color:var(--sc-dim);font-size:14.5px;line-height:1.6}
.sc-empty a{color:var(--sc-ice);border-bottom:1px solid var(--sc-ice-soft)}

/* ===== window (click / Space) ===== */
.sc-modal{position:fixed;inset:0;z-index:100;display:none}
.sc-modal.open{display:block}
.sc-backdrop{position:absolute;inset:0;background:rgba(5,5,7,.6);-webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%);opacity:0;transition:opacity .4s ease}
.sc-modal.show .sc-backdrop{opacity:1}
.sc-win{position:absolute;left:50%;top:50%;width:min(92vw,1080px);height:min(86vh,820px);
  margin-left:calc(min(92vw,1080px) / -2);margin-top:calc(min(86vh,820px) / -2);transform-origin:0 0;
  display:flex;flex-direction:column;background:#0e0e11;border:1px solid var(--sc-line2);border-radius:16px;overflow:hidden;
  box-shadow:0 60px 140px -30px rgba(0,0,0,.9),0 0 0 1px rgba(220,238,255,.04)}
.sc-bar{height:46px;flex:none;display:flex;align-items:center;gap:10px;padding:0 7px 0 14px;border-bottom:1px solid var(--sc-line);transition:opacity .25s}
.sc-bar .sc-madd{margin-right:auto}
.sc-byline{flex:none;display:flex;align-items:center;padding:9px 16px;border-top:1px solid var(--sc-line);min-width:0;transition:opacity .25s}
.sc-byline .sc-who{gap:9px;min-width:0;max-width:100%}
.sc-byline b{font-weight:500;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}
.sc-mt{font-size:13px;color:var(--sc-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sc-xbtn{font-family:var(--sc-mono);font-size:11px;letter-spacing:.03em;font-weight:500;color:#08080a;background:var(--sc-ice);padding:7px 12px;border-radius:999px;white-space:nowrap}
.sc-close{width:32px;height:32px;border-radius:50%;border:1px solid var(--sc-line2);background:transparent;cursor:pointer;display:grid;place-items:center;flex:none}
.sc-close:hover{border-color:var(--sc-ice-soft)}
.sc-close svg{width:14px;height:14px}
.sc-body{flex:1;min-height:0;position:relative;overflow:hidden;background:#09090b}
.sc-body img,.sc-body video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .2s ease}
.sc-body video{display:none;background:#000}
.sc-body.is-video video{display:block}
.sc-body.is-video img{display:none}
.sc-cap{flex:none;max-height:28%;overflow-y:auto;padding:10px 16px 11px;border-top:1px solid var(--sc-line);transition:opacity .25s}
.sc-cap[hidden]{display:none}
.sc-cap p{margin:0}
.sc-note{font-family:var(--sc-serif);font-size:15px;line-height:1.4;color:var(--sc-ink)}
.sc-post{margin-top:6px;font-size:12.5px;line-height:1.5;color:var(--sc-dim);white-space:pre-wrap;overflow-wrap:anywhere}
.sc-post:empty,.sc-note:empty{display:none}
.sc-src{margin-top:6px;font-family:var(--sc-mono);font-size:10.5px;letter-spacing:.04em;color:var(--sc-faint)}
.sc-src a{color:var(--sc-ice);border-bottom:1px solid var(--sc-ice-soft)}
.sc-foot{height:32px;flex:none;display:flex;align-items:center;justify-content:center;font-family:var(--sc-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--sc-faint);border-top:1px solid var(--sc-line);transition:opacity .25s;white-space:nowrap;overflow:hidden;padding:0 12px}
.sc-win.flipping .sc-bar,.sc-win.flipping .sc-byline,.sc-win.flipping .sc-foot,.sc-win.flipping .sc-cap{opacity:0}
.sc-win a:focus-visible,.sc-win button:focus-visible{outline:2px solid var(--sc-ice-soft);outline-offset:2px}
.sc-win a:focus:not(:focus-visible),.sc-win button:focus:not(:focus-visible){outline:none}
@media(max-width:620px){.sc-mt{display:none}.sc-bar{gap:8px}}   /* the @name now sits below the picture (own row), so the bar's buttons can never cover it */

@media (prefers-reduced-motion: reduce){ *{transition-duration:.001ms!important;animation:none!important} .sc-beams,.sc-wipe,.sc-word{display:none} }

/* ===== H1: "My likes" — a heart at the top right of the bar; opens a side tab from the right ===== */
.sc-ml{margin-right:2px}
.sc-ml-n{position:absolute;top:-3px;right:-3px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:var(--sc-ice);color:#08080a;font:600 10px/15px var(--sc-sans);text-align:center;pointer-events:none}
.sc-ml-n[hidden]{display:none}
.sc-lp-bd{position:fixed;inset:0;z-index:149;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .25s}
.sc-lp-bd.open{opacity:1;pointer-events:auto}
.sc-lp{position:fixed;top:0;right:0;bottom:0;z-index:150;width:min(380px,92vw);display:flex;flex-direction:column;background:rgba(14,14,17,.97);border-left:1px solid var(--sc-line2);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s .32s}
.sc-lp.open{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.sc-lp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 16px 14px 20px;border-bottom:1px solid var(--sc-line2)}
.sc-lp-head b{font-family:var(--sc-serif);font-weight:600;font-size:18px;letter-spacing:-.01em}
.sc-lp-close{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;cursor:pointer;padding:0;color:var(--sc-ink);background:transparent;border:1px solid var(--sc-line2)}
.sc-lp-close svg{width:16px;height:16px}
.sc-lp-close:focus-visible,.sc-lp-th:focus-visible,.sc-lp-cta:focus-visible{outline:2px solid var(--sc-ice-soft);outline-offset:2px}
.sc-lp-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:8px 16px 24px 20px}
.sc-lp-msg{margin:18px 0;font-size:14px;line-height:1.5;color:var(--sc-dim)}
.sc-lp-cta{display:inline-block;font-size:13px;font-weight:600;color:#08080a;background:var(--sc-ink);padding:8px 18px;border-radius:999px}
.sc-lp-it{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--sc-line2)}
.sc-lp-th{flex:none;width:56px;height:70px;padding:0;border:0;border-radius:8px;overflow:hidden;cursor:pointer;background:var(--sc-card)}
.sc-lp-th img{width:100%;height:100%;object-fit:cover;display:block}
.sc-lp-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14px}
.sc-lp-tx b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-lp-m{font-size:12px;color:var(--sc-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-lp-x{font-size:12px;color:var(--sc-ice);text-decoration:underline;text-underline-offset:2px}
@media(prefers-reduced-motion:reduce){.sc-lp,.sc-lp.open,.sc-lp-bd{transition:none}}

/* ===== H2: log-in window (centered) + "+N more" in the bottom line ===== */
.sc-more{margin-left:8px;padding:0;font:inherit;color:var(--sc-ice);background:none;border:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer;pointer-events:auto}
.sc-more[hidden]{display:none}
.sc-lp-cta{border:0;cursor:pointer;font-family:inherit}
.sc-au-bd{position:fixed;inset:0;z-index:169;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .25s}
.sc-au-bd.open{opacity:1;pointer-events:auto}
.sc-au{position:fixed;left:50%;top:50%;z-index:170;width:min(400px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:26px 24px 20px;border-radius:18px;
  background:rgba(18,18,21,.98);border:1px solid var(--sc-line2);box-shadow:0 24px 80px rgba(0,0,0,.6);transform:translate(-50%,-46%) scale(.98);opacity:0;visibility:hidden;
  transition:transform .25s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility 0s .25s}
.sc-au.open{transform:translate(-50%,-50%);opacity:1;visibility:visible;transition:transform .25s cubic-bezier(.2,.8,.2,1),opacity .2s}
.sc-au-x{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer;padding:0;color:var(--sc-ink);background:transparent;border:1px solid var(--sc-line2)}
.sc-au-x svg{width:14px;height:14px}
.sc-au h2{margin:0 36px 6px 0;font-family:var(--sc-serif);font-weight:600;font-size:21px;letter-spacing:-.01em;line-height:1.25}
.sc-au-sub{margin:0 0 16px;font-size:14px;line-height:1.5;color:var(--sc-dim)}
.sc-au-tabs{display:flex;gap:4px;padding:3px;margin-bottom:14px;border-radius:999px;background:rgba(255,255,255,.05)}
.sc-au-tabs button{flex:1;padding:8px 0;border:0;border-radius:999px;font:inherit;font-size:13px;color:var(--sc-dim);background:transparent;cursor:pointer}
.sc-au-tabs button.on{color:#08080a;background:var(--sc-ink);font-weight:600}
.sc-au label.f{display:block;margin:0 0 12px;font-size:12px;color:var(--sc-dim)}
.sc-au input[type=email],.sc-au input[type=password]{display:block;width:100%;margin-top:5px;padding:11px 14px;border-radius:12px;font:inherit;font-size:16px;color:var(--sc-ink);background:rgba(255,255,255,.05);border:1px solid var(--sc-line2)}
.sc-au input:focus-visible{outline:2px solid var(--sc-ice-soft);outline-offset:1px}
.sc-au-mk{display:flex;gap:8px;align-items:flex-start;margin:2px 0 14px;font-size:13px;line-height:1.45;color:var(--sc-dim);cursor:pointer}
.sc-au-mk[hidden]{display:none}
.sc-au-mk input{margin-top:2px}
.sc-au-go{width:100%;padding:12px 0;border:0;border-radius:999px;font:inherit;font-size:14px;font-weight:600;color:#08080a;background:var(--sc-ink);cursor:pointer}
.sc-au-go:disabled{opacity:.6;cursor:default}
.sc-au-msg{min-height:18px;margin:10px 0 0;font-size:13px;line-height:1.4;color:var(--sc-dim)}
.sc-au-msg.err{color:#ff9a8a}.sc-au-msg.ok{color:var(--sc-ice)}
.sc-au-link{padding:0;font:inherit;color:var(--sc-ice);background:none;border:0;text-decoration:underline;cursor:pointer}
.sc-au-or{display:flex;align-items:center;gap:12px;margin:14px 0;font-size:12px;color:var(--sc-faint)}
.sc-au-or::before,.sc-au-or::after{content:'';flex:1;height:1px;background:var(--sc-line2)}
.sc-au-or[hidden],.sc-au-g[hidden]{display:none}
.sc-au-g{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 0;border-radius:999px;font-size:14px;font-weight:500;color:var(--sc-ink);background:transparent;border:1px solid var(--sc-line2);text-decoration:none}
.sc-au-g:hover{border-color:var(--sc-ice-soft)}
.sc-au-legal{margin:14px 0 0;font-size:12px;line-height:1.5;text-align:center;color:var(--sc-faint)}
.sc-au-legal a{color:var(--sc-dim);text-decoration:underline;text-underline-offset:2px}
.sc-au-x:focus-visible,.sc-au-tabs button:focus-visible,.sc-au-go:focus-visible,.sc-au-g:focus-visible{outline:2px solid var(--sc-ice-soft);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.sc-au,.sc-au.open,.sc-au-bd{transition:none}}

/* ===== Top bar when signed in (shown from the first paint via html.sc-in): [My page] [Open viewer] [heart] — no "Start free" ===== */
.sc-acct{display:none}
html.sc-in .sc-acct{display:inline-block}
html.sc-in .sc-cta{display:none}
@media(max-width:620px){
  html.sc-in .sc-links a.active{display:none}                       /* "Showcase" is the page you are on — make room */
  html.sc-in .sc-links a:not(.active){display:inline-block;padding:6px 9px;font-size:12.5px}
}

/* no long-press "Save image" on the works (iOS) */
.sc-card .sc-media,.sc-body img,.sc-body video,#scLP img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
