@font-face{font-family:Ken;src:url(./vendor/kenpixel.ttf) format("truetype");font-display:swap}
:root{color-scheme:dark;--ink:#171522;--muted:#a9a4ba;--yellow:#ffe078;--pink:#ff90bb;--edge:#484151}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#171521;color:#faf5ff;font-family:"Trebuchet MS",Arial,sans-serif}body{background:radial-gradient(ellipse at 50% 90%,#252032,#15131e 81%)}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,#world:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}button:active{transform:translateY(1px)}.defs{position:absolute;width:0;height:0;overflow:hidden}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.arcade{max-width:2020px;margin:auto;min-height:100svh;padding:0 clamp(16px,2.6vw,48px);display:flex;flex-direction:column}.topbar{height:clamp(58px,8vh,79px);display:flex;align-items:center;justify-content:space-between;flex:none}.brand,.top-actions,.live,.location,.readout,.readout span,.station,.buttons,.hints,.hints span,.engine,.world-tag{display:flex;align-items:center}.brand{gap:12px;font:normal clamp(16px,1.55vw,23px) Ken,monospace;letter-spacing:-.055em}.brand canvas{width:28px;height:31px;image-rendering:pixelated}.top-actions{gap:18px}.live,.label,.engine,.world-tag,.readout,.pause-banner,.hints,kbd{font-family:"Courier New",monospace}.live{gap:8px;font-size:10px;letter-spacing:1.4px;font-weight:700;color:#c7c2d2}.live b,.tiny-led,.engine b{display:inline-block;width:6px;height:6px;background:#a5efba;box-shadow:0 0 7px #99ffb740}.live.paused b{background:#ffcf65}.full,.buttons button{border:1px solid var(--edge);background:#302b3a;border-radius:7px;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s}.full{width:34px;height:32px;background:#24212d}.full svg{width:16px}.buttons button:hover,.full:hover{background:#413849;border-color:#77667d}.console{border:1px solid #4f465c;border-radius:13px;overflow:hidden;background:#24202e;box-shadow:0 14px 40px #0e0c1755;display:flex;flex-direction:column;flex:1}.screen{height:calc(100svh - clamp(58px,8vh,79px) - 137px);min-height:385px;max-height:1100px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#f8a9ab,#ffda9b 50%,#9da85b 58%,#829149);flex:1 0 auto}#world{position:absolute;width:100%;height:100%;inset:0;display:block;touch-action:none;cursor:grab}#world.grabbing{cursor:grabbing}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#25152e2a,transparent 12%),radial-gradient(ellipse at center,transparent 57%,#45204712)}.logo-block{position:absolute;left:clamp(20px,3.2vw,62px);top:clamp(23px,4.4vh,54px);pointer-events:none;color:#342033}.world-tag{display:inline-flex;background:#37263d;color:#fff4dd;font-size:10px;letter-spacing:2px;font-weight:900;line-height:20px;padding:1px 9px 0;gap:6px;box-shadow:2px 2px 0 #f4b9b2}.world-squares{color:#ffc75e;letter-spacing:-2px;transform:skew(-10deg);font-size:14px}.logo-block h1{margin:8px 0 9px;line-height:0}.logo-block h1 canvas{width:clamp(212px,22vw,380px);height:auto;image-rendering:pixelated;display:block}.location{gap:6px;font-size:clamp(12px,1vw,15px);font-weight:700;letter-spacing:.2px;text-shadow:0 1px 3px #ffe1bf}.location svg{width:14px;height:14px;stroke-width:2.3}.readout{position:absolute;bottom:20px;left:22px;gap:13px;border:1px solid #ffffff30;border-radius:5px;background:#27212cdb;padding:8px 12px;color:#fff1d6;box-shadow:0 2px 0 #251b242a;letter-spacing:1px;font-size:11px;font-weight:bold}.readout span{gap:7px}.readout span:first-child svg{color:#ffd06a}.readout svg{width:14px;height:14px}.readout i,.hints i{height:12px;width:1px;background:#b8b1a53e}.readout strong{font-variant-numeric:tabular-nums;font-weight:700}.pause-banner,.notice{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);background:#281e38ed;border:1px solid #fde4a6;color:#ffe078;font-weight:700;border-radius:6px;padding:14px 22px;letter-spacing:1px}.notice{text-align:center;font-size:14px;line-height:1.5;z-index:3}.deck{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;min-height:83px;border-top:1px solid #514651;background:linear-gradient(115deg,#282332,#221f2c)}.station{gap:13px;min-width:0}.album{width:43px;height:43px;display:grid;place-items:center;background:#3b283e;border:1px solid #71506b;border-radius:8px;box-shadow:inset 0 0 12px #67365035;color:var(--pink)}.album svg{width:24px;height:24px}.label{font-size:9px;color:#c4b3c9;letter-spacing:1.6px;font-weight:bold;white-space:nowrap}.tiny-led{width:4px;height:4px;background:var(--pink);box-shadow:none;vertical-align:2px;margin-right:3px}.track{font-size:18px;font-weight:700;letter-spacing:.1px;margin-top:4px}.meter{display:flex;align-items:center;gap:3px;height:27px;margin-left:12px}.meter b{width:3px;background:#d283b4;opacity:.7;border-radius:1px}.music-on .meter b{animation:bounce .6s ease-in-out infinite alternate;animation-delay:var(--delay)}@keyframes bounce{to{transform:scaleY(.28)}}.buttons{gap:8px}.buttons button{font-size:13px;font-weight:bold;padding:10px 12px;gap:9px;min-height:38px;white-space:nowrap}.buttons button svg{width:16px;height:16px;color:#d7ccdc}.buttons #pause{background:#f7d878;color:#2d2430;border-color:#ffe4a3}.buttons #pause:hover{background:#ffe59a}.buttons #pause svg{color:inherit}.buttons #sound[aria-pressed=true]{border-color:#ab759b;color:#ffbddd}kbd{font-size:9px;border:1px solid #655b6c;border-radius:3px;color:#c7bece;padding:1px 4px;font-weight:bold;line-height:13px;margin-left:2px}footer{height:52px;display:flex;align-items:center;justify-content:space-between;color:#a49bb3}.hints{gap:13px}.hints span,.engine{gap:7px;font-size:10px}.hints svg{width:14px;height:14px;color:#bbb0c6}.engine{letter-spacing:1.3px;font-weight:bold}.engine b{width:5px;height:5px;background:#a799bc;box-shadow:none}.arcade:fullscreen,.arcade.expanded{background:#171521;max-width:none;width:100%;height:100dvh}.arcade.expanded{position:fixed;inset:0;z-index:10}button[hidden],[hidden]{display:none!important}
@media (max-width:760px){.meter{display:none}.deck{padding:13px}.buttons{gap:5px}.buttons button{padding:9px;gap:6px}.buttons kbd{display:none}.screen{height:calc(100svh - 180px)}.top-actions{gap:10px}.logo-block h1 canvas{width:210px}.label{font-size:8px}.track{font-size:16px}.hints span,.engine{font-size:9px}.arcade{padding:0 12px}footer{height:39px}.live{font-size:8px}.logo-block{top:22px;left:18px}.readout{left:13px;bottom:13px}}
@media (max-width:540px){.deck{flex-wrap:wrap;gap:12px;padding:12px}.station{width:100%}.meter{display:flex;margin-left:auto;margin-right:3px}.album{width:34px;height:34px}.track{margin-top:2px}.buttons{width:100%;display:grid;grid-template-columns:1fr 1.12fr .85fr}.buttons button{font-size:12px}.screen{height:calc(100svh - 222px);min-height:355px}.logo-block h1 canvas{width:178px}.logo-block h1{margin:6px 0}.world-tag{font-size:8px;line-height:17px}.topbar{height:53px}.brand{gap:7px}.brand canvas{width:23px;height:26px}.top-actions{gap:9px}.live{letter-spacing:.7px}.full{width:29px;height:28px}.location{font-size:11px}.readout{font-size:9px;padding:6px 8px}.console{border-radius:9px}}
@media(max-height:540px) and (orientation:landscape){.topbar{height:40px}.screen{min-height:210px;height:calc(100svh - 113px)}.deck{min-height:50px;padding:6px 13px}footer{height:21px}.logo-block{top:13px}.logo-block h1 canvas{width:135px}.world-tag{font-size:8px;line-height:15px}.location{font-size:10px}.logo-block h1{margin:3px 0}.readout{bottom:8px}.album{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.meter b{animation:none!important}*{scroll-behavior:auto!important}}
