@font-face{font-family:Council Display;src:url('/assets/fonts/display.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Council Sans;src:url('/assets/fonts/body.woff2') format('woff2');font-weight:400 700;font-display:swap}
:root{color-scheme:dark;--bg:#242223;--surface:#2c292b;--ink:#f2e5cc;--muted:#bdb3a5;--faint:#8e877e;--line:#777067;--soft-line:#4c4844;--purple:#8d429f;--purple-bright:#d18cde;--ivory:#eddbb8;--red:#e08a86;--display:'Council Display','Arial Narrow',Impact,sans-serif;--body:'Council Sans',system-ui,sans-serif}
*{box-sizing:border-box}
html{min-width:320px;min-height:100%;background:var(--bg)}
body{margin:0;min-height:100svh;background:var(--bg) url('/assets/graphite.webp') repeat;background-size:420px;color:var(--ink);font:400 16px/1.5 var(--body)}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.4}
a{color:var(--ink);text-underline-offset:4px}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--purple-bright);outline-offset:5px}
button{touch-action:manipulation}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.08;letter-spacing:.035em}
h1,h2{text-transform:uppercase}
img{max-width:100%;display:block}
hr{border:0;border-top:1px solid var(--soft-line);margin:28px 0}
.icon{display:inline-block;width:22px;height:22px;flex:none;vertical-align:middle;background:currentColor;mask-image:var(--icon);mask-position:center;mask-size:contain;mask-repeat:no-repeat}
.button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:10px;padding:12px 23px;border:1px solid var(--ink);border-radius:8px;background:transparent;font-family:var(--display);font-size:22px;font-weight:700;letter-spacing:.045em;line-height:1.1;text-align:center;text-decoration:none;transition:background-color .16s,border-color .16s,transform .16s}
.button:hover:not(:disabled){background-color:#ffffff0a;transform:translateY(-1px)}
.button.primary{background:var(--purple);border-color:var(--purple-bright);color:#fff0df;box-shadow:inset 0 0 0 1px #ffffff0d}
.button.primary:hover:not(:disabled){background:#a353b5}
.button.secondary{background:#242223a6}
.text-button,.quiet-button,.icon-button,.back-button{background:none;border:0;color:var(--ink);padding:0}
.text-button{min-height:36px;display:inline-flex;gap:7px;align-items:center;text-underline-offset:4px;font-size:14px}
.text-button:hover{text-decoration:underline}
.quiet-button{display:inline-flex;gap:8px;align-items:center;min-height:40px;border:1px solid var(--line);border-radius:5px;padding:7px 12px;font-family:var(--display);font-size:18px;letter-spacing:.045em;text-transform:uppercase}
.quiet-button:hover,.icon-button:hover{background:#ffffff09}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border-radius:5px}
.eyebrow,.field-label{font-family:var(--display);font-size:15px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}
.centred{text-align:center}
.skip-link{position:fixed;top:0;left:12px;transform:translateY(-110%);z-index:50;background:var(--ivory);color:var(--bg);padding:10px 16px}
.skip-link:focus{transform:none}
#main:focus{outline:none}
.mast-inner{width:min(100% - 64px,1536px);margin:auto;min-height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-family:var(--display);font-weight:700;font-size:45px;letter-spacing:.075em;line-height:1;display:flex;align-items:center;gap:24px;padding:0;border:0;background:none;color:var(--ink)}
.brand span{font-size:25px;letter-spacing:.11em;border-left:1px solid var(--line);padding-left:24px;white-space:nowrap}
.mast-actions{display:flex;align-items:center;gap:14px}
.player-count{font:700 18px/1 var(--display);letter-spacing:.04em;white-space:nowrap}
.connection{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:12px}
.connection .icon{width:16px;height:16px}
.connection.offline{color:var(--red)}
.header-money{display:none}
.money{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font:700 24px/1 var(--display)}
.money .icon{width:25px;height:25px;color:#e0b979}
.welcome{width:min(100% - 96px,1300px);margin:0 auto;min-height:calc(100svh - 150px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding:65px 0 78px}
.welcome h1{font-size:clamp(56px,6.8vw,92px);line-height:.98;letter-spacing:.015em;margin:20px 0 26px}
.welcome-description{font-size:17px;color:var(--muted);line-height:1.75;max-width:485px}
.entry-form{max-width:405px;margin-top:32px;display:flex;flex-direction:column;gap:9px}
.entry-form label{font:700 15px/1.4 var(--display);letter-spacing:.11em;margin-top:8px}
input{width:100%;height:52px;padding:12px 15px;background:#1d1b1c99;border:1px solid var(--line);border-radius:5px;font-size:16px}
input::placeholder{color:#9f9689;opacity:1}
.entry-form .button{margin-top:12px;width:100%}
.entry-switch{margin-top:14px;color:var(--ink)}
.entry-note{display:flex;align-items:center;gap:8px;color:var(--faint);font-size:13px;margin-top:24px}
.entry-note .icon{width:15px;height:15px}
.resume-row{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:20px;color:var(--muted)}
.resume-row>.icon{width:16px;height:16px}
.resume-row button{font-size:13px;color:var(--ink)}
.welcome-art{position:relative;height:565px;display:flex;align-items:center;justify-content:center;padding-bottom:25px}
.hero-card{position:absolute;width:clamp(170px,16.6vw,224px);border-radius:14px;box-shadow:0 18px 45px #0005}
.hero-left{transform:translate(-120px,-27px) rotate(-15deg);z-index:1}
.hero-right{transform:translate(124px,-27px) rotate(15deg);z-index:2}
.hero-centre{transform:translateY(36px) rotate(-2deg);z-index:3}
.welcome-art>p{position:absolute;bottom:-10px;left:0;right:0;text-align:center;font:700 16px/1.55 var(--display);letter-spacing:.15em;color:var(--muted)}
.site-footer{width:min(100% - 64px,1536px);min-height:70px;border-top:1px solid var(--soft-line);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;color:var(--faint);font:700 13px/1.4 var(--display);letter-spacing:.06em}
.lobby-page{width:min(100% - 64px,1080px);margin:0 auto;padding:48px 0}
.lobby-heading{text-align:center}
.lobby-heading h1{font-size:52px;margin:14px 0}
.lobby-heading>p:last-child{color:var(--muted)}
.invite-strip{margin:32px auto;max-width:610px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.invite-strip .eyebrow{display:block;font-size:12px}
.room-code{display:block;font:700 32px/1.3 var(--display);letter-spacing:.15em}
.invite-strip .button{font-size:19px}
.lobby-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lobby-seat{min-height:86px;display:flex;align-items:center;gap:10px;padding:14px 10px;border-bottom:1px solid var(--line)}
.lobby-seat.my-seat{border-bottom:2px solid var(--ivory);background:#f2e5cc05}
.avatar{display:inline-flex;flex:none;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;width:33px;height:36px;font:700 23px/1 var(--display);color:var(--ivory)}
.lobby-seat>div{min-width:0;flex:1}
.lobby-seat strong{display:block;overflow-wrap:anywhere;font:700 19px/1.2 var(--display);text-transform:uppercase}
.lobby-seat div>span{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.lobby-seat .icon-button{min-width:24px;min-height:30px}
.seat-check{color:var(--purple-bright);width:16px;height:16px}
.empty-seat{color:var(--faint);font-size:13px;gap:9px}
.empty-seat>.icon{width:25px;height:25px}
.lobby-start{display:flex;flex-direction:column;align-items:center;gap:12px;margin:34px 0 42px;text-align:center}
.lobby-start>p{color:var(--muted);font-size:15px}
.lobby-start .button{min-width:300px}
.lobby-start>span{font-size:13px;color:var(--faint)}
.waiting-note{font-style:italic}
.role-preview{max-width:590px;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:0 auto}
.role-preview img{border-radius:7px;box-shadow:0 4px 10px #0003}
.role-preview span{display:block;text-align:center;margin-top:9px;font:700 15px/1.2 var(--display);text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.game-page{width:min(100% - 64px,1536px);margin:auto;padding-top:28px}
.council{display:flex;flex-direction:column;gap:0}
.opponent-row{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));padding:0 0 23px}
.bottom-row{padding:24px 0 0}
.station{position:relative;min-width:0;text-align:center;border-right:1px solid var(--line);padding:10px 18px 0}
.station:last-child{border-right:0}
.station-heading{display:flex;align-items:center;gap:9px;text-align:left;min-height:38px}
.station-heading h2{flex:1;min-width:0;font-size:25px;overflow-wrap:anywhere;letter-spacing:.015em;line-height:1.1}
.station-heading .avatar{width:30px;height:34px;font-size:22px}
.station-heading .money{font-size:23px}
.station-heading .money .icon{width:23px;height:23px}
.station-status{height:22px;text-align:left;padding-left:39px;font:700 13px/1.6 var(--display);letter-spacing:.08em;color:var(--muted)}
.station.acting:before{content:'';position:absolute;top:0;left:15px;right:15px;height:3px;background:var(--purple-bright)}
.station.self:before{content:'';position:absolute;top:0;left:15px;right:15px;height:3px;background:var(--ivory)}
.station.acting .station-status{color:var(--purple-bright)}
.station.eliminated{opacity:.58}
.you-label{white-space:nowrap}
.influence{display:flex;justify-content:center;align-items:flex-start;gap:8px;margin:6px auto 0;min-height:170px}
.influence-card{display:block;position:relative;min-width:0;padding:0;border:0;border-radius:8px;background:transparent;overflow:hidden;flex:none}
.influence-card img{width:105px;aspect-ratio:3/5;object-fit:fill;border-radius:8px}
.self .influence-card img{width:116px}
.influence-card.lost img{filter:saturate(.28);opacity:.8}
.lost-ribbon{position:absolute;left:-7%;right:-7%;bottom:19%;padding:3px 0;transform:rotate(-12deg);display:flex;align-items:center;justify-content:center;gap:4px;background:#242223e8;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);font:700 17px/1 var(--display);letter-spacing:.08em;color:var(--ink)}
.lost-ribbon .icon{width:13px;height:13px}
.privacy-caption{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:9px;line-height:1.3}
.privacy-caption>.icon{width:12px;height:12px}
.privacy-caption .text-button{font-size:12px;min-height:26px;margin-left:6px;gap:4px}
.privacy-caption .text-button .icon{width:16px;height:16px}
.turn-stage{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 5px;min-height:156px;border-block:1px solid var(--line)}
.stage-copy{display:flex;align-items:center;gap:20px;flex:1;min-width:0}
.stage-glyph{width:56px;height:56px;color:var(--purple-bright)}
.stage-copy h1{font-size:34px;letter-spacing:.025em;overflow-wrap:anywhere}
.stage-copy .eyebrow{font-size:14px;display:block;margin-bottom:6px}
.stage-copy p{color:var(--muted);font-size:15px;line-height:1.4;margin-top:7px;max-width:580px}
.court-deck{display:flex;align-items:center;gap:14px;padding:0 20px;border-left:1px solid var(--line);white-space:nowrap}
.court-deck img{width:47px;aspect-ratio:3/5;border-radius:5px;box-shadow:-3px 3px 0 #7b7364,-6px 6px 0 #5a544c}
.court-deck>span{font:700 19px/1.3 var(--display);letter-spacing:.025em}
.court-deck small{display:block;font:400 12px/1.4 var(--body);color:var(--muted);margin-top:5px}
.stage-controls{display:flex;align-items:center;gap:10px;max-width:260px}
.stage-controls .button{min-width:180px}
.stage-controls>p{font-size:14px;color:var(--muted)}
.table-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;border-top:1px solid var(--soft-line);padding:14px 0;color:var(--faint);font:700 13px/1.3 var(--display);letter-spacing:.05em}
.table-footer .text-button{color:var(--muted)}
.table-footer .icon{width:16px;height:16px}
.footer-divider{padding:0 12px;color:var(--soft-line)}
.mobile-turnbar,.mobile-actionbar{display:none}
.spectator-note{font-size:14px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}
.notice{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);z-index:100;max-width:min(92vw,550px);padding:13px 20px;border:1px solid var(--purple-bright);border-radius:8px;background:#29242d;color:var(--ink);box-shadow:0 8px 30px #0005;opacity:0;pointer-events:none;transition:transform .18s,opacity .18s;font-size:14px;text-align:center}
.notice.visible{opacity:1;transform:translate(-50%,0)}
.sheet{border:1px solid var(--line);border-radius:12px;background:var(--bg) url('/assets/graphite.webp') repeat;background-size:420px;color:var(--ink);padding:0;width:min(620px,calc(100% - 32px));max-height:calc(100svh - 40px);overscroll-behavior:contain;box-shadow:0 24px 100px #0009}
.sheet::backdrop{background:#100e13c9;backdrop-filter:blur(3px)}
.sheet-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3;background:var(--bg) url('/assets/graphite.webp');background-size:420px}
.sheet-toolbar>span{font:700 17px/1 var(--display);letter-spacing:.09em;display:flex;gap:8px;align-items:center}
.sheet-toolbar>span>.icon{width:16px;height:16px;color:var(--muted)}
.sheet-body{padding:22px 28px 28px}
.sheet h2{font-size:37px;letter-spacing:.04em;text-align:center;margin:6px 0 14px}
.sheet h3{text-transform:uppercase;font-size:23px}
.sheet-body>p{color:var(--muted);font-size:15px;line-height:1.5;margin-bottom:18px}
.sheet-body>.eyebrow{text-align:center;font-size:14px;letter-spacing:.12em;margin-bottom:10px}
.sheet-subtitle{text-align:center;font-style:italic}
.sheet .button{width:100%;margin-top:12px}
.sheet input{margin:10px 0}
.sheet .field-label{display:block;margin-top:22px}
.sheet-bottom{margin-top:23px}
.action-group{display:flex;align-items:center;gap:16px;margin:26px 0 8px;font-size:22px!important;letter-spacing:.06em}
.action-group:after{content:'';height:1px;background:var(--line);flex:1}
.action-list{display:flex;flex-direction:column}
.action-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:14px 0;background:transparent;min-height:74px;color:var(--ink)}
.action-row>.icon:first-child{width:32px;height:32px;color:var(--ivory)}
.action-row[data-action=tax]>.icon:first-child{color:#d384cf}
.action-row[data-action=steal]>.icon:first-child{color:#86c6d8}
.action-row[data-action=exchange]>.icon:first-child{color:#e9c966}
.action-row>span:nth-child(2){flex:1;min-width:0}
.action-row strong,.target-row strong{display:block;font:700 23px/1.1 var(--display);text-transform:uppercase;letter-spacing:.03em}
.action-row small,.target-row small{display:block;font-size:13px;color:var(--muted);margin-top:5px;line-height:1.35}
.action-row>b{font:700 23px/1.1 var(--display);white-space:nowrap}
.action-row>.icon:last-child{width:17px;height:17px}
.action-row:hover:not(:disabled),.target-row:hover{background:#f2e5cc07}
.forced-note{color:var(--ivory)!important;border-left:3px solid var(--purple-bright);padding:12px;background:#8d429f15}
.back-button{display:flex;align-items:center;gap:8px;min-height:40px;font:700 20px/1 var(--display);letter-spacing:.05em;margin:0 0 16px}
.claim-title{display:flex;align-items:center;gap:16px;margin:20px 0}
.claim-title>.icon{width:43px;height:43px;color:var(--purple-bright)}
.claim-title h2,.claim-title h3{text-align:left;margin:0;font-size:30px;line-height:1.1;text-transform:uppercase}
.claim-title p{font-size:16px;color:var(--muted);font-style:italic;margin-top:5px;line-height:1.4}
.target-row{display:flex;align-items:center;gap:15px;width:100%;min-height:67px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);padding:11px 12px;color:var(--ink)}
.target-row>span:nth-child(2){flex:1}
.target-row>.icon{width:25px;height:25px}
.target-row.selected{background:#8d429f18;outline:2px solid var(--purple-bright);outline-offset:-2px;border-radius:8px;border-bottom-color:transparent}
.target-row.selected>.icon{color:var(--purple-bright)}
.cost-reminder{text-align:center;color:var(--muted);font-style:italic;font-size:14px;margin:20px 0 8px}
.decision-note{text-align:center;color:var(--muted);font-size:13px;line-height:1.5;margin-top:14px!important}
.private-hand{border-block:1px solid var(--line);padding:17px 0 13px;margin:20px 0;text-align:center}
.ruled-heading{display:flex;align-items:center;justify-content:center;gap:16px;font-size:24px!important;letter-spacing:.08em}
.ruled-heading:before,.ruled-heading:after{content:'';height:1px;flex:1;background:var(--line)}
.hand-owner{display:block;margin-top:5px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.hand-cards{display:flex;justify-content:center;gap:14px;margin-top:15px}
.hand-cards .influence-card img{width:135px}
.private-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px!important;color:var(--muted);font-style:italic;margin:10px 0 0!important}
.private-note .icon{width:13px;height:13px}
.claimant-cards{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px auto 10px}
.claimant-cards img{width:52px;aspect-ratio:3/5;border-radius:5px}
.claimant-cards .avatar{margin-right:12px;width:36px;height:40px}
.risk-copy{text-align:center;font-size:14px;line-height:1.5;margin:20px 0;color:var(--muted)}
.risk-copy p+p{margin-top:7px}
.risk-emphasis{color:var(--red)}
.response-explanation{text-align:center}
.phase-label{text-align:center;font-family:var(--display);letter-spacing:.065em;font-size:16px!important}
.decision-buttons .button:first-child{margin-top:0}
.choice-cards,.exchange-cards{display:flex;justify-content:center;gap:16px;margin:28px 0}
.choice-card{max-width:190px;flex:1;min-width:0;padding:0;border:1px solid transparent;background:transparent;border-radius:9px;color:var(--ink);overflow:hidden}
.choice-card img{width:100%;aspect-ratio:3/5}
.choice-card>span{min-height:37px;display:flex;align-items:center;justify-content:center;gap:5px;font:700 17px/1.2 var(--display);padding:9px 4px;letter-spacing:.03em}
.choice-card.selected{outline:3px solid var(--purple-bright);outline-offset:3px}
.choice-card.selected>span{color:var(--purple-bright)}
.choice-card .icon{width:17px;height:17px}
.exchange-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px;margin:24px auto;gap:18px}
.exchange-cards .choice-card{max-width:none}
.rule-intro{display:flex;flex-direction:column;gap:13px;margin:24px 0;color:var(--muted);font-size:15px}
.rules-actions{border-top:1px solid var(--line)}
.rules-actions>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;column-gap:10px;border-bottom:1px solid var(--soft-line);padding:12px 0}
.rules-actions strong,.rules-actions span:not(.icon){font:700 22px/1.2 var(--display);text-transform:uppercase}
.rules-actions small{grid-column:2/4;color:var(--muted);font-size:13px;margin-top:4px}
.rules-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px;margin:27px 0}
.rules-roles strong{display:block;margin:9px 0 4px;font:700 21px/1.2 var(--display);text-transform:uppercase}
.rules-roles span{font-size:12px;line-height:1.35;color:var(--muted);display:block}
.rules-roles img{border-radius:7px}
.credits{text-align:center;color:var(--faint)!important;font-size:12px!important;border-top:1px solid var(--soft-line);padding-top:20px;margin-top:22px}
.credits a{display:inline-block;margin-top:10px}
.settings-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--soft-line)}
.settings-list{margin:24px 0}
.settings-list strong{overflow-wrap:anywhere}
.story-list{list-style:none;padding:0;margin:24px 0}
.story-list li{border-bottom:1px solid var(--soft-line);padding:14px 0}
.story-list li>span{font:700 13px/1.2 var(--display);color:var(--faint);letter-spacing:.06em}
.story-list p{font-size:15px;margin-top:6px;color:var(--muted)}
.inspected-card{max-width:260px;width:100%;border-radius:10px;margin:20px auto}
.sheet-inspect .sheet-body>p{text-align:center}
.busy [data-commit]{cursor:wait}
@media(min-width:1600px){.influence-card img{width:118px}.self .influence-card img{width:132px}.game-page{padding-top:38px}.turn-stage{min-height:180px}.station{padding-inline:24px}}
@media(max-width:1200px){.brand span{font-size:20px}.mast-actions{gap:10px}.connection span{display:none}.welcome{gap:24px;width:calc(100% - 64px)}.welcome-art{height:480px}.hero-card{width:180px}.hero-left{transform:translate(-90px,-25px) rotate(-15deg)}.hero-right{transform:translate(90px,-25px) rotate(15deg)}.hero-centre{transform:translateY(30px) rotate(-2deg)}.station{padding-inline:12px}.station-heading .avatar{display:none}.station-heading h2{font-size:23px}.station-heading .money{font-size:21px}.station-status{padding-left:0}.influence-card img{width:83px}.self .influence-card img{width:93px}.influence{min-height:140px}.stage-copy h1{font-size:28px}.stage-copy{gap:13px}.stage-glyph{width:38px;height:38px}.court-deck{padding-inline:16px}.court-deck>span{font-size:17px}.court-deck img{width:36px}.stage-controls .button{min-width:145px;font-size:20px}.turn-stage{gap:15px}.lobby-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.lobby-seat{padding-inline:5px;gap:7px}.lobby-seat>.avatar{width:27px;height:32px}}
@media(max-width:900px) and (min-width:701px){.brand span{display:none}.station-heading{gap:5px}.station-heading h2{font-size:20px}.station-heading .money{font-size:20px;gap:3px}.station-heading .money .icon{width:18px;height:18px}.influence-card img{width:65px}.self .influence-card img{width:72px}.station{padding-inline:8px}.influence{gap:5px;min-height:110px}.court-deck small{display:none}.court-deck img{display:none}.stage-glyph{display:none}.stage-controls .button{min-width:125px;font-size:18px;padding-inline:14px}.stage-copy h1{font-size:24px}.privacy-caption{font-size:11px}.lobby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .mast-inner{width:calc(100% - 32px);min-height:58px;gap:10px}.brand{font-size:32px;letter-spacing:.06em}.brand span{display:none}.mast-actions{gap:5px}.player-count{font-size:14px;margin-right:4px}.connection{display:none}.quiet-button{min-width:34px;padding:7px;min-height:36px;border:0}.quiet-button span:not(.icon){display:none}.icon-button{min-width:34px;min-height:36px}.quiet-button .icon,.icon-button .icon{width:21px;height:21px}.mast-actions .invite-button{display:none}.header-money{display:none}
  .welcome{width:calc(100% - 40px);display:flex;flex-direction:column;gap:26px;padding:35px 0 32px;min-height:0}.welcome-copy{width:100%}.welcome .eyebrow{font-size:12px;letter-spacing:.11em}.welcome h1{font-size:58px;margin:17px 0 20px}.welcome-description{font-size:15px;line-height:1.6}.desktop-only{display:none}.entry-form{margin-top:22px;max-width:none}.entry-form .button{font-size:21px}.entry-switch{font-size:14px;margin-top:12px;justify-content:center;width:100%}.entry-note{margin-top:18px;justify-content:center;font-size:12px}.resume-row{justify-content:center;flex-wrap:wrap}.welcome-art{width:100%;height:310px;margin-top:18px;padding-bottom:18px}.hero-card{width:132px;border-radius:8px}.hero-left{transform:translate(-77px,-30px) rotate(-15deg)}.hero-right{transform:translate(77px,-30px) rotate(15deg)}.hero-centre{transform:translateY(8px) rotate(-2deg)}.welcome-art>p{font-size:12px;bottom:-5px}.site-footer{width:calc(100% - 32px);font-size:11px;gap:10px;padding:13px 0;flex-wrap:wrap;justify-content:center;min-height:65px}.site-footer>.text-button{font-size:12px}.site-footer>span:last-child{display:none}
  .lobby-page{width:calc(100% - 32px);padding:29px 0}.lobby-heading h1{font-size:38px;margin:12px 0}.lobby-heading p:last-child{font-size:14px}.lobby-heading .eyebrow{font-size:12px}.invite-strip{margin:25px 0;padding:15px 0;gap:10px}.room-code{font-size:27px}.invite-strip .button{font-size:17px;padding:10px 13px;min-height:46px}.invite-strip .eyebrow{font-size:11px}.lobby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.lobby-seat{min-height:74px;padding:12px 2px;gap:8px}.lobby-seat>.avatar{width:27px;height:31px;font-size:20px}.lobby-seat strong{font-size:19px}.lobby-seat div>span{font-size:11px}.empty-seat{font-size:12px}.lobby-start{margin:27px 0 32px;gap:10px}.lobby-start>p{font-size:14px}.lobby-start .button{min-width:0;width:100%}.role-preview{gap:8px}.role-preview img{border-radius:4px}.role-preview span{font-size:11px;margin-top:7px}
  .game-page{width:calc(100% - 32px);padding-top:0;padding-bottom:22px}.mobile-turnbar{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.mobile-turnbar>.icon{width:26px;height:26px}.mobile-turnbar>strong{flex:1;font:700 27px/1.05 var(--display);text-transform:uppercase;overflow-wrap:anywhere}.mobile-turnbar .money{font-size:27px}.mobile-turnbar .money .icon{width:27px;height:27px}.council{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.opponent-row{display:contents}.station{order:0;padding:7px 7px 9px;border-right:1px solid var(--soft-line);border-bottom:1px solid var(--line);min-height:90px}.station:last-child{border-right:1px solid var(--soft-line)}.station-heading{min-height:18px;gap:4px}.station-heading .avatar{display:none}.station-heading h2{font-size:17px;line-height:1.05;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.station-heading .money{font-size:17px;gap:3px}.station-heading .money .icon{width:16px;height:16px}.station-status{height:13px;font-size:10px;line-height:1.1;padding:1px 0 0}.influence{gap:5px;min-height:0;margin-top:3px}.influence-card img{width:29px;border-radius:3px}.influence-card{border-radius:3px}.lost-ribbon{font-size:8px;padding:1px 0;gap:1px;bottom:15%}.lost-ribbon .icon{width:7px;height:7px}.station.acting:before,.station.self:before{left:6px;right:6px;height:2px}.station.self{grid-column:1/-1;order:3;min-height:0;margin-top:16px;border:0;padding:13px 0 0}.self:before{left:0!important;right:0!important}.self .station-heading{justify-content:center}.self .station-heading .avatar{display:none}.self .station-heading h2{flex:none;font-size:22px;letter-spacing:.035em;max-width:70%}.self .station-heading .money{font-size:22px;margin-left:8px}.self .station-heading .money .icon{width:22px;height:22px}.self .station-status{height:13px;text-align:center;font-size:11px}.self .influence{margin-top:8px;gap:12px}.self .influence-card img{width:122px;border-radius:7px}.self .influence-card{border-radius:7px}.self .lost-ribbon{font-size:18px;gap:4px;padding:4px 0}.self .lost-ribbon .icon{width:13px;height:13px}.privacy-caption{margin-top:9px;font-size:12px;gap:5px;flex-wrap:nowrap}.privacy-caption .text-button{font-size:12px;margin-left:12px;min-height:30px}.privacy-caption .text-button .icon{width:16px;height:16px}.turn-stage{grid-column:1/-1;order:2;flex-wrap:wrap;justify-content:center;min-height:0;gap:15px;padding:18px 0;border-top:0}.stage-copy{flex-basis:100%;gap:12px;justify-content:center}.stage-copy h1{font-size:25px}.stage-copy p{font-size:14px;line-height:1.4;margin-top:6px}.stage-copy .stage-glyph{width:32px;height:32px}.stage-copy .eyebrow{font-size:12px}.court-deck{padding:0;border:0;gap:10px}.court-deck img{width:27px;border-radius:3px;box-shadow:-2px 2px 0 #7b7364,-4px 4px 0 #5a544c}.court-deck>span{font-size:18px}.court-deck small{display:none}.stage-controls{display:none}.is-my-turn .turn-stage{padding:13px 0}.is-my-turn .stage-copy{display:none}.mobile-actionbar{display:block;position:sticky;bottom:0;z-index:2;background:var(--bg) url('/assets/graphite.webp');background-size:420px;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:13px;border-top:1px solid var(--line)}.mobile-actionbar .button{width:100%;min-height:52px;font-size:25px}.mobile-actionbar>p{font-size:13px;text-align:center;color:var(--muted);margin-bottom:10px;font-style:italic}.table-footer{font-size:11px;gap:10px;padding:12px 0;margin-top:16px}.table-footer>span:last-child{display:none}.table-footer .text-button{font-size:12px}.table-footer .icon{width:15px;height:15px}.spectator-note{font-size:13px;margin-bottom:8px;padding:5px 0 11px}
  .sheet{width:100%;max-width:none;max-height:100svh;height:auto;margin:auto 0 0;border-radius:14px 14px 0 0;border-inline:0;border-bottom:0;box-shadow:0 -12px 50px #0006}.sheet::backdrop{backdrop-filter:blur(2px)}.sheet-toolbar{padding:8px 16px;min-height:47px}.sheet-toolbar>span{font-size:15px;letter-spacing:.075em}.sheet-toolbar>.icon-button{min-width:36px;min-height:34px}.sheet-body{padding:18px 16px 22px}.sheet h2{font-size:31px;line-height:1.05;margin:3px 0 12px;letter-spacing:.025em}.sheet-body>p{font-size:14px;margin-bottom:14px}.sheet-body>.eyebrow{font-size:12px;letter-spacing:.09em;margin-bottom:10px}.sheet-subtitle{font-size:14px;line-height:1.4}.sheet .button{font-size:22px;padding-inline:10px;min-height:49px}.action-group{font-size:21px!important;margin:22px 0 5px}.action-row{gap:11px;min-height:64px;padding:11px 0}.action-row>.icon:first-child{width:27px;height:27px}.action-row strong{font-size:21px}.action-row small{font-size:12px;margin-top:4px;line-height:1.3}.action-row>b{font-size:21px}.action-row>.icon:last-child{width:14px;height:14px}.sheet-bottom{margin-top:22px}.target-row{gap:12px;min-height:57px;padding:9px 10px}.target-row strong{font-size:22px}.target-row small{font-size:12px;margin-top:3px}.target-row>.icon{width:23px;height:23px}.target-row .money{font-size:23px}.target-row .money .icon{width:23px;height:23px}.claim-title{gap:13px;margin:17px 0}.claim-title>.icon{width:35px;height:35px}.claim-title h2,.claim-title h3{font-size:27px}.claim-title p{font-size:14px;line-height:1.4}.back-button{font-size:19px;margin-bottom:15px}.cost-reminder{font-size:13px;line-height:1.4;margin:18px 0 7px}.decision-note{font-size:12px!important;line-height:1.45;margin-top:12px!important}.private-hand{padding:14px 0 10px;margin:15px 0}.ruled-heading{font-size:23px!important;gap:12px}.hand-owner{font-size:12px;margin-top:5px}.hand-cards{gap:12px;margin-top:12px}.hand-cards .influence-card img{width:108px;border-radius:7px}.hand-cards .influence-card{border-radius:7px}.private-note{font-size:12px!important;margin-top:8px!important}.claimant-cards{margin:15px auto 8px;gap:9px}.claimant-cards img{width:39px;border-radius:4px}.claimant-cards .avatar{width:30px;height:34px;margin-right:9px;font-size:22px}.risk-copy{font-size:13px;line-height:1.45;margin:14px 0}.risk-copy p+p{margin-top:6px}.phase-label{font-size:15px!important;line-height:1.35}.choice-cards{gap:13px;margin:22px 0}.choice-card>span{font-size:15px;min-height:36px}.choice-card{max-width:150px}.exchange-cards{gap:15px;margin:23px auto;max-width:320px}.exchange-cards .choice-card{max-width:none}.rule-intro{font-size:14px;gap:12px}.rules-actions strong,.rules-actions span:not(.icon){font-size:20px}.rules-actions small{font-size:12px}.rules-roles{gap:20px 11px;grid-template-columns:repeat(3,minmax(0,1fr))}.rules-roles strong{font-size:18px}.rules-roles span{font-size:11px}.credits{font-size:11px!important}.inspected-card{max-width:235px}.notice{bottom:18px;padding:12px 15px;font-size:13px;width:max-content;max-width:calc(100% - 32px)}
}
@media(max-width:360px){.welcome h1{font-size:52px}.mast-inner{width:calc(100% - 24px)}.game-page{width:calc(100% - 24px)}.brand{font-size:29px}.mast-actions{gap:2px}.player-count{font-size:12px}.station{padding-inline:4px}.station-heading h2{font-size:15px}.station-heading .money{font-size:15px}.station-heading .money .icon{width:14px;height:14px}.self .influence-card img{width:112px}.action-row{gap:8px}.action-row strong{font-size:20px}.action-row small{font-size:11px}.action-row>b{font-size:19px}.action-row>.icon:first-child{width:23px;height:23px}.hand-cards .influence-card img{width:99px}}
.sheet-toolbar .sheet-brand{font:700 28px/1 var(--display);letter-spacing:.06em}
.sheet-toolbar .sheet-context{margin-left:auto;gap:16px;font-size:14px;letter-spacing:.04em}
.sheet-context .money{font-size:22px}
.sheet-context .money .icon{width:22px;height:22px}
.target-row>span:nth-child(2){min-width:0}
.target-row strong{overflow-wrap:anywhere}
.viewer-wallet{display:flex;align-items:center;gap:6px;white-space:nowrap}
.viewer-wallet small{font:700 11px/1 var(--display);color:var(--muted)}
.hand-header{display:flex;align-items:center;gap:12px}
.hand-header .ruled-heading{flex:1}
.hand-header .text-button{min-height:36px;gap:5px;font-size:13px}
.hand-header .text-button .icon{width:17px;height:17px}
.avatar{position:relative;border:0}
.avatar:before{content:'';position:absolute;inset:0;background:var(--ivory);mask:url('/assets/icons/hexagon.svg') center/contain no-repeat;pointer-events:none}
@media(min-width:1100px){
  .brand{font-size:48px}
  .brand span{font-size:28px}
  .station-heading{min-height:42px;gap:11px}
  .station-heading .avatar{width:38px;height:42px;font-size:26px}
  .station-heading h2{font-size:29px;letter-spacing:.025em}
  .station-heading .money{font-size:27px}
  .station-heading .money .icon{width:27px;height:27px}
  .station-status{padding-left:49px;font-size:14px}
  .self .influence-card img{width:clamp(118px,8.5vw,136px)}
  .turn-stage{min-height:204px;gap:24px}
  .stage-copy{gap:22px}
  .stage-glyph{width:65px;height:65px}
  .stage-copy h1{font-size:44px;letter-spacing:.035em}
  .stage-copy p{font-size:19px;max-width:640px}
  .stage-copy .eyebrow{font-size:17px;letter-spacing:.1em}
  .court-deck{padding-inline:25px;gap:17px}
  .court-deck img{width:57px}
  .court-deck>span{font-size:23px}
  .court-deck small{font-size:13px}
  .stage-controls .inline-responses .button{min-height:66px;font-size:30px;padding:14px 25px}
  .stage-controls .inline-responses .button:first-child{min-width:clamp(180px,15vw,252px)}
  .stage-controls .inline-responses .button:last-child{min-width:clamp(115px,10vw,168px)}
  .table-footer{margin-top:8px;padding-block:5px}
  .table-footer .text-button{min-height:25px}
}
.stage-controls.has-inline{max-width:none}
.inline-responses{display:flex;align-items:center;gap:12px}
.stage-controls .inline-responses .button{min-width:110px;padding-inline:22px}
.sheet-target[open]{display:flex;flex-direction:column;height:calc(100svh - 40px);overflow:hidden}
.sheet-target .sheet-toolbar{flex:none;position:static}
.sheet-target .sheet-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.sheet-target .back-button{flex:none;min-height:32px;margin-bottom:8px}
.sheet-target .claim-title{flex:none;margin:8px 0 12px}
.sheet-target .action-group{flex:none;margin:12px 0 8px}
.sheet-target .target-list{flex:1;min-height:90px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:2px}
.sheet-target .sheet-bottom{flex:none;margin-top:14px;border-top:1px solid var(--line);padding-top:4px}
.sheet-target .cost-reminder{margin:10px 0 7px}
.sheet-exchange[open]{display:flex;flex-direction:column;height:calc(100svh - 40px);overflow:hidden}
.sheet-exchange .sheet-toolbar{flex:none;position:static}
.sheet-exchange .sheet-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.sheet-exchange .exchange-cards{flex:1;min-height:100px;width:100%;grid-auto-rows:max-content;align-items:start;align-content:start;overflow:auto;overscroll-behavior:contain;padding:5px;margin-block:14px;scrollbar-width:thin}
.sheet-exchange .sheet-bottom{flex:none;margin-top:10px;padding-top:6px;border-top:1px solid var(--line)}
@media(max-width:700px){
  .sheet-target[open]{height:100svh;max-height:100svh}
  .sheet-exchange[open]{height:100svh;max-height:100svh}
  .station{min-height:0;padding-block:6px 7px}
  .station-status{display:none}
  .station.acting .station-heading h2{color:var(--purple-bright)}
  .station.self .station-heading h2{color:var(--ink)}
  .self .influence-card img{width:108px}
  .self .influence{margin-top:10px}
  .station.self{margin-top:12px;padding-top:12px}
  .privacy-caption{margin-top:7px}
  .privacy-caption .text-button{min-height:25px}
  .is-my-turn .turn-stage{padding-block:10px}
  .court-deck img{width:20px}
  .table-footer{display:none}
  .mobile-actionbar{position:static;padding:8px 0 max(10px,env(safe-area-inset-bottom));margin-top:10px}
  .mobile-actionbar>p{margin-bottom:8px;line-height:1.3}
  .game-page{padding-bottom:9px}
  .sheet-toolbar .sheet-brand{font-size:28px}
  .sheet-toolbar .sheet-context{font-size:13px;gap:12px}
  .action-row small,.target-row small{font-size:14px}
  .cost-reminder{font-size:14px}
  .decision-note{font-size:14px!important}
  .sheet-response .risk-copy{font-size:14px}
  .privacy-caption .text-button{min-height:44px;min-width:48px}
  .mast-actions .icon-button,.mast-actions .quiet-button{min-width:40px;min-height:44px}
  .sheet-response h2{margin:0 0 10px}
  .sheet-response .claim-title{margin-block:12px}
  .sheet-response .claimant-cards{margin:10px auto 6px}
  .sheet-response .risk-copy{margin-block:10px}
  .sheet-response .private-hand{margin-block:12px}
  .sheet-response[open]{height:100svh;max-height:100svh}
  .sheet-response .hand-cards .influence-card img{width:94px}
  .sheet-response .private-hand{margin-block:9px;padding-block:10px 8px}
  .sheet-response .hand-cards{margin-top:8px}
  .sheet-response .private-note{margin-top:6px!important}
  .sheet-response .claimant-cards img{width:34px}
  .sheet-response .risk-copy{margin-block:8px;line-height:1.4}
  .sheet-response .decision-buttons{position:sticky;bottom:0;z-index:4;background:var(--bg) url('/assets/graphite.webp');background-size:420px;padding-block:5px}
}
@media(max-width:700px) and (max-height:800px){
  .self .influence-card img{width:84px}
  .station:not(.self){padding-block:4px}
  .station:not(.self) .influence-card img{width:23px}
  .mobile-turnbar{padding-block:10px;margin-bottom:8px}
  .turn-stage,.is-my-turn .turn-stage{padding-block:8px}
  .station.self{margin-top:8px;padding-top:9px}
  .privacy-caption{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
