.rs-game-shell{width:min(760px,100%);margin:1.5rem auto 3rem;padding:0 1rem}
#reaction-survival-app .rs-game-shell .reaction-card{width:100%;max-width:760px;margin:0 auto;padding:1.25rem;background:radial-gradient(circle at 50% -20%,#1e293b 0%,#0f172a 48%,#090f1d 100%)!important;color:#f8fafc!important;border:1px solid #26354f;border-radius:22px;box-shadow:0 20px 45px rgba(2,6,23,.35)}
#reaction-survival-app .rs-game-shell .reaction-card .reaction-header{background:#111827!important;color:#f8fafc!important}
#reaction-survival-app .rs-game-shell>section:not(#rs-mp-panel){background:radial-gradient(circle at 50% -20%,#1e293b 0%,#0f172a 48%,#090f1d 100%)!important;color:#f8fafc!important}
#reaction-survival-app .rs-game-shell .reaction-buttons button,#reaction-survival-app .rs-game-shell .reaction-buttons button:disabled{opacity:1!important;background:linear-gradient(145deg,#475569,#1e293b)!important;color:#e2e8f0!important}
#reaction-survival-app .rs-game-shell .reaction-buttons button.is-active{background:linear-gradient(145deg,#fde047,#ca8a04)!important;color:#422006!important}
.rs-mode-switch{display:flex;width:100%;gap:4px;padding:4px;margin:0 auto 1.25rem;background:#f1f5f9;border:0;border-radius:16px;box-shadow:inset 0 2px 4px rgba(0,0,0,.04)}
.rs-mode-switch button{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:.75rem 1rem;border:0;border-radius:12px;background:transparent;color:#64748b;font-family:inherit;font-size:.92rem;font-weight:850;line-height:1.2;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1)}
.rs-mode-switch button:hover{color:#1e293b}
.rs-mode-switch button.is-active{background:#fff;color:#4f46e5;box-shadow:0 2px 8px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04)}
.rs-mp-panel{width:100%;margin:0 auto 1.25rem}
.rs-mp-panel[hidden]{display:none}
.rs-mp-ready{display:grid;justify-items:center;gap:10px;padding:1.6rem 1.25rem;background:#fff;border:1.5px dashed #cbd5e1;border-radius:20px;color:#64748b;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.02)}
.rs-mp-ready h2{margin:0;color:#1e293b;font-size:1.15rem;font-weight:900}
.rs-mp-ready p{max-width:380px;margin:0 0 .35rem; color:#64748b;font-size:.9rem;line-height:1.5}
.rs-mp-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-top:.1rem}
.rs-mp-actions button{min-height:46px;padding:.75rem 1rem;border:0;border-radius:12px;background:#f1f5f9;color:#334155;font-family:inherit;font-size:.92rem;font-weight:850;cursor:pointer}
.rs-mp-actions button:first-child{background:#059669;color:#fff;box-shadow:0 4px 12px rgba(5,150,105,.14)}
.rs-mp-hud{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:stretch;padding:10px;background:#fff;border:1px solid #dce4ef;border-radius:14px}
.rs-mp-player{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid #e5eaf2;border-radius:10px;color:#64748b;font-size:.78rem}
.rs-mp-player:last-child{text-align:right}
.rs-mp-player.is-me{border-color:#9b76ed;background:#f7f3ff}
.rs-mp-player strong{overflow:hidden;color:#172033;font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}
.rs-mp-player b{color:#6d35df;font-size:.9rem}
.rs-mp-lives{display:flex;align-items:center;justify-self:start;gap:.3rem;width:max-content;max-width:100%;color:#334155;font-size:.7rem;font-weight:850;line-height:1.2}
.rs-mp-player:last-child .rs-mp-lives{justify-self:end}
.rs-mp-life-hearts{display:inline-flex;gap:1px;font-size:1rem;line-height:1}
.rs-mp-heart.is-alive{color:#ef4444;text-shadow:0 1px 1px rgba(127,29,29,.18)}
.rs-mp-heart.is-lost{color:#94a3b8}
.rs-mp-life-count{color:#334155!important;font-size:.76rem!important;font-variant-numeric:tabular-nums}
.rs-mp-player.is-out .rs-mp-life-count,.rs-mp-out-label{color:#b91c1c!important}
.rs-mp-out-label{padding:.12rem .32rem;border-radius:5px;background:#fee2e2;font-size:.62rem!important}
.rs-mp-vs{align-self:center;color:#94a3b8;font-size:.8rem;font-weight:900}
.rs-mp-progress{display:grid;gap:5px;margin-top:7px;color:#64748b;font-size:.75rem;font-weight:700}
.rs-mp-progress span{text-align:center}
.rs-mp-progress b{color:#172033}
.rs-mp-progress>div{height:6px;overflow:hidden;border-radius:9px;background:#e2e8f0}
.rs-mp-progress i{display:block;height:100%;border-radius:inherit;background:#6d35df;transition:width .2s ease}
.rs-mp-result-detail{margin:0 0 1rem;color:#334155;font-size:.86rem;font-weight:750;line-height:1.5}
.rs-group-rankings{width:min(100%,460px);margin-top:.35rem;padding:1rem;background:#fff;border:1px solid #dce4ef;border-radius:14px;text-align:left}
.rs-group-rankings h3{margin:0 0 .55rem;color:#334155;font-size:.9rem}
.rs-group-rankings ol{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}
.rs-group-rank-row{display:flex;justify-content:space-between;gap:.75rem;padding:.45rem .6rem;border-radius:8px;color:#475569;font-size:.82rem}
.rs-group-rank-row.is-me{background:#f1eafe;color:#5b21b6;font-weight:800}
.rs-group-rank-row strong{flex:none;color:#172033}
.rs-multiplayer-active .reaction-stats{display:none}
@media(max-width:520px){.rs-game-shell{padding-inline:.75rem}.rs-mode-switch button{padding-inline:.5rem;font-size:.82rem}.rs-mp-ready{padding:1.35rem 1rem}.rs-mp-actions{width:100%}.rs-mp-actions button{flex:1 1 145px}.rs-mp-hud{gap:5px;padding:7px}.rs-mp-player{padding:7px;font-size:.72rem}.rs-mp-player strong{font-size:.82rem}}
