/* Hallow-radio, the midnight countdown, and a pocket-sized coven. */
#open-coven{min-width:44px;color:#e3c5ff}.survival-readout{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;font-size:11px;color:#dec6ac}.survival-readout strong{color:#f0d6b3;font-variant-numeric:tabular-nums}.survival-readout.critical strong{color:#ffac8b}.life-track{position:relative}body.critical-life .status{border-color:#fa9c77;box-shadow:0 0 28px #db62352b}#surge-banner{position:fixed;top:100px;left:50%;transform:translateX(-50%);padding:8px 16px;border:1px solid #bfa0d24d;border-radius:30px;color:#dac2eb;background:#261f38df;font-size:11px;letter-spacing:.6px;z-index:3;pointer-events:none}#surge-banner.surge{background:#552e35ee;color:#ffd0a8;border-color:#ecad79}#surge-banner[hidden]{display:none}
.hollow-dialog{color:#efe3d2;background:#192b28;border:1px solid #c2aac75c;border-radius:18px;width:min(500px,calc(100vw - 24px));max-height:calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));padding:26px;overflow:auto;touch-action:pan-y;overscroll-behavior:contain}.hollow-dialog::backdrop{background:#0b1119ce;backdrop-filter:blur(6px)}.hollow-dialog h2{font-size:36px;margin:10px 0}.hollow-dialog p{font-size:13px;line-height:1.6;color:#c7c3b2}.hollow-dialog small{display:block;font-size:11px;line-height:1.6;color:#b6b9a8}.hollow-dialog label{display:block;font-size:12px;margin:16px 0 7px}.hollow-dialog input{width:100%;min-height:46px;background:#0c201d;color:#f7efd8;border:1px solid #a6b6996b;border-radius:8px;padding:10px 12px;font:16px 'DM Sans',sans-serif}.hollow-dialog button{min-height:44px}.hollow-dialog .primary{margin-top:12px}.hollow-dialog .secondary{margin-top:8px}.dialog-close{float:right;min-width:44px;background:#273e35;border:1px solid #a5b99b55;border-radius:50%;font-size:22px}.coven-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.coven-choices button{background:#263e36;border:1px solid #b3a8bd55;border-radius:10px;padding:12px 8px;font-size:13px}.coven-choices span{display:block;font-size:25px;margin-bottom:4px}#coven-code{font-size:30px;letter-spacing:7px;color:#f6d699;font-weight:700;text-align:center;padding:12px;background:#11221e;border-radius:10px;margin:10px 0}.room-invite{width:100%;font-size:12px;line-height:1.5;overflow-wrap:anywhere;padding:10px;border:1px dashed #8aab9777;border-radius:8px;background:#11221e;color:#e6d7c2;user-select:all}#coven-code-input{text-transform:uppercase;letter-spacing:5px;text-align:center}#coven-message{min-height:22px;color:#e8c19f;font-size:12px;line-height:1.5}#coven-members{display:grid;gap:8px;margin:16px 0}.coven-member{padding:9px 10px;border:1px solid #a9b79f44;border-radius:9px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.coven-member small{font-size:10px}.coven-member b{color:#ecd69f}#coven-hud{position:fixed;right:30px;top:100px;width:220px;z-index:3;padding:12px;background:#202b32e6;border:1px solid #bfa5d14d;border-radius:12px}#coven-hud[hidden]{display:none}#coven-hud-heading{display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:11px;color:#dec3e8}#coven-hud-heading button{padding:3px 7px;border-radius:5px;border:1px solid #c2aed34d;background:#352f42;font-size:10px;min-height:30px}#partner-bars{margin-top:7px;display:grid;gap:6px}.partner-row{font-size:11px;display:grid;grid-template-columns:1fr auto;gap:4px}.partner-row .partner-life{grid-column:1/3;height:4px;background:#0f1d19;border-radius:4px;overflow:hidden}.partner-life i{display:block;height:100%;background:#c8a3eb}.partner-row small{color:#c5c6b6;font-size:10px}.coven-quick{display:flex;gap:6px;justify-content:center;margin-top:10px}.coven-quick button{width:44px;height:44px;border-radius:10px;border:1px solid #aa94bb66;background:#302c40;font-size:24px}.coven-quick button:active{background:#655278}#coven-ping-log{font-size:11px;line-height:1.5;min-height:16px;margin-top:7px;color:#ebcde8}#spook-wheel{position:fixed;right:28px;top:305px;width:220px;background:#162923f5;border:1px solid #c0a8d08c;border-radius:14px;padding:10px;z-index:7;display:grid;grid-template-columns:repeat(2,1fr);gap:6px}#spook-wheel[hidden]{display:none}#spook-wheel button{min-height:52px;background:#2a3a36;border:1px solid #b6bba34a;border-radius:8px;font-size:11px;line-height:1.4}#spook-wheel span{display:block;font-size:21px}#ghost-help{position:fixed;left:50%;top:35%;transform:translateX(-50%);width:min(370px,calc(100vw - 24px));z-index:6;text-align:center;padding:20px;background:#242b3bf5;border:1px solid #c8b4ed;border-radius:18px}#ghost-help h2{font-size:29px;margin:8px}#ghost-help p{font-size:13px;line-height:1.5;color:#d5c6e3}#ghost-help .primary{margin:10px 0 5px;min-height:44px}#ghost-help[hidden]{display:none}.radio-controls{display:grid;gap:9px}.radio-track{padding:12px 14px;background:#13251e;border:1px solid #9db28c40;border-radius:10px}.radio-track strong{font-size:15px}.radio-track small{display:block;font-size:11px;color:#b6bea9;line-height:1.5;margin-top:5px}.radio-controls input[type=range]{width:100%;min-height:44px;accent-color:#dbc4a6}.sound-row{display:flex;gap:7px}.sound-row button{flex:1;min-height:44px;background:#2a4035;border:1px solid #c8c5a14d;border-radius:8px;font-size:12px}.sound-row [aria-pressed=true]{background:#d4dcba;color:#233024}#radio-lyrics{font-size:12px;line-height:1.8;white-space:pre-line;color:#d7ccb9;max-height:260px;overflow:auto;padding:10px}#radio-error{color:#f1b799;font-size:11px}.difficulty-note{font-size:11px;color:#c9ad99;line-height:1.6}.afterdark-tag{color:#e9c69e!important;font-size:11px!important;letter-spacing:.6px}
.compact-ui .survival-readout{margin-top:5px;font-size:9px}.compact-ui #surge-banner{top:calc(246px + var(--safe-top));max-width:calc(100% - 24px);font-size:9px;padding:6px 10px;text-align:center;white-space:nowrap}.compact-ui #coven-hud{top:calc(106px + var(--safe-top));right:12px;width:calc(100vw - 202px);padding:8px;max-width:210px}.compact-ui #coven-hud-heading{font-size:9px}.compact-ui #coven-hud-heading button{font-size:9px;min-height:28px}.compact-ui .partner-row{font-size:9px}.compact-ui .partner-row small{font-size:8px}.compact-ui #coven-ping-log{font-size:9px;margin-top:3px}.compact-ui #coven-hud .coven-quick{margin-top:5px;gap:4px}.compact-ui #coven-hud .coven-quick button{width:44px;height:44px;min-width:44px;font-size:20px}.compact-ui #spook-wheel{top:calc(242px + var(--safe-top));right:12px;width:220px;max-height:calc(100dvh - 270px);overflow:auto}.compact-ui #help{display:none}.compact-ui .journal.has-regional-quest{top:calc(210px + var(--safe-top));max-height:100px;overflow:auto}.compact-ui #coven-hud~#toast{max-width:calc(100vw - 24px)}
@media(min-width:901px) and (min-height:501px){body.in-coven .journal{top:318px;max-height:calc(100dvh - 515px);overflow:auto}#coven-hud{right:30px;top:100px}body.in-coven .journal.has-regional-quest{top:330px}}
@media(max-width:350px){.compact-ui #coven-hud{width:calc(100vw - 180px)}.compact-ui #coven-hud-heading{display:block}.compact-ui #coven-hud-heading button{min-height:28px}.compact-ui #partner-bars{margin-top:3px}.compact-ui #coven-hud .coven-quick{gap:3px;justify-content:flex-start}.compact-ui #coven-hud .coven-quick button{width:44px;min-width:44px}.compact-ui #coven-hud .coven-quick button:nth-child(2){display:none}}
@media(max-height:500px) and (orientation:landscape){.compact-ui #coven-hud{top:calc(60px + var(--safe-top));width:210px;right:12px;padding:6px 9px}.compact-ui #coven-hud .coven-quick{position:absolute;left:-148px;top:0;margin:0}.compact-ui #surge-banner{top:calc(62px + var(--safe-top));font-size:9px;left:44%;max-width:170px;white-space:normal}.compact-ui #spook-wheel{top:calc(56px + var(--safe-top));right:234px;max-height:calc(100dvh - 70px);width:210px}.compact-ui #ghost-help{top:27%;padding:12px}.compact-ui #ghost-help h2{font-size:23px}.compact-ui .journal.has-regional-quest{display:none!important}}
@media(prefers-reduced-motion:no-preference){body.critical-life .life-track{animation:essence-beat 1s infinite}@keyframes essence-beat{50%{box-shadow:0 0 14px #fb97775c}}}

.compact-ui.in-coven .journal.has-regional-quest{display:none!important}

@media(max-width:350px){.compact-ui #coven-hud{padding:6px}.compact-ui #coven-hud-heading{display:flex}.compact-ui #coven-hud-heading button,.compact-ui #coven-ping-log{display:none}.compact-ui.in-coven .status .stats{display:none}.compact-ui #surge-banner{top:calc(212px + var(--safe-top))}}
@media(max-height:500px) and (orientation:landscape){.compact-ui #surge-banner{display:none}}
