:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202a30;background:#f8f6f1;font-synthesis:none;--line: #d6d5ce;--ink: #243744;--muted: #747d80;--gold: #bb8731;--paper: #fffdf8}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);border-radius:7px;padding:10px 16px;background:var(--paper);color:var(--ink);cursor:pointer;font-size:14px;font-weight:600;min-height:40px}button:hover{border-color:#9aa4a7;background:#f0f1ed}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--ink);border-color:var(--ink);color:#fff}button.primary:hover{background:#344f60}a{color:var(--ink);text-underline-offset:3px}:focus-visible{outline:3px solid #c29747;outline-offset:3px}input,select{border:1px solid #bac1c1;background:#fff;border-radius:6px;padding:10px 12px;color:var(--ink);min-height:42px}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1360px;margin:auto;padding:20px 30px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:19px;font-weight:750}.brand img{width:40px;height:40px}.brand-game{margin-left:18px;padding-left:18px;border-left:1px solid var(--line);font-weight:500}.site-header nav{display:flex;align-items:center;gap:16px;font-size:13px}.site-header nav button{padding:6px 10px;min-height:34px;border-color:transparent;background:none;font-size:13px}.site-header nav a{text-decoration:none}main{max-width:1360px;margin:auto;padding:24px 30px 40px}.intro{margin:30px 0}.intro h1{font-size:62px;margin:8px 0;font-weight:760;letter-spacing:-.05em}.intro p:last-child{font-size:20px;color:var(--muted);margin:14px 0}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;color:var(--muted);margin:0}.lobby{padding:26px 30px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}label{display:grid;gap:8px;font-size:13px;color:#69767c;max-width:300px}.lobby-options{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;margin-top:28px}.lobby-options>div+div{border-left:1px solid var(--line);padding-left:30px}.lobby h2{font-size:20px;margin:0 0 8px;letter-spacing:-.02em}.lobby p{font-size:14px;color:var(--muted);line-height:1.5}.lobby-options label{margin:10px 0}.code-input{letter-spacing:.12em;text-transform:uppercase}.resume{margin-top:24px;background:none;border:0;padding:0}.roles-preview{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:40px 0}.influence{width:146px;height:216px;position:relative;flex-shrink:0;display:flex;flex-direction:column;overflow:hidden;text-align:center;background:#fffdf6;border:1px solid #b6b8ad;border-radius:9px;box-shadow:0 3px 7px #24374418;color:var(--ink);padding:0}.influence .role-title{background:var(--tint, #4c587c);color:#fff;padding:10px 7px;font-size:15px;line-height:1.2;font-weight:700;display:flex;gap:6px;align-items:center;justify-content:center}.role-0{--tint: #665579}.role-1{--tint: #9a4a4d}.role-2{--tint: #426d8c}.role-3{--tint: #528068}.role-4{--tint: #9c7955}.portrait{flex:1;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#fffdf8,#ede7d4)}.portrait svg{width:92px;height:135px;filter:saturate(.65)}.influence small{font-size:10px;padding:7px 9px;background:#f1eddf;line-height:1.4;min-height:39px}.card-back{background:#203a4b;border:4px solid #bda46a;box-shadow:inset 0 0 0 2px #4d6170,0 3px 7px #24374418;justify-content:center;align-items:center;gap:14px;padding:8px;color:#d9c797}.card-back img{width:62%;height:auto}.card-back span{font-size:10px;letter-spacing:.12em}.influence.small{width:76px;height:112px;border-radius:6px}.influence.small .role-title{font-size:9px;padding:5px;gap:2px}.influence.small .portrait svg{width:43px;height:61px}.influence.small small{display:none}.influence.small.card-back{border-width:3px;gap:8px}.influence.small.card-back span{font-size:5px}.lost{opacity:.6;filter:grayscale(.65);animation:reveal-in .4s ease-out}.lost-stamp{position:absolute;top:45%;left:4%;width:92%;transform:rotate(-18deg);border:1px solid #9e5848;color:#9e5848;font-size:15px;font-weight:700;letter-spacing:.08em;background:#fffaf4b0}.small .lost-stamp{font-size:8px}.influence.selected{outline:3px solid #bb8731;transform:translateY(-9px);box-shadow:0 8px 14px #24374420}.table-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}.table-heading h1{font-size:28px;margin:0;letter-spacing:-.025em}.connection{font-size:12px;color:var(--muted);margin:5px 0 0}.room-code{display:flex;align-items:center;gap:16px;font-size:13px}.room-code b{letter-spacing:.1em}.room-code button{padding:7px 12px;min-height:34px;font-size:12px}.waiting-room{padding:30px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.waiting-room h2{margin:0;font-size:23px}.waiting-room p{font-size:14px;color:var(--muted)}.lobby-seats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:15px;margin:25px 0}.lobby-seats>div{padding:20px;border:1px solid var(--line);border-radius:8px;display:grid;gap:10px;justify-items:start}.lobby-seats img{width:40px;height:40px}.lobby-seats small{color:var(--muted);font-size:12px}.waiting-actions{display:flex;gap:10px}.opponents{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:18px}.player{min-width:0;padding:12px;border:1px solid transparent;border-radius:9px;background:#f0f0e9;transition:border-color .2s,background .2s}.player-heading,.your-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.player h2{font-size:14px;margin:0;overflow-wrap:anywhere}.player p{font-size:11px;color:var(--muted);margin:10px 0 0}.player-cards{display:flex;justify-content:center;gap:7px;margin-top:14px}.player.deciding{border-color:#bda46a;background:#f4efdf}.player.eliminated{background:transparent}.player.targetable{outline:2px solid #b7714b;cursor:pointer}.coins{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:700}.coins i{width:16px;height:16px;display:inline-block;border:2px solid #b89443;background:#dbc16e;border-radius:50%;box-shadow:inset 0 0 0 1px #efdda5}.court{min-height:235px;padding:24px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #d2d9d7;background:#e7edeb;border-radius:14px;gap:14px}.court-heading h2{font-size:18px;line-height:1.4;margin:8px 0 0;font-weight:600}.court-mark{width:60px;height:60px;opacity:.3}.pending-action{display:flex;gap:12px;align-items:center;background:var(--paper);border:1px solid #c6ceca;border-radius:9px;padding:14px 22px;font-size:15px;box-shadow:0 2px 4px #203a4b0a;animation:action-in .28s ease-out}.action-symbol{font-size:28px;color:#6f7180}.last-move{font-size:12px;color:#687c77;margin:0;line-height:1.5}.your-seat{padding:22px 0 0}.your-heading{max-width:600px;margin:0 auto 18px}.your-heading h2{font-size:16px;margin:0}.your-heading h2 span{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.your-cards{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;padding-top:8px}.decision-actions{max-width:1080px;margin:20px auto 0;text-align:center}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.action-grid button{display:grid;gap:5px;padding:13px 8px}.action-grid small{font-size:10px;color:var(--muted);font-weight:400;line-height:1.4}.targets,.responses{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.responses button.challenge{border-color:#a95f48;color:#9e4f3c;background:#fff5ee}.decision-actions p,.choice-help{font-size:13px;color:var(--muted);text-align:center;line-height:1.5}.game-log{margin:28px 0 10px;font-size:12px;color:var(--muted)}.game-log summary{cursor:pointer}.game-log ol{max-height:250px;overflow:auto;line-height:1.8}.concede{border:0;background:none;font-size:11px;padding:5px 0;color:#927367}.error{border-left:3px solid #a75443;background:#f8eae2;color:#8e3e31;padding:12px 16px;font-size:14px;margin:0 0 20px}footer{font-size:11px;color:var(--muted);margin-top:30px}footer a{color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:#12242f70;display:grid;place-items:center;padding:24px;z-index:100}.rules{width:min(640px,100%);max-height:90vh;overflow:auto;background:var(--paper);border-radius:14px;padding:24px}.rules>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.rules h2{margin:0;font-size:23px}.rules p,.rules li{font-size:14px;line-height:1.65}.rules li{margin-bottom:12px}@keyframes action-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes reveal-in{0%{transform:rotateY(75deg);opacity:0}to{transform:none;opacity:.6}}@media(max-width:750px){main{padding:18px 16px 30px}.site-header{padding:15px 16px;gap:12px}.brand{font-size:15px;gap:8px}.brand img{width:30px;height:30px}.brand-game{margin-left:10px;padding-left:10px}.site-header nav{gap:8px;font-size:11px}.site-header nav button{font-size:11px;padding:6px}.intro{margin:20px 0}.intro h1{font-size:48px}.intro p:last-child{font-size:17px}.lobby{padding:20px}.lobby-options{grid-template-columns:1fr;gap:22px}.lobby-options>div+div{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.roles-preview{gap:10px}.roles-preview .influence{width:120px;height:181px}.roles-preview .portrait svg{width:72px;height:107px}.roles-preview .role-title{font-size:13px}.table-heading{align-items:flex-start;gap:12px}.room-code{flex-direction:column;gap:7px;align-items:flex-end}.opponents{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.player{padding:8px}.player-heading h2{font-size:12px}.player-cards{gap:4px}.influence.small{width:58px;height:87px}.influence.small .portrait svg{width:34px;height:48px}.influence.small .role-title{font-size:7px}.court{padding:20px 12px;min-height:200px}.court-heading h2{font-size:16px}.pending-action{flex-wrap:wrap;justify-content:center;padding:12px;font-size:13px}.your-heading{max-width:330px}.your-cards .influence{width:130px;height:194px}.action-grid{grid-template-columns:repeat(2,1fr)}.waiting-room{padding:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
