@font-face { font-family: "Pixel"; src: url("fonts/press-start-2p-latin-400-normal.woff2") format("woff2"), url("fonts/press-start-2p-latin-400-normal.woff") format("woff"); font-display: block; }
:root { --ink: #2a1f1a; --cream: #efe6d3; --creamHi: #fffaf0; --creamLo: #d6c9ad; --dark: #0c0912; --panel: rgba(22,16,32,.92);
  --gold: #ffd38a; --red: #ff6b6b; --green: #7be08a; --p0: #5ce1c6; --p1: #ff9a8a; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #1a1424; color: #f6f1ea; }
body, .px { font-family: "Pixel", monospace; -webkit-font-smoothing: none; font-smooth: never; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; transform-origin: 0 0; }
#room { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; image-rendering: pixelated; image-rendering: crisp-edges; }
#shade { position: absolute; inset: 0; background: rgba(14,10,24,.55); transition: background .4s; }
#shade.light { background: radial-gradient(ellipse at 50% 45%, rgba(14,10,24,.7) 0%, rgba(14,10,24,.45) 70%); }
#shade.dark { background: rgba(14,10,24,.72); }
#ui { position: absolute; inset: 0; }

/* pixel borders */
.pnl { background: var(--panel); box-shadow: 0 -6px var(--dark), 0 6px var(--dark), -6px 0 var(--dark), 6px 0 var(--dark), inset 0 5px rgba(255,255,255,.07), 8px 12px 0 rgba(0,0,0,.4); }
.crm, .focusable.focused { background: var(--cream) !important; color: var(--ink) !important;
  box-shadow: 0 -6px var(--ink), 0 6px var(--ink), -6px 0 var(--ink), 6px 0 var(--ink), inset 0 5px var(--creamHi), inset 0 -7px var(--creamLo), 8px 12px 0 rgba(0,0,0,.4) !important; }
.focusable { cursor: pointer; transition: transform .1s steps(2); }
.focusable.focused { transform: scale(1.04); }
.focusable.focused .sub, .focusable.focused .muted { color: #6b5a48 !important; }
.focusable.focused .gold { color: #a8323a !important; }
.sh { text-shadow: 4px 4px 0 #120d1c; }
.gold { color: var(--gold); }
.muted { color: #b9b0cf; }
.red { color: var(--red); }
.grn { color: var(--green); }

/* title */
.title { position: absolute; inset: 0; text-align: center; }
.logo { font-size: 96px; margin-top: 80px; line-height: 1.25; }
.logo i { font-style: normal; display: inline-block; color: #f6f1ea; text-shadow: 6px 6px 0 #b8687a, 12px 12px 0 #120d1c, 0 0 30px rgba(0,0,0,.6); animation: hop 1.6s steps(1) infinite; }
.logo i.g { color: var(--gold); text-shadow: 6px 6px 0 #c0563f, 12px 12px 0 #120d1c, 0 0 30px rgba(0,0,0,.6); }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-10px); } 86% { transform: translateY(-4px); } }
.logo-wrap { position: relative; display: inline-block; }
.tsub { font-size: 24px; letter-spacing: 4px; color: #cfc7e8; margin-top: 30px; }
.crew { display: flex; justify-content: center; align-items: flex-end; gap: 30px; margin-top: 36px; height: 130px; }
.crew canvas { image-rendering: pixelated; animation: idle 1.2s steps(2) infinite; }
.crew canvas:nth-child(2) { animation-delay: .6s; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.menu { display: inline-flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.menu .opt { padding: 20px 36px; font-size: 24px; }
.opt { width: 760px; padding: 26px 36px; font-size: 26px; display: flex; justify-content: space-between; align-items: center; }
.opt .ov { color: var(--gold); font-size: 20px; }
.best { margin-top: 36px; font-size: 16px; line-height: 2; color: #cfc7e8; }

/* HUD */
#hud { position: absolute; top: 0; left: 0; right: 0; height: 130px; display: none; align-items: center; justify-content: space-between; padding: 0 60px; }
#hud.on { display: flex; }
.hud-l { display: flex; align-items: center; gap: 26px; }
.hud-l .avs { display: flex; gap: 6px; }
.hud-l canvas { image-rendering: pixelated; animation: idle 1.2s steps(2) infinite; }
.hud-l canvas:nth-child(2) { animation-delay: .6s; }
.rname { font-size: 30px; }
.rnum { font-size: 16px; color: #cfc7e8; margin-top: 12px; letter-spacing: 2px; }
.mode-tag { font-size: 14px; padding: 6px 10px; margin-left: 12px; vertical-align: middle; }
.hud-r { display: flex; align-items: center; gap: 36px; }
.pips { display: flex; gap: 10px; }
.pips span { width: 20px; height: 20px; background: #2a2245; box-shadow: 0 -3px var(--dark), 0 3px var(--dark), -3px 0 var(--dark), 3px 0 var(--dark); }
.pips span.done { background: var(--gold); }
.pips span.cur { background: #f6f1ea; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { background: #2a2245; } }
#timer { font-size: 56px; padding: 18px 26px; color: var(--gold); min-width: 290px; text-align: center; }
#timer.low { color: var(--red); animation: tblink 1s steps(1) infinite; }
@keyframes tblink { 50% { color: #7a2a2a; } }

#screen { position: absolute; top: 140px; left: 60px; right: 60px; bottom: 80px; }
#screen.full { top: 0; left: 0; right: 0; bottom: 0; }
#footer { position: absolute; bottom: 0; left: 0; right: 0; height: 64px; display: none; align-items: center; gap: 44px; padding: 0 60px;
  font-size: 14px; color: #cfc7e8; }
#footer.on { display: flex; }
.k { display: inline-block; padding: 6px 10px; margin-right: 10px; color: #f6f1ea; background: #2a2245; box-shadow: 0 -3px var(--dark), 0 3px var(--dark), -3px 0 var(--dark), 3px 0 var(--dark); }
.k.y { color: #1a1424; background: #e0b12a; }
.k.b { color: #fff; background: #3a7fe0; }
.k.r { color: #fff; background: #d9473d; }

/* room */
.room { display: grid; grid-template-columns: 1fr 470px; gap: 50px; height: 100%; }
.story { padding: 30px 36px; font-size: 21px; line-height: 1.75; margin-bottom: 40px; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.item { padding: 24px 26px; display: flex; align-items: center; gap: 22px; min-height: 120px; }
.item .ic { font-size: 48px; width: 64px; text-align: center; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.item .nm { font-size: 19px; line-height: 1.4; }
.item .sub { font-size: 13px; color: #b9b0cf; margin-top: 10px; }
.item.seen .nm:after { content: " ✓"; color: var(--green); }
.item.seen.focused .nm:after { color: #2f7a3a; }
.side { display: flex; flex-direction: column; gap: 30px; justify-content: center; }
.action { padding: 40px 30px; text-align: center; background: rgba(58,42,22,.95) !important; }
.action .ic { font-size: 84px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.action .nm { font-size: 26px; margin-top: 18px; color: var(--gold); line-height: 1.4; }
.action .sub { font-size: 14px; margin-top: 14px; color: #cfc7e8; line-height: 1.6; }
.smallbtn { padding: 24px; text-align: center; font-size: 20px; }
.smallbtn .sub { font-size: 12px; color: #b9b0cf; margin-top: 10px; }

/* modal */
#modal { position: absolute; inset: 0; background: rgba(10,8,25,.8); display: none; align-items: center; justify-content: center; z-index: 10; }
#modal.on { display: flex; }
.card { padding: 54px 64px; min-width: 900px; max-width: 1600px; text-align: center; }
.card h2 { font-size: 34px; margin: 0 0 36px; color: var(--gold); line-height: 1.4; }
.card .body { font-size: 22px; line-height: 1.8; margin-bottom: 40px; }
.card .body.left { text-align: left; }
.row { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 22px 40px; font-size: 22px; min-width: 260px; text-align: center; }
.note { background: var(--cream); color: var(--ink); padding: 34px 44px; font-size: 22px; line-height: 1.9; text-align: left; margin: 0 auto 40px; max-width: 1200px;
  box-shadow: 0 -6px var(--ink), 0 6px var(--ink), -6px 0 var(--ink), 6px 0 var(--ink), inset 0 5px var(--creamHi), inset 0 -7px var(--creamLo); }
.note ol { margin: 0; padding-left: 40px; }
.plaque { background: #c9a24e; color: #2a1e06; padding: 36px 56px; font-size: 34px; line-height: 1.6; letter-spacing: 4px; margin: 0 auto 40px; display: inline-block;
  box-shadow: 0 -6px #7a5a1e, 0 6px #7a5a1e, -6px 0 #7a5a1e, 6px 0 #7a5a1e, inset 0 6px #f0d48a, inset 0 -6px #a27f34; }
.cipher { font-size: 48px; letter-spacing: 8px; color: var(--gold); line-height: 1.6; margin-bottom: 40px; }
table.ledger { margin: 0 auto 40px; border-collapse: collapse; font-size: 20px; background: var(--cream); color: var(--ink); }
table.ledger th, table.ledger td { border: 3px solid #b8a876; padding: 14px 26px; }
table.ledger th { background: #e3d5a6; font-weight: normal; }

/* keypad */
.slots { display: flex; gap: 20px; justify-content: center; margin-bottom: 40px; }
.slot { width: 100px; height: 120px; background: #07090d; font-size: 54px; display: flex; align-items: center; justify-content: center; color: var(--green);
  box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 3px #2a2245; }
.slots.bad .slot { color: var(--red); box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 3px var(--red); animation: shake .4s steps(4); }
.keypad { display: grid; grid-template-columns: repeat(3, 140px); gap: 24px; justify-content: center; margin-bottom: 30px; }
.kp { height: 100px; font-size: 36px; display: flex; align-items: center; justify-content: center; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-14px); } 75% { transform: translateX(14px); } }
.tip { font-size: 14px; color: #b9b0cf; line-height: 1.8; }

/* choices */
.choices { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.choice { width: 300px; padding: 30px 18px; }
.choice .ic { font-size: 72px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.choice .swatch { width: 120px; height: 150px; margin: 0 auto; box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark); position: relative; }
.choice .nm { font-size: 18px; margin-top: 22px; line-height: 1.5; }
.choice .sub { font-size: 13px; color: #b9b0cf; margin-top: 12px; line-height: 1.7; }
.choice.dead { opacity: .3; filter: grayscale(1); }

/* simon */
.twin { display: flex; gap: 110px; align-items: center; justify-content: center; height: 100%; }
.simon { position: relative; width: 600px; height: 600px; }
.pad { position: absolute; width: 200px; height: 200px; opacity: .3; display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(0,0,0,.45);
  box-shadow: 0 -6px var(--dark), 0 6px var(--dark), -6px 0 var(--dark), 6px 0 var(--dark), inset 0 6px rgba(255,255,255,.3), inset 0 -8px rgba(0,0,0,.25); cursor: pointer; }
.pad.lit { opacity: 1; }
.pad.up { left: 200px; top: 0; background: #d9473d; }
.pad.right { left: 400px; top: 200px; background: #38a85c; }
.pad.down { left: 200px; top: 400px; background: #3a7fe0; }
.pad.left { left: 0; top: 200px; background: #e0b12a; }
.core { position: absolute; left: 225px; top: 225px; width: 150px; height: 150px; background: #07090d; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--gold); cursor: pointer; box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 4px #e2b341; }
.info { width: 680px; padding: 44px 46px; }
.info h2 { font-size: 30px; color: var(--gold); margin: 0 0 30px; }
.lasers { display: flex; gap: 18px; margin-bottom: 30px; }
.laser { flex: 1; height: 16px; background: #ff3b3b; box-shadow: 0 0 20px #ff3b3b; }
.laser.off { background: #3a3f58; box-shadow: none; }
.status { font-size: 22px; margin: 26px 0; min-height: 70px; line-height: 1.6; }
.controls { font-size: 14px; line-height: 2.4; color: #cfc7e8; }

/* sliding puzzle */
.slider { position: relative; width: 600px; height: 600px; background: #07090d; box-shadow: 0 -8px var(--dark), 0 8px var(--dark), -8px 0 var(--dark), 8px 0 var(--dark), 0 0 0 14px #e2b341, 0 0 0 20px #7a5a1e; }
.tile { position: absolute; width: 200px; height: 200px; background-size: 600px 600px; image-rendering: pixelated; transition: left .12s steps(3), top .12s steps(3);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.5); cursor: pointer; }
.tile b { position: absolute; left: 8px; top: 8px; font-size: 14px; font-weight: normal; color: #fff; background: rgba(0,0,0,.6); padding: 4px 6px; }

/* dial */
.dial { position: relative; width: 580px; height: 580px; }
.dial canvas { width: 100%; height: 100%; image-rendering: pixelated; transition: transform .1s steps(2); }
.dial .ptr { position: absolute; left: 50%; top: -40px; margin-left: -24px; width: 48px; height: 36px; background: #ff3b3b;
  clip-path: polygon(0 0, 100% 0, 50% 100%); }
.dial .read { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; color: var(--gold); pointer-events: none; text-shadow: 6px 6px 0 #120d1c; }
.combo { display: flex; gap: 20px; margin-bottom: 30px; }
.combo .slot { width: 140px; font-size: 44px; }
.combo .slot.cur { box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 4px var(--gold); }
.dbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.dbtns div { padding: 16px; font-size: 18px; text-align: center; cursor: pointer; }

/* wires */
.grid { position: relative; background: #07090d; box-shadow: 0 -8px var(--dark), 0 8px var(--dark), -8px 0 var(--dark), 8px 0 var(--dark), 0 0 0 14px #2a3550; }
.wt { position: absolute; background: #141a2a; box-shadow: inset 0 0 0 2px #0a0e1a; cursor: pointer; }
.wt.cur { box-shadow: inset 0 0 0 6px var(--gold); background: #1e2640; z-index: 2; }
.wt i { position: absolute; background: #5a6070; }
.wt.on i { background: #ffd84a; box-shadow: 0 0 14px rgba(255,216,74,.7); }
.wt.fixed { background: #241a2a; }
.wt.fixed:after { content: ""; position: absolute; right: 8px; top: 8px; width: 10px; height: 10px; background: #8a7a9a; }
.term { position: absolute; width: 50px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.term.src { background: #e0b12a; color: #1a1424; }
.term.dst { background: #3a3f58; color: #cfc7e8; }
.term.dst.on { background: #38a85c; color: #fff; }

/* end screens */
.end { position: absolute; inset: 0; text-align: center; }
.end h1 { font-size: 90px; font-weight: normal; margin: 150px 0 0; }
.end .tag { font-size: 20px; color: #cfc7e8; margin-top: 30px; line-height: 1.8; }
.stats { display: flex; gap: 40px; justify-content: center; margin: 60px 0 50px; }
.stat { padding: 34px 40px; min-width: 300px; }
.stat .v { font-size: 46px; color: var(--gold); }
.stat .l { font-size: 14px; color: #cfc7e8; margin-top: 18px; letter-spacing: 2px; }
.dance { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.dance canvas { image-rendering: pixelated; animation: happy .7s steps(4) infinite; }
.dance canvas:nth-child(2) { animation-delay: .35s; }
@keyframes happy { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-18px); } 50% { transform: translateY(-26px); } 75% { transform: translateY(-12px); } }

/* toast + flash */
#toast { position: absolute; top: 150px; left: 50%; transform: translateX(-50%); font-size: 26px; padding: 20px 34px; color: #fff; background: #a8323a;
  box-shadow: 0 -6px var(--dark), 0 6px var(--dark), -6px 0 var(--dark), 6px 0 var(--dark), 8px 12px 0 rgba(0,0,0,.4);
  white-space: nowrap; opacity: 0; z-index: 30; pointer-events: none; transition: opacity .2s steps(2); }
#toast.on { opacity: 1; }
#flash { position: absolute; inset: 0; background: #ff3b3b; opacity: 0; pointer-events: none; z-index: 40; transition: opacity .3s steps(3); }


.focusable.focused .nm, .focusable.focused .ov { color: #a8323a !important; }

/* coats */
.choice img.coat { width: 160px; height: 220px; image-rendering: pixelated; display: block; margin: 0 auto; }
/* general ledger */
.lhead { font-size: 18px; margin-bottom: 20px; color: #f6f1ea; }
table.ledger.gl { font-size: 17px; }
table.ledger.gl td, table.ledger.gl th { padding: 12px 18px; }
table.ledger.gl td.num { text-align: right; min-width: 150px; }
table.ledger.gl td.desc { text-align: left; min-width: 300px; }
/* weight swap */
.cups { display: flex; align-items: flex-end; gap: 60px; height: 640px; }
.cupcol { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cup { position: relative; width: 170px; background: rgba(7,9,13,.85); box-shadow: -6px 0 #c9a24e, 6px 0 #c9a24e, 0 6px #c9a24e, -6px 6px #7a5a1e, 6px 6px #7a5a1e; }
.sand { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: repeating-linear-gradient(0deg, #e2b341 0 6px, #ffd38a 6px 8px); transition: height .25s steps(5); }
.amt { position: absolute; left: 0; right: 0; top: -44px; text-align: center; font-size: 22px; color: var(--gold); text-shadow: 3px 3px 0 #120d1c; }
.clab { font-size: 18px; text-align: center; line-height: 1.8; text-shadow: 3px 3px 0 #120d1c; }
.ped { display: flex; flex-direction: column; align-items: center; margin-left: 30px; }
.gem { width: 48px; height: 40px; background: #7fd8ff; clip-path: polygon(20% 0, 80% 0, 100% 35%, 50% 100%, 0 35%); animation: gem 1.2s steps(2) infinite; }
@keyframes gem { 50% { background: #d8f6ff; } }
.ptop { width: 160px; height: 18px; background: #efe6d3; margin-top: 8px; }
.pbody { width: 110px; height: 220px; background: #d6c9ad; color: #6b5a48; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.wbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.wbtns div { padding: 20px 10px; font-size: 18px; text-align: center; }
.swapbtn { margin-top: 26px; padding: 26px; text-align: center; font-size: 22px; color: var(--gold); background: rgba(58,42,22,.95) !important; }
.evs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.ev { padding: 18px 20px; font-size: 15px; line-height: 1.4; }
.ev .sub { font-size: 11px; color: #b9b0cf; margin-top: 8px; }

/* cutscenes */
#cut { position: absolute; inset: 0; z-index: 60; display: none; background: #000; }
#cut.on { display: block; }
#cutcv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; image-rendering: pixelated; image-rendering: crisp-edges; }
#cutover { position: absolute; inset: 0; pointer-events: none; }
.plac { position: absolute; width: 432px; height: 216px; display: flex; align-items: center; justify-content: center; text-align: center; color: #f6f1ea; font-size: 30px; line-height: 1.7; }
#cutcap { position: absolute; left: 160px; right: 160px; top: 40px; padding: 30px 40px 24px; cursor: pointer; }
#cuttxt { font-size: 24px; line-height: 1.8; min-height: 86px; text-shadow: 3px 3px 0 #120d1c; }
#cuthint { font-size: 12px; color: #b9b0cf; text-align: right; margin-top: 10px; }

/* phone text (win cutscene) */
.ph { position: absolute; font-size: 22px; }
.ph-head { left: 690px; width: 540px; top: 160px; height: 84px; display: flex; align-items: center; justify-content: center; color: #2a1f1a; letter-spacing: 4px; font-size: 24px; }
.ph-time { left: 690px; width: 540px; text-align: center; color: #8a7a62; font-size: 14px; }
.bub { padding: 18px 24px; max-width: 380px; }
.bub.in { left: 720px; background: #d6c9ad; color: #2a1f1a; }
.bub.out { right: 720px; background: #3a7fe0; color: #fff; }
.bub.big { font-size: 34px; padding: 24px 30px; }
.typing { opacity: 0; animation: typing 1.4s steps(1) .8s forwards; }
@keyframes typing { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }
.pop { opacity: 0; transform: scale(.6); animation: popin .3s steps(3) 2.2s forwards; }
@keyframes popin { to { opacity: 1; transform: scale(1); } }

.ph-dog { width: 80px; height: 65px; image-rendering: pixelated; margin-right: 18px; background: #efe6d3; border-radius: 50%; padding: 8px 8px 4px; box-shadow: 0 0 0 3px #b8a876; }

/* launcher */
.logo.launch { font-size: 76px; margin-top: 70px; }
.cards { display: flex; gap: 60px; justify-content: center; margin-top: 30px; }
.gcard { width: 620px; padding: 22px 22px 26px; text-align: left; }
.gcard canvas { width: 576px; height: 324px; image-rendering: pixelated; display: block; box-shadow: 0 0 0 4px #0c0912; }
.gname { font-size: 22px; margin-top: 22px; color: var(--gold); white-space: nowrap; }
.focusable.focused .gname { color: #a8323a !important; }
.gtag { font-size: 15px; margin-top: 12px; color: #cfc7e8; }
.gbest { font-size: 13px; margin-top: 14px; color: #8a83a6; }
.focusable.focused .gtag, .focusable.focused .gbest { color: #6b5a48 !important; }
/* simon as rounds */
.lasers.rounds .laser { background: #e2b341; box-shadow: none; }
.lasers.rounds .laser.off { background: #38a85c; }
/* prison bits */
img.tally { width: 640px; height: 320px; image-rendering: pixelated; display: block; margin: 0 auto 20px; box-shadow: 0 0 0 6px #0c0912; }
.locker { width: 150px; height: 230px; margin: 0 auto; background: #6a7a8a; position: relative; box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 6px #8a9aaa; }
.locker .lv { height: 6px; margin: 14px 30px 0; background: #4a5a6a; }
.locker .lh { position: absolute; right: 18px; top: 120px; width: 8px; height: 34px; background: #c9ccd2; }
.locker .sticker { position: absolute; left: 30px; top: 92px; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 38px; box-shadow: 0 0 0 4px rgba(255,255,255,.6); transform: rotate(-8deg); }
.lo { display: grid; gap: 14px; }
.cam { background: #07090d; position: relative; cursor: pointer; box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 4px #2a2d36; }
.cam .feed { position: absolute; inset: 14px; background: #050608; }
.cam.on .feed { background: repeating-linear-gradient(0deg, #2a5a3a 0 4px, #3a7a4a 4px 8px); animation: scan 1s steps(4) infinite; }
@keyframes scan { 50% { filter: brightness(1.25); } }
.cam .cid { position: absolute; left: 20px; bottom: 18px; font-size: 12px; color: #cfc7e8; }
.cam.cur { box-shadow: 0 -5px var(--dark), 0 5px var(--dark), -5px 0 var(--dark), 5px 0 var(--dark), inset 0 0 0 6px var(--gold); }
.yard { position: relative; background: rgba(58,50,38,.9); box-shadow: 0 -8px var(--dark), 0 8px var(--dark), -8px 0 var(--dark), 8px 0 var(--dark), 0 0 0 14px #6a6e78; }
.yt { position: absolute; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); cursor: pointer; }
.yt.lit { background: rgba(255,240,170,.75); box-shadow: inset 0 0 30px rgba(255,255,255,.6); }
.yt.next { box-shadow: inset 0 0 0 4px rgba(255,220,120,.0); background-image: radial-gradient(circle, transparent 52%, rgba(255,230,140,.85) 54%, transparent 60%); }
.yt.goal { background-color: #14110c; box-shadow: inset 0 0 0 4px #8a8e96; }
.yt.goal:after { content: "HOLE"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #c9ccd2; }
.ycrew { position: absolute; display: flex; align-items: center; justify-content: center; gap: 2px; transition: left .12s steps(2), top .12s steps(2); pointer-events: none; z-index: 2; }
.ycrew canvas { image-rendering: pixelated; }
.woof { position: absolute; left: 1140px; top: 260px; padding: 26px 40px; font-size: 54px; background: var(--cream); color: var(--ink); opacity: 0; animation: popin .3s steps(3) 1s forwards;
  box-shadow: 0 -6px var(--ink), 0 6px var(--ink), -6px 0 var(--ink), 6px 0 var(--ink), 8px 12px 0 rgba(0,0,0,.4); transform: scale(.6); }
