@font-face {
  font-family: "DSEG7";
  src: url("https://cdn.jsdelivr.net/npm/dseg@0.46.0/fonts/DSEG7-Classic/DSEG7Classic-Bold.woff2") format("woff2");
  font-display: block;
}
:root {
  --bg: #08080a;
  --lcd: #04060b;
  --lcdBlue: #8fd0ff;
  --green: #3dff5a;
  --orange: #ff8a1c;
  --yellow: #f6e94a;
  --red: #ff2b2b;
  --white: #f2f5ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--white); }
body { font-family: "VT323", monospace; -webkit-font-smoothing: none; overflow-x: hidden; }
#track { height: 1100vh; position: relative; }
#sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 40%, #16161b 0%, #08080a 60%); }
#fit { position: relative; width: 390px; height: 844px; transform-origin: 50% 50%; }
#stage { position: absolute; inset: 0; overflow: hidden; background: #0c0c0f; box-shadow: 0 30px 120px rgba(0,0,0,.6); contain: strict; }
@media (min-width: 560px) { #stage { border-radius: 28px; } }
#punch { position: absolute; inset: 0; will-change: transform; }
.pix { font-family: "Silkscreen", monospace; font-weight: 700; letter-spacing: 1px; }

/* ---------------- camera on the desk (native image coords, cover-scaled by JS) ---------------- */
#cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
#heroImg { position: absolute; left: 0; top: 0; user-select: none; will-change: transform; }
#camLayer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: transform; }
#camBody { position: absolute; background-repeat: no-repeat; }
#led { position: absolute; }
#led::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0b2410; box-shadow: inset 0 1px 3px rgba(0,0,0,.9);
  opacity: calc(1 - var(--on, 0)); }
#led::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: var(--on, 0);
  background: radial-gradient(60% 70% at 50% 45%, #eaffea 0%, #48ff62 40%, #12a826 85%);
  box-shadow: 0 0 10px 3px rgba(70,255,100,.8), 0 0 40px 14px rgba(70,255,100,calc(.35 * var(--glow, 1))); }
#playBtn { position: absolute; background-repeat: no-repeat; transform-origin: 50% 50%; }
#playBtn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 3px solid rgb(120,200,255); box-shadow: 0 0 16px rgba(120,200,255,.8); opacity: var(--ring, 0); }
#lcd { position: absolute; overflow: hidden; border-radius: 6px; background: var(--lcd);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04), inset 0 0 30px rgba(0,0,0,.9); }
#backlight { position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(90% 80% at 50% 50%, #0d2414 0%, #06120a 55%, #020504 100%); }
#scanline { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; transform: scaleX(.02); opacity: 0;
  background: linear-gradient(90deg, transparent, #4fff7d 15%, #e8fff0 50%, #4fff7d 85%, transparent);
  box-shadow: 0 0 12px 3px rgba(90,255,140,.7), 0 0 50px 14px rgba(60,255,110,.3); }
#lcdHint { position: absolute; left: 0; right: 0; bottom: .25em; text-align: center; font-size: .62em; letter-spacing: .12em;
  color: #d8e2ff; text-shadow: 0 0 6px rgba(160,190,255,.6); }
#hintArrow { display: inline-block; margin-left: .5em; font-size: .8em; animation: bob 1s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(.25em); } }
#bootIn { position: absolute; inset: 0; }
#ducky { position: absolute; left: 0; right: 0; margin: 0 auto; top: .3em; height: 4.3em; image-rendering: pixelated; opacity: 0;
  filter: drop-shadow(0 0 .35em rgba(70,255,100,.5)); transform-origin: 50% 90%; }
#bootTitle, #bootYear { position: absolute; left: 0; right: 0; text-align: center; font-size: 1.05em; line-height: 1; color: #e6ffe9;
  text-shadow: 0 0 .3em rgba(110,255,140,.6); white-space: pre; }
