*{box-sizing:border-box}body{margin:0;background:#100f17;color:#f4f0e9;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #5b4a65;border-radius:12px;padding:12px 16px;background:#292435;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px}button:disabled{opacity:.45;cursor:not-allowed}input,select{width:100%;padding:13px;border-radius:12px;background:#1b1924;color:#fff;border:1px solid #55495e}h1{font-family:Georgia,serif;font-size:clamp(32px,7vw,48px);line-height:1.1;margin:12px 0 20px}h1 span{color:#e4bb70}h2{font-size:19px}h3{font-size:14px;color:#e6be79;margin:22px 0 8px}.shell{max-width:540px;margin:auto;padding:22px 16px 40px}header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:28px}.brand{display:flex;align-items:center;gap:9px;color:#e9c17b;letter-spacing:1px;font-size:14px}.brand strong{color:#fff}.pill,.tag{font-size:10px;letter-spacing:.5px;color:#eacb98;border:1px solid #68563e;padding:7px 9px;border-radius:20px}.panel{background:#1a1823;border:1px solid #383040;border-radius:20px;padding:24px;box-shadow:0 14px 48px #0004}.hero{text-align:center;padding:45px 25px}.emblem{margin:auto;background:#352b33;color:#e7bd72;width:96px;height:96px;border-radius:50%;display:grid;place-items:center}.eyebrow{font-size:11px;color:#c7a16c;letter-spacing:2px;font-weight:700}.hero>p:not(.eyebrow){color:#b9b4c3;line-height:1.6}.primary{background:#c18b44;color:#17111a;border-color:#e1ac5f;font-weight:800;width:100%;margin-top:18px}.secondary{width:100%;margin-top:18px}.text-button{border:0;background:none;width:100%;margin-top:12px;color:#bfb5cc}.note{color:#a8a1b3;font-size:12px;line-height:1.5}.notice{background:#282230;color:#c7bcd1;border-left:3px solid #c18b44;padding:13px;border-radius:8px;font-size:13px;line-height:1.5;margin:18px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.section-head span{color:#aaa2b4;font-size:13px}.player-list{display:grid;gap:9px}.player{display:flex;align-items:center;gap:12px;background:#26222f;border:1px solid #393243;border-radius:10px;padding:11px 13px;min-height:47px}.player>span:first-of-type{flex:1}.mini{padding:6px 8px;font-size:11px}.add-row{display:flex;gap:8px;margin-top:13px}.add-row button{background:#4a3843}.roles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.roles-grid>div{text-align:center;background:#282230;padding:13px 3px;border-radius:10px}.roles-grid strong{display:block;font-size:23px;color:#e8bd76}.roles-grid small{font-size:10px;color:#bfb5cc}.king-card{text-align:center;background:linear-gradient(150deg,#533924,#261c2b);border:1px solid #936e3d;border-radius:16px;padding:25px 15px;margin:22px 0}.king-card svg{color:#f2cb76}.king-card>span{display:block;font-size:11px;letter-spacing:2px;margin-top:10px}.king-card h2{font-family:Georgia,serif;font-size:32px;margin:9px}.king-card strong{color:#f2cb76}.king-card p{color:#e5d6c2;font-size:13px}.secret-card{text-align:center;border:1px solid #504356;border-radius:16px;margin-top:18px;padding:25px 18px}.secret-card>svg{color:#dfb779}.secret-card p{color:#d1cad9;line-height:1.55}.secret-card ul{text-align:left;line-height:1.65;color:#d1cad9;padding-left:20px}.secret-card li{margin:8px 0}.secret-card button:not(.primary){margin-top:12px}label{display:block;font-size:13px;color:#c6bdcf;margin:16px 0 8px}footer{text-align:center;color:#777181;font-size:11px;margin-top:26px}@media(max-width:380px){.panel{padding:18px}.pill,.roles-grid small{font-size:9px}}.mode-home{text-align:center;padding-top:34px}.mode-home .emblem{width:82px;height:82px}.mode-intro{color:#b9b4c3;line-height:1.6;margin-bottom:26px}.mode-list{display:grid;gap:13px;text-align:left;margin:24px 0}.mode-card{display:flex;align-items:center;gap:13px;width:100%;padding:17px 13px;text-align:left;border:1px solid #80613c;background:linear-gradient(125deg,#352b31,#25202d);border-radius:16px;transition:border-color .15s,transform .15s}button.mode-card:hover{border-color:#e7bd72;transform:translateY(-2px)}button.mode-card:focus-visible{outline:3px solid #e7bd72;outline-offset:3px}.mode-icon{flex:none;width:49px;height:49px;border-radius:12px;display:grid;place-items:center;background:#5a3d2b;color:#f0c67c}.mode-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.mode-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-family:Georgia,serif;font-size:21px;font-weight:700}.mode-status{font:600 10px Inter,system-ui,sans-serif;border-radius:20px;padding:4px 7px;white-space:nowrap}.mode-status.available{background:#294b39;color:#a9e4b8}.mode-status.coming{background:#383443;color:#c0b8ca}.mode-meta{color:#e5c18a;font-size:12px;font-weight:700}.mode-description{color:#bdb5c5;font-size:12px;line-height:1.5}.mode-chevron{flex:none;color:#e4bd7a}.mode-disabled{border-color:#3a3544;background:#211e29;cursor:not-allowed;opacity:.72}.werewolf-icon{background:#353146;color:#bcb2e1}.mode-disabled .mode-chevron{color:#a49ab3}.text-button{display:flex;align-items:center;justify-content:center;gap:7px}@media(max-width:390px){.mode-card{gap:9px;padding:13px 10px}.mode-icon{width:42px;height:42px}.mode-heading{font-size:18px}}.share-panel{background:#26212f;border:1px solid #594764;border-radius:16px;padding:20px 14px;text-align:center;margin:20px 0}.qr-wrap{display:inline-flex;background:#fff;padding:10px;border-radius:12px;margin:10px auto}.lobby-code{font-size:30px;font-weight:800;letter-spacing:6px;color:#e7be7b}.url-display{word-break:break-all;color:#a99fb7;font-size:11px;margin-top:12px}.back{padding:7px 0;background:none;border:0;color:#cfc4d9}.error{border-color:#b04b50;color:#ffd0d0}.gold{color:#e7be7b}.reveal-row{display:flex;justify-content:space-between;gap:8px;padding:11px 0;border-bottom:1px solid #393043}.reveal-row strong{color:#e7be7b}.share-panel .primary{margin-top:10px}.panel .section-head h2{margin:0}.player .tag{margin-left:auto}.werewolf-distribution{grid-template-columns:repeat(3,1fr)}.home-logo{display:flex;justify-content:center;margin:0 auto 16px}.home-logo img{width:100%;max-width:260px;height:auto;border-radius:16px}.rules-link{width:100%;border-color:#80613c;color:#e7be7b;background:#26212f;font-weight:600}.rules-link:hover,.rules-tabs button:hover{border-color:#e7be7b}.rules-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 24px}.rules-tabs button[aria-pressed=true]{background:#c18b44;color:#17111a;border-color:#e1ac5f;font-weight:700}.rules-panel p,.rules-panel li{line-height:1.6;color:#d1cad9;font-size:14px}.rules-panel h2{margin-top:24px;color:#e7be7b}.rules-panel ul,.rules-panel ol{padding-left:20px}.rules-role{background:#26222f;border:1px solid #504356;border-radius:12px;padding:14px;margin:10px 0}.rules-role h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:17px}.rules-role p{margin:0 0 8px}.rules-role ul{margin:0}.rules-table{width:100%;border-collapse:collapse;font-size:12px;text-align:center}.rules-table th,.rules-table td{padding:9px 3px;border-bottom:1px solid #504356}.rules-table th,.rules-panel .back{color:#e7be7b}
