:root{--font-title: "Cormorant Garamond", Georgia, serif;--font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;--bg0: #050505;--bg1: #0b0b0c;--bg2: #121214;--panel: rgba(18, 18, 20, .78);--panel2: rgba(18, 18, 20, .9);--text: #f3f4f6;--muted: rgba(243, 244, 246, .68);--stroke: rgba(255, 255, 255, .1);--stroke2: rgba(255, 255, 255, .16);--accent: #e11d2e;--accent2: #b91c1c;--radius: 22px;--radiusSm: 16px;--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-top: env(safe-area-inset-top, 0px)}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;color:var(--text);background:var(--bg0);font-family:var(--font-body);font-weight:300}.title,.screenTitle,h1,h2{font-family:var(--font-title);font-weight:600;letter-spacing:.04em}.subtitle,.hint,p{font-family:var(--font-body);font-weight:300;letter-spacing:.01em}.app{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:calc(12px + var(--safe-top)) 28px calc(16px + var(--safe-bottom));background:radial-gradient(900px 520px at 20% 20%,rgba(255,255,255,.045),transparent 62%),radial-gradient(900px 520px at 80% 18%,rgba(225,29,46,.1),transparent 65%),radial-gradient(1200px 700px at 50% 85%,rgba(0,0,0,.65),transparent 70%),linear-gradient(180deg,var(--bg0),var(--bg2))}.card{width:min(1040px,calc(100vw - 56px));background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:0 30px 100px #0000009e;overflow:visible;max-height:none}.cardWide{width:min(1100px,calc(100vw - 56px))}.cardBody{padding:22px}.header{padding:22px 22px 0}.passwrapper{padding-right:22px}.panel{border:1px solid var(--stroke);background:#ffffff0a;border-radius:var(--radiusSm);padding:16px}.panelTitle{font-size:16px;font-weight:750;margin-bottom:10px;opacity:.95}.header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 0}.title{font-size:44px;font-weight:850;letter-spacing:-.02em;margin:0}.subtitle{margin-top:6px;color:var(--muted);font-size:14px}.pill{border:1px solid var(--stroke2);background:#ffffff0f;border-radius:999px;padding:8px 12px;color:var(--muted);font-size:13px;white-space:nowrap}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px 22px 22px}@media(max-width:920px){.grid2{grid-template-columns:1fr}}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.row:last-child{border-bottom:none}.rowLeft{display:flex;flex-direction:column;gap:2px}.rowName{font-weight:700;font-size:14px}.rowHint{color:var(--muted);font-size:12px}.rowRight{display:flex;align-items:center;gap:10px}.count{width:26px;text-align:center;font-weight:800;opacity:.95}.input{width:100%;max-width:100%;border:1px solid var(--stroke2);background:#0003;color:var(--text);border-radius:14px;padding:10px 12px;outline:none}.input:focus{border-color:#e11d2e8c;box-shadow:0 0 0 3px #e11d2e1f}.names{display:flex;flex-direction:column;gap:8px;padding-right:2px}.nameRow{display:flex;gap:6px;align-items:center}.nameInput{flex:1;min-width:0}.nameDeleteBtn{flex-shrink:0;width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;border-radius:50%;opacity:.6}.nameDeleteBtn:hover{opacity:1;background:#e11d2e33;border-color:#e11d2e66}.addPlayerBtn{margin-top:8px;width:100%;opacity:.7;font-size:13px}.bulkAdd{margin-top:12px;display:flex;flex-direction:column;gap:10px}.bulkTextarea{resize:vertical;min-height:100px;font-family:var(--font-body);font-size:14px;line-height:1.5}.bulkToggle{opacity:.7;font-size:13px}.bulkActions{display:flex;gap:8px;justify-content:flex-end}.btn{border:1px solid var(--stroke2);background:#ffffff0f;color:var(--text);border-radius:18px;padding:12px 14px;cursor:pointer;transition:transform .08s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease,opacity .15s ease;-webkit-user-select:none;user-select:none}.btn:hover{background:#ffffff17}.btn:active{transform:scale(.99)}.btn.small{padding:8px 12px;border-radius:14px}.btn.primary{background:#e11d2e2e;border-color:#e11d2e6b}.btn.primary:hover{background:#e11d2e3d}.btn.danger{background:#e11d2e29;border-color:#e11d2e66}.btn:disabled{cursor:not-allowed;opacity:.45}.btn.selected,.btn.actionChoice.selected,.btn.voteChoice.selected,.btn.skipChoice.selected{border-color:#ffffffb3;box-shadow:0 0 0 3px #ffffff29,0 0 0 1px #00000059 inset}.actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px 22px}.actionsRight{justify-content:flex-end}.section{margin-top:12px}.revealTag{display:inline-block;padding:6px 10px;margin-left:8px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#ffffff0f;color:#f3f4f6eb;font-size:13px;line-height:1}.killedList{margin-top:10px;display:flex;flex-direction:column;gap:10px}.killedRow{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.killedName{font-weight:700}.killedSep{opacity:.7}.sectionTitle{font-size:15px;font-weight:800;letter-spacing:.02em;margin-bottom:8px;padding-left:4px;opacity:.95}.hint{color:var(--muted);padding-left:4px;font-size:13px;line-height:1.45}.errors{margin-top:10px;border:1px solid rgba(225,29,46,.35);background:#e11d2e1a;border-radius:14px;padding:10px 12px}.errorLine{color:#ffffffe0;font-size:13px;margin:3px 0}.bigName{margin-top:12px;font-size:34px;font-weight:900;letter-spacing:-.02em}.revealBox{margin-top:10px;border:1px solid var(--stroke);background:#ffffff0a;border-radius:14px;padding:12px 16px}.roleName{font-size:22px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.roleCardWrap{display:flex;justify-content:center;margin:12px 0;width:100%}.roleCardImg{display:block;width:100%;max-width:260px;height:auto;max-inline-size:100%;object-fit:contain;border-radius:14px;border:1px solid rgba(255,255,255,.1);box-shadow:0 14px 50px #0000008c}.playerNameBanner{font-family:var(--font-body);font-size:14px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}.revealCompact{display:flex;flex-direction:column;align-items:center;text-align:center}.revealTitle{font-size:24px;margin-bottom:4px}.roleCardWrapSmall{display:flex;justify-content:center;margin:8px 0;width:100%}.roleCardImgSmall{display:block;width:100%;max-width:280px;height:auto;object-fit:contain;border-radius:14px;border:1px solid rgba(255,255,255,.1);box-shadow:0 14px 50px #0000008c}@media(max-width:640px){.roleCardImgSmall{max-width:220px}.revealTitle{font-size:20px}}.voteLayout{margin-top:10px}.voteScroll{max-height:320px;overflow-y:auto;padding-right:6px}.voteScroll::-webkit-scrollbar{width:10px}.voteScroll::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:999px}.voteScroll::-webkit-scrollbar-track{background:transparent}.voteBottom{margin-top:10px}.totalsList{display:flex;padding:22px;flex-direction:column;gap:10px;margin-top:10px}.totalsRow{display:grid;grid-template-columns:240px 1fr;align-items:center;column-gap:18px;padding:12px 18px;border-radius:16px;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px #ffffff0f}.totalsRow.winner{border-color:#e11d2e66;box-shadow:0 0 0 3px #e11d2e1a}.totalsLabel{padding-left:10px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.totalsValue{display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap}.voteIcon{width:22px;height:22px;opacity:.92;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}.restartFab{position:fixed;right:18px;bottom:18px;border:1px solid rgba(255,255,255,.18);background:#121214b3;color:#f3f4f6e0;padding:10px 14px;border-radius:999px;cursor:pointer;box-shadow:0 18px 60px #0000008c;transition:transform .08s ease,background .15s ease,border-color .15s ease}.restartFab:hover{background:#121214d9;border-color:#ffffff47}.restartFab:active{transform:scale(.99)}@media(max-width:640px){.restartFab{top:calc(12px + env(safe-area-inset-top,0px));right:12px;bottom:auto;left:auto;z-index:9999}}@media(max-width:640px){.header{flex-direction:column;align-items:flex-start;gap:10px}.pill{align-self:flex-start}.title{font-size:26px;line-height:1.1}.title,.screenTitle,h1,h2{max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.05}.title,h1{font-size:clamp(28px,5vw,56px)}.subtitle,.hint{font-size:14px}.voteGrid,.btnGrid{grid-template-columns:1fr!important}.btn{padding:14px;font-size:16px}.totalsRow{grid-template-columns:160px 1fr}}.backBtn{background:none;border:none;color:var(--muted);font-family:var(--font-body);font-size:14px;font-weight:500;cursor:pointer;padding:4px 0;margin-bottom:8px;transition:color .15s ease}.backBtn:hover{color:var(--text)}.startScreen{width:100%;max-width:900px;display:flex;flex-direction:column;gap:40px}.startHero{text-align:center;padding:32px 0 0}.startTitle{font-family:var(--font-title);font-size:clamp(42px,8vw,72px);font-weight:900;letter-spacing:-.02em;margin:0;background:linear-gradient(180deg,var(--text) 40%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.startTagline{margin:12px 0 0;color:var(--muted);font-size:16px;font-weight:300}.startSection{display:flex;flex-direction:column;gap:16px}.startSectionTitle{font-family:var(--font-title);font-size:28px;font-weight:800;letter-spacing:.02em;margin:0;padding-left:4px}.rulesGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ruleCard{display:flex;gap:14px;align-items:flex-start;padding:18px;background:var(--panel);border:1px solid var(--stroke);border-radius:var(--radiusSm)}.ruleNumber{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e11d2e26;border:1px solid rgba(225,29,46,.35);font-weight:800;font-size:14px;color:var(--accent)}.ruleText{font-size:14px;line-height:1.5;color:var(--muted)}.ruleText strong{color:var(--text);font-weight:700}.roleGallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.roleGalleryCard{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 10px;background:var(--panel);border:1px solid var(--stroke);border-radius:var(--radiusSm);cursor:pointer;transition:border-color .15s ease,background .15s ease;text-align:center;color:var(--text);font-family:var(--font-body)}.roleGalleryCard:hover{border-color:var(--stroke2);background:#ffffff0d}.roleGalleryCard.expanded{border-color:#e11d2e66;background:#e11d2e0f}.roleGalleryImg{width:100%;max-width:160px;height:auto;border-radius:12px;border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 40px #00000080}.roleGalleryInfo{display:flex;flex-direction:column;gap:4px}.roleGalleryName{font-size:15px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.roleGalleryTeam{font-size:12px;color:var(--muted);font-weight:500}.roleGalleryDesc{margin-top:6px;font-size:13px;line-height:1.5;color:var(--muted);text-align:left}.startCta{display:flex;justify-content:center;padding-bottom:32px}.startBtn{font-size:18px;padding:16px 48px;border-radius:999px;font-weight:700;letter-spacing:.02em}@media(max-width:640px){.startScreen{gap:28px}.rulesGrid{grid-template-columns:1fr}.roleGallery{grid-template-columns:1fr 1fr}.startSectionTitle{font-size:22px}}.qrSection{align-items:center}.qrWrap{display:flex;flex-direction:column;align-items:center;gap:14px}.qrBox{padding:16px;background:#ffffff0a;border:1px solid var(--stroke);border-radius:var(--radiusSm);line-height:0}.qrHint{color:var(--muted);font-size:13px;text-align:center;max-width:240px;line-height:1.4;margin:0}.rolesPage{width:100%;max-width:900px;display:flex;flex-direction:column;gap:32px;padding-bottom:40px}.rolesPageGrid{display:flex;flex-direction:column;gap:16px}.rolesPageCard{display:flex;gap:18px;align-items:flex-start;padding:18px;background:var(--panel);border:1px solid var(--stroke);border-radius:var(--radiusSm)}.rolesPageImg{width:90px;flex-shrink:0;height:auto;border-radius:10px;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 30px #0006}.rolesPageInfo{display:flex;flex-direction:column;gap:4px;min-width:0}.rolesPageName{font-size:18px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.rolesPageTeam{font-size:12px;color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:.06em}.rolesPageDesc{margin-top:4px;font-size:14px;line-height:1.55;color:var(--muted)}@media(max-width:640px){.rolesPageCard{gap:14px;padding:14px}.rolesPageImg{width:70px}.rolesPageName{font-size:15px}.rolesPageDesc{font-size:13px}}html,body{height:auto;overflow-y:auto}.app{min-height:100svh;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));padding-top:calc(12px + env(safe-area-inset-top,0px))}.cardBody{overflow:visible;max-height:none}
