@font-face{font-family:GungmaDisplay;src:url('assets/fonts/gungma-display.woff2') format('woff2');font-display:swap;font-weight:400 900}
.game-app{--bg:#151e2a;--panel:#202d3d;--soft:#29384b;--line:#344459;--text:#f2f3f5;--muted:#b3c0d1;--gold:#8bb2ff;--blue:#75b9da;--coral:#df8c84;--page-width:1120px;background:var(--bg);color:var(--text);padding-bottom:0}
.game-app h1,.game-app h2{font-family:GungmaDisplay,'Apple SD Gothic Neo',sans-serif;font-weight:400;letter-spacing:-.02em}.game-app h1{font-size:30px}.game-app h2{font-size:23px}.game-app button.primary,.game-app a.button.primary{background:#8bb2ff;color:#152137}.game-app button.primary:hover,.game-app a.button.primary:hover{background:#a9c6ff;color:#152137}.game-app button:hover{background:#2c3e55}.game-app button:disabled{opacity:.5}.game-app .button,.game-app button{border-color:var(--line);border-radius:10px}.game-app input,.game-app textarea,.game-app select{background:#1b2737;border-color:#52657f}.game-app input::placeholder,.game-app textarea::placeholder{color:#b3c0d1}.game-app .brand{padding:0;background:none;display:flex;align-items:center}.brand img{display:block;width:112px;height:48px}.game-app .app-header{position:fixed;inset:0 auto 0 0;width:208px;height:100dvh;padding:24px 20px;display:flex;flex-direction:column;align-items:stretch;gap:26px;background:#101823;border-right:1px solid var(--line);z-index:20}.game-app .desktop-nav{display:flex;flex-direction:column;align-items:stretch;gap:5px;flex:1}.game-app .desktop-nav a{height:auto;min-height:48px;border-radius:9px;padding:10px 12px;gap:12px;font-size:14px;color:var(--muted)}.game-app .desktop-nav a:hover{background:#202d3d;color:var(--text)}.game-app .desktop-nav a[aria-current=page]{background:#293c58;color:#a9c6ff}.game-app .desktop-nav a[aria-current=page]:after{display:none}.game-app .desktop-nav svg{width:20px;height:20px;flex:none}.game-app .account-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0}.game-app .account-actions>a{min-height:46px;max-width:100%;overflow-wrap:anywhere}.game-app .connection-state{font-size:12px;text-align:center}.game-app #app-content,.game-app #game-view,.game-app .online-bar,.game-app .skin-picker,.game-app .resume-banner,.game-app .ready-banner,.game-app .global-error{margin-left:208px}.game-app #app-content{padding-top:64px}.game-app .app-utilities{position:absolute;right:max(28px,calc((100vw - 208px - 1120px)/2));top:12px;display:flex;align-items:center;gap:8px;height:44px;z-index:21}.icon-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--muted);border-radius:8px}.icon-link:hover{background:var(--panel);color:var(--text)}.icon-link svg,[data-icon]>svg{display:block;width:22px;height:22px}.language-control select{min-height:44px;height:44px;font-size:12px;padding:6px 8px;max-width:100px;border-color:var(--line)}.game-app .app-page{padding:26px 36px 56px;min-height:calc(100dvh - 64px)}.game-app .page-heading{margin-bottom:30px}.game-app .page-heading h1{font-size:30px}.game-app .page-heading p{font-size:14px}.game-app .app-footer{display:none}.game-app .lobby-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:0 0 28px}.lobby-heading h1{font-size:30px;margin:0}.lobby-heading p{font-size:12px;margin:0}.lobby-profile{display:flex;align-items:center;gap:16px;min-height:100px;margin-bottom:32px;padding:0 0 24px;border-bottom:1px solid var(--line)}.lobby-profile .player-avatar{width:54px;height:54px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#2d3e55;color:#c1cddd;font-size:22px}.player-avatar svg{width:27px;height:27px}.lobby-profile h2{font-family:inherit;font-size:19px;font-weight:700;margin:0 0 7px}.lobby-profile p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.lobby-profile>.button{margin-left:auto;flex:none;font-size:13px}.lobby-profile .level-block{margin-left:auto;width:230px}.lobby-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px}.lobby-match{padding:28px;background:#202d3d;border-radius:16px;display:flex;flex-direction:column;align-items:stretch}.lobby-match h2{font-size:26px;margin:0 0 24px}.mode-segment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;background:#151f2d;border:0;border-radius:10px;margin:0 0 20px;gap:4px}.mode-segment label{display:block;position:relative;cursor:pointer;min-width:0}.mode-segment input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;min-height:44px}.mode-segment span{display:flex;align-items:center;justify-content:center;height:44px;border-radius:7px;font-size:14px;font-weight:600;color:var(--muted)}.mode-segment input:checked+span{background:#344961;color:var(--text)}.mode-segment input:focus-visible+span{outline:3px solid #8bb2ff;outline-offset:2px}.lobby-clock{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;color:var(--muted);margin:0 0 20px;font-variant-numeric:tabular-nums}.lobby-clock svg{width:18px;height:18px}.game-app .lobby-start{min-height:60px;font-family:GungmaDisplay,sans-serif;font-size:23px;font-weight:400;display:flex;align-items:center;justify-content:center;gap:14px}.lobby-start svg{width:23px;height:23px}.lobby-match>#home-match-note{font-size:12px;color:var(--muted);line-height:1.8;text-align:center;margin:16px 0 0}.lobby-rules{align-self:center;margin-top:10px;font-size:12px}.lobby-support{display:flex;flex-direction:column;gap:28px;min-width:0}.game-app .lobby-practice{display:flex;align-items:center;gap:14px;padding:14px 0 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;min-height:88px}.lobby-practice>span:last-child{margin-left:auto;color:var(--muted)}.lobby-practice strong{display:block;font-size:18px;margin:0 0 7px}.lobby-practice small{display:block;font-size:12px;line-height:1.7;color:var(--muted)}.feature-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#234050;color:#82bed7;flex:none}.daily-puzzle h2{font-family:inherit;font-size:18px;font-weight:700;margin:0}.daily-puzzle .section-heading{margin-bottom:16px}.puzzle-day{font-size:12px;color:var(--muted)}.puzzle-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#202d3d;border-radius:12px;padding:16px;min-height:160px}.puzzle-preview p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 10px}.puzzle-preview .text-link{gap:10px;font-size:13px;white-space:nowrap}.puzzle-preview .text-link svg{width:18px;height:18px}.puzzle-preview #home-puzzle-board{width:125px;flex:none;align-self:stretch;display:flex;align-items:center;justify-content:center}.puzzle-mini{display:block;width:100%;height:auto;max-height:145px}.lobby-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:32px;border-top:1px solid var(--line);padding-top:24px}.lobby-shortcuts a{min-height:64px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);text-decoration:none;font-size:14px;border-radius:9px}.lobby-shortcuts a:hover{color:var(--text);background:#202d3d}.lobby-shortcuts svg{width:21px;height:21px}.game-app .play-options,.game-app .queue-panel{background:#202d3d}.game-app .person-row,.game-app .community-row{border-color:var(--line)}.game-app .tag{background:#34445b;color:#bdcff3}.game-app .resume-banner,.game-app .ready-banner{padding:12px 28px;background:#293a51}.game-app .resume-banner span{min-width:0;overflow-wrap:anywhere}.game-app.in-game .app-utilities{position:fixed;right:18px;top:10px}.game-app #game-view{min-height:calc(100dvh - 110px)}.game-app .skin-picker{padding-top:20px;min-height:66px}.game-app .stage{background:#151e2a}.game-app .inspector{background:#1b2737}.game-app .online-bar{background:#1b2737;border-color:var(--line)}.game-app .camera-controls{bottom:14px}.game-app .camera-controls button{background:#202d3d;color:var(--muted)}.game-app .camera-controls button[aria-pressed=true]{background:#344961;color:#f2f3f5}
@media(max-width:1099px){.game-app .app-header{position:relative;inset:auto;width:100%;height:70px;padding:10px 20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:16px}.game-app .brand img{width:100px;height:43px}.game-app .desktop-nav{display:none}.game-app .account-actions{margin-left:auto;margin-right:135px;display:block;max-width:180px}.game-app .account-actions>a{min-height:40px;font-size:12px;padding:8px 12px}.game-app .connection-state{display:none}.game-app .app-utilities{position:absolute;top:13px;right:14px;gap:0}.language-control select{max-width:83px;font-size:11px}.game-app .icon-link{width:44px;height:44px}.game-app #app-content,.game-app #game-view,.game-app .online-bar,.game-app .skin-picker,.game-app .resume-banner,.game-app .ready-banner,.game-app .global-error{margin-left:0}.game-app #app-content{padding-top:0}.game-app .app-page{padding:30px 28px 98px;min-height:calc(100dvh - 70px)}.game-app .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:auto;min-height:74px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:#151e2a;border-color:var(--line)}.game-app .mobile-nav a{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:60px;font-size:11px;color:var(--muted);padding:8px 0 4px}.game-app .mobile-nav svg{width:21px;height:21px}.game-app .mobile-nav a[aria-current=page]{color:#9dbbfa}.game-app .mobile-nav a[aria-current=page]:before{display:none}.game-app.in-game .app-header{display:flex}.game-app.in-game .app-utilities{position:absolute;right:14px;top:13px}.game-app.in-game .mobile-nav{display:none}.game-app.in-game .skin-picker{padding:12px 20px}.game-app .lobby-heading{margin-bottom:24px}.lobby-heading h1{font-size:26px}.lobby-grid{gap:24px}.lobby-profile{gap:14px}.lobby-profile .level-block{width:210px}.lobby-shortcuts{gap:6px}}
@media(max-width:600px){.game-app .app-header{height:66px}.game-app .brand img{width:91px;height:39px}.game-app .account-actions{display:none}.game-app .app-utilities{top:11px;right:12px}.game-app .app-page{padding:22px 20px 100px}.game-app .page-heading h1{font-size:27px}.game-app #page-home{padding-top:18px}.game-app .lobby-heading{margin-bottom:14px}.lobby-heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.lobby-heading #home-live{font-size:11px;margin-left:auto}.lobby-profile{padding:0 0 22px;border:0;margin-bottom:10px;min-height:76px;gap:12px}.lobby-profile .player-avatar{width:44px;height:44px}.lobby-profile h2{font-size:18px;margin-bottom:6px}.lobby-profile p{font-size:11px}.lobby-profile>.button{padding:9px 12px;font-size:12px;min-height:44px}.lobby-profile .level-block{width:105px;margin-left:auto}.lobby-profile .level-block p{display:block;font-size:11px;line-height:1.7}.lobby-grid{display:flex;flex-direction:column;gap:20px}.lobby-match{padding:22px 20px 18px;border-radius:15px}.lobby-match h2{font-size:23px;margin-bottom:20px}.mode-segment{margin-bottom:18px}.mode-segment span{font-size:13px}.lobby-clock{font-size:12px;margin-bottom:18px}.game-app .lobby-start{min-height:58px;font-size:22px}.lobby-match>#home-match-note{font-size:11px;margin-top:12px}.lobby-rules{min-height:30px;margin-top:0;font-size:11px}.lobby-support{gap:22px}.game-app .lobby-practice{padding:0 0 20px;min-height:64px}.lobby-practice strong{font-size:16px;margin-bottom:4px}.lobby-practice small{font-size:11px}.feature-icon{width:42px;height:42px}.daily-puzzle .section-heading{margin-bottom:14px}.daily-puzzle h2{font-size:17px}.puzzle-preview{min-height:140px;padding:12px 14px}.puzzle-preview #home-puzzle-board{width:112px}.puzzle-preview p{font-size:12px}.puzzle-mini{max-height:130px}.lobby-shortcuts{margin-top:24px;padding-top:16px;gap:4px}.lobby-shortcuts a{font-size:11px;flex-direction:column;gap:9px;min-height:62px}.game-app .resume-banner,.game-app .ready-banner{padding:12px 20px}.game-app .online-bar{padding:10px 16px}.game-app .skin-picker{padding:10px 20px}.game-app.in-game .app-utilities .language-control{display:none}}
@media(prefers-reduced-motion:reduce){.game-app *{scroll-behavior:auto!important}}

.game-app .inline-actions{flex-wrap:wrap;min-width:0;max-width:100%}.game-app .inline-actions>*{min-width:0;white-space:normal}.game-app .record-row{min-width:0}.game-app .record-row>*{min-width:0;overflow-wrap:anywhere}
.game-app input[type=file]{width:100%;max-width:100%;min-width:0}.game-app .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.game-app .table-wrap table{min-width:520px}.game-app .table-wrap th,.game-app .table-wrap td{overflow-wrap:normal}
.game-app button.primary:hover,.game-app .button.primary:hover,.game-app a.button.primary:hover{color:#152137;background:#a9c6ff}.game-app button:not(.primary):hover{color:#f2f3f5;background:#2c3e55}.game-app .skip-link:focus{color:#152137;background:#8bb2ff}.game-app .connection-state,.game-app .lobby-heading #home-live,.game-app .lobby-profile p,.game-app .lobby-profile .level-block p,.game-app .lobby-match>#home-match-note,.game-app .lobby-rules,.game-app .lobby-practice small,.game-app .lobby-shortcuts a{font-size:12px}

@media(max-width:1099px){.game-app .account-actions{display:none}.game-app .mobile-nav{position:fixed;inset:auto 0 0;z-index:30;width:100%;align-items:stretch}.game-app .mobile-nav a{align-items:center;text-align:center;text-decoration:none}}
