* { box-sizing: border-box; }
html,body { margin:0; width:100%; height:100%; overflow:hidden; background:#030406; }
body { font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif; color:#f3f5f7; }
button { font:inherit; cursor:pointer; }
.app { width:100vw; height:100vh; height:100dvh; position:relative; overflow:hidden; background:#020304; }
#screen { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#020304; }
#screen.cover { object-fit:cover; }
.fade-vignette { position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, rgba(1,3,7,.20), transparent 23%, transparent 72%, rgba(1,3,7,.28)); }
.boot { position:absolute; z-index:3; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; text-align:center; background:radial-gradient(circle at 50% 38%, #192d3e, #070b11 64%, #030508); transition:opacity .35s ease,visibility .35s ease; padding:25px; }
.boot.hidden { opacity:0; visibility:hidden; pointer-events:none; }
.boot-mark { font-size:68px; font-weight:200; color:#88d8d3; line-height:1; filter:drop-shadow(0 0 19px #7bd8d04f); }
.boot-title { font-size:clamp(24px,3vw,38px); font-weight:650; letter-spacing:.22em; }
.boot-message { font-size:14px; color:#c4d3d9; line-height:1.8; max-width:650px; }
.boot-button { border:1px solid #9cb8c3; padding:11px 25px; border-radius:8px; background:#173042; color:white; }
.hud { position:absolute; z-index:2; inset:0; pointer-events:none; opacity:0; transition:opacity .25s ease; }
.app.ui-visible .hud, .app:focus-within .hud { opacity:1; }
.hud-top,.hud-bottom { position:absolute; left:0; width:100%; display:flex; justify-content:space-between; align-items:center; padding:clamp(14px,2.3vw,33px); gap:14px; }
.hud-top { top:0; background:linear-gradient(180deg,#020609a8,transparent); }
.hud-bottom { bottom:0; align-items:flex-end; background:linear-gradient(0deg,#020609db,transparent); }
.brand { display:flex; align-items:center; gap:11px; font-size:13px; font-weight:700; letter-spacing:.11em; text-shadow:0 1px 8px black; }
.on-air { width:8px;height:8px;border-radius:50%;background:#e96360;box-shadow:0 0 12px #e96360; }
.brand-divider { color:#77818d; }
#playlist-name { color:#d4dde5; font-weight:500; letter-spacing:0; }
.clock { display:flex;gap:8px;align-items:baseline;font-variant-numeric:tabular-nums;font-size:19px;font-weight:500; }
.clock small { font-size:10px; color:#a6b5c1; }
.eyebrow { color:#97bdc7; font-size:11px; font-weight:700; letter-spacing:.19em; margin-bottom:8px; }
#video-title { font-size:clamp(18px,2vw,30px); font-weight:600; }
.next { margin-top:7px; color:#b0bac2; font-size:12px; }
.buttons { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:9px; pointer-events:auto; }
.buttons button { background:#141c28c9;color:#f5f6f7;border:1px solid #d8e4ed60;border-radius:10px;font-size:13px; padding:11px 14px; min-width:99px; transition:background .2s; }
.buttons button:hover,.buttons button:focus-visible { background:#2c4557; }
.buttons button.primary { background:#d8e8e9; color:#0f2730; font-weight:700; border-color:#d8e8e9; }
.notification { position:absolute; z-index:4; left:50%; top:15%; transform:translateX(-50%); background:#15222ee7; border:1px solid #668296; border-radius:11px; max-width:90vw; padding:13px 17px; color:#effbff; line-height:1.6; box-shadow:0 6px 24px #0009; display:none; }
.notification.show { display:block; }
.app.mouse-hidden { cursor:none; }
@media(max-width:700px){ .hud-top,.hud-bottom { padding:16px; } .hud-bottom {flex-direction:column;align-items:stretch;gap:16px;} .buttons { justify-content:flex-start; } .buttons button {font-size:12px;padding:9px;} .clock {font-size:15px;} }
