.author-tools{margin-block:12px;background:#fff;border-radius:14px;padding:12px 16px}.author-tools>summary{cursor:pointer;font-weight:700}.lesson-library{display:grid;gap:.65rem;min-width:0}.lesson-library header,.lesson-library form{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.lesson-library h3{margin:0}.library-filters{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:.5rem}.library-filters select{width:100%;min-width:0}.library-results{max-height:16rem;overflow:auto;overscroll-behavior:contain;border:1px solid #c7dfe9;border-radius:10px}.library-results button{display:grid;width:100%;grid-template-columns:3ch minmax(0,1fr) auto;align-items:center;gap:.65rem;text-align:left;background:#fff;color:#183e53;border:0;border-bottom:1px solid #dceaf0;border-radius:0;box-shadow:none;padding:.55rem .7rem}.library-results button[aria-pressed=true]{background:#dcf1fa;box-shadow:inset 3px 0 #15739e}.library-results strong{overflow-wrap:anywhere}.lesson-library form input{min-width:0;flex:1}.editor-panel .lesson-practice-choice{display:flex;align-items:center;gap:.6rem;font-weight:700}.lesson-practice-choice input{width:auto;accent-color:#14709a}.chapter-actions,.chapter-pages{display:flex;align-items:stretch;gap:.35rem}.chapter-actions>button:last-child{color:#94394d;min-width:44px}.chapter-pages{align-items:center;flex-wrap:wrap;margin-block:.7rem}.chapter-pages strong{font-variant-numeric:tabular-nums}.admin-page .admin-bar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.admin-page .admin-bar h1{white-space:nowrap}.admin-page .toolbar{min-width:0;display:flex;flex-wrap:wrap}.admin-page .toolbar button,.admin-page .chapter-pages button,.admin-page .author-tools button{white-space:normal;height:auto;min-height:42px;overflow-wrap:anywhere}.admin-page .deck-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));overflow:visible;gap:.55rem}.admin-page .chapter-actions{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:0;border:1px solid #c7dfe9;border-radius:12px;background:#fff}.admin-page .chapter-actions button{min-width:0;height:auto;border:0;box-shadow:none;background:transparent}.admin-page .chapter-actions button:first-child{display:grid;justify-items:start;gap:2px;text-align:left;line-height:1.25;white-space:normal;overflow-wrap:anywhere;padding:9px 12px;border-radius:11px 0 0 11px}.admin-page .chapter-actions button.active{background:#ddf2fc;color:#134a68}.admin-page .chapter-actions button:last-child{border-left:1px solid #deebf0;border-radius:0 11px 11px 0}.admin-page .workspace,.admin-page .board-column,.admin-page .editor-panel,.admin-page .panel-heading>*{min-width:0}.admin-page .panel-heading,.admin-page .program-create,.admin-page .import-row{flex-wrap:wrap;height:auto;overflow-wrap:anywhere}.admin-page .workspace .board{max-width:100%;aspect-ratio:1}.admin-page .author-tools input,.admin-page .author-tools select,.admin-page .lesson-library input{max-width:100%;box-sizing:border-box}.admin-page .library-results button{grid-template-columns:minmax(4ch,auto) minmax(0,1fr) auto}@media(max-width:820px){.admin-page .admin-bar{grid-template-columns:minmax(0,1fr)}.admin-page .admin-bar .toolbar{justify-content:flex-start}.admin-page .workspace{grid-template-columns:minmax(0,1fr)}.admin-page .editor-panel{max-height:none}.admin-page .chapter-pages>*{max-width:100%}}@media(max-width:480px){.admin-page .library-filters{grid-template-columns:minmax(0,1fr)}.admin-page .chapter-pages{gap:.5rem}.admin-page .chapter-pages button:last-child{flex-basis:100%}}.admin-page .chapter-actions button:first-child{align-content:center;justify-content:start}.admin-page .chapter-actions button:first-child small{font-size:.78rem;color:#476477}.admin-page .editor-panel label.lesson-practice-choice{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;padding:.7rem .85rem;background:#edf6fa;border-radius:.65rem}.admin-page .editor-panel .lesson-practice-choice input[type=checkbox]{flex:0 0 18px;height:18px;min-height:0;width:18px;margin:0}.admin-page .editor-panel .panel-heading{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}@media(min-width:360px)and (max-width:600px){.admin-page .deck-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .chapter-actions{grid-template-columns:minmax(0,1fr) 40px}.admin-page .chapter-actions:has(button:first-child.active){grid-column:1/-1}.admin-page .chapter-actions button:first-child{padding:8px}}.admin-page .chapter-picker{margin:10px 0;background:#fff;border-radius:12px;padding:10px 14px}.chapter-picker>summary{cursor:pointer;font-weight:750;overflow-wrap:anywhere}.chapter-picker>summary small{margin-inline-start:.8rem;color:#456b81;font-weight:500}.admin-page .author-workbench{display:grid;align-items:start;gap:clamp(10px,1vw,20px);grid-template-columns:minmax(215px,.78fr) minmax(280px,1.64fr) minmax(265px,1fr);width:100%;margin-inline:auto}.author-library{min-width:0;background:#fff;border-radius:14px;border:1px solid #c7dfe9;padding:14px}.author-library .editor-fen-list{margin:0;padding:0;border:0}.author-library .library-results{max-height:clamp(15rem,45vh,34rem)}.author-library .chapter-pages{justify-content:space-between}.author-library .chapter-pages strong{order:-1;width:100%;font-size:.85rem}.admin-page .author-workbench .board-column{display:flex;align-items:flex-start;justify-content:center;width:100%}.admin-page .author-workbench .board{width:min(100%,max(290px,calc(100dvh - 175px)))}.admin-page .author-workbench .editor-panel{max-height:none}.author-workbench .solution-heading{gap:.4rem;flex-wrap:wrap}.author-workbench .solution-heading h3{width:100%}.author-workbench .solution-lines{overflow:auto;max-height:48vh}.author-workbench .panel-heading .save-status{max-width:none;text-align:start}@media(min-width:761px)and (max-width:1050px){.admin-page .author-workbench{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.author-workbench .author-library{grid-column:1/-1}.author-library .library-results{max-height:8rem}}@media(max-width:760px){.admin-page .author-workbench{grid-template-columns:minmax(0,1fr)}.author-library .library-results{max-height:9rem}.admin-page .author-workbench .board{width:min(100%,68dvh)}}.library-results .source-reference{display:block;font-weight:500;color:#557081;font-size:.75rem}.author-library .lesson-library select{width:100%;min-width:0}.author-library .lesson-library header{position:static}.author-library label{display:grid;gap:.25rem}.author-workbench .editor-panel .panel-heading small{display:block;overflow-wrap:anywhere}.admin-page .author-library header{padding:0;min-height:0;background:transparent;box-shadow:none;border:0;margin:0}.admin-page .author-library select{border:1px solid #b3d4e3;border-radius:8px;background:#f8fcfe;color:#214960;padding:.45rem;font:inherit}.admin-page .author-library .library-results p{padding:.6rem}.admin-page .author-library .lesson-library{gap:.6rem}.admin-page .author-workbench .board{min-height:0;display:grid;grid-template-rows:repeat(8,minmax(0,1fr))}.admin-page .admin-bar{margin-block:0 6px;padding-block:4px}.admin-page .chapter-picker,.admin-page .author-tools{padding-block:7px;margin-block:6px}.author-workbench .variation button{min-height:32px;padding-inline:.5rem}.fen-matrix-scroll{height:clamp(170px,32vh,310px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.fen-matrix-tiles{position:absolute;inset-inline:0;display:grid;grid-auto-rows:48px}.fen-matrix-tiles button{margin:2px;min-width:0;min-height:0;padding:0;border-radius:8px;background:#f2f8fc;color:#174761;border:1px solid #b7d5e6;font:inherit;font-weight:700;font-variant-numeric:tabular-nums}.fen-matrix-tiles button[aria-pressed=true]{background:#176384;color:#fff;border:2px solid #0b4059}.matrix-control button{min-height:44px;min-width:40px;padding:4px 8px}.matrix-control button[aria-expanded]{flex:1;line-height:1.15}.matrix-control strong{display:block;font-size:.85em}.fen-matrix-tiles button:focus-visible,.matrix-control button:focus-visible{outline:3px solid #b16700;outline-offset:-3px}@font-face{font-family:"Baloo 2";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/baloo-2/vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Baloo 2";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/baloo-2/latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Baloo 2";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/baloo-2/latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:"Baloo 2",Segoe UI,sans-serif;color:#24475a;background:#eaf4f8;font-synthesis:none;--blue: #1979aa;--muted: #66818e;--line: #dce7ed}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 16px;min-height:44px;background:#fff;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700}button:hover{background:#edf6fb}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #64b8e7;outline-offset:3px}header{height:68px;padding:0 32px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.brand{border:0;background:transparent;padding:0;gap:12px}.brand strong{font-size:21px;letter-spacing:-.6px}.brand strong span{font-weight:600;color:#718692;font-size:17px;letter-spacing:0;margin-left:8px}.brand-mark{width:36px;height:36px;background:#1979aa;color:#fff;display:grid;place-items:center;border-radius:11px;font-size:24px;font-weight:800}.header-right,.toolbar{display:flex;align-items:center;gap:10px}.nav,.icon-button{border:0;background:transparent}.nav.active{color:var(--blue);background:#e9f4fb}.icon-button{padding:10px}.preview-tag{font-size:12px;color:#7d643d;background:#fff5e4;padding:5px 9px;border-radius:6px}.primary,.publish{background:var(--blue);color:#fff;border-color:var(--blue)}.primary:hover,.publish:hover{background:#12678f}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:800;color:#658294}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px}h2{font-size:21px;line-height:1.4}h3{font-size:16px}.home{max-width:1120px;margin:64px auto;padding:0 28px}.home-heading{margin-bottom:36px}.home-heading h1{margin:10px 0;color:#21465a}.home-heading p,.empty p{color:var(--muted)}.deck-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.deck-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;min-height:236px;padding:24px;border-radius:18px;box-shadow:0 5px 20px #21465a05;gap:18px}.deck-card h2{flex:1;margin:0}.book-icon{width:44px;height:44px;background:#eaf5fb;color:#2980ad;border-radius:12px;display:grid;place-items:center}.open-deck{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:14px;color:var(--blue)}.practice,.workspace{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,.72fr);gap:26px;max-width:1300px;margin:0 auto;padding:24px;align-items:start}.practice{height:calc(var(--app-viewport-h,100vh) - 68px);grid-template-columns:minmax(280px,1fr) minmax(300px,.72fr)}.board-column{min-width:0;display:flex;justify-content:center}.practice .board-column{height:100%;align-items:flex-start}.board{width:min(100%,calc(var(--app-viewport-h,100vh) - 116px));aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);position:relative;border-radius:4px;overflow:hidden;isolation:isolate;touch-action:none;flex:none;background:#c4dbe4;-webkit-user-select:none;user-select:none}.square{border:0;border-radius:0;padding:0;min-height:0;display:block;position:relative;aspect-ratio:1;touch-action:none}.square.light{background:#f2f3f1}.square.dark{background:#c2d9e3}.square img{position:absolute;width:94%;height:94%;left:3%;top:3%;object-fit:contain;z-index:2;pointer-events:none;-webkit-user-select:none;user-select:none}.square.selected{box-shadow:inset 0 0 0 4px #e8b542}.square.is-drag-source img{visibility:hidden}.square.is-drag-target{box-shadow:inset 0 0 0 4px #5ba4c9}.rank,.file{position:absolute;font-size:clamp(9px,1.1vw,14px);font-weight:800;z-index:3;pointer-events:none;color:#326683}.rank{left:4px;top:1px}.file{right:4px;bottom:0}.light .rank,.light .file{color:#8faeba}.dragged-chess-piece{position:fixed;pointer-events:none;z-index:1000;will-change:transform;object-fit:contain;filter:drop-shadow(0 8px 5px #20394440)}.panel{background:#fff;border:1px solid #e2e9ed;border-radius:16px;overflow:hidden;min-width:0}.solve-panel{height:100%;max-height:calc(var(--app-viewport-h,100vh) - 116px);display:flex;flex-direction:column}.panel-heading{padding:18px 20px;min-height:76px;border-bottom:1px solid #ecf0f2;display:flex;gap:12px;align-items:center}.panel-heading h2{margin:0;flex:1}.fraction{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}.solve-content{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 24px 20px}.side-badge{padding:8px 14px;border-radius:7px;font-size:13px;font-weight:800;margin-bottom:22px}.side-badge.white{background:#fff;border:1px solid #cad9e2;color:#253b49}.side-badge.black{background:#253b49;color:#fff}.solve-content h1{font-size:30px;margin-bottom:8px}.feedback{color:#6d8390;line-height:1.6;min-height:50px;font-size:15px;max-width:300px;margin:0 0 28px}.feedback.success{color:#268958;font-weight:800}.solve-summary{display:flex;gap:40px;justify-content:center;margin-top:auto;margin-bottom:24px}.solve-summary>div{display:flex;flex-direction:column;gap:3px;min-width:62px}.solve-summary strong{font-size:24px;font-variant-numeric:tabular-nums}.solve-summary span{font-size:12px;color:var(--muted)}.next-button{width:100%;background:#54a874;color:#fff;border:0}.next-button:hover{background:#428e60}.solve-footer{padding:18px 22px;background:#fafcfd;border-top:1px solid #edf1f3;display:flex;flex-direction:column;gap:12px;color:#6c8390;font-size:13px}.solve-footer>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lesson-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(35px,1fr));gap:6px;max-height:145px;overflow:auto;padding:8px 2px}.lesson-grid button{padding:4px;min-height:36px;font-size:12px;border-radius:6px}.lesson-grid .selected,.solution-lines .selected{background:#1979aa;color:#fff;border-color:#1979aa}.lesson-grid .answered{background:#e3f3e9;border-color:#acd6bf;color:#2d7c54}.lesson-grid .selected.answered{box-shadow:inset 0 0 0 2px #1979aa}summary{cursor:pointer;min-height:34px;padding:6px 0;font-weight:700}.empty{padding:60px 24px;text-align:center;color:#67818e;display:flex;align-items:center;flex-direction:column;gap:10px}.empty>svg{width:36px;height:36px;margin-bottom:12px}.empty h2{margin:0;color:#35576b}.admin-page{max-width:1450px;margin:auto;padding:24px}.admin-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.admin-bar h1{font-size:26px;margin:4px 0 0}.deck-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px}.deck-tabs button{flex:none}.deck-tabs small{font-size:11px;color:#76929f}.deck-tabs .active{border-color:#6baed1;background:#e6f3fa}.workspace{padding:0;max-width:none;grid-template-columns:minmax(280px,1fr) minmax(330px,.8fr)}.workspace .board{width:min(100%,calc(var(--app-viewport-h,100vh) - 230px))}.editor-panel{padding-bottom:18px;max-height:calc(var(--app-viewport-h,100vh) - 225px);overflow:auto}.editor-panel>label,.editor-panel>details,.editor-panel>.lesson-grid,.editor-panel>.validation,.editor-panel>.solution-lines,.editor-panel>.solution-heading{margin-left:20px;margin-right:20px}.editor-panel .panel-heading{padding:14px 20px;margin-bottom:14px}.save-status{font-size:11px;color:#729080;max-width:120px;text-align:right}.solution-heading{display:flex;align-items:center;gap:6px;margin-top:20px}.solution-heading h3{margin:0 auto 0 0}.solution-heading button{font-size:12px;padding:6px 10px;min-height:34px}.solution-lines{min-height:70px;max-height:220px;overflow:auto}.variation{display:flex;align-items:center;gap:8px;min-height:40px;border-bottom:1px solid #edf2f5}.variation>small{flex:none;color:#6a8492}.variation>div{display:flex;min-width:0;overflow-x:auto;white-space:nowrap}.variation button{border:0;background:transparent;font-weight:600;min-height:34px;padding:3px 6px;border-radius:5px;font-size:13px}.variation button.selected{background:#1979aa;color:#fff}.validation{font-size:12px;color:#a7742b;margin-top:16px;overflow-wrap:anywhere}.validation.valid{color:#268958}label{display:flex;flex-direction:column;font-size:13px;font-weight:700;gap:7px;margin-bottom:14px}input,textarea{border:1px solid #d4e1e9;border-radius:8px;padding:11px 12px;min-height:44px;background:#fff;color:#24475a;width:100%;font-weight:400}textarea{min-height:90px;resize:vertical;font-family:monospace;font-size:12px}.error{max-width:1250px;margin:12px auto;background:#fff0eb;border:1px solid #efcbbb;padding:12px 18px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:13px;overflow-wrap:anywhere}.error>button{margin-left:auto;flex:none}.login{max-width:420px;margin:64px auto;padding:32px;background:#fff;border-radius:18px}.login h1{margin-top:8px}.login .primary{width:100%}.text-button{border:0;color:var(--blue);background:transparent;font-size:13px;padding:6px 0}.board-promotion{position:absolute;inset:0;background:#1c344540;z-index:25}.promotion-choices{position:absolute;width:12.5%;display:flex;flex-direction:column;background:#fff;box-shadow:0 6px 18px #15364660}.promotion-choices.from-top{top:0}.promotion-choices.from-bottom{bottom:0;flex-direction:column-reverse}.promotion-choices button{width:100%;aspect-ratio:1;min-height:0;padding:0;border:0;border-radius:0}.promotion-choices img{width:92%;height:92%;object-fit:contain}@media(max-width:760px){header{height:60px;padding:0 14px;gap:6px}.brand strong{font-size:18px}.brand strong span{display:none}.header-right{gap:2px}.preview-tag{font-size:10px;padding:4px 6px}.nav{padding:8px;font-size:12px}.practice,.workspace{display:flex;flex-direction:column;gap:16px;padding:14px;max-width:620px;height:auto}.board-column{width:100%}.practice .board-column{height:auto}.board,.workspace .board{width:100%;max-width:calc(var(--app-viewport-h,100vh) - 82px)}.solve-panel{width:100%;max-height:none;min-height:300px}.panel-heading{padding:10px 14px;min-height:58px}.solve-content{padding:18px}.side-badge{margin-bottom:12px;padding:6px 12px}.solve-content h1{font-size:24px}.feedback{min-height:30px;margin-bottom:10px;font-size:14px}.solve-summary{margin:10px 0 18px;gap:50px}.solve-summary strong{font-size:22px}.solve-footer{padding:12px 18px}.home{margin:36px auto;padding:0 20px}.home h1{font-size:29px}.deck-cards{grid-template-columns:1fr}.deck-card{min-height:200px}.admin-page{padding:18px 14px}.admin-bar{align-items:flex-start;flex-direction:column;gap:12px}.admin-bar h1{font-size:24px}.toolbar{flex-wrap:wrap;gap:6px}.toolbar button{font-size:12px;padding:8px 10px}.workspace{padding:0}.editor-panel{width:100%;max-height:none}.login{margin:32px 14px}.rank,.file{font-size:10px}.error{margin:8px;font-size:12px;flex-wrap:wrap}.lesson-grid button{min-height:42px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.board-drawings{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.manual-square-highlight{position:absolute;inset:0;z-index:1;pointer-events:none}.computer-move-overlay{z-index:4}.password-field{position:relative}.password-field input{padding-right:68px}.password-field button{position:absolute;right:2px;top:2px;bottom:2px;border:0;min-height:40px;padding:8px 12px;background:transparent;font-size:12px}.password-note,.signup-note{font-size:13px;color:var(--muted);font-weight:400}.signup-note{margin-bottom:22px}.publish-backdrop{position:fixed;inset:0;z-index:100;background:#15394e55;display:grid;place-items:center;padding:20px}.publish-dialog{background:#fff;padding:28px;border-radius:16px;max-width:520px;width:100%;box-shadow:0 12px 60px #163f5b33}.publish-dialog p{line-height:1.6;font-size:14px;color:var(--muted)}.publish-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.publish-dialog-actions button{font-size:13px}.solve-content>.next-button+button{margin-top:10px}.admin-bar .toolbar{flex-wrap:wrap;justify-content:flex-end}.battle-panel{height:calc(var(--app-viewport-h,100vh) - 116px);display:flex;flex-direction:column;padding:0 20px 18px}.battle-panel>.panel-heading{margin:0 -20px 12px}.battle-clock{display:flex;align-items:center;justify-content:space-between;padding:16px;border:1px solid #dde8ee;border-radius:10px;background:#f5f8fa;gap:12px;flex:none}.battle-clock>span{font-size:13px;color:#617b8b}.battle-clock strong{font-size:42px;line-height:1.1;font-variant-numeric:tabular-nums;color:#567080;white-space:nowrap}.battle-clock strong i{font-size:12px;vertical-align:middle;margin-right:10px;font-style:normal}.battle-clock.running{background:#e8f5fd;border-color:#2586bd;box-shadow:inset 4px 0 #2586bd}.battle-clock.running strong{color:#135f8b}.battle-clock.urgent strong{color:#bf3c35}.battle-center{flex:1;min-height:110px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:16px 0;overflow:auto;text-align:center}.battle-center .side-badge{margin:0}.battle-center p{margin:0;font-size:14px;line-height:1.5}.battle-objective{color:#6d8390}.battle-actions{display:flex;justify-content:center;gap:12px;padding-top:16px;flex:none}.battle-actions>button{flex:1}.battle-actions .resign{color:#8d6b67;background:transparent;border-color:transparent}.battle-invite{background:#e98d26;color:#fff;width:100%;border:0;margin-bottom:12px}.battle-invite:hover{background:#d67c19}.battle-invite.pulse{animation:battle-ready 1.5s ease-in-out 4}.premove-square{box-shadow:inset 0 0 0 4px #8578c7!important}.duel-page .premove-square,.practice.battle .premove-square{box-shadow:inset 0 0 0 2px #a51e38aa,inset 0 0 0 100px #c91f3f70!important}.practice-settings{margin:14px 20px}.practice-settings .practice-check{flex-direction:row;align-items:center}.practice-check input{width:18px;min-height:18px}.practice-settings fieldset{border:0;margin:0;padding:0}.practice-settings select{min-height:44px;padding:8px;border:1px solid #d4e1e9;border-radius:8px}.practice-settings small{font-size:11px;color:var(--muted)}.practice-time{display:grid;grid-template-columns:1fr 1fr;gap:10px}@keyframes battle-ready{50%{box-shadow:0 0 0 5px #e98d2630}}@media(max-width:760px){.battle-panel{width:100%;height:380px;padding:0 16px 14px}.battle-panel>.panel-heading{margin:0 -16px 10px}.battle-clock{padding:12px}.battle-clock strong{font-size:30px}.battle-center{min-height:80px;padding:10px 0}.battle-center p{font-size:12px}.battle-actions{padding-top:10px}.battle-center .side-badge{font-size:12px}.practice.battle{gap:14px}}.completion-dialog{position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-width:none;max-height:calc(var(--app-viewport-h,100vh) - 32px);box-sizing:border-box;overflow:auto;padding:32px 24px 26px;border:1px solid #d4e6ed;border-radius:24px;background:#fff;color:#23495f;box-shadow:0 20px 70px #12364d33;text-align:center}.completion-dialog::backdrop{background:#163d5466}.completion-dialog h2{font-size:clamp(21px,4.8vw,27px);margin:10px 0 24px;padding:0 12px}.completion-dismiss{position:absolute;top:4px;right:4px;width:44px;height:44px;padding:0;border:0;background:transparent;color:#526b7a;font-size:27px}.completion-actions{display:flex;gap:12px;justify-content:center}.completion-actions button{flex:1;min-height:52px;border:0;border-radius:13px;padding:12px 16px;font-weight:700;font-size:17px;touch-action:manipulation}.completion-next{background:#27804b;color:#fff}.completion-next:hover{background:#1c6539}.completion-practice{background:#c65b08;color:#fff}.completion-practice:hover{background:#a74705}.completion-actions button:disabled{background:#e1e7eb;color:#657682;cursor:not-allowed}.completion-note{font-size:14px;line-height:1.5;margin:16px 0 0;color:#526b7a}.completion-body [role=alert]{overflow-wrap:anywhere}@media(max-height:360px){.completion-dialog{padding:16px 24px}.completion-dialog h2{margin-bottom:12px}}.completion-overlay{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box;background:#163d544d;touch-action:manipulation}.completion-overlay .completion-dialog{position:relative;inset:auto;margin:0;width:min(420px,100%);max-height:100%;padding:24px 20px 22px;outline:none}.completion-overlay .completion-dialog:focus-visible{outline:3px solid #167bb4;outline-offset:-3px}.completion-overlay .completion-dialog h2{font-size:clamp(18px,3.5vw,25px);margin:12px 0 20px}@media(max-width:420px),(max-height:420px){.completion-overlay .completion-dialog{padding:20px 12px 16px;border-radius:18px}.completion-overlay .completion-actions{gap:8px}.completion-overlay .completion-actions button{padding:10px;font-size:16px;min-height:48px}.completion-overlay .completion-dialog h2{margin:10px 0 18px}}.sync-pending{font-size:12px;padding:4px 8px;min-height:28px;background:#f1f7fa;border:1px solid #d6e4ed;color:#416477;flex:none}.journey{width:100%;color:#23495f;background:#f4fbff;border-radius:22px;overflow:hidden}.home>.journey{max-width:540px;margin:0 auto;box-shadow:0 12px 50px #24516d12;border:1px solid #d4e6ee}.journey-top{padding:20px 22px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.journey-eyebrow{font-size:10px;letter-spacing:1.5px;color:#48758a;font-weight:800}.journey-top h2{margin:5px 0 0;font-size:25px}.journey-review{min-height:44px;padding:8px 12px;font-size:13px;background:#fff;border:1px solid #d3e3e9;border-radius:12px}.journey-coach{display:flex;gap:12px;align-items:center;padding:10px 20px 0}.journey-guide{width:76px;height:88px;flex:none}.journey-coach p{background:#fff;border:1px solid #d9e9ed;border-radius:15px 15px 15px 3px;padding:13px;font-size:14px;line-height:1.5;margin:0}.journey-progress{display:flex;justify-content:space-between;gap:8px;padding:12px 22px;font-size:12px;font-weight:600;color:#507587}.journey-land{position:relative;background:radial-gradient(ellipse at 0 12%,#d8f1e3 0,transparent 45%),radial-gradient(ellipse at 100% 80%,#d8edf9 0,transparent 45%),#eef8f1;border-top:1px solid #ddece4;border-bottom:1px solid #ddece4}.journey-land:before,.journey-land:after{content:"";position:absolute;width:74px;height:40px;border-radius:50%;background:#fff9;pointer-events:none}.journey-land:before{top:17%;left:5%;box-shadow:18px 0 #ffffff80}.journey-land:after{bottom:15%;right:5%;box-shadow:-18px 0 #ffffff80}.journey-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.journey-node{position:absolute;width:68px;height:58px;padding:0;transform:translate(-50%,-50%);border:0;background:transparent;z-index:1;overflow:visible;display:flex;justify-content:center;align-items:center}.journey-stone{width:53px;height:51px;display:flex;justify-content:center;align-items:center;border-radius:17px;background:#e7a534;color:#482d07;border:3px solid #ffe6a5;box-shadow:0 6px #b77920,0 9px 9px #315b3822;font-size:22px;font-weight:850}.journey-node.done .journey-stone{background:#389561;color:#fff;border-color:#b4e6bc;box-shadow:0 6px #226441,0 9px 9px #315b3822}.journey-node.locked .journey-stone{background:#dce7e2;color:#8ba59b;border-color:#f4faf6;box-shadow:0 5px #b8cdc2}.journey-node:disabled{opacity:1}.journey-node.current .journey-stone{outline:4px solid #78cced;outline-offset:4px}.journey-node:hover:not(:disabled) .journey-stone{filter:brightness(1.07)}.journey-node-label{position:absolute;top:62px;left:50%;transform:translate(-50%);white-space:nowrap;font-size:11px;line-height:1.3;font-weight:650;color:#4e6a5d}.journey-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;font-size:12px}.journey-pages button{min-height:44px;padding:6px 12px;font-size:12px;border:1px solid #d7e5e5;background:#fff}.journey-actions{display:flex;flex-wrap:wrap;gap:10px;padding:16px 20px;position:sticky;bottom:0;background:#f4fbfff5;border-top:1px solid #deebee;z-index:3}.journey-actions button{flex:1;min-height:50px;font-size:16px;font-weight:750;border:0;border-radius:12px}.journey-actions small{width:100%;color:#577083;font-size:12px;text-align:center}.journey-empty{padding:20px;text-align:center;font-size:14px}.journey-panel{max-height:calc(var(--app-viewport-h,100vh) - 116px);overflow-y:auto;overscroll-behavior:contain;padding:0}@media(min-width:1101px){.journey-panel .journey-land{max-height:490px}}@media(max-width:1100px){.learning-journey.map-view{display:block;max-width:620px;height:auto}.learning-journey.map-view>.board-column{display:none}.learning-journey.map-view .journey-panel{max-height:none;overflow:visible;width:100%}.learning-journey.map-view .journey{min-height:calc(var(--app-viewport-h,100vh) - 100px)}}@media(prefers-reduced-motion:reduce){.journey *{scroll-behavior:auto}}.home>.journey,.journey-panel>.journey{height:calc(var(--app-viewport-h,100vh) - 116px);display:flex;flex-direction:column}.journey-top,.journey-coach,.journey-progress,.journey-actions{flex-shrink:0}.journey-scroll{min-height:120px;flex:1;overflow-y:auto;overscroll-behavior:contain}.journey-panel .journey-land{max-height:none}.journey-panel{overflow:hidden}.journey-actions{position:relative;bottom:auto}@media(max-width:1100px){.learning-journey.map-view .journey{height:calc(var(--app-viewport-h,100vh) - 96px);min-height:0}}.practice-crown{display:inline-block;width:24px;height:23px;flex:none;vertical-align:middle}.journey-node>.practice-crown{position:absolute;right:-3px;top:-9px;width:29px;height:27px;filter:drop-shadow(0 2px 2px #65440d25)}.journey-land{background-color:#75491e;background-image:conic-gradient(from 45deg,#845524 25%,#704319 0 50%,#845524 0 75%,#704319 0);background-size:144px 144px;border-color:#9d7338;isolation:isolate}.journey-land:before{top:0;left:0;width:100%;height:100%;border-radius:0;background:linear-gradient(135deg,#f1c56d12,#35221018);box-shadow:none}.journey-land:after{display:none}.journey-land .journey-trail{z-index:0;opacity:.75}.journey-node{width:82px;height:68px}.journey-node .journey-stone{position:relative;width:78px;height:67px;background:transparent;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 6px 0 #4d2d0f) drop-shadow(0 8px 4px #38200d55)}.journey-stone:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#fff1a0,#efbc36 40%,#ac6810);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.journey-stone:after{content:"";position:absolute;inset:6px 8px;background:linear-gradient(135deg,#a46b17,#72420e);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.journey-mark{position:relative;z-index:1;color:#fff4cc;font-weight:900;font-size:24px;text-shadow:0 2px 2px #4c2e10}.journey-node.done .journey-stone{background:transparent;border:0;box-shadow:none;filter:drop-shadow(0 6px 0 #294425) drop-shadow(0 8px 4px #38200d55)}.journey-node.done .journey-stone:before{background:linear-gradient(135deg,#c6f299,#65ae4c 50%,#397333)}.journey-node.done .journey-stone:after{background:linear-gradient(135deg,#70ac4b,#437e37)}.journey-node.locked .journey-stone{background:transparent;box-shadow:none;border:0;filter:drop-shadow(0 5px 0 #4f321a);opacity:.6}.journey-node.locked .journey-stone:before{background:#bc9760}.journey-node.locked .journey-stone:after{background:#785328}.journey-node.current .journey-stone{outline:0;filter:drop-shadow(0 0 5px #ffe692) drop-shadow(0 5px 0 #634011)}.journey-node-label{top:70px;font-size:10px;color:#fff3d1;text-shadow:0 1px 3px #34200d}.journey-traveller{position:absolute;width:34px;height:49px;left:-17px;top:-12px;filter:drop-shadow(0 3px 2px #22160e55);z-index:3}.journey-node>.practice-crown{z-index:4;right:0;top:-5px}.chess-landmarks{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}.chess-landmarks svg{position:absolute}.map-globe{width:116px;top:8%;left:0;transform:rotate(-8deg)}.map-clock{width:120px;right:-10px;top:48%;transform:rotate(9deg)}.map-rook{width:65px;left:3%;bottom:2%;transform:rotate(-9deg)}.journey-friends{position:absolute;left:77px;top:10px;display:flex;gap:2px;z-index:4;pointer-events:auto}.journey-friends.friends-left{left:auto;right:77px}.journey-avatar{width:27px;height:29px;display:grid;place-items:center;border-radius:8px;border:2px solid #fff6dd;font-size:9px;font-weight:850;color:#fff;box-shadow:0 2px 4px #35200e60}.journey-avatar.more{background:#64431f}.journey-peer-note{padding:5px 20px;text-align:center;font-size:10px;color:#6c7780;flex:none}.coin-wallet{position:relative;display:inline-flex;align-items:center;gap:5px;background:#fff6d7;border:1px solid #e8bf59;border-radius:22px;padding:4px 10px 4px 5px;min-height:35px;color:#79500b;font-size:16px;flex:none;font-variant-numeric:tabular-nums}.coin-icon{width:27px;height:27px;flex:none}.coin-burst{position:absolute;right:4px;top:32px;color:#9a6710;background:#fff1ba;border:1px solid #e3bf63;border-radius:10px;font-size:13px;padding:2px 7px;white-space:nowrap;z-index:30}@media(max-width:480px){header{padding-left:14px;padding-right:14px;gap:5px}.header-right{gap:2px}.header-right .nav{padding:8px 7px;font-size:12px}.header-right .coin-wallet{font-size:14px;padding-right:7px}.coin-icon{width:23px;height:23px}.map-clock{width:105px;right:-16px}.map-globe{width:100px;left:-12px}.journey-friends{left:67px}.journey-friends.friends-left{right:67px}.journey-avatar{width:23px;height:25px;font-size:8px}}.journey-scroll{background-color:#75491e;background-image:conic-gradient(from 45deg,#845524 25%,#704319 0 50%,#845524 0 75%,#704319 0);background-size:144px 144px;background-attachment:local}.journey-land{background-color:transparent;background-image:none}.journey-scroll{background:#70431d}.journey-land{height:auto;background:none}.journey-board-grid{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2}.journey-land:before{pointer-events:none}.journey-node{pointer-events:none}.journey-node .journey-stone{width:100%;height:100%;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);pointer-events:auto;filter:none}.journey-node.done .journey-stone,.journey-node.locked .journey-stone,.journey-node.current .journey-stone{filter:none}.journey-stone:before{inset:1px}.journey-stone:after{inset:7px 9px}.journey-node.current .journey-stone:before{background:linear-gradient(135deg,#fff6bf,#f7d56a 55%,#d39120)}.journey-node.done.current .journey-stone:before{background:linear-gradient(135deg,#e4ffc9,#a7d877 55%,#558f3b)}.journey-mark{font-size:clamp(22px,2.2vw,30px)}.journey-node-label{top:78%;font-size:9px}.journey-traveller{left:11%;top:1%;width:26%;height:57%;pointer-events:none}.journey-node>.practice-crown{right:18%;top:12%;width:24%;height:30%;pointer-events:none}.journey-friends{left:calc(50% + 28px);right:auto;top:calc(50% - 12px);pointer-events:auto}.journey-friends.friends-left{left:auto;right:calc(50% + 28px)}.journey-node:focus-visible{outline:none}.journey-node:focus-visible .journey-stone:before{background:#9ee5ff}.training-reward{--emblem-size:24px;display:inline-block;position:relative;width:var(--emblem-size);height:var(--emblem-size);flex:none;vertical-align:middle;overflow:visible;isolation:isolate}.training-reward>img{position:absolute;max-width:none;max-height:none;object-fit:fill;pointer-events:none}.journey-node .journey-stone,.journey-node.locked .journey-stone,.journey-node.done .journey-stone,.journey-node.current .journey-stone{position:relative;overflow:visible;clip-path:none;opacity:1;pointer-events:none;filter:none}.journey-stone:before,.journey-stone:after{display:none}.journey-block{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.journey-hit-face,.journey-block .block-left,.journey-block .block-right,.journey-block .block-inset{pointer-events:auto}.journey-mark{position:absolute;top:45.4545%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;pointer-events:none}.journey-mark>.training-reward{--emblem-size:clamp(22px,2.4vw,31px);width:var(--emblem-size);height:var(--emblem-size);position:relative;inset:auto}.journey-mark>.practice-crown{--emblem-size:clamp(23px,2.5vw,32px)}.journey-node.current .journey-block .block-top{stroke-width:2.4}.journey-node:focus-visible .journey-block .block-top{stroke:#95e4ff;stroke-width:3}.journey-traveller{top:0;left:18%;width:20%;height:40%}.journey-node-label{top:79%}.journey-node:hover:not(:disabled) .journey-block{filter:brightness(1.06)}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}.journey-map-header{display:flex;flex:none;align-items:center;gap:10px;padding:9px 16px;color:#fff6dd;background:linear-gradient(110deg,#50371e,#775630)}.journey-map-header .journey-guide{width:34px;height:40px}.journey-map-header h2{margin:0;font-size:20px}.journey-map-header>span{color:#f8dfab;font-weight:650}.journey-map-header .journey-review{margin-left:auto}.journey-fog{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.journey-land{border:0}.journey-scroll{overflow-anchor:none}.journey-board-grid{z-index:-1}.journey-node:is(:hover,:focus,:active,:disabled){background:transparent}.program-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.program-card,.member-row,.room-row,.match-player,.invite-row,.program-create,.shop-filters,.club-head,.avatar-upload{display:flex;align-items:center;gap:10px}.program-card{padding:18px;text-align:left;border-radius:12px;background:#fff}.program-card>span{font-size:30px;color:#21748a}.program-card b,.member-row>b,.match-player>b,.club-head>button{margin-left:auto}.program-card small,.member-row small,.shop-grid small{display:block}.program-create{margin:8px 0;flex-wrap:wrap}.program-create input,.shop-filters input{width:min(260px,65%)}.club-avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;object-fit:cover;background:#dfedf3;color:#175c79;font-weight:700;flex:none}.club-toggle{position:relative;padding:2px}.club-toggle i{position:absolute;right:0;top:-4px;color:#ef8722}.club-backdrop{position:fixed;inset:0;z-index:110;background:#152e4080;display:grid;place-items:center;padding:10px}.club-panel{width:min(580px,100%);max-height:calc(var(--app-viewport-h,100vh) * .94);overflow:auto;background:#fff;border-radius:16px;padding:18px}.club-head{position:sticky;top:-18px;background:#fff;z-index:2;padding:6px 0}.club-panel nav,.invite-row,.room-row,.shop-filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.club-panel nav [aria-pressed=true]{background:#175f7e;color:#fff}.member-row{width:100%;text-align:left;margin:4px 0}.avatar-upload{cursor:pointer;margin:14px 0}.avatar-upload input{max-width:160px}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:6px}.shop-grid button{display:grid;justify-items:center;align-content:start;font-size:12px;min-width:0}.shop-grid button:disabled{opacity:.75}.shop-grid img,.default-board{width:70px;height:70px;object-fit:contain}.default-board{background:repeating-conic-gradient(#c1d7df 0 25%,#eee 0 50%) 0/22px 22px}.invite-row input{width:70px}.duel{max-width:min(100%,65vh);margin:auto}.duel .board{width:100%;height:auto;aspect-ratio:1}.match-player{padding:6px}.match-player b{font-variant-numeric:tabular-nums}.board-textured{background-size:100% 100%}.board.board-textured .square{background-color:transparent}.journey-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.journey-map-header h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-map-header select{width:70px}.journey-map-header>button{flex:none}.map-party{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:68%;transform:translate(-50%);z-index:5;pointer-events:none;white-space:nowrap}.map-party:after{content:"";position:absolute;bottom:-3px;left:calc(50% - 3px);border:3px solid transparent;border-top-color:#fff;border-bottom:0}.party-face,.party-count{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid white;border-radius:50%;background:#26445c;color:#fff;box-shadow:0 1px 3px #17222b66;overflow:hidden}.party-face+.party-face,.party-count{margin-left:-4px}.party-face.own{z-index:1;border-color:#ffda68}.party-face .club-avatar{width:100%;height:100%;font-size:10px}.party-count{width:auto;min-width:22px;padding:0 3px;font-size:10px}.next-pointer{position:absolute;bottom:63%;left:50%;width:30%;min-width:22px;transform:translate(-50%);perspective:140px;pointer-events:none}.next-pointer svg{display:block;width:100%;filter:drop-shadow(0 2px 1px #66471788);animation:next-turn 2.8s ease-in-out infinite}@keyframes next-turn{0%,20%{transform:translateY(0) rotateY(0)}70%,to{transform:translateY(-3px) rotateY(360deg)}}@media(prefers-reduced-motion:reduce){.next-pointer svg{animation:none}}.dock-compose{display:flex;gap:6px}.dock-compose input{min-width:0;flex:1}.map-party.party-west{left:auto;right:calc(50% - 10px);transform:none;flex-direction:row-reverse}.map-party.party-east{left:calc(50% - 10px);transform:none}.map-party.party-west:after{right:7px;left:auto}.map-party.party-east:after{left:7px}.map-party.party-west .party-face+.party-face,.map-party.party-west .party-count{margin:0 -4px 0 0}.journey-map-header>button{color:#23546b}.next-pointer{pointer-events:auto;cursor:pointer}.next-pointer svg{pointer-events:none}.home.overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr);align-items:start;gap:20px;width:min(1180px,100%);max-width:none;margin:25px auto;padding:0 clamp(12px,2vw,28px)}.overview-programs,.overview-box{min-width:0;padding:clamp(16px,2vw,25px);border:1px solid #cbdde5;border-radius:18px;background:#fafdff;box-shadow:0 6px 18px #173f5610}.overview-programs h1,.overview-box h2{margin:0 0 16px;color:#1b4054;font-size:clamp(19px,2vw,25px);line-height:1.25}.overview-programs .program-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:17px}.overview-programs .program-card{display:flex;align-items:center;gap:12px;text-align:left;min-height:92px;margin:0 0 5px;padding:14px;border:1px solid #9dc4ce;border-radius:14px;background:linear-gradient(145deg,#fff,#e2f1f4);box-shadow:0 5px #8eafb9,0 8px 10px #15384817;transition:transform .13s,box-shadow .13s}.overview-programs .program-card:enabled:hover{transform:translateY(-2px);box-shadow:0 7px #8eafb9,0 10px 12px #15384820}.overview-programs .program-card>span{display:grid;place-items:center;flex:0 0 40px;height:45px;border-radius:10px;background:#d2e8ed;color:#196379;font-size:30px}.overview-programs .program-card div{flex:1;min-width:0;overflow-wrap:anywhere}.overview-programs .program-card small{display:block;margin-top:5px}.overview-side{display:grid;gap:16px;min-width:0}.overview-box p{color:#506575}.overview-box h2{font-size:20px}.overview-box h2 small{font-size:14px;color:#54707f}.watch-feature{width:min(100%,310px);margin:auto}.watch-name{display:flex;align-items:center;gap:8px;margin:5px 0;font-size:14px}.watch-name .club-avatar{width:23px;height:23px}.watch-board{display:grid;width:100%;aspect-ratio:1;grid-template:repeat(8,minmax(0,1fr))/repeat(8,minmax(0,1fr));overflow:hidden;border-radius:4px}.watch-board span{display:grid;place-items:center}.watch-board .pale{background:#eef1e8}.watch-board .shade{background:#8faab1}.watch-board [data-last]{box-shadow:inset 0 0 0 100px #ffde684c}.watch-board img{width:94%;height:94%;object-fit:contain}.watch-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.watch-strip:empty{display:none}.watch-strip button{display:block;padding:3px;min-width:0;background:transparent;border:1px solid #d2e0e7;border-radius:6px}.watch-strip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px}.online-ranks{list-style:none;margin:0;padding:0;max-height:420px;overflow:auto}.online-ranks li{display:grid;grid-template-columns:3ch 30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #e2ebef}.online-ranks strong{overflow-wrap:anywhere}.online-ranks .club-avatar{width:30px;height:30px}.online-ranks b{color:#885a0b;font-size:14px}.header-right .icon-button{display:inline-grid;place-items:center;flex:none;width:35px;height:35px;padding:0}.header-right .icon-button .club-avatar{width:27px;height:27px}.header-right .club-toggle i{top:-5px}@media(max-width:730px){.home.overview-grid{grid-template-columns:minmax(0,1fr);margin-top:14px}.app>header .header-right{gap:3px}.header-right .icon-button{width:32px;height:32px}}:root{--sky-air: #abdef6;--sky-mist: #e9f7ff;--sky-paper: #fcfeff;--sky-ink: #214d6b;--sky-muted: #46667b;--sky-action: #166c9c;--sky-edge: #b1d7e9;--sky-gold: #ffd581;--sky-radius: 18px;--sky-depth: 0 4px 0 #a0cadd, 0 8px 18px #25658a12;--blue: var(--sky-action);--muted: var(--sky-muted);--line: var(--sky-edge);color:var(--sky-ink);background:var(--sky-mist)}body{min-height:100vh;background:url(/sky-chibi/horizon.svg) center top 66px / max(100%,850px) auto repeat-x,linear-gradient(var(--sky-air),var(--sky-mist) 530px)}.app>header{background:var(--sky-paper);border-bottom:2px solid var(--sky-edge)}.sky-brand{width:45px;height:45px;display:block}.header-right .icon-button{background:var(--sky-mist);color:var(--sky-ink);border:1px solid var(--sky-edge);border-radius:13px;box-shadow:0 2px 0 var(--sky-edge)}.header-right .icon-button:hover{background:#d3f0ff}.sky-glyph{fill:#bde9fc;stroke:var(--sky-ink)}.sky-program-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:114px;padding:12px 20px;margin-bottom:18px;border-radius:14px;background:url(/sky-chibi/horizon.svg) center / cover,linear-gradient(110deg,#c7ebfd,#94d6f1)}.sky-program-heading img{width:clamp(70px,9vw,108px);height:auto;flex:none}.sky-program-heading h1{margin:0;line-height:1.15;color:var(--sky-ink)}.overview-programs,.overview-box,.club-panel{background-color:var(--sky-paper);border-color:var(--sky-edge);border-radius:var(--sky-radius);box-shadow:var(--sky-depth)}.overview-programs .program-card{background:linear-gradient(165deg,var(--sky-paper),var(--sky-mist));border-color:var(--sky-edge);box-shadow:var(--sky-depth);color:var(--sky-ink)}.overview-programs .program-card>span{background:#d6effb;border:1px solid var(--sky-edge)}.overview-programs .program-card .sky-glyph{width:25px;height:25px;fill:var(--sky-gold)}.overview-box h2{color:var(--sky-ink)}.watch-strip button:hover{background:var(--sky-mist)}button:focus-visible,a:focus-visible{outline:3px solid var(--sky-action);outline-offset:2px}@media(max-width:730px){.sky-program-heading{min-height:82px;padding:8px 14px}.header-right .icon-button{min-height:40px}.sky-brand{width:38px;height:38px}}.overview-programs .hero-program{background-size:cover;background-position:center;min-height:174px;padding:8px;gap:8px}.overview-programs .hero-program>span{width:124px;flex-basis:124px;height:156px;background:transparent;border:0}.hero-program>span img{width:100%;height:100%;object-fit:contain}.overview-programs .hero-program>div{background:#ffffffe8;padding:8px;border-radius:10px}.program-identity{margin:12px 0;border:1px solid var(--sky-edge);border-radius:14px;background:var(--sky-paper);padding:12px}.program-identity summary{cursor:pointer;font-weight:800}.identity-layout{display:grid;grid-template-columns:minmax(140px,260px) minmax(0,1fr);gap:16px;margin:12px 0}.identity-preview{display:flex;align-items:center;background-size:cover;background-position:center;border-radius:12px;padding:12px}.identity-preview img{width:96px;height:96px;object-fit:contain}.identity-preview strong{background:#ffffffe0;border-radius:8px;padding:6px;overflow-wrap:anywhere}.identity-fields{display:grid;gap:8px}.identity-fields label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.identity-fields input{max-width:100%}.hero-emotions{display:flex;gap:12px;flex-wrap:wrap}.hero-emotions figure{margin:0;text-align:center}.hero-emotions img{width:96px;height:96px}.hero-emotions figcaption{font-size:13px}.import-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--sky-edge);padding:10px 0}.import-row span{min-width:0;overflow-wrap:anywhere}.import-row small{display:block}.remove-import{border:1px solid #dfac85;background:#fff6e9;padding:14px;border-radius:10px;margin-top:12px}@media(max-width:600px){.identity-layout{grid-template-columns:1fr}}.hero-portrait{display:block;width:100%;height:100%}.hero-portrait img{width:100%;height:100%;object-fit:contain}.journey-map-header>.hero-portrait{width:48px;height:55px;flex:none}.journey-map-header h2{background:#ffffffe0;border-radius:8px;padding:4px 6px}.sky-program-heading>.hero-portrait{width:108px;height:108px;flex:none}.sky-program-heading>.hero-portrait img{width:100%;height:100%}.current-level-name{display:inline-block;margin:8px 0 0;padding:3px 9px;background:#ffffffe0;border-radius:8px;color:var(--sky-ink);font-weight:800}.overview-programs .program-card.level-locked{opacity:.57;filter:saturate(.45);box-shadow:0 3px #b8cbd4}.level-locked b{display:grid;place-items:center;background:#fff;border-radius:8px;padding:5px;color:#214d6b}@media(max-width:730px){.sky-program-heading>.hero-portrait{width:75px;height:82px}}.hero-portrait>svg{display:block;width:100%;height:100%}.identity-preview>.hero-portrait{width:120px;height:120px}.hero-emotions .hero-portrait{width:100%;height:150px}.character-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#e5f4ff;border-radius:50%;flex-shrink:0}.character-avatar .hero-portrait{width:100%;height:100%;min-width:0}.character-avatar .hero-portrait img{width:100%;height:100%;object-fit:contain;border-radius:0}.character-collection{margin-top:20px}.character-collection>p{color:var(--sky-muted,#56758c);font-size:14px}.character-family h4{margin:20px 0 8px}.character-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.character-options article{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 6px;border:1px solid #c4e1f2;border-radius:16px;background:#f1faff;min-width:0}.character-options .hero-portrait{height:135px;width:100%;overflow:hidden}.character-options button{font-size:12px;white-space:normal;min-height:38px;width:100%;padding:6px}.character-options button[aria-pressed=true]{background:#d5efdd;border-color:#69aa7a;color:#235a36}.character-locked .hero-portrait{filter:grayscale(1);opacity:.38}.character-options small{text-align:center;font-size:12px;min-height:76px}@media(max-width:480px){.character-options{gap:6px}.character-options .hero-portrait{height:105px}.character-options button{font-size:11px}}.sky-program-heading h1{background:#ffffffe8;border-radius:9px;padding:5px 9px;display:table}.character-stage{position:relative;isolation:isolate;width:100%;height:135px;overflow:hidden;border-radius:12px}.character-stage>.character-world{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.character-options .character-stage .hero-portrait{height:100%;padding:5px;box-sizing:border-box}.character-locked .character-stage{filter:grayscale(.8);opacity:.65}.hero-worlds figure{border-radius:12px;background-position:center;background-size:cover;overflow:hidden}.hero-worlds figcaption{background:#fffffff0;padding:5px}@media(max-width:480px){.character-stage{height:105px}}.app{min-height:var(--app-viewport-h,100vh)}.home.overview-grid{width:100%;max-width:none;min-height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px));margin:0;padding:clamp(12px,1.5vw,24px);grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:clamp(12px,1.4vw,24px)}.overview-programs .program-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.overview-programs .hero-program{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;min-height:0;overflow:hidden;background-size:cover;background-position:center;border-radius:18px;--badge-light:#c3f0de;--badge-base:#76c9a6;--badge-edge:#348467}.overview-programs .hero-program[data-hero=knight]{--badge-light:#d0edff;--badge-base:#83c8f4;--badge-edge:#397fa8}.overview-programs .hero-program[data-hero=bishop]{--badge-light:#fff3b8;--badge-base:#f1d05f;--badge-edge:#a17b22}.overview-programs .hero-program[data-hero=rook]{--badge-light:#ffe2ca;--badge-base:#f3af7c;--badge-edge:#ae6437}.overview-programs .hero-program[data-hero=queen]{--badge-light:#eee0ff;--badge-base:#c5a5ee;--badge-edge:#7c56a8}.overview-programs .hero-program[data-hero=king]{--badge-light:#ffdee8;--badge-base:#d593ad;--badge-edge:#8a3f60}.overview-programs .hero-program>.chapter-scene{display:block;position:relative;isolation:isolate;width:100%;height:clamp(180px,23vh,270px);flex:none;border:0;border-radius:0;background:inherit;background-size:cover;background-position:center}.chapter-character{position:absolute;inset:0 auto 0 0;width:62%;height:100%;display:block}.chapter-badge{position:absolute;z-index:2;top:14px;right:12px;max-width:55%;padding:8px 20px;border:2px solid var(--badge-edge);border-top-color:#fff8;border-radius:12px 12px 16px 16px;background:linear-gradient(155deg,var(--badge-light),var(--badge-base));box-shadow:0 5px 0 var(--badge-edge),0 8px 10px #183b5438,inset 0 2px #fffc;color:#253d53;font-size:clamp(20px,1.65vw,28px);font-weight:800;line-height:1.15;text-shadow:0 1px 0 #fffb;overflow-wrap:anywhere}.overview-programs .hero-program>.chapter-footer{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;padding:0 clamp(10px,4%,18px);box-sizing:border-box;flex:none;border:0;border-radius:0;background:#f8fdfff5;color:var(--sky-ink);font-size:18px}.chapter-progress{display:flex;align-items:center;gap:clamp(6px,3%,12px);flex:1;min-width:0;font-weight:800;font-variant-numeric:tabular-nums}.chapter-progress-track{flex:1;min-width:0;height:12px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--badge-light) 75%,white);box-shadow:inset 0 0 0 1px #253d5326}.chapter-progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--badge-base),var(--badge-edge))}.chapter-progress-value{flex:none;min-width:4ch;text-align:right;white-space:nowrap}.chapter-enter{flex:none;line-height:1}.chapter-enter .app-icon{width:18px;height:18px}.overview-programs .program-card.level-locked{opacity:1;filter:none}.level-locked .chapter-scene:after{content:"";position:absolute;inset:0;background:#f1f6fa75;z-index:1;pointer-events:none}.level-locked .chapter-character{filter:saturate(.45)}.chapter-lock{color:#557083}@media(min-width:1800px){.overview-programs .program-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:731px)and (max-width:1050px){.home.overview-grid{grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr)}.overview-programs,.overview-box{padding:14px}.overview-programs .program-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chapter-badge{padding:7px 12px;right:8px;font-size:20px}.chapter-character{width:72%}}@media(max-width:730px){.home.overview-grid{grid-template-columns:minmax(0,1fr);margin:0;padding:12px;min-height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px))}.overview-programs{padding:12px}.overview-programs .program-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.overview-programs .hero-program>.chapter-scene{height:200px}.chapter-badge{font-size:24px}}.chapter-badge{padding:7px 18px 9px;line-height:1.45;border:2px solid var(--badge-edge);border-radius:14px;background:linear-gradient(160deg,var(--badge-light) 0%,var(--badge-base) 100%);box-shadow:0 4px 0 var(--badge-edge),0 7px 10px #183b542c;text-shadow:0 1px 0 #ffffff80;overflow:visible}@media(min-width:731px)and (max-width:1050px){.chapter-badge{padding:6px 12px 8px;line-height:1.45}}.app-icon{display:inline-block;flex:none;vertical-align:middle;filter:drop-shadow(0 1px 0 #6eabc44d)}.icon-button .app-icon{width:25px;height:25px}.header-right .icon-button{background:linear-gradient(#f8fdff,#ccecfb);box-shadow:0 3px #96c7df,inset 0 1px #fff}.sky-brand{width:48px;height:52px;display:block}.sky-brand .hero-portrait,.sky-brand img{width:100%;height:100%;object-fit:contain}.online-ranks b,.member-row>b{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.online-ranks .coin-icon,.member-row .coin-icon{width:20px;height:20px}.archive-program{color:#934448;background:#fff5ef;border-color:#e6c1ad}.archived-programs{padding:14px;margin:12px 0;background:#eef8ff;border:1px solid var(--sky-edge);border-radius:14px}.program-create label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chapter-lock{display:inline-flex;align-items:center;justify-content:center}@media(max-width:730px){.sky-brand{width:38px;height:42px}}.app-icon{filter:none;overflow:visible}.header-right .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:6px;background:transparent;border:0;border-radius:10px;box-shadow:none;transition:background-color .15s}.header-right .icon-button:hover{background:#deedf5}.header-right .icon-button:active{background:#cce3ee}.header-right .icon-button .app-icon{width:31px;height:31px}@media(max-width:730px){.header-right .icon-button{width:34px;min-width:34px;height:42px;min-height:42px;padding:2px}.header-right .icon-button .app-icon{width:29px;height:29px}}@media(prefers-reduced-motion:reduce){.header-right .icon-button{transition:none}}:root{--sky-font:"Baloo 2","Segoe UI",sans-serif;font-family:var(--sky-font);font-size:17px;font-weight:500}button,summary{font-weight:700;line-height:1.45}h1,h2,h3,h4,.chapter-badge,.chapter-progress,.coin-wallet strong,.completion-next,.completion-practice{font-family:var(--sky-font);font-weight:800}.chapter-badge{font-size:clamp(27px,2vw,35px);line-height:1.3;letter-spacing:.2px;padding:8px 20px 10px}.overview-box h2{font-size:25px;line-height:1.4}.chapter-progress{font-size:clamp(14px,1.4vw,18px)}.completion-next,.completion-practice{font-size:20px}input,select{font-size:16px}textarea{font-family:ui-monospace,Consolas,monospace;font-size:15px}@media(min-width:731px)and (max-width:1050px){.chapter-badge{font-size:25px;padding:7px 12px 9px}}@media(max-width:730px){.chapter-badge{font-size:30px}.overview-box h2{font-size:23px}}.coin-icon.training-reward{display:inline-block;position:relative;vertical-align:middle;overflow:visible;isolation:isolate}.leaderboard h3{margin:0 0 12px;font-size:1.25rem}.ranking-filters{margin-bottom:16px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.ranking-filters>button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:6px 4px;border:1px solid var(--sky-edge);border-radius:14px;background:var(--sky-mist);color:var(--sky-ink);font-weight:800;box-shadow:0 3px 0 var(--sky-edge);font-family:var(--sky-font)}.ranking-filters>button[aria-pressed=true]{background:var(--sky-action);color:#fff;border-color:var(--sky-action);box-shadow:0 3px #13496d}.ranking-filters .training-reward{width:24px;height:24px;flex:none}.ranking-filters .elo-emblem{width:26px;height:26px}.ranking-filters .elo-emblem .app-icon{width:25px;height:25px}.ranking-note{font-size:13px;line-height:1.45;color:var(--sky-muted);min-height:3em;margin:12px 0}.ranking-list{list-style:none;padding:0;margin:0;display:grid;gap:7px}.ranking-list>li{border:1px solid transparent;border-radius:14px;min-width:0}.ranking-list>li[data-self=true]{background:var(--sky-mist);border-color:var(--sky-edge)}.ranking-row{display:grid;grid-template-columns:30px 42px minmax(0,1fr) max-content;align-items:center;gap:10px;padding:11px 9px;width:100%;min-height:64px;color:var(--sky-ink);text-align:left;box-sizing:border-box}button.ranking-row{background:transparent;border:0;box-shadow:none;border-radius:13px;font:inherit}button.ranking-row:hover{background:var(--sky-mist)}.rank-place{font-weight:800;font-variant-numeric:tabular-nums;color:var(--sky-muted)}.rank-person{min-width:0;display:grid;gap:3px}.rank-person>strong{overflow-wrap:anywhere;line-height:1.25}.rank-person>strong>small{white-space:nowrap}.rank-presence{font-size:12px;line-height:1.4;color:var(--sky-muted)}.rank-presence i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8395a0;margin-right:5px}.rank-presence i[data-online=true]{background:#278653}.rank-value{display:flex;align-items:center;gap:8px;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.2}.rank-value>.training-reward{width:23px;height:23px;flex:none}.ranking-self-label{font-size:12px;color:var(--sky-muted);margin:12px 0 3px}.ranking-expand{margin-top:12px;width:100%;min-height:44px}@media(max-width:480px){.ranking-row{gap:7px;padding:10px 5px;grid-template-columns:26px 34px minmax(0,1fr) max-content}.ranking-row .club-avatar{width:34px;height:34px}.ranking-filters{gap:6px}.ranking-filters>button{font-size:13px;gap:5px}.ranking-filters .training-reward{width:24px;height:24px}.rank-value{gap:6px}}.journey-bamboo .journey-scroll{background:#b4cfa9}.journey-bamboo .journey-land{background:#b4cfa9;isolation:isolate}.journey-bamboo .journey-land:before,.journey-bamboo .journey-land:after{display:none}.bamboo-ground{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.bamboo-patch{position:absolute;left:0;width:100%;background:url(/journey-worlds/bamboo-ground-v1.webp) center/100% 100% no-repeat;-webkit-mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent)}.bamboo-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.journey-bamboo .journey-mark{top:44%;font-size:clamp(18px,2vw,25px);color:#59421b;text-shadow:0 1px #fff5c4}.journey-bamboo .journey-node.locked{opacity:1}.journey-bamboo .journey-node.locked .journey-mark{color:#70582b}.journey-bamboo .journey-node.done .journey-mark{text-shadow:none}.journey-bamboo .journey-node.current .block-top{stroke-width:3;filter:drop-shadow(0 0 3px #fff2ab)}.journey-bamboo .journey-node:focus-visible .block-top{stroke:#145a84;stroke-width:3}.journey-bamboo .next-pointer{filter:drop-shadow(0 2px 1px #37523d55)}.journey-bamboo .journey-map-header{color:#214d3d}.journey-bamboo .journey-map-header>span{color:#214d3d;background:#fcfeffeb;padding:5px 8px;border-radius:8px;font-size:13px;white-space:nowrap}.journey-map-viewport{position:relative;display:flex;flex-direction:column;flex:1;min-height:120px;overflow:hidden}.journey-map-controls{position:absolute;top:12px;right:12px;z-index:8;display:flex;gap:8px;pointer-events:none}.journey-map-controls>button{pointer-events:auto;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid #ffffffc9;border-radius:14px;background:#fcfefff0;color:var(--sky-ink);box-shadow:0 3px #6c96885c,0 4px 12px #193d2a22;font-weight:800}.journey-map-controls>button:hover{background:#fff}.journey-map-controls .app-icon{width:22px;height:22px}.journey-friend-control{position:absolute;bottom:12px;left:12px;z-index:8}.journey-friend-control:empty{display:none}.journey-friend-control select{max-width:160px;min-height:44px;background:#fcfefff0;box-shadow:0 3px 8px #193d2a22;border-radius:12px}.lesson-entrance{position:absolute;inset:0;z-index:14;overflow:hidden;isolation:isolate;cursor:pointer;border-radius:inherit;touch-action:manipulation}.lesson-curtain{position:absolute;top:0;bottom:0;width:51%;background:linear-gradient(135deg,#164e64,#2b807c);box-shadow:0 0 26px #112d4255;will-change:transform}.lesson-curtain:after{content:"";position:absolute;inset:0;background:repeating-conic-gradient(#ffffff08 0 25%,transparent 0 50%) 0/80px 80px}.curtain-left{left:0;animation:lesson-open-left var(--intro-duration,2s) cubic-bezier(.35,0,.18,1) forwards}.curtain-right{right:0;animation:lesson-open-right var(--intro-duration,2s) cubic-bezier(.35,0,.18,1) forwards}.lesson-intro-card{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff6d0;text-shadow:0 2px 3px #153d4d;animation:lesson-title var(--intro-duration,2s) ease forwards;pointer-events:none}.lesson-intro-card>strong{font-family:var(--sky-font);font-size:clamp(32px,5vw,62px);font-weight:800;line-height:1.1}.lesson-intro-card>span{font-size:clamp(14px,2vw,20px);color:#e1f7f4;font-weight:800}.lesson-intro-hero{width:30%;height:35%;filter:drop-shadow(0 5px 5px #112f4155)}@keyframes lesson-open-left{0%,42%{transform:translate(0)}to{transform:translate(-103%)}}@keyframes lesson-open-right{0%,42%{transform:translate(0)}to{transform:translate(103%)}}@keyframes lesson-title{0%{opacity:0;transform:scale(.85)}18%,55%{opacity:1;transform:scale(1)}83%,to{opacity:0;transform:scale(1.06)}}@media(prefers-reduced-motion:reduce){.lesson-entrance *{animation:none!important}.lesson-intro-card{opacity:1}}.journey-bamboo .journey-node.done .journey-mark{color:#3d514b}.journey-explorer{position:absolute;left:50%;bottom:41%;transform:translate(-50%);width:58%;height:101%;z-index:6;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 4px 2px #213e3d50)}.journey-explorer .hero-portrait{pointer-events:none}.journey-explorer img{object-fit:contain;object-position:center bottom}.journey-mystery-clouds{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.mystery-cloud>path{animation:cloud-breathe 7s ease-in-out infinite;transform-origin:center}.cloud-1>path{animation-delay:-2s}.cloud-2>path{animation-delay:-4s}@keyframes cloud-breathe{0%,to{translate:-5px 0}50%{translate:7px -3px}}@media(prefers-reduced-motion:reduce){.mystery-cloud>path{animation:none}}.bamboo-patch{background-size:cover;-webkit-mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent)}.journey-explorer{width:72%;height:125%}.journey-explorer:after{content:"";position:absolute;left:50%;top:-12px;width:14px;height:17px;transform:translate(-50%);background:#ffdc56;clip-path:polygon(32% 0,68% 0,68% 55%,100% 55%,50% 100%,0 55%,32% 55%);filter:drop-shadow(0 1px 1px #6b4e1d);animation:explorer-cue 1s ease-in-out infinite}@keyframes explorer-cue{0%,to{translate:0 -4px}50%{translate:0 2px}}.versus-players{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;width:86%;text-shadow:0 2px 2px #153d4d}.versus-players>div{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;text-align:center}.versus-players .club-avatar{width:clamp(50px,10vw,100px);height:clamp(50px,10vw,100px);border:3px solid #ffe4a2;box-shadow:0 4px 15px #12364755}.versus-players strong{font-size:clamp(14px,2.4vw,25px);line-height:1.2;overflow-wrap:anywhere}.versus-players>b{font:800 clamp(24px,5vw,52px) var(--sky-font);color:#ffdc81}.versus-players small{color:#e1f7f4}@media(prefers-reduced-motion:reduce){.journey-explorer:after{animation:none}.battle-entrance *{animation:none!important}}.practice.battle .battle-arena{flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;height:auto;min-width:0}.battle-arena>.board{flex:none;width:min(100%,calc(var(--app-viewport-h,100vh) - 250px))}.battle-arena>.battle-clock{box-sizing:border-box;width:min(100%,calc(var(--app-viewport-h,100vh) - 250px));min-height:54px;padding:7px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.battle-arena>.battle-clock>span{font-size:13px;min-width:0;overflow-wrap:anywhere}.battle-arena>.battle-clock strong{font-size:30px;white-space:nowrap}.duel .match-player{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;min-height:50px;padding:7px 10px;border-radius:12px;background:var(--sky-mist);box-sizing:border-box}.duel .match-player strong{overflow-wrap:anywhere;line-height:1.2}.duel .match-player b{margin-left:0;white-space:nowrap;font-size:24px}.duel .match-player b i{font-style:normal;font-size:11px;margin-right:5px}.duel .match-player[data-running=true]{background:#d7f2de;outline:2px solid #6cae83;outline-offset:-2px}@media(max-width:1100px){.practice.battle{height:auto;min-height:calc(var(--app-viewport-h,100vh) - 80px);align-items:start;padding:10px;gap:12px}.practice.battle .battle-arena{height:auto;width:100%;gap:6px}.battle-arena>.board,.battle-arena>.battle-clock{width:min(100%,max(220px,calc(var(--app-viewport-h,100vh) - 250px)))}.battle-arena>.battle-clock{min-height:48px;padding:6px 12px}.battle-arena>.battle-clock strong{font-size:28px}.club-in-match{height:var(--app-viewport-h,100vh);max-height:var(--app-viewport-h,100vh);width:100%;padding:10px;border-radius:0;display:flex;flex-direction:column;overflow:hidden}.club-in-match .club-head{position:static;flex:none;padding:0;margin:0 0 6px}.club-in-match .club-head h2{font-size:20px;margin:0}.club-in-match .duel{max-width:min(100%,max(210px,calc(var(--app-viewport-h,100vh) - 265px)));width:100%;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto}.club-in-match .duel .board{flex:none}.club-in-match .duel .invite-row{margin:0;flex:none;gap:5px}.club-in-match .duel .invite-row>button{padding:6px;min-height:40px;font-size:12px;gap:4px}.club-in-match .duel .match-player{flex:none;min-height:46px;padding:5px 8px}.club-in-match .duel .match-player b{font-size:22px}.club-in-match .duel>strong[role=status]{font-size:13px;min-height:20px}.club-in-match .duel>button{min-height:38px;padding:6px}}@media(max-width:1100px){.club-in-match .duel{margin:0 auto}.practice.battle .battle-panel{height:auto;min-height:0}.practice.battle .battle-center{flex:none;min-height:0;gap:8px;padding:8px 0}.practice.battle .battle-center p{margin:2px 0}}.screen-help-backdrop{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:18px;background:#18394780}.screen-help{max-width:430px;background:var(--sky-paper);border:1px solid var(--sky-edge);border-radius:20px;padding:22px;box-shadow:var(--sky-depth);color:var(--sky-ink)}.screen-help h2{font-size:23px;margin:0 0 12px}.screen-help p{line-height:1.6}.screen-help button{min-height:44px;width:100%}.fullscreen-toggle[aria-pressed=true]{background:#d8f3e3}.hero-portrait>picture{display:block;width:100%;height:100%}.hero-portrait video{display:block;width:100%;height:100%;object-fit:contain}.journey-explorer video{object-position:center bottom}@media(max-width:480px){.header-right .fullscreen-toggle{min-width:30px;width:30px;min-height:40px;height:40px;padding:4px}}.showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.showcase-heading h2{margin:0 0 14px}.showcase-heading>div{display:flex;gap:5px}.showcase-heading .icon-button{min-width:38px;min-height:40px;padding:6px}.watch-board-open{display:block;width:100%;padding:0;background:transparent;border:0;border-radius:4px;overflow:hidden}.showcase-badge{margin-left:auto;background:#e7eef7;border:1px solid var(--sky-edge);border-radius:8px;padding:3px 6px;white-space:nowrap;font-size:10px;color:var(--sky-muted)}.showcase-sources{padding:10px;background:var(--sky-mist);border-radius:12px;margin:8px 0}.showcase-sources label{display:flex;align-items:center;gap:8px;padding:8px 0;overflow-wrap:anywhere}.showcase-sources input{width:auto}.watch-backdrop{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:12px;background:#183947a6}.watch-dialog{width:min(560px,100%);max-height:calc(var(--app-viewport-h,100vh) * .96);overflow:auto;display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:20px;padding:16px;background:var(--sky-paper);box-shadow:var(--sky-depth);color:var(--sky-ink)}.watch-dialog-head{display:flex;align-items:center;gap:8px;width:100%}.watch-dialog-head>strong{margin-right:auto}.watch-dialog-head button{min-width:40px;min-height:40px;padding:6px}.watch-dialog>.board{width:min(100%,calc(var(--app-viewport-h,100vh) - 230px));flex:none}.watch-dialog>p{font-size:13px;line-height:1.5;margin:0;text-align:center}.watch-playback{display:flex;gap:8px}.watch-playback button{min-height:44px}@media(max-width:380px){.app>header{padding-left:7px;padding-right:7px;gap:4px}.app>header .header-right{gap:2px}.sky-brand{width:34px}}.watch-name strong,.watch-dialog>strong{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.3}.club-menu-backdrop{padding:16px;background:#16364e80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.club-menu:not(.club-in-match){width:min(960px,100%);height:min(800px,calc(var(--app-viewport-h,100vh) - 32px));max-height:calc(var(--app-viewport-h,100vh) - 32px);padding:0;overflow:hidden;display:grid;grid-template-columns:170px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);border:1px solid var(--sky-edge);border-radius:24px;box-shadow:0 12px 50px #173b5b40,0 4px #8ab9cd;position:relative}.club-menu .club-menu-head{position:static;top:auto;grid-column:1/-1;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:18px 22px;margin:0;background:linear-gradient(115deg,#effaff,var(--sky-paper));border-bottom:1px solid var(--sky-edge);z-index:3}.club-section-icon{display:grid;place-items:center;width:46px;height:46px;background:#dff1fc;border:1px solid #b9ddec;border-radius:15px;box-shadow:0 3px #bddcea}.club-section-icon .app-icon{width:28px;height:28px}.club-heading-copy{min-width:0}.club-menu-head h2{margin:0;font-size:26px;line-height:1.25}.club-menu-head p{margin:3px 0 0;font-size:14px;color:var(--sky-muted);line-height:1.4}.club-window-actions{display:flex;gap:8px;align-items:center}.club-window-actions>.icon-button{margin:0;width:44px;height:44px;min-height:44px;padding:10px;background:#fff;border:1px solid var(--sky-edge);border-radius:13px}.club-window-actions>.icon-button:hover{background:#dff3ff}.club-menu .club-menu-nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:18px 12px;border-right:1px solid var(--sky-edge);background:#f1f9fe;min-height:0}.club-menu-nav>button{position:relative;justify-content:flex-start;padding:12px;gap:10px;border:1px solid transparent;background:transparent;min-height:48px;border-radius:13px;font-size:16px;color:var(--sky-muted)}.club-menu .club-menu-nav>button[aria-pressed=true]{background:#d9f0ff;border-color:#abd6eb;color:#155d87;box-shadow:0 3px #b5d9ec}.club-menu-nav>button:hover{background:#e2f2fc}.club-menu-nav .app-icon{flex:none;width:24px;height:24px}.menu-count{position:absolute;top:4px;right:4px;background:#ca4c55;color:#fff;border:2px solid #fff;border-radius:20px;min-width:21px;height:21px;padding:0 4px;font-size:12px;line-height:17px;text-align:center}.club-content{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:22px 24px 30px;scroll-padding:14px}.club-content::-webkit-scrollbar{display:none}.club-content h3{margin:0;font-size:21px;line-height:1.35}.club-content p{line-height:1.5}.club-content button{min-height:44px;transition:background .15s,border-color .15s,box-shadow .15s;touch-action:manipulation}.club-content .menu-primary{background:var(--sky-action);border-color:var(--sky-action);color:#fff;box-shadow:0 3px #104a70}.club-content .menu-primary .app-icon{filter:brightness(0) invert(1)}.club-content .menu-primary:hover:not(:disabled){background:#125b87}.club-content .menu-secondary{background:#edf8ff;border-color:#b1d7e9;color:#205e83}.club-content .menu-quiet{border-color:transparent;background:transparent;color:var(--sky-muted)}.club-content .menu-quiet:hover{background:#eef6fa}.club-content button:disabled{opacity:.5}.club-content button:active:not(:disabled){box-shadow:none}.profile-summary{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid var(--sky-edge);border-radius:18px;background:linear-gradient(110deg,#e7f6ff,#fff)}.profile-face>.club-avatar{width:84px;height:84px;font-size:32px;border:3px solid #fff;box-shadow:0 3px #bad9e9}.profile-summary-copy h3{overflow-wrap:anywhere}.profile-summary-copy p{font-size:14px;color:var(--sky-muted);margin:4px 0 12px}.club-menu .avatar-upload{margin:0;display:inline-flex}.club-menu .avatar-upload input[hidden]{display:none}.club-menu .character-collection{margin-top:24px}.club-menu .character-collection>p{margin:6px 0 12px}.club-menu .character-collection>button{background:#edf8ff;width:100%;white-space:normal;font-size:14px}.club-menu .character-family h4{border-bottom:1px solid #d6e8f2;padding-bottom:6px;color:var(--sky-ink);font-size:19px;margin-top:24px}.club-menu .character-options article{gap:8px;padding:8px;border-radius:15px;background:#fff}.club-menu .character-options strong{font-size:15px}.club-menu .character-options button{font-size:13px;line-height:1.3;min-height:44px}.club-menu .character-options button[aria-pressed=true]{opacity:1;background:#e0f3e5;color:#25603b}.club-menu .character-options small{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;color:var(--sky-muted)}.club-menu .character-options small .app-icon{width:20px;height:20px}.club-menu .character-stage{height:150px}.menu-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.menu-search{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid var(--sky-edge);border-radius:12px;background:#fff;padding:0 12px;flex:1;min-height:46px}.menu-search:focus-within{outline:2px solid var(--sky-action);outline-offset:2px}.menu-search>.app-icon{width:20px;flex:none;opacity:.75}.club-menu .menu-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:10px 0;font-size:16px;box-shadow:none}.menu-segment{display:flex;gap:4px;border:1px solid var(--sky-edge);padding:4px;border-radius:13px;background:#f0f8fd}.club-menu .menu-segment button{border:1px solid transparent;background:transparent;padding:7px 12px;font-size:14px;border-radius:9px}.club-menu .menu-segment button[aria-pressed=true]{background:#fff;border-color:#badbed;color:#165e8a;box-shadow:0 2px 4px #19456812}.club-menu .leaderboard>h3{font-size:20px}.club-menu .ranking-filters{justify-content:flex-start;margin:12px 0}.club-menu .ranking-list{max-height:none;overflow:visible}.club-menu .ranking-row{border-radius:12px;padding:12px 8px}.club-menu .ranking-filters>button{width:auto;height:44px}.club-menu .ranking-row:hover{background:#edf8ff}.menu-back{padding:4px 8px;border:0;background:transparent;margin-bottom:14px;font-size:14px;color:var(--sky-muted)}.member-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--sky-edge)}.member-summary>.club-avatar{width:60px;height:60px;font-size:24px}.member-summary>div:nth-child(2){flex:1;min-width:0}.member-summary h3{overflow-wrap:anywhere}.member-presence{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--sky-muted)}.member-presence i{width:8px;height:8px;border-radius:50%;background:#9bb0be}.member-presence i[data-online=true]{background:#358f63}.friend-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.menu-status{font-size:14px;color:#2c7451;display:inline-flex;gap:5px;align-items:center}.menu-status .app-icon{width:18px;height:18px}.menu-section{padding:18px;border:1px solid var(--sky-edge);border-radius:18px;margin-top:20px;background:#fbfdff}.menu-section-title{display:flex;align-items:center;gap:12px}.menu-section-title>.app-icon{width:28px;height:28px}.menu-section-title p{margin:3px 0 0;color:var(--sky-muted);font-size:14px}.time-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:16px 0}.time-presets button{padding:8px 4px;font-size:19px;gap:2px}.time-presets small{font-size:13px}.time-presets button[aria-pressed=true]{background:#e0f3ff;border-color:#75b7dc;box-shadow:0 2px #b7dbef;color:#155f89}.club-menu .invite-card .invite-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:16px 0 0}.invite-card label{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}.club-menu .invite-card input{width:100%;min-width:0;border:1px solid var(--sky-edge);border-radius:10px;padding:9px 10px;min-height:44px;background:#fff;font-size:16px}.invite-card .menu-primary{margin-bottom:0}.menu-hint{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--sky-muted)}.menu-hint>.app-icon{flex:none}.menu-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 14px;gap:12px}.menu-empty>.app-icon{width:56px;height:56px;background:#e1f2ff;border-radius:18px;padding:12px}.menu-empty p{margin:0;color:var(--sky-muted);max-width:30ch}.menu-empty>button{margin-top:8px}.room-list{display:grid;gap:12px}.club-menu .room-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;margin:0;border:1px solid var(--sky-edge);border-radius:16px;background:#fff}.room-row>.club-avatar{width:44px;height:44px}.room-copy{flex:1;min-width:130px}.room-copy b,.room-copy small,.room-copy span{display:block;overflow-wrap:anywhere}.room-copy small{font-size:14px;color:var(--sky-muted)}.room-copy span{font-size:13px;color:#417661;margin-top:4px}.room-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shop-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.shop-summary p{margin:4px 0 0;color:var(--sky-muted);font-size:14px}.shop-balance{display:inline-flex;align-items:center;gap:8px;flex:none;padding:7px 14px;border:1px solid #edcc7d;border-radius:14px;background:#fff6dd;color:#815617}.shop-balance svg{width:30px;height:30px}.shop-balance b{font-size:22px}.club-menu .shop-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.club-menu .shop-filters .menu-search{flex-basis:180px}.club-menu .shop-filters input{max-width:none;width:100%}.club-menu .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.club-menu .shop-item{padding:10px;gap:6px;align-content:start;border-radius:16px;background:#fff;border:1px solid var(--sky-edge);text-align:center;min-width:0;overflow:hidden}.club-menu .shop-item b{font-size:14px;line-height:1.3;overflow-wrap:anywhere}.shop-preview{display:grid;place-items:center;width:100%;height:104px;border-radius:11px;background:#eff6fa;margin-bottom:5px}.club-menu .shop-grid img,.club-menu .default-board{width:82px;height:82px;object-fit:contain;border-radius:5px}.shop-item-action{display:flex;align-items:center;justify-content:center;gap:5px;font-size:14px;font-weight:700;min-height:25px;color:#80580b}.shop-item-action>svg{width:21px;height:21px}.club-menu .shop-item small{font-size:12px;line-height:1.35;color:var(--sky-muted)}.club-menu .shop-item:disabled{opacity:1;background:#f6f9fb}.club-menu .shop-item:disabled:not([aria-pressed=true]) .shop-preview{opacity:.65}.club-menu .shop-item[aria-pressed=true]{border:2px solid #72b789;background:#effaf2;padding:9px}.shop-item[aria-pressed=true] .shop-item-action{color:#28643d}.club-menu .shop-item:hover:not(:disabled){border-color:#69afd2;box-shadow:0 3px #bedceb}.club-menu-feedback{position:absolute;bottom:10px;left:184px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff0ee;border:1px solid #e9b4ae;color:#8c3934;border-radius:12px;box-shadow:0 3px 12px #74302219;z-index:5}.club-menu-feedback>span{min-width:0;overflow-wrap:anywhere}.club-menu-feedback button{padding:6px;flex:none;width:36px;height:36px;min-height:36px;background:transparent}.menu-saving{position:absolute;right:18px;bottom:10px;pointer-events:none;padding:5px 12px;border-radius:10px;background:#e3f3ff;color:#1b5f88;font-size:13px}.club-menu.club-in-match .club-heading-copy p,.club-menu.club-in-match .club-section-icon{display:none}.club-menu.club-in-match .club-menu-head{display:flex;padding:0 0 8px;border-bottom:1px solid var(--sky-edge)}.club-in-match .club-heading-copy{margin-right:auto}.club-in-match .club-menu-head h2{font-size:20px}.club-in-match .club-window-actions .icon-button{width:40px;height:40px;min-height:40px}@media(max-width:759px){.club-menu-backdrop{padding:10px}.club-menu:not(.club-in-match){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);height:calc(var(--app-viewport-h,100vh) - 20px);max-height:calc(var(--app-viewport-h,100vh) - 20px);border-radius:20px}.club-menu .club-menu-head{padding:14px;grid-template-columns:minmax(0,1fr) auto;gap:8px}.club-menu-head>.club-section-icon{display:none}.club-menu-head h2{font-size:23px}.club-menu-head p{font-size:12px}.club-window-actions{gap:6px}.club-menu .club-menu-nav{flex-direction:row;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:9px 8px;border-right:0;border-bottom:1px solid var(--sky-edge)}.club-menu-nav>button{flex-direction:column;justify-content:center;gap:4px;font-size:12px;line-height:1.3;padding:8px 1px;min-height:61px;white-space:nowrap}.club-menu-nav .app-icon{width:23px;height:23px}.club-content{padding:16px 14px 24px}.profile-summary{gap:12px;padding:12px}.profile-face>.club-avatar{width:62px;height:62px;font-size:24px}.profile-summary-copy p{font-size:13px}.profile-summary-copy h3{font-size:19px}.profile-summary .menu-secondary{font-size:13px;padding:8px 10px}.club-menu .character-stage{height:120px}.club-menu .character-options{gap:7px}.club-menu .character-options article{padding:5px}.club-menu .character-options button{font-size:12px;padding:7px 3px;min-height:46px}.club-menu .character-options small{font-size:11px;min-height:100px}.menu-toolbar{gap:10px}.menu-toolbar .menu-search{flex-basis:100%}.menu-toolbar .menu-segment{width:100%}.menu-toolbar .menu-segment button{flex:1}.member-summary{gap:10px}.friend-actions{width:100%}.menu-section{padding:14px}.time-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.club-menu .invite-card .invite-row{grid-template-columns:1fr 1fr;gap:10px}.invite-card .menu-primary{grid-column:1/-1}.shop-summary{align-items:start}.shop-summary h3{font-size:19px}.shop-summary p{font-size:13px}.shop-balance{padding:5px 8px;gap:4px}.shop-balance b{font-size:19px}.shop-balance svg{width:24px;height:24px}.club-menu .shop-filters{gap:10px}.club-menu .shop-filters .menu-segment{width:100%}.shop-filters .menu-segment button{flex:1}.club-menu .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.club-menu .shop-item{padding:7px}.club-menu .shop-item[aria-pressed=true]{padding:6px}.shop-preview{height:88px}.club-menu .shop-grid img,.club-menu .default-board{width:68px;height:68px}.club-menu .shop-item b{font-size:13px}.club-menu .shop-item small{font-size:11px}.club-menu-feedback{left:10px;right:10px}.room-actions{margin-left:auto}.club-menu .room-row{padding:12px}.room-actions button{padding:8px 12px}}@media(max-width:380px){.club-menu .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.club-menu-head p{max-width:23ch}.club-menu-head h2{font-size:21px}.club-window-actions>.icon-button{width:40px;height:40px;min-height:40px;padding:8px}.club-content{padding:14px 10px}.profile-summary{align-items:flex-start}.profile-face>.club-avatar{width:52px;height:52px}.club-menu .character-options button{font-size:11px}.club-menu .character-stage{height:105px}}@media(prefers-reduced-motion:reduce){.club-content button{transition:none}}.character-selection-summary{margin:12px 0}.character-selection-summary button{font-size:14px;background:#edf8ff;min-height:44px}.character-selection-summary>.menu-status{padding:8px 0}.character-jumps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0 18px}.character-jumps button{display:flex;flex-direction:column;gap:0;padding:7px 3px;border-radius:11px;background:#f0f8fd;font-size:14px}.character-jumps small{font-size:12px;color:var(--sky-muted)}.character-family{scroll-margin-top:10px}@media(max-width:480px){.character-jumps{grid-template-columns:repeat(3,minmax(0,1fr))}.character-jumps button{flex-direction:row;gap:7px}}.club-menu .menu-search{flex-direction:row;margin:0}.club-menu .invite-card label{margin:0}.club-menu .ranking-filters{display:grid}.club-menu .shop-item b{min-height:2.6em;display:flex;align-items:center;justify-content:center}.club-menu .shop-item-action{white-space:nowrap;font-size:13px;gap:4px}.shop-item-action>.app-icon{width:16px;height:16px;flex:none}.home.overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}.overview-programs .program-list{grid-template-columns:repeat(2,minmax(0,1fr))}.practice.learning-journey,.practice.battle{width:100%;max-width:none;margin:0;padding:12px;gap:16px;height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px));grid-template-columns:minmax(0,min(calc(var(--app-viewport-h,100vh) - 92px - var(--header-extra,0px) - var(--daily-quote-height,0px)),65%)) minmax(280px,1fr)}.practice.learning-journey>.board-column{height:auto;justify-content:center}.practice.learning-journey .board{width:100%;max-width:none}.practice.learning-journey>.solve-panel,.practice.learning-journey>.journey-panel{max-height:calc(var(--app-viewport-h,100vh) - 92px - var(--header-extra,0px) - var(--daily-quote-height,0px))}.practice.battle{grid-template-columns:minmax(0,min(calc(var(--app-viewport-h,100vh) - 224px - var(--header-extra,0px) - var(--daily-quote-height,0px)),65%)) minmax(280px,1fr)}.practice.battle .battle-arena{width:100%;height:auto;gap:8px}.practice.battle .battle-arena>.board,.practice.battle .battle-arena>.battle-clock{width:100%;max-width:none}.practice.battle .battle-panel{height:calc(var(--app-viewport-h,100vh) - 92px - var(--header-extra,0px) - var(--daily-quote-height,0px))}.club-menu.club-in-match{width:calc(100vw - 24px);height:calc(var(--app-viewport-h,100vh) - 24px);max-height:calc(var(--app-viewport-h,100vh) - 24px);padding:12px;display:flex;flex-direction:column;overflow:hidden}.club-menu.club-in-match .duel{width:min(100%,max(160px,calc(var(--app-viewport-h,100vh) - 280px)));max-width:none;margin:0 auto;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto}.club-menu.club-in-match .duel .board{width:100%;max-width:none;flex:none}@media(max-width:1100px){.home.overview-grid{grid-template-columns:minmax(0,1fr)}.learning-journey.map-view{max-width:none;width:100%;height:auto}.learning-journey.map-view .journey-panel{width:100%;max-height:none}}@media(max-width:1100px)and (orientation:portrait),(max-width:600px){.practice.learning-journey:not(.map-view),.practice.battle{display:flex;flex-direction:column;max-width:none;height:auto;min-height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px));padding:10px;gap:12px}.practice.learning-journey:not(.map-view) .board-column{width:min(100%,calc(var(--app-viewport-h,100vh) - 88px - var(--header-extra,0px) - var(--daily-quote-height,0px)));margin:0 auto}.practice.learning-journey:not(.map-view) .solve-panel{width:100%;max-height:none}.practice.battle .battle-arena{width:min(100%,max(160px,calc(var(--app-viewport-h,100vh) - 220px)));margin:0 auto}.practice.battle .battle-panel{height:auto;width:100%}}@media(min-width:601px)and (orientation:landscape){.practice.learning-journey:not(.map-view),.practice.battle{display:grid}.practice.learning-journey:not(.map-view) .board-column{width:100%}}@media(max-width:600px){.overview-programs .program-list{grid-template-columns:minmax(0,1fr)}}.showcase-error{padding:10px 12px;border:1px solid #e6b7ab;border-radius:12px;background:#fff4ee;color:#873f32}.showcase-error button{margin-top:8px;min-height:40px}.showcase-sources small{color:var(--sky-muted);margin-left:auto;white-space:nowrap}@media(pointer:coarse)and (max-width:1000px)and (max-height:600px){.overview-programs .program-list{grid-template-columns:minmax(0,1fr)}}.watch-board{position:relative;isolation:isolate}.watch-board>.board-drawings{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.master-avatar{object-fit:cover;object-position:center 24%;border:1px solid #b4d3e4;background:#e9f4fa;flex:none}.master-initial{display:inline-grid;place-items:center}.watch-result{display:flex;justify-content:center;align-items:center;gap:8px;padding:5px 8px;border:1px solid #cce0eb;border-radius:9px;background:#f0f8fc;font-size:12px;line-height:1.3;color:var(--sky-ink)}.watch-result>b{font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.watch-feature>.watch-result{margin-top:8px}.watch-tile-players{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:6px}.watch-tile-players .club-avatar{width:25px;height:25px;font-size:12px}.watch-strip .watch-result{padding:4px;gap:4px;font-size:10px}.watch-strip .watch-result>b{font-size:12px}.watch-player{display:flex;align-items:center;gap:9px;width:100%;min-height:34px}.watch-player .club-avatar{width:34px;height:34px}.watch-dialog>.watch-result{align-self:stretch}.watch-dialog>.board{width:min(100%,calc(var(--app-viewport-h,100vh) - 330px))}.portrait-credits{font-size:11px;color:var(--sky-muted);padding:2px 8px}.watch-name .master-avatar{width:30px;height:30px}.watch-dialog .watch-player strong{overflow-wrap:anywhere}.watch-board-textured{background-size:100% 100%;background-position:center}.watch-board-textured>span.pale,.watch-board-textured>span.shade{background:transparent}:root{--play-board-size:min(calc(var(--app-viewport-h,100vh) - 92px - var(--header-extra,0px) - var(--daily-quote-height,0px)),calc((var(--app-viewport-w,100vw) - 40px)*.65))}.practice.learning-journey,.practice.battle{grid-template-columns:var(--play-board-size) minmax(0,1fr)}.practice.learning-journey>.board-column,.practice.learning-journey:not(.map-view) .board-column{width:var(--play-board-size);max-width:100%;margin:0}.practice.learning-journey .board{width:var(--play-board-size);max-width:100%}.practice.battle{grid-template-rows:54px minmax(0,1fr) 54px;row-gap:8px;height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px))}.practice.battle .battle-arena{display:contents}.practice.battle .battle-arena>.board{grid-column:1;grid-row:1/-1;width:var(--play-board-size);max-width:none}.practice.battle .battle-arena>.battle-clock{grid-column:2;width:100%;min-height:54px;margin:0}.practice.battle .battle-arena>.battle-clock:first-child{grid-row:1}.practice.battle .battle-arena>.battle-clock:last-child{grid-row:3}.practice.battle .battle-panel{grid-column:2;grid-row:2;height:auto;min-height:0;align-self:stretch;overflow:auto}.club-menu.club-in-match{position:fixed;inset:0;width:100vw;height:var(--app-viewport-h,100vh);max-height:var(--app-viewport-h,100vh);border:0;border-radius:0;margin:0;padding:10px;display:flex;flex-direction:column;gap:8px;overflow:hidden}.club-menu.club-in-match .duel{width:100%;max-width:none;height:var(--play-board-size);flex:none;display:grid;grid-template-columns:var(--play-board-size) minmax(0,1fr);grid-template-rows:54px minmax(0,1fr) 54px;gap:8px 16px;margin:0;overflow:visible;align-content:start}.duel-arena{display:contents}.club-menu.club-in-match .duel .board{grid-column:1;grid-row:1/-1;width:var(--play-board-size);max-width:none}.club-menu.club-in-match .duel .match-player{grid-column:2;width:100%;min-height:54px;height:54px}.duel-arena>.match-player:first-child{grid-row:1}.duel-arena>.match-player:last-child{grid-row:3}.duel-controls{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;min-height:0;padding:14px;background:var(--sky-paper);border:1px solid var(--sky-edge);border-radius:16px;overflow:auto}.duel-controls>.invite-row{display:flex;flex-wrap:wrap;gap:8px}.duel-controls>strong{display:grid;place-items:center;text-align:center;min-height:36px;flex:1;line-height:1.5}.duel-controls>button:last-child{background:#fff7f2;color:#8b5e53;border-color:#e5d3c8}@media(max-width:1100px),(pointer:coarse){:root{--play-board-size:min(calc(var(--app-viewport-w,100vw) - 20px),calc(var(--app-viewport-h,100vh) - 216px - var(--header-extra,0px) - var(--daily-quote-height,0px)))}.practice.battle{grid-template-columns:var(--play-board-size) minmax(0,1fr);grid-template-rows:auto;height:auto}.practice.battle .battle-arena{display:flex;width:var(--play-board-size);flex-direction:column;gap:8px;margin:0}.practice.battle .battle-arena>.board,.practice.battle .battle-arena>.battle-clock{width:var(--play-board-size);grid-column:auto;grid-row:auto}.practice.battle .battle-panel{grid-column:2;grid-row:1;height:auto}.practice.learning-journey:not(.map-view) .board-column{width:var(--play-board-size);margin:0 auto}.club-menu.club-in-match .duel{height:auto;grid-template-columns:var(--play-board-size) minmax(0,1fr);grid-template-rows:auto;flex:1;min-height:0;overflow:auto}.duel-arena{display:flex;flex-direction:column;align-items:center;gap:8px;width:var(--play-board-size)}.club-menu.club-in-match .duel .board,.club-menu.club-in-match .duel .match-player{width:var(--play-board-size);grid-column:auto;grid-row:auto}.duel-controls{grid-column:2;grid-row:1;height:auto;overflow:visible}}@media(max-width:1100px)and (orientation:portrait),(max-width:600px){.practice.learning-journey:not(.map-view),.practice.battle{align-items:center}.practice.battle .battle-arena{margin:0 auto}.practice.battle .battle-panel{width:100%}.club-menu.club-in-match .duel{display:flex;flex-direction:column;align-items:center;gap:12px}.duel-controls{width:var(--play-board-size);max-width:100%;flex:none}.duel-controls>strong{flex:none}}.brand{gap:9px;flex:none}.home-brand-label{font-family:var(--sky-font);font-weight:800;font-size:21px;line-height:1.15;white-space:nowrap;color:var(--sky-ink)}.overview-side .rank-person>strong{display:flex;align-items:center;gap:8px}.rank-name-text{min-width:0;overflow-wrap:anywhere;line-height:1.3}.rank-name-text>small{font-size:.85em;white-space:nowrap}.rank-inline-status{display:inline-block;width:8px;height:8px;flex:none;background:#8da0ad;border-radius:50%;align-self:flex-start;margin-top:.35em}.rank-inline-status[data-online=true]{background:#278653}.overview-side .rank-person{gap:0}.overview-side .ranking-row{min-height:54px}@media(max-width:600px){.brand{flex-direction:column;justify-content:center;gap:0;min-width:47px}.brand .sky-brand{width:30px;height:34px}.home-brand-label{font-size:11px;line-height:14px}}.pgn-editor{margin:16px 0;padding:16px;border:1px solid var(--sky-line,#b8dcea);border-radius:20px;background:#f5fbff;color:var(--sky-ink)}.pgn-editor-toggle{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-weight:800}.pgn-editor-toggle span{margin-left:auto;font-size:14px;font-weight:600}.pgn-editor-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.pgn-editor label{display:flex;gap:6px;flex-direction:column;min-width:0}.pgn-editor input,.pgn-editor select{max-width:100%;min-height:44px}.pgn-source-switches{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.pgn-source-switches label{flex-direction:row;align-items:center;flex-wrap:wrap}.pgn-source-switches input{min-height:0}.pgn-source-switches small{font-size:12px}.pgn-game-list{padding-left:28px}.pgn-game-list li{padding:12px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px) auto;gap:14px;align-items:center;border-bottom:1px solid #d7e9f2}.pgn-game-list li>div{display:grid;gap:4px;overflow-wrap:anywhere}.pgn-game-list small{font-size:13px}.pgn-pagination{display:flex;align-items:center;justify-content:center;gap:14px}.pgn-editor p{font-size:15px}@media(max-width:700px){.pgn-game-list li{grid-template-columns:minmax(0,1fr) auto}.pgn-game-list li>div{grid-column:1/-1}.pgn-editor-tools>label{width:100%}.pgn-editor-toggle{flex-wrap:wrap}.pgn-editor-toggle span{margin-left:0}.pgn-editor{padding:12px}}.pgn-editor select{border:1px solid #b8dcea;border-radius:10px;padding:8px;background:#fff;color:var(--sky-ink);font:inherit}.pgn-source-switches input[type=checkbox]{width:18px;height:18px;flex:none;margin:0}.pgn-source-switches label{justify-content:flex-start}.pgn-source-switches small{color:#55768b}.pgn-open-review{justify-self:start}.pgn-review-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:12px;background:#163e55bb}.pgn-review{max-height:calc(var(--app-viewport-h,100vh) - 24px);overflow:auto;width:min(1120px,100%);border-radius:22px;padding:16px;background:#f5fbff;box-shadow:0 16px 60px #12384d66;color:var(--sky-ink)}.pgn-review>header{position:static;display:flex;justify-content:space-between;align-items:center;padding:0 0 12px;height:auto;background:none;border:0;gap:12px}.pgn-review h2{font-size:22px;margin:0}.pgn-review-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:20px}.pgn-review-board{min-width:0}.pgn-review-board .board{width:100%;max-width:min(100%,calc(var(--app-viewport-h,100vh) - 250px));aspect-ratio:1;margin-inline:auto}.pgn-review-player{display:flex;align-items:center;gap:8px;min-height:36px}.pgn-review-player img{width:30px;height:30px;object-fit:cover;border-radius:50%}.pgn-review-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:8px}.pgn-review-controls button{min-width:40px;min-height:44px;padding:6px 10px}.pgn-review-layout aside{min-width:0}.pgn-review-result{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.pgn-review-result label{display:grid;gap:6px}.pgn-review-result select{border:1px solid #a8cfe0;border-radius:10px;min-height:44px;padding:8px;font:inherit;color:inherit}.pgn-review-moves{display:flex;flex-wrap:wrap;align-content:start;gap:6px;max-height:calc(var(--app-viewport-h,100vh) * .45);overflow:auto;padding:10px 4px;margin-top:12px}.pgn-review-moves button{padding:6px 10px;min-height:40px}.pgn-review-moves [aria-current=step]{background:#176b97;color:#fff;border-color:#176b97}.pgn-review p{overflow-wrap:anywhere}.pgn-review-layout h3{margin-top:0}@media(max-width:700px){.pgn-review-layout{grid-template-columns:minmax(0,1fr)}.pgn-review{padding:12px}.pgn-review-board .board{max-width:100%}.pgn-review-moves{max-height:180px}.pgn-review-layout{gap:12px}}.pgn-review-moves{position:relative}.move-score{position:relative;max-height:calc(var(--app-viewport-h,100vh) * .38);min-height:80px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;margin-top:12px;padding:4px;color:var(--sky-ink);font-variant-numeric:tabular-nums}.move-score::-webkit-scrollbar{display:none}.score-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr);align-items:center;min-height:40px;border-bottom:1px solid #dcecf3}.score-number{font-weight:800;text-align:right;padding-right:10px}.move-score .score-row button{display:block;text-align:left;border:0;border-radius:6px;background:none;box-shadow:none;min-height:40px;padding:6px 10px;font:inherit;font-weight:600;color:inherit;margin:0}.move-score .score-row button:hover{background:#dbeef8}.move-score [aria-current=step],.move-score .score-row button[aria-current=step]{background:#176b97;color:#fff}.score-empty{padding:6px 10px;color:#7391a2}.move-score .score-start{min-height:36px;padding:5px 10px;font-size:14px}.watch-dialog .move-score{max-height:180px}.duel-controls .move-score{width:100%}.journey-node-wrap{position:absolute;transform:translate(-50%,-50%);pointer-events:none}.journey-node-wrap:has(.journey-player-names){z-index:12}.journey-node-wrap .map-party{pointer-events:auto}.map-party button.party-face,.map-party button.party-count{padding:0;min-width:0;min-height:0;cursor:pointer;line-height:1;touch-action:manipulation}.map-party button.party-count{min-width:22px;padding:0 3px}.map-party button:focus-visible{outline:3px solid #ffe078;outline-offset:3px}.journey-player-names{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%);width:max-content;max-width:min(230px,65vw);max-height:190px;overflow-y:auto;scrollbar-width:none;padding:10px 13px;border-radius:13px;background:#fff;color:#1b4c69;box-shadow:0 5px 18px #123e5c55;border:1px solid #b6dbe9;text-align:left;white-space:normal;pointer-events:auto;font-size:14px;line-height:1.35}.journey-player-names::-webkit-scrollbar{display:none}.journey-player-names strong{display:grid;gap:4px;overflow-wrap:anywhere}.journey-player-names small{display:block;margin-top:5px;font-size:12px;color:#4c7087}.fen-manager{padding:14px;margin:14px 0;background:#f6fbff;border:1px solid #badce9;border-radius:18px}.fen-manager summary{font-weight:800;cursor:pointer}.fen-delete-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.fen-delete-controls label{display:grid;gap:5px}.fen-delete-controls input{width:110px;min-height:44px}.fen-clear{color:#a13f54}.fen-removal-history>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0}.fen-delete-confirm{max-width:560px}.fen-delete-confirm p{overflow-wrap:anywhere}.editor-panel .lesson-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));max-height:260px;overflow-y:auto;scrollbar-width:none}.editor-panel .lesson-grid::-webkit-scrollbar{display:none}.editor-panel .lesson-grid button{min-height:55px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}.fen-practice-badge{font-size:10px;line-height:1.25;border-radius:5px;padding:2px 4px;white-space:normal}.fen-practice-badge.has-practice{background:#fff0d3;color:#805015}.fen-practice-badge.solve-only{background:#dceef6;color:#255d78}.lesson-grid button.selected .fen-practice-badge{border:1px solid currentColor}.completion-overlay.practice-invitation-overlay{background:transparent;padding:8px}.practice-invitation-overlay .practice-invitation{width:min(250px,90%);padding:16px 18px 14px;border:0;border-radius:22px;background:linear-gradient(155deg,#fffffff5,#f1f9fff2);box-shadow:0 12px 36px #15384d38;overflow:auto;scrollbar-width:none}.practice-invitation::-webkit-scrollbar{display:none}.practice-invitation h2{position:absolute;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%)}.practice-invitation .completion-body{display:flex;flex-direction:column;align-items:center;gap:10px}.practice-invitation-art{width:clamp(96px,17vmin,124px);height:clamp(96px,17vmin,124px);aspect-ratio:1;object-fit:contain;border:0;background:transparent}.practice-invitation-start{width:100%;min-height:44px;padding:9px 14px;border:0;border-radius:12px;background:linear-gradient(#ffb750,#ee8d23);color:#462607;box-shadow:0 4px #ba6115,0 7px 12px #ad63142b;font-family:var(--sky-font);font-size:20px;font-weight:900}.practice-invitation-start:hover{background:linear-gradient(#ffc771,#ffa33a)}.practice-invitation-reward{margin:4px 0 0;color:var(--sky-ink);font-size:14px;line-height:1.5}.practice-invitation-reward span{white-space:nowrap;color:#936211;font-weight:700}.practice-invitation-reward svg{width:18px;height:18px;vertical-align:-3px;color:#d79a21}.practice-invitation-reward strong{color:#a05d0e;white-space:nowrap}.practice-invitation-next{border:0;background:transparent;color:#247347;font-weight:800;padding:4px 16px;min-height:36px;box-shadow:none}.practice-invitation-next:hover{background:#e6f4eb}.practice-invitation button:focus-visible{outline:3px solid #248bc2;outline-offset:2px}.practice-invitation-reward .practice-crown{display:inline-block;width:20px;height:20px;vertical-align:-4px;object-fit:contain}.chapter-start-art{width:clamp(120px,22vmin,164px);height:clamp(120px,22vmin,164px)}.chapter-start-button{width:100%;min-height:48px;padding:10px 14px;border:0;border-radius:12px;background:linear-gradient(#74cf9b,#35a46e);color:#103f2b;box-shadow:0 4px #21764c,0 7px 12px #21764c2b;font-family:var(--sky-font);font-size:20px;font-weight:900;touch-action:manipulation;cursor:pointer}.chapter-start-button:hover{background:linear-gradient(#88ddb0,#4ab980)}.chapter-start-button:active{transform:translateY(2px);box-shadow:0 2px #21764c}.chapter-start-note{margin:4px 0 0;color:var(--sky-ink);font-size:14px;line-height:1.5}.chapter-engine-settings{margin:12px 0;padding:12px;border-radius:14px;background:var(--sky-mist);color:var(--sky-ink)}.chapter-engine-settings h3{margin:0 0 10px;font-size:16px}.chapter-engine-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.chapter-engine-settings select{min-height:44px;min-width:100px}.chapter-engine-settings>button{width:100%;min-height:44px}.chapter-engine-settings p{font-size:13px;line-height:1.5;margin:10px 0 0}@media(max-width:730px){.app>header>.sync-pending{position:fixed;left:10px;bottom:10px;z-index:90;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:22px;box-shadow:var(--sky-depth)}}.watch-name{min-width:0;min-height:34px;width:100%;box-sizing:border-box}.watch-name strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.watch-name>.watch-result{margin-left:auto;flex:none;border:0;background:transparent;padding:0 2px;gap:0}.watch-side-dot{width:6px;height:6px;flex:none;border-radius:50%;box-sizing:border-box;border:1px solid #7392a5}.watch-side-dot.white{background:#fff}.watch-side-dot.black{background:#223a4b}.watch-strip .watch-name{font-size:10px;gap:3px;margin:3px 0;min-height:22px;text-align:left}.watch-strip .watch-name .club-avatar{width:18px;height:18px;font-size:10px;flex:none}.watch-strip .watch-name>.watch-result{padding:0;font-size:10px}.watch-strip .watch-name .watch-result>b{font-size:11px}.watch-strip .watch-side-dot{width:4px;height:4px}.journey-node .journey-practice-robot{position:absolute;left:12%;top:45%;transform:translateY(-50%);width:24%;max-width:28px;min-width:18px;height:auto;aspect-ratio:1;object-fit:contain;z-index:7;pointer-events:none;filter:drop-shadow(0 1px 2px #16384c55);border:0;background:transparent}.completion-note .practice-crown{display:inline-block;width:22px;height:22px;vertical-align:-5px}.journey-scroll{touch-action:pan-y pinch-zoom;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-overflow-scrolling:touch}.journey-scroll.is-dragging,.journey-scroll.is-dragging *{cursor:grabbing!important}.journey-player-names{cursor:auto;user-select:text;-webkit-user-select:text}.elo-emblem{display:inline-grid;place-items:center;width:36px;height:36px;font-size:30px;color:#225c82;text-shadow:0 2px #fff,0 3px #8cb9ce}.elo-match{color:#9a6023}.ranking-filters>button{min-width:0}.rating-summary{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}.rating-summary>span{background:#e7f5ff;border-radius:12px;padding:6px 12px;font-weight:900;color:#245c80}.rated-choice{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0;font-weight:800}.rated-choice input{width:20px;height:20px}.rated-choice small{width:100%;font-weight:600;color:var(--sky-muted)}.player-elo{display:block;font-size:13px;color:var(--sky-muted)}.match-rated-label{display:block;font-weight:800;color:#955718;margin:8px 0}.rating-table{overflow:auto}.rating-table table{border-collapse:collapse;font-size:14px;min-width:460px;width:100%}.rating-table td,.rating-table th{text-align:left;padding:8px;border-bottom:1px solid var(--sky-edge)}.rating-history{list-style:none;padding:0}.rating-history li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--sky-edge)}.rating-history small{display:block;font-size:12px;color:var(--sky-muted)}.elo-emblem .app-icon{width:32px;height:32px}.rating-summary>span{display:inline-flex;align-items:center;gap:5px}.rating-history .app-icon,.match-rated-label .app-icon{vertical-align:middle}.fen-list-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.fen-list-tools>label{flex:1;min-width:140px}.fen-list-tools form{display:flex;gap:6px;align-items:end}.fen-list-tools form input{max-width:110px}.fen-list-pages{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px;margin:10px 0}.pgn-source-row{display:flex;align-items:center;gap:8px;min-width:0}.pgn-source-row>label{flex:1;min-width:0}.pgn-source-row .pgn-remove-source{flex:none;min-width:36px;min-height:40px;padding:6px;color:#a44440}.pgn-remove-confirm{max-width:480px}.showcase-sources .pgn-source-row+.pgn-source-row{border-top:1px solid var(--sky-edge)}.app>header{position:sticky;top:0;z-index:80;flex-shrink:0}.practice.learning-journey>.journey-panel{width:100%;max-width:520px;justify-self:start;height:var(--play-board-size);max-height:var(--play-board-size)}.practice.learning-journey>.journey-panel>.journey{height:100%;min-height:0}@media(min-width:768px)and (orientation:landscape){.practice.learning-journey,.practice.learning-journey.map-view{display:grid;grid-template-columns:var(--play-board-size) minmax(0,1fr);height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px));padding:12px;gap:16px;align-items:start}.practice.learning-journey.map-view>.board-column{display:flex;width:var(--play-board-size);margin:0}.practice.learning-journey.map-view>.journey-panel{width:100%;max-width:520px;height:var(--play-board-size);max-height:var(--play-board-size);overflow:hidden}.practice.learning-journey.map-view .journey{height:100%;min-height:0}}@media(orientation:portrait),(max-width:767px){.practice.learning-journey,.practice.learning-journey.map-view{display:flex;flex-direction:column;align-items:center;padding:10px;gap:12px;height:auto;min-height:calc(var(--app-viewport-h,100vh) - 68px - var(--header-extra,0px) - var(--daily-quote-height,0px))}.practice.learning-journey>.board-column,.practice.learning-journey:not(.map-view) .board-column,.practice.learning-journey>.solve-panel{width:var(--play-board-size);max-width:100%;margin:0 auto}.practice.learning-journey.map-view>.board-column{display:none}.practice.learning-journey>.journey-panel,.practice.learning-journey.map-view>.journey-panel{width:var(--play-board-size);max-width:100%;height:calc(var(--app-viewport-h,100vh) - 88px - var(--header-extra,0px) - var(--daily-quote-height,0px));max-height:calc(var(--app-viewport-h,100vh) - 88px - var(--header-extra,0px) - var(--daily-quote-height,0px));margin:0 auto}.practice.learning-journey.map-view .journey{height:100%;min-height:0}}.watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.watch-card{min-width:0;padding:8px;border:1px solid var(--sky-edge);border-radius:14px;background:var(--sky-paper);box-shadow:0 3px #b7d8e7}.watch-grid .watch-name{min-width:0;font-size:clamp(12px,1.1vw,16px);gap:5px;min-height:30px;margin:2px 0}.watch-grid .watch-name strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-grid .watch-name .club-avatar{width:24px;height:24px;flex:none}.watch-grid .watch-result{flex:none;margin-left:auto;padding:1px 5px;min-width:24px}.watch-grid .watch-board-open{width:100%;padding:0;display:block;min-width:0;border:0;border-radius:7px;overflow:hidden;background:none}.watch-grid .watch-board{width:100%;aspect-ratio:1}.watch-grid .showcase-badge{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}@media(max-width:480px){.watch-grid{gap:9px}.watch-card{padding:5px;border-radius:10px}.watch-grid .watch-name{font-size:12px;gap:3px;min-height:27px}.watch-grid .watch-name .club-avatar{width:20px;height:20px}.watch-grid .showcase-badge{display:none}}.daily-inspiration{position:sticky;top:var(--app-header-height,68px);z-index:79;width:100%;padding:9px clamp(10px,2vw,28px);border-bottom:1px solid var(--sky-edge);background:linear-gradient(100deg,#effaff,#fffdf3,#effaff);color:var(--sky-ink);text-align:center}.daily-inspiration blockquote{margin:0 auto;max-width:1300px;display:flex;align-items:baseline;justify-content:center;column-gap:10px;row-gap:1px;flex-wrap:wrap;line-height:1.35}.daily-inspiration p{margin:0;font-size:clamp(14px,1.15vw,18px);font-weight:700}.daily-inspiration footer{font-size:clamp(12px,1vw,15px);white-space:normal}.daily-inspiration a{color:var(--sky-muted);text-decoration:none}.daily-inspiration a:hover{text-decoration:underline}.daily-inspiration small,.daily-welcome small{font-size:.76em;font-weight:500;opacity:.8}.daily-welcome{position:fixed;inset:0;z-index:2000;width:var(--app-viewport-w,100vw);height:var(--app-viewport-h,100vh);max-width:none;max-height:none;margin:0;border:0;padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:auto;color:var(--sky-ink);background:linear-gradient(0deg,#e7f7fff0,#eefaff88 50%,#d3f0ffdd),var(--welcome-background,none) center/cover;cursor:pointer}.daily-welcome::backdrop{background:#c5eafa}.welcome-content{width:min(1050px,100%);min-height:100%;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;gap:12px}.welcome-kicker{font-weight:800;letter-spacing:.07em;font-size:clamp(12px,1.5vw,18px);text-transform:uppercase;color:#356984}.daily-welcome h1{font-size:clamp(30px,4.8vw,66px);line-height:1.12;margin:0;text-shadow:0 3px 0 #fff}.welcome-hero{width:clamp(140px,25vw,300px);height:clamp(150px,calc(var(--app-viewport-h,100vh) * .3),320px);flex:none;filter:drop-shadow(0 8px 7px #2a5c6c33)}.welcome-hero .hero-portrait{width:100%;height:100%}.welcome-quote{padding:clamp(14px,2.5vw,26px);width:100%;border-radius:24px;background:#fafdfff0;box-shadow:0 6px #9ccfdf88,0 12px 40px #31698515}.welcome-quote blockquote{margin:0}.welcome-quote p{font-size:clamp(21px,2.5vw,34px);font-weight:750;line-height:1.4;margin:0 0 12px}.welcome-quote footer{font-size:clamp(15px,1.7vw,21px);color:var(--sky-muted)}.welcome-continue{border:0;background:transparent;box-shadow:none;font-size:clamp(14px,1.4vw,18px);min-height:48px;margin-top:8px;padding:10px 16px;border-radius:20px;color:#23536c}.welcome-continue:hover{background:#fff9}.welcome-continue span{font-size:24px}@media(max-height:540px)and (orientation:landscape){.welcome-content{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px 18px}.welcome-kicker,.daily-welcome h1{grid-column:2}.daily-welcome h1{font-size:28px}.welcome-hero{grid-column:1;grid-row:1/5;width:120px;height:180px}.welcome-quote{grid-column:2;padding:14px}.welcome-quote p{font-size:20px}.welcome-continue{grid-column:2;margin-top:0}.welcome-quote footer{font-size:14px}}.daily-inspiration blockquote,.welcome-quote blockquote{color:#b4232c}.daily-inspiration footer,.daily-inspiration a,.welcome-quote footer{color:inherit}:root{--menu-surface:#fff;--menu-group:#f1f4f9;--menu-separator:#dce4ee;--menu-accent:#086ec8;--menu-shadow:0 18px 60px #19375426}.app-icon-line{display:block;flex:none;color:inherit;vertical-align:middle}.app>header{padding-inline:clamp(10px,2vw,28px)}.app>header .header-right{gap:8px;min-width:0;flex:none}.app>header .header-right .icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:14px;background:#eef5fb;box-shadow:none;color:#225978;transition:background .15s,transform .15s}.app>header .header-right .icon-button:hover{background:#dfeefb}.app>header .header-right .icon-button:active{transform:scale(.96)}.app>header .header-right .icon-button:has(.app-icon-edit){color:#076cd0}.app>header .header-right .icon-button:has(.app-icon-shop){color:#ae6400}.app>header .header-right .icon-button:has(.app-icon-members){color:#167c91}.app>header .header-right .icon-button:has(.app-icon-exit){color:#bd353e}.app>header .coin-wallet{min-height:44px;margin:0;flex:none;padding:5px 10px;gap:6px;font-size:18px}.app>header .coin-wallet .coin-icon{width:29px;height:29px}@media(max-width:639px){.app>header{gap:8px;padding-inline:10px}.app>header .home-brand-label{display:none}.app>header .sky-brand{width:38px;height:42px}.app>header .brand{min-width:44px;min-height:44px}.app>header .header-right{gap:6px}.app>header .header-right .coin-wallet{font-size:16px;min-width:62px;padding-inline:7px}.app>header .coin-wallet .coin-icon{width:25px;height:25px}}.club-menu-backdrop{background:#18374f40;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.club-menu:not(.club-in-match){width:min(1100px,calc(var(--app-viewport-w,100vw) - 40px));height:min(820px,calc(var(--app-viewport-h,100vh) - 40px));max-height:calc(var(--app-viewport-h,100vh) - 40px);grid-template-columns:210px minmax(0,1fr);border:1px solid #ffffffd9;border-radius:25px;background:var(--menu-group);box-shadow:var(--menu-shadow);font-family:var(--sky-font)}.club-menu:not(.club-in-match) .club-menu-head{background:#ffffffef;border-color:var(--menu-separator);padding:19px 22px}.club-menu-head h2{font-size:24px;font-weight:750}.club-menu-head p{font-size:13px}.club-section-icon{border:0;border-radius:14px;background:#e7f2ff;color:var(--menu-accent);box-shadow:none}.club-menu .club-window-actions>.icon-button{border:0;border-radius:50%;background:#edf1f6;color:#4a6177;box-shadow:none;min-width:44px;min-height:44px}.club-menu:not(.club-in-match) .club-menu-nav{background:var(--menu-group);border-color:var(--menu-separator);padding:18px 10px;gap:7px}.club-menu .club-menu-nav>button{font-family:inherit;font-size:15px;font-weight:650;min-height:50px;border:0;border-radius:13px;gap:10px;color:#496072}.club-menu .club-menu-nav>button[aria-pressed=true]{background:#fff;color:var(--menu-accent);border:0;box-shadow:0 2px 8px #2849670d}.club-menu-nav .app-icon{width:29px;height:29px;padding:5px;border-radius:8px;background:#dceaff;color:#086ac2}.club-menu-nav .app-icon-members{background:#d9f2f4;color:#147786}.club-menu-nav .app-icon-swords{background:#e0f1e9;color:#237b52}.club-menu-nav .app-icon-shop{background:#fff0d8;color:#9c6008}.club-content{background:var(--menu-group);padding:22px;scroll-padding:20px}.club-content h3{font-size:20px;font-weight:750}.club-content button{font-family:inherit;font-weight:650;border-radius:12px;box-shadow:none}.club-content button:active:not(:disabled){transform:scale(.985)}.club-content :is(.profile-summary,.menu-section,.character-options article){background:var(--menu-surface);border:1px solid #e3e9f0;box-shadow:none;border-radius:18px}.club-content :is(.menu-primary,.menu-secondary){box-shadow:none}.club-content .menu-primary{background:var(--menu-accent);border-color:var(--menu-accent)}.club-content .menu-secondary{background:#e4effc;border-color:transparent;color:#1464ad}.club-content :is(input:not([type=checkbox]),select){min-height:44px;font-size:16px;border-radius:11px;border:1px solid #d5dfeb;background:#fff;padding:9px 11px;color:var(--sky-ink)}.club-content .menu-search{background:#e7ecf3;border:0;min-height:46px;border-radius:13px}.club-content .menu-search input{background:transparent!important;border:0!important;min-width:0;padding:10px 0!important}.club-content .menu-search .app-icon{color:#65778d}.club-content .menu-segment{background:#e5eaf1;border:0;border-radius:12px;padding:4px;gap:3px}.club-content .menu-segment button{min-height:40px;border:0;color:#4e6175}.club-content .menu-segment button[aria-pressed=true]{background:#fff;border:0;box-shadow:0 2px 5px #20344818;color:#174f83}.club-menu .shop-item{border-color:#e0e6ef;border-radius:16px;box-shadow:none}.club-menu .shop-item[aria-pressed=true]{border-color:#338a65;background:#f0faf5}.club-menu .shop-preview{background:#edf2f8;border-radius:11px}.club-menu .ranking-row{background:#fff;border-color:#e3e9f0}.club-menu .time-presets button{background:#fff;border-color:#dce4ee;border-radius:12px}.club-menu .time-presets button[aria-pressed=true]{background:#e6f1ff;color:#126ac0;border-color:#80b3e2;box-shadow:none}.pgn-remove-confirm,.screen-help,.publish-dialog{border-radius:24px;box-shadow:var(--menu-shadow);font-family:var(--sky-font)}.pgn-remove-confirm .completion-actions button:last-child{color:#b42d3c;background:#ffeef0}@media(max-width:759px){.club-menu-backdrop{padding:0;align-items:end}.club-menu:not(.club-in-match){position:relative;width:100%;height:calc(var(--app-viewport-h,100vh) - 12px);max-height:calc(var(--app-viewport-h,100vh) - 12px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;border-radius:26px 26px 0 0;border-bottom:0}.club-menu:not(.club-in-match):before{content:"";position:absolute;top:7px;left:calc(50% - 18px);width:36px;height:5px;border-radius:5px;background:#cad3df;z-index:4}.club-menu:not(.club-in-match) .club-menu-head{grid-column:1;grid-row:1;padding:24px 15px 14px}.club-menu-head h2{font-size:22px}.club-menu-head p{font-size:12px}.club-content{grid-column:1;grid-row:2;padding:16px 12px 24px}.club-menu:not(.club-in-match) .club-menu-nav{grid-column:1;grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:7px 6px max(9px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--menu-separator);border-bottom:0;background:#ffffffef}.club-menu .club-menu-nav>button{min-height:58px;padding:5px 2px;gap:3px;font-size:11px;border-radius:12px;flex-direction:column;justify-content:center}.club-menu .club-menu-nav>button[aria-pressed=true]{background:#edf5ff;box-shadow:none}.club-menu-nav .app-icon{width:25px;height:25px;padding:2px;background:transparent!important;border-radius:0}.club-menu .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.club-menu .shop-item{padding:9px}.club-menu .shop-preview{height:106px}.club-menu .shop-grid img,.club-menu .default-board{width:88px;height:88px}.club-menu .shop-item b{font-size:14px}.club-content .menu-search{flex-basis:100%}.club-content .menu-segment{width:100%}.club-content .menu-segment button{flex:1;font-size:13px}.club-content h3{font-size:19px}}@media(prefers-reduced-motion:reduce){.header-right button,.club-content button{transition:none!important;transform:none!important}}.club-content .menu-segment button{min-height:44px}.app>header .header-right .fullscreen-toggle[aria-pressed=true],.club-window-actions .fullscreen-toggle[aria-pressed=true]{background:#d9f3e6;color:#237a56}@media(max-width:759px){.club-menu .club-menu-nav>button{font-size:12px}}:root{--menu-group:#eff8fd;--menu-accent:#176da0;--menu-separator:#d3e8f3;--menu-shadow:0 20px 64px #17476626}.menu-symbol{display:block;flex:none;--symbol-ink:#245d85;--symbol-soft:#a5dbfa;--symbol-light:#f2fbff}.menu-symbol.app-icon-profile{--symbol-ink:#7153a1;--symbol-soft:#d5c2f6;--symbol-light:#faf6ff}.menu-symbol.app-icon-members{--symbol-ink:#26765f;--symbol-soft:#9edec6;--symbol-light:#f0fcf6}.menu-symbol.app-icon-shop{--symbol-ink:#91601a;--symbol-soft:#ffdb82;--symbol-light:#fffbec}.menu-symbol.app-icon-edit{--symbol-ink:#236d98;--symbol-soft:#97d7f6;--symbol-light:#f0fbff}.menu-symbol.app-icon-swords{--symbol-ink:#98542e;--symbol-soft:#ffc59c;--symbol-light:#fff8ef}.menu-symbol.app-icon-exit{--symbol-ink:#a25660;--symbol-soft:#efc0c5;--symbol-light:#fff6f7}.app>header .header-right .icon-button{border:1px solid #d5e9f3;background:linear-gradient(155deg,#fff,#edf8ff);box-shadow:0 2px #bcd8e8,0 4px 10px #24567408;border-radius:16px;transition:background .18s,box-shadow .18s,transform .18s}.app>header .header-right .icon-button:hover{background:#e6f6ff;box-shadow:0 2px #a6cfe3,0 5px 12px #24567416}.app>header .header-right .app-icon{width:27px;height:27px}.app>header .header-right .icon-button:active{transform:scale(.96);box-shadow:0 1px #bcd8e8}.club-menu:not(.club-in-match){border-radius:28px;border-color:#fff;box-shadow:var(--menu-shadow)}.club-menu:not(.club-in-match) .club-menu-head{background:linear-gradient(110deg,#fff,#f0faff);padding-block:18px}.club-menu-head h2{font-size:27px;font-weight:800;line-height:1.2}.club-menu-head p{font-size:14px}.club-section-icon{background:#e3f4ff;border:1px solid #c6e3f3;border-radius:17px;width:48px;height:48px;box-shadow:0 2px #bdd9e8}.club-section-icon .app-icon{width:30px;height:30px}.club-menu:not(.club-in-match) .club-menu-nav{background:linear-gradient(#f4fbff,#eaf6fc);padding:18px 12px;gap:10px}.club-menu .club-menu-nav>button{min-height:54px;border:1px solid transparent;border-radius:17px;font-size:17px;font-weight:700;gap:12px;transition:background .18s,box-shadow .18s}.club-menu .club-menu-nav>button:hover{background:#ffffffa6}.club-menu .club-menu-nav>button[aria-pressed=true]{border-color:#c6e4f3;background:#fff;box-shadow:0 3px #c9e1ed;color:#175f8d}.club-menu-nav .app-icon{width:32px;height:32px;padding:0;background:transparent!important;border-radius:0}.club-content h3{font-weight:800}.club-content :is(.profile-summary,.menu-section,.character-options article){border-color:#d9eaf4;border-radius:22px}.club-content .menu-search{background:#e5f0f8;box-shadow:inset 0 1px 2px #23547909}.club-content .menu-segment{background:#deedf6;border-radius:15px}.club-content .menu-segment button{border-radius:11px;font-size:15px}.club-content .menu-primary{background:linear-gradient(#2588b9,#176b9b);box-shadow:0 3px #0d527f;border:1px solid #1a6f9e}.club-content .menu-secondary{background:#e6f3fc;color:#1e648f}.club-menu .shop-item{background:#fff;border-color:#d6e7f1;border-radius:21px}.club-menu .shop-item[aria-pressed=true]{background:#edfaf3;box-shadow:inset 0 0 0 1px #338a65}.club-menu button:focus-visible,.header-right button:focus-visible{outline:3px solid #247db1;outline-offset:3px}@media(max-width:759px){.club-menu:not(.club-in-match){border-radius:28px 28px 0 0}.club-menu .club-menu-nav>button{font-size:13px;min-height:60px;gap:4px;border-radius:15px}.club-menu .club-menu-nav>button[aria-pressed=true]{box-shadow:none;background:#e6f4fd;border-color:#cae4f3}.club-menu-nav .app-icon{width:28px;height:28px;padding:0}.club-menu-head h2{font-size:25px}.club-menu-head p{font-size:13px}}.club-menu:not(.club-in-match) .club-menu-nav{flex-wrap:nowrap;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.club-menu .club-menu-nav>button{flex-shrink:0}.club-menu .club-menu-nav::-webkit-scrollbar{display:none}.header-menu,.header-secondary{display:flex;align-items:center;gap:8px;flex:none}.app>header .header-right{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}@media(max-width:639px){.app>header{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:8px 10px;height:auto;min-height:60px}.app>header .brand{flex:none;min-width:44px;min-height:44px}.app>header .header-right{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;padding:3px;scroll-padding-inline:3px;touch-action:pan-x pan-y}.app>header .header-right::-webkit-scrollbar{display:none}.app>header .header-menu,.app>header .header-secondary{display:contents}.app>header .header-right .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;flex:none}.app>header .header-right .app-icon{width:27px;height:27px}.app>header .coin-wallet{flex:none;min-height:44px;font-size:16px}.app>header .preview-tag{flex:none;font-size:12px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){.header-right button,.club-menu button{transition:none!important;transform:none!important}}:root{--header-extra:max(0px,calc(var(--app-header-height,68px) - 68px))}@media(min-width:768px)and (orientation:landscape){.practice.learning-journey,.practice.learning-journey.map-view,.practice.battle,.club-menu.club-in-match .duel{grid-template-columns:var(--play-board-size) minmax(0,520px);justify-content:center}}.reward-feedback{font-family:var(--sky-font);color:var(--sky-ink);text-align:center;box-sizing:border-box;pointer-events:auto}.reward-feedback-floating,.reward-feedback-panel{position:absolute;top:8px;left:50%;transform:translate(-50%);z-index:65;width:max-content;max-width:calc(100% - 16px);padding:9px 12px;border-radius:20px;background:#fffffff5;box-shadow:0 4px 18px #183b6033;animation:reward-arrive .22s ease-out}.reward-feedback p{font-size:13px;line-height:1.35;margin:5px 0 0;overflow-wrap:anywhere}.reward-feedback button{font:inherit;font-size:14px;min-height:44px;padding:5px 12px;margin-top:6px}.reward-chips{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.reward-chip{display:inline-flex;gap:5px;align-items:center;padding:5px 10px;border-radius:13px;background:#fff4d3;color:#82520b;line-height:1.2;white-space:nowrap}.reward-chip b{font-size:25px;font-weight:800;font-variant-numeric:tabular-nums}.reward-chip small{font-size:14px;font-weight:700}.reward-chip svg{width:29px;height:29px;flex:none}.reward-points{background:#fff0df;color:#93451c}.reward-points:has(.app-icon-progress){background:#e5f4ff;color:#195e8b}.reward-negative{background:#fff0f1;color:#9e3541}.reward-feedback-inline{margin:10px auto 14px;padding:8px 0;max-width:100%;flex:none}.reward-feedback-panel{display:none}.journey-panel{position:relative}.board:has(>.completion-overlay)>.reward-feedback-floating{display:none}@media(orientation:portrait),(max-width:767px){.practice.map-view .reward-feedback-panel{display:block}.reward-feedback-floating,.reward-feedback-panel{padding:7px 9px}.reward-chip{padding:5px 7px}.reward-chip b{font-size:23px}.reward-chip small{font-size:13px}.reward-chip svg{width:25px;height:25px}.reward-feedback p{font-size:12px}}@media(max-height:560px){.reward-feedback-inline{margin:3px auto;padding:3px 0}.reward-feedback-inline p{font-size:12px}.completion-dialog:has(.reward-feedback) .practice-invitation-art{max-height:72px}.reward-chip b{font-size:22px}}@keyframes reward-arrive{0%{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.reward-feedback{animation:none!important}}.reward-feedback-floating,.reward-feedback-panel{pointer-events:none}.reward-feedback-floating button,.reward-feedback-panel button{pointer-events:auto}.reward-delayed-board{position:absolute;top:8px;left:50%;transform:translate(-50%);z-index:70;width:max-content;max-width:calc(100% - 16px);pointer-events:none}.reward-delayed-page{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:1500;width:max-content;max-width:calc(var(--app-viewport-w,100vw) - 24px);pointer-events:none}.reward-delayed-board>.reward-feedback,.reward-delayed-page>.reward-feedback{margin:0;padding:10px 12px;border-radius:20px;background:#fffffff5;box-shadow:0 4px 18px #183b6033}@media(max-width:639px),(max-height:560px){.completion-dialog:has(.reward-feedback) .practice-invitation-art{width:64px;height:64px;max-height:64px;flex:none}.completion-dialog:has(.reward-feedback) .completion-body{gap:6px}.completion-dialog:has(.reward-feedback) .reward-feedback-inline{margin:2px auto 5px;padding:3px 0}.completion-dialog:has(.reward-feedback) .reward-feedback p{font-size:12px;margin-top:3px}.completion-dialog:has(.reward-feedback) .practice-invitation-reward{font-size:13px;line-height:1.35;margin-top:2px}}@media(max-height:560px)and (orientation:landscape){.completion-overlay:has(.reward-feedback){padding:6px}.completion-overlay .completion-dialog:has(.reward-feedback){padding:6px;max-height:100%;border-radius:12px}.completion-dialog:has(.reward-feedback) h2{font-size:14px;line-height:1.15;margin:2px 0 4px;padding:0}.completion-dialog:has(.reward-feedback) .completion-note,.completion-dialog:has(.reward-feedback) .practice-invitation-art,.completion-dialog:has(.reward-feedback) .practice-invitation-reward{display:none}.completion-dialog:has(.reward-feedback) .reward-feedback-inline{margin:0;padding:2px 0}.completion-dialog:not(.training-result):has(.reward-feedback) .reward-feedback[data-reward-status=confirmed] p{display:none}.completion-dialog:has(.reward-feedback) .reward-chip{padding:3px 4px;gap:2px}.completion-dialog:has(.reward-feedback) .reward-chips{gap:3px;flex-wrap:nowrap}.completion-dialog:has(.reward-feedback) .reward-chip b{font-size:17px}.completion-dialog:not(.training-result):has(.reward-feedback) .reward-chip small{display:none}.completion-dialog:has(.reward-feedback) .reward-chip svg{width:18px;height:18px}.completion-dialog:has(.reward-feedback) .completion-actions button{min-height:44px;padding:4px;font-size:13px;line-height:1.15}.practice-invitation:has(.reward-feedback) .completion-body{display:grid;grid-template-columns:1fr 1fr;gap:4px;align-items:center}.practice-invitation:has(.reward-feedback) .reward-feedback{grid-column:1/-1}.practice-invitation:has(.reward-feedback) .practice-invitation-start,.practice-invitation:has(.reward-feedback) .practice-invitation-next{min-height:44px;padding:4px 2px;font-size:12px;line-height:1.15;margin:0}}.practice-invitation-overlay .practice-invitation:has(.reward-feedback){width:min(360px,100%);padding:12px}@media(max-height:560px)and (orientation:landscape){.practice-invitation-overlay .practice-invitation:has(.reward-feedback){padding:6px}}.reward-feedback-inline{width:100%;min-height:80px;display:flex;flex-direction:column;justify-content:center}@media(max-width:639px),(max-height:560px){.completion-dialog:has(.reward-feedback) .reward-feedback-inline{min-height:62px}}@media(max-height:560px)and (orientation:landscape){.completion-dialog:has(.reward-feedback) .reward-feedback-inline{min-height:28px}}.watch-arena,.watch-details{display:contents}.watch-details>p{font-size:13px;line-height:1.5;margin:0;text-align:center}.watch-details>.watch-result{align-self:stretch}.watch-dialog .watch-arena>.board{width:min(100%,calc(var(--app-viewport-h,100vh) - 330px));max-width:100%;flex:none}.daily-welcome:focus{outline:none}@media(any-pointer:coarse)and (min-width:600px){.watch-dialog{--watch-frame-height:min(1100px,calc(var(--app-viewport-h,100vh) - 24px));width:min(760px,calc(var(--app-viewport-w,100vw) - 24px));height:min(1100px,calc(var(--app-viewport-h,100vh) - 24px));max-height:calc(var(--app-viewport-h,100vh) - 24px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(64px,1fr);gap:10px;padding:12px;overflow:hidden}.watch-dialog-head{grid-column:1/-1;min-height:44px}.watch-dialog-head>strong{font-size:19px}.watch-dialog-head button{width:44px;height:44px;min-height:44px;flex:none}.watch-arena{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;min-width:0;min-height:0}.watch-dialog .watch-arena>.board{width:min(100%,calc(var(--watch-frame-height) - 420px));height:auto;aspect-ratio:1}.watch-arena>.watch-player{width:min(100%,calc(var(--watch-frame-height) - 420px));min-height:34px;flex:none;font-size:16px}.watch-details{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:hidden;align-self:stretch}.watch-details>p{margin:0;text-align:center;font-size:13px;line-height:1.3}.watch-details>.move-score{flex:1;min-height:44px;max-height:none;margin:0;overflow:auto}.watch-details>.portrait-credits{font-size:11px;line-height:1.2;flex:none}.watch-playback{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;width:100%;flex:none}.watch-playback button{min-width:0;min-height:44px;padding:6px;font-size:15px}.watch-details .watch-result{flex:none}}@media(any-pointer:coarse)and (min-width:700px)and (orientation:landscape){:root{--play-board-size:min(calc(var(--app-viewport-h,100vh) - var(--app-header-height,68px) - var(--daily-quote-height,0px) - 24px),calc((var(--app-viewport-w,100vw) - 40px)*.65))}.practice.learning-journey,.practice.learning-journey.map-view,.practice.battle{display:grid;grid-template-columns:var(--play-board-size) minmax(0,520px);justify-content:center;align-items:start;padding:12px;gap:16px;height:calc(var(--app-viewport-h,100vh) - var(--app-header-height,68px) - var(--daily-quote-height,0px));min-height:0}.practice.learning-journey>.board-column,.practice.learning-journey.map-view>.board-column,.practice.learning-journey:not(.map-view)>.board-column{display:flex;width:var(--play-board-size);height:auto;margin:0}.practice.learning-journey>.journey-panel,.practice.learning-journey.map-view>.journey-panel{width:100%;max-width:520px;height:var(--play-board-size);max-height:var(--play-board-size);margin:0;overflow:hidden}.practice.learning-journey>.solve-panel{margin:0;width:100%;max-height:var(--play-board-size)}.practice.battle{grid-template-rows:54px minmax(0,1fr) 54px;row-gap:8px}.practice.battle .battle-arena{display:contents}.practice.battle .battle-arena>.board{grid-column:1;grid-row:1/-1;width:var(--play-board-size);max-width:none}.practice.battle .battle-arena>.battle-clock{grid-column:2;min-width:0;width:100%;height:54px;margin:0}.practice.battle .battle-arena>.battle-clock:first-child{grid-row:1}.practice.battle .battle-arena>.battle-clock:last-child{grid-row:3}.practice.battle .battle-panel{grid-column:2;grid-row:2;width:100%;height:auto;min-height:0;overflow:auto}.club-menu.club-in-match .duel{display:grid;grid-template-columns:var(--play-board-size) minmax(0,520px);grid-template-rows:54px minmax(0,1fr) 54px;justify-content:center;align-items:stretch;height:var(--play-board-size);flex:none;overflow:hidden}.club-menu.club-in-match .duel-arena{display:contents}.club-menu.club-in-match .duel .board{grid-column:1;grid-row:1/-1;width:var(--play-board-size)}.club-menu.club-in-match .duel .match-player{grid-column:2;width:100%;height:54px;min-height:54px}.club-menu.club-in-match .duel-arena>.match-player:first-child{grid-row:1}.club-menu.club-in-match .duel-arena>.match-player:last-child{grid-row:3}.club-menu.club-in-match .duel-controls{grid-column:2;grid-row:2;width:100%;min-height:0;overflow:auto}.watch-dialog{width:min(1100px,calc(var(--app-viewport-w,100vw) - 24px));height:min(840px,calc(var(--app-viewport-h,100vh) - 24px));grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr);grid-template-rows:auto minmax(0,1fr);gap:10px 16px}.watch-arena{grid-column:1;grid-row:2;justify-content:start}.watch-dialog .watch-arena>.board,.watch-arena>.watch-player{width:min(100%,calc(var(--app-viewport-h,100vh) - 200px))}.watch-details{grid-column:2;grid-row:2}.club-menu:not(.club-in-match){width:min(1100px,calc(var(--app-viewport-w,100vw) - 24px));height:min(820px,calc(var(--app-viewport-h,100vh) - 24px));max-height:calc(var(--app-viewport-h,100vh) - 24px);grid-template-columns:168px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);border-radius:24px}.club-menu:not(.club-in-match):before{display:none}.club-menu:not(.club-in-match) .club-menu-head{grid-column:1/-1;grid-row:1;grid-template-columns:44px minmax(0,1fr) auto;padding:12px 16px;gap:10px}.club-menu-head>.club-section-icon{display:grid;width:44px;height:44px}.club-menu-head h2{font-size:23px}.club-menu-head p{font-size:12px}.club-menu:not(.club-in-match) .club-menu-nav{grid-column:1;grid-row:2;display:flex;flex-direction:column;padding:12px 8px;gap:8px;border-top:0;border-right:1px solid var(--menu-separator);overflow:auto}.club-menu .club-menu-nav>button{flex-direction:row;justify-content:start;font-size:15px;gap:10px;min-height:50px;padding:9px}.club-menu .club-menu-nav .app-icon{width:28px;height:28px}.club-menu:not(.club-in-match) .club-content{grid-column:2;grid-row:2;padding:16px;min-height:0;overflow:auto}.profile-face>.club-avatar{width:64px;height:64px}.profile-summary{padding:14px;gap:12px}}@media(any-pointer:coarse)and (min-width:700px)and (max-height:600px)and (orientation:landscape){.welcome-content{max-width:960px;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:8px 18px;align-content:center}.welcome-hero{width:100%;height:220px;align-self:center}.welcome-quote{padding:14px}.welcome-quote p{font-size:20px;line-height:1.35}.welcome-quote footer{font-size:14px}.welcome-continue{min-height:44px;padding:6px 10px;font-size:14px;max-width:100%;justify-self:center}.welcome-content>*{min-width:0}.daily-welcome h1{font-size:30px}}.header-menu{display:flex!important;align-items:center;flex:none}.app>header .header-right{display:flex;align-items:center;gap:10px;min-width:0;overflow:visible;padding:0}.header-stats{display:flex;align-items:center;gap:7px;min-width:0}.app>header .header-stats .account-stat{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:5px 10px;border:1px solid #cce4f3;border-radius:16px;position:relative;font-variant-numeric:tabular-nums;background:#eaf6ff;color:#245b7b;white-space:nowrap}.app>header .header-stats .coin-wallet{background:#fff6da;border-color:#f1d285;color:#87540d;margin:0;font-size:18px}.app>header .header-stats .account-fire{background:#fff0e1;border-color:#f4d1af;color:#934b28}.app>header .header-stats .account-stat>.app-icon,.app>header .header-stats .coin-icon{width:25px;height:25px;flex:none}.header-stats b{font-size:18px;line-height:1.15;font-weight:800}.stat-compact{display:none}.account-menu-backdrop{position:fixed;inset:0;z-index:1600;background:#20496538;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-family:var(--sky-font);color:var(--sky-ink)}.account-menu-panel{position:absolute;top:calc(var(--app-header-height,68px) + 8px);right:max(10px,env(safe-area-inset-right));width:min(360px,calc(var(--app-viewport-w,100vw) - 20px));max-height:calc(var(--app-viewport-h,100vh) - var(--app-header-height,68px) - 24px);overflow:auto;overscroll-behavior:contain;padding:14px;border:1px solid #fff;border-radius:26px;background:linear-gradient(145deg,#fff,#edf8ff);box-shadow:0 15px 50px #193f6530;scrollbar-width:none}.account-menu-panel::-webkit-scrollbar{display:none}.account-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 12px}.account-menu-heading strong{display:block;font-size:25px;line-height:1.1}.account-menu-heading small{font-size:13px;color:var(--sky-muted)}.account-menu-heading>.icon-button{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:#e4f0f8;box-shadow:none}.account-menu-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-menu-actions>.icon-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:96px;min-width:0;width:100%;padding:12px 8px;border:1px solid #d6e7f2;border-radius:19px;box-shadow:0 3px #cce2ee;background:#fff;color:var(--sky-ink);font:700 15px var(--sky-font);transition:background .15s,transform .15s}.account-menu-actions>.icon-button:after{content:attr(aria-label);line-height:1.25;text-align:center}.account-menu-actions>.icon-button>.app-icon{width:34px;height:34px;flex:none}.account-menu-actions>.icon-button:hover{background:#eff9ff}.account-menu-actions>.icon-button:active{transform:scale(.98)}.account-menu-actions>.icon-button[data-menu-stay]{grid-column:1/-1;min-height:58px;flex-direction:row;justify-content:flex-start;padding-inline:15px;gap:12px;background:#eaf8f4;border-color:#cae5d9}.account-menu-actions>.icon-button[aria-label="Đăng xuất"]{grid-column:1/-1;min-height:48px;flex-direction:row;background:transparent;border:0;box-shadow:none;color:#a04c59;font-size:14px}.account-menu-actions>.icon-button[aria-label="Đăng xuất"]>.app-icon{width:25px;height:25px}.account-menu-actions .club-toggle i{position:absolute;top:7px;right:9px;font-size:18px;color:#b6650b}.account-menu-panel button:focus-visible,.account-menu-trigger:focus-visible{outline:3px solid #287fb2;outline-offset:2px}@media(max-width:639px){.app>header{padding:8px 10px;gap:8px;flex-wrap:nowrap}.app>header .brand{min-width:44px;flex:none}.app>header .header-right{gap:6px;flex:1;justify-content:flex-end;overflow:visible;padding:0}.header-stats{gap:4px;flex:none}.app>header .header-stats .account-stat{width:44px;min-width:40px;min-height:44px;height:44px;display:grid;grid-template-rows:19px 17px;place-items:center;align-content:center;gap:0;padding:3px 1px;border-radius:12px}.app>header .header-stats .account-stat>.app-icon,.app>header .header-stats .coin-icon{width:19px;height:19px}.header-stats .stat-full{display:none}.header-stats .stat-compact{display:block;font-size:13px;line-height:17px;font-weight:800}.app>header .account-menu-trigger,.app>header .header-right>.fullscreen-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;flex:none}.account-menu-panel{padding:12px}.account-menu-actions{gap:9px}.account-menu-actions>.icon-button{font-size:14px;min-height:90px}}@media(prefers-reduced-motion:reduce){.account-menu-actions>.icon-button{transition:none;transform:none}}.account-menu-panel{display:flex;flex-direction:column;overflow:hidden}.account-menu-heading{flex:none}.account-menu-actions{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 2px 5px;scrollbar-width:none}.account-menu-actions::-webkit-scrollbar{display:none}@media(any-pointer:coarse)and (min-width:700px)and (orientation:landscape){.app>header{height:56px;min-height:56px;padding:4px 12px;gap:10px;flex-wrap:nowrap}.app>header .brand{height:46px;padding:0;gap:8px;flex-direction:row}.app>header .brand .sky-brand{width:38px;height:46px}.app>header .home-brand-label{font-size:18px;line-height:1.2}.app>header .header-right>.icon-button,.app>header .account-menu-trigger{width:44px;height:44px;min-width:44px;min-height:44px;padding:8px}.daily-inspiration{padding:4px 12px;font-size:14px;line-height:20px;min-height:28px}.daily-inspiration p,.daily-inspiration blockquote{font-size:inherit;line-height:inherit}:root{--play-board-size:min(calc(var(--app-viewport-h,100vh) - var(--app-header-height,56px) - var(--daily-quote-height,28px) - 16px - env(safe-area-inset-bottom,0px)),calc(var(--app-viewport-w,100vw) - 300px))}.practice.learning-journey,.practice.learning-journey.map-view,.practice.battle{padding:8px 12px;gap:16px;max-width:none}.practice.learning-journey .board,.practice.battle .battle-arena>.board,.club-menu.club-in-match .duel .board{max-width:none;width:var(--play-board-size)}.watch-dialog{--watch-board-size:min(calc(var(--app-viewport-h,100vh) - 116px - env(safe-area-inset-bottom,0px)),calc(var(--app-viewport-w,100vw) - 300px));width:calc(var(--app-viewport-w,100vw) - 16px);height:calc(var(--app-viewport-h,100vh) - 16px - env(safe-area-inset-bottom,0px));max-height:none;padding:10px;grid-template-columns:var(--watch-board-size) minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);gap:10px 16px;align-content:stretch;border-radius:20px}.watch-dialog-head{grid-column:2;grid-row:1;gap:6px;min-width:0}.watch-dialog-head>strong{font-size:16px;line-height:1.2;min-width:0}.watch-arena{grid-column:1;grid-row:1/-1;justify-content:center;gap:6px}.watch-dialog .watch-arena>.board,.watch-dialog .watch-arena>.watch-player{width:var(--watch-board-size);max-width:none}.watch-dialog .watch-arena>.watch-player{min-height:34px;height:34px;overflow:hidden}.watch-details{grid-column:2;grid-row:2;min-height:0}.watch-details .watch-result{flex-wrap:wrap}.watch-details>.move-score{min-height:44px;max-height:none}}.account-menu-actions>.icon-button.account-audio-toggle[data-menu-stay]{grid-column:auto;min-height:60px;flex-direction:row;justify-content:center;padding:10px 6px;gap:7px;font-size:13px;line-height:1.25}.account-menu-actions>.account-audio-toggle>.app-icon{width:24px;height:24px;flex:none}.account-menu-actions>.account-audio-toggle[aria-pressed=false]{background:#f1f5f8;color:var(--sky-muted);border-color:#dce7ed}.account-menu-actions>.account-music-toggle[aria-pressed=true]{background:#f1edfc;border-color:#ddd4f3;color:#73579c}.editor-panel .panel-heading{flex-wrap:wrap;gap:10px}.update-exercise{min-height:44px;padding:9px 12px;display:inline-flex;align-items:center;gap:7px;font-size:14px}.edit-published-exercise{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;font-size:14px;margin-bottom:10px}.editor-publish-status{flex-basis:100%;margin:0;color:var(--sky-ink);font-size:14px;line-height:1.5}.square .legal-move-hint{position:absolute;width:26%;height:26%;left:37%;top:37%;border-radius:50%;background:#1a344b40;pointer-events:none;z-index:4}.square .legal-capture-hint{position:absolute;inset:7%;border:2px solid #243d5450;border-radius:9%;pointer-events:none;z-index:4}.match-player b[data-low-time=true]{color:#cd293c;background:#fff0f1;border-radius:10px;padding:4px 8px;animation:clock-urgent 1s ease-in-out infinite}.match-notifications{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:min(370px,calc(100vw - 24px));display:grid;gap:10px;z-index:1850;pointer-events:none}.match-toast{display:flex;gap:10px;align-items:flex-start;background:#f8fcff;border:1px solid #bcdae9;box-shadow:0 10px 30px #15394d2b;border-radius:20px;padding:14px;pointer-events:auto;color:var(--sky-ink)}.match-toast>div{flex:1;min-width:0}.match-toast strong{font-size:17px}.match-toast p{margin:5px 0;font-size:14px}.match-toast button{min-height:44px;padding:7px 12px;margin:4px 6px 0 0}.match-toast .toast-dismiss{min-width:32px;padding:0;margin:0;background:transparent;border:0}.match-toast small{font-size:12px;line-height:1.4;display:block}.duel-result-art{height:100px;position:relative;display:flex;justify-content:center}.duel-result-art .hero-portrait{width:100px;height:100px}.duel-result-crown{font-size:40px;position:absolute;right:22%;top:4px;color:#e8b62d}.duel .practice-invitation:has(.duel-result-art){max-height:95%;overflow:auto;padding:12px 16px;gap:8px}.duel .practice-invitation:has(.duel-result-art) .completion-body{display:flex;align-items:center;flex-direction:column;gap:7px}.duel .practice-invitation:has(.duel-result-art) p{font-size:14px;margin:0;line-height:1.45}.duel-rematch{min-height:44px;width:100%;padding:8px;background:#d9f1e6;color:#216345}@keyframes clock-urgent{50%{box-shadow:0 0 0 4px #ed405210}}@media(prefers-reduced-motion:reduce){.match-player b[data-low-time=true]{animation:none}}.invite-color{display:flex;align-items:center;gap:10px;margin:12px 0}.invite-color select{min-height:44px;padding:8px 12px;border:1px solid var(--sky-edge);border-radius:12px;background:var(--sky-paper);color:var(--sky-ink);font:inherit}.app:has(.duel .duel-result-art)~.match-notifications .match-toast[data-rematch=true]{display:none}.duel .practice-invitation:has(.duel-result-art) h2{position:static;width:auto;height:auto;clip-path:none;overflow:visible;margin:0 12px 8px!important;padding:0!important;font-size:20px;line-height:1.2;text-align:center}.duel .practice-invitation:has(.duel-result-art) small{font-size:12px}@media(max-height:600px),(max-width:639px){.duel-result-art,.duel-result-art .hero-portrait{height:64px;width:80px}.duel .practice-invitation:has(.duel-result-art) h2{font-size:16px}.duel .practice-invitation:has(.duel-result-art){padding:8px 12px}.duel .practice-invitation:has(.duel-result-art) .completion-body{gap:4px}}@media(max-width:639px),(max-height:600px){.duel .practice-invitation:has(.duel-result-art) .completion-body{display:grid;grid-template-columns:56px minmax(0,1fr);gap:5px;align-items:center}.duel .practice-invitation:has(.duel-result-art) .completion-body>*{grid-column:1/-1}.duel .practice-invitation:has(.duel-result-art) .duel-result-art{grid-column:1;grid-row:1;width:56px;height:56px}.duel .practice-invitation:has(.duel-result-art) .duel-result-art .hero-portrait{width:56px;height:56px}.duel .practice-invitation:has(.duel-result-art) .duel-result-art+p{grid-column:2;grid-row:1;font-size:12px}.duel .practice-invitation:has(.duel-result-art) .reward-feedback-inline{min-height:30px;margin:0;padding:0}.duel .practice-invitation:has(.duel-result-art) .duel-result-crown{width:24px;height:24px;right:-6px;top:0}}@media(max-height:500px)and (orientation:landscape){.duel .practice-invitation:has(.duel-result-art){padding:6px 10px}.duel .practice-invitation:has(.duel-result-art) .completion-body{grid-template-columns:40px minmax(0,1fr);gap:3px}.duel .practice-invitation:has(.duel-result-art) .duel-result-art,.duel .practice-invitation:has(.duel-result-art) .duel-result-art .hero-portrait{height:40px;width:40px}.duel .practice-invitation:has(.duel-result-art) h2{margin-bottom:4px!important}.duel .practice-invitation:has(.duel-result-art) p{font-size:12px}.duel .practice-invitation:has(.duel-result-art) small{font-size:11px}}.duel-controls{position:relative}.duel-controls>.match-rated-label{position:absolute;top:18px;right:14px;min-height:24px;margin:0;padding:0}.duel-controls>.invite-row{padding-right:30px;gap:8px}.duel-controls .icon-button{min-height:44px;width:44px;min-width:44px;padding:9px;display:inline-flex;align-items:center;justify-content:center;gap:3px}.duel-controls>.icon-button{align-self:flex-start}.duel-controls>strong{flex:none;font-size:16px;min-height:26px}.duel-controls>.move-score{flex:1;max-height:none;min-height:64px}@media(orientation:portrait),(max-width:639px){.duel-controls>.move-score{flex:none;max-height:38vh;overflow:auto}}.ranking-list>li[data-self=true]{background:linear-gradient(120deg,#fff0b7,#ffe2a0);border:2px solid #d39a31;box-shadow:0 3px #e4bd70}.ranking-list>li[data-self=true] .ranking-row{color:#61420f}.ranking-list>li[data-self=true] button.ranking-row:hover{background:#fff5d6}.ranking-list>li[data-self=true] .rank-place{color:#785522}.ranking-list>li[data-self=true] .rank-person strong small{font-weight:900}.member-name{padding:0;border:0;box-shadow:none;background:none;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer;min-height:32px;overflow-wrap:anywhere}.member-name:hover{text-decoration:underline}.club-avatar[role=button]{cursor:pointer}.club-avatar[role=button]:focus-visible,.member-name:focus-visible{outline:3px solid var(--sky-action);outline-offset:3px}.member-stats{display:flex;flex-wrap:wrap;gap:8px}.member-stats>span{font-size:18px;min-height:42px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px}.member-stats .coin-icon,.member-stats .practice-crown,.member-stats .app-icon,.member-stats img{width:28px;height:28px;object-fit:contain}.profile-avatar-edit{position:relative;display:grid;place-items:center;padding:0;background:transparent;border:0;box-shadow:none}.profile-avatar-edit>.app-icon{position:absolute;bottom:0;right:0;width:24px;height:24px;padding:4px;border-radius:50%;background:var(--sky-paper);box-shadow:0 2px 5px #24465c20}.profile-face{align-self:center}.profile-summary .avatar-upload{margin:0}.profile-summary-copy{min-width:0}.overview-left{min-width:0;display:flex;flex-direction:column;gap:20px;align-self:start}.member-detail-backdrop,.account-restriction{position:fixed;inset:0;background:#17394c70;z-index:4500;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.member-detail{position:relative;width:min(540px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:var(--sky-paper);color:var(--sky-ink);border-radius:24px;padding:24px;box-sizing:border-box;box-shadow:0 10px 40px #12334230}.member-detail>.club-avatar{width:76px;height:76px;margin:0 auto;display:flex}.member-detail h2{text-align:center;font-size:24px;overflow-wrap:anywhere}.member-detail-close{position:absolute;right:12px;top:12px}.member-detail>.member-stats{justify-content:center;margin:14px 0}.member-detail>.menu-primary{width:100%;min-height:44px;display:flex;justify-content:center;gap:8px;align-items:center}.member-moderation{border-top:1px solid var(--sky-edge);padding-top:12px;margin-top:18px}.member-moderation label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.member-moderation input,.member-moderation select{font:inherit;font-size:16px;min-height:44px;padding:8px;border-radius:10px;border:1px solid var(--sky-edge);color:var(--sky-ink);background:#fff}.moderation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.moderation-actions button{min-height:44px;padding:8px;display:flex;gap:5px;justify-content:center;align-items:center}.moderation-confirm{padding:12px;margin-top:12px;border-radius:12px;background:#fff1d5}.moderation-confirm button{margin-right:8px;min-height:44px}.account-restriction{z-index:6000;background:#e6f5ff}.account-restriction section{max-width:480px;text-align:center;color:var(--sky-ink)}.account-restriction .app-icon{width:64px;height:64px}.account-restriction button{min-height:44px}@media(max-width:1100px),(pointer:coarse){.overview-left{gap:0}.member-stats>span{font-size:16px}.profile-summary .member-stats{gap:6px}}.profile-avatar-edit{width:84px;height:92px;flex:none}.profile-avatar-edit>.club-avatar{width:76px;height:76px}.match-toast button.member-name{min-height:24px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;display:inline;text-align:left;font-size:inherit}.match-notifications{max-height:min(42dvh,440px);overflow-y:auto;overscroll-behavior:contain}.app:has(.account-menu-panel)~.match-notifications{visibility:hidden}.member-detail .club-avatar:not(.character-avatar){align-items:center;justify-content:center;font-size:28px}.profile-face .club-avatar:not(.character-avatar){display:grid;font-size:28px}@media(max-width:480px){.profile-avatar-edit{width:66px;height:78px}.profile-avatar-edit>.club-avatar{width:62px;height:62px}.member-detail{padding:18px}.member-detail .member-stats>span{font-size:15px;padding:6px}}.message-colon{font-weight:800}.leaderboard-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.leaderboard-heading h3{margin:0}.ranking-online-toggle{display:inline-flex;gap:6px;align-items:center;flex:none;min-height:36px;padding:3px 8px;border-radius:12px;background:#e9f8f1;color:#206f50;font-size:13px;font-weight:800;cursor:pointer}.ranking-online-toggle input{accent-color:#278653;width:16px;height:16px;margin:0}.ranking-online-toggle:has(:checked){box-shadow:inset 0 0 0 1px #88c8ae;background:#d9f3e5}.journey-friends-picker{position:relative}.journey-friends-trigger{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #cae2ee;border-radius:15px;background:#f7fcfff2;color:#215773;box-shadow:0 3px #adcbd8;font-size:14px}.journey-friends-trigger>.app-icon{width:20px;height:20px}.journey-friends-trigger>b{background:#def0f9;border-radius:8px;padding:1px 6px;font-size:12px}.journey-friends-trigger>.app-icon:last-child{width:14px;height:14px}.journey-friends-popover{position:absolute;bottom:calc(100% + 12px);left:0;width:min(310px,calc(100vw - 54px));max-height:min(380px,65vh);overflow:auto;background:#fbfdff;border:1px solid #c7e1ef;border-radius:20px;padding:10px;box-shadow:0 8px 30px #14364f40;color:var(--sky-ink);z-index:25;box-sizing:border-box}.journey-friends-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:0 4px;font-size:14px}.journey-friends-heading .icon-button{width:36px;min-height:36px;padding:7px;background:transparent;border:0;box-shadow:none}.journey-friend-search{display:flex;align-items:center;gap:7px;background:#eef7fc;border-radius:12px;margin:8px 0;padding:0 9px}.journey-friend-search .app-icon{width:18px;height:18px}.journey-friend-search input{width:0;min-width:0;flex:1;min-height:40px;border:0;background:transparent;font-size:16px;box-shadow:none;padding:5px 0}.journey-friends-list{display:grid;gap:5px;max-height:240px;overflow:auto}.journey-friend-item{display:grid;grid-template-columns:34px minmax(0,1fr) max-content 16px;align-items:center;gap:7px;min-height:58px;padding:8px;text-align:left;border:0;background:#edf7fc;border-radius:13px;box-shadow:none;color:var(--sky-ink)}.journey-friend-item .club-avatar{width:34px;height:34px}.journey-friend-item>span{min-width:0;display:grid;gap:2px}.journey-friend-item strong{font-size:13px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-friend-item small{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--sky-muted)}.journey-friend-item i,.online-dot{width:6px;height:6px;background:#8da3b0;border-radius:50%;display:inline-block;flex:none}.journey-friend-item i[data-online=true],.online-dot{background:#299263}.journey-friend-item>b{font-size:12px;border-radius:9px;padding:4px 7px;background:#e0eee7;color:#33715b}.journey-friend-item>.app-icon{width:16px;height:16px}.journey-friend-item:hover{background:#dceff9}.battle-emblem{display:inline-flex;align-items:center;justify-content:center;flex:none}.battle-emblem>img{width:100%;height:100%;object-fit:contain;display:block}.battle-emblem.practice-invitation-art{border:0;background:transparent;overflow:visible}.online-opponents{margin:0 0 22px}.online-opponents-heading{display:flex;align-items:center;gap:8px;margin-bottom:12px}.online-opponents-heading h3{margin:0}.online-opponents-heading>b{background:#e0f2e8;border-radius:8px;padding:2px 7px;color:#32775a;font-size:13px}.online-opponents-list{display:grid;gap:8px;max-height:440px;overflow:auto;overscroll-behavior:contain}.online-opponents-list article{display:flex;align-items:center;gap:12px;padding:12px;border-radius:17px;background:#edf7fc;border:1px solid #d5e9f4}.online-opponents-list article[data-self=true]{background:#fff0bf;border-color:#d9ad4d}.online-opponents-list article>.club-avatar{width:42px;height:42px}.online-opponent-copy{min-width:0;flex:1}.online-opponent-copy>strong{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.online-opponent-copy .member-name{min-height:24px;font-size:16px}.online-opponent-copy .member-stats{gap:7px;margin-top:5px}.online-opponent-copy .member-stats>span{min-height:24px;padding:0;background:transparent;font-size:13px;gap:4px}.online-opponent-copy .member-stats .app-icon,.online-opponent-copy .member-stats .coin-icon,.online-opponent-copy .member-stats .practice-crown{width:21px;height:21px}.online-opponent-copy .member-stats img{max-width:none;max-height:none}.online-invite{width:52px;height:52px;flex:none;padding:0;border:1px solid #b9dbe9;border-radius:15px;background:#fff;box-shadow:0 3px #b7d7e6}.online-invite .battle-emblem{width:48px;height:48px}.online-invite:hover{background:#e4f5ff}.profile-name-heading{display:flex;align-items:center;gap:8px}.profile-name-heading h3{margin:0;overflow-wrap:anywhere}.profile-name-heading .icon-button{width:36px;height:36px;min-height:36px;padding:7px;flex:none;background:transparent;border:0;box-shadow:none}.profile-name-form{display:grid;gap:8px;margin:10px 0;padding:10px;border-radius:14px;background:#edf7fc}.profile-name-form label{display:grid;gap:4px;font-size:13px}.profile-name-form input{min-width:0;width:100%;box-sizing:border-box;font:inherit;font-size:16px;min-height:44px;padding:8px;border-radius:10px;border:1px solid var(--sky-edge)}.profile-name-form small{display:flex;align-items:center;gap:5px;font-size:13px}.profile-name-form .coin-icon{width:20px;height:20px}.profile-name-form button{min-height:40px;margin-right:8px}.profile-name-form p{font-size:13px;margin:0}.profile-name-form [role=alert]{color:#a62b3b}.profile-name-editor{margin-bottom:8px}.admin-password-reset{margin:12px 0}.admin-password-reset>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px}.new-password-result{padding:12px;border-radius:14px;background:#e9f6ef;margin-top:8px}.new-password-result input{font-family:monospace;letter-spacing:1px}.new-password-result>div{display:flex;gap:8px;flex-wrap:wrap}.new-password-result button{min-height:40px;padding:6px 9px}.new-password-result small{display:block;margin-top:8px;font-size:12px}@media(max-width:480px){.leaderboard-heading{gap:6px}.leaderboard-heading h3{font-size:18px}.ranking-online-toggle{padding:3px 6px;font-size:12px}.online-opponents-list article{padding:9px;gap:8px}.online-opponents-list article>.club-avatar{width:34px;height:34px}.online-opponent-copy .member-stats{gap:6px}.online-opponent-copy .member-stats>span{font-size:12px}.online-invite{width:46px;height:46px}.online-invite .battle-emblem{width:42px;height:42px}}@media(max-width:700px){.app:has(.club-menu)~.match-notifications{bottom:calc(100px + env(safe-area-inset-bottom));max-height:28dvh}.app:has(.club-menu)~.match-notifications .match-toast[data-incoming=false]{display:none}}.journey-friend-search,.ranking-online-toggle{flex-direction:row}.journey-friend-search input{align-self:center;flex:1 1 0;width:0}body:has(.account-menu-panel) .match-notifications{visibility:hidden}.member-label{display:inline-block;vertical-align:baseline;max-width:100%;overflow-wrap:anywhere}.member-label:has(>.pro-badge){display:inline-flex;align-items:center;gap:.22em}.pro-badge{display:inline-flex;width:1.25em;height:1.25em;flex:none}.pro-badge img{display:block;width:100%;height:100%;object-fit:contain}.pro-text{color:#c82940;font-size:12px;letter-spacing:.06em}.app>header .brand>.pro-badge{width:24px;height:24px}@media(max-width:600px),(pointer:coarse){.app>header .brand:has(>.pro-badge){flex-direction:row;gap:4px}.app>header .brand>.home-brand-label{order:1}.app>header .brand>.pro-badge{width:20px;height:20px}}.access-summary{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--sky-muted);margin:6px 0}.access-summary svg{width:18px;height:18px;flex:none}.admin-pro{padding:14px;background:#fff4df;border-radius:16px;margin-bottom:16px}.admin-pro h3{margin:0}.admin-pro p{font-size:14px}.admin-pro-actions{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.admin-pro-actions label{flex:1;min-width:120px}.admin-pro-actions button{min-height:44px}.admin-member-search{width:min(640px,calc(100vw - 24px));display:flex;flex-direction:column;gap:16px}.admin-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-search-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:22px}.admin-member-search .menu-search{flex-direction:row}.admin-member-search .menu-search input{width:0;min-width:0;flex:1}.admin-search-results{overflow:auto;max-height:55dvh;display:grid;gap:8px}.admin-search-results>button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;min-width:0}.admin-search-results>button>.club-avatar{width:40px;height:40px;flex:none}.admin-search-results>button>span:not(.club-avatar){flex:1;min-width:0}.admin-search-results small{display:block;font-size:12px;color:var(--sky-muted);font-weight:400}.admin-search-results .member-label{overflow-wrap:anywhere}.admin-search-results i[data-online=true]{width:8px;height:8px;flex:none;background:#298751;border-radius:50%}.correct-move-glow{position:absolute;inset:0;pointer-events:none;background:var(--move-glow-gradient)}.correct-move-glow:before{content:"";position:absolute;inset:18%;pointer-events:none;border:3px solid var(--move-glow-ring);border-radius:50%;box-shadow:0 0 10px var(--move-glow-outer),inset 0 0 8px var(--move-glow-inner)}.correct-move-glow{--move-glow-gradient:radial-gradient(circle,#dcffe7e8 10%,#2aff698f 38%,#00ac4b66 55%,#00ac4b00 75%);--move-glow-ring:#c2ffcc;--move-glow-outer:#08ca4d;--move-glow-inner:#16e956;z-index:3;animation:correct-square-glow ease-out both}.king-check-light,.king-check-ring,.king-mate-flag{position:absolute;pointer-events:none}.king-check-light{inset:0;z-index:0;background:radial-gradient(circle closest-side at 50% 50%,#ffebe6e8 9%,#ff525cba 47%,#db18347a 72%,#db183400)}.king-check-ring{inset:17%;z-index:3;border-radius:50%;box-sizing:border-box;border:clamp(1.5px,.24vw,3px) solid #ffc3bd;box-shadow:0 0 8px 1px #e5243e,inset 0 0 6px #ff4957}.king-mate-flag{left:10%;top:25%;width:80%;height:80%;z-index:4;filter:drop-shadow(0 1px 2px #162a3da6)}.king-mate-flag img{position:static;width:100%;height:100%;display:block}@keyframes correct-square-glow{0%{opacity:0;transform:scale(.55)}18%,42%{opacity:1}to{opacity:0;transform:scale(1.2)}}.puzzle-fireworks{position:absolute;inset:0;overflow:hidden;pointer-events:none}.puzzle-firework{position:absolute;left:18%;top:25%;color:#46f19e;--burst-delay:0ms;--burst-radius:clamp(30px,10vw,95px)}.puzzle-firework:nth-child(2){left:82%;top:27%;color:#ffd267;--burst-delay:.18s}.puzzle-firework:nth-child(3){left:52%;top:17%;color:#b796ff;--burst-delay:.36s;--burst-radius:clamp(25px,7vw,68px)}.puzzle-firework i{position:absolute;top:-2px;left:-2px;width:4px;height:10px;border-radius:999px;background:currentColor;box-shadow:0 0 7px currentColor;animation:puzzle-spark 1.45s cubic-bezier(.18,.65,.34,1) var(--burst-delay) infinite both}.puzzle-firework i:nth-child(3n){color:#fff4c7;height:5px}@keyframes puzzle-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translateY(0) scale(.5)}10%,40%{opacity:1}76%,to{opacity:0;transform:rotate(var(--spark-angle)) translateY(calc(-1 * var(--burst-radius) * var(--spark-distance))) scale(.2)}}@media(prefers-reduced-motion:reduce){.correct-move-glow,.puzzle-fireworks{display:none}}.completion-overlay .completion-dialog.training-result{width:min(380px,100%);padding:16px;border:0;border-radius:20px;background:linear-gradient(155deg,#fff,#f2f9fd);box-shadow:0 12px 36px #15384d45;scrollbar-width:thin}.training-result .completion-heading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding-inline:18px 36px}.completion-overlay .training-result .completion-heading h2{margin:0;padding:0;font-size:clamp(16px,4vw,23px);line-height:1.2}.training-result .training-result-emblem{display:block;width:42px;height:42px}.training-result .completion-body{display:grid;gap:8px}.training-result .reward-feedback-inline{box-sizing:border-box;min-height:66px;margin:0;padding:6px 0}.training-result .training-result-note{margin:0;color:var(--sky-ink);font-size:14px;line-height:1.35;overflow-wrap:anywhere}.training-result-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}.training-result-actions button{min-width:0;min-height:44px;padding:7px 6px;border:0;border-radius:11px;font-size:clamp(13px,3.5vw,17px);line-height:1.15}.training-result-actions button:disabled{background:#e1e7eb;color:#657682}@media(max-width:639px),(max-height:560px){.completion-overlay .completion-dialog.training-result{padding:10px 12px}.training-result .completion-heading{min-height:36px}.training-result .training-result-emblem{width:34px;height:34px}.training-result .reward-feedback-inline{min-height:52px;padding:3px 0}.training-result .training-result-note{font-size:13px}}@media(max-height:560px)and (orientation:landscape){.completion-overlay .completion-dialog.training-result{padding:6px 10px}.training-result .completion-heading{min-height:30px}.training-result .training-result-emblem{width:28px;height:28px}.training-result .completion-body{gap:5px}.training-result .reward-feedback-inline{min-height:52px;padding:2px 0}.training-result .training-result-note{font-size:12px}}@media(max-height:560px)and (orientation:landscape){.practice .board-column:has(.training-result),.practice .board:has(>.completion-overlay>.training-result){position:relative;z-index:121}.completion-overlay:has(>.training-result){position:fixed;inset:0;z-index:120;padding:10px}}.daily-limit-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 24px);padding:24px;border:0;border-radius:22px;background:var(--sky-paper,#f9fdff);color:var(--sky-ink);text-align:center;font-family:var(--sky-font);box-shadow:0 10px 35px #20496544}.daily-limit-dialog::backdrop{background:#20496566}.daily-limit-dialog>.app-icon{width:36px;height:36px}.daily-limit-dialog h2{font-size:24px;line-height:1.2;margin:8px 0}.daily-limit-dialog p{margin:8px 0 18px;color:var(--sky-muted)}.daily-limit-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.daily-limit-actions a,.daily-limit-actions button{display:inline-grid;place-items:center;min-height:44px;padding:8px 14px;border-radius:12px;font:inherit;font-weight:800}.daily-limit-actions a{background:var(--sky-soft);color:var(--sky-ink)}.daily-limit-actions button{border:0;background:#1b6790;color:#fff}.daily-limit-actions :focus-visible{outline:3px solid #287fb2;outline-offset:2px}.showcase-profile-open{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;height:100%;padding:0 4px 0 0;background:none;border:0;box-shadow:none;font:inherit;color:var(--sky-ink);text-align:left;cursor:pointer}.showcase-profile-open strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-decoration-color:#3988ab72;text-underline-offset:.18em}.showcase-profile-open :is(img,.master-initial){flex:none}.showcase-profile-open:focus-visible,.showcase-player-profile :is(button,a):focus-visible{outline:3px solid #287fb2;outline-offset:2px}.showcase-player-profile{box-sizing:border-box;width:min(610px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:0;overflow:auto;overscroll-behavior:contain;border:0;border-radius:24px;background:#fafdff;color:var(--sky-ink);font-family:var(--sky-font);box-shadow:0 12px 48px #153d624d}.showcase-player-profile::backdrop{background:#163a537d}.showcase-player-profile article{padding:clamp(16px,4vw,28px)}.showcase-player-profile article>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:14px}.showcase-player-profile article>header .master-avatar{width:clamp(44px,12vw,72px);height:clamp(44px,12vw,72px)}.showcase-player-profile article>header button{min-width:44px;min-height:44px}.showcase-player-profile h2{font-size:clamp(23px,5vw,34px);line-height:1.1;margin:2px 0 4px;overflow-wrap:anywhere}.showcase-player-profile h3{font-size:19px;margin:0 0 4px}.showcase-player-profile p{margin:0;line-height:1.4}.showcase-player-profile p+p{margin-top:6px}.showcase-player-profile section,.showcase-player-profile aside{padding:10px 0;border-top:1px solid #dcecf4}.showcase-player-profile aside{padding:12px;border:0;border-radius:14px;background:var(--sky-soft)}.showcase-player-profile aside+section{margin-top:12px}.showcase-nickname{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:9px;background:#fff0c4;color:#724e13;font-weight:800}.showcase-player-profile footer{display:flex;flex-wrap:wrap;gap:7px 15px;margin-top:8px;font-size:14px}.showcase-player-profile footer a{color:#17648c;text-underline-offset:3px}:is(.leaderboard,.profile-name-heading,.member-detail) .member-admin-name{color:#b31f2b;animation:member-admin-pulse 2s ease-in-out infinite}@keyframes member-admin-pulse{50%{color:#dc263b;text-shadow:0 0 5px #e0445155}}@media(prefers-reduced-motion:reduce){:is(.leaderboard,.profile-name-heading,.member-detail) .member-admin-name{animation:none}}.club-avatar.character-avatar,.map-party .party-face:has(>.character-avatar){background:transparent;border-color:transparent;border-radius:0;box-shadow:none;overflow:visible}.club-avatar.character-avatar{border:0}.bot-preview-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;flex:none;padding:5px 10px;border:1px solid #a4cedf;border-radius:13px;background:#e4f5fa;color:#194760;font-weight:800;white-space:nowrap;text-decoration:none}.bot-preview-link img{width:24px;height:24px;object-fit:contain}.bot-preview-link:hover{background:#d3eef8}.bot-preview-link:focus-visible{outline:3px solid #287fb2;outline-offset:2px}@media(max-width:639px){.bot-preview-link{padding:5px}.bot-preview-link span{display:none}}@media(max-width:385px){.app>header:has(.bot-preview-link){padding-inline:6px;gap:4px}.app>header:has(.bot-preview-link) .header-right{gap:3px}.app>header:has(.bot-preview-link) .sky-brand{width:28px}.app>header:has(.bot-preview-link) .brand>.pro-badge{width:16px;height:16px}.app>header:has(.bot-preview-link) .header-stats{gap:3px}.app>header:has(.bot-preview-link) .header-stats .account-stat{width:34px;min-width:34px}}.bot-preview-link{cursor:pointer;font-family:inherit}.bot-preview-view{width:100%;max-width:none;margin:0;padding:0;display:grid;grid-template-rows:minmax(0,1fr);height:calc(var(--app-viewport-h,100dvh) - var(--app-header-height,68px) - var(--daily-quote-height,34px))}.bot-preview-frame{border:0;display:block;width:100%;height:100%}.rank-value.bot-rank-value{justify-content:flex-end}.bot-rank-value>.bot-collection-portrait{width:32px;height:32px;flex:none}@media(max-width:480px){.bot-rank-value>.bot-collection-portrait{width:28px;height:28px}}.ranking-filters:has([aria-label="Xếp hạng Thử thách đối thủ"]){grid-template-columns:repeat(6,minmax(0,1fr))}.shop-card{display:flex;flex-direction:column;min-width:0;gap:6px}.shop-card .shop-item{width:100%;flex:1}.shop-price-edit{min-height:40px;border:1px solid var(--sky-edge);border-radius:11px;background:#f1f9ff;color:var(--sky-ink);display:flex;align-items:center;justify-content:center;gap:5px;font-weight:800}.shop-price-edit svg{width:16px;height:16px}.shop-price-form{display:grid;gap:7px;padding:8px;border-radius:10px;background:#ebf6fc}.shop-price-form input{min-width:0;width:100%}.shop-price-form>div{display:flex;flex-wrap:wrap;gap:4px}.bot-avatar-collection{padding:14px;margin-top:14px;border:1px solid var(--sky-edge);border-radius:16px;background:#f7fcff}.bot-avatar-collection summary{font-weight:800;color:var(--sky-ink);cursor:pointer}.bot-avatar-collection p{margin:8px 0}.bot-avatar-options{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.bot-avatar-options article{display:grid;justify-items:center;grid-template-rows:60px minmax(2.2em,auto) auto auto;gap:6px;width:136px;padding:8px;border:1px solid var(--sky-edge);border-radius:12px;background:#fff;text-align:center;line-height:1.12}.bot-avatar-options button{width:100%;min-height:38px;padding:4px;border-radius:8px;font-size:13px}.bot-avatar-options button[aria-pressed=true]{background:#e2f9ee;border:2px solid #59ae84}.bot-collection-portrait,.bot-collection-portrait img{width:60px;height:60px;object-fit:contain;display:block}.sky-brand>.bot-collection-portrait,.club-avatar>.bot-collection-portrait,.journey-explorer>.bot-collection-portrait,.welcome-hero>.bot-collection-portrait{width:100%;height:100%}.bot-collection-portrait img{width:100%;height:100%;object-fit:contain}.app-icon-progress{object-fit:contain}.bot-game-player{display:inline-flex;gap:7px;align-items:center;min-width:0}.bot-game-player>.bot-collection-portrait{width:34px;height:34px;flex:none}.challenge-result-rewards{display:grid;gap:6px;min-width:0}.challenge-result-elo{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 10px;border-radius:12px;background:#e5f4ff;color:#195e8b;text-align:left}.challenge-result-elo>.app-icon{width:24px;height:24px}.challenge-result-elo>div{display:grid;font-size:14px;line-height:1.15}.challenge-result-elo>div span{font-variant-numeric:tabular-nums}.challenge-elo-change{font-size:clamp(18px,5vw,26px);line-height:1;color:#146449}.challenge-elo-change[data-negative=true]{color:#a72338}.duel.duel-page{--duel-side-min:280px;--duel-gap:16px;--duel-board-size:min(calc(var(--app-viewport-w,100vw) - 28px - var(--duel-side-min) - var(--duel-gap)),max(260px,calc(var(--app-viewport-h,100vh) - 128px - var(--daily-quote-height,0px))));width:min(calc(100% - 28px),calc(var(--duel-board-size) + var(--duel-gap) + 480px));max-width:none;height:var(--duel-board-size);margin:14px auto 20px;display:grid;grid-template-columns:var(--duel-board-size) minmax(var(--duel-side-min),1fr);grid-template-rows:54px minmax(0,1fr) 54px;gap:8px var(--duel-gap);align-items:stretch}.duel-page>.board{grid-column:1;grid-row:1/4;width:100%;max-width:none;align-self:start}.duel-page>.match-player{grid-column:2;align-items:center}.duel-page>.match-player[data-position=opponent]{grid-row:1}.duel-page>.match-player[data-position=own]{grid-row:3}.duel-page .duel-player-identity{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.duel-player-identity .member-name{overflow:hidden;text-overflow:ellipsis;min-width:0}.match-elo-inline,.duel-format,.duel-stake-result{display:inline-flex;align-items:center;gap:4px;font-weight:800;white-space:nowrap}.match-elo-inline{font-size:.85em;color:var(--sky-muted)}.match-elo-inline .app-icon,.duel-format .app-icon,.match-elo-inline .coin-icon,.duel-stake-result .coin-icon{width:18px;height:18px}.match-toast small.match-elo-inline{display:flex}.duel-page .duel-controls{grid-area:2/2;overflow:hidden;gap:6px;padding:8px 10px;background:var(--sky-paper);border:0;box-shadow:0 1px 0 var(--sky-edge)}.duel-status-row,.duel-actions,.duel-score-heading,.duel-decision{display:flex;align-items:center;gap:8px}.duel-status-row,.duel-score-heading{justify-content:space-between}.duel-status-row{flex:none;min-height:28px;flex-wrap:wrap}.duel-format{color:var(--sky-muted);font-size:13px}.duel-actions,.duel-decision{flex:none;flex-wrap:wrap}.duel-actions .icon-button,.duel-score-heading .icon-button{background:var(--sky-mist);border-color:var(--sky-edge);min-height:44px}.duel-actions .duel-resign{color:#a42c3b;background:#fff1f2;border-color:#f1c9cd}.duel-decision{padding:6px 8px;background:var(--sky-mist);border-radius:10px}.duel-decision span{flex:1 1 145px;font-size:13px}.duel-decision button{min-height:36px;padding:4px 8px;font-size:13px}.completion-overlay .resign-confirmation{width:min(340px,100%);background:var(--sky-paper);color:var(--sky-ink)}.resign-confirmation .completion-actions button{min-height:44px;padding:8px;font-size:clamp(14px,3.5vw,16px);background:var(--sky-mist);color:var(--sky-ink)}.resign-confirmation .completion-actions .resign-confirm{background:#a42c3b;color:#fff}.duel-score-heading h2{font-size:14px;margin:0}.duel-page .move-score{scrollbar-width:none;flex:1;min-height:0;max-height:none;margin:0;overscroll-behavior:contain}.duel-page .move-score::-webkit-scrollbar{display:none}.duel-score-empty{margin:6px 0;color:var(--sky-muted);font-size:13px}.duel-page .move-score:empty{display:none}.duel-result-art .bot-avatar{max-width:100%;max-height:100%;object-fit:contain}.duel-stake-result{font-size:14px;color:#754e0a;background:#fff1cf;padding:5px 9px;border-radius:10px}.shop-pro-offer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--sky-edge);border-radius:16px;background:var(--sky-mist)}.shop-pro-offer h3,.shop-pro-offer p{margin:0}.shop-pro-offer .menu-primary{margin:0;min-height:44px}.shop-pro-offer .coin-icon,.admin-pro h3 .coin-icon{width:22px;height:22px;vertical-align:middle}.shop-pro-offer .moderation-confirm{flex:1 1 100%}.admin-pro-actions input{width:130px;max-width:100%}.profile-password{display:grid;justify-items:start;gap:7px;margin-top:12px}.profile-password .menu-secondary{min-height:44px}.profile-password form{width:min(100%,340px)}.profile-password input{width:100%;box-sizing:border-box}@media(max-width:759px),(orientation:portrait)and (max-width:1050px){.duel.duel-page{width:min(calc(100% - 18px),650px);height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:6px;margin-top:8px}.duel-page>.match-player[data-position=opponent]{grid-area:1/1}.duel-page>.board{grid-area:2/1}.duel-page>.match-player[data-position=own]{grid-area:3/1}.duel-page .duel-controls{grid-area:4/1;width:100%}.duel-page .move-score{max-height:36vh}}@media(orientation:landscape)and (min-width:760px)and (max-height:540px){.duel-page .duel-controls{overflow:auto}}.lesson-replay-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.lesson-replay-actions button{flex:1 1 125px;min-height:44px;margin:0;padding:8px;line-height:1.2}.pro-trial-welcome{width:min(430px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:clamp(22px,5vw,36px);border:1px solid var(--sky-edge);border-radius:28px;background:radial-gradient(ellipse at top,#d6f1ff,transparent 66%),var(--sky-paper);color:var(--sky-ink);box-shadow:0 20px 54px #143b5960;text-align:center;overflow:auto}.pro-trial-welcome::backdrop{background:#163648a8}.pro-trial-emblem{display:grid;place-items:center;width:100px;height:100px;margin-inline:auto;border-radius:28px;border:1px solid var(--sky-edge);background:linear-gradient(155deg,var(--sky-paper),var(--sky-mist));box-shadow:var(--sky-depth)}.pro-trial-emblem img{display:block;object-fit:contain;padding:8px}.pro-trial-welcome h2{margin:20px 0 8px;font-size:clamp(25px,6vw,34px);line-height:1.14}.pro-trial-welcome p{margin:8px auto;color:var(--sky-muted);line-height:1.4}.pro-trial-welcome .pro-trial-expiry{margin-block:18px 12px;padding:10px 12px;border-radius:12px;background:var(--sky-mist);color:var(--sky-ink);font-weight:700}.pro-trial-welcome .pro-trial-terms{font-size:.9rem}.pro-trial-welcome [role=alert]{color:#9e2027}.pro-trial-welcome button{width:100%;min-height:48px;margin-top:14px;border:0;border-radius:14px;background:var(--sky-action);color:#fff;font:inherit;font-weight:800;touch-action:manipulation}.pro-trial-welcome button:focus-visible{outline:3px solid var(--sky-action);outline-offset:3px}
