:root{--accent: #00ffd5;--accent-soft: rgba(0,255,213,.35);--royal: #00aaff;--danger:#ff3b3b;--gold:#ffd54d;--bg0:#041619;--bg1:#021012;--glass: rgba(0,255,213,.06)}html,body{margin:0;padding:0;font-family:Orbitron,sans-serif;background:radial-gradient(circle at 50% -40%,#062427,#03191b 55%,#000);color:#eafffb;overflow-x:hidden}.app-root{min-height:100vh;display:flex;flex-direction:column;align-items:center}.rps-header{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:28px 50px;background:linear-gradient(180deg,var(--bg0),var(--bg1));border-bottom:2px solid var(--accent-soft);box-shadow:0 0 18px #00ffd51f}.header-left{justify-self:start}.rps-title{margin:0;font-weight:800;letter-spacing:1px;color:#bffff2;font-size:3rem;line-height:1.05;text-shadow:0 0 2px #79ffe7,0 0 5px #38ffd8;animation:pulseHeader 2.8s ease-in-out infinite;opacity:.92}.rps-title .sub{display:block;font-size:1.4rem;margin-top:4px;color:#9dfce9;text-shadow:0 0 1px #6ef8da,0 0 4px #38ffd8;opacity:.9}@keyframes pulseHeader{0%{text-shadow:0 0 3px #38ffd8;opacity:.95}50%{text-shadow:0 0 10px #1affc9;opacity:1}to{text-shadow:0 0 3px #38ffd8;opacity:.95}}.prize-box{justify-self:center;padding:12px 34px;border-radius:12px;background:var(--glass);border:2px solid var(--accent-soft);color:var(--accent);font-weight:800;font-size:1.45rem;box-shadow:0 0 12px #00ffd529}.header-right{justify-self:end;display:flex;flex-direction:column;gap:8px;align-items:flex-end}.stat{width:145px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#081c1e8c;border:2px solid rgba(0,255,213,.18);border-radius:10px;box-shadow:0 0 10px #00ffd514}.stat .label{font-size:.8rem;opacity:.78}.stat .val{font-size:1.15rem;font-weight:800;color:var(--accent)}.playnow-wrap{width:100%;display:flex;justify-content:center;margin:16px 0 20px}.playnow-btn{padding:12px 26px;border-radius:10px;background:var(--glass);border:2px solid var(--accent-soft);color:var(--accent);font-weight:800;font-size:1.15rem;box-shadow:0 0 10px #00ffd529}.board{width:100%;max-width:1500px;padding:15px 25px 80px}.tall-two-col{display:flex;flex-direction:column;gap:26px}.pair-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-items:center;gap:25px}.vs{font-size:2rem;font-weight:850;color:var(--danger);text-shadow:0 0 8px rgba(255,0,0,.22)}.player-card{width:560px;height:200px;flex:0 0 560px;background:linear-gradient(145deg,#102229,#0a171b);border:2px solid rgba(0,255,213,.18);border-radius:18px;padding:18px 24px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;box-shadow:0 0 14px #00ffd52e;box-sizing:border-box}.player-card.faded{opacity:.22;filter:grayscale(55%)}.life-lights{display:flex;gap:10px;position:absolute;top:10px;left:50%;transform:translate(-50%)}.life-dot{width:14px;height:14px;border-radius:50%;background:#333;opacity:.35}.life-dot.on{background:var(--danger);opacity:1}.mini-timer{position:absolute;top:6px;right:10px;background:#000000bf;color:var(--gold);padding:4px 8px;border-radius:6px;font-size:12px}.name{margin-top:46px;font-size:1.4rem;font-weight:900;color:var(--accent);text-shadow:0 0 6px rgba(0,255,213,.4)}.rps-buttons{display:flex;gap:48px;margin-top:auto;margin-bottom:8px}.hand{background:none;border:none;cursor:pointer;font-size:3rem;line-height:1}.intro-overlay{position:fixed;inset:0;background:#040a12a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:2000}.intro{background:#062225;padding:24px 28px;border-radius:14px;border:2px solid var(--accent);width:480px;text-align:center}.intro button{background:var(--accent);padding:10px 14px;border-radius:8px;border:none;font-weight:800;cursor:pointer}.win{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#000a;padding:26px 48px;border:2px solid var(--accent);border-radius:14px;font-size:2rem;font-weight:900;color:var(--accent);text-shadow:0 0 10px var(--accent)}.confetti{position:fixed;width:10px;height:14px;border-radius:2px;animation:fall 3s linear forwards;z-index:150}@keyframes fall{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(110vh) rotate(660deg);opacity:0}}:root{--outer: #042827;--mintA: #2EE2C6;--mintB: #7FE8D6;--card: #083231;--text: #e6fffb;--muted: rgba(230,255,251,.65);--gold: #ffd166;--red: #ef4444;--glass: rgba(8,50,49,.6);--card-border: rgba(46,226,198,.08);--accent-border: rgba(46,226,198,.18);--shadow-strong: 0 10px 30px rgba(46,226,198,.14);--shadow-soft: 0 6px 18px rgba(0,0,0,.28);--glow: 0 0 18px rgba(46,226,198,.18);--radius-lg: 16px;--radius-md: 12px;--radius-sm: 8px;--max-width: 1200px;--ui-gap: 12px}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:radial-gradient(circle at 20% 10%,#053a37 0%,var(--outer) 60%);font-family:Inter,Segoe UI,Roboto,system-ui,-apple-system,sans-serif;color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.25;padding:18px}.app-root{max-width:var(--max-width);margin:0 auto;display:flex;flex-direction:column;gap:18px;min-height:calc(100vh - 36px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(180deg,#083231db,#062c29c2);border:1px solid var(--accent-border);border-radius:var(--radius-lg);padding:12px 16px;box-shadow:var(--glow)}.left-info{display:flex;flex-direction:column;gap:6px}.round-label{font-weight:700;font-size:1rem;letter-spacing:.3px;color:var(--text)}.mode-pill{display:inline-block;padding:4px 10px;background:linear-gradient(90deg,#2ee2c614,#7fe8d60f);color:var(--mintB);border-radius:999px;font-size:.85rem;font-weight:600;border:1px solid rgba(46,226,198,.06)}.right-info{display:flex;align-items:center;gap:14px}.counter{text-align:center;min-width:88px}.counter .small{font-size:.75rem;color:var(--muted);letter-spacing:.3px}.counter .big{font-size:1.2rem;font-weight:800;color:var(--text)}.play-button-container,.play-button,.reset-button{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;position:absolute!important;width:0!important;height:0!important;overflow:hidden!important}.stage{display:flex;align-items:center;justify-content:center;padding:8px}.rows{width:100%;display:flex;flex-direction:column;gap:14px;padding:6px}.row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.player-card{width:120px;min-width:100px;background:linear-gradient(180deg,#0a2826f0,#083231eb);border-radius:12px;padding:10px;text-align:center;border:1px solid var(--card-border);transition:transform .22s cubic-bezier(.2,.9,.2,1),box-shadow .22s ease,opacity .22s ease;box-shadow:var(--shadow-soft);color:var(--text);display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:space-between}.player-card:hover{transform:translateY(-4px)}.player-card.recentWinner,.player-card .recentWinner{border:2px solid var(--gold);box-shadow:0 10px 36px #ffd1661f}.player-card.highlight{box-shadow:0 14px 40px #2ee2c638,0 6px 18px #00000059;transform:translateY(-6px) scale(1.02)}.player-card.eliminated{opacity:.28;filter:grayscale(.25);transform:scale(.98)}.player-name{font-size:.85rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--text)}.throw-area{height:38px;display:flex;align-items:center;justify-content:center;font-size:1.25rem}.choice-placeholder{opacity:.24;font-size:1.05rem;letter-spacing:1px}.choice-emoji{display:inline-block;font-size:1.4rem;padding:4px;transform-origin:center}.life-row{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:6px}.life-dot{width:10px;height:10px;border-radius:50%;background:#ffffff1f;border:1px solid rgba(255,255,255,.02);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.life-dot.on{background:var(--mintA);box-shadow:0 0 8px #2ee2c699;transform:translateY(-1px)}.life-dot.off{background:#ffffff0f;opacity:.35}.footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;border-radius:12px;background:linear-gradient(180deg,#083231b8,#062c29b8);border:1px solid var(--accent-border)}.footer-left,.footer-right{display:flex;flex-direction:column;gap:6px;font-size:.95rem}.footer .muted{opacity:.75;font-size:.9rem;color:var(--muted)}.winner-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(#00000073,#0009);-webkit-backdrop-filter:blur(4px) saturate(1.06);backdrop-filter:blur(4px) saturate(1.06);z-index:1200;padding:20px}.winner-content{width:min(520px,92%);background:linear-gradient(180deg,#072625fa,#092d2bf5);border-radius:20px;padding:28px;text-align:center;border:1px solid rgba(46,226,198,.14);box-shadow:0 20px 60px #020f0e99,0 0 40px #2ee2c614;animation:popIn .28s cubic-bezier(.2,.9,.25,1)}@keyframes popIn{0%{transform:translateY(18px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.trophy{font-size:3.2rem;margin-bottom:8px;filter:drop-shadow(0 8px 18px rgba(255,209,102,.18))}.win-text{font-size:1.35rem;font-weight:800;color:var(--mintB);margin:6px 0}.winner-content .muted{opacity:.85;margin-top:6px;font-size:.95rem}.close-button{margin-top:14px;padding:8px 14px;border-radius:10px;border:none;cursor:pointer;background:linear-gradient(90deg,var(--mintA),var(--mintB));color:#042827;font-weight:800;transition:transform .12s ease,box-shadow .12s ease}.close-button:hover{transform:translateY(-3px);box-shadow:0 12px 30px #2ee2c62e}.muted{color:var(--muted)}.center{display:flex;align-items:center;justify-content:center}.hidden{display:none!important}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:980px){.player-card{width:110px;padding:8px}.rows{gap:10px}.row{gap:8px}.right-info{gap:10px}}@media(max-width:700px){.topbar{flex-direction:column;align-items:stretch;gap:10px;padding:10px}.right-info{justify-content:space-between;width:100%}.rows{gap:10px}.player-card{width:96px;font-size:.9rem}.winner-content{padding:20px}}.app-root:before{content:"";position:fixed;left:0;top:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(circle at 10% 10%,rgba(46,226,198,.02) 0px,transparent 20px),radial-gradient(circle at 80% 80%,rgba(127,232,214,.02) 0px,transparent 18px);mix-blend-mode:overlay;z-index:-1}
