@font-face { font-family: 'Titan'; src: url('../fonts/TitanOne-Regular.ttf'); font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/Fredoka.ttf'); font-weight: 300 700; font-display: swap; }
:root { --ink:#2a1a10; --brown:#4a2c17; --orange:#e8742a; --mustard:#e9b53e; --cream:#f8ead0; --avocado:#7c8a3a; --teal:#2b8f8a; --red:#c8432b; --purple:#7b4fa8;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #1b110a; overflow: hidden; overscroll-behavior: none; }
body { font-family: 'Fredoka', system-ui, sans-serif; color: var(--ink); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
button { font-family: inherit; touch-action: manipulation; cursor: pointer; }
img { -webkit-user-drag: none; pointer-events: none; }
#app { position: relative; width: 100%; max-width: 520px; height: 100%; margin: 0 auto; display: flex; flex-direction: column; background: var(--cream); overflow: hidden;
  background-image: radial-gradient(circle at 50% 120%, #f3d9a8 0, var(--cream) 60%); }
/* HUD */
#hud { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(6px + var(--sat)) 10px 6px; background: var(--brown); border-bottom: 3px solid var(--ink); color: var(--cream); z-index: 5; }
.hud-cash { font-family: 'Titan'; font-size: 22px; color: var(--mustard); text-shadow: 2px 2px 0 var(--ink); min-width: 92px; }
.hud-stash { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 16px; background: rgba(0,0,0,.25); padding: 3px 8px 3px 4px; border-radius: 14px; }
.hud-stash img { height: 22px; }
.hud-heat { flex: 1; display: flex; align-items: center; gap: 6px; }
.hud-heat .lbl { font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.hud-heat .bar { flex: 1; height: 12px; border: 2px solid var(--ink); border-radius: 8px; background: #2c1d12; overflow: hidden; }
.hud-heat .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#6fbf5a,#e9b53e 55%,#e0472c); transition: width .4s; }
.hud-heat.hot .bar { animation: pulse 0.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 10px 2px #ff5a2a; } }
.hud-gear { width: 40px; height: 40px; font-size: 22px; border-radius: 12px; border: 2px solid var(--ink); background: var(--orange); color: var(--cream); box-shadow: 0 3px 0 var(--ink); }
/* Stage */
#stage { position: relative; flex: none; width: 100%; overflow: hidden; border-bottom: 3px solid var(--ink); background: #3a2416; }
#bg { position: absolute; inset: 0; background-size: cover; background-position: center 75%; transition: opacity .35s; }
#glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .5s; background: radial-gradient(ellipse at 55% 75%, rgba(190,90,255,.45), transparent 65%); }
#glow.on { opacity: 1; }
#marvOnStage { position: absolute; left: 1%; bottom: 3%; height: 56%; z-index: 2; pointer-events: auto; transform-origin: bottom center; animation: idle 4s ease-in-out infinite; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); }
#marvOnStage img { height: 100%; }
@keyframes idle { 50% { transform: scaleY(1.012) rotate(-.6deg); } }
#slots { position: absolute; inset: 0; z-index: 3; }
.slot { position: absolute; width: 19%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; pointer-events: auto; border: 0; background: none; padding: 0; }
.slot .pot { width: 62%; position: relative; z-index: 2; filter: drop-shadow(0 4px 3px rgba(0,0,0,.4)); }
.slot .fol { position: absolute; z-index: 1; bottom: 34%; left: 50%; transform: translateX(-50%); transform-origin: bottom center; animation: sway 3.2s ease-in-out infinite; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.slot.thirsty .fol { filter: saturate(.5) brightness(.85); transform: translateX(-50%) rotate(4deg) scaleY(.94); animation: none; }
@keyframes sway { 0%,100% { transform: translateX(-50%) rotate(-1.5deg); } 50% { transform: translateX(-50%) rotate(1.8deg); } }
.slot .lamp { position: absolute; z-index: 3; width: 46%; right: -18%; bottom: 40%; }
.slot .bubble { position: absolute; z-index: 6; top: -14%; left: 50%; transform: translateX(-50%); min-width: 38px; height: 38px; border-radius: 19px; border: 3px solid var(--ink); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; box-shadow: 0 3px 0 var(--ink); animation: bob 1s ease-in-out infinite; }
.slot .bubble.water { background: #7fd0ff; }
.slot .bubble.ready { background: var(--mustard); }
@keyframes bob { 50% { transform: translateX(-50%) translateY(-5px); } }
.slot .ring { position: absolute; z-index: 5; bottom: 2%; left: 50%; transform: translateX(-50%); width: 64%; height: 8px; border: 2px solid var(--ink); border-radius: 6px; background: rgba(0,0,0,.45); overflow: hidden; }
.slot .ring i { display: block; height: 100%; background: #8fdc5a; }
.slot.empty .pot { opacity: .95; }
.slot .plus { position: absolute; z-index: 6; top: -6%; left: 50%; transform: translateX(-50%); font-family: 'Titan'; color: var(--cream); font-size: 13px; background: var(--avocado); border: 2px solid var(--ink); border-radius: 12px; padding: 2px 8px; white-space: nowrap; box-shadow: 0 2px 0 var(--ink); }
.slot.locked { width: 15%; height: 15%; }
.slot.locked .lockbox { width: 100%; aspect-ratio: 1; border: 3px dashed rgba(255,240,210,.85); border-radius: 14px; background: rgba(42,26,16,.45); color: var(--cream); font-family: 'Titan'; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-shadow: 1px 1px 0 var(--ink); }
.ready-spark { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.ready-spark i { position: absolute; width: 8px; height: 8px; background: #fff7c0; border-radius: 50%; box-shadow: 0 0 8px 3px #ffe56a; animation: twinkle 1.4s infinite; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
#door { position: absolute; z-index: 4; top: 8px; left: 8px; right: 60px; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.door-lbl { font-family: 'Titan'; font-size: 11px; color: var(--cream); background: var(--red); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 6px; display: none; }
#door.has .door-lbl { display: block; }
#queue { display: flex; gap: 6px; }
.qface { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--mustard) no-repeat; background-size: 190% auto; background-position: 50% 4%; box-shadow: 0 3px 0 var(--ink); pointer-events: auto; animation: arrive .45s cubic-bezier(.3,1.6,.6,1); position: relative; }
.qface:first-child { animation: arrive .45s cubic-bezier(.3,1.6,.6,1), nudge 1.6s 1s infinite; }
.qface .pat { position: absolute; left: 0; right: 0; bottom: -4px; height: 5px; border-radius: 3px; background: #6fbf5a; }
@keyframes arrive { from { transform: scale(0); } }
@keyframes nudge { 0%,80%,100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
#locbar { position: absolute; z-index: 4; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: rgba(42,26,16,.82); border: 2px solid var(--ink); border-radius: 18px; padding: 2px; color: var(--cream); font-family: 'Titan'; font-size: 13px; white-space: nowrap; }
#locbar button { width: 36px; height: 30px; border-radius: 14px; border: 0; background: var(--orange); color: var(--cream); font-size: 14px; }
#locbar button:disabled { opacity: .3; }
#locName { padding: 0 6px; }
#fx { position: absolute; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.float { position: absolute; font-family: 'Titan'; font-size: 22px; color: var(--mustard); text-shadow: 2px 2px 0 var(--ink), -1px -1px 0 var(--ink); animation: floatUp 1.2s ease-out forwards; white-space: nowrap; transform: translate(-50%, 0); }
.float.green { color: #9be36a; }
@keyframes floatUp { to { transform: translate(-50%, -70px); opacity: 0; } }
.bud { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9e88a, #5f8a2a 70%); border: 2px solid #2e4214; animation: budFly 0.9s ease-in forwards; }
@keyframes budFly { to { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: .2; } }
/* Panel */
#panel { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 10px 14px; }
#tabs { flex: none; display: flex; background: var(--brown); border-top: 3px solid var(--ink); padding: 4px 4px calc(4px + var(--sab)); gap: 4px; }
#tabs button { flex: 1; min-height: 54px; border: 2px solid var(--ink); border-radius: 12px; background: #6b4426; color: var(--cream); font-weight: 700; font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; position: relative; }
#tabs button b { font-size: 20px; line-height: 1; }
#tabs button.on { background: var(--orange); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
#tabs button .dot { position: absolute; top: 4px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #ff3b2a; border: 2px solid var(--ink); }
.card { background: #fff7e6; border: 3px solid var(--ink); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 4px 0 var(--ink); }
.card h3 { font-family: 'Titan'; font-weight: 400; margin: 0 0 4px; font-size: 18px; color: var(--brown); }
.card p { margin: 2px 0; font-size: 14px; line-height: 1.3; }
.mission { background: linear-gradient(135deg, #f7c65a, #e8742a); position: relative; overflow: hidden; }
.mission:before { content: ''; position: absolute; inset: -60%; background: repeating-conic-gradient(rgba(255,255,255,.13) 0 10deg, transparent 10deg 20deg); pointer-events: none; }
.mission > * { position: relative; }
.mission .ch { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--brown); }
.mission .prog { height: 12px; border: 2px solid var(--ink); border-radius: 8px; background: rgba(255,255,255,.5); overflow: hidden; margin-top: 6px; }
.mission .prog i { display: block; height: 100%; background: var(--avocado); }
.row { display: flex; gap: 8px; align-items: center; }
.btn { border: 3px solid var(--ink); border-radius: 14px; background: var(--orange); color: #fff; font-family: 'Titan'; font-size: 16px; padding: 10px 14px; min-height: 48px; box-shadow: 0 4px 0 var(--ink); text-shadow: 1px 1px 0 rgba(0,0,0,.4); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.green { background: #5d9a35; } .btn.teal { background: var(--teal); } .btn.gray { background: #8b7766; } .btn.purple { background: var(--purple); } .btn.red { background: var(--red); }
.btn:disabled { opacity: .45; filter: grayscale(.5); }
.btn.full { width: 100%; }
.btn.sm { font-size: 13px; padding: 6px 10px; min-height: 40px; }
.stashgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.jar { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 6px; text-align: center; font-size: 12px; font-weight: 600; }
.jar img { height: 38px; } .jar b { display: block; font-family: 'Titan'; font-weight: 400; font-size: 16px; }
.item { display: flex; gap: 10px; align-items: center; }
.item .ic { width: 64px; height: 64px; flex: none; border-radius: 12px; border: 2px solid var(--ink); background: #f3dfb8 center/contain no-repeat; }
.item .ic.face { background-size: 170% auto; background-position: 50% 4%; background-color: var(--mustard); border-radius: 50%; }
.item .tx { flex: 1; min-width: 0; } .item .tx b { font-family: 'Titan'; font-weight: 400; font-size: 16px; color: var(--brown); } .item .tx small { display: block; font-size: 12.5px; line-height: 1.25; color: #5b4636; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: var(--avocado); color: #fff; margin-right: 4px; }
/* Overlay sheets */
#overlay { position: fixed; inset: 0; z-index: 50; display: none; }
#overlay.show { display: block; }
.scrim { position: absolute; inset: 0; background: rgba(20,10,5,.6); }
.sheet { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 520px; max-height: 92%; overflow-y: auto; background: var(--cream); border: 3px solid var(--ink); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 14px calc(16px + var(--sab)); animation: up .28s cubic-bezier(.2,1.2,.4,1); }
@keyframes up { from { transform: translate(-50%, 100%); } }
.sheet h2 { font-family: 'Titan'; font-weight: 400; margin: 0 0 8px; color: var(--brown); font-size: 22px; }
.sheet .x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 20px; }
/* Customer */
.cust { display: flex; gap: 8px; align-items: flex-end; }
.cust .por { width: 42%; flex: none; height: 230px; background: no-repeat center top; background-size: auto 210%; border-radius: 16px; border: 3px solid var(--ink); background-color: #f2c25e; background-image: var(--face), radial-gradient(circle, #ffd77a, #e8742a); }
.speech { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 10px 12px; font-size: 16px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.speech:after { content: ''; position: absolute; left: -14px; bottom: 18px; border: 8px solid transparent; border-right-color: var(--ink); }
.want { font-size: 14px; margin: 4px 0; } .want b { font-family: 'Titan'; font-weight: 400; font-size: 18px; }
.btnstack { display: grid; gap: 8px; margin-top: 10px; }
/* Dialogue (story) */
.story { position: absolute; inset: 0; background: #1b110a; display: flex; flex-direction: column; }
.story .panelimg { flex: 1; min-height: 0; background: center/cover no-repeat; animation: kb 14s ease-out forwards; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.story .box { position: relative; margin: -40px 10px calc(12px + var(--sab)); background: #fff7e6; border: 3px solid var(--ink); border-radius: 18px; padding: 12px 14px 16px 112px; min-height: 140px; box-shadow: 0 5px 0 var(--ink); }
.story .box.noface { padding-left: 14px; }
.story .face { position: absolute; left: 6px; bottom: 6px; width: 100px; height: 150px; background: no-repeat center top; background-size: auto 215%; border-radius: 14px; border: 3px solid var(--ink); background-color: var(--mustard); }
.story .nm { font-family: 'Titan'; font-size: 17px; color: var(--orange); text-shadow: 1px 1px 0 var(--ink); }
.story .tx { font-size: 18px; font-weight: 600; line-height: 1.3; min-height: 70px; }
.story .tap { position: absolute; right: 12px; bottom: 6px; font-size: 12px; color: #8b7766; animation: bob2 1s infinite; }
@keyframes bob2 { 50% { transform: translateY(-3px); } }
.story .skip { position: absolute; top: calc(10px + var(--sat)); right: 10px; z-index: 3; }
.story .chapcard { position: absolute; top: calc(14px + var(--sat)); left: 12px; right: 90px; font-family: 'Titan'; color: var(--cream); text-shadow: 2px 2px 0 var(--ink); font-size: 14px; }
.story .chapcard b { display: block; font-size: 24px; color: var(--mustard); }
.phone { margin: auto; width: 74%; max-width: 300px; aspect-ratio: 9/16; border-radius: 34px; border: 6px solid #111; background: linear-gradient(#3a2d4f, #1d1626); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 10px; font-size: 18px; }
.phone .av { width: 96px; height: 96px; border-radius: 50%; background: #a04a6a; display: flex; align-items: center; justify-content: center; font-family: 'Titan'; font-size: 44px; }
/* Title & age gate */
.title { position: absolute; inset: 0; background: #1b110a center/cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 20px 20px calc(28px + var(--sab)); }
.logo { position: absolute; top: calc(4% + var(--sat)); left: 0; right: 0; text-align: center; font-family: 'Titan'; line-height: .95; transform: rotate(-3deg); }
.logo .l1 { font-size: clamp(48px, 15vw, 76px); color: #ffcf4a; -webkit-text-stroke: 3px var(--ink); text-shadow: 0 6px 0 var(--ink), 0 0 30px rgba(255,140,40,.6); letter-spacing: 1px; }
.logo .l2 { font-size: clamp(30px, 9vw, 46px); color: #ff7a2e; -webkit-text-stroke: 2px var(--ink); text-shadow: 0 4px 0 var(--ink); margin-top: 4px; }
.logo .age { display: inline-block; margin-top: 10px; font-family: 'Fredoka'; font-weight: 700; font-size: 14px; color: var(--cream); background: var(--red); border: 2px solid var(--ink); border-radius: 10px; padding: 2px 10px; transform: rotate(3deg); }
.title .menu { width: 100%; max-width: 360px; display: grid; gap: 10px; }
.title .studio { margin-top: 10px; color: var(--cream); font-size: 12px; text-shadow: 1px 1px 0 #000; opacity: .9; }
.gate { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #6b3a1a, #1b110a); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate .card { max-width: 380px; text-align: center; }
.gate .big { font-family: 'Titan'; font-size: 54px; color: var(--red); -webkit-text-stroke: 2px var(--ink); }
#toast { position: fixed; left: 50%; top: calc(64px + var(--sat)); transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: 92%; max-width: 480px; }
#toast div { background: var(--ink); color: var(--cream); border: 2px solid var(--mustard); border-radius: 14px; padding: 8px 14px; font-weight: 600; font-size: 14px; animation: toast 3.2s forwards; text-align: center; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-10px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.slider { width: 100%; height: 36px; accent-color: var(--orange); }
.testbadge { display: inline-block; background: #ffe08a; border: 2px dashed var(--ink); border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
body.blacklight #app { background: radial-gradient(circle at 50% 120%, #3b1d5a 0, #1c0f2b 70%); color: #f2e6ff; }
body.blacklight .card { background: #2b1840; color: #f2e6ff; } body.blacklight .card h3, body.blacklight .item .tx b { color: #e3b8ff; } body.blacklight .item .tx small { color: #cdb7e4; }

.story .sview { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.story .panelimg { position: absolute; inset: 0; }
.story .actor { position: absolute; bottom: 0; height: 88%; z-index: 2; filter: drop-shadow(0 8px 6px rgba(0,0,0,.45)); animation: actorIn .35s ease-out; }
.story .actor img { height: 100%; }
.story .actor.left { left: 2%; } .story .actor.right { right: 2%; } .story .actor.center { left: 0; right: 0; bottom: 14%; height: auto; display: flex; justify-content: center; }
@keyframes actorIn { from { transform: translateY(30px); opacity: 0; } }
.story .box { z-index: 3; }
.story .chapcard { z-index: 3; }
.phone b { font-family: 'Titan'; font-size: 24px; } .phone span { opacity: .8; }
.vol { display: block; font-weight: 700; font-size: 14px; margin: 6px 0; }
.vol .slider { display: block; }

/* ---- live-service layer ---- */
#tabs { gap: 3px; } #tabs button { font-size: 11px; min-width: 0; padding: 0 2px; } #tabs button b { font-size: 19px; }
#tabs button .dot { display: block; } #tabs button .dot[hidden] { display: none; }
.btn.gold { background: #d9961f; color: #2a1a10; text-shadow: none; }
.cathead { font-family: 'Titan'; font-size: 14px; letter-spacing: 1px; color: var(--brown); margin: 12px 4px 6px; text-transform: uppercase; }
.contents { margin: 3px 0 0; padding-left: 16px; font-size: 12.5px; line-height: 1.3; color: #5b4636; font-weight: 500; }
.pack { align-items: flex-start; } .pack .btn { align-self: center; min-width: 74px; }
.item .ic.emo { display: flex; align-items: center; justify-content: center; font-size: 34px; background: #f3dfb8; }
.item .ic.face { background-size: auto 150%; background-position: 50% 0%; background-repeat: no-repeat; }
.subtabs { display: flex; gap: 6px; margin-bottom: 10px; } .subtabs button { flex: 1; min-height: 42px; border: 2px solid var(--ink); border-radius: 12px; background: #e9d7ae; font: 700 14px Fredoka; color: var(--brown); }
.subtabs button.on { background: var(--orange); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.sdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
.sday { border: 2px solid var(--ink); border-radius: 10px; background: #fff; text-align: center; padding: 4px 0; } .sday small { display: block; font-size: 9px; font-weight: 700; color: #7a6250; } .sday b { font-size: 17px; font-family: 'Titan'; font-weight: 400; color: var(--brown); }
.sday.done { background: #bfe3a0; } .sday.now { background: var(--mustard); animation: nudge 1.6s infinite; }
.ev { border-color: var(--purple); }
.job { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 2px dashed #e1cfa6; } .job:first-of-type { border-top: 0; } .job b { font-size: 14px; } .job small { display: block; font-size: 11.5px; color: #5b4636; } .job .prog { height: 9px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; overflow: hidden; margin: 3px 0; } .job .prog i, .card .prog i { display: block; height: 100%; background: var(--avocado); }
.card > .prog { height: 11px; border: 2px solid var(--ink); border-radius: 7px; background: #fff; overflow: hidden; margin-top: 4px; }
.track { display: grid; gap: 4px; margin-top: 8px; } .trow { display: grid; grid-template-columns: 26px 1fr 1fr; gap: 4px; align-items: stretch; opacity: .75; } .trow.reached { opacity: 1; }
.tn { font: 400 13px 'Titan'; display: flex; align-items: center; justify-content: center; color: var(--brown); }
.tcell { border: 2px solid var(--ink); border-radius: 9px; background: #fff; font: 600 11.5px Fredoka; padding: 6px 4px; color: var(--ink); min-height: 40px; text-align: center; line-height: 1.15; }
.tcell.prem { background: #efe1ff; } .tcell.can { background: #ffd777; box-shadow: 0 2px 0 var(--ink); animation: nudge 2s infinite; } .tcell.prem.can { background: #d9b8ff; } .tcell.got { background: #bfe3a0; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; } .chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 12px; border: 2px solid var(--ink); background: #eee1c3; color: #8b7766; } .chip.on { background: #bfe3a0; color: var(--ink); }
/* room looks */
#mood { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#gladys { position: absolute; z-index: 1; pointer-events: auto; object-fit: fill; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
#stage.mood-blacklight #bg { filter: hue-rotate(245deg) saturate(1.5) brightness(.78); } #stage.mood-blacklight #mood { background: radial-gradient(ellipse at 55% 40%, rgba(170,70,255,.30), rgba(30,0,70,.45) 80%); mix-blend-mode: multiply; }
#stage.mood-golden #bg { filter: sepia(.45) saturate(1.5) brightness(1.04); } #stage.mood-golden #mood { background: linear-gradient(180deg, rgba(255,190,80,.28), rgba(255,120,40,.18)); mix-blend-mode: soft-light; }
#stage.mood-lava #bg { filter: saturate(1.1) brightness(.85); } #stage.mood-lava #mood { background: radial-gradient(circle at 20% 80%, rgba(255,60,120,.55), transparent 35%), radial-gradient(circle at 80% 30%, rgba(255,150,40,.5), transparent 40%), radial-gradient(circle at 50% 60%, rgba(150,60,255,.4), transparent 38%); background-size: 160% 160%; animation: lavamove 14s ease-in-out infinite alternate; mix-blend-mode: screen; opacity: .85; }
@keyframes lavamove { to { background-position: 40% 30%; } }
#stage.mood-lights #mood { background: radial-gradient(circle, #ffe6a0 0 2.5px, transparent 3px) 0 8px / 26px 22px repeat-x, linear-gradient(transparent 14px, rgba(0,0,0,.35) 15px, transparent 16px); height: 34px; bottom: auto; animation: twinkle2 2.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 4px #ffcf6a); }
@keyframes twinkle2 { from { opacity: .55; } to { opacity: 1; } }
#stage.mood-snow #bg { filter: brightness(.9) saturate(.85) hue-rotate(-8deg); }
#stage.mood-snow #mood { background-image: radial-gradient(circle, #fff 0 2px, transparent 3px), radial-gradient(circle, #fff 0 1.5px, transparent 2.5px); background-size: 46px 60px, 31px 43px; animation: snowfall 7s linear infinite; opacity: .85; }
@keyframes snowfall { to { background-position: 14px 60px, -9px 43px; } }
body.supporter .hud-cash::after { content: ' \2605'; color: #ffd24a; font-size: 14px; }

.volrow { display: flex; gap: 8px; margin: 8px 0 10px; }
.volrow .btn { flex: 1; }
.vol.muted { opacity: .55; }
