:root { --ink: #241a1e; --pink: #d3405f; --gold: #f0b03a; --teal: #2aa39b; --cream: #fbf3e4; --violet: #5d4585; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #f0a36b; color: var(--ink); font-family: Poppins, 'IBM Plex Sans', sans-serif; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#load { position: fixed; inset: 0; display: grid; place-items: center; background: #f0a36b; font-weight: 800; font-size: 20px; z-index: 40; transition: opacity .5s; } #load.off { opacity: 0; pointer-events: none; }
.st { color: #fff; text-shadow: 0 2px 3px rgba(0, 0, 0, .5), 0 0 18px rgba(0, 0, 0, .45); font-weight: 800; }

#hud { position: fixed; top: max(8px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); text-align: right; pointer-events: none; }
#num { font-size: clamp(30px, 4.6vw, 50px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
#time { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); font-size: clamp(18px, 2.2vw, 26px); font-variant-numeric: tabular-nums; pointer-events: none; } #time.hot { color: var(--gold); animation: beat .5s infinite alternate; } @keyframes beat { to { transform: translateX(-50%) scale(1.18); } }
#letters { position: fixed; top: 62px; left: 50%; transform: translate(-50%, -20px); display: flex; gap: 5px; opacity: 0; transition: .3s; pointer-events: none; } #letters.on { opacity: 1; transform: translate(-50%, 0); } #letters i { font: 800 20px Poppins, sans-serif; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: rgba(42, 24, 56, .55); color: rgba(251, 238, 214, .4); } #letters i.ok { background: var(--gold); color: var(--ink); }
#combo { position: fixed; left: 50%; bottom: 11%; transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; width: 92vw; } #combo.on { opacity: 1; }
#combo .l { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; } #combo span { background: var(--cream); color: var(--ink); font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 99px; } #combo span.n { background: var(--violet); color: #fff; font-size: 17px; animation: pop .18s ease-out; } @keyframes pop { from { transform: scale(1.7); } }
#combo b { font-size: clamp(24px, 3.6vw, 38px); font-weight: 800; color: var(--cream); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; } #combo.on:not(.bank)::after { content: ''; display: block; height: 5px; width: 170px; margin: 2px auto 0; border-radius: 9px; background: var(--gold); transform: scaleX(var(--l, 1)); border: 1px solid var(--ink); } #combo.bank b { color: var(--gold); font-size: clamp(32px, 5vw, 56px); display: inline-block; animation: bank .9s forwards; } @keyframes bank { 0% { transform: scale(.6); } 20% { transform: scale(1.15); } 70% { opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }
#say { position: fixed; left: 50%; top: 19%; transform: translate(-50%, -10px); opacity: 0; transition: .25s; font-size: clamp(16px, 2vw, 23px); text-align: center; pointer-events: none; width: 88vw; } #say.on { opacity: 1; transform: translate(-50%, 0); }
#quest { position: fixed; right: 16px; top: 118px; background: var(--teal); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 12px; border: 3px solid var(--ink); transform: translateX(120%); pointer-events: none; visibility: hidden; } #quest i { display: block; font-size: 12px; font-style: normal; color: var(--ink); } #quest.on { animation: slide 4s; visibility: visible; } @keyframes slide { 0%, 100% { transform: translateX(120%); } 8%, 90% { transform: none; } }
#trophy { position: fixed; inset: 18% 0 auto; text-align: center; pointer-events: none; opacity: 0; } #trophy div { font-size: clamp(64px, 11vw, 130px); line-height: 1.1; } #trophy b { display: block; font-size: clamp(26px, 4.6vw, 54px); font-weight: 800; color: var(--gold); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; } #trophy span { font-size: 26px; font-weight: 800; color: var(--cream); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; } #trophy.on { animation: tro 3.4s cubic-bezier(.2, 1.4, .4, 1); } @keyframes tro { 0% { opacity: 0; transform: scale(.2) rotate(-14deg); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-40px); } }
#result { position: fixed; left: 16px; bottom: 16px; background: var(--cream); border-radius: 18px; padding: 14px 20px 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); transform: translateX(-130%); transition: transform .45s cubic-bezier(.2, 1.2, .4, 1); } #result.on { transform: none; } #result div > * { display: block; font-style: normal; } #result small, #result span { font-size: 13px; font-weight: 600; } #result strong { font-size: 44px; font-weight: 800; line-height: 1.1; color: var(--pink); font-variant-numeric: tabular-nums; } #result em { font-weight: 800; color: var(--teal); }
button { font: 700 16px Poppins, sans-serif; color: var(--ink); cursor: pointer; } #again { margin-top: 10px; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 16px; }
#orb { position: fixed; left: 70px; top: 12px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff3c4; background: radial-gradient(circle at 35% 30%, #fff0b0, #f7b733 45%, #b9741a); padding: 0; display: grid; place-items: center; z-index: 22; } #orb svg { width: 26px; height: 26px; }
#orb:focus-visible, #menu button:focus-visible, #again:focus-visible { outline: 3px solid #fff; }
#menu { position: fixed; inset: 0; z-index: 20; background: rgba(42, 24, 56, .5); display: none; place-items: center; padding: 70px 14px 14px; overflow: auto; } #menu.on { display: grid; grid-template-columns: minmax(0, 1fr); }
#card { background: var(--cream); border-radius: 20px; box-shadow: 0 18px 60px rgba(0, 0, 0, .45); padding: 22px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; width: min(920px, 100%); }
#items { display: flex; flex-direction: column; gap: 7px; } #items button { text-align: left; background: #fff; border: 0; border-radius: 11px; padding: 11px 14px; box-shadow: 0 1px 4px rgba(36, 26, 30, .16); } #items button b { display: block; font-size: 13px; color: var(--pink); } #items button.f, #items button:hover { background: var(--gold); } #items button.f b, #items button:hover b { color: var(--ink); }
#card h3 { margin: 4px 0 12px; font-size: 19px; } #quests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; } #quests li { padding-left: 26px; position: relative; } #quests li::before { content: ''; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; box-shadow: inset 0 0 0 2px var(--ink); border-radius: 5px; } #quests li.ok::before { background: var(--teal); } #quests li.ok b { color: #17756f; } #quests b { display: block; font-size: 14px; line-height: 1.3; } #quests span { font-size: 12.5px; line-height: 1.35; display: block; }
#card.lv { grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px; } .lv button { text-align: left; border: 0; padding: 0 0 12px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 4px rgba(36, 26, 30, .2); } .lv img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #c98f6c; } .lv b, .lv span { display: block; padding: 0 13px; } .lv b { margin-top: 9px; font-size: 17px; } .lv span { font-size: 12.5px; font-weight: 500; } .lv button.f, .lv button:hover { background: var(--gold); }
#card.fr { display: block; width: min(540px, 100%); } .fr button { border: 0; border-radius: 12px; padding: 11px 18px; background: #fff; box-shadow: 0 1px 4px rgba(36, 26, 30, .18); } .fr button.f, .fr button:hover { background: var(--gold); } .fr h4 { margin: 20px 0 8px; font-size: 15px; } .fr p { margin: 8px 0 0; font-size: 14px; }
.fr form { display: flex; gap: 10px; } #code { flex: 1; min-width: 0; font: 800 28px Poppins, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 14px; background: #fff; -webkit-user-select: text; user-select: text; outline-offset: 2px; } #code::placeholder { color: #a79b9b; font-weight: 600; } #code.no { animation: no .35s; } @keyframes no { 25%, 75% { transform: translateX(-7px); } 50% { transform: translateX(7px); } } .fr .go { background: var(--teal); color: #fff; font-size: 19px; }
.fr .rooms, .fr .end, .fr .now div { display: flex; flex-wrap: wrap; gap: 8px; } .fr .rooms button { font-size: 20px; font-weight: 800; letter-spacing: .05em; } .fr .end { margin-top: 22px; } .fr .now { background: #fff; border-radius: 14px; padding: 12px 16px 14px; margin-bottom: 16px; } .fr .now span { display: block; font-size: 14px; font-weight: 600; } .fr .now strong { display: block; font-size: 38px; line-height: 1.2; letter-spacing: .08em; color: var(--pink); } .fr .now div { margin-top: 8px; } .fr .now button { background: var(--cream); } .fr .now button.f, .fr .now button:hover { background: var(--gold); }
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 12px; } .fr .keys button { padding: 8px 0; }
#pick { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: none; align-items: center; gap: 16px; z-index: 21; } #pick.on { display: flex; } #pick > button { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--cream); font-size: 34px; line-height: 1; padding: 0 0 5px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); } #pick div { text-align: center; background: var(--cream); border-radius: 18px; padding: 10px 22px 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); min-width: 220px; } #pick div b { display: block; font-size: 22px; } #pick span { display: flex; justify-content: center; gap: 7px; padding: 7px 0 11px; cursor: pointer; } #pick i { width: 20px; height: 20px; border-radius: 50%; } #pick i.f { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--ink); } #pick div button { border: 0; background: var(--gold); border-radius: 10px; padding: 8px 18px; }
.p0 { background: #2a8b86; } .p1 { background: #e2a12c; } .p2 { background: #b8384e; } .p3 { background: #5d4585; } .p4 { background: #e6d9c2; box-shadow: inset 0 0 0 1px #998; } .p5 { background: #d9702f; } body.picking #hud, body.picking #time, body.picking #say, body.picking #combo, body.picking #track, body.picking #people, body.picking #tags, body.picking #talk, body.picking #jump { visibility: hidden; }
#tags { position: fixed; inset: 0; overflow: hidden; pointer-events: none; } .tag { position: absolute; left: 0; top: 0; text-align: center; will-change: transform; } .tag b { display: block; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); white-space: nowrap; } .tag i { font-style: normal; font-size: 34px; line-height: 1; position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); }
#people { position: fixed; right: max(16px, env(safe-area-inset-right)); top: 148px; text-align: right; pointer-events: none; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); font-size: 14px; font-weight: 600; } #people p { margin: 0 0 2px; } #people b { margin-left: 10px; font-variant-numeric: tabular-nums; } #people .me { color: var(--gold); }
#track { position: fixed; left: 50%; top: 52px; transform: translateX(-50%); color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 5px rgba(0, 0, 0, .85); opacity: 0; transition: .3s; pointer-events: none; text-align: center; width: 70vw; } #track.on { opacity: 1; }
#talk { position: fixed; left: 18px; bottom: 18px; width: min(370px, 92vw); transform: translate(0, 130%); visibility: hidden; transition: .35s; background: var(--cream); border-radius: 18px; padding: 13px 20px 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); pointer-events: none; z-index: 6; } #talk.on { transform: none; visibility: visible; } #talk b { font-size: 14px; color: var(--pink); } #talk p { margin: 2px 0 0; font-size: 16px; font-weight: 500; line-height: 1.4; } #talk em { display: block; margin-top: 7px; font-style: normal; font-weight: 700; font-size: 15px; } .touch #talk { left: 50%; bottom: auto; top: 118px; transform: translate(-50%, -260%); } .touch #talk.on { transform: translate(-50%, 0); }
#emote { position: fixed; left: 50%; top: 34%; font-size: 70px; transform: translateX(-50%); opacity: 0; pointer-events: none; } #emote.on { animation: emo 1.3s; } @keyframes emo { 0% { opacity: 0; transform: translate(-50%, 40px) scale(.4); } 20%, 70% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translate(-50%, -40px); } }
#call { position: fixed; left: 50%; top: 27%; transform: translateX(-50%); display: none; border: 0; background: var(--pink); color: #fff; border-radius: 14px; padding: 12px 22px; font-size: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); z-index: 7; } #call.on { display: block; } #call b { display: block; font-size: 14px; }
#result p { margin: 3px 0; display: flex; gap: 10px; font-weight: 600; min-width: 250px; } #result p b { margin-left: auto; font-variant-numeric: tabular-nums; } #result u { text-decoration: none; width: 18px; } #result .me { color: var(--pink); }
#logo { position: fixed; left: 0; right: 0; top: 11%; text-align: center; pointer-events: none; transition: .5s; } #logo b { display: block; line-height: .95; letter-spacing: -.03em; font-weight: 800; -webkit-text-stroke: .13em var(--ink); paint-order: stroke fill; transform: rotate(-3deg); } #logo b:first-child { font-size: clamp(28px, 6.4vw, 84px); color: var(--gold); } #logo b:last-child { font-size: clamp(44px, 10.6vw, 146px); color: var(--pink); } body.go #logo { opacity: 0; transform: translateY(-60px) scale(1.1); }
#d-start, #d-tag, #d-how { display: none; } body.demo #hud, body.demo #time, body.demo #combo, body.demo #say { visibility: hidden; } body.demo[data-demo=play] #combo, body.demo[data-demo=play] #hud { visibility: visible; } body.demo[data-demo=play] #logo, body.demo[data-demo=howto] #logo { opacity: 0; } body.demo #orb { display: none; }
body[data-demo=title] #d-start { display: block; position: fixed; bottom: 14%; width: 100%; text-align: center; font-size: 30px; animation: bl 1s steps(2) infinite; } @keyframes bl { 50% { opacity: 0; } } body[data-demo=play] #d-tag { display: block; position: fixed; left: 50%; transform: translateX(-50%); top: 16px; background: var(--pink); color: #fff; font-weight: 800; padding: 3px 12px; border-radius: 8px; }
body[data-demo=howto] #d-how { display: block; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--cream); border: 4px solid var(--ink); border-radius: 20px; padding: 16px 30px 22px; width: min(560px, 92vw); } #d-how h2 { margin: 0 0 8px; } #d-how p { margin: 8px 0; font-weight: 600; display: flex; gap: 14px; align-items: center; } kbd { font: 700 15px Poppins, sans-serif; border: 2px solid var(--ink); border-radius: 8px; padding: 3px 10px; background: #fff; white-space: nowrap; }
#stick, #jump { display: none; } .touch #jump { display: grid; place-items: center; position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom)); width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--ink); background: rgba(247, 183, 51, .88); touch-action: none; z-index: 5; } #jump svg { width: 46px; } #jump:active { background: #fff; }
#stick.on { display: block; position: fixed; width: 124px; height: 124px; margin: -62px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); background: rgba(42, 24, 56, .18); pointer-events: none; } #nub { position: absolute; left: 34px; top: 34px; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.touch #combo { bottom: 26%; } .touch #result { bottom: auto; top: 76px; }
@media (max-width: 720px) { #card { grid-template-columns: 1fr; gap: 14px; padding: 16px; } #card.lv { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; } #track { top: 92px; } #items { display: grid; grid-template-columns: 1fr 1fr; } #items button { font-size: 13px; padding: 8px 10px; } #quests { grid-template-columns: 1fr; gap: 6px; } #menu { place-items: start center; } #time { top: 62px; } #letters { top: 98px; } }
@media (max-height: 480px) { #quests span { display: none; } #logo { top: 6%; } }
/* splitscreen */
#split { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.pv { position: absolute; box-shadow: inset 0 0 0 1px rgba(36, 26, 30, .95); overflow: hidden; }
.pv::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }
.ph { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; text-shadow: 0 2px 3px rgba(0, 0, 0, .5), 0 0 14px rgba(0, 0, 0, .45); }
.ph u, .seat u { text-decoration: none; background: var(--c); color: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 0 7px; font-size: 15px; font-weight: 800; text-shadow: none; }
.ph b { font-size: clamp(20px, 2.6vw, 34px); line-height: 1; font-variant-numeric: tabular-nums; }
.pc { position: absolute; left: 0; right: 0; bottom: 15%; text-align: center; }
.pc span { display: inline-block; background: var(--violet); color: #fff; font-weight: 700; font-size: 14px; padding: 2px 10px; border-radius: 99px; animation: pop .18s ease-out; }
.pc i { display: block; font-style: normal; font-weight: 800; font-size: clamp(18px, 2.2vw, 28px); color: var(--cream); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; }
.pc i.bk { color: var(--gold); font-size: clamp(24px, 3vw, 42px); animation: bank 1.1s forwards; }
.tg { position: absolute; inset: 0; }
.pt { position: absolute; transform: translate(-50%, -100%); color: #fff; font-weight: 800; font-size: 13px; padding: 1px 6px; border-radius: 7px; border: 2px solid var(--ink); white-space: nowrap; }
.pv.free { background: radial-gradient(circle at 50% 40%, #3d2a52, #1c1220); display: grid; place-items: center; text-align: center; color: var(--cream); }
.pv.free b { display: block; font-size: clamp(22px, 3vw, 40px); line-height: 1; letter-spacing: -.01em; }
.pv.free b + b { color: var(--gold); }
.pv.free p { margin: 14px 0 0; font-weight: 600; font-size: clamp(14px, 1.6vw, 19px); }
body.split #hud, body.split #combo, body.split #people, body.split #tags, body.split #jump, body.split #stick { visibility: hidden; }
.sp .slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.seat { position: relative; background: #fff; border-radius: 14px; padding: 12px 14px 12px; box-shadow: inset 0 0 0 3px var(--c), 0 1px 4px rgba(36, 26, 30, .16); min-height: 74px; }
.seat b { display: block; margin-top: 8px; font-size: 19px; line-height: 1.15; }
.seat span { display: block; font-size: 13px; color: #6d5f62; margin-top: 2px; }
.seat i { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; }
.seat.wait b { color: var(--c); animation: beat .6s infinite alternate; }
.seat.none { opacity: .55; box-shadow: inset 0 0 0 2px #d8cfc9; }
.sp .need { color: var(--pink); font-weight: 700; }
.sp button.off { opacity: .5; }
.slots.no { animation: no .35s; }
body.split #result { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; z-index: 4; transition: .3s; min-width: 240px; }
body.split #result.on { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }

/* replays, watching, the video */
#rpw, #rpv { margin: 10px 0 0 8px; background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 14px; font: 700 15px Poppins, sans-serif; color: var(--ink); cursor: pointer; }
 #rpv { background: var(--violet); color: #fff; }
 #rpw:hover, #rpv:hover, #rpw:focus-visible, #rpv:focus-visible { outline: 3px solid #fff; }
#rp { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 18; display: none; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100vw - 24px); background: rgba(36, 26, 30, .78); color: var(--cream); border-radius: 16px; padding: 8px 10px; font: 600 14px Poppins, sans-serif; }
 body.mode-replay #rp, body.mode-watch #rp { display: flex; }
 #rp i { font-style: normal; font-weight: 800; background: var(--pink); color: #fff; border-radius: 8px; padding: 2px 10px; letter-spacing: .06em; }
 body.mode-watch #rp i { background: var(--teal); }
 #rp span { font-variant-numeric: tabular-nums; padding: 0 4px; }
 #rp em { font-style: normal; font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }
 #rp u { display: block; width: 180px; height: 10px; border-radius: 9px; background: linear-gradient(90deg, var(--gold) calc(var(--p) * 100%), rgba(251, 243, 228, .25) 0); cursor: pointer; }
 #rp button { border: 0; border-radius: 10px; background: var(--cream); color: var(--ink); font: 700 14px Poppins, sans-serif; padding: 6px 11px; cursor: pointer; }
 #rp button:hover, #rp button:focus-visible { background: var(--gold); outline: none; }
body.mode #orb, body.mode #letters, body.mode #people, body.mode #track, body.mode #talk, body.mode #call, body.mode #quest, body.mode #stick, body.mode #jump, body.mode #result, body.mode #tags { display: none; }
body.mode-watch #time { visibility: hidden; }
body.mode-render #hud, body.mode-render #time, body.mode-render #combo, body.mode-render #say, body.mode-render #trophy, body.mode-render #emote { visibility: hidden; }
.rpl .rows { display: grid; gap: 10px; margin-top: 14px; }
 .rpl .row { background: #fff; border-radius: 14px; padding: 10px 14px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
 .rpl .row b { font-size: 16px; } .rpl .row span { grid-column: 1; font-size: 13px; font-weight: 600; opacity: .75; }
 .rpl .row div { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
 .rpl .row button { background: var(--cream); } .rpl .row button.go { background: var(--teal); color: #fff; font-size: 15px; }
 .rpl .row button.f, .rpl .row button:hover { background: var(--gold); color: var(--ink); }
#vx { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; background: rgba(42, 24, 56, .62); padding: 14px; overflow: auto; }
 #vx[hidden] { display: none; }
 body.mode-render #vx { background: #2a1838; }
 #vx .vx-card { width: min(560px, 100%); background: var(--cream); border-radius: 20px; padding: 18px 20px 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
 #vx h3 { margin: 0; font-size: 21px; } #vx .vx-sub { margin: 2px 0 10px; font-weight: 600; color: var(--pink); }
 #vx fieldset { border: 0; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } #vx fieldset[disabled] { opacity: .55; }
 #vx legend { font-weight: 800; font-size: 13px; letter-spacing: .04em; margin-bottom: 4px; padding: 0; }
 #vx label { cursor: pointer; } #vx label input { position: absolute; opacity: 0; pointer-events: none; }
 #vx label span { display: inline-block; background: #fff; border-radius: 10px; padding: 6px 12px; font-weight: 600; font-size: 14px; box-shadow: 0 1px 4px rgba(36, 26, 30, .18); }
 #vx label input:checked + span { background: var(--gold); font-weight: 800; } #vx label input:focus-visible + span { outline: 3px solid var(--violet); }
 #vx .vx-prev { display: block; margin: 14px auto 0; border-radius: 10px; background: #000; max-width: 100%; } #vx .vx-prev[hidden] { display: none; }
 #vx .vx-stat { min-height: 1.4em; font-weight: 700; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
 #vx .vx-no { color: var(--pink); font-weight: 700; }
 #vx .vx-end { display: flex; gap: 8px; margin-top: 14px; }
 #vx .vx-end button { border: 2px solid var(--ink); border-radius: 12px; padding: 9px 16px; font: 800 15px Poppins, sans-serif; cursor: pointer; background: #fff; color: var(--ink); }
 #vx .vx-go { background: var(--violet) !important; color: #fff !important; } #vx .vx-go[disabled] { opacity: .5; cursor: default; }
#fps { position: fixed; left: 8px; bottom: 8px; z-index: 50; font: 600 12px 'IBM Plex Mono', monospace; color: #fff; background: rgba(36, 26, 30, .7); padding: 3px 8px; border-radius: 6px; pointer-events: none; }
/* the phone: Music in the menu. The skater holds it up, the screen comes out of the pocket at the bottom right */
#menu.ph { background: linear-gradient(90deg, transparent 40%, rgba(42, 24, 56, .45)); place-items: end end; padding: 70px max(18px, 4vw) 18px 14px; }
#card.phone { width: min(330px, 100%); max-height: min(640px, calc(100vh - 88px)); display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; border-radius: 34px; background: #1c1620; color: #fbeed6; box-shadow: 0 0 0 6px #2a2230, 0 0 0 8px #6a5a72, 0 24px 70px rgba(0, 0, 0, .6); animation: gcPhone .5s cubic-bezier(.2, 1.3, .4, 1) both; transform-origin: 70% 120%; }
@keyframes gcPhone { from { transform: translateY(110%) rotate(18deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.phone .ph-bar { display: flex; justify-content: space-between; align-items: center; font: 600 11px/1 'IBM Plex Mono', monospace; color: #bfb2c6; padding: 2px 10px 0; } .phone .ph-bar b { font: 800 12px/1 Poppins, sans-serif; color: var(--gold); letter-spacing: .08em; }
.phone button { border: 0; border-radius: 12px; background: #2e2632; color: #fbeed6; box-shadow: none; font-weight: 700; } .phone button.f, .phone button:hover { background: var(--gold); color: #1c1620; }
.phone .ph-st { display: flex; flex-wrap: wrap; gap: 6px; } .phone .ph-st button { padding: 6px 10px; font-size: 12px; border-radius: 999px; } .phone .ph-st button.on { box-shadow: inset 0 0 0 2px var(--teal); color: #7fe3db; } .phone .ph-st button.on.f { color: #1c1620; }
.phone .ph-now { background: linear-gradient(135deg, #e8467c, #6a3fa0 60%, #27b7ae); border-radius: 18px; padding: 14px 14px 12px; position: relative; overflow: hidden; } .phone .ph-now b { display: block; font-size: 19px; line-height: 1.2; margin-top: 6px; } .phone .ph-now span { display: block; font-size: 12px; opacity: .85; margin-top: 3px; }
.phone .ph-pos { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); margin-top: 10px; } .phone .ph-pos i { display: block; height: 100%; border-radius: 2px; background: #fff; }
.phone .ph-eq { display: flex; gap: 3px; height: 18px; align-items: flex-end; } .phone .ph-eq i { width: 4px; height: 4px; background: #fff; border-radius: 1px; } .phone .live .ph-eq i { animation: gcEq .6s ease-in-out infinite alternate; } .phone .ph-eq i:nth-child(2) { animation-delay: -.2s; } .phone .ph-eq i:nth-child(3) { animation-delay: -.4s; } .phone .ph-eq i:nth-child(4) { animation-delay: -.1s; } .phone .ph-eq i:nth-child(5) { animation-delay: -.3s; }
@keyframes gcEq { from { height: 3px; } to { height: 18px; } }
.phone .ph-tr { display: flex; justify-content: center; align-items: center; gap: 14px; } .phone .ph-tr button { width: 46px; height: 46px; border-radius: 50%; font-size: 18px; padding: 0; } .phone .ph-tr button.big { width: 58px; height: 58px; font-size: 22px; background: #fbeed6; color: #1c1620; } .phone .ph-tr button.big.f { background: var(--gold); }
.phone .ph-vol { display: flex; align-items: center; gap: 10px; } .phone .ph-vol button { width: 34px; height: 34px; padding: 0; border-radius: 50%; font-size: 18px; } .phone .ph-vol div { flex: 1; height: 6px; border-radius: 3px; background: #2e2632; } .phone .ph-vol div i { display: block; height: 100%; border-radius: 3px; background: var(--teal); }
.phone .ph-list { flex: 1; min-height: 90px; overflow: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 2px; } .phone .ph-list button { text-align: left; padding: 7px 10px; font-size: 13px; font-weight: 600; border-radius: 10px; background: transparent; display: grid; grid-template-columns: 26px 1fr; } .phone .ph-list em { font-style: normal; font: 500 11px/1.6 'IBM Plex Mono', monospace; opacity: .6; grid-row: span 2; } .phone .ph-list small { font-size: 10.5px; opacity: .6; font-weight: 500; } .phone .ph-list button.cur { background: #2e2632; color: var(--gold); } .phone .ph-list button.f { background: var(--gold); color: #1c1620; }
.phone .ph-hint { font-size: 11.5px !important; line-height: 1.4; color: #bfb2c6; margin: 0 !important; } .phone .end { display: flex; justify-content: center; } .phone .end button { padding: 9px 22px; }
@media (max-width: 720px) { #menu.ph { place-items: end center; } #card.phone { max-height: calc(100vh - 80px); } }
