@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;color:#202720;--page:#f4f6f2;--surface:#fff;--surface-soft:#f8faf7;--surface-hover:#f0f4ed;--text:#202720;--muted:#7c867a;--subtle:#a0a89e;--line:#e8ece5;--green:#6f9f4d;--green-dark:#477232;--green-soft:#edf5e8;--green-border:#dcebd2;--sidebar:#fff;--shadow:0 12px 36px #26371f0e;--shadow-small:0 5px 18px #26371f12;background:#f4f6f2;font-family:DM Sans,Segoe UI,sans-serif;font-size:14px;font-weight:400}:root[data-theme=dark]{--buncss-light: ;--buncss-dark:initial;color-scheme:dark;color:#e7ede3;--page:#151a16;--surface:#1e261f;--surface-soft:#202a21;--surface-hover:#29352a;--text:#e7ede3;--muted:#a1ae9e;--subtle:#788575;--line:#303b30;--green:#92bd70;--green-dark:#a3cb83;--green-soft:#293b27;--green-border:#3c5235;--sidebar:#192019;--shadow:0 12px 36px #0000002e;--shadow-small:0 5px 18px #00000029;background:#151a16}*{box-sizing:border-box}body{background:var(--page);color:var(--text);min-width:320px;min-height:100vh;margin:0;transition:background .2s,color .2s}button,input{font:inherit}button{color:inherit}button:focus-visible{outline:3px solid #6f9f4d59;outline-offset:2px}input:focus-visible{outline:3px solid #6f9f4d59;outline-offset:2px}button{-webkit-tap-highlight-color:transparent}::selection{background:#6f9f4d38}.chess-game-page{display:flex;flex-direction:column;gap:18px}.chess-game-heading{display:flex;justify-content:space-between;align-items: flex-end;gap:15px}.chess-game-heading h1{color:var(--text);letter-spacing:-1px;margin:8px 0 5px;font:800 clamp(24px,3vw,32px)/1.2 Manrope,sans-serif}.chess-game-heading p{color:var(--muted);font-size:11px}.game-preview-notice{display:flex;background:var(--green-soft);border:1px solid var(--green-border);border-radius:10px;align-items: flex-start;gap:12px;padding:13px 15px}.game-preview-notice>span{color:var(--green-dark);font-size:23px}.game-preview-notice strong{color:var(--green-dark);font-size:11px}.game-preview-notice p{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.55}.chess-game-layout{display:grid;grid-template-columns:minmax(0,1.45fr)minmax(230px,.75fr);align-items: start;gap:20px}.chess-board-column{width:min(100%,650px);min-width:0;margin:0 auto}.chess-player-strip{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items: center;gap:10px;min-height:51px;padding:7px 10px}.chess-player-avatar{display:grid;background:var(--surface-soft);border-radius:9px;place-items: center;width:32px;height:32px;font-size:21px}.chess-player-strip>div:nth-child(2){display:flex;flex-direction:column;flex:1;gap:3px}.chess-player-strip strong{color:var(--text);font-size:11px}.chess-player-strip small{color:var(--muted);font-size:9px}.chess-clock{color:var(--text);background:var(--surface-soft);border:1px solid var(--line);text-align:center;font-variant-numeric:tabular-nums;border-radius:7px;min-width:77px;padding:7px 10px;font:800 17px Manrope,sans-serif}.chess-clock.clock-active{color:#fff;background:#416e36;border-color:#416e36}.chess-board-frame{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;width:100%;margin:10px 0;padding:7px}.chess-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));overflow:hidden;aspect-ratio:1;touch-action:manipulation;border-radius:4px;width:100%}.chess-square{position:relative;display:grid;aspect-ratio:1;overflow:hidden;cursor:pointer;border:0;place-items: center;min-width:0;padding:0}.chess-square:disabled{cursor:default}.square-light{background:#eeeed2}.square-dark{background:#769656}.square-last-move{background-image:linear-gradient(#f6f6697a,#f6f6697a)}.square-selected{background-image:linear-gradient(#facc15a6,#facc15a6)}.square-check{background-image:radial-gradient(#eb3232bf,#eb32321f 72%)}.chess-piece{position:relative;z-index:2;display:block;user-select:none;font-family:Segoe UI Symbol,DejaVu Sans,serif;font-size:clamp(24px,5.4vw,57px);line-height:1}.piece-white{color:#fff;-webkit-text-stroke:1px #373b32;text-shadow:0 2px 2px #0006}.piece-black{color:#20251e;text-shadow:0 1px 1px #ffffff59}.square-coordinate{position:absolute;z-index:3;pointer-events:none;font:700 clamp(8px,1.1vw,11px) Manrope,sans-serif}.rank-coordinate{top:3px;left:4px}.file-coordinate{bottom:2px;right:4px}.square-light .square-coordinate{color:#769656}.square-dark .square-coordinate{color:#eeeed2}.chess-legal-dot{position:absolute;z-index:1;background:#1d411861;border-radius:50%;width:25%;height:25%}.chess-capture-ring{position:absolute;z-index:1;border:clamp(3px,.6vw,6px) solid #1d41186b;border-radius:50%;inset:4%}.chess-game-message{color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:8px;min-height:35px;padding:10px 12px;font-size:10px}.game-result-banner{color:var(--green-dark);background:var(--green-soft);border:1px solid var(--green-border);text-align:center;border-radius:9px;padding:13px;font-size:12px;font-weight:800}.chess-game-actions{display:flex;justify-content:flex-end;margin-top:10px}.chess-game-sidebar{display:flex;flex-direction:column;gap:12px}.chess-game-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;min-width:0;padding:17px}.chess-game-card h2{color:var(--text);margin:9px 0 5px;font:800 15px/1.4 Manrope,sans-serif}.chess-game-card>p{color:var(--muted);font-size:10px;line-height:1.5}.game-control-summary{display:flex;color:var(--text);justify-content:space-between;align-items: center;margin-top:13px;font-size:12px}.game-control-summary span{color:var(--green-dark);font:800 15px Manrope,sans-serif}.game-clock-note{display:block;color:var(--muted);margin-top:9px;font-size:9px}.move-history-card{min-height:170px}.move-history-list{display:flex;overflow-y:auto;flex-direction:column;gap:3px;max-height:260px;margin-top:12px}.move-history-row{display:grid;grid-template-columns:32px 1fr 1fr;color:var(--text);border-radius:6px;gap:8px;padding:7px 8px;font-size:11px}.move-history-row:nth-child(odd){background:var(--surface-soft)}.move-history-row span{color:var(--muted)}.move-history-empty,.game-side-info{color:var(--muted);margin-top:12px;font-size:10px;line-height:1.6}.game-side-info{background:var(--surface-soft);border-radius:8px;padding:12px}.promotion-panel{display:flex;background:var(--surface);border:1px solid var(--green-border);border-radius:9px;flex-direction:column;gap:10px;margin:10px 0;padding:13px}.promotion-panel>strong{color:var(--text);font-size:11px}.promotion-panel>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.promotion-panel button{display:flex;color:var(--text);background:var(--surface-soft);border:1px solid var(--line);cursor:pointer;border-radius:7px;flex-direction:column;align-items: center;gap:5px;min-height:62px;padding:7px 3px;font-size:9px}.promotion-panel button span{font-size:25px}@media (max-width:850px){.chess-game-layout{grid-template-columns:1fr}.chess-game-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.move-history-card{grid-column:1/-1}}@media (max-width:520px){.chess-game-heading{align-items: flex-start}.chess-game-heading h1{font-size:23px}.chess-game-layout{gap:12px}.chess-board-frame{padding:4px}.chess-piece{font-size:clamp(23px,8vw,43px)}.chess-game-sidebar{grid-template-columns:1fr}.move-history-card{grid-column:auto}}#root,.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:20;display:flex;background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;width:250px;padding:25px 16px 16px;transition:background .2s,transform .25s;inset:0 auto 0 0}.brand{display:flex;text-align:left;cursor:pointer;background:0 0;border:0;align-items: center;gap:11px;padding:2px 9px 27px}.brand-mark{display:grid;color:#fff;background:linear-gradient(145deg,#80ad5e,#477a37);border-radius:13px;flex:0 0 42px;place-items: center;width:42px;height:42px;font-size:28px;box-shadow:0 6px 13px #4c7a3633}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-copy strong{letter-spacing:.7px;font:800 16px/1 Manrope,sans-serif}.brand-copy strong span{color:var(--green)}.brand-copy small{color:var(--muted);letter-spacing:1.2px;font-size:8px;font-weight:700}.sidebar-label,.nav-group-title,.section-overline,.modal-label{color:var(--subtle);letter-spacing:1.35px;font-size:9px;font-weight:800}.sidebar-label{padding:0 12px 15px}.side-navigation{overflow-y:auto;flex:1}.nav-group{margin-bottom:22px}.nav-group-title{padding:0 12px 8px}.nav-item{position:relative;display:flex;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items: center;gap:12px;width:100%;min-height:42px;padding:0 12px;transition:background .16s,color .16s;font-size:12px;font-weight:600}.nav-item:hover,.muted-nav:hover{background:var(--surface-hover);color:var(--text)}.nav-item-active{color:var(--green-dark);background:var(--green-soft);font-weight:700}.nav-item-active:before{content:"";position:absolute;background:var(--green);border-radius:0 4px 4px 0;width:3px;top:9px;bottom:9px;left:-16px}.nav-dot,.notification-dot,.online-dot,.status-pulse,.caption-dot{background:#85b75b;border-radius:50%;width:7px;height:7px}.nav-dot{margin-left:auto}.sidebar-bottom{flex:none}.sidebar-promo{border:1px solid var(--green-border);background:linear-gradient(145deg,var(--green-soft),var(--surface));border-radius:12px;margin:0 2px 16px;padding:15px}.promo-icon{display:grid;background:var(--surface);color:var(--green-dark);border-radius:9px;place-items: center;width:31px;height:31px;margin-bottom:11px}.sidebar-promo strong{display:block;font-size:11px}.sidebar-promo p{color:var(--muted);margin:6px 0 12px;font-size:10px;line-height:1.5}.sidebar-promo button,.text-link,.hero-text-button{display:inline-flex;color:var(--green-dark);cursor:pointer;background:0 0;border:0;align-items: center;gap:7px;padding:0;font-size:10px;font-weight:800}.muted-nav{min-height:37px;font-size:11px}.sidebar-user{display:flex;border-top:1px solid var(--line);align-items: center;gap:10px;margin-top:12px;padding:14px 7px 2px}.avatar{display:grid;color:#426738;background:#e4eedb;border-radius:50%;flex:0 0 34px;place-items: center;width:34px;height:34px;font-size:12px;font-weight:800}.avatar-small{flex-basis:31px;width:31px;height:31px}.sidebar-user-copy{display:flex;flex-direction:column;flex:1;gap:3px}.sidebar-user-copy strong{font-size:11px}.sidebar-user-copy span{color:var(--muted);font-size:9px}.online-dot{width:7px;height:7px}.main-area{min-height:100vh;margin-left:250px}.topbar{position:sticky;z-index:10;display:flex;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface)92%,transparent);backdrop-filter:blur(14px);justify-content:space-between;align-items: center;height:70px;padding:0 42px;top:0}.topbar-left,.topbar-actions,.breadcrumbs{display:flex;align-items: center}.breadcrumbs{color:var(--muted);gap:10px;font-size:11px}.breadcrumbs strong{color:var(--text);font-weight:700}.topbar-actions{gap:12px}.search-wrap{position:relative;display:flex;color:var(--muted);border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;align-items: center;gap:8px;width:225px;height:36px;padding:0 10px}.search-wrap input{outline:none;color:var(--text);background:0 0;border:0;width:100%;min-width:0;font-size:11px}.search-wrap input::placeholder{color:var(--subtle)}.search-wrap kbd{white-space:nowrap;border:1px solid var(--line);color:var(--subtle);border-radius:4px;padding:2px 5px;font-size:9px}.search-results,.small-popover{position:absolute;z-index:30;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;width:245px;padding:9px;top:calc(100% + 10px);right:0}.search-results{left:0;right:auto}.search-results button,.profile-popover>button{display:flex;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items: center;gap:9px;width:100%;min-height:37px;padding:0 9px;font-size:11px}.search-results button svg:last-child{color:var(--muted);margin-left:auto}.search-results button:hover,.profile-popover>button:hover{background:var(--surface-hover)}.search-results p{color:var(--muted);padding:8px;font-size:11px}.icon-button{position:relative;display:grid;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;place-items: center;width:36px;height:36px}.icon-button:hover,.icon-button-active{border-color:var(--line);background:var(--surface-soft);color:var(--text)}.notification-dot{position:absolute;border:1px solid var(--surface);width:6px;height:6px;top:7px;right:7px}.action-popover-wrap{position:relative}.profile-trigger{display:flex;cursor:pointer;background:0 0;border:0;align-items: center;gap:7px;padding:0 2px}.profile-trigger>svg{color:var(--muted);transform:rotate(90deg)}.small-popover{width:260px}.popover-heading{display:flex;border-bottom:1px solid var(--line);justify-content:space-between;align-items: center;padding:8px 9px 12px}.popover-heading strong{font-size:12px}.new-label{color:var(--green-dark);letter-spacing:1px;font-size:8px;font-weight:800}.empty-notifications{display:flex;text-align:center;flex-direction:column;align-items: center;padding:21px 14px 17px}.empty-notifications>span{display:grid;background:var(--green-soft);color:var(--green-dark);border-radius:50%;place-items: center;width:42px;height:42px;margin-bottom:10px}.empty-notifications strong{font-size:11px}.empty-notifications p{color:var(--muted);max-width:185px;margin:6px 0 0;font-size:10px;line-height:1.5}.profile-popover{width:215px}.profile-popover-top{display:flex;border-bottom:1px solid var(--line);align-items: center;gap:10px;margin-bottom:5px;padding:8px 8px 13px}.profile-popover-top div{display:flex;flex-direction:column;gap:3px}.profile-popover-top strong{font-size:11px}.profile-popover-top small{color:var(--muted);font-size:9px}.profile-note{background:var(--surface-soft);color:var(--muted);border-radius:7px;margin-top:5px;padding:9px;font-size:9px;line-height:1.5}.mobile-menu-button{display:none}.content-wrap{width:min(1160px,100%);margin:0 auto;padding:34px 42px 24px}.welcome-row{display:flex;justify-content:space-between;align-items: flex-end;gap:20px;margin-bottom:23px}.eyebrow{display:flex;color:var(--green-dark);letter-spacing:1.35px;align-items: center;gap:8px;font-size:9px;font-weight:800}.eyebrow-line{background:var(--green);border-radius:2px;width:19px;height:2px}.welcome-row h1,.coming-page h1{color:var(--text);letter-spacing:-1.3px;margin:10px 0 5px;font:800 clamp(25px,3vw,34px)/1.2 Manrope,sans-serif}.welcome-row h1 span{color:var(--green-dark)}.welcome-subtitle{color:var(--muted);max-width:610px;font-size:12px;line-height:1.65}.date-chip{display:inline-flex;border:1px solid var(--line);background:var(--surface);color:var(--muted);white-space:nowrap;border-radius:7px;align-items: center;gap:7px;padding:8px 11px;font-size:10px}.hero-banner{position:relative;display:flex;overflow:hidden;color:#f4f8ef;background:radial-gradient(circle at 75% 48%,#8db7673d,#0000 31%),linear-gradient(112deg,#1c3020 0%,#294b2b 57%,#1d3925 100%);border:1px solid #3e6135;border-radius:15px;justify-content:space-between;align-items: center;gap:22px;min-height:278px;padding:30px 40px;box-shadow:0 15px 30px #25452221}.hero-banner:before,.hero-banner:after{content:"";position:absolute;pointer-events:none;border:1px solid #e1f4d514;border-radius:50%}.hero-banner:before{width:400px;height:400px;top:-215px;right:70px}.hero-banner:after{width:300px;height:300px;bottom:-220px;right:120px}.hero-copy{position:relative;z-index:2;max-width:490px}.hero-kicker{display:flex;color:#b7d99b;letter-spacing:1.45px;align-items: center;gap:7px;font-size:9px;font-weight:800}.hero-copy h2{color:#fff;letter-spacing:-1.25px;margin:16px 0 8px;font:800 clamp(25px,3vw,34px)/1.22 Manrope,sans-serif}.hero-copy>p{color:#c3d3bd;font-size:11px}.hero-actions{display:flex;align-items: center;gap:19px;margin-top:22px}.primary-button{display:inline-flex;color:#172a19;cursor:pointer;background:#91bd6b;border:1px solid #0000;border-radius:8px;justify-content:center;align-items: center;gap:9px;min-height:41px;padding:0 16px;transition:transform .16s,filter .16s;font-size:11px;font-weight:800}.primary-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.hero-text-button{color:#d8e5d1;font-size:10px}.hero-footnote{display:flex;color:#b6c7ae;align-items: center;gap:7px;margin-top:20px;font-size:9px}.status-pulse{width:6px;height:6px;box-shadow:0 0 0 4px #91bd6b21}.hero-board-wrap{position:relative;z-index:1;flex:0 0 215px;width:215px;margin-right:12px}.board-glow{position:absolute;filter:blur(26px);background:#97c47029;border-radius:50%;inset:10% -10%}.mini-board{position:relative;display:grid;grid-template-columns:repeat(8,1fr);overflow:hidden;aspect-ratio:1;border:5px solid #e0efd726;border-radius:5px;transform:perspective(650px)rotateY(-9deg)rotateX(3deg);box-shadow:0 13px 35px #00000052}.mini-square{display:grid;aspect-ratio:1;place-items: center;font-family:Segoe UI Symbol,DejaVu Sans,serif;font-size:clamp(15px,2vw,24px);line-height:1}.mini-light{color:#fffdf5;text-shadow:0 1px 2px #273222;background:#e6ebda}.mini-dark{color:#f8faf3;text-shadow:0 1px 2px #33422c;background:#78946a}.mini-highlight{background:#b5d77c}.board-caption{display:flex;color:#bdd0b5;letter-spacing:1.2px;justify-content:center;align-items: center;gap:7px;margin-top:12px;font-size:8px;font-weight:800}.caption-dot{background:#b5d77c;width:5px;height:5px}.section-block{margin-top:31px}.section-heading{display:flex;justify-content:space-between;align-items: flex-end;gap:15px;margin-bottom:14px}.section-heading h2,.training-card h2,.progress-card h2{color:var(--text);letter-spacing:-.45px;margin:6px 0 0;font:800 17px/1.3 Manrope,sans-serif}.text-link{padding-bottom:3px;font-size:10px}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mode-card{display:flex;border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:10px;align-items: center;gap:11px;min-width:0;min-height:77px;padding:13px;transition:border-color .15s,transform .15s,box-shadow .15s}.mode-card:hover{border-color:var(--green-border);box-shadow:var(--shadow-small);transform:translateY(-2px)}.mode-symbol{display:grid;color:#557f3e;background:#edf5e8;border-radius:10px;flex:0 0 38px;place-items: center;width:38px;height:38px}.mode-blitz{color:#a47b32;background:#f8f1df}.mode-rapid{color:#537b9c;background:#eaf2f8}.mode-copy{display:flex;flex-direction:column;flex:1;gap:4px;min-width:0}.mode-copy strong{font-size:11px}.mode-copy small{color:var(--muted);font-size:9px}.mode-time{color:var(--green-dark);white-space:nowrap;font:800 11px Manrope,sans-serif}.mode-card>svg:last-child{color:var(--subtle)}.lower-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:13px;margin-top:26px}.training-card,.progress-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0;padding:20px}.training-heading{display:flex;justify-content:space-between;align-items: center;gap:12px}.training-heading p,.progress-card>p{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.55}.training-icon{display:grid;color:var(--green-dark);background:var(--green-soft);border-radius:10px;flex:0 0 38px;place-items: center;width:38px;height:38px}.training-options{display:grid;gap:4px;margin-top:13px}.training-options>button{display:flex;border:0;border-top:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items: center;gap:10px;min-height:53px;padding:7px 5px}.training-options>button:hover{background:var(--surface-soft)}.option-icon{display:grid;border-radius:8px;flex:0 0 33px;place-items: center;width:33px;height:33px}.puzzle-color{color:#9a7d38;background:#f8f2e3}.book-color{color:#527c9d;background:#eaf2f8}.analysis-color{color:#6d8e57;background:#edf5e8}.training-options>button>span:nth-child(2){display:flex;flex-direction:column;flex:1;gap:3px}.training-options strong{font-size:10px}.training-options small{color:var(--muted);font-size:9px}.training-options>button>svg{color:var(--subtle)}.progress-card{background:linear-gradient(145deg,var(--surface),var(--surface-soft))}.progress-card>p{max-width:340px}.progress-illustration{display:flex;border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items: center;gap:13px;margin:20px 0 16px;padding:12px}.progress-ring{display:grid;border:4px solid var(--green-border);border-right-color:var(--green);color:var(--green-dark);border-radius:50%;flex:0 0 56px;place-items: center;width:56px;height:56px}.progress-ring span{display:flex;align-items:baseline;gap:2px;font:800 15px Manrope,sans-serif}.progress-ring small{font-size:7px}.progress-illustration>div:last-child{display:flex;flex-direction:column;gap:5px}.progress-illustration strong{font-size:10px}.progress-illustration small{color:var(--muted);font-size:9px;line-height:1.5}.outline-button{display:inline-flex;border:1px solid var(--green-border);background:var(--green-soft);color:var(--green-dark);cursor:pointer;border-radius:7px;align-items: center;gap:8px;min-height:35px;padding:0 11px;font-size:10px;font-weight:800}.outline-button:hover{filter:brightness(.97)}.dashboard-footer{display:flex;border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;margin-top:29px;padding:16px 2px 4px;font-size:9px}.dashboard-footer span:first-child{color:var(--green-dark);letter-spacing:.8px;font-weight:800}.coming-page{display:flex;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:15px;flex-direction:column;justify-content:center;align-items: flex-start;min-height:430px;padding:45px}.coming-icon{display:grid;background:var(--green-soft);color:var(--green-dark);border-radius:15px;place-items: center;width:62px;height:62px;margin-bottom:25px}.coming-page h1{margin:10px 0}.coming-page p{color:var(--muted);max-width:460px;margin-bottom:22px;font-size:12px;line-height:1.7}.coming-page .primary-button{background:var(--green)}.modal-backdrop{position:fixed;z-index:50;display:grid;backdrop-filter:blur(5px);background:#0c140c8f;place-items: center;padding:18px;inset:0}.game-modal{border:1px solid var(--line);background:var(--surface);border-radius:15px;width:min(460px,100%);padding:24px;box-shadow:0 25px 70px #00000040}.modal-top{display:flex;justify-content:space-between;align-items: flex-start;gap:12px}.modal-top h2{margin:6px 0 0;font:800 20px Manrope,sans-serif}.modal-description{color:var(--muted);margin:9px 0 22px;font-size:11px;line-height:1.5}.modal-label{margin:17px 0 9px}.modal-mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.modal-mode{display:flex;border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:8px;flex-direction:column;align-items: center;gap:6px;padding:11px 3px}.modal-mode strong{font-size:10px}.modal-mode span{color:var(--muted);font-size:10px}.modal-mode-selected{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.side-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.side-option{display:flex;border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:8px;justify-content:center;align-items: center;gap:6px;min-height:43px;font-size:10px}.side-option>span{font-size:18px}.side-option-selected{border-color:var(--green);background:var(--green-soft);color:var(--green-dark);font-weight:800}.modal-info{display:flex;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items: flex-start;gap:9px;margin-top:19px;padding:11px;font-size:9px;line-height:1.55}.modal-info svg{color:var(--green-dark);flex:none}.modal-save{background:var(--green);color:#172a19;width:100%;margin-top:17px}.mobile-scrim{display:none}@media (min-width:1500px){.content-wrap{padding-top:42px}.hero-banner{min-height:300px}}@media (max-width:1150px){.sidebar{width:225px}.main-area{margin-left:225px}.topbar{padding:0 26px}.content-wrap{padding:30px 26px 22px}.hero-banner{padding:28px}.hero-board-wrap{flex-basis:190px;width:190px}}@media (max-width:900px){.sidebar{box-shadow:var(--shadow);width:250px;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.mobile-scrim{position:fixed;z-index:19;display:block;background:#00000059;border:0;inset:0}.main-area{margin-left:0}.mobile-menu-button{display:grid}.topbar-left{gap:10px}}@media (max-width:650px){.topbar{height:60px;padding:0 15px}.topbar-actions{gap:5px}.breadcrumbs{gap:5px;font-size:10px}.breadcrumbs>span{display:none}.search-wrap{background:0 0;border-color:#0000;width:36px;padding:0 9px}.search-wrap input,.search-wrap kbd{display:none}.search-wrap:focus-within{position:absolute;background:var(--surface);border-color:var(--line);width:auto;left:54px;right:165px}.search-wrap:focus-within input{display:block}.search-wrap:focus-within kbd{display:none}.content-wrap{padding:24px 15px 18px}.welcome-row{flex-direction:column;align-items: flex-start;gap:10px}.welcome-row h1{font-size:28px}.welcome-subtitle{font-size:11px}.date-chip{font-size:9px}.hero-banner{min-height:0;padding:24px 21px}.hero-board-wrap{flex-basis:112px;width:112px;margin:0}.mini-board{border-width:3px}.mini-square{font-size:13px}.board-caption{letter-spacing:.6px;font-size:6px}.hero-copy h2{font-size:23px}.hero-copy>p{max-width:230px;font-size:10px;line-height:1.5}.hero-actions{flex-direction:column;align-items: flex-start;gap:12px;margin-top:17px}.hero-footnote{font-size:8px}.section-block{margin-top:25px}.section-heading h2,.training-card h2,.progress-card h2{font-size:15px}.mode-grid{grid-template-columns:1fr;gap:8px}.mode-card{min-height:66px}.lower-grid{grid-template-columns:1fr;margin-top:20px}.training-card,.progress-card{padding:16px}.dashboard-footer{flex-wrap:wrap;font-size:8px}.dashboard-footer span:last-child{width:100%}.coming-page{min-height:380px;padding:25px}}@media (max-width:390px){.hero-board-wrap{flex-basis:90px;width:90px}.hero-copy h2{font-size:21px}.hero-banner{gap:8px;padding:20px 15px}.primary-button{padding:0 11px;font-size:10px}.profile-trigger>svg{display:none}.modal-mode-grid{grid-template-columns:repeat(2,1fr)}}.auth-modal-backdrop{position:fixed;z-index:100;display:grid;backdrop-filter:blur(7px);background:#0c141094;place-items: center;padding:20px;inset:0}.auth-modal{overflow-y:auto;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:19px;width:min(440px,100%);max-height:calc(100vh - 40px);padding:27px;box-shadow:0 24px 80px #0000003d}.auth-modal-head,.auth-brand{display:flex;align-items: center}.auth-modal-head{justify-content:space-between;margin-bottom:28px}.auth-brand{gap:10px}.auth-brand-mark{display:grid;color:#fff;background:linear-gradient(145deg,#80ad5e,#477a37);border-radius:12px;place-items: center;width:40px;height:40px;font-size:27px}.auth-brand>div{display:flex;flex-direction:column;gap:4px}.auth-brand strong{letter-spacing:.6px;font:800 14px/1 Manrope,sans-serif}.auth-brand strong span{color:var(--green)}.auth-brand small{color:var(--muted);letter-spacing:1px;font-size:8px;font-weight:700}.auth-modal-title{margin-bottom:22px}.auth-modal-title h2{letter-spacing:-.7px;margin:8px 0 7px;font:800 25px/1.2 Manrope,sans-serif}.auth-modal-title p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-field{display:flex;color:var(--text);flex-direction:column;gap:7px;font-size:11px;font-weight:700}.auth-field>input,.auth-password-wrap input{color:var(--text);background:var(--surface-soft);border:1px solid var(--line);outline:none;font:inherit;border-radius:9px;width:100%;min-width:0;height:43px;padding:0 12px;font-weight:500}.auth-field>input:focus,.auth-password-wrap input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.auth-field input::placeholder{color:var(--subtle);font-weight:400}.auth-field>small{color:var(--muted);font-size:9px;font-weight:500}.auth-password-wrap{position:relative;display:flex;align-items: center}.auth-password-wrap input{padding-right:91px}.auth-password-toggle{position:absolute;color:var(--green-dark);cursor:pointer;background:0 0;border:0;padding:5px;font-size:10px;font-weight:700;right:10px}.auth-submit{justify-content:center;width:100%;min-height:45px;margin-top:3px}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-error{color:#b42318;background:#dc354517;border:1px solid #dc354533;border-radius:8px;padding:10px 12px;font-size:11px;line-height:1.5}.auth-switch{display:flex;color:var(--muted);flex-wrap:wrap;justify-content:center;align-items: center;gap:5px;margin-top:21px;font-size:11px}.auth-switch button{color:var(--green-dark);cursor:pointer;background:0 0;border:0;padding:3px;font-size:11px;font-weight:800}.auth-footnote{border-top:1px solid var(--line);color:var(--subtle);text-align:center;margin-top:19px;padding-top:14px;font-size:9px}.profile-logout{color:#b42318!important}@media (max-width:520px){.auth-modal{border-radius:15px;padding:21px}.auth-modal-title h2{font-size:22px}}.avatar-image{object-fit:cover;border:1px solid var(--line)}.profile-page{display:flex;flex-direction:column;gap:20px}.profile-page-heading{display:flex;justify-content:space-between;align-items: flex-end;gap:16px}.profile-page-heading h1{color:var(--text);letter-spacing:-1px;margin:9px 0 5px;font:800 clamp(25px,3vw,34px)/1.2 Manrope,sans-serif}.profile-page-heading p{color:var(--muted);font-size:12px;line-height:1.6}.profile-account-badge{display:inline-flex;color:var(--green-dark);background:var(--green-soft);border:1px solid var(--green-border);white-space:nowrap;border-radius:20px;align-items: center;gap:6px;padding:8px 11px;font-size:10px;font-weight:800}.profile-layout{display:grid;grid-template-columns:minmax(220px,.72fr)minmax(0,1.8fr);align-items: start;gap:18px}.profile-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;min-width:0;padding:22px}.profile-card h2{color:var(--text);margin:9px 0 18px;font:800 17px/1.3 Manrope,sans-serif}.profile-identity-card{display:flex;text-align:center;flex-direction:column;align-items: center}.profile-identity-card>.section-overline{align-self: flex-start}.profile-avatar-preview{margin:25px 0 12px}.profile-avatar-preview .avatar{border-radius:50%;width:94px;height:94px;font-size:30px}.profile-identity-card h2{margin:2px 0 4px}.profile-username{color:var(--muted);margin-bottom:19px;font-size:11px}.profile-upload-button{position:relative;display:inline-flex;overflow:hidden;cursor:pointer;justify-content:center;align-items: center;min-height:38px;padding:0 15px}.profile-upload-button input{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;inset:0}.profile-upload-button:has(input:disabled){opacity:.65;cursor:wait}.profile-hint{color:var(--subtle);margin-top:10px;font-size:9px}.profile-remove-avatar{color:#b42318;cursor:pointer;background:0 0;border:0;margin-top:13px;padding:5px;font-size:10px;font-weight:700}.profile-remove-avatar:disabled{opacity:.55;cursor:wait}.profile-main-column{display:flex;flex-direction:column;gap:18px}.profile-form{display:flex;flex-direction:column;gap:15px}.profile-field{display:flex;color:var(--text);flex-direction:column;gap:7px;font-size:11px;font-weight:700}.profile-field>input,.profile-password-input input{color:var(--text);background:var(--surface-soft);border:1px solid var(--line);outline:none;font:inherit;border-radius:8px;width:100%;min-width:0;height:42px;padding:0 12px;font-weight:500}.profile-field input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.profile-field input:disabled{color:var(--muted);opacity:.8;cursor:not-allowed}.profile-field small{color:var(--muted);font-size:9px;font-weight:500}.profile-created{display:flex;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px;font-size:10px}.profile-created span{color:var(--muted)}.profile-created strong{color:var(--text)}.profile-save-button{align-self: flex-start;min-height:40px}.profile-save-button:disabled{opacity:.65;cursor:wait}.profile-password-input{position:relative;display:flex;align-items: center}.profile-password-input input{padding-right:90px}.profile-password-input button{position:absolute;color:var(--green-dark);cursor:pointer;background:0 0;border:0;padding:5px;font-size:10px;font-weight:700;right:9px}.profile-feedback{display:flex;border-radius:8px;align-items: center;gap:8px;padding:11px 13px;font-size:11px;line-height:1.5}.profile-feedback-success{color:var(--green-dark);background:var(--green-soft);border:1px solid var(--green-border)}.profile-feedback-error{color:#b42318;background:#dc354517;border:1px solid #dc354533}@media (max-width:760px){.profile-layout{grid-template-columns:1fr}.profile-identity-card{padding:20px}.profile-page-heading{flex-direction:column;align-items: flex-start}}.game-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-type-option{display:flex;color:var(--text);background:var(--surface-soft);border:1px solid var(--line);text-align:left;cursor:pointer;border-radius:9px;flex-direction:column;align-items: flex-start;gap:6px;min-height:91px;padding:11px}.game-type-option>span{color:var(--green-dark);font-size:21px}.game-type-option strong{font-size:11px}.game-type-option small{color:var(--muted);font-size:9px}.game-type-selected{border-color:var(--green);background:var(--green-soft);box-shadow:0 0 0 1px var(--green)}@media (max-width:390px){.game-type-grid{grid-template-columns:1fr}}
