:root,.modal,.profile-popover,.invite-notice{--club-ink:#17345f;--club-paper:#fff7e7;--club-red:#df0735;--club-yellow:#ffd45a;--club-blue:#1254b5;--club-green:#00bc68;--ui-bg:#fff7e7;--ui-surface:#fffcf4;--ui-text:#17345f;--ui-muted:#58687a;--ui-line:#ccd3da;--ui-accent-red:#c50730;--ui-accent-blue:#1254b5;--ui-accent-green:#007943;--ui-accent-yellow:#ffd45a;--ui-shadow:0 16px 48px #00000045;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=midnight],:root[data-theme=midnight] .modal,:root[data-theme=midnight] .profile-popover,:root[data-theme=midnight] .invite-notice{--ui-bg:#17345f;--ui-surface:#153765;--ui-text:#fff7e7;--ui-muted:#c6d8f1;--ui-line:#46628a;--ui-accent-red:#ff637c;--ui-accent-blue:#83afff;--ui-accent-green:#53dea0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=forest],:root[data-theme=forest] .modal,:root[data-theme=forest] .profile-popover,:root[data-theme=forest] .invite-notice{--ui-bg:#e8f6e9;--ui-surface:#f5fff3;--ui-text:#14271e;--ui-muted:#4e6256;--ui-line:#adbfad;--ui-accent-red:#c50730;--ui-accent-blue:#1254b5}:root[data-theme=sunset],:root[data-theme=sunset] .modal,:root[data-theme=sunset] .profile-popover,:root[data-theme=sunset] .invite-notice{--ui-bg:#ffe7df;--ui-surface:#fff5ed;--ui-text:#321a20;--ui-muted:#6e4c50;--ui-line:#d7b2ad;--ui-accent-red:#c50730;--ui-accent-blue:#1254b5}html,body{background:#123d86}body{--font-display:var(--font-body);display:flow-root}h1,h2{font-family:var(--font-body), sans-serif;text-transform:none;letter-spacing:-.02em;font-style:normal;font-weight:750}.wordmark,.wordmark.compact,.game-header .wordmark{color:inherit;font-family:var(--font-card), sans-serif;letter-spacing:-.02em;align-items:center;gap:12px;font-size:38px;font-style:italic;font-weight:800;line-height:1;display:inline-flex}.brand-colors{gap:3px;display:inline-flex;transform:skew(-14deg)}.brand-colors i{background:var(--club-red);width:8px;height:18px;display:block}.brand-colors i:nth-child(2){background:var(--club-yellow)}.brand-colors i:nth-child(3){background:var(--club-green)}.brand-colors i:nth-child(4){background:var(--club-blue)}.button,.icon-button,.stepper,.stepper .icon-button{border-radius:12px}.button{border:0;min-height:48px;font-weight:750;transition:transform .14s cubic-bezier(.16,1,.3,1),background-color .14s,border-color .14s}.button.primary{background:var(--club-yellow);color:var(--club-ink);border-color:#0000;box-shadow:inset 0 -3px #bf8a28,0 4px 10px #061e4c20}.button.secondary{color:var(--ui-text);border:1px solid var(--ui-line);box-shadow:none;background:0 0}.button.small{min-height:44px}.button:active:not(:disabled){transform:scale(.97);box-shadow:inset 0 -1px #17345f35}.button:disabled,.launch-action:disabled{opacity:.5;box-shadow:none}.icon-button{min-width:44px;min-height:44px;transition:transform .14s cubic-bezier(.16,1,.3,1),background-color .14s}.icon-button:active:not(:disabled){transform:scale(.93)}input:not([type=checkbox]):not([type=range]),select{border:2px solid var(--ui-line);min-height:50px;box-shadow:none;border-radius:6px}input:not([type=checkbox]):not([type=range]):focus,select:focus{border-color:var(--ui-text)}input[aria-invalid=true]{border-color:var(--ui-accent-red)}input[type=range]{accent-color:var(--club-yellow)}.field-label{font-size:14px;font-weight:750}.text-button{text-underline-offset:4px;min-height:44px;font-weight:650}.launch-screen .wordmark{color:var(--club-paper)}.launch-screen .brand-colors{display:none}.setup-page{height:100dvh;min-height:0;padding-bottom:max(12px, env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 20%, var(--stage-light,#1d56a3), var(--stage,#123d86) 80%);flex-direction:column;display:flex;position:relative}.setup-page>.app-header{width:min(1280px,100%);height:76px;color:var(--club-paper);flex-shrink:0;margin-inline:auto;padding-inline:28px}.setup-page>.app-header .button,.setup-page>.app-header .icon-button{color:var(--club-paper);border-color:#fff7e74d}.setup-content{background:var(--ui-surface);border:0;border-radius:20px;flex-direction:column;flex:1;gap:16px;width:min(780px,100% - 48px);max-width:none;min-height:0;margin-inline:auto;padding:24px 44px 20px;animation:none;display:flex;position:relative;box-shadow:0 16px 44px #061e4c30}.setup-content:before,.modal-content:before{display:none}.setup-intro{gap:12px}.setup-intro h1{letter-spacing:-.02em;font-size:clamp(32px,4vw,42px);line-height:1.08}.setup-intro>.text-button{justify-self:start;margin:-6px 0 8px;font-size:14px}.setup-intro p{max-width:50ch;font-size:16px;line-height:1.5}.setup-content h2{font-size:28px;line-height:1.1}.seat-count{padding-block:20px}.seat-count p,.crew-line span{font-size:14px}.stepper{border:2px solid var(--ui-text);box-shadow:none;padding:0}.stepper .icon-button{border-radius:5px;width:44px;height:44px}.stepper output{width:40px;font-size:20px}.crew-line{justify-content:space-around;gap:12px;padding:6px 0 12px}.crew-line>div{gap:12px;max-width:100px}.setup-disclosure{padding-block:2px}.setup-disclosure summary{font-size:14px}.setup-footer{flex-shrink:0;gap:10px;padding-top:14px}.setup-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#58687a transparent;flex-direction:column;flex:1;gap:24px;min-height:0;padding:2px 4px 12px;scroll-padding-block:12px;display:flex;overflow-y:auto}.setup-body>*{flex-shrink:0}.setup-body input{font-size:16px}.setup-footer p{margin:0;font-size:13px;line-height:1.4}.room-connection-note{background:var(--ui-line);color:#17345f;border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;padding:14px;display:grid}.room-connection-note p{margin:0;font-size:14px;line-height:1.45}.room-connection-note .text-button{grid-column:2;justify-self:start}.rules-summary{margin:12px 0}.rules-summary>div{border-bottom:1px solid var(--ui-line);grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px 16px;padding:9px 0;display:grid}.rules-summary dt{font-weight:600}.rules-summary dd{overflow-wrap:anywhere;margin:0}.rules-preset-name{margin-block:10px}.rules-combined-uno{color:var(--ui-muted);font-size:13px;line-height:1.5}.setup-footer>.button.primary,.room-form>.button.primary{min-height:56px;font-family:var(--font-card), sans-serif;text-transform:uppercase;font-size:26px;font-style:italic}.connection-state{font-size:13px}.presence-dot.online{background:var(--ui-accent-green)}.room-code-panel{border-block:2px solid var(--ui-text);background:0 0;border-radius:0;padding:20px 0}.room-code-panel strong{letter-spacing:.06em;font-size:48px;font-weight:800}.room-code-panel span{font-size:14px}.room-share-actions{flex-wrap:wrap;justify-content:flex-end}.seat-row{padding-block:16px;animation:none}.room-seats-heading{margin-top:24px}.room-seat-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;display:grid}.room-seat-list .seat-row{border-bottom:1px solid var(--ui-line);min-width:0}@media (max-width:540px){.room-seat-list{grid-template-columns:minmax(0,1fr)}.room-seats-heading .count-badge{white-space:nowrap}}.seat-row .icon-button{transition:background-color .14s,color .14s,transform .14s cubic-bezier(.16,1,.3,1)}@media (hover:hover) and (pointer:fine){.seat-row .icon-button:hover{color:var(--ui-accent-red);background:#ff536f20}}.seat-row .icon-button:active{transform:scale(.92)}.error-message,.game-error{color:#8b0526;background:#ffe1e7;border:1px solid #c50730;border-radius:6px;font-size:14px}.modal{transform-origin:50%;opacity:0;transition:opacity .18s cubic-bezier(.16, 1, .3, 1), transform .18s cubic-bezier(.16, 1, .3, 1), overlay .18s allow-discrete, display .18s allow-discrete;border:0;border-radius:20px;transform:translateY(8px)scale(.97);box-shadow:0 20px 60px #061e4c66}.modal::backdrop{-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .18s cubic-bezier(.16, 1, .3, 1), overlay .18s allow-discrete, display .18s allow-discrete;background:#0b1c3acc}.modal[open]{opacity:1;transform:translateY(0)scale(1)}@starting-style{.modal[open]{opacity:0;transform:translateY(8px)scale(.97)}}.modal[open]::backdrop{opacity:1}@starting-style{.modal[open]::backdrop{opacity:0}}@supports not (@starting-style){.modal[open]{animation:club-dialog-enter .18s var(--ease-out-standard)}}.modal-content{gap:20px;padding:28px}.modal-content:before{margin-bottom:2px}.modal-heading h2{letter-spacing:-.01em;font-size:28px;line-height:1.1}.modal-heading .icon-button{color:var(--ui-muted);border-radius:8px;margin-top:-8px;transition:background-color .14s,color .14s,transform .14s cubic-bezier(.16,1,.3,1)}@media (hover:hover) and (pointer:fine){.modal-heading .icon-button:hover{color:var(--ui-text);background:#17345f14}}.modal-heading .icon-button:active{transform:scale(.92)}.settings-modal,.winner-modal{max-height:min(90dvh,850px);overflow:hidden}.settings-modal>.modal-content,.winner-modal .modal-content{max-height:inherit;flex-direction:column;gap:16px;padding:24px;display:flex}.settings-modal>.modal-content>.modal-heading,.settings-modal .modal-footer,.winner-modal .modal-heading,.winner-modal .round-actions,.winner-modal .modal-content>.muted{flex-shrink:0}.settings-modal>.modal-content>.modal-heading .icon-button{margin:0}.settings-modal .settings-panel,.winner-modal .round-details{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding-inline-end:12px;overflow-y:auto}.winner-modal .round-details{gap:16px;display:grid}.settings-rule-group{border:0;min-width:0;margin:24px 0 0;padding:0}.settings-rule-controls{border:0;min-width:0;margin:0;padding:0}.settings-rule-group legend{color:var(--ui-text);padding:0;font-size:16px;font-weight:750}.audio-muted-note{color:var(--ui-muted);padding-block:12px;font-size:13px;line-height:1.5}.crew-line>div{flex:1;min-width:0}.crew-line>div>span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.setup-disclosure summary>span{color:var(--ui-muted);margin-left:8px;font-weight:500}@media (max-height:460px){.settings-modal,.winner-modal{max-height:calc(100dvh - 24px)}.settings-modal>.modal-content,.winner-modal .modal-content{gap:8px;padding:12px 16px}.settings-modal>.modal-content>.modal-heading h2,.winner-modal .modal-heading h2{font-size:24px}.settings-modal .modal-footer{padding-top:8px}.settings-modal .modal-footer>span{font-size:12px}.winner-modal .round-winner-art{height:64px;margin-block:0}.winner-modal.has-table-score .round-winner-art{display:none}.winner-modal .round-winner-art .uno-card{--card-scale:.4!important}.winner-modal .round-winner-art>.player-avatar{border-radius:50%;width:40px;height:40px}}.preference-row{gap:16px;padding-block:18px}.preference-row .bot-challenge-select{font-size:16px}.preference-row strong{font-size:15px;font-weight:650}.preference-row small{font-size:13px}.switch-track{background:0 0;border:2px solid #777267;border-radius:6px;width:44px;height:28px;padding:3px;transition:background-color .16s cubic-bezier(.16,1,.3,1),border-color .16s cubic-bezier(.16,1,.3,1)}.switch-track:after{width:18px;height:18px;box-shadow:none;background:#777267;border-radius:2px;transition:transform .16s cubic-bezier(.16,1,.3,1),background-color .16s cubic-bezier(.16,1,.3,1)}.preference-row input:checked+.switch-track{background:var(--club-yellow);border-color:var(--club-ink)}.preference-row input:checked+.switch-track:after{background:var(--club-ink);transform:translate(16px)}.preference-row:active .switch-track:after{width:18px}.color-choice{border:2px solid var(--club-ink);font-family:var(--font-card), sans-serif;text-transform:uppercase;border-radius:8px;font-size:28px;font-style:italic;transition:transform .14s cubic-bezier(.16,1,.3,1),box-shadow .14s;box-shadow:inset 0 -3px #17345f35}.color-choice:active{transform:scale(.97);box-shadow:inset 0 -1px #17345f35}.color-choice span{box-shadow:none;border-radius:3px}.player-progress{color:var(--ui-text)}.milestone-stamp{box-shadow:none;background:var(--ui-surface);border-radius:6px}.milestone-stamp.earned{background:var(--club-yellow);color:var(--club-ink);border-color:var(--club-ink)}.milestone-stamp strong{font-size:13px}.milestone-stamp small{font-size:12px}.collection-fan i.collected{background:var(--club-yellow);border-color:var(--club-ink)}.round-scorecard ul{padding:0}.table-score-caption{margin-bottom:12px;font-size:13px;line-height:1.4}.scorecard-heading h3{font-family:var(--font-body), sans-serif;font-size:16px;font-weight:750}.scorecard-heading>span,.result-player-name small{font-size:12px}.round-scorecard li{min-height:48px;padding-inline:0}.round-scorecard li .player-avatar{border-width:2px;border-radius:50%;width:32px;height:32px}.round-winner-row .result-card-count{color:var(--ui-accent-green)}.round-winner-row{font-weight:750}.result-player-name{font-size:15px}.result-player-out{color:var(--ui-muted);font-size:14px}.round-finish-reason{text-align:center}.round-actions .button.primary svg{transition:transform .16s cubic-bezier(.16,1,.3,1)}@media (hover:hover) and (pointer:fine){.round-actions .button.primary:hover svg{transform:translate(4px)}}.game-page{z-index:1;position:relative}.game-header{border:0;border-image:}.game-header .wordmark{color:#fff7e7;font-size:36px}.game-header .brand-colors{display:none}.game-header .game-menu-trigger{color:#fff7e7;box-shadow:none;background:#08265760;border:0;border-radius:14px}.game-menu-modal .game-menu>button{color:var(--ui-text);border:1px solid var(--ui-line);background:0 0;border-radius:6px}.game-menu-modal .game-menu>button>svg:first-child{color:var(--ui-muted)}.game-menu-modal .game-menu>.game-leave-control{color:var(--ui-accent-red);border-color:var(--ui-accent-red)}.game-menu-modal .game-menu-context,.game-menu-modal .game-turn-order{color:var(--ui-muted)}.game-menu-modal .game-turn-order .active{color:var(--ui-text)}.game-menu-modal .room-code-control{color:var(--ui-text);background:0 0}.rotate-phone{color:var(--club-paper)}.loading-screen{color:var(--club-paper);position:relative}.loading-screen .wordmark{color:var(--club-paper)}.uno-toast{border:2px solid var(--club-ink)!important;background:var(--club-paper)!important;color:var(--club-ink)!important;font-family:var(--font-body), sans-serif!important;border-radius:8px!important}@keyframes club-dialog-enter{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@media (hover:hover) and (pointer:fine){.button.primary:hover:not(:disabled){background:#ffdc36}.button.secondary:hover:not(:disabled),.game-menu-modal .game-menu>button:hover:not(:disabled){background:#ffd45a20}.stepper .icon-button:hover:not(:disabled){transform:none}}@media (max-width:700px){.setup-page>.app-header{height:64px;padding-inline:20px}.setup-content{gap:22px;width:calc(100% - 24px);padding:24px 20px}.setup-intro h1{font-size:34px}.setup-intro p{font-size:15px}.seat-count{gap:12px}.setup-content h2{font-size:25px}.stepper output{width:28px}.crew-line{gap:8px}.crew-line span{font-size:12px}.room-code-panel{flex-wrap:wrap}.room-share-actions{justify-content:flex-start}.modal-content{padding:22px}.modal-heading h2{font-size:32px}}@media (max-height:540px){.setup-page>.app-header{height:44px;min-height:44px}.setup-content{gap:10px;width:calc(100% - 24px);padding:12px 20px}.setup-body{gap:16px}.setup-intro h1{font-size:28px}.setup-intro p{font-size:14px}.setup-footer{gap:6px;padding-top:10px}.setup-footer>.button.primary{min-height:44px;font-size:20px}}@media (orientation:landscape) and (max-height:540px) and (min-width:541px){.wordmark,.wordmark.compact,.game-header .wordmark{font-size:28px}.game-header{border-top-width:3px}.game-menu-modal .modal-content,.color-picker-modal .modal-content{gap:10px;padding:14px 18px}.game-menu-modal .modal-content:before,.color-picker-modal .modal-content:before{display:none}.game-menu-modal .modal-heading h2,.color-picker-modal .modal-heading h2{font-size:28px}.game-menu-modal .game-menu>button{min-height:44px;padding:7px 10px}.game-menu-modal .game-menu-context{font-size:12px}}@media (prefers-reduced-motion:reduce){.modal[open]{animation:none}.button:active:not(:disabled){transform:none}}
html[data-reduced-motion=true] *,html[data-reduced-motion=true] :before,html[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}:root .modal.settings-modal{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--settings-gutter:24px;--ui-bg:var(--club-paper);--ui-surface:#fffcf4;--ui-text:var(--club-ink);--ui-muted:#58687a;--ui-line:#ccd3da;--ui-accent-blue:#1254b5;--ui-accent-red:#c50730;--ui-accent-green:#007943}:root .modal.settings-modal[class*=settings-tone-]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--settings-ground:#17345f;--settings-highlight:#24466f;--ui-bg:var(--settings-ground);--ui-surface:var(--settings-ground);--ui-text:var(--club-paper);--ui-muted:#c3d5ee;--ui-line:#557194;--ui-accent-blue:var(--club-yellow);--ui-accent-red:#ff93aa;--ui-accent-green:#7de0b0}:root .modal.settings-modal.settings-tone-no-mercy{--settings-ground:#2c1e29;--settings-highlight:#40303d;--ui-muted:#d6c1d0;--ui-line:#7a6373}:root .modal.settings-modal.settings-tone-all-wild{--settings-ground:#322447;--settings-highlight:#49365f;--ui-muted:#d6c7e8;--ui-line:#7d6a94}.settings-modal{background:var(--ui-surface);width:min(620px,100vw - 32px);height:fit-content;max-height:min(800px,100dvh - 40px);color:var(--ui-text);border-radius:24px}.settings-modal>.modal-content{max-height:inherit;flex-direction:column;gap:0;padding:0;display:flex}.settings-modal>.modal-content>.modal-heading{min-height:80px;padding:18px var(--settings-gutter);background:var(--settings-ground,#123d86);color:var(--club-paper);border:0;flex:none;align-items:center}.settings-modal>.modal-content>.modal-heading h2{color:inherit;font-size:26px;line-height:1.15}.settings-modal>.modal-content>.modal-heading .icon-button{width:44px;height:44px;color:inherit;background:0 0;flex:none;margin:0}.settings-modal>.modal-content>.modal-heading .modal-back-btn{margin-left:-10px}.settings-modal>.modal-content>.modal-heading :focus-visible{outline-color:var(--club-yellow)}.settings-modal .settings-panel{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;min-height:0;padding:20px var(--settings-gutter) 16px;flex:auto;overflow:auto}.settings-choices{gap:8px;display:grid}.settings-choices>button{min-height:76px;color:var(--ui-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:16px;padding:16px;transition:transform .12s ease-out,background-color .15s ease-out;display:flex}.settings-choices>button:active{transform:scale(.99)}.settings-choices>button:last-child{border-bottom:0}.settings-choices>button>span:first-of-type{flex:1}.settings-choices strong{font-size:18px;font-weight:650;display:block}.settings-choices small{color:var(--ui-muted);margin-top:4px;font-size:14px;display:block}.settings-choices>button>svg{flex:none}.settings-choices>button>svg:last-child{transition:transform .16s cubic-bezier(.16,1,.3,1)}.settings-modal .modal-footer{padding:16px var(--settings-gutter) 20px;border:0;flex:none;justify-content:flex-end;align-items:center;gap:12px;margin:0;display:flex}.settings-modal .modal-footer .button{min-width:112px}.settings-modal .modal-footer [role=status]{margin-right:auto}.settings-modal :focus-visible{outline:3px solid var(--ui-accent-blue);outline-offset:3px}.settings-modal .settings-panel:focus-visible{outline-offset:-3px}.settings-modal .preference-row{border:0;gap:16px;min-height:64px;padding-block:12px}.settings-modal .switch-track{background:#ccd3da;border:0;border-radius:999px;flex:none;width:44px;height:26px;padding:4px;transition:background-color .16s cubic-bezier(.16,1,.3,1)}.settings-modal .switch-track:after{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .16s cubic-bezier(.16,1,.3,1),width .12s ease-out;box-shadow:0 1px 3px #17345f30}.settings-modal .preference-row input:checked+.switch-track{background:var(--ui-accent-blue);border:0}.settings-modal .preference-row input:checked+.switch-track:after{background:#fff;transform:translate(18px)}.settings-modal .preference-row:active .switch-track:after{width:18px}.settings-modal .preference-row strong{font-size:16px;font-weight:600}.settings-modal .settings-disclosure{background:var(--settings-highlight,#f0eadf);color:var(--ui-text);border:0;border-radius:12px;margin:8px 0;padding:0 16px;display:block}.settings-disclosure>summary{cursor:pointer;align-items:center;gap:10px;min-height:52px;padding:12px 0;font-size:14px;font-weight:600;list-style:none;display:flex}.settings-disclosure>summary::-webkit-details-marker{display:none}.settings-disclosure>summary>svg:last-child{flex:none;margin-left:auto;transition:transform .16s cubic-bezier(.16,1,.3,1)}.settings-disclosure[open]>summary>svg:last-child{transform:rotate(180deg)}.settings-disclosure>fieldset{border:0;min-width:0;margin:0;padding:0 0 12px}.settings-disclosure>fieldset .preference-row:last-child{border-bottom:0}.profile-name-form{gap:8px;margin-bottom:20px;display:grid}.profile-name-form label,.profile-name-form .field-label{margin:0;font-size:14px;font-weight:600}.profile-name-form input{width:100%;min-width:0}.settings-modal .avatar-picker{border:0;min-width:0;margin:0 0 24px;padding:0}.avatar-picker h3{margin-bottom:16px;font-size:14px;font-weight:600}.settings-modal .avatar-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0;display:grid}.settings-modal .avatar-options button{aspect-ratio:1;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:16px;place-items:center;min-width:0;min-height:56px;padding:4px;transition:transform .12s ease-out,background-color .15s ease-out,border-color .15s ease-out;display:grid;position:relative;transform:none}.settings-modal .avatar-options button:active{transform:scale(.94)}.settings-modal .avatar-options button[aria-pressed=true]{border-color:var(--ui-accent-blue);background:var(--settings-highlight,#e8f0ff)}.settings-modal .avatar-options .player-avatar.large{width:44px;height:44px}.settings-modal .avatar-options .avatar-selected{background:var(--ui-accent-blue);width:20px;height:20px;color:var(--settings-ground,#fff);border-radius:50%;padding:3px;position:absolute;bottom:-3px;right:-3px}.profile-history .player-progress{margin:8px 0 20px}.settings-game-actions{border:0;flex-wrap:wrap;gap:20px;margin-top:12px;padding-top:16px;display:flex}.settings-link{min-height:44px;color:var(--ui-text);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:14px;font-weight:600;display:inline-flex}@media (hover:hover){.settings-choices>button:hover{background:var(--settings-highlight,#f0eadf)}.settings-back:hover{color:var(--ui-text)}.settings-modal .avatar-options button:hover{background:var(--ui-bg)}}@media (max-width:640px){.settings-modal{border-radius:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}:root .modal.settings-modal{--settings-gutter:20px}.settings-modal>.modal-content>.modal-heading{min-height:72px;padding:14px var(--settings-gutter)}.settings-modal .settings-panel{padding:16px var(--settings-gutter)}.settings-modal .modal-footer{padding:12px var(--settings-gutter) 16px}.settings-modal .avatar-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.settings-modal .avatar-options button{aspect-ratio:auto;min-height:64px}}@media (max-height:500px){.settings-modal{max-height:calc(100dvh - 16px)}.settings-modal>.modal-content>.modal-heading{min-height:52px;padding-block:12px}.settings-modal>.modal-content>.modal-heading h2{font-size:24px}.settings-modal .settings-panel{padding-block:8px}.settings-modal .modal-footer{padding-block:8px 12px}.settings-modal .avatar-options{grid-template-columns:repeat(7,minmax(0,1fr))}}.profile-menu{display:inline-flex;position:relative}.profile-menu-trigger{background:0 0;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:relative}.profile-menu-trigger>.player-avatar{border:2px solid var(--club-paper);border-radius:50%;width:44px;height:44px}.profile-menu-badge{background:var(--club-red);min-width:20px;height:20px;color:var(--club-paper);border-radius:12px;place-items:center;padding-inline:4px;font-size:12px;font-weight:750;display:grid;position:absolute;top:-1px;right:-3px}.profile-popover{background:var(--ui-surface);width:min(288px,100vw - 32px);color:var(--ui-text);box-shadow:var(--ui-shadow);transform-origin:100% 0;border:0;border-radius:16px;margin:0;padding:8px;position:fixed;inset:70px 24px auto auto}.profile-popover-identity{border:0;align-items:center;gap:12px;padding:12px;display:flex}.profile-popover-identity strong{overflow-wrap:anywhere}.profile-popover nav{gap:2px;padding-top:8px;display:grid}.profile-popover nav button{min-height:48px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:12px;font-size:15px;display:flex}.profile-popover nav button>svg:last-child{margin-left:auto}.profile-popover nav button:hover{background:var(--ui-bg)}.count-badge{background:var(--ui-bg);min-width:24px;height:24px;color:var(--ui-text);border-radius:12px;place-items:center;padding-inline:6px;font-size:12px;display:inline-grid}.friends-panel{gap:32px;display:grid}.friends-panel section{min-width:0}.friends-panel h3{align-items:center;gap:10px;margin:0 0 12px;font-size:18px;font-weight:650;display:flex}.friend-add-form{gap:8px;display:flex}.friend-add-form input{flex:1;min-width:0}.friend-add-form .button{white-space:nowrap}.friend-own-code{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;font-size:14px;display:flex}.friend-row{border-bottom:0;align-items:center;gap:12px;min-height:76px;padding-block:12px;display:flex}.friend-row>.player-avatar{border-radius:50%;flex:none;width:40px;height:40px}.friend-row>div{flex:1;min-width:0}.friend-row strong{overflow-wrap:anywhere;font-size:15px;display:block}.friend-row small{color:var(--ui-muted);align-items:center;gap:6px;font-size:13px;display:flex}.friend-row .button{flex:none}.friend-remove-confirm{background:var(--settings-highlight,var(--ui-bg));border-radius:12px;margin-bottom:12px;padding:16px}.friend-remove-confirm p{overflow-wrap:anywhere;margin:0 0 12px;font-size:14px;line-height:1.5}.friend-remove-confirm>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.friend-remove-confirm .button{min-height:44px}.friend-picker-modal{width:min(520px,100vw - 24px);max-height:calc(100dvh - 24px)}.invitation-notices{top:max(80px, env(safe-area-inset-top));z-index:100;pointer-events:none;gap:12px;width:min(380px,100vw - 32px);display:grid;position:fixed;right:20px}.invite-notice{pointer-events:auto;padding:24px;background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow);border-radius:16px;grid-template-columns:24px minmax(0,1fr);gap:12px;padding-right:44px;display:grid;position:relative}.invite-notice strong{overflow-wrap:anywhere;font-size:16px;display:block}.invite-notice p{color:var(--ui-muted);margin-top:4px;font-size:14px}.invite-notice-close{position:absolute;top:2px;right:2px}.invite-notice-actions{grid-column:1/-1;gap:8px;padding-top:4px;display:flex}.invite-notice-actions>button{flex:1}.focused-room-form{padding-block:24px}.room-joining-as{margin-top:20px;font-size:14px}.room-seat-actions{gap:12px;display:flex}.room-seat-actions>button{flex:1;min-height:48px}.room-rules-link{width:100%;color:var(--ui-muted);align-items:center;gap:8px;padding-block:12px;display:flex}.room-rules-link>svg:last-child{margin-left:auto}.room-add-friend{color:var(--ui-accent-blue)}.focused-room .setup-body{gap:16px}.focused-room .setup-intro h1{font-size:32px}.focused-room .room-code-panel{border-block:1px solid var(--ui-line);padding-block:12px}.focused-room .room-code-panel strong{font-size:32px}.focused-room .room-seats-heading{margin-top:0}.focused-room .setup-content h2{font-size:24px}.focused-room .room-seat-list .seat-row{min-height:64px;padding-block:12px}.room-entry .setup-content{flex:0 auto;gap:24px;width:min(560px,100% - 48px);max-height:calc(100dvh - 100px);margin-block:auto;padding:28px}.room-entry .setup-body{gap:20px}.room-entry .focused-room-form{padding-block:0}.room-entry .setup-footer>.button.primary{font-family:var(--font-body), sans-serif;text-transform:none;font-size:18px;font-style:normal}@media (max-width:640px){.room-entry .setup-content{gap:20px;width:calc(100% - 24px);padding:24px 20px}}@media (max-height:540px){.room-entry .setup-content{gap:10px;width:calc(100% - 24px);max-height:calc(100dvh - 64px);padding:12px 20px}.room-entry .setup-footer>.button.primary{min-height:44px;font-size:18px}}.modal .invitation-notices{width:min(380px,100% - 32px);position:absolute;top:72px;right:16px}@media (prefers-reduced-motion:no-preference){.profile-popover:popover-open{animation:.16s cubic-bezier(.16,1,.3,1) profile-reveal}.invite-notice{animation:.18s cubic-bezier(.16,1,.3,1) profile-reveal}@keyframes profile-reveal{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}}@media (max-width:640px){.friend-add-form{flex-wrap:wrap}.friend-add-form input{flex-basis:100%}.friend-add-form button{width:100%}.friend-row{gap:8px}.friend-row .button{padding-inline:12px}.profile-popover{right:16px}.room-seat-list{grid-template-columns:1fr}}@media (max-height:500px){.profile-popover{max-height:calc(100dvh - 66px);top:54px;overflow-y:auto}.invitation-notices{top:54px}}@media (prefers-reduced-motion:reduce){.settings-modal *,.settings-modal :before,.settings-modal :after,.profile-popover,.invite-notice{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (max-height:500px) and (min-width:500px){.friend-add-form{flex-wrap:nowrap}.friend-add-form input{flex-basis:auto}.friend-add-form button{width:auto}}.rule-profile-caption{color:var(--ui-muted);margin:0 0 12px;font-size:14px;line-height:1.5}.rule-profile-row{border-bottom:0;align-items:center;gap:12px;min-height:80px;margin-inline:-12px;padding:12px;transition:background-color .15s ease-out;display:flex}.rule-profile-row[data-selected]{background:var(--settings-highlight,#e8f0ff);border-color:#0000;border-radius:12px}.rule-profile-select{min-width:0;min-height:48px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:0;transition:transform .12s ease-out;display:flex}.rule-profile-select:active{transform:scale(.99)}.rule-profile-select>span:last-child{min-width:0}.rule-profile-select strong{overflow-wrap:anywhere;align-items:center;gap:8px;font-size:16px;display:flex}.rule-profile-select small{color:var(--ui-muted);margin-top:4px;font-size:13px;line-height:1.4;display:block}.rule-profile-active{color:var(--ui-accent-blue);flex:none}.rule-profile-mark{pointer-events:none;flex:none;place-items:center;width:32px;height:44px;display:grid}.rule-profile-actions{flex:none;gap:4px;display:flex}.rule-profile-actions .icon-button{border-radius:50%;width:40px;height:40px;transition:transform .12s ease-out,background-color .15s ease-out,color .15s ease-out}.rule-profile-actions .icon-button:active{transform:scale(.92)}.rule-profile-actions [aria-pressed=true]{color:var(--ui-accent-blue)}.rule-profile-new{color:var(--ui-accent-blue);margin-top:12px}.rule-profile-base{color:var(--ui-muted);margin:0 0 16px;font-size:13px}.rule-duplicate{color:var(--ui-accent-blue);margin-top:16px}.rule-profile-editor{flex-direction:column;flex:auto;min-height:0;display:flex}.rule-editor-fields{border:0;min-width:0;margin:0;padding:0}.rule-editor-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.rule-delete{color:var(--ui-accent-red);align-items:center;gap:6px;margin-left:auto;display:flex}.rule-delete-prompt{overflow-wrap:anywhere;flex-basis:100%;margin:0;font-size:14px;line-height:1.4}.favorite-replace-options{gap:8px;margin-bottom:0;display:grid}.favorite-replace-option-btn{border:1px solid var(--ui-line);background:var(--ui-surface);min-height:76px;color:var(--ui-text);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:12px 16px;transition:transform .12s ease-out,background-color .15s ease-out,border-color .15s ease-out;display:flex}.favorite-replace-option-btn:active{transform:scale(.99)}.favorite-replace-option-btn>svg:last-child{transition:transform .16s cubic-bezier(.16,1,.3,1)}.favorite-replace-text{flex:1;min-width:0}.favorite-replace-text strong{overflow-wrap:anywhere;font-size:16px;display:block}.favorite-replace-text small{color:var(--ui-muted);margin-top:2px;font-size:13px;display:block}.favorite-replace-option-btn:focus-visible{outline:3px solid var(--ui-accent-blue);outline-offset:3px}:root .favorite-replace-modal{width:min(520px,100vw - 32px)}.settings-modal .preference-row .setting-select>select{border:1px solid var(--ui-line);border-radius:12px;height:48px;padding:10px 40px 10px 14px;font-size:16px}.settings-modal .preference-row .setting-select{width:132px}.settings-modal .volume-row{border:0;gap:10px;padding-block:14px;display:grid}.settings-modal .volume-row label{color:var(--ui-text);justify-content:space-between;align-items:center;font-size:16px;font-weight:600;display:flex}.settings-modal .volume-row output{color:var(--ui-muted);font-variant-numeric:tabular-nums;font-size:14px;font-weight:500}.settings-modal .volume-row input[type=range]{width:100%;height:28px;accent-color:var(--ui-accent-blue);cursor:pointer}.settings-modal .volume-row .text-button{min-height:36px;color:var(--ui-accent-blue);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:13px;font-weight:600;transition:opacity .15s ease-out}.settings-modal .volume-row .text-button:disabled{opacity:.5;cursor:not-allowed}.settings-modal .audio-muted-note{background:var(--settings-highlight,#e8f0ff);color:var(--ui-text);border-radius:12px;margin:4px 0 12px;padding:10px 14px;font-size:13px;line-height:1.4}@media (hover:hover){.settings-modal>.modal-content>.modal-heading .icon-button:hover{background:#ffffff1c}.rule-profile-select:hover{color:var(--ui-accent-blue)}.rule-profile-actions .icon-button:hover{color:var(--ui-accent-blue);background:#1254b514}.favorite-replace-option-btn:hover{background:var(--settings-highlight,#e8f0ff);border-color:var(--ui-accent-blue)}.favorite-replace-option-btn:hover>svg:last-child{transform:translate(3px)}}.settings-modal .settings-appearance .preference-row{flex-wrap:wrap}.settings-modal .settings-appearance .setting-select{width:180px;max-width:100%}
