:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16201d;background:#f6f4ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;padding:20px;background:radial-gradient(circle at 88% 8%,rgba(210,78,61,.2),transparent 28%),linear-gradient(135deg,#f8f7f2,#ebe6da 48%,#dfe9e4)}.hero{max-width:1180px;margin:0 auto 18px}.topbar,.workspace,.hero-grid,.ad-slot{border:1px solid rgba(30,44,38,.12);box-shadow:0 20px 50px #26353014}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border-radius:8px 8px 0 0;background:#ffffffc2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand,.panel-title,.section-label,.timer-free{display:inline-flex;align-items:center;gap:8px}.brand{font-size:18px;font-weight:800}.brand-mark,.phase-icon{display:grid;place-items:center;color:#fff;background:#17231f}.brand-mark{width:34px;height:34px;border-radius:8px}.mode-switch,.segmented{display:inline-grid;grid-auto-flow:column;gap:4px;padding:4px;border:1px solid rgba(30,44,38,.12);border-radius:8px;background:#f1eee6}.mode-switch button,.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 12px;color:#43514b;border:0;border-radius:6px;background:transparent;font-size:14px;font-weight:700}.mode-switch button.active,.segmented button.active{color:#17231f;background:#fff;box-shadow:0 4px 12px #26353014}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;padding:34px;border-top:0;border-radius:0 0 8px 8px;background:#ffffff94}.hero-copy h1{max-width:760px;margin:0;font-size:clamp(34px,5vw,64px);line-height:.98;letter-spacing:0}.hero-copy p{max-width:610px;margin:18px 0 0;color:#52615a;font-size:18px;line-height:1.55}.signal-board{align-self:stretch;min-height:210px;padding:22px;border:1px solid rgba(30,44,38,.14);border-radius:8px;background:#17231f;color:#f7f1e7}.signal-line{width:52%;height:10px;margin-bottom:12px;border-radius:999px;background:#d24e3d}.signal-line.wide{width:80%;background:#f0c84b}.signal-grid{display:grid;grid-template-columns:1fr 72px;gap:12px;margin-top:30px}.signal-grid span{display:grid;min-height:54px;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff14;font-weight:800}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px;max-width:1180px;margin:0 auto;padding:18px;border-radius:8px;background:#ffffffbd}.setup-panel,.play-panel{min-width:0;border-radius:8px}.setup-panel{display:flex;flex-direction:column;gap:18px;padding:18px;background:#fff}.play-panel{display:grid;min-height:590px;place-items:center;padding:22px;scroll-margin-top:12px;background:linear-gradient(180deg,#ffffff9e,#ffffffe6),repeating-linear-gradient(90deg,transparent 0 48px,rgba(23,35,31,.035) 48px 49px);border:1px solid rgba(30,44,38,.08)}.panel-title h2,.empty-state h2,.phase-card h2{margin:0;letter-spacing:0}.panel-title h2{font-size:18px}.config-grid{display:grid;gap:12px}.field{display:grid;gap:7px;color:#52615a;font-size:13px;font-weight:800}.field input,.field select,.add-player input{width:100%;min-height:42px;padding:0 12px;border:1px solid rgba(30,44,38,.14);border-radius:8px;color:#17231f;background:#fbfaf7;outline:none}.field input:focus,.field select:focus,.add-player input:focus{border-color:#d24e3d;box-shadow:0 0 0 3px #d24e3d24}.toggle{display:flex;align-items:center;gap:10px;color:#26352f;font-size:14px;font-weight:700}.players-editor{display:grid;gap:10px}.section-label{color:#52615a;font-size:13px;font-weight:900;text-transform:uppercase}.add-player,.join-form,.player-list,.vote-grid{display:grid;gap:8px}.player-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;min-height:42px;padding:7px 8px 7px 12px;border:1px solid rgba(30,44,38,.1);border-radius:8px;background:#fbfaf7}.player-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.player-row small{color:#d24e3d;font-weight:900;text-transform:uppercase}.player-row button{min-height:28px;border:0;color:#52615a;background:transparent;font-size:12px;font-weight:800}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:8px;font-weight:850}.primary{border:1px solid #17231f;color:#fff;background:#17231f}.secondary{border:1px solid rgba(30,44,38,.14);color:#17231f;background:#fff}.action-stack,.button-row{display:grid;gap:10px}.form-error{margin:0;color:#9a2d22;font-size:13px;font-weight:700}.empty-state,.phase-card{width:min(100%,620px);text-align:center}.empty-state{display:grid;justify-items:center;gap:14px;color:#52615a}.empty-state h2,.phase-card h2{color:#17231f;font-size:34px;line-height:1.08}.empty-state p,.muted{margin:0;color:#52615a;line-height:1.5}.mini-roster{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.mini-roster span{padding:8px 10px;border-radius:999px;color:#26352f;background:#fff;font-size:13px;font-weight:800}.phase-card{display:grid;justify-items:center;gap:16px;padding:26px;border:1px solid rgba(30,44,38,.1);border-radius:8px;background:#ffffffe0;box-shadow:0 18px 42px #2635301a}.phase-icon{width:54px;height:54px;border-radius:8px}.handoff{margin:0;color:#d24e3d;font-weight:900;text-transform:uppercase}.secret-placeholder,.role-box{width:min(100%,420px);min-height:132px;display:grid;place-items:center;gap:8px;padding:20px;border-radius:8px}.secret-placeholder{color:#52615a;border:1px dashed rgba(30,44,38,.2)}.role-box{border:1px solid rgba(30,44,38,.12);color:#17231f;background:#f7f1e7}.role-box.impostor{color:#fff;background:#9a2d22}.role-box span{font-size:13px;font-weight:900;text-transform:uppercase}.role-box strong{font-size:28px}.role-box p{margin:0}.round-header{display:flex;width:100%;justify-content:space-between;color:#52615a;font-size:13px;font-weight:900;text-transform:uppercase}.timer-bar{position:relative;width:min(100%,360px);height:38px;overflow:hidden;border-radius:8px;background:#ebe6da}.timer-bar span{position:absolute;inset:0 auto 0 0;background:#f0c84b;transition:width .2s linear}.timer-bar strong{position:relative;display:grid;height:100%;place-items:center}.timer-free{min-height:38px;padding:0 14px;color:#52615a;border-radius:8px;background:#f1eee6;font-weight:800}.vote-row{display:grid;gap:8px;padding:12px;border:1px solid rgba(30,44,38,.1);border-radius:8px;background:#fbfaf7;text-align:left}.vote-options{display:flex;flex-wrap:wrap;gap:8px}.vote-options button{min-height:34px;padding:0 10px;border:1px solid rgba(30,44,38,.12);border-radius:8px;background:#fff;font-weight:750}.vote-options button.selected{color:#fff;background:#d24e3d;border-color:#d24e3d}.result-details,.room-code{display:grid;gap:6px;min-width:min(100%,360px);padding:16px;border-radius:8px;background:#f7f1e7}.result-details span,.room-code span{color:#52615a;font-size:12px;font-weight:900;text-transform:uppercase}.result-details strong,.room-code strong{color:#17231f;font-size:22px}.ad-slot{display:grid;max-width:1180px;min-height:72px;place-items:center;margin:0 auto 18px;border-radius:8px;color:#52615a;background:#ffffffad;font-size:13px;font-weight:800}.ad-unit{display:block;width:100%}.site-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:1180px;margin:18px auto 0;color:#52615a;font-size:13px;font-weight:800}.site-footer a{color:inherit;text-decoration:none}.site-footer a:hover{color:#17231f;text-decoration:underline}@media(max-width:880px){.app-shell{padding:12px}.topbar,.hero-grid,.workspace{grid-template-columns:1fr}.topbar{align-items:stretch;flex-direction:column}.mode-switch,.mode-switch button{width:100%}.hero-grid{padding:22px}.signal-board{min-height:170px}.workspace{padding:12px}.setup-panel{order:2}.play-panel{min-height:460px;padding:14px}.empty-state h2,.phase-card h2{font-size:27px}}@media(max-width:520px){.hero-copy h1{font-size:36px}.hero-copy p{font-size:16px}.phase-card{padding:18px}.button-row{width:100%}}
