.connect-profiles{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.connect-profiles fieldset{border:0;padding:0;margin:0;min-width:0}.connect-profiles label{display:block;margin:18px 0 8px;font-size:14px}.connect-profiles input,.connect-profiles select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--text);font:inherit}.connect-profiles .button{width:100%}.profile-later{margin-top:12px}.ownership-status{display:block;color:var(--muted);font-size:12px;margin-top:10px}.saved-profiles{list-style:none;margin:0;padding:0 24px 24px}.saved-profiles li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px;border-bottom:1px solid var(--border)}.saved-profiles li>div{min-width:0}.saved-username{display:block;margin-top:8px;overflow-wrap:anywhere}.saved-profiles .button{flex-shrink:0}.profiles-body{padding:24px}.profile-notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:20;max-width:calc(100vw - 32px);padding:14px 20px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface);box-shadow:0 4px 20px #0003}@media(max-width:480px){.saved-profiles li{align-items:flex-start;flex-direction:column}.saved-profiles{padding-inline:18px}}.lichess-import{width:100%;padding-top:18px;margin-top:18px;border-top:1px solid var(--border);overflow-wrap:anywhere}.lichess-import h3{margin:0 0 8px;font-size:16px}.lichess-import p{margin:10px 0}.lichess-import progress{width:100%;height:10px;accent-color:var(--accent)}.import-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.saved-profiles li:has(.lichess-import){flex-wrap:wrap}.saved-profiles li>.lichess-import{flex-basis:100%}@media(max-width:480px){.import-actions .button{width:100%}}.rating-body{padding:20px 24px 24px}.rating-note{color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0}.rating-filters{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.rating-filters label,.rating-slider{display:grid;gap:8px;min-width:0;font-size:12px}.rating-filters select{width:100%;min-width:0;min-height:44px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--text);padding:8px;font:inherit}.rating-identity{overflow-wrap:anywhere;font-size:13px}.rating-plot{display:block;width:100%;height:auto;cursor:crosshair;overflow:visible}.rating-grid{stroke:var(--border);stroke-width:1}.rating-axis{fill:var(--muted);font:13px system-ui,sans-serif}.rating-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}.rating-dot{fill:var(--accent)}.rating-cursor{stroke:var(--muted);stroke-dasharray:4 5}.rating-selected-dot{fill:var(--accent);stroke:var(--surface);stroke-width:3}.rating-slider{margin:12px 0 20px}.rating-slider input{width:100%;margin:0;min-height:44px;accent-color:var(--accent);cursor:pointer}.rating-selected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px;margin:16px 0;border:1px solid var(--border);background:var(--raised);border-radius:8px}.rating-selected div{min-width:0}.rating-selected dt{font-size:12px;color:var(--muted);line-height:1.5}.rating-selected dd{font-size:17px;font-weight:600;margin:5px 0 0;overflow-wrap:anywhere}.rating-empty{padding:16px 0}.rating-empty h3{font-size:17px}.rating-empty p{font-size:13px}.rating-history button:disabled{opacity:.6;cursor:default}.rating-history .panel-heading button{background:transparent;padding:0;min-height:44px;text-align:left;font-size:12px}@media(max-width:600px){.rating-body{padding:16px 18px 20px}.rating-filters{grid-template-columns:1fr;gap:12px}.rating-selected{gap:14px;padding:14px}.rating-selected dd{font-size:15px}.rating-selected>div:first-child{grid-column:1 / -1}.rating-selected>div:last-child{grid-column:1 / -1}.rating-plot{width:calc(100% + 20px);margin-inline:-10px}.rating-axis{font-size:30px}}.overview{display:grid;gap:20px;min-width:0}.overview-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.overview-toolbar label{display:grid;gap:7px;flex:1;min-width:160px;color:var(--muted);font-size:12px}.overview-toolbar select{width:100%;min-height:44px;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.overview-body,.overview-message{padding:22px}.overview-body h3{margin:0 0 12px}.overview-note{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.overview-profiles,.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.overview-profiles article{min-width:0;padding:16px;border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}.overview-profiles h3{font-size:22px;margin:10px 0}.overview .lichess-import{margin-top:14px}.overview .lichess-import>h3,.overview .lichess-import>.field-help:first-of-type{display:none}.overview-verification{margin-top:20px;padding-top:18px;border-top:1px solid var(--border);font-size:13px}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.overview-metric{display:flex;flex-direction:column;padding:20px 16px;gap:12px;border-top:3px solid var(--accent)}.overview-metric strong{font-size:clamp(26px,3vw,40px);line-height:1;font-variant-numeric:tabular-nums}.overview-metric span{font-size:13px}.overview-metric small{color:var(--muted);font-size:11px}.overview-metric:hover,.overview-openings a:hover{background:var(--raised)}.overview .result-win{border-color:var(--accent)}.overview .result-draw{border-color:var(--muted)}.overview .result-loss{border-color:var(--border)}.overview-recent-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px;font-size:13px}.overview-results{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:16px}.overview-result{border:1px solid var(--border);border-left-width:4px;border-radius:4px;padding:9px 5px;font-size:11px;text-align:center;background:var(--raised)}.overview-color+.overview-color{margin-top:24px;border-top:1px solid var(--border);padding-top:22px}.overview-color p{color:var(--muted);font-size:12px}.overview-counts{display:flex;gap:8px}.overview-counts a{display:grid;flex:1;gap:8px;padding:10px;border:1px solid var(--border);border-radius:4px;font-size:11px}.overview-counts a:hover{border-color:var(--accent)}.overview-counts strong{font-size:20px}.overview-openings{list-style-position:inside;margin:0 0 16px;padding:0}.overview-openings li{border-bottom:1px solid var(--border);padding:12px 0;font-size:12px}.overview-openings a{display:flex;align-items:baseline;gap:14px;justify-content:space-between;padding:6px 0;overflow-wrap:anywhere}.overview-openings small{color:var(--muted)}.overview-rating{min-height:130px;display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;background:var(--surface);color:var(--muted);font-size:13px}.overview-rating>span{font-size:42px;color:var(--accent)}.overview-history{list-style:none;margin:0 0 16px;padding:0}.overview-history li{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--border);font-size:12px}.overview-history li>div{flex:1;min-width:0;overflow-wrap:anywhere}.overview-history small{display:block;color:var(--muted);margin-top:7px}@media(max-width:1050px){.overview-profiles{grid-template-columns:1fr}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.overview-grid{grid-template-columns:1fr}.overview-results{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-body,.overview-message{padding:18px}.overview-history li{flex-wrap:wrap}.overview-history li>div{flex-basis:65%}.overview-profiles article{padding:12px}}.games-history{min-width:0}.games-filters{padding:22px}.games-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.games-filter-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.games-filter-toolbar>.button{min-width:0}@media(min-width:641px){.games-filter-toolbar>.games-filter-toggle{display:none}}.games-filters .stats-active{margin-block:14px 20px}.games-filters label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px}.games-filters input,.games-filters select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--border);border-radius:6px;color:var(--text);background:var(--background);font:inherit}.games-filters input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.games-filters .games-checkbox{flex-direction:row;align-items:center;align-self:end;min-height:44px}.games-checkbox input{width:18px;height:18px;min-height:0;flex-shrink:0}.games-filter-actions{display:flex;flex-wrap:wrap;gap:10px;grid-column:1 / -1}.games-filter-note{grid-column:1 / -1;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.games-status{padding-block:18px;font-size:14px}.games-note{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 18px}.games-message{padding:24px}.games-message h2{font-size:20px}.games-message p{color:var(--muted);line-height:1.6}.games-history .games-table-wrap{overflow-x:auto}.games-table{width:100%;min-width:1180px;border-collapse:collapse;font-size:12px;line-height:1.5}.games-caption{text-align:left;padding:16px;color:var(--muted);caption-side:top}.games-table th{color:var(--muted);font-weight:500;text-align:left;background:var(--raised)}.games-table th,.games-table td{padding:14px 10px;border-bottom:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere}.games-table td{min-width:74px;max-width:180px}.games-table td:first-child{min-width:114px}.games-table td:nth-child(2){min-width:110px}.games-table td:nth-child(3){min-width:145px}.games-table td:nth-child(5){min-width:105px}.games-table td:nth-child(6){min-width:130px}.games-table td:nth-child(7){min-width:160px}.games-table td:nth-child(8){min-width:115px}.games-table td:last-child{min-width:130px}.games-source{display:inline-block;padding-block:8px}.games-table small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.games-table tr:last-child td{border-bottom:0}.games-delta{font-variant-numeric:tabular-nums}.games-result-win{color:var(--accent)}.games-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:20px;color:var(--text)}.games-pagination span{font-size:13px}.games-history button:disabled{cursor:default;opacity:.5}@media(max-width:1100px){.games-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.games-filters{padding:16px}.games-filter-fields{gap:12px}.games-filter-fields.is-collapsed{display:none}.games-filter-toggle{display:inline-flex}.games-filters .stats-active{margin-bottom:0}.games-filter-fields:not(.is-collapsed){margin-top:18px}.games-filters label{grid-column:1 / -1}.games-filter-actions .button{flex:1}.games-history .games-table-wrap{overflow:visible;border:0;background:transparent}.games-table,.games-table tbody{display:block;min-width:0}.games-caption{display:block;padding:0 0 14px}.games-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.games-table tr{display:block;border:1px solid var(--border);border-radius:8px;background:var(--surface);margin-bottom:16px;padding:6px 14px}.games-table tr td{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);column-gap:12px;min-width:0;max-width:none;padding:10px 0}.games-table td:before{content:attr(data-label);color:var(--muted);grid-column:1;grid-row:1 / span 2}.games-table td>*{grid-column:2}.games-table tr:last-child td{border-bottom:1px solid var(--border)}.games-table tr td:last-child{border-bottom:0}.games-pagination .button{padding-inline:12px}}.statistics-screen,.stats-context{min-width:0}.statistics-screen,.stats-context{--stats-win: var(--accent);--stats-draw: var(--muted);--stats-loss: var(--border)}.stats-panel,.stats-context{padding:22px;margin-block:18px}.stats-panel h2,.stats-context h2{font-size:20px;margin:0 0 18px}.stats-active{margin-block:20px 12px;font-size:12px}.stats-active ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin-bottom:0}.stats-active li{padding:7px 10px;background:var(--raised);border:1px solid var(--border);border-radius:6px;overflow-wrap:anywhere}.stats-active li span{color:var(--muted)}.stats-method{font-size:12px;line-height:1.7;margin-block:12px}.stats-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px;margin:18px 0}.stats-metrics>div{min-width:0}.stats-metrics dt{color:var(--muted);font-size:12px;line-height:1.5}.stats-metrics dd{font-size:clamp(16px,1.8vw,24px);font-weight:600;margin:8px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stats-breakdowns{align-items:start;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stats-breakdowns .stats-panel{margin-block:0}.stats-breakdowns .stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-groups{list-style:none;padding:0;margin:0}.stats-groups>li{border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.stats-group-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}.stats-group-heading h3{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}.stats-group-heading .text-link{font-size:12px;padding-block:10px;flex-shrink:0}.stats-outcome-bar{display:flex;height:12px;overflow:hidden;border-radius:3px;background:var(--raised);margin-top:12px}.stats-wins{background:var(--stats-win)}.stats-draws{background:var(--stats-draw)}.stats-losses{background:var(--stats-loss);background-image:repeating-linear-gradient(135deg,transparent 0 4px,var(--muted) 4px 5px)}.stats-legend{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;font-size:12px}.stats-legend li{display:flex;align-items:center;gap:6px}.stats-legend span{display:inline-block;width:18px;height:10px}.stats-sequence{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0;list-style:none}.stats-sequence a{display:grid;place-items:center;min-width:36px;min-height:44px;border:1px solid var(--border);border-radius:5px;font-weight:700;background:var(--raised)}.stats-result-win{color:var(--accent)}.stats-result-draw{color:var(--text)}.stats-result-loss{color:var(--muted)}.stats-recent-list{list-style:none;padding:0;margin:0}.stats-recent-list li+li{border-top:1px solid var(--border)}.stats-recent-list a{display:grid;grid-template-columns:72px minmax(0,1fr) auto 16px;align-items:center;gap:12px;padding-block:14px;font-size:13px}.stats-recent-list a:hover strong{color:var(--accent)}.stats-recent-list span,.stats-recent-list time{min-width:0;overflow-wrap:anywhere}.stats-recent-list small{display:block;color:var(--muted);font-size:11px;margin-top:6px;line-height:1.6}.stats-context p{font-size:13px}@media(max-width:1000px){.stats-breakdowns{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.stats-panel,.stats-context{padding:16px}.stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-recent-list a{grid-template-columns:58px minmax(0,1fr) 16px;gap:8px}.stats-recent-list time{grid-column:2;grid-row:2;font-size:11px}.stats-recent-list a>span:last-child{grid-column:3;grid-row:1}}.account-header{justify-content:space-between}.account-header .preferences{margin-left:auto}.account-shell{display:grid;grid-template-columns:248px minmax(0,1fr);align-items:start;gap:32px;padding-block:32px 64px;min-height:75vh}.profile-card{border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.profile-cover{height:132px;position:relative;overflow:hidden;background:repeating-conic-gradient(color-mix(in srgb,var(--accent) 9%,var(--surface)) 0% 25%,var(--surface) 0% 50%) 0 0 / 66px 66px;border-bottom:1px solid var(--border)}.profile-cover>span{position:absolute;right:12px;top:-20px;font:150px Georgia,serif;color:var(--accent);opacity:.3;transform:rotate(-15deg)}.profile-body{padding:0 22px 28px}.profile-avatar{display:grid;place-items:center;position:relative;width:64px;height:64px;margin-block:-32px 22px;border:4px solid var(--surface);border-radius:14px;background:var(--button);color:var(--button-text);font-size:26px;font-weight:700}.profile-body h2{font-size:26px;margin-top:10px;overflow-wrap:anywhere}.profile-caption,.profile-note{font-size:12px}.profile-platforms{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.profile-platforms span{border:1px solid var(--border);border-radius:5px;padding:6px 8px;font-size:11px;color:var(--muted)}.profile-note{margin-bottom:24px}.profile-body .text-link{font-size:12px}.account-content{min-width:0}.account-nav{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px 22px;border-bottom:1px solid var(--border);font-size:13px}.account-nav a{display:flex;align-items:center;min-height:48px;padding:12px 0;border-bottom:2px solid transparent;margin-bottom:-1px}.account-nav a.active{color:var(--accent);border-color:var(--accent)}.account-section-heading{margin-block:30px 26px}.account-section-heading h1{font-size:clamp(28px,3.2vw,40px);line-height:1.18;letter-spacing:-1px;margin-block:10px;overflow-wrap:anywhere}.account-section-heading p{font-size:14px;margin:0}.account-welcome{position:relative;isolation:isolate;overflow:hidden;padding:30px;border-radius:12px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));background:linear-gradient(110deg,var(--surface) 25%,color-mix(in srgb,var(--accent) 9%,var(--surface)));margin-bottom:24px}.account-welcome>div{max-width:85%;position:relative;z-index:1}.account-welcome h2{font-size:27px;margin-top:14px}.account-welcome p{font-size:13px;max-width:490px}.account-welcome .button{margin-top:10px}.welcome-knight{position:absolute;z-index:-1;right:-16px;bottom:-38px;color:var(--accent);opacity:.12;font:260px Georgia,serif;transform:rotate(-12deg)}.account-panel{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:24px;overflow:hidden}.panel-heading{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border)}.panel-heading h2{font-size:18px;letter-spacing:-.3px;margin:0}.account-status{display:inline-block;color:var(--muted);background:var(--raised);border:1px solid var(--border);padding:5px 8px;border-radius:5px;font-size:11px}.account-empty{padding:28px 24px 34px;text-align:center}.empty-piece{display:grid;place-items:center;margin:0 auto;width:52px;height:52px;border-radius:12px;background:var(--raised);color:var(--accent);font:36px Georgia,serif}.account-empty h3{font-size:18px;margin:16px 0 8px}.account-empty p{font-size:13px;max-width:470px;margin:0 auto}.account-empty .button{margin-top:24px}.standalone-empty{padding:20px;min-height:330px}.standalone-empty>.account-status{margin-bottom:12px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.settings-grid .account-panel{margin:0}.settings-profiles,.settings-verified{grid-column:1 / -1}.settings-note{font-size:12px;margin:0;padding:0 24px 24px}.settings-body{padding:4px 24px 24px}.verification-address{overflow-wrap:anywhere}.settings-body .settings-note{padding:0}.settings-body label{display:block;margin-block:18px 8px;font-size:13px}.settings-body select{width:100%;min-height:44px;border:1px solid var(--border);border-radius:6px;padding:8px;background:var(--background);color:var(--text)}.account-menu{position:relative}.account-menu-trigger{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 8px 4px 4px;background:var(--surface);border:1px solid var(--border);border-radius:24px}.account-initial{display:grid;place-items:center;width:32px;height:32px;background:var(--button);color:var(--button-text);border-radius:50%;font-weight:700}.account-menu-name{max-width:115px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.account-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:10;width:260px;max-width:calc(100vw - 40px);padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 14px 35px #0003}.account-popover-login{display:block;padding:10px 12px;color:var(--muted);font-size:12px;overflow-wrap:anywhere;border-bottom:1px solid var(--border);margin-bottom:4px}.account-popover a,.account-popover button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px;min-height:44px;font:inherit;font-size:13px;text-align:left;border-radius:5px;background:transparent}.account-popover a:hover,.account-popover button:hover{background:var(--raised);color:var(--accent)}.account-menu-error{position:absolute;top:calc(100% + 8px);right:0;width:260px;max-width:calc(100vw - 40px);background:var(--surface);z-index:11}.account-menu:has(.account-popover) .account-menu-error{position:static;width:260px}@media(max-width:1050px){.account-shell{grid-template-columns:210px minmax(0,1fr);gap:24px}.account-nav{gap:4px 16px}.settings-grid{grid-template-columns:1fr}}@media(max-width:800px){.account-shell{grid-template-columns:1fr;gap:24px;padding-top:24px}.profile-card{position:relative}.profile-cover{position:absolute;inset:0 0 0 auto;height:100%;width:140px;border:0;opacity:.4}.profile-body{position:relative;padding:22px 22px 22px 100px}.profile-avatar{position:absolute;left:22px;top:22px;width:56px;height:56px;margin:0}.profile-body h2{font-size:24px}.profile-caption{margin-block:8px}.profile-platforms{margin-top:12px}.profile-note{max-width:450px;margin-block:10px 14px}.account-nav{order:initial;flex-basis:auto;gap:4px 22px}.account-nav a{padding-block:12px}.account-section-heading{margin-top:24px}}@media(max-width:480px){.account-header .preferences{width:100%;justify-content:space-between;margin:0;flex-wrap:nowrap}.account-menu-name{max-width:64px}.account-shell{padding-bottom:36px}.profile-body{padding:18px 18px 18px 86px}.profile-avatar{left:18px;top:18px;width:50px;height:50px}.profile-body .eyebrow{font-size:8px}.profile-body h2{font-size:22px}.account-nav{gap:0 18px;font-size:12px}.account-section-heading p{font-size:13px}.account-welcome{padding:24px}.account-welcome>div{max-width:100%}.account-welcome h2{font-size:25px}.account-welcome .button{width:100%;gap:10px;text-align:left}.panel-heading{padding:18px}.panel-heading h2{font-size:17px}.account-empty{padding:26px 18px}.standalone-empty{padding:16px 8px}.settings-body{padding-inline:18px}}@media(max-width:360px){.account-menu-name{display:none}.account-menu-trigger{gap:4px}}@media(max-width:360px){body:has(.account-header){min-width:0}}@media(max-width:800px){.account-shell{gap:16px;padding-top:16px}.profile-body{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;padding:14px 16px 14px 76px}.profile-avatar{left:16px;top:14px;width:44px;height:44px;font-size:21px}.profile-body .eyebrow{grid-column:1;font-size:8px}.profile-body h2{grid-column:1;font-size:18px;line-height:1.3;margin:0}.profile-body>.text-link{display:none}.profile-caption,.profile-platforms,.profile-note{display:none}.account-section-heading{margin-block:18px}.account-nav{gap:0 18px}.account-nav a{min-height:44px;padding-block:10px}.account-content,.account-panel,.panel-heading{overflow-wrap:anywhere}}:root{font-family:Segoe UI,system-ui,sans-serif;font-synthesis:none;color-scheme:dark;--background: #141516;--surface: #1c1e20;--raised: #25272a;--text: #f3f1ed;--muted: #aaaeb2;--border: #35383b;--accent: #ff914d;--button: #ff914d;--button-text: #24190f;color:var(--text);background:var(--background);accent-color:var(--accent)}:root[data-theme=light]{color-scheme:light;--background: #f6f4ef;--surface: #fffdf9;--raised: #ebe8e2;--text: #252624;--muted: #5e625f;--border: #d3d1cb;--accent: #ac470b;--button: #be500e;--button-text: #fff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{border:0}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.wrap{max-width:1280px;padding-inline:40px;margin-inline:auto}.header{min-height:104px;display:flex;gap:30px;align-items:center;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:20px;font-weight:700;letter-spacing:-.7px}.brand-light{font-weight:400}.brand-icon{font-size:38px;color:var(--accent);line-height:1}.beta{align-self:flex-start;margin-top:3px;padding:4px;color:var(--accent);border:1px solid var(--border);font-size:8px;letter-spacing:1px}nav{display:flex;justify-content:center;flex:1;gap:28px;font-size:13px;color:var(--muted)}nav a{padding-block:14px}nav a:hover,.login-button:hover{color:var(--accent)}.preferences{display:flex;gap:10px;align-items:center}.language-switch{--language-index: 0;position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,44px);padding:3px;border:1px solid var(--border);border-radius:999px;background:var(--surface);flex-shrink:0}.language-switch[data-language=ru]{--language-index: 1}.language-switch[data-language=lv]{--language-index: 2}.language-switch:before{content:"";position:absolute;z-index:-1;left:3px;top:3px;width:44px;height:44px;border-radius:999px;background:var(--button);box-shadow:0 2px 8px #0002;transform:translate(calc(var(--language-index) * 100%));transition:transform .28s cubic-bezier(.22,1,.36,1)}.language-switch button{min-height:44px;padding:0;border-radius:999px;background:transparent;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.6px;transition:color .18s ease}.language-switch button:hover{color:var(--text)}.language-switch button[aria-pressed=true]{color:var(--button-text)}.language-switch button:focus-visible{outline-offset:1px}.theme-button{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;border:1px solid var(--border);background:transparent;border-radius:50%}.theme-button:hover{border-color:var(--accent);color:var(--accent)}.theme-icon{width:22px;height:22px}.theme-sun,.theme-moon{transform-origin:center;transition:opacity .22s ease,transform .35s ease}.theme-icon[data-theme=dark] .theme-moon,.theme-icon[data-theme=light] .theme-sun{opacity:0;transform:rotate(-60deg) scale(.5)}.theme-icon[data-theme=dark] .theme-sun,.theme-icon[data-theme=light] .theme-moon{opacity:1;transform:rotate(0) scale(1)}:root[data-theme-transition]::view-transition-group(root){animation:none}:root[data-theme-transition]::view-transition-image-pair(root){isolation:auto}:root[data-theme-transition]::view-transition-old(root),:root[data-theme-transition]::view-transition-new(root){animation:none;mix-blend-mode:normal}:root[data-theme-transition]::view-transition-old(root){z-index:1}:root[data-theme-transition]::view-transition-new(root){z-index:2;animation:theme-wave .65s cubic-bezier(.4,0,.2,1) both}@keyframes theme-wave{0%{clip-path:circle(0px at var(--theme-origin-x) var(--theme-origin-y))}to{clip-path:circle(var(--theme-radius) at var(--theme-origin-x) var(--theme-origin-y))}}.login-button{padding:12px;background:transparent;font-size:13px}.hero{display:grid;grid-template-columns:1.18fr 1fr;gap:70px;align-items:center;padding-block:88px 82px}.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:650;letter-spacing:1.7px;text-transform:uppercase;color:var(--accent)}.status-dot{width:6px;height:6px;background:var(--accent);border-radius:50%}h1{font-size:clamp(40px,4.6vw,64px);line-height:1.08;letter-spacing:-2.7px;font-weight:650;margin:26px 0 24px}h1>span{color:var(--accent)}p{color:var(--muted);line-height:1.7}.intro{font-size:16px;max-width:530px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{min-height:48px;padding:13px 20px;border-radius:5px;display:inline-flex;justify-content:center;align-items:center;gap:20px;font-size:13px;font-weight:600}.primary{background:var(--button);color:var(--button-text)}.primary:hover{filter:brightness(1.08)}.secondary{border:1px solid var(--border);background:transparent}.secondary:hover,.theme-button:hover{background:var(--raised)}.action-note{font-size:11px;margin:13px 0 0}.platforms{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:34px;font-size:14px}.platforms>span:first-child{color:var(--muted);font-size:10px}.platforms strong{font-weight:550}.divider{height:15px;width:1px;background:var(--border)}.visual{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.visual-top,.visual-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px;font-size:10px;color:var(--muted)}.visual-top{border-bottom:1px solid var(--border)}.orange{color:var(--accent)}.chess-art{height:300px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 60%,#b45a282b,transparent 65%)}.board-grid{position:absolute;width:420px;height:420px;top:20px;left:50%;transform:translate(-50%) rotate(-27deg) skew(8deg);background:repeating-conic-gradient(var(--raised) 0% 25%,transparent 0% 50%) 0 0 / 104px 104px;opacity:.6;border:1px solid var(--border)}.main-piece{position:absolute;font-family:Georgia,serif;font-size:230px;line-height:1;left:50%;top:32px;transform:translate(-50%) rotate(-8deg);color:var(--accent);text-shadow:8px 12px 0 #743b1a,12px 25px 24px #0005}.ghost-piece{position:absolute;font-family:Georgia,serif;font-size:130px;line-height:1;top:5px;right:28px;color:var(--muted);opacity:.2;transform:rotate(-8deg)}.board-coordinate{position:absolute;left:22px;bottom:15px;font:12px monospace;color:var(--muted)}.visual-bottom{border-top:1px solid var(--border);font-size:12px}.visual-bottom>span:last-child{font-size:24px;color:var(--accent)}.features{padding-block:35px 70px;border-top:1px solid var(--border)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:32px}h2{font-weight:550;font-size:clamp(24px,2.6vw,34px);letter-spacing:-1px;line-height:1.2;margin:15px 0 0}.section-heading>p{max-width:340px;font-size:12px;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.feature{--card-accent: #e6b27d;--card-bg: #28231e;--card-edge: #574331;--art-sky: #72543d;--art-back: #896347;--art-middle: #604731;--art-ground: #392e24;position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;background:linear-gradient(160deg,color-mix(in srgb,var(--card-accent) 6%,var(--card-bg)),var(--card-bg));border:1px solid var(--card-edge);border-radius:16px}.feature:nth-child(2){--card-accent: #edb397;--card-bg: #2b221e;--card-edge: #654939;--art-sky: #8a5a45;--art-back: #a67457;--art-middle: #78513e;--art-ground: #493329}.feature:nth-child(3){--card-accent: #e7b0a9;--card-bg: #2b2222;--card-edge: #654644;--art-sky: #7d5155;--art-back: #986a6b;--art-middle: #70484d;--art-ground: #463033}.feature:nth-child(4){--card-accent: #f4cc87;--card-bg: #2a251e;--card-edge: #655333;--art-sky: #8c6a42;--art-back: #ac8251;--art-middle: #7b5d3c;--art-ground: #493a28}.feature-art{height:140px;flex-shrink:0;position:relative;overflow:hidden;background:var(--art-sky)}.feature-art:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 60%,var(--card-bg));pointer-events:none}.feature-art svg{display:block;width:100%;height:100%;transition:transform .45s ease;transform-origin:center 70%}.pixel-piece,.pixel-cloud{transition:transform .45s ease}.pixel-cloud{fill:var(--card-accent);opacity:.25}.pixel-sun{fill:var(--card-accent)}.pixel-back{fill:var(--art-back)}.pixel-middle{fill:var(--art-middle)}.pixel-ground{fill:var(--art-ground)}.pixel-piece{fill:var(--card-accent)}.pixel-piece-shadow{fill:var(--art-ground);opacity:.6}.pixel-spark{fill:var(--card-accent);opacity:.65}.feature-body{display:flex;flex:1;flex-direction:column;padding:6px 20px 20px}.feature-number{position:absolute;top:14px;left:14px;color:#fff0dc;background:#241a1599;border:1px solid #ffdfb526;border-radius:5px;padding:5px 7px;font:10px monospace;letter-spacing:1px}h3{font-size:19px;letter-spacing:-.4px;margin:18px 0 12px;font-weight:600;line-height:1.3}.feature p{font-size:12px;margin:0 0 28px;color:#c9beb3}.feature-status{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;font-size:11px;font-weight:600;color:var(--card-accent);margin-top:auto;border:1px solid var(--card-edge);border-radius:8px;background:color-mix(in srgb,var(--card-accent) 7%,transparent)}:root[data-theme=light] .feature{--card-bg: #fff4e6;--card-edge: #d7b994;--card-accent: #8c4c18}:root[data-theme=light] .feature:nth-child(2){--card-bg: #fff0e7;--card-edge: #dbb39e;--card-accent: #974527}:root[data-theme=light] .feature:nth-child(3){--card-bg: #fbefed;--card-edge: #d6aaa5;--card-accent: #924b48}:root[data-theme=light] .feature:nth-child(4){--card-bg: #fff6df;--card-edge: #d6bd86;--card-accent: #82551a}:root[data-theme=light] .feature-art{--card-accent: #ffdaa0}:root[data-theme=light] .feature p{color:#66594d}.availability{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:34px;border:1px solid var(--border);border-radius:8px;margin-bottom:65px}.availability h2{font-size:25px}.availability p{font-size:12px;margin-bottom:0}.availability-list{align-self:center}.availability-list>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding:15px 0;font-size:11px;border-bottom:1px solid var(--border)}.availability-list>div:last-child{border:0}.availability-list>div>span:last-child{color:var(--muted);text-align:right}.availability-list>div>.available{color:var(--accent)}.footer{border-top:1px solid var(--border);padding-block:25px;display:flex;align-items:center;gap:30px;font-size:10px;color:var(--muted)}.footer-brand{font-size:13px;color:var(--text);white-space:nowrap}.footer p{flex:1;margin:0}.footer>span:last-child{text-align:right}dialog{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:0;max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:#000a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-content{padding:32px}dialog h2{font-size:27px}dialog p{font-size:14px;margin-block:20px 28px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-shell{padding-block:48px;min-height:65vh}.auth-card{max-width:540px;margin-inline:auto;padding:32px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.auth-card h1{font-size:clamp(28px,6vw,38px);letter-spacing:-1px;margin-block:14px 28px;overflow-wrap:anywhere}.auth-card fieldset{border:0;padding:0;margin:0;min-width:0}.auth-card label{display:block;font-size:14px;margin-block:20px 8px}.auth-card input{display:block;width:100%;min-height:46px;padding:10px 12px;font:inherit;color:var(--text);background:var(--background);border:1px solid var(--border);border-radius:6px}.auth-card input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth-card .field-help{font-size:12px;color:var(--muted);margin-block:8px 0}.auth-submit{margin-top:28px;width:100%;justify-content:center}.auth-alternative,.auth-card>p{font-size:14px;line-height:1.6}.auth-alternative a,.text-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.text-link{font-size:13px}.form-error{color:var(--text);padding:12px;border:1px solid var(--accent);border-radius:6px;font-size:14px}button:disabled,fieldset:disabled{opacity:.65;cursor:wait}.account-details{font-size:14px}.account-details dt{color:var(--muted);margin-top:18px}.account-details dd{margin:6px 0;overflow-wrap:anywhere}@media(max-width:480px){.auth-shell{padding-block:24px}.auth-card{padding:22px}.preferences{flex-wrap:wrap}}.skip-link{position:fixed;left:16px;top:-100px;padding:12px;background:var(--surface);z-index:5}.skip-link:focus{top:10px}@media(max-width:1050px){.wrap{padding-inline:28px}.header{gap:15px}nav{gap:15px}.hero{gap:35px}h1{letter-spacing:-1.8px}.availability{gap:30px}}@media(max-width:800px){.header{flex-wrap:wrap;padding-block:18px;justify-content:space-between}nav{order:3;flex-basis:100%;justify-content:flex-start;gap:25px}nav a{padding-block:5px}.hero{padding-block:48px;grid-template-columns:1fr;gap:35px}h1{font-size:clamp(40px,8vw,60px)}.hero-copy{max-width:620px}.visual{max-width:560px;width:100%}.chess-art{height:270px}.main-piece{top:15px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{display:block}.section-heading>p{margin-top:18px;max-width:500px}.availability{grid-template-columns:1fr;gap:18px}}@media(max-width:480px){.wrap{padding-inline:20px}.header{gap:16px 8px}.brand{font-size:18px}.brand-icon{font-size:30px}.beta{display:none}.preferences{gap:6px}.login-button{padding-inline:4px;font-size:12px}.hero{padding-top:38px}.eyebrow{font-size:9px;letter-spacing:1px}h1{font-size:40px;letter-spacing:-1.8px}.intro{font-size:14px}.actions{flex-direction:column;align-items:stretch}.button{justify-content:space-between}.platforms{gap:12px;font-size:13px}.feature-grid{grid-template-columns:1fr}h3{margin-top:15px}.features{padding-bottom:40px}.availability{padding:24px;margin-bottom:40px}.availability-list>div{flex-wrap:wrap;gap:7px}.footer{flex-wrap:wrap;gap:15px}.footer p{flex-basis:100%;order:3}.footer>span:last-child{margin-left:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media(hover:hover)and (pointer:fine){.feature:hover{transform:translateY(-6px);border-color:var(--card-accent);box-shadow:0 16px 30px -18px #0007,0 0 24px -12px color-mix(in srgb,var(--card-accent) 45%,transparent)}.feature:hover .feature-art svg{transform:scale(1.035)}.feature:hover .pixel-piece{transform:translateY(-4px)}.feature:hover .pixel-cloud{transform:translate(6px)}}.feature:active{border-color:var(--card-accent)}@media(prefers-reduced-motion:reduce){.language-switch:before,.language-switch button,.theme-sun,.theme-moon{transition:none}:root[data-theme-transition]::view-transition-new(root){animation:none}.feature,.feature-art svg,.pixel-piece,.pixel-cloud{transition:none}.feature:hover,.feature:hover .feature-art svg,.feature:hover .pixel-piece,.feature:hover .pixel-cloud{transform:none}}.password-field{position:relative}.auth-card .password-field input{padding-right:50px}.password-toggle{position:absolute;top:1px;right:1px;display:grid;place-items:center;width:44px;height:calc(100% - 2px);min-height:44px;padding:10px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer}.password-toggle svg{width:22px;height:22px}.password-toggle:hover{color:var(--accent)}.password-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.oauth-action{margin-block:1rem}.oauth-notice{margin-block:1rem;padding:1rem;border:1px solid var(--accent, #e88b39);border-radius:12px;overflow-wrap:anywhere}.oauth-notice p{margin-top:0}
