:root{color:#19372b;font-synthesis:none;background:#f4f6ed;font-family:Inter,system-ui,sans-serif}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer;color:#234a35;background:#fff;border:1px solid #ccd8cb;border-radius:12px;padding:.75rem 1rem;font-weight:650}button:hover:not(:disabled){background:#edf6e7;border-color:#3b7851}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #c4a62b}.primary{color:#fff;background:#28633f;border-color:#28633f}.primary:hover:not(:disabled){background:#1e4f30}.quiet{padding:.45rem .6rem;font-size:.8rem}.danger{color:#974139}header{border-bottom:1px solid #dce4d5;justify-content:space-between;align-items:center;gap:1rem;max-width:1160px;margin:auto;padding:1.5rem 2rem;display:flex}.brand{letter-spacing:.08em;color:inherit;font-size:1.25rem;font-weight:850;text-decoration:none}.brand span{letter-spacing:.1em;background:#efde88;border-radius:7px;margin-left:.6rem;padding:.35rem .5rem;font-size:.65rem;display:inline-block}.profile{overflow-wrap:anywhere;font-size:.9rem}main{max-width:1160px;margin:auto;padding:1.5rem 2rem 3rem}h1{letter-spacing:-.035em;margin:.4rem 0 1rem;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.15}h2{margin:0 0 1rem;font-size:1.1rem}h3{overflow-wrap:anywhere;margin:0;font-size:1rem}p{line-height:1.6}.eyebrow{letter-spacing:.16em;color:#5c7c49;font-size:.7rem;font-weight:800}.muted,.hint{color:#61765f}.hint{font-size:.85rem}.connection{color:#7d7154;margin:0 0 1.4rem;font-size:.8rem}.connection.live{color:#348349}.room-head{justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0;display:flex}.code{letter-spacing:.07em;color:#2d4e37;overflow-wrap:anywhere;font-family:ui-monospace,monospace}.pill{white-space:nowrap;background:#e4efd9;border-radius:30px;padding:.55rem .9rem;font-size:.8rem}.panel{background:#fff;border:1px solid #dce5d6;border-radius:20px;margin-bottom:1.2rem;padding:1.6rem;box-shadow:0 5px 20px #18382005}.lobby-grid{grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr);gap:1.2rem;display:grid}.entry-grid{grid-template-columns:1.2fr 1fr;gap:1.3rem;display:grid}.section-title{justify-content:space-between;align-items:baseline;display:flex}.section-title>span,.count{color:#708369;font-size:.85rem}.player{border-top:1px solid #edf0e7;flex-wrap:wrap;align-items:center;gap:.8rem;padding:1rem 0;display:flex}.avatar{background:#f3f4e8;border-radius:15px;place-items:center;width:48px;height:48px;font-size:1.8rem;display:grid}.player-info{flex:1;min-width:120px}.player-info p{color:#76806f;margin:.3rem 0 0;font-size:.75rem}small{color:#73806a;font-weight:400}.ready{color:#858775;background:#f5f5ef;border-radius:6px;padding:.35rem .55rem;font-size:.73rem}.ready.yes{color:#28663b;background:#e8f4df}.actions{flex-wrap:wrap;gap:.65rem;margin:1.4rem 0 .5rem;display:flex}.queue{padding-left:1.3rem}.queue li{padding:.6rem 0}.queue small{margin-top:.2rem;display:block}.welcome{background:linear-gradient(135deg,#fff,#fffdf0);max-width:640px;margin:2rem auto;padding:2.4rem}form{gap:1rem;display:grid}label{gap:.45rem;font-size:.85rem;font-weight:600;display:grid}input,select{color:#203928;background:#fff;border:1px solid #ccd8cb;border-radius:10px;width:100%;min-width:0;padding:.8rem}form button{justify-self:start}.alert{background:#fff3e6;border:1px solid #efd4ac;border-radius:12px;margin-bottom:1rem;padding:1rem;line-height:1.5}.alert button{margin-top:.7rem;display:block}.room-list{padding:0;list-style:none}.room-list button{text-align:left;width:100%;margin:.3rem 0}.room-list small{padding-top:.3rem;display:block}footer{color:#809074;border-top:1px solid #dce4d5;max-width:1160px;margin:auto;padding:1.5rem 2rem;font-size:.8rem}@media (width<=760px){header,main,footer{padding-left:1rem;padding-right:1rem}.lobby-grid,.entry-grid{grid-template-columns:1fr}.room-head{flex-direction:column;align-items:flex-start}.panel{padding:1.1rem}.brand span{margin-left:0}.actions button{flex:1}.welcome{padding:1.5rem}.profile{max-width:38%}}.phase{text-align:center}.countdown{color:#28633f;font-size:4rem}.match-stats{flex-wrap:wrap;gap:1rem;display:flex}.board-scroll{background:#dce5d6;border-radius:12px;max-width:100%;padding:.5rem;overflow-x:auto}.match-board{grid-template-columns:repeat(16,minmax(0,1fr));gap:3px;min-width:480px;display:grid}.tile{aspect-ratio:1;color:#234a35;background:#fffdf0;place-items:center;font-size:clamp(.7rem,1.6vw,1.2rem);display:grid}.tile.empty{background:0 0}.match-board{grid-template-columns:repeat(18,minmax(0,1fr));gap:0;min-width:576px;position:relative}.tile,.route-pad{aspect-ratio:1;min-width:0;margin:2px}.tile{border:1px solid #d3dccb;border-radius:5px;padding:0;font-weight:600}.tile:disabled{opacity:1}.tile.empty{border:0}.tile.selected{outline-offset:-3px;background:#dcf2c7;outline:3px solid #28633f}.tile.hinted{background:#ffed8d}.tile:focus-visible{outline-offset:-3px;outline:3px solid #bc8b12}.connection-path{pointer-events:none;color:#d76e17;width:100%;height:100%;position:absolute;inset:0}.command-feedback{color:#345d3e;min-height:2.5rem;margin:1rem 0}.board-scroll:focus-visible{outline-offset:2px;outline:3px solid #bc8b12}.results-scroll{overflow:auto}.results-screen table{border-collapse:collapse;text-align:left;width:100%}.results-screen th,.results-screen td{white-space:nowrap;border-bottom:1px solid #cbd5e1;padding:.75rem}.results-screen th[scope=row]{white-space:normal;overflow-wrap:anywhere;min-width:8rem}.history-screen table{border-collapse:collapse;text-align:left;width:100%}.history-screen th,.history-screen td{white-space:nowrap;border-bottom:1px solid #cbd5e1;padding:.75rem}.history-screen h1:focus{outline:none}.history-screen [role=alert]{margin:1rem 0}.leaderboard table{border-collapse:collapse;text-align:left;width:100%}.leaderboard td,.leaderboard th{white-space:nowrap;border-bottom:1px solid #cbd5e1;padding:.65rem}.leaderboard th[scope=row]{white-space:normal;overflow-wrap:anywhere;min-width:8rem}dialog{max-width:min(30rem,100vw - 2rem);color:inherit;border:1px solid #cbd5e1;border-radius:1rem;padding:1.5rem}dialog::backdrop{background:#00000073}.terminal-notice{background:#fff3dc;border-radius:.75rem;padding:1rem}.room-dialog{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:18px;width:min(520px,100vw - 32px);max-height:85dvh;padding:24px;overflow:auto}.room-dialog::backdrop{background:#0f172a99}.room-dialog form{gap:14px;display:grid}.room-dialog input,.room-dialog select{box-sizing:border-box;width:100%}.room-fields{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.room-fields input,.room-fields select{box-sizing:border-box;width:100%}.room-browser{margin-top:28px}.room-card{overflow-wrap:anywhere;border:1px solid #dce2d7;border-radius:12px;padding:16px}.room-card h3{margin-top:0}.room-card p{font-size:.9rem}.room-browser select{max-width:100%}.art{vertical-align:middle;flex-shrink:0;display:inline-flex}.art img{object-fit:contain;max-width:100%;display:block}.profile,.room-card h3{align-items:center;gap:8px;display:flex}.avatar .art{background:0 0}.tile-icon{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:3px;width:100%;height:100%;min-height:0;display:block}.rank-player{align-items:center;gap:.45rem;display:inline-flex}.rank-medal{flex-shrink:0;font-size:1.65rem}.live-rank{min-width:1.4rem;font-weight:800;display:inline-block}.rank-change{border-radius:.4rem;margin-left:.35rem;padding:.16rem .35rem;font-size:.7rem;font-weight:800;animation:.5s ease-out rank-pop;display:inline-block}.rank-change.up{color:#166534;background:#dcfce7}.rank-change.down{color:#9a3412;background:#ffedd5}.leaderboard tbody tr{background:#fff;position:relative}@keyframes rank-pop{0%{opacity:0;transform:translateY(8px)scale(.8)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.rank-change{animation:none}}.rank-player{min-width:15rem}.rank-name{overflow-wrap:break-word;word-break:normal;min-width:9rem;max-width:15rem}.rank-medal{align-items:center;width:30px;display:inline-flex}:root{--ui-bg:#101e30;--ui-surface:#182b40;--ui-border:#39516a;--ui-text:#edf4fc;--ui-muted:#b3c4d6;--ui-accent:#72e1bc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scrollbar-color:#64849b #15283a;scrollbar-width:thin}*{box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#15283a}::-webkit-scrollbar-thumb{background:#64849b;border:2px solid #15283a;border-radius:8px}:focus-visible{outline-offset:3px;outline:3px solid #ffdc80}.ui-icon{vertical-align:middle;flex:none;margin-right:5px}button:has(>.ui-icon){justify-content:center;align-items:center;gap:4px;display:inline-flex}summary{cursor:pointer}textarea{font:inherit;resize:vertical;min-height:80px}button,a,input,select,summary{touch-action:manipulation}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app.modern-shell>.app-header{border-bottom:1px solid var(--ui-border);z-index:50;background:#112135;flex-wrap:nowrap;align-items:center;gap:20px;max-width:none;min-height:68px;padding:10px 24px;display:flex;position:relative}.modern-shell .app-header .brand{gap:7px;font-size:19px}.main-nav{align-items:center;gap:5px;display:flex}.main-nav a,.main-nav button{min-height:42px;color:var(--ui-muted);white-space:nowrap;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;padding:8px 12px;font-size:13px;text-decoration:none;display:flex}.main-nav [aria-current],.main-nav a:hover,.main-nav button:hover{color:var(--ui-accent);background:#25465a}.header-personal{align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}.header-personal>button{min-height:42px}.personal-menu{position:relative}.personal-menu>summary{border:1px solid var(--ui-border);border-radius:12px;align-items:center;gap:8px;min-height:44px;padding:4px 8px;list-style:none;display:flex}.personal-menu>summary::-webkit-details-marker{display:none}.personal-menu .cosmetic-avatar{width:30px!important;height:30px!important}.personal-menu .profile-name{text-overflow:ellipsis;white-space:nowrap;max-width:100px;font-size:13px;overflow:hidden}.personal-menu-items{border:1px solid var(--ui-border);z-index:100;background:#182b40;border-radius:12px;width:220px;padding:8px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #0008}.personal-menu-items>button{justify-content:flex-start;width:100%;margin:3px 0}.count-badge{background:#bd414b;border-radius:12px;padding:2px 6px;color:#fff!important}.modern-shell.game-shell>main{max-width:1440px;padding:18px 24px 40px}.modern-shell .hall-heading{gap:16px;margin:4px 0 20px}.modern-shell .hall-heading h1{margin:5px 0;font-size:30px}.hall-action-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hall-action-buttons .quick-play{min-width:190px;font-size:17px;padding:10px 16px!important}.hall-action-buttons .quick-play svg{width:22px}.modern-shell .hall-heading p{margin:6px 0}.modern-shell .room-list{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.modern-shell .room-card{padding:14px}.modern-shell .room-card h3{min-height:0}.modern-shell .table-host{margin:6px 0 10px}.modern-shell .room-head h1{font-size:26px}.modern-shell .room-head{padding:6px 0}.modern-shell .player{padding:10px}.modern-shell .room-connection{font-size:11px}.modern-shell .connection{margin-bottom:8px}@media (width>=1024px){body{--chat-rail:clamp(300px,26vw,390px)}.app:has(.chat-panel:not(.chat-mobile):not(.chat-collapsed))>main{max-width:none;padding-right:calc(var(--chat-rail) + 40px)}.app .chat-panel:not(.chat-mobile):not(.chat-collapsed){width:var(--chat-rail);max-height:calc(100dvh - 92px);bottom:16px;right:16px}.match-pc .rank-settings{flex-wrap:wrap}.match-pc .rank-options{gap:4px 10px}.match-pc .rank-options legend{line-height:30px}.match-pc .rank-options label{min-height:32px}.app:has(.chat-panel:not(.chat-mobile):not(.chat-collapsed)) .rank-options{display:none}.match-pc:has(>.chat-panel:not(.chat-mobile):not(.chat-collapsed)) .pc-workspace{grid-template-columns:minmax(0,var(--frame-width));justify-content:center}:is(.match-pc:has(>.chat-panel:not(.chat-mobile):not(.chat-collapsed)) .pc-game-column,.match-pc:has(>.chat-panel:not(.chat-mobile):not(.chat-collapsed)) .pc-ranking){grid-column:1;width:100%;min-width:0;max-width:none}.match-pc:has(>.chat-panel:not(.chat-mobile):not(.chat-collapsed)) .pc-ranking{grid-row:2;max-height:none}}dialog.game-dialog.progress-hub,dialog.game-dialog.community-dialog,dialog.room-dialog,dialog.hall-dialog{background:var(--ui-bg);color:var(--ui-text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:1px solid var(--ui-border);overscroll-behavior:contain;border-radius:16px;max-height:90dvh;padding:18px;overflow:auto;box-shadow:0 24px 80px #0009}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#050e20b8}dialog.progress-hub .community-titlebar,dialog .community-titlebar{z-index:5;background:var(--ui-bg);border-bottom:1px solid var(--ui-border);margin:0 0 12px;padding:8px 0 12px;position:sticky;top:-18px}dialog.progress-hub .community-titlebar h2,dialog .community-titlebar h2{color:var(--ui-text);font-size:20px}dialog.progress-hub .community-titlebar .community-close,dialog .community-titlebar .community-close{width:44px;height:44px;min-height:44px;color:var(--ui-text);background:0 0;border:0;flex:0 0 44px}dialog.progress-hub h3,dialog.progress-hub h4,dialog.progress-hub b,dialog.progress-hub label{color:var(--ui-text)}dialog.progress-hub button,dialog.community-dialog button{color:var(--ui-text);border-color:var(--ui-border);min-height:40px;box-shadow:none;background:#253d54}dialog.progress-hub button:hover:not(:disabled),dialog.community-dialog button:hover:not(:disabled){color:#fff;background:#35546e;border-color:#8bb7ca}dialog.progress-hub input,dialog.progress-hub select,dialog input,dialog select,dialog textarea,.community-card textarea{color:var(--ui-text);background:#0e1d2e;border:1px solid #526d83;border-radius:8px;max-width:100%;padding:10px}dialog.progress-hub .primary,dialog.progress-hub .progress-tabs button[aria-current],dialog.progress-hub .community-tabs button[aria-pressed=true]{color:#fff;background:#246950;border-color:#6bc6a4}dialog.progress-hub .progress-hero{background:#1b3346;gap:12px;margin:8px 0 16px;padding:12px 16px}dialog.progress-hub .progress-hero h3{font-size:20px}dialog.progress-hub .progress-hero p{color:var(--ui-muted);margin:4px 0}dialog.progress-hub .coin-balance b{color:#ffdf83;font-size:25px}.progress-layout{grid-template-columns:175px minmax(0,1fr);gap:20px;display:grid}.progress-nav>summary{display:none}.progress-nav .progress-tabs{border:0;flex-direction:column;gap:5px;margin:0;display:flex;overflow:visible}.progress-nav .progress-tabs button{text-align:left;white-space:normal;justify-content:flex-start}.progress-content{min-width:0}.progress-section-head{margin-bottom:12px}dialog.progress-hub .mission-card,dialog.progress-hub .achievement-card,dialog.progress-hub .collection-card,dialog.progress-hub .report-metrics>div,dialog.progress-hub .report-list>button,dialog.progress-hub .push-device{color:var(--ui-text);border-color:var(--ui-border);background:#1a3044;padding:12px}dialog.progress-hub .mission-card.complete,dialog.progress-hub .achievement-card.earned{background:#213e3b;border-color:#568e79}dialog.progress-hub .mission-card p,dialog.progress-hub .report-metrics span,dialog.progress-hub .report-list small{color:var(--ui-muted)}dialog.progress-hub .progress-empty,.friends-dialog .progress-empty{color:var(--ui-muted);background:#1a3044}dialog.progress-hub .item-preview{background:#233d51;min-height:75px}.achievement-grid,.collection-grid{gap:10px}dialog.progress-hub .achievement-mark{color:#f6d98e;font-size:25px}.achievement-card h4,.collection-card h4{margin:8px 0}.progress-content details{margin:12px 0}.progress-content details>summary{color:var(--ui-muted);padding:10px 0}dialog.progress-hub .cosmetic-preview{border-color:#5c8d9d;flex-wrap:wrap;gap:12px;padding:12px}dialog.progress-hub .tutorial-rules{background:#1b3346}.progress-content:has(.replay-expanded){grid-column:1/-1}.progress-layout:has(.replay-expanded)>.progress-nav{display:none}.replay-view{overflow-x:auto}.replay-view .replay-board{min-width:560px}.report-view-tabs{gap:8px;margin:16px 0;display:flex}.public-share a{color:#162b32;background:#ffda78;border-radius:10px;min-height:44px;margin:6px;padding:12px 20px;font-weight:700;text-decoration:none}.public-share{justify-content:flex-start;gap:16px;padding:24px 16px}.public-share article{padding:22px}.share-preview{object-fit:contain;max-height:330px}dialog.progress-hub .progress-notice{color:#dbfff0;background:#234c43}dialog .community-hint{color:var(--ui-muted)}.friends-dialog{width:min(650px,96vw)}.friends-toolbar{align-items:center;gap:10px;display:flex}.friends-toolbar label{flex:1;min-width:0;margin:0}.friends-toolbar input{width:100%}.friends-toolbar>button{flex:none}.friend-add-panel{background:#20374b;border-radius:12px;margin:12px 0;padding:12px}.friend-add-panel summary{padding:10px 0}.friend-groups{gap:5px;margin:16px 0;display:flex;overflow:auto}.friend-groups button{white-space:nowrap;font-size:12px}.friend-row{border-bottom:1px solid var(--ui-border);align-items:center;gap:8px;padding:12px 0;display:flex}.friend-row>span{overflow-wrap:anywhere;flex:1;min-width:0}.friend-row small{color:var(--ui-muted);margin-top:5px;display:block}.friend-row details{position:relative}.friend-row summary{place-items:center;min-width:40px;min-height:40px;display:grid}.friend-row details[open]{flex-direction:column;display:flex}.friend-row details button{font-size:12px;display:block}.presence-online,.presence-offline{background:#73e0b9;border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.presence-offline{background:#8897a7}.text-action{font-size:12px}.community-pagination{flex-wrap:wrap}.active-run-banner,.feature-error,.feature-loading{color:var(--ui-text);background:#1b3449;border:1px solid #618ba2;border-radius:12px;margin:12px 0;padding:16px}.active-run-banner a{color:#9ceccd;padding:12px;display:inline-block}.feature-error,.feature-loading{z-index:101;position:relative}.room-management-menu{position:relative}.room-management-menu>summary{border:1px solid var(--ui-border);border-radius:8px;padding:10px}.room-management-menu[open]>button{margin:6px 0;display:block}.room-icon-choice{align-items:center;gap:12px;display:flex}.room-icon-choice .art{width:64px!important;height:48px!important}.room-icon-choice button{min-height:40px}.room-icon-picker>div{grid-template-columns:repeat(4,minmax(0,1fr))!important}.room-icon-picker button{aspect-ratio:1.5!important}.room-icon-picker .art{width:100%!important}.period-leaderboard>h2{font-size:22px}.period-leaderboard>details{margin:8px 0}.community-table{overflow:auto}.mobile-tool-tabs{gap:8px;margin:12px 0;display:flex}.mobile-tool-tabs button{flex:1;min-height:44px}.mobile-tool-tabs [aria-pressed=true]{color:#fff;background:#286d58}.mobile-tool-content[hidden]{display:none}.mobile-rank-toast .rank-announcement:has(+.match-chat-announcement){display:none}.mobile-rank-toast:has(.match-chat-announcement) .rank-announcement:not(.match-chat-announcement){display:none}@media (width<=1023px){.app.modern-shell>.app-header{flex-wrap:nowrap;gap:10px;min-height:58px;padding:7px 12px}.modern-shell .app-header .brand{font-size:16px}.modern-shell .app-header .brand img{width:27px;height:27px}.header-personal{gap:6px}.header-personal .friends-entry{padding:8px}.header-personal .friends-entry>span,.personal-menu .profile-name{display:none}.personal-menu>summary{padding:4px}.main-nav{z-index:80;border-top:1px solid var(--ui-border);padding:4px 6px calc(4px + env(safe-area-inset-bottom));height:calc(62px + env(safe-area-inset-bottom));background:#112135;justify-content:space-around;position:fixed;bottom:0;left:0;right:0}.main-nav a,.main-nav button{flex-direction:column;flex:1;gap:3px;min-height:48px;padding:3px;font-size:11px}.main-nav .ui-icon{width:19px;height:19px;margin:0}.modern-shell.game-shell>main{padding:12px 12px 88px}.modern-shell:has(.main-nav) .chat-mobile:not(.chat-in-game){bottom:calc(70px + env(safe-area-inset-bottom) + var(--chat-keyboard-gap,0px));max-height:calc(var(--chat-viewport-height,100dvh) - 142px)}.modern-shell:has(.main-nav):has(.chat-mobile)>main{padding-bottom:145px}.modern-shell .hall-heading{gap:12px;margin-bottom:16px}.modern-shell .hall-heading h1{font-size:25px}.hall-action-buttons{grid-template-columns:1fr 1fr;width:100%;display:grid}.hall-action-buttons .quick-play{grid-column:1/-1;min-height:48px;font-size:18px}.hall-action-buttons>button{min-height:44px}.modern-shell .room-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.modern-shell .room-card{padding:10px}.modern-shell .table-bottom{gap:5px}.modern-shell .room-card h3{min-height:34px;font-size:14px}.modern-shell .room-connection{white-space:normal;max-width:100px}.modern-shell .room-head h1{overflow-wrap:anywhere;font-size:22px}.modern-shell .player-info,.modern-shell .player{min-width:0}.modern-shell .player-info h3{overflow-wrap:anywhere}.modern-shell:has(.main-nav)~.engagement-nudge{bottom:calc(132px + env(safe-area-inset-bottom));max-height:35dvh;padding:14px;overflow:auto}body:has(.main-nav) .engagement-nudge{bottom:calc(132px + env(safe-area-inset-bottom));max-height:35dvh;padding:14px;overflow:auto}body:has(.main-nav) .room-guide{bottom:calc(132px + env(safe-area-inset-bottom));max-height:35dvh;padding:14px;overflow:auto}.modern-shell .hall-heading>div{min-width:0}.room-head .actions{flex-wrap:wrap}.mobile-rank-toast{pointer-events:none}}@media (width<=650px){dialog.game-dialog.progress-hub,dialog.game-dialog.community-dialog,dialog.room-dialog,dialog.hall-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:94dvh;padding:12px}dialog.progress-hub .community-titlebar,dialog .community-titlebar{top:-12px}.progress-layout{grid-template-columns:minmax(0,1fr);gap:12px}.progress-nav>summary{border:1px solid var(--ui-border);min-height:44px;color:var(--ui-text);background:#213d50;border-radius:10px;align-items:center;gap:6px;padding:10px 12px;display:flex}.progress-nav .progress-tabs{grid-template-columns:1fr 1fr;gap:5px;margin:8px 0 0;padding:0;display:grid}.progress-nav .progress-tabs button{font-size:12px}.progress-hub .progress-hero .coin-balance{flex:initial;margin-left:auto}.progress-hero .pinned-achievements{display:none}.progress-hub .progress-hero .cosmetic-avatar{width:40px!important;height:40px!important}.progress-hub .progress-hero h3{font-size:16px}.progress-hub .progress-hero p{font-size:12px}.progress-section-head{gap:8px}.progress-section-head h3{margin:4px 0}.mission-card{gap:8px}.friends-toolbar{gap:6px}.friends-toolbar button{font-size:12px}.friend-groups button{padding:8px}.friend-row{flex-wrap:wrap}.friend-row>span{min-width:110px}.progress-hub .share-layout{gap:12px}.progress-hub .share-preview{max-height:220px}.tutorial-board{grid-template-columns:repeat(4,minmax(0,52px));padding:12px}.public-share h1{font-size:24px}.public-share strong{font-size:36px}}@media (forced-colors:active){*{scrollbar-color:auto}.main-nav [aria-current],button[aria-pressed=true]{outline:2px solid highlight}.chat-status{border:2px solid canvastext}}.competition-create{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.competition-create h2,.competition-create>p,.competition-create>button,.competition-create>details{grid-column:1/-1}.competition-create label{min-width:0;margin:0}.competition-create input,.competition-create textarea,.competition-create select{width:100%}.community-heading{flex-wrap:wrap;gap:10px}.community-heading h1{margin:8px auto 8px 0;font-size:28px!important}.competition-grid a{color:#c4ffec;background:#284b59;border-radius:9px;align-items:center;min-height:44px;padding:10px 14px;display:inline-flex}.app-header .friends-entry{color:#edf4fc;background:#203a50;border:1px solid #39516a}.feature-error,.feature-loading{width:min(480px,100vw - 24px);position:fixed;top:90px;left:50%;transform:translate(-50%);box-shadow:0 12px 50px #0008}.progress-content .feature-error,.progress-content .feature-loading{width:100%;position:static;transform:none}.rank-announcement+.match-chat-announcement{margin-top:0}.mobile-rank-toast:has(.match-chat-announcement)>:not(.match-chat-announcement){display:none}@media (width<=650px){dialog.progress-hub .progress-hero{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:12px;display:grid}dialog.progress-hub .progress-hero>div:nth-child(2){min-width:0}dialog.progress-hub .progress-hero h3{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}dialog.progress-hub .progress-hero p{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;display:-webkit-box;overflow:hidden}dialog.progress-hub .progress-hero .coin-balance{gap:2px;min-width:0;margin:0;display:grid}dialog.progress-hub .progress-hero .coin-balance b{font-size:20px}dialog.progress-hub .progress-hero .coin-balance span{color:#ffdf83;font-size:10px}.competition-create{grid-template-columns:1fr}.competition-create input[type=datetime-local]{min-width:0}.practice-mode-entry{z-index:1;position:relative}.practice-app .practice-mode-entry{display:block!important}}.modern-shell .room-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.modern-shell .room-actions>button{min-height:44px}.modern-shell .room-actions .room-refresh{min-width:44px;padding:8px}.modern-shell .room-actions .room-refresh svg{margin:0}.room-management-menu>summary{white-space:nowrap;justify-content:center;align-items:center;min-height:44px;display:flex}.room-management-menu[open]{align-self:flex-start}.room-management-menu[open]>button{min-width:150px}.invite-rules{color:var(--ui-muted);margin:12px 0}.invite-rules summary{padding:8px 0}.history-extra{display:none}.mobile-rank-toast .match-chat-announcement span{white-space:nowrap;text-overflow:ellipsis;-webkit-line-clamp:unset;max-height:24px;display:block;overflow:hidden}.match-mobile.immersive .mobile-stage{grid-template-rows:28px minmax(0,1fr)}.match-mobile.immersive .mobile-board-slot{grid-row:2}.immersive .mobile-rank-toast{top:2px;left:12px;right:12px}.public-share>a:first-child{color:#c9eddf;background:0 0;font-size:13px}.ranked-practice>main{max-width:1320px;padding:18px}.ranked-practice:has(.match-mobile)>main{padding:0}@media (width<=760px){.modern-shell .room-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px;display:grid!important}.modern-shell .room-actions>button,.modern-shell .room-actions>details{order:0;width:100%;font-size:12px;min-width:0!important}.modern-shell .room-actions .lobby-ready-button{order:-2;grid-column:1/-1}.modern-shell .room-actions .room-start-button{order:-1;grid-column:1}.modern-shell .room-actions .room-invite-button{color:#dbfff3;box-shadow:none;background:#284b59;border:1px solid #658b93;order:-1;grid-column:2}.modern-shell .room-actions .room-refresh{display:none}.modern-shell .room-actions:has(.start-ready) .room-start-button{grid-column:1/-1}.modern-shell .room-actions:has(.start-ready) .room-invite-button{order:0;grid-column:auto}.modern-shell .room-management-menu>summary{padding:8px;font-size:12px}.modern-shell .player{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:10px;display:grid}.modern-shell .player>.player-link{grid-area:1/1/3}.modern-shell .player .avatar{width:38px;height:38px;padding:0}.modern-shell .player .avatar .art{width:36px;height:36px}.modern-shell .player-info{grid-area:1/2/auto/4;min-width:0}.modern-shell .player-info h3{align-items:center;gap:4px;margin:0;font-size:13px;display:flex}.modern-shell .player-info h3 .player-link{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.modern-shell .player-info h3 small{flex:none}.modern-shell .player-info p{margin:3px 0;font-size:10px}.modern-shell .player>.ready{grid-area:2/2;justify-self:start;font-size:10px}.modern-shell .player>.quiet{grid-area:2/3;min-height:36px;padding:6px 8px;font-size:11px}.modern-shell .lobby-ready-hint{margin:8px 0;font-size:11px}.modern-shell .mobile-ready-status,.history-screen tbody tr>:nth-child(5),.history-screen tbody tr>:nth-child(6){display:none}.history-extra{font-size:12px;display:block}.history-extra summary{padding:8px}.history-screen .history-open{justify-content:space-between;align-items:center;gap:8px;display:flex}.history-screen .history-open button{width:auto;min-height:40px}.history-screen tbody tr{padding:12px!important}.history-screen h1,.results-screen h1{font-size:25px!important}}.app.modern-shell:has(.match-mobile)>.app-header{display:none}.mobile-rank-toast{height:24px;top:2px;overflow:hidden}.mobile-rank-toast .rank-announcement{height:24px;min-height:0;margin:0;padding:0;font-size:0;overflow:hidden}.mobile-rank-toast .rank-announcement>span{vertical-align:top;max-height:24px;padding:2px 8px;font-size:11px;line-height:18px}.share-preview-wrap{text-align:center;min-width:0}.share-preview-wrap>button{margin:8px 0}.share-preview-wrap.expanded{grid-column:1/-1}.progress-hub .share-preview-wrap.expanded .share-preview{width:min(100%,700px);max-height:none}dialog.progress-hub .item-preview.theme-forest,dialog.progress-hub .cosmetic-preview.theme-forest{background:linear-gradient(135deg,#234e3d,#334c2c)}dialog.progress-hub .item-preview.theme-night,dialog.progress-hub .cosmetic-preview.theme-night{background:linear-gradient(135deg,#293358,#443353)}dialog.progress-hub .item-preview.theme-peach,dialog.progress-hub .cosmetic-preview.theme-peach{background:linear-gradient(135deg,#593b40,#55482f)}.modern-shell.game-shell.in-room .mobile-ready-status{display:none}.modern-shell .player-info .player-link{box-shadow:none;background:0 0;min-height:24px;padding:0}.modern-shell .player-info .player-link:hover{color:#a7efd9;background:#213e4f}@media (width<=760px){.modern-shell .room-actions .lobby-ready-button{grid-row:1}.modern-shell .room-actions .room-start-button,.modern-shell .room-actions .room-invite-button{grid-row:2}.modern-shell .room-actions>.danger{grid-area:3/1}.modern-shell .room-actions>.room-management-menu{grid-area:3/2}.modern-shell .room-actions:has(.start-ready) .room-start-button{grid-row:1}.modern-shell .room-actions:has(.start-ready) .lobby-ready-button{grid-area:2/1}.modern-shell .room-actions:has(.start-ready) .room-invite-button{grid-area:2/2}}.session-recovery .actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;display:grid}.session-recovery .actions button{width:100%;min-height:44px}.chat-limit{color:var(--ui-muted,#b8cddd);text-align:right;padding:2px 10px;font-size:12px;display:block}.dm-notice{z-index:80;color:#fff;background:#153b48;border:1px solid #629dac;border-radius:12px;gap:6px;max-width:min(380px,100vw - 32px);padding:8px;display:flex;position:fixed;top:76px;right:16px;box-shadow:0 6px 24px #0006}.dm-notice button:first-child{white-space:normal;overflow-wrap:anywhere;text-align:left}.field-error{color:#ffb9ad;font-size:13px}.competition-capacity-note{color:#b9cddd;font-size:13px}.modern-shell button.room-entry-art{width:100%;min-height:0;box-shadow:none;border:0;padding:0}.modern-shell button.room-entry-art:hover:not(:disabled){background:#153249;transform:none}.modern-shell button.room-entry-name{width:100%;min-height:0;box-shadow:none;text-align:inherit;color:inherit;font:inherit;line-height:inherit;background:0 0;border:0;padding:0;display:block}.modern-shell button.room-entry-name:hover:not(:disabled){color:var(--ui-accent);background:0 0;text-decoration:underline;transform:none}@media (width>=1024px){html:has(.game-hall){scrollbar-gutter:stable}}.modern-shell .table-bottom button.room-full-button{color:#ffabb6;box-shadow:none;background:#4e2330;border-color:#d66779;font-weight:800}.modern-shell .table-bottom button.room-full-button:hover{background:#662d3d}.modern-shell.in-room .lobby-grid{grid-template-columns:minmax(0,1fr)}.room-entry-notice .dialog-top{justify-content:space-between;align-items:center;gap:16px;display:flex}.room-entry-notice .dialog-top h2{margin:0;font-size:20px}.room-entry-notice .dialog-top button{min-width:44px;min-height:44px;font-size:25px}.room-entry-notice>p{color:#ffb5bf;line-height:1.6}dialog.room-action-dialog,dialog.room-entry-notice{color:#edf5fb;box-sizing:border-box;background:#162b40;border:1px solid #46677e;border-radius:18px;width:min(440px,100vw - 32px);padding:20px;box-shadow:0 24px 80px #0008}dialog.room-action-dialog .community-titlebar{color:#edf5fb;background:0 0;border-bottom:1px solid #46677e;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;padding:0 0 12px;display:flex;position:static}dialog.room-action-dialog .community-titlebar h2{color:#edf5fb;margin:0;font-size:20px;line-height:1.4}dialog.room-action-dialog .community-titlebar .community-close{color:#eaf4ff;background:#243f56;border-radius:10px;flex:0 0 40px;width:40px;height:40px;min-height:40px}dialog.room-action-dialog>p{color:#d2e3ef;margin:12px 0 20px;line-height:1.65}dialog.room-action-dialog .actions{background:0 0;border-top:0;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding:0;display:grid;position:static}dialog.room-action-dialog .actions button{color:#eef7ff;background:#29465d;border:1px solid #67869d;border-radius:10px;min-height:44px;margin:0;padding:10px 12px;font-weight:650}dialog.room-action-dialog .actions button.danger{color:#fff;background:#973f4b;border-color:#f195a1}dialog.room-action-dialog button:hover:not(:disabled){filter:brightness(1.15);transform:none}dialog.room-action-dialog button:focus-visible{outline-offset:3px;outline:3px solid #ffd777}.game-shell .create-room-dialog{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#4a7189 #122638;width:min(460px,100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto}.create-room-dialog .dialog-top{margin-bottom:8px}.create-room-dialog .create-room>.eyebrow{display:none}.create-room-dialog .create-room h2{margin:0 0 12px;font-size:22px}.create-room-dialog .room-fields{gap:10px}.create-room-dialog .room-fields>label{gap:4px;display:grid}.create-room-dialog .room-fields input:not([type=radio]),.create-room-dialog .room-fields select{min-height:44px;padding:8px 10px}.create-room-dialog .room-icon-picker{border:0;margin:0;padding:0}.create-room-dialog .room-icon-picker legend{margin-bottom:6px;font-size:13px}.game-shell .create-room-dialog .room-icon-picker>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.game-shell .create-room-dialog .room-icon-picker button{aspect-ratio:16/9;border-radius:8px;height:auto;min-height:44px;padding:2px}.create-room-dialog .room-icon-picker button[aria-pressed=true]{outline-offset:1px;outline:2px solid #73edc3}.create-room-dialog .privacy-picker{gap:8px;margin:0;padding:6px 10px}.create-room-dialog .privacy-picker label{align-items:center;min-height:36px;display:inline-flex}.create-room-dialog .room-fields>.primary{min-height:44px;margin:0}@media (width<=650px){.game-shell .create-room-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.create-room-dialog .room-fields{gap:8px}.create-room-dialog .create-room h2{margin-bottom:8px;font-size:20px}.game-shell .create-room-dialog .room-icon-picker button{aspect-ratio:auto;height:44px}.create-room-dialog .dialog-top{margin-bottom:4px}}.create-room-dialog .privacy-picker label{box-sizing:border-box;white-space:nowrap;gap:8px;min-width:0;min-height:44px;padding:6px 8px}.create-room-dialog .privacy-picker input[type=radio]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0}.ranked-practice .community-card{color:#e8f0f5;background:#17283d;border:1px solid #425a70;border-radius:16px;padding:20px;box-shadow:0 8px 26px #07111d26}.ranked-practice .community-card h2{color:#f2f7fc;margin:0 0 14px;font-size:22px;line-height:1.35}.ranked-practice .community-card p{color:#cad9e6;line-height:1.65}.ranked-practice .community-card .competition-capacity-note{color:#cbddea;background:#20374d;border-radius:10px;padding:12px;font-size:13px}.ranked-practice .community-card button{color:#edf5fb;background:#263f56;border:1px solid #58738a;border-radius:10px;min-height:44px}.ranked-practice .community-card>button,.ranked-practice .community-card .personal-practice-entry>button{color:#352e19;background:#ffdc78;border-color:#ffe4a2;width:100%;padding:12px 16px;font-weight:700}.ranked-practice .community-card a{color:#99e8cf}.ranked-practice .community-card button:disabled{opacity:1;color:#99adbf;background:#1c3044;border-color:#364e63}.ranked-practice .community-tabs [aria-selected=true]{color:#fff;background:#326d5a;border-color:#8bd4b9;box-shadow:inset 0 -2px #8bd4b9}.ranked-practice .community-card .community-hint{color:#cad9e6}.ranked-practice .community-card .community-my-rank{color:#e0f5e9;background:#244839}.ranked-practice .community-card summary{color:#dcebf7;cursor:pointer;align-content:center;min-height:44px}.ranked-practice .community-table{scrollbar-width:thin;scrollbar-color:#58758d #102236}.ranked-practice .community-table th{color:#cbddea;background:#102236}.ranked-practice .community-table td{color:#e8f0f5}.ranked-practice .community-table th,.ranked-practice .community-table td{border-color:#3b536a}.ranked-practice .community-table .is-self{color:#e0f5e9;background:#244839}.ranked-practice .community-pagination{color:#cad9e6;gap:8px;font-size:13px}.ranked-practice .community-card button:focus-visible,.ranked-practice .community-card summary:focus-visible{outline-offset:3px;outline:3px solid #ffdc78}@media (width<=600px){.ranked-practice>main{padding:12px 12px 28px}.ranked-practice .community-card{margin:0 0 16px;padding:16px}.ranked-practice .community-card h2{font-size:20px}.ranked-practice .community-card p{font-size:14px}.ranked-practice .community-pagination{grid-template-columns:1fr 1fr;display:grid}.ranked-practice .community-pagination>span{text-align:center;grid-area:1/1/auto/-1}.ranked-practice .community-pagination>button{width:100%;font-size:13px}.ranked-practice .community-table table{min-width:380px}}dialog.room-watch-dialog{color:#e8f0f5;scrollbar-width:thin;scrollbar-color:#5b7b95 #132337;background:#17283d;border:1px solid #49657e;width:min(900px,100vw - 24px);max-width:none;max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.room-watch-dialog .dialog-top{letter-spacing:normal;z-index:1;background:#17283d;gap:12px;padding:12px 0;position:sticky;top:-20px}.room-watch-dialog .dialog-top h2{color:#f0f6fc;margin:0;font-size:20px}.room-watch-dialog .dialog-top button{color:#fff;background:#29455d;border-color:#59758d;flex:0 0 44px;padding:0;font-size:24px}.room-watch-heading{align-items:center;gap:12px;display:flex}.room-watch-heading .room-banner{flex:0 0 96px;width:96px}.room-watch-heading h3{overflow-wrap:anywhere;margin:0}.room-watch-heading p{color:#c4d6e3;margin:6px 0}.room-watch-dialog .room-watch-hint{color:#bcd0df;font-size:13px;line-height:1.6}.room-watch-table{scrollbar-width:thin;scrollbar-color:#5b7b95 #132337;overflow:auto}.room-watch-table table{border-collapse:collapse;text-align:left;width:100%;min-width:650px;font-size:14px}.room-watch-table th,.room-watch-table td{white-space:nowrap;border-bottom:1px solid #38546b;padding:12px 10px}.room-watch-table thead{color:#bcd0df;background:#102236}.room-watch-table th[scope=row]>span{white-space:normal;overflow-wrap:anywhere;align-items:center;gap:8px;min-width:160px;max-width:240px;display:flex}.room-watch-table tr>:nth-child(3){color:#ffe093;font-weight:750}.room-watch-dialog .room-watch-close{color:#edf5fb;background:#29455d;border-color:#59758d;width:100%;min-height:48px;margin:20px 0 0;display:block}@media (width<=600px){dialog.room-watch-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px}.room-watch-dialog .dialog-top{top:-14px}.room-watch-dialog .dialog-top h2{font-size:18px}}.room-watch-heading .room-banner{border-radius:8px;height:54px;display:block;overflow:hidden}.room-watch-heading .room-banner img{object-fit:cover;width:96px;height:54px;display:block}dialog.progress-hub .tutorial>.eyebrow{color:#b4d8c5}dialog.match-leave-dialog .community-titlebar{background:0 0}dialog.progress-hub .progress-nav .progress-tabs{gap:8px;margin:0;padding:0}dialog.progress-hub .progress-nav .progress-tabs button{color:#e8f4ff;background:#223e55;border:1px solid #526e84;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:10px 12px;font-weight:600;line-height:1.3;display:flex}dialog.progress-hub .progress-nav .progress-tabs button:hover:not(:disabled){color:#fff;background:#35546e;border-color:#8bb7ca}dialog.progress-hub .progress-nav .progress-tabs button[aria-current]{color:#fff;background:#246950;border-color:#7fd8b3;box-shadow:inset 3px 0 #a1edce}dialog.progress-hub .progress-nav .progress-tabs button:focus-visible{outline-offset:2px;outline:3px solid #ffdc78}@media (width<=650px){dialog.progress-hub .progress-nav .progress-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}dialog.progress-hub .progress-nav .progress-tabs button{padding:9px 10px;font-size:13px}}
