/* One device: one visible task, readable controls and an explicit privacy curtain. */
/* The answer and board stay together until the player explicitly passes. */
.device-nav-spacer{width:36px;flex:none}
.local-device .device-one-line{font-size:14px;line-height:1.45;margin:0 0 12px}
.device-question-note{margin-top:12px;border:0;font-size:13px;color:var(--muted)}
.device-question-note summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.5}
.device-question-note input{margin:8px 0 0;width:100%}
.device-inline-answer{border:1px solid color-mix(in srgb,var(--green) 45%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--green) 7%,var(--input));padding:12px;margin:0 0 12px;color:var(--green)}
.device-inline-answer.negative{color:var(--red);border-color:color-mix(in srgb,var(--red) 45%,var(--line));background:color-mix(in srgb,var(--red) 7%,var(--input))}
.device-inline-answer strong{display:flex;gap:7px;align-items:center;font-size:19px}
.device-inline-answer p{margin:4px 0 0!important;font-size:14px!important;color:var(--ink);overflow-wrap:anywhere}
.device-pass-turn{width:100%;margin-top:12px;min-width:0;padding:10px 14px;font-size:15px}
.device-pass-turn .portrait-wrap{width:28px;height:30px;border-radius:7px;flex:none}
.device-pass-turn strong{overflow-wrap:anywhere;min-width:0}
.device-review{text-align:center;max-width:620px;margin:0 auto}
.device-review-character{display:flex;justify-content:center;align-items:center;gap:12px;margin:18px 0}
.device-review-character .portrait-wrap{width:66px;height:78px;border-radius:12px;flex:none}
.device-review-character strong{font-size:20px;overflow-wrap:anywhere}
.device-answer-label{display:inline-flex;align-items:center;gap:7px;font-size:26px;font-weight:900;color:var(--green)}
.device-review.negative .device-answer-label{color:var(--red)}
.device-current-question{padding:12px;border-radius:10px;background:var(--input);font-size:16px!important;font-weight:750;color:var(--ink)!important;overflow-wrap:anywhere}
@media(max-width:700px){.device-face-actions .panel{padding:16px}.local-device .device-one-line{font-size:14px}.device-inline-answer{padding:10px}.device-face-actions .device-verdict{min-height:47px;padding:9px;font-size:17px}.device-pass-turn{min-height:46px!important}.device-face-actions .device-history{margin-top:10px}.device-question-note summary{min-height:30px}}
.intui-ui .device-home-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.intui-ui .device-home-actions #homeCreate,.intui-ui .device-home-actions #homeLocal{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:30px auto minmax(0,1fr);align-items:start;align-content:start;justify-content:stretch;gap:7px;min-width:0;min-height:130px;padding:18px;text-align:left;border-radius:16px;line-height:1.3}
.intui-ui .device-home-actions #homeLocal{background:var(--input);color:var(--ink);border:1px solid var(--line);box-shadow:none}
.intui-ui .device-home-actions #homeLocal:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--input))}
.device-home-glyph{display:grid;place-items:center;width:30px;height:30px}.device-home-glyph .ui-icon{width:26px;height:26px}
.device-home-actions strong{font-size:18px;font-weight:850}.device-home-actions small{font-size:13px;opacity:.85;font-weight:500}
.intui-ui .device-home-actions #homeJoin{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;background:none;border:0;box-shadow:none;min-height:38px;padding:6px 1px;font-size:14px;color:var(--muted)}
.device-home-join strong{display:flex;gap:7px;align-items:center;font-size:14px;color:var(--accent)}
.device-home-join .ui-icon{width:17px;height:17px}
.device-home-actions #homeHow,.device-resume{grid-column:1/-1;justify-self:center;min-height:32px;font-size:13px}
.device-resume{color:var(--accent);font-weight:750}
body[data-local-device=true] .tabs,body[data-local-device=true] .game-navigation,body[data-local-device=true] #roomBar,body[data-local-device=true] #roomChat,body[data-local-device=true] .clean-context-bar,body[data-local-device=true] #lastAnswer,body[data-local-device=true] .page-footer,body[data-local-device=true] #currentGameStage{display:none!important}
body[data-local-device=true] .header-actions #openRoom,body[data-local-device=true] .header-actions #menuButton,body[data-local-device=true] .header-actions #libraryButton,body[data-local-device=true] .header-actions #returnHome,body[data-local-device=true] .header-actions .version{display:none!important}
body[data-local-device=true] .shell{display:block;max-width:1160px;width:100%;margin-inline:auto}
body[data-local-device=true] .game-stage{max-width:100%;min-width:0}
body[data-local-device=true] .topbar{max-width:1160px}
.local-device{max-width:1060px;margin:0 auto;padding-bottom:30px;min-width:0}
.local-device .panel{padding:24px;min-width:0;box-shadow:none}
.local-device h1{font-size:clamp(26px,3.4vw,34px);line-height:1.2;letter-spacing:-.8px;overflow-wrap:anywhere}
.local-device h2{font-size:20px;line-height:1.35;margin:0 0 14px;letter-spacing:-.35px;overflow-wrap:anywhere}
.local-device p{font-size:16px;line-height:1.6;color:var(--muted)}
.local-device .button{display:flex;align-items:center;justify-content:center;min-height:50px;white-space:normal;line-height:1.4;gap:10px}
.local-device input,.local-device textarea,.local-device select{font-size:16px;max-width:100%;min-width:0}
.device-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px;color:var(--muted);font-size:13px;min-height:36px}
.device-nav .text-button{display:inline-flex;gap:8px;align-items:center;font-size:14px;min-height:36px;padding:4px}
.device-nav>button:first-child .ui-icon{transform:rotate(180deg)}
.device-nav>span{text-align:center;line-height:1.4}
.device-setup-head{margin:0 0 26px}.device-setup-head h1{margin:8px 0}.device-setup-head p{margin:0}
.device-setup-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
.device-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.device-modes button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-width:0;min-height:86px;padding:12px 6px;border:1px solid var(--line);background:var(--input);color:var(--muted);border-radius:13px;font-size:14px;font-weight:800;line-height:1.35}
.device-modes button[aria-pressed=true]{border-color:var(--accent);color:var(--ink);background:color-mix(in srgb,var(--accent) 10%,var(--input));box-shadow:inset 0 0 0 1px var(--accent)}
.device-modes .ui-icon{width:25px;height:25px;color:var(--accent)}
.device-mode-description{min-height:3.1em;font-size:14px!important;line-height:1.5!important;margin:12px 0 18px}
.device-universe-trigger{margin:0 0 20px;width:100%;min-height:74px}
.device-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.device-option{display:flex;flex-direction:column;gap:7px;margin:0!important;font-size:14px;font-weight:650;color:var(--muted);min-width:0;line-height:1.4}
.device-option>span{min-height:2.8em;display:flex;align-items:flex-end;padding-bottom:1px}
.device-option select{min-height:46px;width:100%;margin:0!important}
.device-more{border:1px solid var(--line);border-radius:12px;margin-top:17px;padding:0 14px}
.device-more>summary{display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;list-style:none;min-height:47px;font-size:14px;font-weight:700;color:var(--muted)}
.device-more>summary::-webkit-details-marker,.device-history>summary::-webkit-details-marker,.device-private-cheat>summary::-webkit-details-marker{display:none}
.device-more[open]{padding-bottom:14px}.device-more .device-settings-grid{padding-block:10px}.device-more .fine-print{font-size:13px;line-height:1.5;margin:14px 0 0}
.device-conversation{padding:12px 0 0;border:0;display:flex;flex-wrap:wrap;gap:10px 20px;margin:10px 0 0}.device-conversation legend{font-size:13px;color:var(--muted);padding:0}.device-conversation label{font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px;margin:0}
.device-player-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.device-player-heading h2{margin:0}.device-player-heading .device-option>span{display:none}.device-player-heading select{width:auto;min-width:115px;min-height:40px;padding:7px 30px 7px 11px;font-size:14px}
#devicePlayers{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:20px}
.device-player-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.device-player-row>label{display:grid;gap:3px;margin:0;min-width:0}.device-player-row>label>span{font-size:12px;color:var(--muted);font-weight:600;line-height:1.3}.device-player-row input{margin:0;min-height:45px;width:100%;padding:9px 12px}
.device-avatar-edit{position:relative;padding:0;border:1px solid var(--line);border-radius:15px;background:var(--input);width:52px;height:56px}.device-avatar-edit>.portrait-wrap{width:100%;height:100%;border-radius:14px}.device-avatar-edit>span:last-child{position:absolute;right:-3px;bottom:-3px;background:var(--accent);color:var(--accentInk);border-radius:6px;border:2px solid var(--panel);display:grid;place-items:center;width:20px;height:20px}.device-avatar-edit>span:last-child .ui-icon{width:12px;height:12px}
#deviceSetupError{color:var(--red);font-size:14px;margin:0 0 12px;line-height:1.5}#deviceSetupError:empty{display:none}
.device-privacy-note{display:block;text-align:center;color:var(--muted);font-size:12px;line-height:1.5;margin-top:12px}
.device-setup-people{display:flex;flex-direction:column}.device-setup-people #deviceStart{margin-top:auto}
.device-setup-steps,.device-setup-continue{display:none!important}
.device-secret-steps,.device-pick-cola{display:none!important}
.device-turn{display:flex;gap:13px;align-items:center;margin:0 0 24px;min-width:0}.device-turn>div{flex:1;min-width:0}.device-turn h1{font-size:23px;line-height:1.3;letter-spacing:-.3px;margin:0}.device-turn p{font-size:14px;margin:3px 0 0;line-height:1.5}.device-person-photo{width:50px;height:54px;flex:none}.device-person-photo>.portrait-wrap{width:100%;height:100%;border-radius:14px}
.device-round{font-size:13px;font-weight:800;color:var(--muted);padding:9px 12px;white-space:nowrap;background:var(--panel);border:1px solid var(--line);border-radius:10px;flex:none}
.device-handoff{max-width:440px;text-align:center;margin:clamp(30px,8vh,100px) auto 20px;padding:0 12px}.device-handoff-photo{display:block;width:112px;height:120px;margin:0 auto 25px}.device-handoff-photo .portrait-wrap{width:100%;height:100%;border-radius:30px;border:2px solid var(--accent);box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 7%,transparent)}
.device-handoff h1{font-size:36px;margin:10px 0}.device-handoff>p{margin:8px 0 24px}.device-handoff>small{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:13px}
.device-answer-feedback{display:flex;align-items:center;gap:12px;text-align:left;margin:28px 0 0;padding:14px 16px;border-radius:13px;border:1px solid color-mix(in srgb,var(--green) 30%,var(--line));background:color-mix(in srgb,var(--green) 7%,var(--panel));color:var(--green);animation:device-feedback-in .3s ease-out}
.device-answer-feedback>span{display:grid;place-items:center;width:36px;height:36px;flex:none}.device-answer-feedback strong{font-size:20px}.device-answer-feedback p{font-size:14px;margin:1px 0 0;color:var(--ink);overflow-wrap:anywhere}.device-answer-feedback.negative{color:var(--red);border-color:color-mix(in srgb,var(--red) 30%,var(--line));background:color-mix(in srgb,var(--red) 7%,var(--panel))}
.device-answer-feedback:not(.device-feedback-settled):after{content:'';position:fixed;inset:0;background:currentColor;opacity:0;pointer-events:none;animation:device-answer-wash 1s ease-out;z-index:30}
.device-play-card{max-width:680px;margin:0 auto}.device-play-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;color:var(--muted);margin-bottom:21px}.device-hit-count{display:flex;align-items:center;gap:5px;flex:none}.device-hit-count i{width:7px;height:7px;border-radius:50%;background:var(--line)}.device-hit-count i.on{background:var(--yellow)}.device-hit-count b{font-size:13px;color:var(--yellow);margin-left:6px}
.device-play-card h2{font-size:25px;line-height:1.25;margin-bottom:20px}.device-short-help{font-size:14px!important;margin:-7px 0 15px}.device-play-card form>.button{margin-top:14px}.device-play-card textarea{width:100%;resize:vertical;min-height:92px}
.device-character-options{display:flex;flex-direction:column;max-height:260px;overflow-y:auto;border:1px solid var(--line);border-radius:10px;margin-top:7px}.device-character-options:empty{display:none}.device-character-options>button{border:0;border-bottom:1px solid var(--line);background:var(--input);color:var(--ink);display:flex;gap:10px;align-items:center;padding:7px 10px;text-align:left;font-size:15px;min-height:54px}.device-character-options>button:hover{background:var(--panel2)}.device-character-options .portrait-wrap{width:37px;height:42px;border-radius:7px;flex:none}
.device-chosen{display:flex;align-items:center;gap:11px;padding:10px;border-radius:11px;background:var(--input);margin-top:12px;font-size:15px}.device-chosen .portrait-wrap{width:44px;height:50px;border-radius:8px;flex:none}
.device-confirmed{margin:-4px 0 20px}.device-confirmed>small{display:block;font-size:12px;line-height:1.5;color:var(--green);margin-bottom:8px}.device-confirmed>div{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;max-width:100%}.device-confirmed>div>span{display:flex;align-items:center;gap:6px;flex:none;max-width:145px;padding:4px 8px 4px 4px;background:var(--input);border:1px solid var(--line);border-radius:8px}.device-confirmed .portrait-wrap{width:25px;height:30px;border-radius:5px;flex:none}.device-confirmed strong{font-size:12px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.device-history{max-width:680px;margin:19px auto 0;border:1px solid var(--line);border-radius:13px;padding:0 15px;background:var(--panel)}.device-play-card>.device-history{background:transparent;margin-bottom:0}
.device-history>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;min-height:48px;cursor:pointer;font-size:14px;font-weight:750;line-height:1.4}.device-history>summary small{color:var(--muted);display:flex;gap:9px;align-items:center;font-size:12px;font-weight:500}.device-history .ui-icon{width:17px;height:17px;flex:none}.device-history>div{padding-bottom:12px}
.device-history-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;margin:0!important;border-top:1px solid var(--line);font-size:14px!important}.device-history-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere;display:grid;gap:2px}.device-history-row strong{font-size:14px;font-weight:650;color:var(--ink)}.device-history-row small{font-size:12px}.device-history-row.yes>span:first-child,.device-history-row.yes>b{color:var(--green)}.device-history-row.no>span:first-child,.device-history-row.no>b{color:var(--red)}.device-history-row>b{font-size:12px}
.device-hints p{font-size:14px;line-height:1.6;padding-left:12px;border-left:2px solid var(--accent)}
.device-judge{max-width:620px;margin:0 auto;text-align:center}.device-judge>.eyebrow{display:block;margin-bottom:22px}.device-judge h2{font-size:24px;line-height:1.4;overflow-wrap:anywhere}.device-pending-character{display:flex;align-items:center;justify-content:center;gap:17px;margin:16px 0 24px}.device-pending-character>.portrait-wrap{width:86px;height:102px;border-radius:17px;flex:none}.device-pending-character h2{margin:0;text-align:left}
.device-verdicts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.device-verdict{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:12px;border-radius:13px;font-size:18px;font-weight:900;border:1px solid var(--line);background:var(--input)}.device-verdict.yes{color:var(--green);border-color:color-mix(in srgb,var(--green) 50%,var(--line));background:color-mix(in srgb,var(--green) 7%,var(--input))}.device-verdict.no{color:var(--red);border-color:color-mix(in srgb,var(--red) 50%,var(--line));background:color-mix(in srgb,var(--red) 7%,var(--input))}
.device-private-cheat{text-align:left;margin-top:26px;border-top:1px solid var(--line);padding-top:12px}.device-private-cheat>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;color:var(--muted);font-size:14px;min-height:36px}.device-private-rule{font-size:18px!important;font-weight:800;color:var(--ink)!important}.device-cheat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px}.device-cheat-grid>div{min-width:0;background:var(--input);border:1px solid var(--line);padding:4px;border-radius:9px}.device-cheat-grid .portrait-wrap{width:100%;aspect-ratio:1;height:auto;border-radius:6px}.device-cheat-grid strong{display:block;font-size:11px;line-height:1.4;padding:5px 2px;overflow-wrap:anywhere}
.device-face-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}.device-face-actions{min-width:0}.device-face-actions .device-history{margin-top:15px}.device-face-actions .panel p{font-size:14px}.device-face-actions .button{font-size:14px}.device-face-actions input{margin-bottom:12px}
.device-board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;font-size:14px;font-weight:750}.device-board-heading .segmented{padding:3px}.device-board-heading .segmented button{font-size:13px;min-height:35px;padding:7px 10px}
.device-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.device-board[data-size="8"],.device-board[data-size="16"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.device-card{position:relative;min-width:0;overflow:hidden;border-radius:11px;background:var(--input);border:1px solid var(--line);padding:4px;color:var(--ink);transition:opacity .12s,border-color .12s;touch-action:manipulation}.device-card .portrait-wrap{width:100%;height:auto;aspect-ratio:4/5;border-radius:7px}.device-card>strong{display:flex;justify-content:center;align-items:center;min-height:38px;font-size:12px;line-height:1.35;padding:5px 1px;overflow-wrap:anywhere;font-weight:700}.device-card-state{display:none;position:absolute;right:7px;top:7px;width:22px;height:22px;border-radius:7px;place-items:center;background:var(--green);color:var(--bg)}.device-card-state .ui-icon{width:17px;height:17px}.device-card.chosen{outline:2px solid var(--green);outline-offset:-2px}.device-card.chosen .device-card-state{display:grid}.device-card.eliminated{opacity:.32;filter:grayscale(1)}.device-card.eliminated .device-card-state{display:grid;color:var(--ink);background:var(--panel2)}
.device-face-board>.text-button{margin-top:12px;font-size:13px}.device-face-secret>p{font-size:14px;margin-top:-5px}.device-face-secret>#deviceSaveSecret{position:sticky;bottom:12px;z-index:2;margin-top:20px;box-shadow:0 3px 15px #0003}
.device-budget{font-size:12px!important;margin:14px 0 0;line-height:1.6!important}
.device-result{max-width:640px;text-align:center;margin:20px auto}.device-winner-photo{display:block;position:relative;width:120px;height:128px;margin:30px auto}.device-winner-photo>.portrait-wrap{width:100%;height:100%;border-radius:28px;border:2px solid var(--yellow);outline:5px solid color-mix(in srgb,var(--yellow) 15%,transparent)}.device-winner-photo>i{display:grid;place-items:center;position:absolute;right:-7px;top:-10px;width:35px;height:35px;border-radius:10px;background:var(--yellow);color:var(--yellowInk)}.device-result>h1{margin:12px 0}.device-result>.eyebrow{margin-top:12px}.device-result>p:not(.eyebrow){font-size:15px}
.device-result-score{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:24px 0}.device-result-score>span{display:flex;gap:8px;align-items:center;min-width:0;max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:8px 10px;font-size:14px}.device-result-score .portrait-wrap{width:30px;height:35px;border-radius:8px}.device-result-score strong{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-result-score b{color:var(--yellow);font-size:18px}.device-result>.text-button{margin-top:15px;font-size:14px}.device-match-winner{color:var(--yellow)!important;font-weight:800}
.device-reveal{text-align:left;margin-top:26px}.device-revealed-rule{padding:13px 0;border-top:1px solid var(--line)}.device-revealed-rule>span{display:flex;gap:9px;align-items:center;font-size:14px}.device-revealed-rule>span .portrait-wrap{width:30px;height:34px;border-radius:7px}.device-revealed-rule>p{font-size:15px;overflow-wrap:anywhere;color:var(--ink)}.device-revealed-character{display:flex;gap:12px;align-items:center;margin-top:12px}.device-revealed-character .portrait-wrap{width:65px;height:80px;border-radius:10px}
.device-dialog{width:min(620px,calc(100% - 30px));max-height:88dvh;padding:24px;overflow-y:auto}.device-dialog h2{font-size:23px;line-height:1.3}.device-dialog .device-search{width:100%;min-height:45px;margin:8px 0 18px;font-size:16px}.device-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:55dvh;overflow-y:auto}.device-avatar-grid button{min-width:0;padding:7px;background:var(--input);border:1px solid var(--line);color:var(--ink);border-radius:12px}.device-avatar-grid .portrait-wrap{width:100%;height:auto;aspect-ratio:1;border-radius:9px}.device-avatar-grid strong{font-size:12px;line-height:1.35;display:block;min-height:32px;padding-top:7px;overflow-wrap:anywhere}.device-help{padding-left:22px;font-size:16px;line-height:1.65}.device-help li{padding-left:5px;margin:13px 0}.device-score-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.device-score-row .portrait-wrap{width:42px;height:47px;border-radius:12px}.device-score-row strong{font-size:16px;overflow-wrap:anywhere}.device-score-row b{font-size:22px;color:var(--yellow)}
/* The local picker uses aria-pressed rather than the online picker's active class. */
#deviceUniverseCategories button[aria-pressed=true]{background:var(--panel2);color:var(--ink);border-color:var(--line);box-shadow:0 2px 5px #0001}
#localPrepareIdentity{display:none}body[data-local-device=true][data-local-phase=prepare] #localPrepareIdentity{display:block}body[data-local-device=true][data-local-phase=prepare] #prepare>.heading{display:none}body[data-local-device=true][data-local-phase=prepare] #savedNotice{display:none!important}body[data-local-device=true][data-local-phase=prepare] .prepare-layout{align-items:start}body[data-local-device=true] #connection{display:none}body[data-local-device=true] #startButton{min-height:50px}body[data-local-device=true] .selection-footer{flex-wrap:wrap}
@keyframes device-answer-wash{0%{opacity:0}20%{opacity:.08}100%{opacity:0}}@keyframes device-feedback-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .intui-ui[data-scene=home] .home-how,.intui-ui[data-scene=home] .page-footer{display:none}
 body[data-local-device=true] .shell{padding-inline:14px}
 .device-setup-head>.eyebrow{display:none}.device-setup-head h1{font-size:26px}.device-setup-head p{font-size:14px!important}
 .device-setup-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px;border:1px solid var(--line);border-radius:11px;background:var(--panel);margin:0 0 15px}
 .device-setup-steps button{min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:750}.device-setup-steps button[aria-current=step]{background:var(--panel2);color:var(--ink)}
 [data-setup-step=game] .device-setup-people,[data-setup-step=people] .device-setup-game{display:none!important}
 .device-setup-game>.device-setup-continue{display:flex!important;margin-top:18px}
 body[data-local-device=true][data-local-phase=prepare] .device-secret-steps{display:none!important}
 .device-secret-steps button{min-height:35px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:750}.device-secret-steps button[aria-current=step]{background:var(--panel2);color:var(--ink)}
 body[data-local-device=true][data-local-phase=prepare] #prepare .cast-panel,body[data-local-device=true][data-local-phase=prepare] #prepare .rule-panel{display:block!important}
 body[data-local-device=true][data-local-phase=prepare] #prepare .prepare-layout{grid-template-columns:minmax(0,1fr)}
 body[data-local-device=true][data-local-phase=prepare] .device-pick-cola{display:none!important}
 body[data-local-device=true][data-local-phase=prepare] #characterGrid{max-height:430px;min-height:220px;grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-local-device=true][data-local-phase=prepare] .cast-footer{display:flex;flex-direction:column;gap:9px;margin-top:12px;padding-top:12px}
 body[data-local-device=true][data-local-phase=prepare] #selectionHelp{margin:0;font-size:12px;line-height:1.4}
 body[data-local-device=true][data-local-phase=prepare] #startButton{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px;font-size:15px;line-height:1.4}
 .intui-ui .device-home-actions{gap:10px}.intui-ui .device-home-actions #homeCreate,.intui-ui .device-home-actions #homeLocal{padding:14px;min-height:122px;gap:8px}.device-home-actions strong{font-size:17px}.device-home-actions small{font-size:12px;line-height:1.5}.intui-ui .device-home-actions #homeJoin{justify-content:center;font-size:13px;gap:8px}
 .local-device{padding-bottom:20px}.local-device .panel{padding:18px}.local-device .device-nav{margin-bottom:18px;font-size:12px;gap:7px}.local-device h1{font-size:28px}.local-device h2{font-size:19px}.local-device .button{font-size:16px;min-height:51px}
 .device-setup-layout{grid-template-columns:minmax(0,1fr);gap:15px}.device-setup-head{margin-bottom:21px}.device-setup-head p{font-size:15px}.device-mode-description{min-height:0;font-size:14px!important}.device-modes button{font-size:13px;min-height:85px;gap:8px;padding-inline:4px}.device-modes .ui-icon{width:24px;height:24px}
 .device-settings-grid{gap:12px}.device-option{font-size:13px}.device-option select{font-size:16px}.device-option>span{min-height:2.6em}.device-universe-trigger{margin-bottom:14px}.device-player-heading{margin-bottom:16px}.device-privacy-note{font-size:12px}
 .device-turn{gap:10px;margin-bottom:18px}.device-turn h1{font-size:21px}.device-turn p{font-size:13px}.device-person-photo{width:44px;height:49px}.device-round{font-size:12px;padding:8px 10px}
 .device-handoff{margin-top:36px;padding-inline:8px}.device-handoff-photo{width:94px;height:102px;margin-bottom:23px}.device-handoff h1{font-size:31px}.device-handoff>p{font-size:15px;margin-bottom:24px}.device-handoff>.button{padding:13px 17px}
 .device-play-card h2{font-size:23px}.device-play-meta{font-size:13px;margin-bottom:18px}.device-hit-count i{width:6px;height:6px}.device-hit-count{gap:4px}.device-history{padding-inline:12px}.device-history>summary{font-size:14px}.device-judge h2{font-size:23px}.device-verdicts{gap:10px}.device-verdict{min-height:57px;font-size:18px}.device-pending-character{gap:14px}.device-pending-character>.portrait-wrap{width:74px;height:89px}
 .device-face-layout{display:flex;flex-direction:column;gap:16px}.device-face-layout>section,.device-face-actions{width:100%}.device-face-actions{order:-1}.device-face-actions .panel h2{font-size:18px;margin-bottom:10px}.device-face-actions .panel p{font-size:14px;line-height:1.5;margin:0 0 12px}.device-face-actions .device-budget{font-size:12px!important;margin-top:12px!important;margin-bottom:0!important}.device-face-actions .device-history{margin-top:10px}
 .device-board,.device-board[data-size="8"],.device-board[data-size="16"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.device-card{padding:3px;border-radius:9px}.device-card>strong{font-size:11px;line-height:1.3;min-height:37px}.device-card .portrait-wrap{border-radius:6px;aspect-ratio:1}.device-card-state{width:19px;height:19px;right:5px;top:5px}.device-card-state .ui-icon{width:15px;height:15px}.device-board-heading{font-size:13px;gap:10px;margin-bottom:14px}.device-board-heading .segmented button{font-size:12px;padding:7px 8px}
 .device-dialog{padding:18px;max-height:90dvh}.device-dialog h2{font-size:22px}.device-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.device-dialog .dialog-top{gap:10px}.device-dialog .dialog-top .icon-button{flex:none}.device-help{font-size:15px}.device-result{margin-top:12px}.device-result-score strong{max-width:110px}.device-winner-photo{width:100px;height:108px}.device-result h1{font-size:29px}
 body[data-local-device=true] .topbar{padding-block:12px}body[data-local-device=true] #prepare .prepare-layout{gap:15px}body[data-local-device=true] #startButton{width:100%}
}
@media(prefers-reduced-motion:reduce){.device-answer-feedback,.device-answer-feedback:after,.device-card{animation:none!important;transition:none!important}}
@media(max-width:760px){.device-face-actions{display:contents}.device-face-actions>.device-question-controls{width:100%;order:-1}.device-face-board{order:0}.device-face-actions>.device-history{width:100%;order:1;margin-top:0;box-sizing:border-box}.device-face-actions>.device-history>div{max-height:220px;overflow:auto}.device-question-note summary{gap:8px}.device-question-note summary span{font-size:11px;color:var(--muted)}}
.device-inline-answer,.device-review{animation:device-feedback-in .22s ease-out}.device-review-character{min-width:0}.device-pass-turn>span:first-child{display:flex;flex:none}.device-pass-turn>span:first-child .portrait-wrap{width:28px;height:30px;border-radius:7px}
@media(prefers-reduced-motion:reduce){.device-inline-answer,.device-review{animation:none!important}}