#bootTitle { top: 4.45em; } #bootYear { top: 6.05em; }
#blocks { position: absolute; left: 13%; right: 13%; top: 7.75em; height: .8em; display: flex; gap: .12em; opacity: 0; }
#blocks b { flex: 1; border: .07em solid #b9d9be; }
#blocks b.on { background: var(--green); border-color: var(--green); box-shadow: 0 0 .3em rgba(61,255,90,.7); }
#lcdPress { position: absolute; left: 0; right: 0; top: 10.9em; text-align: center; font-size: .78em; color: #e6ffe9; opacity: 0; letter-spacing: .1em; }
#lcdGrid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }

/* ---------------- screen ---------------- */
#screen { position: absolute; inset: 0; visibility: hidden; background: #000; }
.sec { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.batt { position: relative; display: inline-block; width: 34px; height: 16px; border: 2px solid #f2f5ff; border-radius: 2px; }
.batt::before { content: ""; position: absolute; left: -6px; top: 3px; width: 4px; height: 6px; background: #f2f5ff; }
.batt i { position: absolute; inset: 2px; background: var(--green); }
.bar { position: absolute; left: 0; right: 0; top: 0; height: 46px; display: flex; align-items: center; gap: 16px; padding: 0 16px;
  font-size: 30px; color: #fff; background: linear-gradient(#1452e8, #0a35b0); border-bottom: 2px solid #3d7bff; z-index: 6; }
.bar.clear { background: none; border: 0; }
.bar .pbox { display: inline-grid; place-items: center; width: 34px; height: 24px; border: 2px solid #fff; font-size: 14px; }
.bar #fileIdx { margin-left: auto; }
.bar .spacer { flex: 1; }
.bar .fl { color: var(--lcdBlue); font-size: 22px; }

/* playback: justified rows */
#sPlay { background: #050608; }
#gridView { position: absolute; left: 0; right: 0; top: 46px; bottom: 0; overflow: hidden; }
#grid { position: absolute; left: 0; top: 0; width: 390px; will-change: transform; }
#grid.blur { filter: url(#mblur); }
#grid .c { position: absolute; background: #111 center/cover no-repeat; }
#countBand { position: absolute; left: 0; right: 0; top: 262px; height: 214px; z-index: 5; background: #000;
  border-top: 3px solid #fff; border-bottom: 3px solid #fff; box-shadow: 0 0 0 6px #000, 0 20px 60px rgba(0,0,0,.8);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; visibility: hidden; }
#countKicker { font-size: 18px; letter-spacing: 2px; color: #c9d0e0; }
#odo { display: flex; font-family: "Press Start 2P"; font-weight: 400; font-size: 64px; line-height: 1; color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,.35); }
#odo .win { height: 1em; overflow: hidden; width: 1em; text-align: center; }
#odo .strip { will-change: transform; }
#odo .strip span { display: block; height: 1em; line-height: 1em; }
#odo .comma { width: .7em; text-align: center; height: 1em; line-height: 1em; }
#countLabel { font-size: 30px; letter-spacing: 10px; color: var(--yellow); text-shadow: 0 0 12px rgba(246,233,74,.5); margin-left: 10px; }
#selFrame { position: absolute; border: 4px solid var(--yellow); box-shadow: 0 0 16px rgba(246,233,74,.7); opacity: 0; z-index: 3; }
#hero { position: absolute; inset: 0; z-index: 4; visibility: hidden; overflow: hidden; }
#heroBg { position: absolute; inset: 0; }

.stamp { position: absolute; right: 18px; bottom: 26px; font-family: "DSEG7", "VT323", monospace; font-size: 22px; color: var(--orange);
  text-shadow: 0 0 6px rgba(255,120,20,.9), 0 0 1px #ffb46b; word-spacing: 4px; z-index: 2; white-space: pre; }
.stamp b { font-family: "VT323"; font-weight: 400; font-size: 1.4em; margin-right: 2px; vertical-align: -2px; }
.stamp.big { font-size: 26px; }


/* menu */
#sMenu { background: linear-gradient(180deg, #0d47e0 0%, #0835b3 55%, #062a8d 100%); }
#menuHead { position: absolute; left: 0; right: 0; top: 0; height: 84px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; border-bottom: 3px solid #3d7bff; background: linear-gradient(#0f4cf0, #0a3bc4); }
#menuTitle { font-size: 30px; color: #f2f5ff; white-space: pre; text-shadow: 0 0 8px rgba(160,200,255,.5); }
#menuRail { position: absolute; left: 0; top: 87px; width: 62px; bottom: 76px; border-right: 3px solid #3d7bff; display: flex; flex-direction: column; }
.rIcon { height: 86px; display: grid; place-items: center; color: #e8efff; border-bottom: 2px solid rgba(61,123,255,.6); }
.rIcon svg { width: 30px; height: 30px; }
.rIcon.on { background: #1a5cff; }
#menuBody { position: absolute; left: 70px; right: 8px; top: 100px; }
.row { position: relative; height: 120px; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 31px; color: #f2f5ff;
  border-bottom: 2px solid rgba(61,123,255,.55); white-space: pre; z-index: 1; }
.row .lab, .row .val, .row .arr { flex: none; }
.row .lead { flex: 1; height: 4px; margin-top: 14px; opacity: 0;
  background-image: radial-gradient(circle, rgba(242,245,255,.85) 1.4px, transparent 1.6px); background-size: 9px 4px; }
.row .arr { font-size: 20px; margin-left: 6px; opacity: 0; }
#cursor { position: absolute; left: -2px; right: 0; top: 8px; height: 104px; background: linear-gradient(#ffa02e, #ff7a0a);
  box-shadow: 0 0 18px rgba(255,140,30,.6), inset 0 0 0 2px #ffc070; transform-origin: 0 50%; z-index: 0; opacity: 0; }
#menuFoot { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; display: flex; justify-content: space-between; align-items: center;
  padding: 0 18px; border-top: 3px solid #3d7bff; background: #072a8f; }
.key { font-size: 26px; padding: 2px 10px; border: 2px solid #f2f5ff; border-radius: 6px; }

/* flash */

.dev { position: absolute; inset: 0; background: #020203; z-index: 1; pointer-events: none; }
.lcdBlue { color: var(--lcdBlue); text-shadow: 0 0 10px rgba(110,180,255,.7); }

/* result: blue playback screen with a framed print */
#sResult { background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px),
  radial-gradient(90% 60% at 50% 55%, #0b3cc4 0%, #072a8f 55%, #04185a 100%); }
#resBtns { position: absolute; left: 14px; right: 14px; top: var(--by, 650px); height: 66px; display: flex; gap: 12px; z-index: 3; }
.rbtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; font-family: "Silkscreen"; font-weight: 700; font-size: 22px;
  color: #fff; background: linear-gradient(#1452e8, #0a35b0); border: 2px solid #6d9fff; box-shadow: 0 0 14px rgba(40,100,255,.45); }
.rbtn svg { width: 28px; height: 28px; }

/* overlays */
#white { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 20; }
#burst { position: absolute; left: 50%; top: 46%; width: 900px; height: 900px; margin: -450px 0 0 -450px; opacity: 0; pointer-events: none; z-index: 21; will-change: transform, opacity; }
#burst i { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
#burst .bHalo { width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(circle, rgba(255,250,240,.8) 0%, rgba(225,235,255,.45) 30%, rgba(190,210,255,.16) 50%, rgba(190,210,255,0) 70%); }
#burst .bCore { width: 560px; height: 560px; margin: -280px 0 0 -280px;
  background: radial-gradient(circle, #fff 0%, #fff 20%, rgba(255,253,248,.85) 38%, rgba(255,250,240,.35) 56%, rgba(255,250,240,0) 74%); }
#burst .bStreak { width: 900px; height: 70px; margin: -35px 0 0 -450px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.75) 0%, rgba(210,225,255,.25) 45%, rgba(210,225,255,0) 100%); }
#afterimg { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; opacity: 0; z-index: 19;
  pointer-events: none;
  background: radial-gradient(circle, rgba(170,60,255,.45) 0%, rgba(40,220,160,.25) 34%, rgba(40,160,255,.08) 55%, rgba(40,120,255,0) 72%); }
#pixgrid { position: absolute; inset: 0; pointer-events: none; z-index: 30; opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
#noise { position: absolute; inset: -40px; pointer-events: none; z-index: 31; opacity: .035; will-change: transform;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .5s steps(4) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-17px,9px)} 50%{transform:translate(11px,-21px)} 75%{transform:translate(-7px,-13px)} 100%{transform:translate(0,0)} }
#vignette { position: absolute; inset: 0; pointer-events: none; z-index: 32; opacity: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%); }

/* mode dial (desktop) */
#dialWrap { position: absolute; left: -190px; top: 50%; width: 120px; height: 160px; margin-top: -80px; transform: scale(1.3); display: none; }
/* mode dial removed (boss 10-05) */
#dial { position: absolute; left: 0; top: 20px; width: 120px; height: 120px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #c9ccd2 0deg 3deg, #7b7f88 3deg 6deg); box-shadow: 0 8px 20px rgba(0,0,0,.6); will-change: transform; }
#dial::after { content: ""; position: absolute; inset: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1f2f5, #a7abb3 60%, #6f737b); box-shadow: inset 0 2px 4px rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,0,0,.4); }
.dIcon { position: absolute; left: 50%; top: 50%; width: 40px; height: 20px; margin: -10px 0 0 -20px; text-align: center; z-index: 1;
  font-family: "Silkscreen"; font-size: 12px; font-weight: 700; color: #1c1d21; transform: rotate(var(--a)) translateY(-38px); }
#dialPointer { position: absolute; left: 54px; top: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 12px solid var(--orange); }
#dialLabel { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: "Silkscreen"; font-size: 12px; color: #6b6f78; letter-spacing: 2px; }

/* ---- LCD type motion ---- */
.pb { display: inline-block; opacity: 0; mask-size: 2em 2em; -webkit-mask-size: 2em 2em; mask-repeat: repeat; -webkit-mask-repeat: repeat; padding: 0 .08em; }
.st { display: inline-block; opacity: 0; transform-origin: 0 60%; }
#nightSub, #resSub, #lcdPress, #countLabel { opacity: 0; }
.row .lab { opacity: 0; }
.vwin { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: middle; }
.vstrip { display: block; }
.vstrip i { display: block; font-style: normal; height: 1.1em; text-align: right; }
.stamp .ghost { position: absolute; left: 0; top: 0; opacity: .1; text-shadow: none; }
.stamp .lit { position: relative; display: inline-block; clip-path: inset(0 100% 0 0); }

/* ---- shared print component (cat, best night, result) ---- */
.screenBg, #sResult { background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px),
  radial-gradient(90% 60% at 50% 55%, #0b3cc4 0%, #072a8f 55%, #04185a 100%); }
#sFlash { background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px),
  radial-gradient(90% 60% at 50% 55%, #10162a 0%, #070a14 60%, #020306 100%); }
.print { position: absolute; left: 27px; top: 216px; width: 336px; height: 448px; background: #f7f5ef; padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,20,.55), 0 2px 0 rgba(255,255,255,.6) inset; z-index: 2; transform-origin: 50% 60%; }
.printPhoto { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.printPhoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.print .stamp { right: 10px; bottom: 10px; font-size: 20px; }
.pText { position: absolute; left: 20px; right: 16px; top: 92px; z-index: 3; }
.pKick { font-size: 20px; color: var(--yellow); white-space: pre; height: 24px; text-shadow: 2px 2px 0 #001040; }
.pTitle { font-size: 34px; line-height: 1; color: #fff; white-space: pre; height: 36px; margin-top: 2px; text-shadow: 3px 3px 0 #001040; }
.pSub { font-size: 24px; color: #dfe8ff; white-space: pre; margin-top: 4px; height: 26px; opacity: 0; }
#nightText .pTitle { color: var(--lcdBlue); }
.dev { position: absolute; inset: 0; background: #020203; z-index: 1; pointer-events: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.vstrip i.dash { opacity: .45; }

#deskPrints { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.deskPrint { position: absolute; background: #f3efe6; padding: 16px 16px 16px; box-sizing: border-box;
  box-shadow: 0 6px 14px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.4); }
.deskPrint img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) sepia(.08); }
.deskPrint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,240,210,.12), rgba(0,0,0,.18)); pointer-events: none; }

/* loader: the boot screen, full screen, then it shrinks into the LCD */
html.loading, html.loading body { overflow: hidden; }
#loader { position: absolute; inset: 0; z-index: 60; }
#ldBg { position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 45%, #0d2414 0%, #06120a 55%, #020504 100%); }
#ldScreen { position: absolute; overflow: hidden; }
#ldScreen .ldBack { position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 50%, #0d2414 0%, #06120a 55%, #020504 100%); }
#ldDucky { position: absolute; left: 0; right: 0; margin: 0 auto; top: .3em; height: 4.3em; image-rendering: pixelated; opacity: 0;
  filter: drop-shadow(0 0 .35em rgba(70,255,100,.5)); transform-origin: 50% 90%; }
#ldTitle, #ldYear { position: absolute; left: 0; right: 0; text-align: center; font-size: 1.05em; line-height: 1; color: #e6ffe9; opacity: 0;
  text-shadow: 0 0 .3em rgba(110,255,140,.6); white-space: pre; }
#ldTitle { top: 4.45em; } #ldYear { top: 6.05em; }
#ldBlocks { position: absolute; left: 13%; right: 13%; top: 7.75em; height: .8em; display: flex; gap: .12em; opacity: 0; }
#ldBlocks b { flex: 1; border: .07em solid #b9d9be; }
#ldBlocks b.on { background: var(--green); border-color: var(--green); box-shadow: 0 0 .3em rgba(61,255,90,.7); }
#ldMsg { position: absolute; left: 0; right: 0; top: 17.9em; text-align: center; font-size: .5em; letter-spacing: .14em; color: #b9d9be; opacity: 0; }
#ldScreen .ldGrid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }

/* desk depth: a pre-blurred, darker copy crossfades in (no per-frame blur filter) */
#heroBlur { position: absolute; left: 0; top: 0; opacity: 0; user-select: none; will-change: transform, opacity; }
/* camera cut-out: feathered edge that carries its own contact shadow, so no seam when it lifts */
#camBody { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 30px, #000 calc(100% - 44px), transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 30px, #000 calc(100% - 44px), transparent 100%);
  mask-composite: intersect; border-radius: 0 !important; }
#camShadow { position: absolute; border-radius: 50%; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 100%); }

/* ending */
#endCard { position: absolute; inset: 0; z-index: 26; pointer-events: none; visibility: hidden; }
#endScrimTop { position: absolute; left: 0; right: 0; top: 0; height: 330px; opacity: 0;
  background: linear-gradient(rgba(4,5,10,.92) 0%, rgba(4,5,10,.78) 55%, rgba(4,5,10,0) 100%); }
#endScrimBot { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; opacity: 0;
  background: linear-gradient(rgba(4,5,10,0), rgba(4,5,10,.85) 70%); }
#endWord { position: absolute; left: 0; right: 0; top: 56px; height: 72px; display: flex; justify-content: center; overflow: hidden; z-index: 3; }
#endWord img { height: 66px; width: auto; display: block; opacity: 0; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); }
#endRew { position: absolute; left: 0; right: 0; top: 158px; text-align: center; font-size: 26px; color: #3dff5a; text-shadow: 0 0 14px rgba(61,255,90,.55); }
#endLine { position: absolute; left: 0; right: 0; top: 200px; text-align: center; font-size: 28px; color: #e8edf8; opacity: 0; }
#endShare { position: absolute; left: 50%; bottom: 34px; width: 300px; margin-left: -150px; height: 62px; font-size: 18px; opacity: 0; pointer-events: auto; }
#endPrint { z-index: 25; visibility: hidden; }

/* the real ente wordmark wherever Ente appears */
.wmI { height: .92em; width: auto; vertical-align: -.08em; margin-right: .1em; filter: drop-shadow(0 0 .25em rgba(110,255,140,.6)); }
#camLogo { position: absolute; display: flex; align-items: center; justify-content: center; }
#camLogo img { height: 17px; width: auto; opacity: .92; }
#camLogo { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); filter: brightness(.94); }
#camLogo img { filter: brightness(1.06); }
.wmPx { display: block; height: 1.3em; width: auto; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 0 .25em rgba(110,255,140,.6)); }
#camLogo { background: none !important; -webkit-mask-image: none; mask-image: none; filter: none; }
#camLogo img { height: 14px; opacity: .88; filter: none; }
.rbtn { font-size: 17px; gap: 10px; letter-spacing: .5px; padding: 0 16px; } .rbtn svg { width: 24px; height: 24px; flex: none; }

/* ---- MENU = playback info (DISP) overlay ---- */
#sMenu { background: #000; z-index: 7; }
#dispPhotoWrap { position: absolute; inset: 0; overflow: hidden; }
.dispPh { opacity: 0; } .dispPh:first-child { opacity: 1; }
.dispPh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; will-change: transform; }
#dispScrimTop { position: absolute; left: 0; right: 0; top: 0; height: 170px; opacity: 0; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
#dispScrim { position: absolute; left: 0; right: 0; bottom: 0; height: 470px; opacity: 0;
  background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.82) 60%, rgba(0,0,0,.9) 100%); }
.oln { color: #fff; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000; }
#dispHead { position: absolute; left: 22px; top: 30px; }
#dispTitle { font-size: 30px; line-height: 1; opacity: 0; letter-spacing: 1px; }
#dispFile { margin-top: 14px; font-size: 20px; line-height: 1; display: flex; align-items: center; gap: 10px; opacity: 0; }
#dispFile .tri { width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid var(--orange);
  filter: drop-shadow(1px 1px 0 #000); }
#dispBatt { position: absolute; right: 22px; top: 36px; opacity: 0; border-color: #fff; box-shadow: 0 0 0 2px #000; }
#dispBatt i { background: var(--orange); right: 50%; }
#histo { position: absolute; left: 22px; top: calc(512px + var(--dy, 0px)); width: 190px; height: 64px; border: 2px solid #fff; background: rgba(0,0,0,.6);
  box-shadow: 0 0 0 2px #000; opacity: 0; overflow: hidden; }
#histoBars { position: absolute; left: 4px; right: 4px; bottom: 3px; top: 6px; display: flex; align-items: flex-end; gap: 1px; }
#histoBars b { flex: 1; background: #fff; transform-origin: 50% 100%; }
#histoMark { position: absolute; left: 58%; top: 3px; bottom: 3px; width: 2px; background: var(--orange); opacity: 0; }
#dispRows { position: absolute; left: 14px; right: 14px; top: calc(598px + var(--dy, 0px)); }
.drow { position: relative; height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px;
  font-family: "VT323", monospace; font-weight: 400; font-size: 34px; letter-spacing: 1.5px; color: #fff; white-space: pre; z-index: 1;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.drow .dlab { opacity: 0; }
.drow .vstrip i { text-align: right; }
#dispHi { position: absolute; left: 0; right: 0; top: 0; height: 38px; z-index: 0; opacity: 0; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255,138,28,.42), rgba(255,138,28,.12)); border-left: 4px solid var(--orange); }
#dispChip { position: absolute; left: 22px; top: calc(796px + var(--dy, 0px)); padding: 4px 10px 3px; font-size: 18px; color: var(--orange); border: 2px solid var(--orange);
  border-radius: 9px; background: rgba(0,0,0,.45); opacity: 0; line-height: 1; }
#dispBlack { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }

/* meter under a print */
.meter { position: absolute; left: 27px; right: 27px; top: calc(728px + var(--dy, 0px)); z-index: 3; }
.mHead { display: flex; justify-content: space-between; font-size: 15px; letter-spacing: 1px; color: #fff; opacity: 0; text-shadow: 0 0 8px rgba(160,200,255,.5); }
.mHead span:last-child { color: var(--yellow); }
.mBar { margin-top: 12px; height: 22px; display: flex; gap: 4px; opacity: 0; }
.mBar b { flex: 1; border: 2px solid rgba(242,245,255,.55); }
.mBar b.on { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 8px rgba(246,233,74,.6); }
