﻿@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;650;700;800&display=swap');
:root{--bg:#f7f8f3;--ink:#253c34;--muted:#858e81;--green:#3d6148;--border:#e4e9de;--sidebar:210px;font-family:'Be Vietnam Pro',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;transition:background .18s,transform .18s}button:disabled{cursor:default}a{color:inherit}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d8ab55;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--border);padding:35px 18px 0;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;padding:0 8px;font-size:22px;font-weight:700;letter-spacing:-1px}.brand-mark{background:var(--green);width:38px;height:43px;color:#f0eed7;display:grid;place-items:center;border-radius:11px;font-size:32px;line-height:1}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:3px;color:#8a9587}.nav-label{font-size:8px;font-weight:600;letter-spacing:1.2px;color:#a0a697;margin:49px 12px 17px}.nav-item{background:none;border:0;display:flex;align-items:center;gap:13px;padding:14px 15px;width:100%;border-radius:8px;font-size:12px;text-align:left;color:#7c8779;margin-bottom:6px}.nav-item svg{width:18px;height:18px}.nav-item.active{background:#edf2e7;color:var(--green);font-weight:600}.nav-dot{width:5px;height:5px;border-radius:50%;background:#64824b;margin-left:auto}.sidebar-note{margin:55px 10px 25px;background:#f6f7f0;border:1px solid #eef0e5;border-radius:12px;padding:22px 13px;text-align:center}.note-art{font-family:Georgia,serif;font-size:31px;color:#879b6e}.note-art span{font-size:16px;margin:0 4px;color:#c1ad78}.sidebar-note p{font-size:11px;font-weight:500;line-height:1.85}.sidebar-note>span:last-child{font-size:8px;color:#959c8b}.help-link{margin-top:auto;margin-bottom:20px}.sidebar-bottom{border-top:1px solid var(--border);padding:20px 3px;display:flex;gap:9px;align-items:center;font-size:9px;font-weight:500}.avatar{width:30px;height:30px;display:grid;place-items:center;background:#ebeede;border-radius:50%;font-size:12px;color:#74825d}.sidebar-bottom small{display:block;color:#9ca493;font-size:8px;margin-top:4px;font-weight:400}.online-dot{width:5px;height:5px;border-radius:50%;background:#8ea67e;margin-left:auto}
.shell{margin-left:var(--sidebar)}.topbar{height:73px;border-bottom:1px solid var(--border);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#ffffff60;font-size:10px}.breadcrumb{color:#8d9685}.breadcrumb-slash{color:#bfc6b5;margin:0 12px}.topbar strong{font-weight:500}.subtle-button{display:flex;gap:8px;align-items:center;border:0;background:none;font-size:10px;color:#7f8c78}.subtle-button svg{width:16px;height:16px}main{max-width:1285px;margin:auto;padding:33px 42px 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:16px}.eyebrow{font-size:8px;letter-spacing:1.8px;color:#799164;font-weight:600;display:flex;gap:6px;align-items:center}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#91a17d}h1{font-size:clamp(24px,2.25vw,34px);letter-spacing:-1.3px;font-weight:650;margin:10px 0 9px;line-height:1.4}h1 span{color:#819673}.page-heading p{margin:0;font-size:10px;color:#88917f}.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #dce4d5;padding:11px 15px;border-radius:8px;font-size:10px;white-space:nowrap;font-weight:500}.outline-button svg{width:15px;height:15px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.board-section{min-width:0;max-width:650px}.match-header{display:flex;align-items:center;gap:11px;margin-bottom:18px}.match-icon{width:39px;height:39px;background:#e9eddf;display:grid;place-items:center;border-radius:10px;font-size:26px;color:#799068}.match-header h2{font-size:12px;margin:0 0 4px;font-weight:650;max-width:380px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-header p{font-size:9px;color:#8b9483;margin:0}.tag{margin-left:auto;padding:5px 8px;border-radius:5px;background:#eef2e6;color:#8d9a73;font-size:8px;white-space:nowrap}.player-row{display:flex;align-items:center;gap:9px;height:36px;margin-bottom:9px;font-size:10px}.player-piece{font-family:Georgia,serif;width:28px;height:28px;display:grid;place-items:center;font-size:24px;border-radius:6px}.black-player{color:#333e33;background:#e6eadf}.white-player{color:#47573a;background:#f9faf6;border:1px solid #e0e5d8}.player-row strong{font-weight:500;max-width:65%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.player-side{font-size:7px;color:#96a086;letter-spacing:1px;margin-left:auto}.turn-dot{width:7px;height:7px;border-radius:50%;background:#496d42;opacity:0}.turn-dot.current{opacity:1}
.board-frame{position:relative;border-radius:9px;padding:7px;background:#e2e8d8;box-shadow:0 6px 18px #394d2820;overflow:hidden}.board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;width:100%;border-radius:4px;overflow:hidden;touch-action:none;position:relative}.square{position:relative;border:0;border-radius:0;padding:0;aspect-ratio:1;display:grid;place-items:center;touch-action:none;transition:background .14s}.square.light{background:#eaf0df}.square.dark{background:#82966e}.square:active:not(:disabled){transform:none}.square:focus-visible{outline:3px solid #dfad53;outline-offset:-3px;z-index:2}.square:hover:not(:disabled){filter:none;box-shadow:inset 0 0 0 3px #40593235}.square.last.light{background:#d9dda4}.square.last.dark{background:#a6b06e}.square.selected{box-shadow:inset 0 0 0 4px #dcaf61;background:#b9c789}.square.in-check{background:radial-gradient(ellipse,#d88a70,#82966e)}.square.wrong{animation:wrong-flash .6s}.square .piece{width:85%;height:85%;pointer-events:none;fill:var(--piece-fill);stroke:var(--piece-stroke);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 2px 1px #263a3428)}.piece-white{--piece-fill:#fffdf1;--piece-stroke:#3e4b36}.piece-black{--piece-fill:#354039;--piece-stroke:#202e27}.piece.moved{animation:piece-appear .25s ease-out}.rank-coordinate,.file-coordinate{position:absolute;z-index:2;font-size:9px;font-weight:600;pointer-events:none}.rank-coordinate{top:4px;left:5px}.file-coordinate{bottom:3px;right:5px}.light .rank-coordinate,.light .file-coordinate{color:#758a61}.dark .rank-coordinate,.dark .file-coordinate{color:#e9efd9}.legal-dot{width:23%;height:23%;background:#304b3630;border-radius:50%;position:absolute;pointer-events:none}.legal-capture{position:absolute;inset:4px;border:4px solid #304b3650;border-radius:50%;pointer-events:none}.bottom-player{margin-top:11px;margin-bottom:0}.board-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.board-toolbar>span{font-size:9px;color:#8b9481;display:flex;align-items:center;gap:7px}.board-toolbar>span svg{width:15px;height:15px}.board-toolbar>div{display:flex;gap:3px}.icon-button{width:30px;height:30px;display:inline-grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:6px;color:#859278;font-size:16px}.icon-button svg{width:16px;height:16px}.icon-button[aria-pressed=true]{background:#e5eadb;color:#395734}.board-overlay{position:absolute;inset:0;background:#f2f5e8e8;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:4;backdrop-filter:blur(4px)}.board-overlay>span{font-size:45px;color:#82996b}.board-overlay strong{font-size:23px;margin-top:12px}.board-overlay p{font-size:12px;color:#8a967d}.board-overlay button{margin-top:8px}
.control-column{display:flex;flex-direction:column;gap:16px}.challenge-card{background:#284a3c;color:#f4f7eb;border:1px solid #355748;border-radius:14px;padding:22px;box-shadow:0 5px 15px #23463212;position:relative;overflow:hidden}.challenge-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#c0d0b8}.phase-badge{background:#41624c;color:#d2e2c4;display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:20px;font-size:8px;letter-spacing:0}.phase-badge>span{width:4px;height:4px;border-radius:50%;background:#bbcfa0}.round-number{display:flex;gap:13px;align-items:center;margin:21px 0 16px}.round-number>span:first-child{font-size:72px;font-weight:500;line-height:1;letter-spacing:-4px}.round-number>div{font-size:17px;font-weight:500;margin-top:6px}.round-number small{display:block;font-size:9px;color:#a2baa4;margin-top:5px;font-weight:400}.memory-art{margin-left:auto;font-size:72px;line-height:1;color:#adc3904d;font-family:Georgia,serif;transform:rotate(10deg)}.challenge-card h2{font-size:13px;font-weight:500;margin:0 0 8px;line-height:1.6}.challenge-card>p{font-size:10px;color:#b1c3af;line-height:1.9;margin:0;min-height:38px}.phase-steps{display:flex;align-items:center;justify-content:space-between;margin:21px 0 17px;font-size:8px}.step{color:#89a391;display:flex;align-items:center;gap:4px;white-space:nowrap}.step.active{color:#e6efcc}.step svg{width:12px;height:12px}.phase-steps i{height:1px;width:12px;background:#557162}.round-slots{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:17px}.move-slot{min-width:27px;height:26px;flex:1;max-width:48px;border:1px solid #597564;border-radius:5px;display:grid;place-items:center;font-size:9px;color:#8aaa90;background:#315343}.move-slot.seen{border-color:#c2d398;color:#f1f4df;background:#5b7752}.move-slot.correct{background:#bacc95;color:#2e4f3a;border-color:#bacc95}.main-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;background:#d9e6ae;border:0;border-radius:8px;padding:13px 10px;color:#304a33;font-weight:650;font-size:11px}.main-action svg{width:16px;height:16px}.main-action:disabled{background:#456550;color:#91af92}.secondary-actions{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:8px}.secondary-actions button{border:0;background:none;font-size:8px;color:#c0d0b8;display:flex;align-items:center;gap:5px;padding:4px 0}.secondary-actions button:disabled{color:#70927b}.secondary-actions svg{width:12px;height:12px}.timer-row{display:flex;justify-content:space-between;font-size:9px;color:#c8d8bb;margin-bottom:7px}.timer-row strong{font-weight:500;font-variant-numeric:tabular-nums}.timer-track{height:3px;background:#45654f;border-radius:10px;overflow:hidden;margin-bottom:16px}.timer-track span{display:block;background:#d9e6ae;height:100%;width:100%}
.settings-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:19px 20px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.card-heading h3{font-size:11px;margin:0;font-weight:650}.card-heading>svg{width:15px;height:15px;color:#92a17f}.range-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px;color:#849078}.range-heading strong{color:#59744d;background:#f1f5e9;border-radius:4px;padding:4px 6px;font-size:8px;font-weight:500}.settings-card input[type=range]{width:100%;height:4px;margin:16px 0 8px;accent-color:#6e8958;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:7px;color:#abb29f}.second-range{margin-top:20px}.setting-divider{height:1px;background:var(--border);margin:20px 0 15px}.toggle-row{display:flex;align-items:center;font-size:9px;color:#78866f;gap:8px;cursor:pointer}.toggle-row input{position:absolute;opacity:0;width:1px;height:1px}.switch{width:29px;height:17px;background:#c8cebf;position:relative;border-radius:20px;margin-left:auto;transition:background .2s}.switch:after{content:'';position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#fff;transition:transform .2s}.toggle-row input:checked+.switch{background:#658755}.toggle-row input:checked+.switch:after{transform:translateX(12px)}.toggle-row input:focus-visible+.switch{outline:3px solid #d8ab55;outline-offset:3px}.setting-foot{font-size:8px;color:#a1aa94;margin:13px 0 0;line-height:1.8}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#eef2e7;border:1px solid #e3e9d9;border-radius:10px;padding:14px 4px}.mini-stats>div{text-align:center;border-right:1px solid #dce4cf}.mini-stats>div:last-child{border:0}.mini-stats span{display:block;font-size:20px;font-weight:500;letter-spacing:-.5px;color:#567246}.mini-stats small{font-size:7px;color:#90a07c;display:block;margin-top:5px}.gentle-tip{display:flex;align-items:flex-start;gap:9px;padding:0 10px;color:#9aa883;font-size:17px}.gentle-tip p{font-size:8px;line-height:1.9;color:#8b977c;margin:1px 0 0}
.journey-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:20px 22px;margin-top:23px}.journey-heading{display:flex;justify-content:space-between;align-items:center}.journey-heading h3{font-size:11px;margin:0 0 6px;font-weight:650}.journey-heading p{font-size:8px;margin:0;color:#98a18d}.journey-heading>span{font-size:9px;color:#96a18b}.journey-heading strong{color:#668152;font-weight:650}.overall-track{margin-top:16px;height:4px;border-radius:10px;background:#eef2e6;overflow:hidden}.overall-track>span{height:100%;display:block;background:#88a169;transition:width .3s;width:0}.round-journey{display:flex;align-items:center;margin:17px 0 13px;overflow-x:auto;padding-bottom:3px}.journey-round{display:flex;gap:7px;align-items:center;flex-shrink:0}.journey-round>span{width:30px;height:30px;display:grid;place-items:center;background:#f5f7ef;border:1px solid #e7ecdf;border-radius:7px;font-size:10px;color:#a8b297}.journey-round.current>span{border-color:#93a876;background:#eaf1db;color:#4d6b3b;font-weight:650}.journey-round.complete>span{background:#668650;color:#fff;border-color:#668650}.journey-round>i{display:block;width:21px;height:1px;margin-right:7px;background:#e7ebdf}.journey-footer{display:flex;justify-content:space-between;gap:10px;font-size:7px;color:#a1ab93}.journey-footer>span:first-child{color:#7b9264}.page-footer{display:flex;justify-content:space-between;font-size:8px;color:#a5ac98;padding:20px 2px 0}.page-footer a{text-decoration:none}
dialog{border:1px solid #dce5d4;border-radius:18px;box-shadow:0 25px 90px #1b342c30;padding:27px;color:var(--ink);width:min(540px,calc(100% - 32px));max-height:90dvh;overflow:auto;background:#fbfcf7}dialog::backdrop{background:#243a3260;backdrop-filter:blur(5px)}.library-dialog{width:min(660px,calc(100% - 32px))}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:21px;font-weight:650;letter-spacing:-.6px;margin:8px 0}.dialog-intro,dialog>p{font-size:11px;color:#829076;line-height:1.9}.dialog-heading .close-dialog{flex-shrink:0;background:#edf2e4}.game-list{display:flex;flex-direction:column;gap:8px;margin:18px 0}.game-option{display:flex;align-items:center;gap:13px;padding:14px;background:#fff;border:1px solid #e0e7d8;border-radius:9px;text-align:left;width:100%}.game-option.selected{border-color:#8eaa73;background:#f0f6e6}.game-option .game-icon{font-size:28px;background:#edf1e3;width:40px;height:42px;display:grid;place-items:center;border-radius:8px;color:#75935c}.game-option strong{font-size:11px;display:block;margin-bottom:5px}.game-option small{font-size:9px;color:#8c9b7c;display:block}.game-option .choose-arrow{margin-left:auto;font-size:18px;color:#829c6a}.import-panel{padding:20px;border:1px solid #dde6d1;border-radius:12px;background:#f1f5e9}.import-panel h3{font-size:12px;display:flex;align-items:center;gap:8px;margin:0 0 15px}.import-panel h3 svg{width:16px;height:16px}.import-tabs{display:flex;gap:6px;margin-bottom:17px}.import-tabs button{background:none;border:1px solid transparent;padding:7px 12px;font-size:10px;border-radius:6px;color:#8a987a}.import-tabs button.selected{background:#fff;border-color:#dce5d0;color:#4e6d3e}.import-panel label{display:block;font-size:10px;color:#7c8e6b;margin-bottom:7px}.import-panel input[type=url],.import-panel textarea{width:100%;background:#fff;border:1px solid #d6e1c9;border-radius:7px;padding:12px;font-size:11px;color:#415a35;resize:vertical}.import-panel input::placeholder,.import-panel textarea::placeholder{color:#a6b198}.import-panel p{font-size:9px;color:#99a58b}.import-feedback{min-height:12px;line-height:1.7}.import-feedback.error{color:#a8513d}.primary-button{border:0;background:#3e6548;color:#f4f8e8;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;border-radius:8px;font-size:11px;font-weight:500}.primary-button svg{width:15px;height:15px}.primary-button:disabled{opacity:.5}.library-note{font-size:9px!important;color:#9ba68d!important;margin-bottom:0}.file-drop{padding:25px;border:1px dashed #adbd9a;border-radius:9px;text-align:center;display:flex!important;flex-direction:column;gap:9px;align-items:center;background:#f8faf3;cursor:pointer}.file-drop strong{font-size:12px;color:#647d50}.file-drop span{font-size:9px;color:#94a582}.file-drop input{max-width:100%;font-size:10px}.help-steps{margin:23px 0;display:flex;flex-direction:column;gap:22px}.help-steps>div{display:flex;gap:16px}.help-steps b{background:#e5edd8;color:#6c8a50;border-radius:9px;min-width:39px;height:39px;display:grid;place-items:center;font-size:12px;font-weight:600}.help-steps h3{font-size:13px;margin:0 0 7px}.help-steps p{font-size:11px;color:#8a967e;line-height:1.9;margin:0}.help-note{padding:13px;background:#eef3e5;border-radius:8px;font-size:10px!important;margin-bottom:20px}.confirm-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:23px}#promotion-options{display:flex;gap:9px;justify-content:center;margin:20px 0}#promotion-options button{background:#e8efdc;border:1px solid #c8d8b3;border-radius:9px;width:75px;height:80px}#promotion-options svg{width:60px;height:60px;fill:var(--piece-fill);stroke:var(--piece-stroke)}.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.stats-summary>div{padding:18px 8px;text-align:center;border-radius:9px;background:#eaf1df}.stats-summary strong{display:block;font-size:28px;font-weight:500;color:#648250}.stats-summary span{font-size:9px;color:#8a9c75}.history-item{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border);font-size:10px;gap:10px}.history-item small{color:#93a184}.empty-stats{text-align:center;padding:28px 5px;font-size:12px;color:#8d9d7b;line-height:2}.toast{position:fixed;bottom:26px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);background:#284a3c;color:#f3f7e7;box-shadow:0 8px 30px #243a3233;border-radius:10px;padding:13px 20px;font-size:11px;z-index:50;max-width:calc(100vw - 35px);text-align:center}.toast.error{background:#855c45}.drag-ghost{position:fixed;width:70px;height:70px;pointer-events:none;z-index:100;transform:translate(-50%,-50%);fill:var(--piece-fill);stroke:var(--piece-stroke);filter:drop-shadow(0 5px 4px #25352c30)}[hidden]{display:none!important}@keyframes piece-appear{from{transform:scale(.88);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes wrong-flash{0%,100%{box-shadow:none}20%,60%{box-shadow:inset 0 0 0 5px #bf785e;background:#d4a68a}}
@media(min-width:1450px){:root{--sidebar:235px}.sidebar{padding:40px 23px 0}.game-layout{grid-template-columns:minmax(0,1fr) 330px;gap:32px}.control-column{gap:20px}.challenge-card{padding:26px}.settings-card{padding:22px 25px}.challenge-card h2{font-size:14px}.challenge-card>p{font-size:11px}.phase-steps{font-size:9px}.main-action{padding:15px;font-size:12px}.round-number{margin:26px 0 21px}.round-number>span:first-child{font-size:83px}.board-section{max-width:670px}.player-row{height:42px;font-size:11px}}
@media(max-width:1150px){:root{--sidebar:180px}.sidebar{padding:30px 12px 0}.brand{font-size:19px;padding:0 4px;gap:7px}.brand-mark{width:32px;height:37px;font-size:29px}.nav-label{font-size:7px;margin:40px 7px 15px}.nav-item{font-size:10px;gap:9px;padding:13px 10px}.sidebar-note{margin:45px 4px 20px;padding:20px 8px}.sidebar-bottom{font-size:8px;gap:6px}.sidebar-bottom small{font-size:7px}.topbar{padding:0 26px}main{padding:27px 26px 16px}.game-layout{grid-template-columns:minmax(0,1fr) 265px;gap:20px}.challenge-card{padding:18px}.round-number>span:first-child{font-size:64px}.round-number>div{font-size:15px}.challenge-card h2{font-size:12px}.challenge-card>p{font-size:9px}.phase-steps{font-size:7px}.step{gap:3px}.phase-steps i{width:8px}.settings-card{padding:17px}.player-side{font-size:6px}.match-header h2{font-size:11px}.sidebar-note p{font-size:10px}.page-heading{margin-bottom:25px}}
@media(max-width:900px){:root{--sidebar:72px}.sidebar{padding:24px 10px 0;align-items:center}.brand{padding:0}.brand>span:last-child,.nav-label,.sidebar-note,.sidebar-bottom{display:none}.brand-mark{width:40px;height:43px}.sidebar nav{margin-top:35px;width:100%}.nav-item{font-size:0;gap:0;justify-content:center;padding:15px 8px}.nav-item svg{width:20px;height:20px}.nav-dot{display:none}.help-link{width:100%}.game-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.page-heading p{font-size:9px}.topbar{height:60px}main{padding:24px 22px}.challenge-card>p{min-height:34px}.round-number{margin:17px 0 12px}.memory-art{font-size:52px}.player-row strong{max-width:75%}.player-side,.match-header .tag{display:none}.board-toolbar>span{font-size:8px}.board-toolbar>span svg{display:none}}
@media(max-width:720px){:root{--sidebar:0px}.sidebar{display:none}.topbar{padding:0 20px;height:54px;font-size:9px}.topbar strong,.subtle-button{font-size:9px}main{padding:22px 18px 14px}.page-heading{align-items:flex-start;margin-bottom:22px;gap:10px}.eyebrow{font-size:6px;letter-spacing:1.3px}h1{font-size:25px;letter-spacing:-1px;margin-top:10px}h1 span{display:block}.page-heading p{font-size:8px;max-width:225px;line-height:1.8}.page-heading .outline-button{font-size:8px;padding:9px 10px;margin-top:27px;gap:5px}.page-heading .outline-button svg{width:13px;height:13px}.game-layout{display:flex;flex-direction:column;gap:19px}.board-section{width:100%;max-width:none}.match-header{margin-bottom:13px}.match-header .tag{display:block;font-size:7px}.match-header h2{font-size:11px}.match-header p{font-size:8px}.match-icon{width:34px;height:34px;font-size:23px}.player-row{font-size:10px;height:28px;margin-bottom:8px}.player-side{display:block;font-size:6px}.board-frame{padding:5px;border-radius:8px}.rank-coordinate,.file-coordinate{font-size:8px}.bottom-player{margin-top:10px}.board-toolbar{margin-top:11px}.board-toolbar>span{font-size:8px}.board-toolbar>span svg{display:block}.control-column{width:100%;gap:13px}.challenge-card{padding:20px}.round-number{margin:16px 0 14px}.round-number>span:first-child{font-size:62px}.challenge-card h2{font-size:13px}.challenge-card>p{font-size:10px;min-height:unset}.challenge-top{font-size:9px}.phase-steps{font-size:9px;margin:19px 0 15px}.step svg{width:14px;height:14px}.phase-steps i{width:20px}.main-action{font-size:12px;padding:14px}.secondary-actions button{font-size:9px}.settings-card{padding:20px}.range-heading,.toggle-row{font-size:10px}.range-heading strong{font-size:9px}.range-labels,.setting-foot{font-size:8px}.mini-stats{padding:15px 4px}.mini-stats small{font-size:8px}.gentle-tip{padding:2px 7px}.gentle-tip p{font-size:9px}.journey-card{padding:18px 16px;margin-top:20px}.journey-footer{font-size:7px;line-height:1.7}.journey-footer>span:last-child{text-align:right;max-width:155px}.journey-heading>span{font-size:8px}.page-footer{font-size:7px;padding-top:18px}.toast{left:50%;width:max-content}.dialog-heading h2{font-size:18px}dialog{padding:22px}.import-panel{padding:16px}.game-option strong{font-size:10px}.game-option small{font-size:8px}.game-option .game-icon{width:34px;height:36px;font-size:24px}.import-tabs button{font-size:9px;padding:7px 11px}.stats-summary strong{font-size:24px}.stats-summary span{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

