#learn-root{--accent:#b58863;--ink:#333;--muted:#737373;--surface:#fff;--line:#ddd;color:var(--ink);background:#eeedeb;min-height:calc(100dvh - 100px);padding:24px 20px 70px;font:16px/1.5 system-ui,sans-serif}#learn-root[hidden]{display:none}.learn-shell{max-width:760px;margin:auto}.learn-head{display:flex;align-items:center;gap:14px;margin:0 0 24px}.learn-head h1{font-size:30px;line-height:1.3;margin:0;flex:1;font-weight:600}.learn-head button,.learn-action{border:0;background:transparent;color:#886747;padding:10px;min-height:44px;font-size:15px}.learn-group{margin:24px 0}.learn-group>h2{font-size:14px;font-weight:500;color:var(--muted);margin:0 14px 8px}.learn-list{border-radius:10px;background:var(--surface);overflow:hidden}.learn-row{display:flex;align-items:center;gap:18px;min-height:74px;padding:14px 18px;width:100%;border:0;background:none;text-align:left;color:inherit;font:inherit;text-decoration:none}.learn-row+.learn-row{border-top:1px solid #eee}.learn-row:hover{background:#f6f6f6}.learn-row img{width:32px;height:32px;object-fit:contain}.learn-row .row-symbol{width:32px;text-align:center;color:#a47d57;font-size:28px}.learn-row .row-text{flex:1;min-width:0}.learn-row strong{display:block;font-size:16px;font-weight:500}.learn-row small{display:block;font-size:13px;color:var(--muted);margin-top:3px}.learn-row .row-end{color:#999;font-size:14px;white-space:nowrap}.learn-row .gold,.learn-stars{color:#c39224;letter-spacing:3px}.learn-progress{padding:0 4px;font-size:14px}.learn-progress progress{display:block;width:100%;height:8px;border-radius:6px;margin-top:10px;accent-color:#a78965}.learn-message{padding:20px;color:#777}.learn-message p{margin-top:0}.learn-live{min-height:26px;color:#5b8439}.learn-live.error{color:#bf463c}.learn-game{max-width:1120px;margin:auto}.learn-game .learn-layout{display:grid;grid-template-columns:minmax(280px,600px) minmax(260px,1fr);gap:28px;align-items:start}.learn-board{display:grid;grid-template-columns:repeat(8,1fr);width:100%;aspect-ratio:1;overflow:hidden;border-radius:3px;box-shadow:0 4px 12px #0002;position:relative}.learn-square{position:relative;aspect-ratio:1;border:0;padding:0;display:grid;place-items:center;border-radius:0;font-size:16px;background:#f0d9b5;touch-action:manipulation}.learn-square.dark{background:#b58863}.learn-square img{width:87%;height:87%;position:relative;z-index:2;pointer-events:none}.learn-square .coord{position:absolute;bottom:1px;right:3px;font-size:clamp(9px,1.2vw,13px);color:#785636;line-height:1;z-index:3}.learn-square.dark .coord{color:#f0d9b5}.learn-square.selected{box-shadow:inset 0 0 0 5px #eac34b}.learn-square.learn-legal:after{content:"";width:25%;height:25%;border-radius:50%;background:#0003;position:absolute;z-index:3}.learn-square.capture:after{width:85%;height:85%;border:5px solid #0003;background:transparent;box-sizing:border-box}.learn-square .star{color:#db9b19;font-size:clamp(24px,5vw,43px);text-shadow:0 1px white}.learn-square.named{box-shadow:inset 0 0 0 6px #8fbd45}.learn-square.last{background:#cdd16a}.learn-square.checked{background:#d3594a}.learn-panel{background:#fff;border-radius:10px;padding:24px}.learn-panel h2{font-size:23px;margin:0 0 14px;font-weight:500}.learn-panel p{white-space:pre-line}.learn-primary{background:#779456;color:#fff;border:0;border-radius:4px;min-height:44px;padding:11px 24px;font-size:16px}.learn-buttons{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 8px}.learn-buttons button{min-height:44px}.learn-levels{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.learn-levels button{min-width:36px;min-height:36px;background:#e1e1dd;color:#555;border:0;border-radius:50%;font-size:14px}.learn-levels button.active{background:#b58863;color:#fff}.learn-levels button.done{background:#799553;color:#fff}.learn-intro{max-width:500px;text-align:center;padding:30px}.learn-intro img{width:80px;height:80px;object-fit:contain}.learn-form{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.learn-form label{display:flex;flex-direction:column;gap:5px;color:#777;font-size:14px}.learn-form select,.learn-form input{padding:10px;border:1px solid #ccc;background:#fff;border-radius:5px;font:inherit;color:#333}.learn-target{font-size:42px;text-align:center;font-weight:600;min-height:64px}.learn-score{display:flex;justify-content:space-between;margin:12px 0;font-size:17px}.learn-choices{display:flex;gap:8px;flex-wrap:wrap}.learn-choices button{flex:1;padding:16px;font:inherit;border:1px solid #ddd;border-radius:5px;background:#fff}.learn-study-search{display:flex;gap:8px;margin:15px 0}.learn-study-search input{flex:1;min-width:0;padding:12px;border:1px solid #ccc;border-radius:5px;font:inherit}.learn-description{font-size:14px;color:#666;max-height:230px;overflow:auto}.learn-study-notes{width:100%;box-sizing:border-box;padding:10px;font:inherit;min-height:100px;border:1px solid #ddd}.learn-comment{white-space:pre-line;max-height:300px;overflow:auto}.learn-branch{padding:8px 12px;margin:4px;border:1px solid #ddd;background:#f5f5f2;border-radius:5px;color:#444}.learn-arrow-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.learn-board-wrap{position:relative}.learn-bottom{position:fixed;bottom:0;left:0;right:0;display:none;background:#fafaf9;border-top:1px solid #ddd;z-index:6}.learn-bottom a{flex:1;text-align:center;padding:12px;color:#866744;text-decoration:none}#learn-root :focus-visible{outline:3px solid #3b82b6;outline-offset:-3px}.learn-dialog{background:#fff;color:#333}.learn-dialog::backdrop{background:#0007}.learn-dialog p{color:#666}.learn-source{font-size:12px;color:#888;text-align:center;margin-top:28px}.learn-head .learn-select{max-width:220px;padding:8px;border:1px solid #ccc;font:inherit}.learn-busy{color:#777}@media(max-width:720px){#learn-root{padding:20px 14px 80px}.learn-head h1{font-size:28px}.learn-game .learn-layout{display:flex;flex-direction:column;gap:18px}.learn-board-wrap,.learn-panel{width:100%;box-sizing:border-box}.learn-panel{padding:20px}.learn-bottom{display:flex}.learn-row{min-height:72px;padding:14px 16px}.learn-head .learn-select{max-width:145px;font-size:13px}.learn-description{max-height:160px}}.learn-promotion{display:flex;gap:12px}.learn-promotion button{width:75px;background:#f0d9b5;border:0;border-radius:6px;padding:8px}.learn-promotion img{width:100%}.learn-coordinate-settings{border:0;border-top:1px solid #eee;margin:20px 0 0;padding:15px 0}.learn-coordinate-settings legend{padding-right:10px;color:#777;font-size:14px}.learn-coordinate-settings>label{font-size:14px;display:inline-flex;align-items:center;gap:5px;margin-bottom:10px}.coordinate-keyboard>div{display:flex;gap:4px;margin:8px 0}.coordinate-keyboard button{flex:1;min-height:38px;background:#f0efeb;border:1px solid #ddd;border-radius:4px;font-size:16px;color:#444}.coordinate-keyboard button.active{background:#b58863;color:#fff}.coordinate-keyboard span{font-size:13px;color:#777}.learning-active .mobile-settings,.arena[hidden]{display:none}.learning-active footer{display:none}.learn-head h1:focus{outline:none}.learn-head a{text-decoration:none}.learn-head{background:transparent}.learn-bottom a[aria-current]{font-weight:600}.topbar nav>a#nav-learn,.topbar nav>a#nav-play{display:flex;align-items:center;gap:8px;font-size:12px;text-decoration:none;color:inherit}.topbar nav>a.nav-active{color:#496346}@media(max-width:640px){.topbar nav>a#nav-play{display:none}.topbar nav>a#nav-learn{font-size:11px}}.learn-row img,.learn-intro>img{filter:brightness(0) saturate(100%) invert(48%) sepia(26%) saturate(575%) hue-rotate(348deg) brightness(94%) contrast(89%)}.learn-square .rank-coord{inset:3px auto auto 3px}.screen #learn-root{--accent:#111;--ink:#111;--muted:#666;--surface:#fff;--line:#bbb;min-height:0;padding:0 0 18px;background:#fff;font-size:14px;line-height:1.5;color:#111}.screen #learn-root .learn-shell,.screen #learn-root .learn-game{max-width:100%;margin:0}.screen #learn-root .learn-layout{display:flex;flex-direction:column;gap:8px;align-items:stretch}.screen #learn-root .learn-head{display:flex;gap:8px;margin:0 0 6px;min-height:0;background:#fff;justify-content:flex-end}.screen #learn-root .learn-head h2{display:none}.screen #learn-root .learn-head .back-button{color:#111}.screen #learn-root .learn-board-wrap{width:min(100%,352px);align-self:center;flex:none}.screen #learn-root .learn-board{border:1px solid #777;box-shadow:none;border-radius:0}.screen #learn-root .learn-square{min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:#f5f5f5;color:#111;line-height:1}.screen #learn-root .learn-square.dark{background:#a4a4a4}.screen #learn-root .learn-square.last{background:#c4c4c4}.screen #learn-root .learn-square.selected{box-shadow:inset 0 0 0 4px #111}.screen #learn-root .learn-square.named,.screen #learn-root .learn-square.checked{box-shadow:inset 0 0 0 5px #111}.screen #learn-root .learn-square .coord{font-size:10px;color:#111}.screen #learn-root .learn-square.dark .coord{color:#111}.screen #learn-root .learn-square .star{color:#111;font-size:28px;text-shadow:0 1px white}.screen #learn-root .learn-square img{width:88%;height:88%;object-fit:contain}.screen #learn-root .learn-panel{border:0;border-radius:0;background:#fff;padding:8px 0;box-shadow:none;width:100%}.screen #learn-root .learn-panel h2{font-size:18px;margin:4px 0 6px;line-height:1.4}.screen #learn-root .learn-panel p{font-size:13px;margin:6px 0;line-height:1.55}.screen #learn-root .learn-buttons{margin:10px 0 0;gap:8px}.screen #learn-root .learn-buttons button{padding:8px 12px;min-height:38px;font-size:13px}.screen #learn-root .learn-primary{background:#111;color:#fff;border:1px solid #111;border-radius:3px;min-height:38px;padding:8px 14px;font-size:13px}.screen #learn-root .learn-action{color:#111;min-height:36px;padding:6px 10px;font-size:13px}.screen #learn-root .learn-live{color:#111;font-size:13px;min-height:20px}.screen #learn-root .learn-live.error{color:#111;font-weight:650}.screen #learn-root .learn-stars,.screen #learn-root .gold{color:#111}.screen #learn-root .learn-levels{margin:2px 0 8px;gap:5px}.screen #learn-root .learn-levels button{min-width:28px;min-height:28px;border:1px solid #aaa;padding:3px;font-size:12px;background:#fff;color:#555}.screen #learn-root .learn-levels button.active{color:#fff;background:#111;border-color:#111}.screen #learn-root .learn-levels button.done{background:#ddd;color:#111}.screen #learn-root .learn-score{font-size:13px;margin:6px 0}.screen #learn-root .learn-group{margin:16px 0}.screen #learn-root .learn-group>h2{margin:0 0 8px;color:#555;font-size:13px}.screen #learn-root .learn-list{border:1px solid #ccc;border-radius:4px}.screen #learn-root .learn-row{gap:12px;min-height:64px;padding:10px 12px}.screen #learn-root .learn-row strong{font-size:15px}.screen #learn-root .learn-row small{font-size:12px;color:#666}.screen #learn-root .learn-row img{width:28px;height:28px;filter:brightness(0)}.screen #learn-root .learn-progress{padding:8px 0;font-size:13px}.screen #learn-root progress{accent-color:#111}.screen #learn-root .learn-head .learn-select{font-size:13px;padding:7px;max-width:100%;width:100%}.screen #learn-root .learn-description{font-size:12px;color:#555;max-height:95px;overflow:auto}.screen #learn-root .learn-arrow-layer line,.screen #learn-root .learn-arrow-layer circle{stroke:#111}.screen #learn-root .learn-arrow-layer path{fill:#111}.screen #learn-root .learn-target{font-size:30px;min-height:42px;line-height:42px;margin:0}.screen #learn-root .learn-coordinate-settings{margin:10px 0 0;padding:8px 0}.screen #learn-root .learn-form{gap:6px;margin:8px 0}.screen #learn-root .learn-form label{font-size:12px;flex:1}.screen #learn-root .learn-form select{font-size:12px;padding:6px;width:100%}.screen #learn-root .coordinate-keyboard button{padding:5px;min-width:0;min-height:32px;font-size:14px}.screen #learn-root .coordinate-keyboard button.active{background:#111;color:#fff}.screen #learn-root .learn-dialog{width:88%;max-height:85%;overflow:auto;padding:22px;border-radius:5px}.screen #learn-root .learn-intro{padding:0;font-size:14px}.screen #learn-root .learn-intro>img{filter:brightness(0);width:55px;height:55px}.screen #learn-root.coordinate-active .learn-coordinate-settings,.screen #learn-root.coordinate-active .learn-description{display:none}.screen .learning-home-menu{display:grid;gap:0;border:1px solid #aaa;border-radius:4px;margin:14px 0 24px}.screen .learning-home-menu>button{border:0;border-bottom:1px solid #ccc;border-radius:0;display:flex;gap:14px;align-items:center;text-align:left;padding:18px 16px;min-height:76px}.screen .learning-home-menu>button:last-child{border:0}.screen .learning-home-menu img{width:28px;height:28px;object-fit:contain;filter:brightness(0)}.screen .learning-home-menu strong{flex:1;font-size:18px;font-weight:500}.screen .learning-home-menu .chevron{font-size:20px;color:#555}.screen .learning-secondary-title{font-size:13px;color:#777;font-weight:400;margin:14px 0 8px}.screen-header .learn-action{color:#111;text-decoration:none;font-size:13px;padding:6px 10px}:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;color:#20211f;background:#f4f4f0;font-size:14px;font-synthesis:none;--muted:#73756e;--line:#dcded5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{cursor:pointer;border:1px solid #c4c7bc;background:#fff;color:#20211f;padding:11px 16px;min-height:44px;border-radius:4px;line-height:1.4}button:hover:enabled,.button:hover{background:#eeefe9}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #555;outline-offset:3px}a{color:inherit;text-decoration:none}.primary{background:#242720;color:#fff;border-color:#242720}.primary:hover:enabled{background:#3d4038}.full{width:100%}p{line-height:1.9;color:#686c61}h1,h2,h3{font-weight:550;letter-spacing:-.5px}h1{font-size:28px;margin:10px 0 0}h2{font-size:24px;line-height:1.5;margin:12px 0}h3{font-size:17px}#app{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fafbf7;border-right:1px solid var(--line);padding:38px 22px;display:flex;flex-direction:column}.brand{font-size:36px;letter-spacing:-2px;font-weight:650;padding-left:15px}.brand span{display:block;font-size:11px;letter-spacing:4px;font-weight:400;margin-top:10px}.nav-label{font-size:10px;letter-spacing:1px;color:var(--muted);margin:56px 15px 16px}nav{display:flex;flex-direction:column;gap:8px}nav button{border-color:transparent;background:transparent;text-align:left;font-size:13px;display:flex;gap:20px;padding:15px}nav button>span{font-size:10px;color:#8d9085;padding-top:3px}.active{background:#e8eae1;border:1px solid #dadcd1;font-weight:600}.sidebar-foot{margin-top:auto;font-size:10px;color:var(--muted);line-height:2.2;padding:20px 12px 0}.sidebar-foot small{display:block}.dot{display:inline-block;width:6px;height:6px;background:#3e4434;border-radius:50%;margin-right:4px}main{max-width:1420px;width:100%;padding:38px 48px 0;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--muted);font-weight:500}.edition{font-size:9px;letter-spacing:1px;color:var(--muted);text-align:right;line-height:2}.hero{border:1px solid var(--line);background:#fafbf7;padding:36px 38px;display:grid;grid-template-columns:1fr 290px;gap:35px;align-items:center}.hero h2{font-size:46px;line-height:1.35;letter-spacing:-2px;margin:18px 0}.hero p{font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.actions button,.actions .button{font-size:12px}.hero-board{width:290px;border:5px solid #fff;box-shadow:0 0 0 1px #c4c7bc;transform:rotate(-3deg)}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 0;border-bottom:1px solid var(--line);margin-bottom:28px}.stats>div{display:flex;gap:16px;align-items:center;padding:0 22px;border-right:1px solid var(--line)}.stats>div:first-child{padding-left:0}.stats>div:last-child{border:0}.stats strong{font-family:Georgia,serif;font-weight:400;font-size:36px}.stats span{font-size:11px;color:var(--muted)}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.home-grid>button{text-align:left;background:transparent;padding:24px;border-color:var(--line)}.home-grid>button>span{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.home-grid h3{margin:16px 0 7px;font-size:19px}.home-grid p{font-size:12px;margin:0 0 22px}.home-grid b{font-size:11px;font-weight:500}.quiet{font-size:11px;line-height:1.9;color:var(--muted);margin-top:24px}.play-layout{display:grid;grid-template-columns:minmax(300px,540px) minmax(200px,1fr);gap:36px;align-items:start}.device{background:#fff;border:1px solid #c7c9c0;padding:18px 20px 12px;border-radius:8px;box-shadow:0 8px 24px #272b2010}.device-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);padding-bottom:10px;border-bottom:1px solid var(--line)}.device-top>span:first-child{font-size:15px;letter-spacing:-1px;color:#222}.player{display:flex;align-items:center;gap:8px;min-height:55px}.player strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player time{font-family:ui-monospace,monospace;margin-left:auto;font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.disc{width:12px;height:12px;border-radius:50%;border:1px solid black;flex-shrink:0}.disc.black{background:#171916}.board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));aspect-ratio:1;width:100%;container-type:inline-size;border:1px solid #555}.square{padding:0;min-height:0;aspect-ratio:1;position:relative;display:grid;place-items:center;border:0;border-radius:0;isolation:isolate;touch-action:manipulation}.square.light{background:#fff}.square.dark{background-color:#e3e3e3;background-image:radial-gradient(#777 .55px,transparent .65px);background-size:3px 3px}.square:hover:enabled{background-color:#d3d6cd}.piece{width:86%;height:86%;z-index:1;pointer-events:none;user-select:none}.square small{position:absolute;font-size:1.8cqw;z-index:3;line-height:1;color:#111;background:#ffffffc9}.rank{left:3px;top:2px}.file{right:3px;bottom:1px}.marked:after{content:"";position:absolute;inset:4%;background:linear-gradient(#111,#111) top left/22% 3px no-repeat,linear-gradient(#111,#111) top left/3px 22% no-repeat,linear-gradient(#111,#111) bottom right/22% 3px no-repeat,linear-gradient(#111,#111) bottom right/3px 22% no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 0 1px white)}.target{position:absolute;width:17%;height:17%;background:#333;border:1px solid #fff;border-radius:50%;z-index:4;pointer-events:none}.check{position:absolute;right:2px;top:0;font-size:3.2cqw;background:#fff;z-index:5;padding:0 2px;line-height:1}.mated{transform:rotate(20deg)}.notation{border-block:1px solid var(--line);padding:12px 4px;white-space:nowrap;overflow:auto;font-family:ui-monospace,monospace;font-size:12px;scrollbar-width:thin}.board-controls{display:flex;gap:6px;flex-wrap:wrap;padding-top:12px}.board-controls button{flex:1;padding:8px 6px;font-size:11px;white-space:nowrap}.board-status{font-size:11px;min-height:22px;margin:12px 0 0;color:#333}.context{padding:15px 0}.context h2{font-size:24px}.section-number{font-size:9px;letter-spacing:2px;color:var(--muted)}.context p{font-size:12px}.context button{margin:6px 6px 6px 0;font-size:12px}.divider{border-top:1px solid var(--line);margin:25px 0}.context label,label{display:block;font-size:11px;color:#686c61;margin:18px 0}select,input{display:block;width:100%;background:#fff;border:1px solid #c9ccc0;padding:12px;border-radius:4px;margin-top:8px;color:#222;min-height:44px}.import-panel{padding:24px 28px;background:#fafbf7;border:1px solid var(--line)}.import-panel h2{font-size:22px;margin:0}.import-panel p{font-size:12px;margin:8px 0}.import-panel .actions{margin-top:16px}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0;gap:20px}.list-heading h2{font-size:19px;white-space:nowrap}.list-heading small{font-size:12px;color:var(--muted);margin-left:8px}.list-heading input{max-width:300px;font-size:12px;margin:0}.record{display:flex;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.record-icon{font-size:29px;color:#484d3f}.record-main{flex:1;min-width:0}.record h3{font-size:15px;margin:8px 0;overflow-wrap:anywhere}.record h3 span{font-size:11px;color:var(--muted);margin:0 7px}.record p{font-size:10px;margin:0}.record>strong{font-size:13px}.record>button{font-size:11px;padding:8px 12px}.record>button:last-child{border:0;background:transparent;color:#73756e}.empty{text-align:center;padding:80px 0}.empty>span{font-size:50px;color:#979c8b}.empty p{font-size:12px}.analysis-value{font-family:Georgia,serif;font-size:45px;margin:25px 0}.analysis-value small{display:block;font-size:10px;color:var(--muted);font-family:inherit;margin-top:6px}.muted{color:var(--muted)}.section-top{display:flex;justify-content:space-between;align-items:center}.section-top h2{margin:0}.section-top p{font-size:12px}.tag{font-size:10px;display:inline-block;border:1px solid #c9cebd;background:#edf0e5;padding:6px 10px;border-radius:20px;white-space:nowrap}.section-caption{font-size:13px;margin:30px 0 18px}.puzzle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.puzzle-card{text-align:left;padding:22px;background:#fafbf7;min-height:160px;border-color:var(--line)}.puzzle-card h3{font-size:17px;margin:18px 0 25px}.puzzle-card>span:last-child{font-size:11px}.learning-layout{display:grid;grid-template-columns:195px 1fr;gap:35px}.lesson-menu{display:flex;flex-direction:column;gap:10px}.lesson-menu button{display:block;text-align:left;border-color:transparent;background:transparent}.lesson-menu small{display:block;color:var(--muted);font-size:9px;margin-bottom:6px}.lesson-menu .chosen{border-color:#bfc4b2;background:#e8eae1}.reading{background:#fafbf7;padding:35px 40px;min-height:420px;border:1px solid var(--line)}.reading h2{font-size:27px}.reading p{line-height:2.2;font-size:14px}.reading h3{margin-top:35px}.online-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;align-items:center;padding:15px 0 30px}.online-intro>div>h2{font-size:35px}.online-intro p{font-size:12px}.account-card{border:1px solid var(--line);padding:25px;background:#fafbf7}.account-card h3{font-size:18px}.match-section{border-top:1px solid var(--line);padding-top:25px}.match-section h3{font-size:14px;margin-bottom:20px}.time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.time-grid button{padding:22px 10px}.time-grid strong{font-size:29px;font-family:Georgia,serif;font-weight:400}.time-grid strong span{font-size:20px;color:var(--muted)}.time-grid small{display:block;font-size:10px;color:var(--muted);margin-top:10px}.online-message{font-size:12px;margin:25px 0;min-height:30px}.online-message button{margin-left:15px}footer{display:flex;justify-content:space-between;color:#888d7d;font-size:9px;padding:35px 0 20px;margin-top:25px;gap:15px}dialog{border:1px solid #b9beae;border-radius:8px;padding:28px;width:min(500px,92vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#171c1570}dialog h2{font-size:23px}dialog p{font-size:12px}.promotion{display:flex;gap:10px}.promotion button{flex:1;padding:8px}.promotion img{width:65px;max-width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);padding:13px 22px;background:#22271e;color:#fff;border-radius:5px;font-size:12px;max-width:90vw;z-index:100;opacity:0;pointer-events:none}#toast.show{opacity:1}@media(min-width:1600px){main{padding:48px 65px 0}.hero{padding:45px 50px;grid-template-columns:1fr 340px}.hero-board{width:340px}.hero h2{font-size:55px}.play-layout{grid-template-columns:minmax(350px,610px) minmax(240px,1fr);gap:50px}}@media(max-width:1100px){#app{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:30px 15px}.brand{font-size:32px}main{padding:30px 28px 0}.hero{grid-template-columns:1fr 210px;padding:28px;gap:20px}.hero-board{width:210px}.hero h2{font-size:37px}.hero .actions{flex-direction:column}.play-layout{grid-template-columns:minmax(260px,1.3fr) minmax(185px,1fr);gap:24px}.device{padding:12px}.context h2{font-size:21px}.puzzle-grid{grid-template-columns:1fr 1fr}.learning-layout{grid-template-columns:155px 1fr;gap:20px}.reading{padding:25px}.online-intro{grid-template-columns:1fr}.time-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){#app{display:block}.sidebar{position:static;height:auto;border:0;border-bottom:1px solid var(--line);padding:18px}.brand{padding:0;font-size:30px;display:flex;align-items:center;gap:18px}.brand span{margin:0;font-size:10px;letter-spacing:2px}.nav-label,.sidebar-foot{display:none}nav{flex-direction:row;overflow:auto;gap:5px;margin-top:18px}nav button{white-space:nowrap;flex-shrink:0;padding:10px;font-size:11px;gap:0}nav button span{display:none}main{padding:24px 18px 0}.page-header{margin-bottom:25px}h1{font-size:24px}.edition{font-size:8px}.hero{grid-template-columns:1fr 150px;padding:25px 20px;gap:14px}.hero-board{width:150px}.hero h2{font-size:30px}.hero p{font-size:11px}.hero .actions{margin-top:18px}.hero .actions button{font-size:10px;padding:10px;min-height:40px}.hero .eyebrow{font-size:7px}.stats{padding:22px 0}.stats>div{padding:0 12px;gap:9px;flex-direction:column;align-items:flex-start}.stats strong{font-size:29px}.stats span{font-size:10px}.home-grid{gap:12px}.home-grid>button{padding:18px}.home-grid h3{font-size:16px}.home-grid p{font-size:11px}.home-grid>button>span{font-size:8px}.play-layout{display:flex;flex-direction:column;gap:15px}.device{max-width:550px;width:100%;margin:auto}.context{width:100%;padding:20px 0}.context label{display:inline-block;width:48%;vertical-align:top;padding-right:8px}.context .full{max-width:350px}.context .divider{margin:18px 0}.puzzle-grid{grid-template-columns:1fr 1fr}.puzzle-card{padding:18px}.puzzle-card h3{font-size:15px}.learning-layout{display:block}.lesson-menu{flex-direction:row;overflow:auto;margin-bottom:20px}.lesson-menu button{min-width:135px;font-size:11px}.reading{padding:25px}.import-panel{padding:22px}.list-heading{align-items:flex-start;flex-direction:column;gap:8px}.list-heading input{max-width:100%}.record{gap:10px;flex-wrap:wrap}.record-icon{display:none}.record-main{min-width:60%}.record>button{font-size:10px;min-height:35px}.record h3{font-size:14px}.online-intro>div>h2{font-size:30px}.account-card{padding:22px}.section-top{gap:15px}.section-top h2{font-size:21px}.section-top .tag{font-size:9px}footer{line-height:1.7}.board-controls button{min-height:44px}}.notation-wrap{display:flex;border-block:1px solid var(--line);align-items:center}.notation-wrap .notation{flex:1;min-width:0;border:0}.notation-wrap>button{border:0;border-radius:0;min-width:36px;min-height:40px;padding:8px;font-size:20px;background:#f8f9f5}body{background:#e8e9e3}#app{display:block;min-height:100vh;padding:22px 18px}.sim-toolbar{display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:auto;gap:20px}.sim-toolbar>div{display:flex;align-items:center;gap:18px}.sim-toolbar strong{font-size:25px;letter-spacing:-1px}.sim-toolbar>div>span{font-size:12px;color:#62675b}.sim-toolbar label{display:flex;align-items:center;gap:10px;font-size:10px;margin:0;white-space:nowrap}.sim-toolbar select{width:auto;margin:0;min-height:35px;padding:7px 10px;font-size:11px}.sim-info{max-width:1080px;margin:14px auto 20px;display:flex;justify-content:space-between;gap:15px;color:#777d70;font-size:10px}.sim-stage{display:flex;justify-content:center;align-items:flex-start;overflow:visible}.hardware{position:relative;width:572px;height:794px;background:#f7f8f4;border:1px solid #c6c9bc;border-radius:18px;box-shadow:0 14px 40px #373e2520;transform-origin:top left}.screen{position:absolute;top:24px;left:17px;width:536px;height:724px;background:#fff;border:1px solid #53594b;overflow:hidden;container-type:size}.screen-header{height:36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b8bdb0;padding:0 14px;font-size:11px;background:#fff}.screen-brand{font-size:20px;letter-spacing:-1px;font-weight:650}.screen-header>span{font-size:11px}.screen-header>button{font-size:10px;min-height:27px;padding:3px 9px;border-color:#999f91}.screen main{position:absolute;inset:36px 0 44px;padding:0;max-width:none;margin:0;width:100%;overflow:hidden}.screen .page-header{display:none}.screen #content{height:100%;overflow:auto;padding:14px;scrollbar-width:thin;background:#fff}.screen-nav{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,1fr);gap:0;height:44px;border-top:1px solid #9da490;margin:0;background:#fff}.screen-nav button{display:grid;place-items:center;min-width:0;min-height:44px;padding:0;border:0;border-radius:0;background:#fff;font-size:12px;line-height:1}.screen-nav button.active{background:#1f251b;color:#fff}.bezel-brand{position:absolute;bottom:12px;width:100%;text-align:center;font-size:14px;letter-spacing:2px;color:#838a79}.bezel-brand span{font-size:10px;letter-spacing:0;margin-left:10px}.sim-caption{text-align:center;margin:18px auto 0;max-width:900px;font-size:10px;color:#7c8273}.sim-caption p{font-size:10px;margin:6px 0;line-height:1.7}.sim-caption label{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0;font-size:10px}.sim-caption input{display:inline-block;width:180px;min-height:20px;margin:0;padding:0}.sim-caption [hidden]{display:none!important}.screen .hero{padding:22px 20px;grid-template-columns:1fr 160px;gap:15px;background:#fff;border-color:#a5ac9b}.screen .hero h2{font-size:31px;line-height:1.4;margin:16px 0}.screen .hero p{font-size:11px}.screen .hero .eyebrow{font-size:8px;letter-spacing:1px}.screen .hero-board{width:160px;transform:none;box-shadow:none;border:0}.screen .hero .actions{display:flex;flex-direction:column;gap:8px;margin-top:18px}.screen .hero .actions button{padding:8px;font-size:11px;min-height:36px}.screen .stats{padding:20px 0;margin:0 0 20px}.screen .stats>div{flex-direction:row;align-items:center;gap:10px;padding:0 15px}.screen .stats>div:first-child{padding-left:0}.screen .stats strong{font-size:30px}.screen .stats span{font-size:10px}.screen .home-grid{gap:12px}.screen .home-grid>button{padding:16px;background:#fff}.screen .home-grid h3{font-size:15px;margin:12px 0}.screen .home-grid p{font-size:11px;margin-bottom:18px}.screen .home-grid b{font-size:11px}.screen .home-grid>button>span{font-size:8px;letter-spacing:1px}.screen .quiet{font-size:10px;margin-top:14px;color:#62685a}.screen .play-layout{height:100%;display:block;position:static}.screen #content:has(.play-layout){padding:6px 14px;overflow:hidden}.screen .device{display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:#fff}.screen .device-top{display:none}.screen .player{height:26px;min-height:26px;padding:0 3px;gap:7px}.screen .player strong{font-size:12px}.screen .player time{font-size:23px;line-height:1}.screen .player .disc{width:10px;height:10px}.screen .device>.board{width:494px;height:494px;max-width:100%;margin:4px auto;aspect-ratio:1}.screen .square{min-height:0;padding:0}.screen .piece{width:85%;height:85%}.screen .notation-wrap{height:28px;margin-top:4px}.screen .notation-wrap>button{min-height:26px;padding:0 5px;min-width:28px;height:26px;font-size:20px}.screen .notation{font-size:11px;padding:5px 3px;line-height:16px}.screen .board-controls{padding-top:5px;gap:6px;flex-wrap:nowrap}.screen .board-controls button{min-height:30px;padding:5px 7px;font-size:11px;line-height:18px}.screen .board-status{font-size:11px;line-height:17px;min-height:17px;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111}.screen .context{display:none;position:absolute;inset:36px 0 44px;background:#fff;z-index:12;overflow:auto;padding:22px 26px;width:auto;height:auto;border:0}.screen .context.sheet-open{display:block}.screen .context h2{font-size:23px}.screen .context p{font-size:12px}.screen .context label{display:block;width:100%;padding:0}.screen .context button{min-height:40px;font-size:12px}.screen .context .full{max-width:none}.screen .analysis-value{font-size:45px}.screen .analysis-value small{font-size:11px}.screen .import-panel{padding:18px;background:#fff;border-color:#a5ac9b}.screen .import-panel h2{font-size:20px}.screen .import-panel p{font-size:11px}.screen .actions{gap:8px;margin-top:15px}.screen .actions button,.screen .actions .button{font-size:11px;min-height:36px;padding:8px 10px}.screen .list-heading{display:flex;flex-direction:row;gap:10px;align-items:center;margin:18px 0}.screen .list-heading h2{font-size:15px;margin:0}.screen .list-heading input{font-size:11px;min-height:36px;width:240px;padding:8px;margin:0}.screen .record{padding:14px 0;gap:10px;flex-wrap:nowrap}.screen .record-icon{display:none}.screen .record-main{min-width:0}.screen .record h3{font-size:13px;margin:6px 0;letter-spacing:0}.screen .record .eyebrow{font-size:8px;letter-spacing:1px}.screen .record p{font-size:10px}.screen .record>strong{font-size:11px;white-space:nowrap}.screen .record>button{font-size:10px;padding:6px 9px;min-height:32px;white-space:nowrap}.screen .record>button:last-child{display:none}.screen .section-top{gap:12px}.screen .section-top h2{font-size:21px}.screen .section-top p{font-size:11px}.screen .section-caption{font-size:12px;margin:20px 0 12px}.screen .puzzle-grid{grid-template-columns:1fr 1fr;gap:12px}.screen .puzzle-card{min-height:125px;padding:16px;background:#fff}.screen .puzzle-card h3{font-size:15px;margin:12px 0 20px}.screen .puzzle-card .eyebrow{font-size:8px}.screen .learning-layout{display:block}.screen .lesson-menu{display:flex;flex-direction:row;overflow:auto;gap:8px;margin-bottom:16px}.screen .lesson-menu button{min-width:138px;padding:10px;font-size:11px}.screen .lesson-menu .chosen{background:#e9ebe3;border-color:#8a937e}.screen .reading{padding:22px;background:#fff;border-color:#b0b8a5;min-height:0}.screen .reading h2{font-size:24px}.screen .reading p{font-size:13px;line-height:2}.screen .reading h3{font-size:16px;margin-top:24px}.screen .online-intro{display:block;padding:0}.screen .online-intro>div>h2{font-size:27px;margin:14px 0 8px}.screen .online-intro p{font-size:11px;line-height:1.8}.screen .online-intro>div:first-child>.eyebrow{font-size:8px}.screen .account-card{padding:15px;margin:18px 0;background:#fff;border-color:#a5ac9b}.screen .account-card h3{font-size:17px;margin:10px 0}.screen .account-card p{font-size:10px;margin:7px 0}.screen .account-card .tag{font-size:9px;padding:4px 8px}.screen .account-card .actions{margin-top:10px}.screen .match-section{padding-top:12px}.screen .match-section h3{font-size:13px;margin:8px 0 12px}.screen .time-grid{grid-template-columns:repeat(4,1fr);gap:8px}.screen .time-grid button{padding:14px 5px;min-height:80px}.screen .time-grid strong{font-size:25px}.screen .time-grid strong span{font-size:16px}.screen .time-grid small{font-size:8px;margin-top:7px}.screen .online-message{font-size:11px;margin:15px 0;min-height:22px}.screen dialog{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:50;width:470px;max-width:calc(100% - 32px);max-height:calc(100% - 60px);margin:0;padding:24px;background:#fff;border:2px solid #222;border-radius:2px;box-shadow:0 8px 30px #0003}.screen:has(dialog[open]):after{content:"";position:absolute;inset:0;background:#0005;z-index:45;pointer-events:auto}.screen dialog h2{font-size:22px}.screen dialog p{font-size:12px}.screen dialog label{font-size:12px}.screen dialog input,.screen dialog select{font-size:13px;min-height:40px;padding:10px}.screen .promotion img{width:65px}.screen .square.in-turn{outline:0}.sim-toolbar [hidden]{display:none}@media(max-width:650px){#app{padding:14px 10px}.sim-toolbar{gap:10px}.sim-toolbar>div{gap:9px}.sim-toolbar strong{font-size:22px}.sim-toolbar>div>span{font-size:10px}.sim-toolbar label{font-size:0;gap:0}.sim-toolbar select{font-size:10px;max-width:160px}.sim-info{font-size:8px;margin:12px auto 15px;gap:8px}.sim-caption{margin-top:14px}.sim-caption p{font-size:9px}}.screen .player.to-move time{background:#22271c;color:#fff;padding:1px 5px;border-radius:2px}.screen .player:not(.to-move) time{padding:1px 5px}.screen .player.to-move strong:after{content:" · 行棋";font-weight:400;font-size:9px}.screen .device>.board{width:480px;height:480px}.screen .player time{font-variant-numeric:tabular-nums}.screen{box-sizing:content-box}.screen .function-home{padding:4px 2px}.screen .function-home h2{font-size:20px;margin:4px 0 18px}.function-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.function-grid>button{display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:126px;text-align:left;padding:20px;background:#fff;border:1px solid #9ca58f;border-radius:2px}.function-grid strong{font-size:19px;font-weight:550}.function-grid span{font-size:12px;color:#555d4d}.home-status{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:18px 0;border-bottom:1px solid #cbd0c1;gap:14px}.home-status:first-of-type{margin-top:18px}.home-status>span{color:#626b57}.home-status>strong{font-size:12px;font-weight:500}.screen .offline-setup{padding:2px}.screen .offline-setup h2{font-size:20px;margin:3px 0 16px}.offline-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.offline-presets>button{min-height:100px;border:1px solid #8d9680;border-radius:2px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#fff;padding:10px 5px}.offline-presets strong{font-size:30px;font-weight:400;font-variant-numeric:tabular-nums}.offline-presets span{font-size:11px;color:#56604b}.offline-presets #offline-custom strong{font-size:24px}.offline-setup-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}.offline-setup-actions button{min-height:43px;font-size:14px;border-radius:2px}.screen .offline-form h2{font-size:20px;margin:0 0 16px}.screen .offline-form>label{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:12px;margin:10px 0;font-size:13px}.screen .offline-form select{margin:0;min-height:44px;font-size:14px;background:#f6f7f3}.offline-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.offline-time-fields[hidden]{display:none}.screen .offline-time-fields label{margin:12px 0 4px;font-size:12px}.screen .offline-form .actions{justify-content:flex-end;margin-top:12px}.screen .offline-form .actions button{min-height:42px;padding:10px 22px;font-size:13px}.screen #setup-error:empty{display:none}.screen-header-actions{display:flex;align-items:center;gap:8px}.screen .screen-header-actions button{padding:3px 9px;min-height:28px;font-size:10px;border-color:#9ba38f;border-radius:2px}.screen .screen-header-actions button[hidden]{display:none}.screen #screen-menu-toggle{padding:3px 5px;min-height:30px;width:34px;border:0;background:#fff;display:grid;place-items:center}.screen #screen-menu-toggle svg{width:23px;height:23px}.screen main{bottom:0}.screen .screen-nav{inset:36px 8px auto auto;width:190px;height:auto;display:flex;flex-direction:column;z-index:40;border:1px solid #626b57;box-shadow:0 4px 12px #0002;background:#fff}.screen .screen-nav[hidden]{display:none}.screen .screen-nav button{display:block;text-align:left;padding:13px 18px;min-height:46px;font-size:14px;border-bottom:1px solid #d4d8cc;background:#fff}.screen .screen-nav button:last-child{border:0}.screen .screen-nav button.active{color:#111;background:#e7eae0;font-weight:650}.screen .context{bottom:0}.screen .quick-home{padding:2px}.quick-match-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.screen .quick-match-heading h2{font-size:20px;margin:3px 0}.quick-match-heading>span{font-size:12px;color:#58624b}.home-match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.home-match-grid>button{min-height:125px;border:1px solid #909b82;border-radius:2px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:10px 4px}.home-match-grid strong{font-size:30px;font-weight:400;font-variant-numeric:tabular-nums}.home-match-grid span{font-size:11px;color:#5e684f}.home-match-grid #home-custom-match strong{font-size:25px}.home-primary-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}.home-primary-actions button{min-height:46px;font-size:15px;border-radius:2px;background:#f3f5ee;border-color:#9da78f}.home-match-status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#5e684f;margin:16px 0;min-height:30px}.home-match-status button{min-height:32px;padding:5px 12px;font-size:11px}.platform-choices{display:flex;flex-direction:column;gap:14px;margin:22px 0}.platform-choices button{min-height:50px}.platform-choices button:disabled{background:#eceee8;color:#92968b;border-color:#d2d6c9;opacity:1;cursor:not-allowed}.screen #navigation-backdrop{position:absolute;inset:36px 0 0;background:#0004;z-index:39;border:0;border-radius:0}.screen #navigation-backdrop[hidden]{display:none}.screen .screen-nav{inset:36px 0 0 auto;width:250px;height:auto;overflow:auto;border:0;border-left:1px solid #737f62;box-shadow:none}.screen .screen-nav button{font-size:14px;min-height:48px;padding:14px 20px;border:0}.screen .screen-nav .nav-section-label{font-size:11px;color:#727c63;padding:15px 20px 8px;border-top:1px solid #d3d9c9}.screen .nav-account{font-size:12px;padding:19px 20px;color:#3f4b32;background:#f3f5ee}.screen .screen-nav .unavailable-platform{background:#f8f9f5;color:#a2a798;opacity:1;cursor:not-allowed}.screen .unavailable-platform small{display:block;font-size:10px;color:#a2a798;margin-top:4px}.screen .home-match-grid>button{min-height:94px;gap:8px}.screen .home-match-grid{gap:9px}.screen .home-primary-actions{gap:8px;margin-top:14px}.screen .home-primary-actions button{min-height:40px;padding:8px 14px;font-size:14px}.screen #home-create-chesscom{color:#989e8f;background:#f2f3ee;border-color:#d4d9ca;opacity:1;cursor:not-allowed}.screen .home-match-status{margin:10px 0;min-height:24px}.screen .quick-match-heading{margin-bottom:12px}.screen .method-note{font-size:12px;color:#737d64}.screen #home-create-chesscom{cursor:pointer}.screen .home-match-grid>button.time-selected,.screen .home-match-grid>button.time-selected:hover{background:#c9c9c9;border:2px solid #454545;color:#111;padding:9px 3px}.screen .home-match-grid>button.time-selected span{color:#333}.screen #home-create-chesscom{cursor:not-allowed}.screen .home-primary-actions button:disabled{color:#92968d;background:#f0f1ed;border-color:#d4d7cf;opacity:1}.screen .home-primary-actions.platform-start-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.screen .platform-start-grid>button{min-width:0;min-height:94px;padding:12px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#fff;border:1px solid #6d7861}.screen .platform-start-grid strong{font-size:15px;font-weight:550;white-space:nowrap}.screen .platform-start-grid span{font-size:10px;color:#56604b}.screen .platform-start-grid>button:disabled{background:#f0f1ed;border-color:#d4d7cf;opacity:1;cursor:not-allowed}.screen .platform-start-grid>button:disabled strong,.screen .platform-start-grid>button:disabled span{color:#a1a598}.screen .home-match-grid>button.time-selected{position:relative}.screen .home-match-grid>button.time-selected:after{content:"✓";position:absolute;right:8px;top:5px;font-size:15px;font-weight:600;color:#222}.screen .platform-start-grid>button{gap:6px;padding:9px 3px}.screen .platform-logo{display:block;width:28px;height:28px;object-fit:contain;filter:grayscale(1)}.screen .platform-start-grid>button:disabled .platform-logo{opacity:.4}.screen .platform-logo.platform-wordmark{width:84px;height:28px;object-fit:contain}.screen #home-computer strong,.screen #home-create-alliance strong{font-size:15px;font-weight:550;line-height:21px;font-family:inherit;letter-spacing:0}.screen .platform-start-grid .platform-logo{height:30px;width:30px;flex:0 0 30px}.screen .platform-start-grid .platform-logo.platform-wordmark{width:96px;height:30px;object-fit:contain;flex:0 0 30px}.screen .platform-start-grid>button:disabled .platform-logo.platform-wordmark{opacity:1;filter:none}.screen .platform-start-grid #home-create-lichess,.screen .platform-start-grid #home-computer{color:#000;background:#fff;border-color:#6d7861;opacity:1}.screen .platform-start-grid #home-create-lichess strong,.screen .platform-start-grid #home-create-lichess span,.screen .platform-start-grid #home-computer strong,.screen .platform-start-grid #home-computer span{color:#000}.screen .platform-start-grid #home-create-lichess .platform-logo,.screen .platform-start-grid #home-computer .platform-logo{opacity:1;filter:brightness(0)}.screen .platform-start-grid #home-create-chesscom strong,.screen .platform-start-grid #home-create-chesscom span,.screen .platform-start-grid #home-create-alliance strong,.screen .platform-start-grid #home-create-alliance span{color:gray}.screen .platform-start-grid #home-create-chesscom .platform-logo,.screen .platform-start-grid #home-create-alliance .platform-logo{opacity:.5;filter:brightness(0)}.screen .platform-start-grid #home-create-alliance .platform-logo{filter:grayscale(1);opacity:.5}.screen .platform-start-grid .platform-logo.platform-wordmark{width:96px;height:30px;flex:0 0 30px;transform:translateY(3px)}.screen .match-waiting{position:absolute;z-index:15;inset:36px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #777;gap:18px}.screen .match-waiting h3{font-size:22px;margin:0}.screen .match-waiting p{color:#000;font-size:14px}.screen .match-waiting button{width:180px}.screen .online-offer{flex-basis:100%;display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #444}.screen .online-offer>span{flex:2;font-size:12px}.screen .match-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid #aaa}.screen .match-tabs button{border:0;border-radius:0;background:#fff;font-size:17px;padding:10px;min-height:46px;color:#777}.screen .match-tabs button[aria-selected=true]{color:#000;border-bottom:3px solid #000;font-weight:600}.screen .platform-start-grid[hidden]{display:none}.screen .home-match-grid>button:not(#home-custom-match)>span{font-size:17px;font-weight:400;line-height:1.2;color:#555}.screen .platform-start-grid #home-create-lichess:disabled,.screen .platform-start-grid #home-computer:disabled{color:gray;background:#f0f1ed;border-color:#d4d7cf;cursor:not-allowed}.screen .platform-start-grid #home-create-lichess:disabled strong,.screen .platform-start-grid #home-create-lichess:disabled span,.screen .platform-start-grid #home-computer:disabled strong,.screen .platform-start-grid #home-computer:disabled span{color:gray}.screen .platform-start-grid #home-create-lichess:disabled .platform-logo,.screen .platform-start-grid #home-computer:disabled .platform-logo{opacity:.5}.screen .match-waiting{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:340px;max-width:calc(100% - 40px);height:auto;min-height:190px;padding:24px 18px;gap:16px;box-shadow:0 0 0 100vmax #ffffffb8}.screen .match-waiting h3{font-size:20px;margin:0}.screen .match-waiting p{margin:0;text-align:center;line-height:1.5;font-size:13px}.screen .match-waiting button{width:160px;margin-top:4px}.screen .match-waiting h3:after{content:"...";display:inline-block;width:0;overflow:hidden;vertical-align:bottom;white-space:nowrap;animation:waiting-dots 1.8s steps(4,end) infinite;text-align:left}.screen .match-waiting h3{position:relative;padding-right:20px;margin-left:20px}.screen .match-waiting h3:after{position:absolute;left:calc(100% - 20px);bottom:0}@keyframes waiting-dots{to{width:20px}}@media(prefers-reduced-motion:reduce){.screen .match-waiting h3:after{animation:none;width:20px}}.screen .platform-start-grid .platform-logo.platform-chesscom{width:30px;height:30px;object-fit:contain;flex:0 0 30px;transform:translateY(3px)}.screen .platform-start-grid .platform-logo.platform-chesscom{width:96px;height:30px;object-fit:contain;flex:0 0 30px;transform:translateY(3px)}.screen .home-primary-actions.platform-start-grid>button{display:grid;grid-template-rows:30px 22px 16px;justify-items:center;align-items:center;align-content:center;gap:6px;min-height:100px;padding:10px 3px}.screen .platform-start-grid>button>strong,.screen #home-computer strong,.screen #home-create-alliance strong{display:flex;align-items:center;justify-content:center;height:22px;margin:0;font-family:inherit;font-size:15px;font-weight:550;line-height:22px;letter-spacing:0;white-space:nowrap}.screen .platform-start-grid>button>span{display:flex;align-items:center;justify-content:center;height:16px;margin:0;font-size:10px;line-height:16px;white-space:nowrap}.screen .platform-start-grid #home-computer>strong,.screen .platform-start-grid #home-create-alliance>strong{font-size:14.5px}.screen .platform-start-grid>button>strong,.screen .platform-start-grid #home-computer>strong,.screen .platform-start-grid #home-create-alliance>strong{display:grid;place-items:center;align-self:center;justify-self:stretch;height:22px;line-height:1;padding:0;margin:0}.screen .board{position:relative}.screen .online-result-card{position:absolute;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:280px;max-width:85%;padding:22px 18px;text-align:center;background:#fff;border:2px solid #111;box-shadow:0 3px 18px #0003}.screen .online-result-card h2{font-size:25px;margin:0 0 8px;font-weight:650}.screen .online-result-card>strong{font-size:30px;line-height:1.4;font-weight:500}.screen .online-result-card p{font-size:13px;color:#111;margin:10px 0 16px}.screen .online-result-card button{font-size:13px;min-height:38px;padding:7px 22px}.screen .board-status.game-finished-status{font-size:14px;font-weight:600;color:#000;border-top:2px solid #111;padding-top:9px}.screen .basics-entry{padding:12px 0 18px;border-bottom:1px solid #aaa;margin-bottom:16px}.screen .basics-entry h2{font-size:20px}.screen .basics-entry p{font-size:13px;margin:8px 0}.screen .basic-heading{display:flex;align-items:center;justify-content:space-between}.screen .basic-heading h2{font-size:20px;margin:0}.screen .basic-heading>span{font-size:12px}.screen .basic-lesson>p{font-size:13px;line-height:1.6;margin:8px 0 12px;color:#222}.screen #basic-board{max-width:460px;margin:auto}.screen .lesson-star{font-size:28px;line-height:1;pointer-events:none;color:#000;z-index:2;background:#fff;border-radius:50%;padding:2px}.screen .basic-feedback{font-size:13px;min-height:38px;padding:12px 0;color:#000}.screen .basic-lesson .actions{margin-top:0;gap:8px}.screen .basic-lesson .actions button{flex:1;font-size:12px;padding:8px}.screen .basic-source{display:block;font-size:10px;color:#777;margin-top:12px}.screen .basic-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.screen .basic-course-list button{display:flex;align-items:center;gap:10px;padding:10px;min-height:62px}.screen .basic-course-list img{width:32px;height:32px}.screen .basic-course-list strong{font-size:14px;font-weight:550}.screen .basic-course-list span{margin-left:auto;font-size:12px;color:#666}.screen .basic-lesson .actions{flex-wrap:wrap}.screen .basic-group-title{grid-column:1/-1;font-size:15px;margin:14px 0 2px;padding-bottom:7px;border-bottom:1px solid #bbb}.screen .basic-course-list button>strong{text-align:left;white-space:normal}.screen .nav-language{margin-top:12px;padding:12px 14px 16px;border-top:1px solid #bbb}.screen .nav-language label{font-size:12px;color:#333;margin:0 0 8px}.screen .nav-language select{font-size:14px;min-height:40px;padding:8px;margin:0;width:100%}html[lang=en] .screen .platform-start-grid>button>strong{font-size:13px}html[lang=en] .screen .platform-start-grid>button>span{font-size:9px}html[lang=en] .screen .basic-course-list strong{font-size:12px}html[lang=en] .screen .basic-heading h2{font-size:18px}.screen #account-menu-toggle.nav-account{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;margin:0;padding:14px;font-size:18px;color:#000;background:#f4f5ef;border:0;border-bottom:1px solid #b8bdb0;border-radius:0;text-align:left}.screen #account-menu-toggle.nav-account>span{font-size:18px;color:inherit;padding:0}.screen #account-menu-toggle svg{width:16px;height:16px;flex:none;transition:transform .15s}.screen #account-menu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.screen .account-dropdown{background:#f7f7f3;border-bottom:1px solid #bbb;padding-bottom:6px}.screen .account-dropdown[hidden]{display:none}.screen .account-dropdown .nav-language{margin:0;padding:8px 14px 12px;border:0}.screen .account-dropdown #account-manage{width:100%;padding:10px 14px;min-height:40px;font-size:13px;background:transparent;border:0;border-radius:0}.screen .tools-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.screen .tools-heading h2{font-size:20px;margin:0}.screen .tools-heading button{font-size:12px;padding:7px 10px;min-height:36px}.screen .tools-list{display:grid;gap:10px;margin:16px 0}.screen .tools-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;text-align:left;min-height:60px}.screen .tools-list strong{font-size:15px;font-weight:550}.screen .tools-list span{font-size:12px;color:#666}.screen .tools-list h3{font-size:15px;margin:12px 0 0;border-bottom:1px solid #ccc;padding-bottom:8px}.screen .tools-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.screen .tools-settings label{margin:0}.screen .tools-settings select{padding:8px 3px;font-size:12px}.screen .coord-score{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.screen .coord-score strong{font-size:30px;min-width:54px}.screen .coord-score span{font-size:12px}.screen .no-coordinates .rank,.screen .no-coordinates .file{display:none}.screen .coordinate-highlight{outline:4px solid #000;outline-offset:-6px}.screen .tools-list .stat-row{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid #ccc}.screen #coord-answer{display:flex;align-items:end;gap:8px;margin-top:12px}.screen #coord-answer label{margin:0;flex:1}.screen #study-note{width:100%;font:inherit;padding:10px;border:1px solid #999;margin-top:8px}.screen .study-branches{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;max-height:76px;overflow:auto}.screen .study-branches button{min-height:32px;font-size:12px;padding:5px 10px}.screen #study-board,.screen #bank-puzzle-board{max-width:450px;margin:auto}.screen .puzzle-info{display:flex;justify-content:space-between;font-size:13px}.screen .training-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.screen .training-stats>div{border:1px solid #aaa;padding:16px;text-align:center}.screen .training-stats strong{display:block;font-size:26px}.screen .training-stats span{font-size:12px}.screen #coordinate-board{max-width:420px;margin:0 auto}.screen .tools-list>button{flex-wrap:wrap}.screen #coord-feedback{margin:8px 0;font-size:13px;min-height:18px}.screen .coordinate-actions{display:flex;justify-content:flex-end;margin:12px 0 6px}.screen .coordinate-actions button{min-width:130px;min-height:42px;padding:8px 16px;font-size:14px}.screen #coordinate-board{max-width:360px}.screen .coord-score{margin:8px 0}.screen .coord-score{display:grid;grid-template-columns:140px 70px minmax(0,1fr);height:42px;min-height:42px;align-items:center;gap:8px}.screen .coord-score strong{font-size:26px;line-height:36px;white-space:nowrap}.screen .coord-score>span:last-child{text-align:right;white-space:nowrap}.screen .tools-settings select:disabled{opacity:1;color:#666;background:#f4f4f1}.screen .coordinate-training .tools-heading{margin-bottom:6px;min-height:36px}.screen .coordinate-training .tools-settings{gap:10px}.screen .coordinate-training .tools-settings label{font-size:11px;line-height:14px}.screen .coordinate-training .tools-settings select{height:34px;min-height:34px;margin-top:4px;padding:5px 4px}.screen .coordinate-prompt{height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:4px 0 0}.screen #coord-target{display:block;font-size:44px;font-weight:650;line-height:48px;letter-spacing:1px;text-align:center}.screen #coord-target.coordinate-state{font-size:24px;letter-spacing:0}.screen .coordinate-feedback-slot{height:26px;display:flex;align-items:center;justify-content:center}.screen #coord-feedback{display:inline-block;margin:0;min-height:0;padding:2px 13px;font-size:15px;line-height:21px;font-weight:550}.screen #coord-feedback:empty{padding:0}.screen #coord-feedback.is-error{color:#fff;background:#000;border:1px solid #000}.screen #coord-feedback.is-correct{color:#000;background:transparent}.screen .coordinate-status{max-width:340px;margin:0 auto 5px;display:flex;align-items:center;justify-content:space-between;height:26px;gap:12px;font-size:14px;line-height:22px;font-variant-numeric:tabular-nums}.screen .coordinate-status #coord-time-left{font-size:18px;font-weight:550}.screen .coordinate-status #coord-score{font-size:13px;white-space:nowrap}.screen .coordinate-training #coordinate-board{width:340px;max-width:100%;margin:0 auto}.screen .coordinate-training .coordinate-actions{max-width:340px;position:relative;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:10px auto 0;min-height:42px}.screen .coordinate-best{margin-right:auto;font-size:11px;color:#666}.screen .coordinate-training .coordinate-actions button{min-height:40px;padding:7px 15px}.screen .coordinate-choices{width:340px;max-width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px auto 0}.screen .coordinate-choices button{font-size:21px;line-height:1;min-height:44px;padding:8px 4px;border:1px solid #444;background:#fff;color:#000}.screen .coordinate-choices button:disabled{color:#888;border-color:#ccc;opacity:1}.screen .coordinate-training:has(.coordinate-choices) #coordinate-board{width:300px}.screen .coordinate-training:has(.coordinate-choices) .coordinate-status{max-width:300px}.screen .coordinate-training:has(.coordinate-choices) .coordinate-prompt{height:70px}.screen .record-main[role=button]{cursor:pointer;border-radius:2px}.screen .record-main[role=button]:focus-visible{outline:2px solid #222;outline-offset:4px}.screen .coordinate-training{height:100%;display:grid;grid-template-rows:34px 64px 26px minmax(0,1fr) 44px 42px;gap:6px}.screen .coordinate-topbar{display:flex;justify-content:space-between;align-items:center;gap:10px}.screen .coordinate-topbar h2{font-size:20px;margin:0;line-height:30px}.screen .coordinate-topbar>div{display:flex;gap:8px}.screen .coordinate-topbar button{min-height:32px;padding:5px 10px;font-size:12px}.screen .coordinate-training .coordinate-prompt{height:64px;margin:0}.screen .coordinate-training #coord-target{font-size:38px;line-height:40px}.screen .coordinate-training #coord-target.coordinate-state{font-size:24px}.screen .coordinate-training .coordinate-status{width:100%;max-width:440px;height:26px;margin:0 auto}.screen .coordinate-board-slot{min-height:0;display:flex;align-items:center;justify-content:center;container-type:size}.screen .coordinate-training #coordinate-board,.screen .coordinate-training:has(.coordinate-choices) #coordinate-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh);max-width:100%;margin:0}.screen .coordinate-training .coordinate-choices{width:100%;max-width:440px;height:44px;margin:0 auto;gap:8px}.screen .coordinate-choices.choices-spacer{visibility:hidden;pointer-events:none}.screen .coordinate-training .coordinate-actions{width:100%;max-width:440px;min-height:42px;margin:0 auto}.screen .screen-nav button>small.offline-menu-note{display:inline;margin-left:8px;font-size:11px;font-weight:400;color:#777;white-space:nowrap}.screen .screen-nav button>small.platform-menu-note,.screen .screen-nav button>small.offline-menu-note{display:inline;font-size:11px;font-weight:400;line-height:1.4;margin-left:8px;color:#777;white-space:nowrap}.screen .screen-nav .unavailable-platform>small.platform-menu-note{color:inherit}.screen .coordinate-training{grid-template-rows:32px 58px 24px minmax(0,1fr) 44px 40px;gap:4px}.screen .coordinate-training .coordinate-prompt{height:58px}.screen .coordinate-training #coord-target{font-size:38px;line-height:38px}.screen .coordinate-training .coordinate-feedback-slot{height:20px}.screen .coordinate-training #coord-feedback{font-size:14px;line-height:18px;padding:1px 12px}.screen .coordinate-training .coordinate-status,.screen .coordinate-training .coordinate-choices,.screen .coordinate-training .coordinate-actions{width:var(--coordinate-board-size,100%);max-width:100%;margin-left:auto;margin-right:auto}.screen .coordinate-training .coordinate-status{height:24px}.screen .coordinate-training .coordinate-actions{min-height:40px}.screen .coordinate-training:has(.coordinate-choices) .coordinate-status{width:var(--coordinate-board-size,100%);max-width:100%;margin:0 auto}.screen .study-empty-guide{padding:14px;background:#f6f6f2;border:1px solid #c4c4bc;margin:14px 0}.screen .study-empty-guide h3{margin:0 0 8px;font-size:16px}.screen .study-empty-guide p{margin:6px 0;color:#444;font-size:13px;line-height:1.7}.screen .study-samples-title{font-size:15px;margin:20px 0 10px}.screen .study-samples{gap:8px;margin-top:0}.screen .study-samples>button{align-items:flex-start;flex-direction:column;gap:5px;padding:12px 14px}.screen input[type=file][hidden]{display:none!important}.screen .study-game-picker{display:grid;gap:8px;max-height:360px;overflow:auto;margin:12px 0}.screen .study-game-picker button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;padding:12px}.screen .study-game-picker strong{font-size:14px;font-weight:550}.screen .study-game-picker span{font-size:11px;color:#666}.screen .engine-strip{border:1px solid #aaa;background:#fafaf7;padding:7px 9px;margin:7px 0;max-width:100%}.screen .engine-strip-actions{display:flex;align-items:center;gap:8px}.screen .engine-strip-actions>strong{font-size:12px;margin-right:auto;font-weight:550}.screen .engine-strip-actions button{font-size:12px;min-height:30px;padding:4px 12px;line-height:20px}.screen .engine-strip-result{display:flex;align-items:center;gap:14px;min-height:23px;margin-top:4px;font-size:12px;color:#000}.screen .engine-strip-result>b{font-size:18px;min-width:48px;font-variant-numeric:tabular-nums}.screen .engine-strip-result small{margin-left:auto;font-size:11px;color:#666}.screen .review-content .device>.board{width:460px;height:460px;margin:0 auto}.screen .review-content .engine-strip{padding:5px 8px;margin:5px 0}.screen #study-engine{max-width:450px;margin:8px auto}.screen .analysis-workspace{display:grid;grid-template-columns:minmax(0,1fr) 11px 158px;gap:6px;align-items:start;position:relative}.screen .analysis-workspace>.board,.screen .analysis-workspace #study-board{width:100%;height:auto;aspect-ratio:1;margin:0;max-width:none}.screen .analysis-workspace .advantage-bar{align-self:stretch;position:relative;background:#222;border:1px solid #555;min-height:0;overflow:hidden}.screen .advantage-white{position:absolute;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #777}.screen .advantage-bar.bar-flipped .advantage-white{top:0;bottom:auto;border-top:0;border-bottom:1px solid #777}.screen .analysis-sidebar{min-width:0;align-self:stretch;height:0;min-height:100%;display:flex;flex-direction:column;border:1px solid #aaa;background:#fff;overflow:hidden}.screen .analysis-sidebar-head{display:flex;align-items:center;gap:7px;padding:7px 6px;background:#f4f4f0;border-bottom:1px solid #ccc}.screen .analysis-sidebar-head>strong{font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.screen .analysis-sidebar-head>small{font-size:9px;line-height:1.5;color:#555;margin-left:auto}.screen .analysis-sidebar-controls{display:flex;gap:4px;padding:5px;border-bottom:1px solid #ddd}.screen .analysis-sidebar-controls button{min-width:0;min-height:28px;padding:3px 5px;font-size:10px;flex:1;line-height:18px}.screen .analysis-sidebar-controls button[aria-pressed=true]{background:#222;color:#fff;border-color:#222}.screen .analysis-pv{padding:6px;font-size:11px;line-height:1.5;border-bottom:1px solid #ddd;height:44px;min-height:44px;overflow:auto;overflow-wrap:anywhere}.screen .analysis-move-table{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.screen .analysis-move-row{display:grid;grid-template-columns:17px minmax(0,1fr) minmax(0,1fr);align-items:stretch;border-bottom:1px solid #eee}.screen .analysis-move-row>small{font-size:10px;padding:7px 2px;color:#777;background:#f6f6f3;text-align:center}.screen .analysis-move-row>button{min-width:0;min-height:40px;padding:4px 3px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border:0;border-radius:0;background:#fff;gap:3px;line-height:1.2}.screen .analysis-move-row>button>span{font-size:12px;white-space:nowrap}.screen .analysis-move-row>button>small{font-size:9px;color:#666}.screen .analysis-move-row>button.selected-ply{background:#d1d1ce;box-shadow:inset 0 0 0 1px #333;font-weight:650}.screen .analysis-branch-note{display:block;padding:5px;font-size:9px;color:#555}.screen .engine-board-arrow{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;opacity:.65;overflow:visible}.screen .review-game-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;min-height:24px}.screen .review-game-heading strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.screen .review-navigation{display:flex;gap:6px;margin:10px 0 0}.screen .review-navigation button{flex:1;min-width:0;min-height:36px;padding:5px 6px;font-size:12px}.screen .review-position-status{margin:8px 0;font-size:12px;color:#222;line-height:1.6;min-height:20px}.screen .review-analysis-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.screen .review-analysis-tools button{min-height:40px;padding:7px;font-size:12px}.screen .study-chapter-heading{font-size:14px;margin:8px 0 12px}.screen .study-note-label{margin:12px 0 0;font-size:13px}.screen .study-note-actions{margin:8px 0 0;gap:6px}.screen .study-note-actions button{font-size:12px;min-height:36px;padding:6px 10px}.screen .study-record-row{display:flex;align-items:stretch;border:1px solid #bbb;border-radius:3px;overflow:hidden}.screen .study-record-row>button[data-study]{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:12px;border:0;border-radius:0}.screen .study-record-row>button[data-study-remove]{font-size:12px;border:0;border-left:1px solid #ccc;border-radius:0;padding:10px;min-width:48px}.screen .move-quality-badge{display:inline-flex;align-items:center;justify-content:center;min-width:13px;height:14px;margin-right:2px;padding:0 1px;font-size:9px;line-height:1;font-weight:650;border:1px solid #666;color:#000;background:#fff;vertical-align:middle}.screen .move-quality-badge.quality-blunder,.screen .move-quality-badge.quality-mistake{background:#111;color:#fff;border-color:#111}.screen .move-quality-detail{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:8px;border:1px solid #aaa;font-size:11px;margin:8px 0}.screen .move-quality-detail>strong{font-size:13px}.screen .move-quality-detail>span{color:#555}.screen .game-quality-summary{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#f3f3ef;border:1px solid #bbb;font-size:12px;margin:8px 0}.screen .game-quality-summary>strong{font-size:16px;font-variant-numeric:tabular-nums}.screen .library-quality-score{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:6px;font-size:12px}.screen .library-quality-score>small{font-size:10px;color:#777}.screen .library-quality-score b{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.screen .library-quality-pending{font-size:10px;color:#777;margin-top:5px}.screen #quality-help{display:inline-grid;place-items:center;width:22px;min-height:22px;height:22px;padding:0;margin-left:4px;font-size:12px;border-radius:50%;vertical-align:middle}.screen .review-game-heading #back-library{flex-shrink:0;min-height:28px;padding:3px 9px;font-size:12px;white-space:nowrap}.screen .review-game-heading>strong{min-width:0;flex:1}.screen .back-button{flex-shrink:0;min-height:28px;padding:3px 9px;font-size:12px;white-space:nowrap}.screen-header-actions .back-button{height:28px;min-width:44px;align-self:center}.notation-page{display:flex;flex-direction:column;gap:8px}.notation-page p{margin:0}.notation-paper{max-height:270px;overflow:auto;border:1px solid #aaa}.notation-paper-row{display:grid;grid-template-columns:36px 1fr 1fr;min-height:32px;border-bottom:1px solid #ddd}.notation-paper-row>*{padding:5px 8px;border-right:1px solid #ddd}.notation-page canvas{width:100%;height:110px;border:2px solid #222;touch-action:none;background:#fff}.notation-page .actions{flex-wrap:wrap}.notation-page .actions button{min-height:32px;padding:5px 10px}.notation-page #notation-candidates{max-height:100px;overflow:auto}.screen .paper-scoresheet{gap:7px}.screen .notation-sheet{border:1px solid #555}.screen .notation-sheet-head,.screen .notation-sheet-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr)}.screen .notation-sheet-head{height:26px;background:#f3f3f1;font-size:13px;text-align:center;align-items:center;border-bottom:1px solid #555}.screen .notation-sheet-row{height:49px;border-bottom:1px solid #aaa}.screen .notation-sheet-row:last-child{border-bottom:0}.screen .notation-row-number{font-size:12px;padding:7px 3px;border-right:1px solid #aaa}.screen .notation-ink-cell{position:relative;min-width:0;border-right:1px solid #aaa}.screen .notation-ink-cell:last-child{border-right:0}.screen .notation-ink-cell.selected-ink-cell{box-shadow:inset 0 0 0 2px #222}.screen .notation-ink-cell canvas{display:block;width:100%;height:100%;border:0;touch-action:none;background:#fff}.screen .recognized-san{position:absolute;right:3px;bottom:1px;font-size:9px;background:#fff;padding:0 2px;pointer-events:none}.screen .notation-sheet-footer{display:flex;align-items:center;gap:7px;font-size:11px}.screen .notation-sheet-footer #notation-selected{margin-left:auto}.screen .notation-sheet-footer button,.screen .notation-cell-tools button,.screen .notation-file-tools button{font-size:12px;min-height:28px;padding:3px 8px}.screen .notation-cell-tools,.screen .notation-file-tools{display:flex;gap:6px;flex-wrap:wrap}.screen .paper-scoresheet #notation-recognition{font-size:11px;min-height:16px}.screen .notation-ink-cell{min-height:0;height:48px;overflow:hidden}.screen .notation-ink-cell canvas{position:absolute;inset:0;width:100%;height:100%;min-height:0}.screen .paper-scoresheet .notation-cell-tools{display:none}.screen .notation-sheet-head{background:#fff}.screen .notation-sheet-head>strong:last-child,.screen .notation-ink-cell:nth-child(3){background:#efefed}.screen .notation-ink-cell:nth-child(3) canvas{background:#efefed}.screen .notation-sheet-row,.screen .notation-row-number,.screen .notation-ink-cell{border-color:#777}.screen .paper-scoresheet{height:100%;min-height:0;overflow:hidden;gap:6px}.screen .paper-scoresheet .tools-heading{margin:0;min-height:28px;flex-shrink:0}.screen .paper-scoresheet .tools-heading small{font-size:10px;color:#666}.screen .notation-paper-body{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding-right:2px}.screen .scoresheet-details{border:1px solid #777;margin-bottom:8px}.screen .scoresheet-details-row{display:flex;border-bottom:1px solid #777}.screen .scoresheet-details-row:last-child{border-bottom:0}.screen .scoresheet-details-row label{flex:1;min-width:0;margin:0;padding:2px 4px;border-right:1px solid #aaa;font-size:9px;line-height:12px}.screen .scoresheet-details-row label:last-child{border:0}.screen .scoresheet-details input{width:100%;min-height:21px;height:21px;padding:1px 0;margin:0;border:0;border-radius:0;font-size:12px;background:transparent}.screen .scoresheet-details-row:last-child label:last-child{background:#efefed}.screen .notation-sheet-footer{flex-shrink:0;justify-content:space-between;gap:12px}.screen .notation-sheet-footer button{min-width:90px;min-height:44px;font-size:26px;padding:3px 18px}.screen .notation-sheet-footer #notation-selected{display:none}.screen .scoresheet-result-signatures{flex-shrink:0;border:1px solid #555;background:#fff}.screen .scoresheet-result{height:32px;display:flex;align-items:center;justify-content:space-around;border-bottom:1px solid #777;font-size:11px}.screen .scoresheet-result label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px}.screen .scoresheet-result input{width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#000}.screen .scoresheet-signatures{display:grid;grid-template-columns:1fr 1fr}.screen .scoresheet-signature{height:64px;position:relative;min-width:0}.screen .scoresheet-signature:first-child{border-right:1px solid #777}.screen .scoresheet-signature>span{position:absolute;top:3px;left:5px;font-size:9px;pointer-events:none}.screen .scoresheet-signature canvas{position:absolute;inset:15px 0 0;width:100%;height:48px;border:0;background:transparent;touch-action:none}.screen .notation-file-tools{flex-shrink:0;justify-content:space-between}.screen .paper-scoresheet #notation-recognition{margin:0;flex-shrink:0;min-height:0;font-size:10px}.screen .paper-scoresheet .tools-heading{justify-content:flex-start;gap:10px;align-items:center}.screen .paper-scoresheet .notation-title-note{font-size:9px;white-space:nowrap;line-height:1.3}.screen .paper-scoresheet #notation-recognition[hidden]{display:none}.screen .scoresheet-signature{height:42px}.screen .scoresheet-signature canvas{height:28px;inset:13px 0 0}.screen .notation-paper-body{display:flex;flex-direction:column;overflow:hidden;padding-right:0}.screen .scoresheet-details{flex-shrink:0}.screen .notation-sheet{flex:1;min-height:0;display:flex;flex-direction:column}.screen .notation-sheet-head{flex:0 0 26px}.screen .notation-sheet-row{flex:1;min-height:0;height:auto;max-height:49px}.screen .notation-ink-cell{height:100%;min-height:0}.screen .notation-ink-cell canvas{height:100%}.screen .paper-scoresheet .tools-heading{align-items:baseline}.screen .scoresheet-details input{min-height:18px;height:18px}.screen .notation-sheet{flex:0 0 auto}.screen .notation-sheet-row{flex:0 0 38px;height:38px;min-height:38px;max-height:38px}.screen .paper-scoresheet{gap:4px}.screen .scoresheet-details-row{height:36px;flex-shrink:0}.screen .scoresheet-details-row label{height:100%;display:flex;flex-direction:column;justify-content:flex-start}.screen .scoresheet-details-row label>span{flex:0 0 12px;line-height:12px}.screen .scoresheet-details input{flex:0 0 19px;min-height:19px;height:19px;line-height:19px}.screen .paper-scoresheet #notation-candidates:empty{display:none}.screen .notation-sheet{flex:1;min-height:0}.screen .notation-unused-row .notation-ink-cell:last-child{background:#efefed}.screen .notation-sheet-row{flex:1 1 0;height:auto;min-height:0;max-height:none}.screen .table-clock-page{height:100%;display:flex;flex-direction:column;gap:10px}.screen .table-clock-heading{display:flex;align-items:center;gap:12px;flex-shrink:0}.screen .table-clock-heading h2{margin:0;font-size:20px}.screen .table-clock-heading>span{margin-left:auto;font-size:15px;font-variant-numeric:tabular-nums}.screen .table-clock-heading button{font-size:12px;min-height:30px;padding:4px 10px}.screen .table-clock-panel{flex:1;min-height:0;display:grid;place-items:center;border:2px solid #888;border-radius:3px;background:#f6f6f3;color:#333;padding:12px;touch-action:manipulation;opacity:1}.screen .table-clock-panel:disabled{opacity:1;color:#555;background:#f6f6f3;border-color:#aaa;cursor:default}.screen .table-clock-panel.clock-active{background:#171a15;color:#fff;border-color:#000}.screen .table-clock-panel.clock-flagged{background:#fff;color:#000;border:5px double #000}.screen .clock-panel-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none}.screen .clock-black .clock-panel-content{transform:rotate(180deg)}.screen .table-clock-panel time{font-size:72px;line-height:1.1;letter-spacing:1px;font-weight:600;font-variant-numeric:tabular-nums}.screen .table-clock-panel .clock-panel-content>span{font-size:17px}.screen .table-clock-panel small{font-size:13px}.screen .table-clock-middle{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px}.screen .table-clock-middle>span{font-size:13px;min-width:74px}.screen .table-clock-middle>div{display:flex;gap:7px}.screen .table-clock-middle button{min-height:40px;padding:5px 13px;font-size:14px}.screen .table-clock-page>p{margin:0;font-size:10px;flex-shrink:0}.screen .clock-time-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.screen .clock-time-presets button{min-height:45px;font-size:20px}.screen .clock-custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.screen .tools-list>.tool-external-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;min-height:60px;border:1px solid #c6c9bc;border-radius:4px;text-decoration:none;background:#fff;color:#111}.screen .opening-directory{height:100%;display:flex;flex-direction:column;gap:8px}.screen .opening-directory .tools-heading{margin:0}.screen .opening-source{display:flex;justify-content:space-between;align-items:center;font-size:11px}.screen .opening-source button{font-size:10px;padding:3px 8px;min-height:26px}.screen #opening-search{font-size:13px;padding:8px;min-height:36px;margin:0}.screen .opening-volumes{display:flex;gap:6px}.screen .opening-volumes button{flex:1;min-height:32px;padding:3px;font-size:12px}.screen .opening-volumes .active{background:#222;color:#fff}.screen .opening-list{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;overflow:hidden}.screen .opening-list>button{flex:1;min-height:0;max-height:69px;padding:6px 10px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}.screen .opening-list strong{font-size:13px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.screen .opening-list span{font-size:11px;color:#555}.screen .opening-list small{font-size:10px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.screen .opening-path{font-size:12px;margin:0;line-height:1.3}.screen .opening-pagination{display:flex;justify-content:space-between;align-items:center;font-size:12px}.screen .opening-pagination button{min-width:85px;min-height:40px;padding:3px 15px;font-size:23px}.screen .opening-detail{height:100%;display:flex;flex-direction:column;gap:7px}.screen .opening-detail .tools-heading{margin:0}.screen .opening-detail h3{font-size:15px;line-height:1.25;margin:0}.screen .opening-position{display:flex;justify-content:space-between;font-size:11px}.screen #opening-board{width:min(100%,350px);flex-shrink:0;align-self:center}.screen .opening-move-line{min-height:32px;max-height:64px;overflow:auto;display:flex;flex-wrap:wrap;gap:3px}.screen .opening-move-line button{padding:3px 6px;font-size:12px;min-height:27px;border:0}.screen .opening-move-line .selected-ply{background:#ccc;outline:1px solid #222}.screen .opening-board-nav{display:flex;gap:5px;flex-shrink:0}.screen .opening-board-nav button{flex:1;padding:4px 5px;min-height:35px;font-size:12px}.screen .opening-explorer-page{display:flex;flex-direction:column;gap:6px;height:100%}.screen .opening-explorer-page .tools-heading{margin:0}.screen .explorer-opening-name{margin:0;min-height:0;font-size:12px;line-height:1.25}.screen .explorer-nav{display:flex;gap:6px}.screen .explorer-nav button{flex:1;min-height:30px;padding:3px 8px;font-size:12px}.screen .explorer-explanation{font-size:11px;line-height:1.45;padding:6px 8px;border:1px solid #bbb;max-height:105px;overflow:auto}.screen .explorer-explanation>strong{font-size:12px}.screen .explorer-explanation p{margin:3px 0}.screen .explorer-continuation-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px}.screen .explorer-continuation-heading button{padding:1px 8px;min-height:24px}.screen .explorer-continuations{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:hidden}.screen .explorer-continuations button{display:flex;align-items:center;gap:12px;padding:5px 9px;min-height:29px;text-align:left}.screen .explorer-continuations strong{min-width:36px;font-size:13px}.screen .explorer-continuations small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen .explorer-offline-note{margin:0;font-size:9px;color:#666}.screen .explorer-target{box-shadow:inset 0 0 0 2px #555}.screen .opening-explorer-page .analysis-workspace{flex-shrink:0}.screen .opening-explorer-page .analysis-sidebar-controls button{font-size:10px}.screen .wiki-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.screen .wiki-preview-heading button{font-size:10px;min-height:23px;padding:2px 7px}.screen .wiki-preview-prose{max-height:70px;overflow:hidden;font-size:11px;line-height:1.4}.screen .wiki-read-more{display:block;font-size:10px;margin-top:5px;text-decoration:underline}.screen .wiki-attribution{display:block;font-size:8px;color:#666;margin-top:4px}.screen .wiki-fallback{font-size:10px}.screen .wiki-fallback>strong{font-size:10px}.screen .wiki-reader .tools-heading{margin-bottom:8px}.screen .wiki-reader-body{font-size:12px;line-height:1.5;max-height:430px;overflow:auto}.screen .wiki-reader-body h3{font-size:15px;line-height:1.3;margin:8px 0}.screen .wiki-reader-body p{font-size:12px;line-height:1.5;margin:7px 0;white-space:pre-wrap}.screen .wiki-reader-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:12px}.screen .wiki-reader-pagination button{min-height:34px;min-width:72px;padding:3px 12px;font-size:22px}.screen .explorer-continuations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,33px);gap:4px;flex-shrink:0;overflow:hidden}.screen .explorer-continuations button{min-width:0;min-height:33px;height:33px;padding:3px 7px;gap:6px}.screen .explorer-continuations strong{font-size:13px;min-width:27px;flex-shrink:0}.screen .explorer-continuations small{min-width:0;font-size:9px}.screen .explorer-continuations>p{grid-column:1/-1;font-size:11px;margin:0}.screen .wiki-preview-heading{justify-content:flex-end}.screen dialog:has(.wiki-reader){height:590px;max-height:calc(100% - 40px);box-sizing:border-box}.screen #dialog-body:has(.wiki-reader){height:100%}.screen .wiki-reader{height:100%;display:flex;flex-direction:column;min-height:0}.screen .wiki-reader .tools-heading{flex:none}.screen .wiki-reader-body{flex:1;min-height:0;max-height:none;scroll-behavior:auto;animation:none;transition:none}.screen .wiki-reader-pagination,.screen .wiki-reader-source,.screen .wiki-reader>.wiki-attribution{flex:none}.screen .wiki-reader-source{min-height:20px}.screen .opening-detail-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;min-height:0;flex:1}.screen .opening-detail-chess{min-width:0;display:flex;flex-direction:column;gap:6px}.screen .opening-detail-expanded #opening-board{width:100%;max-width:none}.screen .opening-detail-reading{min-width:0;display:flex;flex-direction:column;gap:8px}.screen #opening-description{flex:1;min-height:0;overflow:auto;border:1px solid #ccc;padding:9px;font-size:12px;line-height:1.5}.screen #opening-description .wiki-preview-prose{max-height:none;font-size:12px}.screen .opening-detail-actions{display:flex;flex-direction:column;gap:7px}.screen .opening-detail-actions button{min-height:38px}.screen .opening-continuations{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,44px);gap:5px;flex:none}.screen .opening-continuations button{text-align:left;min-width:0;padding:4px 8px;display:flex;align-items:center;gap:8px}.screen .opening-continuations strong{font-size:16px}.screen .opening-continuations small{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen .opening-detail-expanded .opening-board-nav button{padding:3px;min-width:0}.screen .opening-detail-expanded .opening-move-line{max-height:70px}.screen .opening-detail-reading{min-height:0}.screen .opening-detail-actions{flex-shrink:0}.screen .opening-detail-expanded .opening-detail-columns{flex:none;height:390px}.screen .opening-detail-expanded .opening-board-nav{margin-top:auto}.screen .opening-detail-expanded .explorer-continuation-heading{flex-shrink:0}.puzzle-opening-family{border-bottom:1px solid #888;padding:14px 0}.puzzle-opening-family summary{cursor:pointer;font-size:1.1em;font-weight:600;padding:8px 0}.puzzle-opening-family .tools-list a{display:flex;justify-content:space-between;gap:16px;padding:12px;color:inherit;border-bottom:1px solid #ccc;text-decoration:none}.puzzle-opening-family a:hover{text-decoration:underline}.puzzle-opening-family .tools-list button{width:100%;text-align:left}.puzzle-opening-family .tools-list button span{font-variant-numeric:tabular-nums}.puzzle-theme-group summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:58px}.puzzle-theme-group summary::-webkit-details-marker{display:none}.puzzle-theme-group[open] .theme-chevron{transform:rotate(180deg)}.theme-chevron{font-size:1.4em}.tools-list .puzzle-opening-entry{display:flex;align-items:center;justify-content:space-between;min-height:72px}.puzzle-opening-entry>span{font-size:2em}.puzzle-home-menu{border:1px solid #aaa;border-radius:14px;overflow:hidden;margin-top:24px}.screen .puzzle-home-menu>button{width:100%;display:grid;grid-template-columns:34px 1fr 20px;align-items:center;gap:20px;min-height:106px;padding:20px 24px;text-align:left;background:transparent;border:0;border-bottom:1px solid #bbb;border-radius:0}.screen .puzzle-home-menu>button:last-child{border-bottom:0}.puzzle-home-menu svg{width:30px;height:30px}.puzzle-home-menu strong{font-size:22px;font-weight:550}.puzzle-home-menu>button>span{font-size:28px;text-align:right;color:#777}.opening-family-row{border-bottom:0;padding:0}.opening-family-row>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:88px;padding:16px 2px}.opening-family-row>summary::-webkit-details-marker{display:none}.opening-family-title{display:flex;flex-direction:column;gap:3px;font-weight:500;font-size:21px}.puzzle-count{color:#858585;font-size:17px;font-weight:400;font-variant-numeric:tabular-nums}.opening-family-chevron{font-size:26px;color:#777}.opening-family-row[open]>.opening-family-chevron,.opening-family-row[open]>summary>.opening-family-chevron{transform:rotate(180deg)}.opening-family-row .tools-list{margin:0 0 12px;padding:4px 12px;background:#f3f3f1;border-radius:10px}.opening-family-row .tools-list>button{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:66px}.opening-family-row .tools-list>button strong{font-weight:500}.screen .puzzle-theme-opening,.screen .puzzle-theme-group>summary{box-sizing:border-box;width:100%;min-height:86px;margin:0;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:transparent;border:0;border-radius:0;font-size:1.1em;font-weight:600;line-height:1.5;text-align:left;color:inherit}.screen .puzzle-theme-opening{border-bottom:1px solid #888}.puzzle-theme-group{padding:0}.screen .puzzle-theme-opening .theme-chevron,.screen .puzzle-theme-group .theme-chevron{font-size:1.4em;font-weight:400;color:inherit}.screen.puzzle-screen .screen-header{height:50px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;position:relative;padding:0 10px}.screen.puzzle-screen .screen-brand{display:none}.screen.puzzle-screen .screen-header>span{grid-column:2;grid-row:1;text-align:center;font-size:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen.puzzle-screen .screen-header-actions{display:contents}.screen.puzzle-screen .screen-header-actions .back-button,.screen.puzzle-screen .screen-header-actions .header-back{grid-column:1;grid-row:1;display:grid;place-items:center;width:40px;height:44px;min-height:44px;padding:8px;border:0;background:transparent}.screen.puzzle-screen .screen-header-actions .back-button svg,.screen.puzzle-screen .screen-header-actions .header-back svg{width:26px;height:26px}.screen.puzzle-screen main{top:50px}.screen.puzzle-screen #content>h2,.screen.puzzle-screen #content>.tools-heading{display:none}.screen.puzzle-screen .puzzle-sort-control{grid-column:3;grid-row:1;position:relative;z-index:80}.screen .puzzle-sort-button{display:grid;place-items:center;width:40px;height:44px;min-height:44px;padding:8px;border:0;background:transparent}.puzzle-sort-button svg{width:25px;height:25px}.screen #puzzle-opening-sort-menu{position:absolute;top:46px;right:0;width:210px;z-index:90;border:1px solid #aaa;border-radius:12px;background:#f4f4f2;box-shadow:0 5px 18px #0002;overflow:hidden}.screen #puzzle-opening-sort-menu[hidden]{display:none}.screen #puzzle-opening-sort-menu>button{width:100%;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-size:17px;padding:12px 18px;border:0;border-bottom:1px solid #ccc;background:transparent}.screen #puzzle-opening-sort-menu>button:last-child{border-bottom:0}.screen.puzzle-screen .puzzle-settings-control{grid-column:3;grid-row:1}.screen.puzzle-screen:has(.puzzle-settings-control) #screen-menu-toggle{display:none}.screen.puzzle-screen #puzzle-play-settings{width:40px;height:44px;min-height:44px;border:0;background:transparent;padding:8px}.puzzle-settings-control svg{width:26px;height:26px}.screen .puzzle-play{height:100%;display:flex;flex-direction:column;gap:0}.screen .puzzle-turn{display:flex;align-items:center;gap:16px;min-height:104px;padding:20px 0}.puzzle-turn>img{width:58px;height:58px;padding:4px;background:#ddd;border-radius:5px}.puzzle-turn>div{display:flex;flex-direction:column;gap:5px}.puzzle-turn strong{font-size:21px;font-weight:600}.puzzle-turn span{font-size:15px;color:#666}.screen .puzzle-play #bank-puzzle-board{width:100%;max-width:none;flex-shrink:0;margin:0;aspect-ratio:1}.screen .puzzle-rating{padding:14px 0 6px;font-size:16px;color:#777}.puzzle-rating strong{font-size:21px;color:#222;margin-left:4px}.screen #bank-puzzle-feedback{min-height:22px;font-size:14px;margin:0}.screen .puzzle-play-controls{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:14px 0 4px;min-height:60px}.screen .puzzle-play-controls button{display:grid;place-items:center;width:54px;height:48px;border:0;background:transparent;padding:10px}.puzzle-play-controls svg{width:27px;height:27px}.screen dialog:has(.puzzle-settings-sheet){inset:auto 0 0;width:100%;max-width:100%;max-height:90%;margin:0;border:0;border-radius:16px 16px 0 0;padding:20px}.puzzle-settings-sheet header{display:flex;align-items:center;justify-content:space-between}.puzzle-settings-sheet h2{font-size:22px;margin:5px 0 20px}.puzzle-settings-sheet header button{border:0;font-size:26px;padding:4px 10px}.screen .puzzle-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:16px;width:100%;border:0;border-bottom:1px solid #ccc;border-radius:0;background:#f2f2ef;font-size:17px;margin:0}.puzzle-setting-row input[role=switch]{appearance:none;width:48px;height:28px;border:1px solid #999;border-radius:20px;background:#ccc;position:relative;flex:none;margin:0}.puzzle-setting-row input[role=switch]:before{content:"";position:absolute;left:2px;top:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #777}.puzzle-setting-row input[role=switch]:checked{background:#444}.puzzle-setting-row input[role=switch]:checked:before{left:22px}.screen .puzzle-difficulty-sheet>button{width:100%;min-height:60px;border:0;border-bottom:1px solid #ccc;border-radius:0;font-size:20px;background:#f3f3f1}.screen .puzzle-difficulty-sheet>button[aria-checked=true]{font-weight:700}.screen #puzzle-difficulty-cancel{margin-top:12px}.screen .puzzle-play{display:grid;grid-template-rows:80px minmax(0,1fr)40px 22px 52px;gap:0;min-height:0}.screen .puzzle-turn{min-height:0;padding:8px 0}.screen .puzzle-turn>img{height:52px;width:52px}.puzzle-board-slot{min-height:0;container-type:size;display:flex;align-items:center;justify-content:center}.screen .puzzle-play #bank-puzzle-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh);aspect-ratio:1;max-width:100%;margin:0}.screen .puzzle-rating{display:flex;align-items:center;justify-content:space-between;padding:4px 0}.screen #bank-continue{font-size:14px;min-height:32px;padding:4px 12px}.screen .puzzle-play-controls{min-height:0;margin:0;padding:4px 0}.screen .puzzle-play-controls button{height:44px}.screen .square.puzzle-hint-square{outline:4px solid #555;outline-offset:-5px}.screen>.puzzle-sheet-overlay{position:absolute;inset:0;z-index:200;overflow:hidden;border-radius:0}.screen .puzzle-sheet-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#0006;padding:0}.screen .puzzle-sheet-panel{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:92%;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:22px;box-sizing:border-box;box-shadow:0 -3px 14px #0002}.screen .puzzle-sheet-panel .puzzle-settings-sheet{width:100%;box-sizing:border-box}.screen .puzzle-sheet-panel header{width:100%}.puzzle-action-icon{display:block;width:26px;height:26px;object-fit:contain}.puzzle-menu-icon{width:30px;height:30px;object-fit:contain}.puzzle-menu-chevron{width:18px;height:18px;opacity:.65}.theme-chevron img,.opening-family-chevron img{display:block;width:20px;height:20px;opacity:.7}.puzzle-play-controls .puzzle-action-icon{width:27px;height:27px;opacity:.7}.screen .puzzle-settings-control .puzzle-action-icon{width:26px;height:26px}.screen .header-back .puzzle-action-icon,.screen .back-button .puzzle-action-icon{width:25px;height:25px}.screen .puzzle-turn>img.puzzle-feedback-icon{background:none;padding:0;object-fit:contain;width:40px;height:40px;margin:0 6px}.screen .puzzle-turn>img.puzzle-side-king{background:#ddd}.puzzle-turn.puzzle-state-complete{gap:12px}.puzzle-turn.puzzle-state-bad strong{color:#333}.puzzle-session-strip{min-height:0}.screen .puzzle-play-controls button{flex:0 1 54px}.screen #bank-continue .puzzle-action-icon{opacity:1}.screen .puzzle-actions-sheet>button{display:block;width:100%;min-height:54px;border:0;border-bottom:1px solid #ccc;font-size:17px}.screen .puzzle-analysis{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 30px minmax(64px,110px) 42px 52px;gap:0}.analysis-board-slot{min-height:0;container-type:size;display:flex;align-items:center;justify-content:center}.screen #analysis-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh);aspect-ratio:1;margin:0}.analysis-tabs{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #999;font-size:14px;padding:0 8px}.analysis-moves{overflow:auto;overscroll-behavior:contain;padding:4px 8px;border-bottom:1px solid #aaa}.analysis-move-row{display:inline-flex;align-items:center;gap:8px;margin:2px 14px 2px calc(var(--variation-depth)*12px);font-size:16px}.analysis-move-row>span{color:#777}.analysis-move-row button,.analysis-start,.analysis-lines button{border:0;background:none;padding:4px 8px;min-height:30px;font-size:16px}.analysis-variation{border-left:2px solid #aaa;padding-left:8px}.analysis-moves button[aria-current=step]{background:#ddd;font-weight:700;outline:1px solid #555}.analysis-start{font-size:12px;color:#666}.analysis-lines{min-height:0;overflow:auto;white-space:nowrap;padding:3px 8px}.screen .analysis-controls{margin:0;padding:3px 0}.screen .analysis-controls button{min-height:42px}.screen #analysis-engine[aria-pressed=true]{background:#ddd;border-bottom:3px solid #333}.screen .puzzle-analysis .analysis-moves button{line-height:1.2}.screen .puzzle-analysis .analysis-move-row{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:4px;margin:0;padding:0 0 0 calc(var(--variation-depth)*10px);min-height:32px;border-bottom:0;font-size:16px}.screen .analysis-move-row .analysis-move-number{color:#777}.screen .puzzle-analysis .analysis-move-row button{width:100%;min-width:0;text-align:left;min-height:30px;margin:0;padding:4px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen .analysis-move-row .analysis-empty{padding:4px 7px;color:#888}.screen .analysis-start{display:block;width:auto;min-height:24px;padding:2px 4px}.screen .challenge-intro{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.challenge-intro>img{width:64px;height:64px}.challenge-intro>p{font-size:17px;text-align:center}.screen .challenge-intro>button,.screen .challenge-recap>button{min-height:48px;min-width:150px;font-size:20px}.puzzle-metrics{display:flex;justify-content:space-around;gap:12px;padding:16px 0}.puzzle-metrics>div{text-align:center;display:flex;flex:1;flex-direction:column;gap:6px}.puzzle-metrics strong{font-size:26px}.puzzle-metrics span{color:#666;font-size:13px}.screen .challenge-play{height:100%;min-height:0;display:grid;grid-template-rows:66px minmax(0,1fr) 42px 24px 52px}.challenge-status{display:flex;align-items:center;justify-content:space-between;padding:8px}.challenge-status>strong{font-size:36px}.challenge-status time{font-size:28px;font-variant-numeric:tabular-nums}.challenge-status>span{font-size:14px;color:#666}.challenge-board-slot{min-height:0;container-type:size;display:flex;align-items:center;justify-content:center}.screen #challenge-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh);aspect-ratio:1;margin:0}.challenge-combo{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px;font-size:14px}.challenge-combo progress{flex:1;accent-color:#333;max-width:70%;height:12px}.challenge-feedback{text-align:center;font-size:14px}.screen .challenge-play .puzzle-play-controls{margin:0;padding:3px 0}.screen #challenge-skip{display:flex;align-items:center;gap:6px;flex:0 1 auto;font-size:14px}.challenge-recap{height:100%;overflow:auto;text-align:center}.challenge-score{display:block;font-size:56px;margin:12px}.puzzle-filter-bar{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:8px 0}.screen .puzzle-filter-bar button{min-height:32px;padding:4px 10px;font-size:14px}.puzzle-filter-bar [aria-pressed=true]{background:#ddd;font-weight:700}.screen .puzzle-filter-bar select{font-size:15px;min-height:34px;padding:4px 9px;width:auto}.challenge-recap-list>button{display:grid;grid-template-columns:30px 1fr 1fr 24px;align-items:center;width:100%;padding:10px;border:0;border-bottom:1px solid #ddd;background:none;font-size:17px;text-align:left}.puzzle-dashboard,.puzzle-history{height:100%;overflow:auto;min-height:0}.screen .puzzle-dashboard h3,.screen .puzzle-history h3{font-size:17px;margin:16px 0 8px}.puzzle-theme-stat{display:grid!important;grid-template-columns:1fr auto;width:100%;gap:5px;border:0;border-bottom:1px solid #ddd!important;background:none;text-align:left;padding:10px!important}.puzzle-theme-stat strong{font-size:16px}.puzzle-theme-stat small{grid-column:1/-1;color:#666}.puzzle-empty{color:#888;text-align:center;font-size:14px;padding:12px}.puzzle-activity-chart{display:flex;align-items:flex-end;height:100px;gap:4px;overflow:auto;border-bottom:1px solid #999;margin:10px 0}.puzzle-activity-chart>div{flex:1;min-width:26px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px}.puzzle-activity-chart i{display:block;width:14px;background:#777}.puzzle-activity-chart small{white-space:nowrap;font-size:9px}.screen .puzzle-history-entry{display:grid;grid-template-columns:72px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;padding:10px 0;border:0;border-bottom:1px solid #ddd;background:none;text-align:left}.puzzle-history-entry>div:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.puzzle-history-entry strong{font-size:16px}.puzzle-history-entry span,.puzzle-history-entry small{font-size:12px;color:#666}.screen .puzzle-history-board{width:72px;height:72px;min-width:0;margin:0;pointer-events:none;background:#eee}.puzzle-history-board small,.puzzle-history-board .check{display:none}.puzzle-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 0;font-size:13px}.screen .puzzle-pagination button{font-size:13px;min-height:32px}.puzzle-loading{padding:60px 0;text-align:center;color:#777}.screen #challenge-skip{min-width:140px;width:auto;white-space:nowrap}.screen .challenge-play .puzzle-play-controls{justify-content:space-around}.challenge-archive{height:100%;overflow:auto}.challenge-day{display:grid;grid-template-columns:1fr auto auto;gap:14px;padding:14px 0;border-bottom:1px solid #ccc;font-size:14px}.screen .challenge-intro #challenge-records{font-size:15px;min-height:36px}.screen{--bottom-navigation-height:58px}.screen main{bottom:var(--bottom-navigation-height)}.screen .bottom-navigation{position:absolute;left:0;right:0;bottom:0;height:var(--bottom-navigation-height);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;background:#fff;border-top:1px solid #999;z-index:42}.screen .bottom-navigation>button,.screen .bottom-navigation #screen-menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:5px 2px;border:0;border-radius:0;background:#fff;color:#777;font-size:12px;line-height:15px}.screen .bottom-navigation svg{width:25px;height:25px;flex-shrink:0}.screen .bottom-navigation>button.active{color:#000;font-weight:650}.screen .bottom-navigation>button.active svg{stroke-width:2.3}.screen .bottom-navigation>button:focus-visible{outline:2px solid #111;outline-offset:-4px}.screen .bottom-navigation #screen-menu-toggle[aria-expanded=true]{background:#e3e3df;color:#000}.screen #navigation-backdrop,.screen .screen-nav,.screen .context{bottom:var(--bottom-navigation-height)}.screen #content:has(.play-layout) .device{container-type:size}.screen .device>.board{width:min(480px,calc(100cqh - 160px));height:auto;aspect-ratio:1}.screen .opening-detail-expanded .opening-detail-columns{height:332px}.screen dialog:has(.wiki-reader){height:532px;max-height:calc(100% - 98px)}.screen .home-match-grid>button{min-height:84px}.screen .screen-header{gap:8px}.screen .screen-header>span{min-width:0;flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen .screen-header-actions{flex-shrink:0}.screen .device-status{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-shrink:0;color:#111;white-space:nowrap;font-size:11px;line-height:1;font-variant-numeric:tabular-nums}.screen .device-time{font-size:12px;line-height:1;font-weight:550}.screen .device-wifi{position:relative;display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center}.screen .device-wifi>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.screen .device-wifi>small{position:absolute;right:-3px;top:0;font-size:8px;background:#fff;line-height:9px}.screen .wifi-slash{position:absolute;left:8px;top:0;height:20px;width:1.5px;background:#111;transform:rotate(-40deg);box-shadow:0 0 0 1px #fff}.screen .device-battery-percent{font-size:11px}.screen .device-battery{width:27px;height:16px;flex-shrink:0}.screen.puzzle-screen .screen-header{grid-template-columns:44px minmax(0,1fr) auto auto;gap:6px}.screen.puzzle-screen .device-status{grid-column:4;grid-row:1}.screen.puzzle-screen .screen-header-actions #screen-settings{grid-column:3;grid-row:1}.screen .screen-nav .nav-version{display:block;margin-top:auto;padding:14px 20px;border-top:1px solid #ddd;font-size:10px;color:#666;line-height:1.4}.screen .bottom-navigation>button>span{display:block;color:inherit;font-size:12px;line-height:15px;padding-top:0;white-space:nowrap}.screen.puzzle-screen .screen-header{height:36px;display:flex;justify-content:space-between;gap:8px;padding:0 14px;z-index:60}.screen.puzzle-screen .screen-brand{display:block;flex-shrink:0}.screen.puzzle-screen .screen-header>span{flex:1;font-size:11px;font-weight:400}.screen.puzzle-screen .screen-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.screen.puzzle-screen .screen-header-actions .back-button,.screen.puzzle-screen .screen-header-actions .header-back,.screen.puzzle-screen #puzzle-play-settings{width:28px;height:28px;min-height:28px;min-width:28px;padding:4px}.screen.puzzle-screen .screen-header-actions .back-button svg,.screen.puzzle-screen .screen-header-actions .header-back svg,.screen.puzzle-screen .screen-header-actions .puzzle-action-icon{width:20px;height:20px}.screen.puzzle-screen main{top:36px}.screen.module-content-header .screen-header>span,.screen.module-content-header .screen-header-actions{display:none}.screen.module-content-header .screen-header{justify-content:space-between}.screen.puzzle-screen #content>h2{display:block;font-size:20px;margin:0 0 12px}.screen.puzzle-screen #content>.tools-heading{display:flex;margin-bottom:12px}.screen #learn-root .learn-head{align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}.screen #learn-root .learn-head h2{display:block;flex:1;font-size:20px;margin:0}.screen #learn-root .learn-head .back-button{order:2}.screen #learn-root .learn-head .learn-select{order:3}.screen.puzzle-screen #content>.puzzle-settings-control{display:flex;justify-content:flex-end;margin-bottom:8px}.screen.puzzle-screen #content .puzzle-sort-control{position:relative;z-index:10}.screen.puzzle-screen:has(.puzzle-settings-control) #screen-menu-toggle{display:flex}.screen .opening-list>button{flex:1 1 0;max-height:none;gap:2px;padding:5px 10px;overflow:hidden}.screen .opening-list>button>strong,.screen .opening-list>button>span,.screen .opening-list>button>small{flex-shrink:0}.screen .opening-list strong{line-height:1.25;-webkit-line-clamp:1;max-width:100%}.screen .opening-list span,.screen .opening-list small{line-height:1.25}.screen .license-directory{height:100%;display:flex;flex-direction:column;gap:8px}.screen .license-directory h3{font-size:14px;margin:0}.screen .license-directory>small{font-size:10px;line-height:1.3}.screen .license-cards{flex:1;min-height:0;display:grid;grid-template-rows:repeat(3,1fr);gap:7px}.screen .license-cards article{border:1px solid #bbb;padding:8px;display:flex;flex-direction:column;gap:3px;min-height:0}.screen .license-cards strong{font-size:13px}.screen .license-cards small{font-size:10px}.screen .license-cards p{font-size:11px;line-height:1.35;margin:2px 0;flex:1}.screen .license-cards a,.screen .license-links a{font-size:11px;color:#111;text-decoration:underline}.screen .license-links{display:flex;justify-content:space-between;gap:8px}.screen .license-directory{gap:10px;height:auto}.screen .license-groups{display:flex;flex-direction:column;gap:10px}.screen .license-group{border:1px solid #bbb}.screen .license-group h4{margin:0;padding:6px 9px;background:#f0f0ed;font-size:11px;line-height:1.35;font-weight:600}.screen .license-source-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;font-size:12px;line-height:1.35;color:#111;text-decoration:none;min-height:31px;box-sizing:border-box}.screen .license-source-row+.license-source-row{border-top:1px solid #ddd}.screen .license-directory .opening-pagination{margin-top:2px}.screen .license-directory{gap:8px}.screen .license-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:start}.screen .license-group{min-width:0}.screen .license-group h4{padding:4px 7px;font-size:10px;line-height:1.25;overflow-wrap:anywhere}.screen .license-source-row{padding:4px 7px;font-size:11px;line-height:1.25;min-height:25px;gap:4px}.screen .license-source-row>span:first-child{min-width:0;overflow-wrap:anywhere}.screen .license-source-row>span:last-child{flex-shrink:0}.screen .license-links{margin-top:2px}.screen button.license-source-row{width:100%;border:0;border-radius:0;background:#fff;text-align:left;font-weight:400;justify-content:space-between}.screen button.license-source-row+.license-source-row{border-top:1px solid #ddd}.screen .license-links button{padding:4px 8px;min-height:30px;font-size:11px}.screen .license-detail h2{font-size:18px}.screen .license-detail h3{font-size:14px}.screen .license-detail p{font-size:13px;line-height:1.6}.screen .license-source-url{overflow-wrap:anywhere}.screen .license-plain-text{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.35 monospace;margin:10px 0;max-height:480px;overflow:auto}.screen .license-links{justify-content:flex-start;gap:18px;margin-top:8px;align-items:center}.screen .license-links a{display:inline-block;text-decoration:underline;text-underline-offset:2px;font-size:11px;line-height:1.5;padding:3px 0}.screen .about-device{display:flex;flex-direction:column;gap:14px}.screen .device-information{margin:0;border-top:1px solid #bbb}.screen .device-information>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 2px;border-bottom:1px solid #ddd;font-size:13px;line-height:1.35}.screen .device-information dt{color:#555;flex-shrink:0}.screen .device-information dd{margin:0;text-align:right;overflow-wrap:anywhere}.screen .about-license-entry{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 10px;font-size:13px;text-align:left}.screen main:has(.about-device){overflow-y:auto;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none}.screen main:has(.about-device)::-webkit-scrollbar{display:none}.screen .about-device{padding-bottom:12px}.screen .about-sources h3{font-size:14px;margin:8px 0 10px}.screen .license-information>div{font-size:12px;padding:10px 2px}.screen .license-information dt{max-width:48%;white-space:normal;overflow-wrap:anywhere}.screen .license-information dd{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px}.screen button.license-inline-source{display:inline;padding:0;min-height:24px;border:0;border-radius:0;background:transparent;font-size:12px;font-weight:400;text-decoration:underline;text-underline-offset:2px;color:#111;line-height:1.5}.screen main:has(.about-device){overflow:hidden}.screen #content:has(>.about-device){overflow-y:auto;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none}.screen #content:has(>.about-device)::-webkit-scrollbar{display:none}.screen .license-information .license-inline-source{font-size:12px;font-weight:400;line-height:1.5;text-decoration:none;cursor:default}.screen .opening-list{display:grid;grid-template-rows:repeat(6,minmax(0,1fr));align-content:start}.screen .opening-list>button{flex:none;width:100%;height:100%;min-height:0;max-height:none}.screen dialog:has(.wiki-reader),.screen #dialog-body:has(.wiki-reader){overflow:hidden}.screen .wiki-reader{--wiki-reader-font-size:12px;gap:10px}.screen .wiki-reader-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;flex:none;min-height:34px}.screen .wiki-reader-font-controls{grid-column:2;display:flex;align-items:center;gap:10px}.screen .wiki-reader-toolbar button{min-width:34px;min-height:34px;padding:3px;border:0;background:transparent;font-size:16px}.screen #wiki-reader-font-value{font-size:12px;min-width:18px;text-align:center;font-variant-numeric:tabular-nums}.screen #wiki-reader-close{grid-column:3;justify-self:end;display:grid;place-items:center}.screen #wiki-reader-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.screen .wiki-reader-body{position:relative;overflow:hidden;overscroll-behavior:none;font-size:var(--wiki-reader-font-size);line-height:1.5;scrollbar-width:none;flex:1;min-height:0}.screen .wiki-reader-body p{font-size:inherit;line-height:inherit;margin:0 0 .7em;white-space:pre-wrap;overflow-wrap:anywhere}.screen .wiki-reader-body h3{font-size:1.15em;line-height:1.4;margin:0 0 .6em;overflow-wrap:anywhere}.screen .wiki-reader-measure{position:absolute;inset:0 0 auto;visibility:hidden;display:flow-root;font-size:inherit;line-height:inherit}.screen .wiki-reader-notes{margin-top:calc(var(--wiki-reader-font-size)*3);font-size:max(9px,calc(var(--wiki-reader-font-size) - 2px));line-height:1.4;color:#666;overflow-wrap:anywhere;display:flow-root}.screen .wiki-reader-notes .wiki-attribution,.screen .wiki-reader-notes .wiki-article-source{font-size:inherit;line-height:inherit;margin:0 0 .7em}.screen .wiki-reader-pagination{margin-top:0;flex:none}.screen .wiki-preview-notes{margin-top:28px;color:#666;font-size:9px;line-height:1.4;overflow-wrap:anywhere}.screen .wiki-preview-notes .wiki-attribution{font-size:inherit}.screen .wiki-article-source{overflow-wrap:anywhere}.screen .opening-detail-expanded>.tools-heading,.screen .opening-detail-expanded>h3{flex-shrink:0}.screen .opening-detail-expanded .opening-detail-columns{height:auto;flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr)}.screen .opening-detail-chess{container-type:size;min-height:0;overflow:hidden}.screen .opening-detail-chess .opening-position{flex:none;min-height:15px}.screen .opening-detail-expanded #opening-board{width:min(100%,calc(100cqh - 103px));height:auto;aspect-ratio:1;flex:none}.screen .opening-detail-expanded .opening-move-line{flex:none;height:32px;min-height:32px;max-height:32px}.screen .opening-detail-reading{min-height:0;overflow:hidden}.screen .opening-detail-expanded .opening-board-nav{height:35px;min-height:35px;flex:none}.screen .wiki-reader-notes{padding:0;margin-bottom:0}.screen .wiki-preview-notes{display:block;padding:0;gap:0}.screen .opening-detail-reading{padding-top:21px}.screen.puzzle-focused{--bottom-navigation-height:58px}.screen.puzzle-focused .screen-brand,.screen.puzzle-focused .device-status{display:none}.screen.puzzle-focused .screen-header{height:50px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0;padding:0 10px}.screen.puzzle-focused .screen-header>span{grid-column:2;grid-row:1;text-align:center;font-size:20px;font-weight:600}.screen.puzzle-focused .screen-header-actions{display:contents}.screen.puzzle-focused .screen-header-actions .header-back{grid-column:1;grid-row:1}.screen.puzzle-focused .puzzle-settings-control{grid-column:3;grid-row:1}.screen.puzzle-focused .screen-header-actions .header-back,.screen.puzzle-focused #puzzle-play-settings{display:grid;place-items:center;width:40px;height:44px;min-height:44px;padding:8px;border:0;background:transparent}.screen.puzzle-focused .screen-header-actions .puzzle-action-icon{width:26px;height:26px}.screen.puzzle-focused main{top:50px;bottom:var(--bottom-navigation-height)}.screen.puzzle-focused #content>.tools-heading,.screen.puzzle-focused #content>h2{display:none}.screen.puzzle-focused .screen-header-actions #screen-back[hidden]{display:none}.screen.puzzle-focused #content{height:100%;min-height:0;overflow:clip;overscroll-behavior:none}.screen.puzzle-focused .puzzle-play{height:100%;min-height:0;overflow:clip}.screen .puzzle-play{grid-template-rows:70px minmax(0,1fr) auto 22px 44px}.screen .puzzle-play>.puzzle-turn{padding:6px 0;gap:12px}.screen .puzzle-play>.puzzle-turn>div{gap:4px}.screen .puzzle-play>.puzzle-turn strong{line-height:1.2}.screen .puzzle-play>.puzzle-play-controls{width:min(100%,320px);max-width:100%;justify-self:center;justify-content:center;gap:20px;padding:0;margin:0 auto;min-height:44px}.screen .puzzle-play>.puzzle-play-controls button{flex:0 1 44px;width:44px;min-width:36px;height:44px;min-height:44px;padding:8px}.screen .puzzle-play>#bank-puzzle-feedback{height:22px;min-height:22px;margin:0;font-size:13px;line-height:20px;text-align:center}.screen .about-sources-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}.screen .about-sources-heading h3{margin:0}.screen #about-sources-more{display:grid;place-items:center;min-height:34px;min-width:36px;width:36px;padding:4px;border:0;background:transparent}.screen #about-sources-more svg{width:24px;height:24px;fill:currentColor}.screen #about-sources-more[aria-expanded=true]{background:#eee}.screen .about-sources.is-expanded .license-information>div{flex-wrap:wrap}.screen .license-extra-details{flex:1 0 100%;text-align:left;font-size:11px;color:#666;line-height:1.5;padding-top:4px}.screen .license-extra-details[hidden]{display:none}.screen .license-extra-details section+section{margin-top:12px}.screen .license-extra-details strong{font-size:11px;color:#333}.screen .license-extra-details p{margin:4px 0;font-size:11px;line-height:1.5}.screen #about-sources-more svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.screen #about-sources-more[aria-expanded=true]{background:transparent}.screen #about-source-content[hidden]{display:none}.screen .engine-settings{display:flex;flex-direction:column;gap:16px}.screen .engine-settings fieldset{border:0;padding:0;margin:0;min-width:0}.screen .engine-settings legend{font-size:13px;margin-bottom:10px;padding:0}.screen .engine-setting-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.screen .engine-setting-options button{font-size:12px;min-height:40px;padding:7px 3px}.screen .engine-setting-options button[aria-pressed=true]{background:#ccc;border-color:#555;font-weight:600}.screen .engine-settings-actions{display:flex;gap:12px;margin-top:6px}.screen .engine-settings-actions button{flex:1;font-size:13px;min-height:40px;padding:8px}.screen .engine-settings-status{font-size:11px;margin:0;line-height:1.5}.screen .opening-english-name{display:block;color:#555;font-size:11px;font-weight:400;line-height:1.25}.screen .opening-bilingual-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 8px;max-width:100%;color:inherit}.screen .opening-bilingual-name>*{max-width:100%}.screen .opening-detail h3 .opening-english-name{overflow-wrap:anywhere}.screen .opening-row-meta{display:flex;align-items:baseline;gap:8px;width:100%;flex-shrink:0}.screen .opening-row-meta span{flex:none}.screen .opening-row-meta small{min-width:0}.screen .lichess-login-qr{margin:10px 0 0;text-align:center;font-size:12px}.screen .lichess-login-qr img{display:block;margin:0 auto 4px;max-width:100%;height:auto}
