/* PARTYBOX: compact artwork, generous touch targets, consistent selection. */
:root{--pb-ink:#29231d;--pb-muted:#6b6055;--pb-line:#dfd4c5;--pb-selected:#f1e5d3;--pb-accent:#805b35;--muted:var(--pb-muted)}
.pb-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:middle;display:inline-block;margin-right:6px;pointer-events:none}
[data-pb-icon]{display:flex;align-items:center;justify-content:center;gap:6px}[data-pb-icon]>.pb-icon{margin:0}
.sheet-action.main .pb-icon,.game-btn.primaryish .pb-icon,.primary-btn .pb-icon,.room-shell .primary .pb-icon{filter:none}
.icon-btn{min-width:44px;min-height:44px}button.icon-btn .pb-icon{margin:0;width:20px;height:20px;flex-basis:20px}
.nav-mark .pb-icon,.quick-categories .pb-icon{width:22px;height:22px;flex-basis:22px;margin:0}
.ivory-v2 .quick-categories>button{min-height:70px;padding:8px 3px;gap:6px}
.ivory-v2 .quick-categories>button>span{width:32px;height:32px;border-radius:10px}
.ivory-v2 .quick-categories small{font-size:12px;line-height:1.35;color:var(--pb-ink);min-height:32px;display:flex;align-items:center;justify-content:center}
.ivory-v2 .home-links{align-items:center;gap:12px}.ivory-v2 .wide-link{font-size:13px;color:var(--pb-muted)}
.ivory-v2 .bottom-nav button{min-height:56px;font-size:12px;color:var(--pb-muted)}.ivory-v2 .bottom-nav button.active{color:var(--pb-accent)}
.ivory-v2 h1{font-size:28px;line-height:1.18;letter-spacing:-.025em}.ivory-v2 h2,.room-shell h2{font-size:21px;line-height:1.25;letter-spacing:-.02em}
.ivory-v2 .sheet-body{padding:20px}
.ivory-v2 #gameSheet[data-creating=true] .sheet-cover{height:132px;min-height:0;aspect-ratio:auto;background-color:#f2eade;background-size:contain;background-repeat:no-repeat;background-position:center}
.ivory-v2 #gameSheet[data-creating=true] .sheet-cover img{height:100%;object-fit:contain;object-position:center}
.ivory-v2 #gameSheet[data-creating=true] #sheetTitle{font-size:23px;margin:4px 0 16px}
.room-create{padding:0}.room-create h3{font-size:18px;letter-spacing:-.02em;margin:0 0 6px}
.room-create .form-intro{font-size:13px;color:var(--pb-muted);line-height:1.45;margin:0 0 16px}
.room-create fieldset{border:0;padding:0;margin:18px 0}.room-create legend,.room-create .field-heading{font-size:13px;font-weight:600;color:var(--pb-ink);margin-bottom:9px}
.room-create .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.room-create .choice-card{position:relative;display:flex;align-items:center;gap:8px;min-height:70px;border:1px solid var(--pb-line);background:#fffdf9;border-radius:12px;padding:11px;cursor:pointer}
.choice-card input,.theme-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.choice-card:has(input:checked),.theme-choice:has(input:checked){border-color:var(--pb-accent);background:var(--pb-selected);box-shadow:inset 0 0 0 1px var(--pb-accent)}
.choice-card:has(input:checked)::after{content:'✓';position:absolute;right:7px;top:5px;color:var(--pb-accent);font-size:11px}
.choice-card:has(input:focus-visible),.theme-choice:has(input:focus-visible){outline:3px solid var(--pb-accent);outline-offset:3px}
.choice-card b,.theme-choice b{display:block;font-size:14px;line-height:1.3;font-weight:600}
.choice-card small,.theme-choice small{display:block;color:var(--pb-muted);font-size:12px;line-height:1.35;margin-top:3px}.choice-card .pb-icon{margin:0}
.fixed-setting{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:14px;line-height:1.45;padding:12px 0;margin:0;border-bottom:1px solid var(--pb-line)}
.fixed-setting b{font-weight:600;flex-shrink:0}.fixed-setting span{text-align:right;color:var(--pb-muted)}
.room-create .seat-field{display:block;margin:18px 0;font-size:13px;font-weight:600}
.seat-stepper{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border:1px solid var(--pb-line);border-radius:12px;background:#fffdf9;overflow:hidden;margin:8px 0 5px}
.seat-stepper button{min-width:44px;min-height:48px;border:0;background:transparent;font-size:21px;color:var(--pb-accent)}
.room-create .seat-stepper input[type=number]{border:0;border-radius:0;padding:10px;margin:0;text-align:center;box-shadow:none;appearance:textfield;background:transparent}
.seat-stepper input::-webkit-inner-spin-button{appearance:none}.seat-field>small{font-size:12px;font-weight:400;color:var(--pb-muted)}
.room-create .level-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}
.level-options button{min-height:64px;border:1px solid var(--pb-line);border-radius:12px;padding:9px 5px;background:#fffdf9;font:inherit;font-size:13px}
.level-options button small{display:block;font-size:11px;color:var(--pb-muted);margin-top:4px}
.level-options button[aria-pressed=true]{background:var(--pb-selected);border-color:var(--pb-accent);box-shadow:inset 0 0 0 1px var(--pb-accent);font-weight:650}
.level-options button[aria-pressed=true]::before{content:'✓ ';color:var(--pb-accent)}
.room-create .theme-choice{position:relative;display:flex;gap:10px;align-items:center;min-height:60px;padding:11px 12px;border:1px solid var(--pb-line);border-radius:12px;background:#fffdf9;margin:8px 0;cursor:pointer}
.theme-choice .theme-copy{flex:1;min-width:0}.theme-choice b{overflow-wrap:anywhere}
.theme-choice .selection-dot{width:20px;height:20px;flex:0 0 20px;border:1px solid #99836b;border-radius:6px;display:grid;place-items:center;color:transparent;font-size:12px}
.theme-choice:has(input:checked) .selection-dot{background:var(--pb-accent);border-color:var(--pb-accent);color:white}
.room-create #create-status:not(:empty){padding:11px 12px;border-radius:10px;background:#f1e5d3;font-size:14px}.room-create #create-level[hidden]{display:none}
.room-create .sheet-action.main{min-height:48px;margin-top:18px}.room-create .sheet-action:not(.main){min-height:44px}
.ivory-v2 .sheet-action,.ivory-v2 .game-btn,.room-shell button{font-weight:600}
.ivory-v2 .page-v2-head h1{font-size:28px}.ivory-v2 .profile-v2-card{padding:18px;border-radius:16px;gap:14px}.ivory-v2 .profile-v2-avatar{width:56px;height:56px;font-size:24px}
.ivory-v2 .profile-v2-stats{gap:10px}.ivory-v2 .profile-v2-stats>button,.ivory-v2 .profile-v2-stats>div{padding:16px;border-radius:14px;min-height:0}
.profile-v2-stats .pb-icon,.profile-v2-card .pb-icon{width:20px;height:20px;flex-basis:20px;margin:0 0 8px}
.ivory-v2 .profile-v2-stats b{font-size:28px;line-height:1.2}.ivory-v2 .profile-v2-stats small,.ivory-v2 .profile-v2-stats span{color:var(--pb-muted);font-size:13px}
.room-shell .stage-art{height:128px;aspect-ratio:auto;object-fit:contain;background:#f2eade;border-radius:14px}
.room-shell .stage-copy{padding-top:14px}.room-shell .stage-copy h1{font-size:26px;margin:6px 0 10px}
.room-shell .room-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px 0}
.room-shell .room-actions>button,.room-shell .room-actions>a{margin:0;min-height:48px;font-size:14px}
.room-shell .room-actions>.primary,.room-shell .room-actions>#invite-room{grid-column:1/-1}.room-shell [data-normal=leave]{color:#75493b;background:transparent}
.normal-management fieldset{padding:12px;border-radius:12px;background:#fffdf9}.normal-management legend{font-size:13px;color:var(--pb-muted)}
.normal-management [aria-pressed=true]{border-color:var(--pb-accent);box-shadow:inset 0 0 0 1px var(--pb-accent)}.normal-management .danger{margin-top:22px}.normal-management #capacity-form{padding:12px 0}
.spy-shell .segmented button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px}
.spy-shell .segmented .pb-icon,.spy-shell .category .pb-icon{width:18px;height:18px;flex-basis:18px;margin:0}
.game-loading{padding:24px 18px;border:1px solid var(--pb-line);border-radius:16px;background:#fffdf9;line-height:1.5;margin:16px 0}.game-loading b{font-size:19px}.game-loading p{color:var(--pb-muted)}
.ivory-v2 .game-head{margin-bottom:12px}.ivory-v2 .game-panel{padding:16px;border-radius:16px}.ivory-v2 .solo2048{padding:14px}.ivory-v2 .dpad-premium{margin:14px auto;gap:5px}.ivory-v2 .game-actions{gap:8px}.ivory-v2 .game-actions button{min-height:48px;font-size:14px}
@media(max-width:350px){.room-create .choice-grid{gap:6px}.room-create .choice-card{padding:10px 8px}.choice-card .pb-icon{display:none}.room-create .theme-choice{padding:10px}.fixed-setting{font-size:13px}.ivory-v2 .sheet-body{padding:16px}}
@media(prefers-reduced-motion:no-preference){.choice-card,.theme-choice,.level-options button{transition:background .15s,border-color .15s}}
body[data-theme=dark] .choice-card:has(input:checked),body[data-theme=dark] .theme-choice:has(input:checked),body[data-theme=dark] .level-options button[aria-pressed=true]{background:#453729;color:#f6f1e8;border-color:#d9ae75}

/* One visual hierarchy across home, account, lists and room settings. */
.ivory-v2 .hero-create{justify-content:flex-end}.ivory-v2 .hero-create>.pb-icon{display:none}
.ivory-v2 .quick-categories{gap:4px}.ivory-v2 .quick-categories>button{padding-inline:0;min-width:0}
.ivory-v2 .quick-categories small{overflow-wrap:normal;word-break:normal;hyphens:none;max-width:none;width:100%;text-wrap:balance;font-size:12px}
.ivory-v2 .quick-categories>button[data-quick=popular] small{white-space:nowrap}
.ivory-v2 #gameSheet .sheet-cover,.ivory-v2 #gameSheet[data-creating=true] .sheet-cover{height:auto;min-height:0;aspect-ratio:3/2;background-size:cover;background-position:center;background-color:#faf5ec}
.ivory-v2 #gameSheet[data-creating=true] .sheet-cover{aspect-ratio:3/2}
.ivory-v2 .sheet-body{padding:18px 20px}.room-create .form-intro{margin-bottom:12px}
.room-create fieldset{margin:14px 0}.room-create .choice-card{min-height:58px;padding:9px 10px}.room-create .seat-field{margin:14px 0}
.room-create .theme-choice{min-height:54px;padding:9px 11px}.room-create .level-options button{min-height:58px}
.fixed-players{border:0;color:var(--pb-muted);padding:4px 0 12px;justify-content:flex-start}
.set-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.set-tools button{font:inherit;font-size:13px;border:1px solid var(--pb-line);border-radius:10px;background:transparent;color:var(--pb-ink);padding:8px;min-height:44px}
.ivory-v2 .profile-v2-card{padding:16px;border-radius:14px;background:#fffdf9;gap:12px}
.ivory-v2 .profile-v2-card h3{font-size:22px}.ivory-v2 .profile-v2-avatar{width:48px;height:48px;overflow:hidden;border-radius:14px;background:#c5a574}
.profile-v2-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-logo{font-size:25px;font-weight:700;color:#fffdf9}
.ivory-v2 .profile-v2-stats{display:flex;flex-direction:column;gap:0;margin-top:8px;background:#fffdf9;border:1px solid var(--pb-line);border-radius:14px;overflow:hidden}
.ivory-v2 .profile-v2-stats>button,.ivory-v2 .profile-v2-stats>div{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:14px 16px;border:0;border-radius:0;background:transparent;min-height:64px;margin:0;text-align:left}
.ivory-v2 .profile-v2-stats>*+*{border-top:1px solid var(--pb-line)}.ivory-v2 .profile-v2-stats b{font-size:22px;margin:0;grid-column:3;grid-row:1/3}
.ivory-v2 .profile-v2-stats small{font-size:14px;grid-column:2;grid-row:1}.ivory-v2 .profile-v2-stats span{font-size:12px;grid-column:2;grid-row:2}
.ivory-v2 .profile-v2-stats .pb-icon{grid-column:1;grid-row:1/3;margin:0}
.ivory-v2 .premium-room{padding:14px;gap:10px;border-radius:14px;grid-template-columns:52px minmax(0,1fr);background:#fffdf9}
.ivory-v2 .premium-room .room-thumb{width:52px;height:64px;border-radius:9px;object-fit:cover}.ivory-v2 .premium-room .room-main{gap:5px}
.ivory-v2 .premium-room .room-main>b{font-size:18px}.ivory-v2 .premium-room .kicker{font-size:9px;letter-spacing:.1em}
.ivory-v2 .premium-room .room-state{padding:0;border:0;background:none;border-radius:0;font-size:12px}.ivory-v2 .premium-room .room-main small{font-size:12px;line-height:1.4}
.ivory-v2 .premium-room .my-game-actions{gap:8px;justify-content:flex-end}.ivory-v2 .premium-room .tiny-btn{flex:0 1 auto;min-height:44px;padding:10px 12px;background:#f2e8d9;color:var(--pb-ink);border-color:transparent;border-radius:10px;font-size:13px}
.ivory-v2 .premium-room .room-secondary{font-size:12px;min-height:44px}.ivory-v2 .rooms-tabs{margin-bottom:14px}
.ivory-v2 #codeSheet .sheet-body{padding:20px}.ivory-v2 #codeSheet h2{font-size:22px}.ivory-v2 #codeSheet input{min-height:48px;font-weight:600;letter-spacing:.14em}.ivory-v2 #codeSheet .sheet-action{min-height:44px}
.normal-management{padding:14px 0;border:0}.normal-management>p.muted{margin:6px 0 16px}.normal-management fieldset{background:transparent;padding:0;margin:14px 0}
.normal-management #capacity-form{display:block;padding:18px}.normal-management #capacity-form label{grid-column:1/-1;font-size:13px}.normal-management #capacity-form input,.normal-management #capacity-form button{margin:0;min-height:44px}
.normal-management #capacity-form button{width:auto;font-size:13px;padding:10px 12px}.room-header #refresh{width:auto;min-width:44px;min-height:44px;padding:10px 12px;font-size:13px}
.active-session-warning{line-height:1.5}.active-session-warning button{width:100%;margin-top:10px;min-height:44px}.active-session-warning .primary-btn{padding:12px}
.welcome-screen{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f6f1e8;color:#29231d;gap:16px;padding:24px;text-align:center}
.welcome-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#c5a574;color:#fffdf9;font-size:38px;font-weight:700;box-shadow:0 12px 30px #805b3512}.welcome-screen>b{font-size:20px;letter-spacing:.16em}.welcome-screen p{font-size:14px;color:var(--pb-muted);margin:0}
@media(max-width:350px){.ivory-v2 .quick-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.ivory-v2 .quick-categories>button{min-height:64px}.ivory-v2 .premium-room{padding:12px;grid-template-columns:48px minmax(0,1fr)}.normal-management #capacity-form{grid-template-columns:1fr}.normal-management #capacity-form label{grid-column:auto}}
@media(prefers-reduced-motion:no-preference){.active-session-warning{animation:session-warning .3s ease-in-out}.welcome-logo{animation:welcome-arrive .5s ease-out}@keyframes session-warning{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes welcome-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

/* Preserve the approved artwork composition in every room lobby. */
.room-shell .stage-art{height:auto;aspect-ratio:3/2;object-fit:cover;background:transparent;border-radius:18px}
.normal-management .control-link{display:flex;align-items:center;justify-content:space-between;min-height:56px;margin:14px 0;padding:14px 16px;background:var(--pb-paper,#fffdf9);border:1px solid var(--pb-line,#e7ded2);border-radius:16px;text-decoration:none;font-weight:650}
.normal-management .control-link:after{content:"›";font-size:22px;color:var(--pb-accent)}
.creation-actions{display:grid;gap:8px;margin:16px 0}
#manualForm{display:grid;gap:10px}#manualForm textarea{min-height:180px}#manualForm label{font-size:13px;font-weight:650}

.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-logo{display:grid;place-items:center;width:100%;height:100%;background:#c7a97a;color:#fffdf9}

.welcome-screen{background:radial-gradient(ellipse at 70% 30%,#f2e2cd 0, #fbf8f3 65%,#f6f1e8 100%);gap:20px}.welcome-art{width:min(560px,100%);border-radius:28px;overflow:hidden;box-shadow:0 20px 70px #805b3512}.welcome-art img{display:block;width:100%;height:auto;aspect-ratio:3/2}.welcome-progress{width:96px;height:3px;background:#e7ded2;border-radius:10px;overflow:hidden}.welcome-progress span{display:block;width:100%;height:100%;background:#a6814e;transform-origin:left;animation:welcome-progress 2s linear}.welcome-screen p{font-size:13px;letter-spacing:.02em}@keyframes welcome-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.welcome-progress span{animation:none}}

.ivory-v2 .profile-v2-stats>button{cursor:pointer;transition:background .15s ease}.ivory-v2 .profile-v2-stats>button:hover,.ivory-v2 .profile-v2-stats>button:focus-visible{background:#f2e7d5}.ivory-v2 .profile-v2-stats>button:active{background:#eadcc4}.room-actions button:active,.normal-management button:active{transform:translateY(1px)}@media(prefers-reduced-motion:reduce){.ivory-v2 .profile-v2-stats>button{transition:none}.room-actions button:active,.normal-management button:active{transform:none}}

.room-actions .room-action-card{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:12px;grid-column:1/-1;padding:15px 18px;text-align:left;background:#fffdf9;border:1px solid #dfd4c5;border-radius:18px;box-shadow:0 4px 18px #805b3508}
.room-action-card>.pb-icon{grid-column:1;grid-row:1;width:24px;height:24px;margin:0;color:#805b35;filter:none}.room-action-card .action-content{grid-column:2;grid-row:1;display:grid;gap:4px}.room-action-card b{font-size:15px;font-weight:650;line-height:1.2}.room-action-card small{font-size:12px;line-height:1.35;color:#6b6055;font-weight:400}.room-action-card .action-chevron{grid-column:3;grid-row:1;font-size:24px;color:#805b35}.room-actions .invite-action{background:linear-gradient(115deg,#f2e7d5,#fffaf1);border-color:#dfcfb6}.room-actions{padding-bottom:16px}.room-actions [data-normal=ready],.room-actions [data-normal=leave]{min-height:48px;padding:12px}.room-actions [data-normal=ready]{background:#fffdf9;border-color:#c7a97a}.room-actions [data-normal=leave]{color:#8c5040}.room-shell .stage-copy .room-code{margin:10px 0;font-size:12px;letter-spacing:.04em}.room-shell .stage-copy .muted{margin:8px 0;line-height:1.45}

.normal-management #capacity-form .capacity-control{display:flex;width:100%;gap:8px;align-items:center;margin-top:12px}.normal-management #capacity-form .capacity-control input{width:100%;flex:1;min-width:90px}.normal-management #capacity-form .capacity-control button{flex:0 0 108px;min-width:108px;white-space:nowrap;word-break:normal;overflow-wrap:normal}

/* Profile and shared secondary controls — Ivory Minimal */
.ivory-v2 .profile-premium-identity{background:linear-gradient(135deg,#fffaf2,#efdfc7);border:1px solid #e8d8bf;padding:24px;min-height:150px;box-shadow:0 14px 34px #6b503010}.profile-premium-identity h3{font-size:28px;letter-spacing:-.035em}.profile-premium-identity .profile-v2-avatar{width:76px;height:76px;flex:none;border:3px solid #fffaf2;border-radius:22px;overflow:hidden}.profile-premium-identity .profile-v2-avatar img{width:100%;height:100%;object-fit:cover}.ivory-v2 .profile-v2-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.ivory-v2 .profile-v2-stats>button{min-height:116px;padding:16px;border:1px solid #e9dfd1;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.profile-records,.profile-duels,.profile-recent{padding:22px 0;border-top:1px solid #e4d9ca}.profile-records h3{font-size:21px;margin:8px 0 15px}.profile-records>button,.profile-recent>button{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;border:1px solid #e8ddcf;border-radius:18px;background:#fffdf9;padding:12px 14px;margin-top:10px;text-align:left;color:#29231d;font:inherit}.profile-records>button img{width:52px;height:52px;object-fit:cover;border-radius:13px}.profile-records>button span,.profile-recent>button span{flex:1;min-width:0}.profile-records small,.profile-recent small{display:block;font-size:12px;color:#756b60;margin-top:4px}.profile-records strong{font-size:23px;letter-spacing:-.03em}.profile-records i,.profile-recent i{font-style:normal;color:#987347}.profile-duels>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:14px 0}.profile-duels>div b{font-size:28px}.profile-duels small,.profile-recent p{color:#756b60;line-height:1.6}.my-game-actions{display:flex!important;flex-wrap:wrap;gap:8px}.my-game-actions>button{min-height:44px!important;padding:10px 13px!important;font-size:13px!important;border-radius:13px!important;flex:1 1 120px}.bunker-story-dialog>header{position:sticky;top:0;background:#fffaf2;z-index:2;align-items:center!important}.bunker-story-dialog [data-story-close]{display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px!important;max-width:44px;padding:0!important;margin:0!important;flex:0 0 44px!important;align-self:flex-start;border-radius:14px;font-size:22px}.bunker-story-dialog{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px)}.room-actions [data-normal=leave],.normal-management [data-normal=finish],.stacker-room-buttons button{min-height:44px;padding:10px 14px;font-size:13px;border-radius:14px}.room-header .brand{cursor:pointer;text-decoration:none}.topbar .brand{color:inherit;text-decoration:none}

.ivory-v2 .profile-premium-identity h3{font-size:28px;overflow-wrap:anywhere}.ivory-v2 .profile-premium-identity .profile-v2-avatar{width:76px;height:76px;border-radius:22px}

.room-confirm>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.room-confirm [data-confirm-close]{width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e5d8c7;border-radius:13px;background:#fffdf9;font-size:22px;flex:none}.room-confirm form{display:flex;gap:10px}.room-confirm form>button{flex:1;min-height:44px;padding:10px 14px;border-radius:14px;font-size:14px}

:is(h1,h2,h3,summary)[data-pb-icon]{justify-content:flex-start}

/* Shared game controls: immediate feedback without moving the game board. */
:where(.btn,.primary-btn,.sheet-action,.room-actions button,.normal-management button,.game-btn){
 touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
:where(.btn,.primary-btn,.sheet-action,.room-actions button,.normal-management button,.game-btn):focus-visible{
 outline:3px solid #b58c52;outline-offset:3px;
}
:where(.btn,.primary-btn,.sheet-action,.room-actions button,.normal-management button,.game-btn):not(:disabled):active{
 box-shadow:inset 0 2px 6px #392f2920;
}
:where(.btn,.primary-btn,.sheet-action,.room-actions button,.normal-management button,.game-btn):disabled{
 cursor:default;opacity:.55;
}
.personal-hand .trait:focus-visible{outline:3px solid #b58c52;outline-offset:2px}
.personal-hand .trait:not(:disabled):active{border-color:#a78049;box-shadow:inset 0 0 0 1px #a78049}
.public-roster>summary{list-style:none;justify-content:space-between;border-radius:12px}
.public-roster>summary:after{content:'+';font-size:20px;font-weight:400;margin-left:auto;color:#947247}
.public-roster[open]>summary:after{content:'−'}
@media(prefers-reduced-motion:reduce){:where(.btn,.primary-btn,.sheet-action,.room-actions button,.normal-management button,.game-btn){transition:none}}
.ivory-v2.simple-home,.spy-shell,body.stacker-shell,body:has(>.room-shell),body:has(>main>#play) {
  --partybox-ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-family: var(--partybox-ui-font);
}
