@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap";
:root{--paper:#f7f7f0;--surface:#fffef9;--ink:#303b35;--muted:#7c837a;--line:#e0e3d8;--sage:#a7b59d;--sage-light:#e4eadc;--green:#54684d;--red:#b76557;--serif:"Libre Caslon Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.36}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #788b66}a{color:inherit;text-decoration:none}button{touch-action:manipulation}::selection{background:#d6dfc9}.app-shell{flex-direction:column;max-width:1240px;min-height:100svh;margin:auto;padding:0 64px;display:flex}.site-header{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;height:112px;display:flex}.wordmark{letter-spacing:-1.1px;align-items:center;gap:11px;font-size:26px;font-weight:650;display:flex}.wordmark-light{font-weight:450}.brand-period{color:#879b72}.brand-icon{border:1px solid #d5dbcc;border-radius:10px;place-items:center;width:38px;height:38px;display:grid;transform:rotate(-5deg)}.brand-icon svg{transform:rotate(5deg)}nav{gap:27px;display:flex}.nav-button{color:#586153;background:0 0;border:0;align-items:center;gap:8px;padding:9px 0;font-size:12px;display:flex}.nav-button:hover{color:#23341d}.nav-button svg{stroke-width:1.5px}main{flex:1;grid-template-columns:1fr 1.25fr;align-items:center;gap:74px;padding:58px 0 48px;display:grid}.intro-panel{padding-bottom:14px}.edition-tag{letter-spacing:2px;color:#69775e;align-items:center;gap:9px;margin-bottom:26px;font-size:9px;font-weight:600;display:flex}.live-dot{background:#8b9f75;border-radius:50%;width:6px;height:6px;display:inline-block;box-shadow:0 0 0 4px #eaf0e2}h1{font-family:var(--serif);letter-spacing:-2px;margin:0 0 23px;font-size:76px;font-weight:400;line-height:.99}h1 em{color:#82946f;font-weight:400}h2,h3,p{margin-top:0}.intro-copy{color:var(--muted);margin-bottom:35px;font-size:14px;line-height:1.85}.rule-list{gap:22px;display:grid}.rule{align-items:center;gap:15px;display:flex}.rule-icon{color:#6e805e;border:1px solid #dce1d3;border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.rule-icon svg{stroke-width:1.4px}.rule h3{margin:0 0 4px;font-size:12px;font-weight:600}.rule p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.weekly-note{border-top:1px solid var(--line);align-items:center;gap:12px;max-width:310px;margin-top:39px;padding-top:25px;display:flex}.weekly-note p{color:#637057;margin:0;font-size:10px;line-height:1.9}.weekly-note p span{color:#92968c;font-size:9px}.week-bars{align-items:flex-end;gap:3px;height:28px;display:flex}.week-bars i{background:#a9b69b;border-radius:2px;width:4px;display:block}.week-bars i:nth-child(-n+2){background:#d7decd}.week-bars i:nth-child(n+6){background:#6f825e}.game-panel{min-width:0;position:relative}.puzzle-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;display:flex}.eyebrow{letter-spacing:1.8px;color:#828a79;margin-bottom:9px;font-size:9px;font-weight:600;line-height:1.5}.puzzle-heading h2{font-family:var(--serif);letter-spacing:-.3px;margin:0;font-size:25px;font-weight:400}.difficulty-badge{color:#657551;background:#e9eedf;border:1px solid #dfe6d3;border-radius:20px;align-items:center;gap:6px;padding:6px 10px;font-size:9px;display:flex}.difficulty-badge>span{background:#83996a;border-radius:50%;width:4px;height:4px}.game-stats{border:1px solid var(--line);background:#fafbf5;border-radius:10px 10px 0 0;grid-template-columns:1fr 1fr 1fr;margin-bottom:-5px;padding:14px 3px 13px;display:grid}.game-stats>div{border-right:1px solid var(--line);padding-left:22px}.game-stats>div:last-child{border:0}.stat-label{color:#949b8d;letter-spacing:1.4px;margin-bottom:6px;font-size:8px;font-weight:500;display:block}.stat-value{font-variant-numeric:tabular-nums;align-items:center;gap:7px;font-size:18px;font-weight:500;line-height:1;display:flex}.stat-unit{color:#92998a;font-size:9px;font-weight:400}.stat-value svg{color:#8b9682;stroke-width:1.4px}.stat-value.practice-stat{font-size:15px}.board-frame{background:var(--surface);border:1px solid #e0e3d7;border-radius:9px;padding:16px 13px 6px 5px;position:relative;box-shadow:0 6px 16px #353e2c05}.board-shell{grid-template-rows:1fr 18px;grid-template-columns:18px 1fr;gap:2px;display:grid}.chess-board{aspect-ratio:1;border-radius:4px;grid-area:1/2;display:grid;overflow:hidden;box-shadow:0 0 0 1px #65785212}.square{aspect-ratio:1;isolation:isolate;border:0;border-radius:0;place-items:center;min-width:0;min-height:0;padding:5%;transition:background-color .15s;display:grid;position:relative;opacity:1!important}.square:disabled{opacity:1}.light-square{background:#e8ecdf}.dark-square{background:#a9b89d}.square:not(:disabled):hover{box-shadow:inset 0 0 0 2px #63794c60}.square:focus-visible{outline-offset:-3px;z-index:2;outline:3px solid #536b42}.selected-square{background:#d3ddb6}.selected-square:after{content:"";pointer-events:none;border:1.5px solid #687c4b;border-radius:3px;position:absolute;inset:5px}.chess-piece{filter:drop-shadow(0 3px 1px #28302320);z-index:1;pointer-events:none;width:85%;height:85%;max-height:100%;position:relative;overflow:visible}.white-piece{filter:drop-shadow(0 3px 1.5px #20291a35)}.rank-labels{color:#939b88;text-align:center;flex-direction:column;grid-area:1/1;justify-content:space-around;font-size:9px;display:flex}.file-labels{color:#939b88;grid-area:2/2;justify-content:space-around;align-items:end;font-size:9px;display:flex}.error-square{animation:.35s shake,.45s flash}.error-square:after{content:"";pointer-events:none;z-index:2;background:#ba675438;position:absolute;inset:0;box-shadow:inset 0 0 0 2px #a95349}.start-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#f1f3e9b8;border-radius:4px;place-items:center;display:grid;position:absolute;inset:16px 13px 26px 25px}.start-card{text-align:center;background:#fffff9f5;border:1px solid #fffef9;border-radius:12px;width:85%;padding:25px 13px 21px;box-shadow:0 12px 40px #3c4a3120}.start-card>.chess-piece{width:64px;height:64px;margin-bottom:8px}.start-card h3{font-family:var(--serif);letter-spacing:-.5px;margin-bottom:10px;font-size:27px;font-weight:400}.start-card p{color:#929b86;margin-bottom:22px;font-size:10px}.start-card p span{color:#c5cebc;padding:0 5px}.button{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:12px;min-height:43px;padding:11px 18px;font-size:11px;font-weight:500;transition:background .2s,transform .2s;display:inline-flex}.primary{background:var(--ink);color:#f7f8ee;border-color:var(--ink)}.primary:hover:not(:disabled){background:#46553c;transform:translateY(-1px)}.secondary{color:#576a49;background:#fbfcf5;border-color:#d6dfcd}.secondary:hover{background:#eef2e7}.start-button{min-width:218px}.start-note{color:#a2a997;margin-top:14px;font-size:8px;display:block}.board-controls{justify-content:space-between;align-items:center;padding:14px 4px 0;display:flex}.control-button{color:#697660;background:0 0;border:0;align-items:center;gap:7px;padding:5px 0;font-size:11px;display:flex}.control-button:hover:not(:disabled){color:#293a22}.control-button svg{stroke-width:1.4px}.board-size{letter-spacing:2px;color:#a0a892;font-size:9px}.board-message{text-align:center;color:#8b9380;min-height:28px;margin:15px 0 0;font-size:10px;line-height:1.6}.move-error-message{color:#a05648}.storage-note{text-align:center;color:#919887;margin:12px 8px 0;font-size:9px;line-height:1.7}.finished-actions{text-align:center;margin-top:5px}.site-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:89px;display:flex}.footer-caption{color:#8b9382;align-items:center;gap:10px;font-size:10px;display:flex}.tiny-queen{color:#8c9c79;font-size:19px}.release-clock{align-items:center;gap:13px;display:flex}.release-clock>span:first-child{letter-spacing:1.5px;color:#939c86;font-size:8px}.release-clock strong{font-variant-numeric:tabular-nums;letter-spacing:1px;font-size:16px;font-weight:500}.utc-label{color:#abb09f;border-left:1px solid var(--line);padding-left:12px;font-size:8px}.corner-detail{writing-mode:vertical-rl;color:#a8b19a;align-items:center;gap:9px;display:flex;position:absolute;top:280px;right:17px}.corner-detail span{letter-spacing:2px;font-size:7px}.loading-board{aspect-ratio:1;border:1px solid var(--line);color:#7b8c69;background:#edf0e5;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.loading-board span{font-size:11px}.loading-board svg{animation:2s infinite breathe}.text-button{color:#7c896e;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:4px 0;font-size:11px;display:inline-flex}.text-button:hover{color:#34452a}.back-today{margin-bottom:16px}.empty-state{border:1px solid var(--line);text-align:center;border-radius:10px;padding:50px 24px}.empty-state>svg{color:#8b9d76;margin-bottom:16px}.empty-state h3{font-family:var(--serif);margin-bottom:12px;font-size:27px;font-weight:400}.empty-state p{color:var(--muted);font-size:12px;line-height:1.7}.error-banner,.storage-banner{color:#855447;background:#faf0e9;border:1px solid #e7cec0;border-radius:8px;justify-content:space-between;align-items:center;gap:15px;width:100%;max-width:600px;margin:0 auto 20px;padding:12px 17px;font-size:12px;line-height:1.6;display:flex}.storage-banner{color:#8b7d50;background:#f4efdf;border-color:#e7debd;justify-content:center}.icon-button{color:#8d9683;background:0 0;border:0;border-radius:5px;place-items:center;padding:7px;display:grid}.icon-button:hover{color:#4b5c3c;background:#edf0e4}.dialog-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:20;background:#26322263;justify-content:center;align-items:center;padding:24px;animation:.2s fade-in;display:flex;position:fixed;inset:0;overflow:auto}.dialog{background:var(--surface);border:1px solid #ffffffb5;border-radius:18px;width:100%;max-width:440px;max-height:calc(100svh - 48px);padding:34px;animation:.25s rise-in;position:relative;overflow:auto;box-shadow:0 30px 120px #17201030}.dialog-close{position:absolute;top:15px;right:15px}.dialog h2{font-family:var(--serif);letter-spacing:-.6px;margin-bottom:17px;font-size:39px;font-weight:400;line-height:1.1}.dialog .eyebrow{letter-spacing:1.9px;margin:0 0 13px;font-size:8px}.dialog-description{color:#818a76;margin-bottom:25px;font-size:12px;line-height:1.9}.small-board{grid-template-rows:1fr 16px;grid-template-columns:15px 1fr;max-width:240px;margin:0 auto 15px}.small-board .rank-labels,.small-board .file-labels{font-size:8px}.small-board .selected-square:after{inset:3px}.tutorial-prompt{color:#758466;text-align:center;min-height:35px;margin:15px 0 18px;font-size:10px;line-height:1.7}.tutorial-bottom{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-top:18px;display:flex}.tutorial-bottom .text-button{font-size:10px}.tutorial-bottom .button{min-height:36px;padding:8px 12px;font-size:10px}.step-dots{gap:5px;display:flex}.step-dots span{background:#dde4d2;border-radius:50%;width:5px;height:5px}.step-dots .current{background:#849a6e;border-radius:4px;width:14px}.result-dialog{text-align:center;padding-top:35px}.result-dialog h2{margin-bottom:0}.result-emblem{color:#7d9265;background:radial-gradient(circle,#e9f0df,#f7f9ef);border:1px solid #dce6ce;border-radius:50%;place-items:center;width:88px;height:88px;margin:24px auto 17px;display:grid;position:relative}.emblem-spark{color:#a2b38c;position:absolute}.spark-one{font-size:20px;top:8px;right:-7px}.spark-two{font-size:13px;bottom:2px;left:0}.result-subtitle{color:#929a88;margin-bottom:25px;font-size:11px;line-height:1.7}.result-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:5px;padding:20px 0;display:grid}.result-stats.two-stats{grid-template-columns:1fr 1fr}.result-stats>div{border-right:1px solid var(--line);flex-direction:column;gap:8px;display:flex}.result-stats>div:last-child{border:0}.result-stats strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;font-size:27px;font-weight:500}.result-stats span{letter-spacing:1px;color:#929b85;font-size:7px}.percentile-card{color:#6d8357;background:#edf2e5;border:1px solid #e3ebd7;border-radius:9px;justify-content:center;align-items:center;gap:10px;margin:20px 0 13px;padding:19px 12px;display:flex}.percentile-card p{margin:0;font-size:14px;line-height:1.5}.percentile-card strong{font-weight:600}.percentile-card p span{color:#8a997a;margin-top:3px;font-size:9px;display:block}.result-ranking-note{color:#989f8d;margin:0 0 24px;font-size:9px;line-height:1.7}.share-button{width:100%;min-height:44px}.practice-button{margin:16px auto 2px;font-size:10px}.result-countdown{border-top:1px solid var(--line);flex-direction:column;gap:7px;margin-top:23px;padding-top:20px;display:flex}.result-countdown>span:first-child{letter-spacing:1.6px;color:#8d977f;font-size:7px}.result-countdown strong{letter-spacing:3px;font-variant-numeric:tabular-nums;font-size:23px;font-weight:400}.result-countdown>span:last-child{color:#a0a890;font-size:9px}.archive-dialog{max-width:470px}.archive-list{gap:8px;max-height:380px;padding:3px;display:grid;overflow:auto}.archive-item{text-align:left;border:1px solid var(--line);background:#fafbf5;border-radius:9px;justify-content:space-between;align-items:center;gap:15px;padding:15px 17px;display:flex}.archive-item:hover{background:#edf2e5;border-color:#c6d4b7}.archive-date{flex-direction:column;gap:6px;display:flex}.archive-date .eyebrow{margin:0;font-size:7px}.archive-date strong{font-size:13px;font-weight:500}.archive-date>span:last-child{color:#929c86;font-size:9px}.archive-item-end{color:#8b9f75}.archive-empty{text-align:center;color:#839570;padding:25px 15px}.archive-empty h3{font-family:var(--serif);margin:20px 0 10px;font-size:25px;font-weight:400}.archive-empty p{color:#969e8b;max-width:280px;margin:auto;font-size:11px;line-height:1.8}@keyframes shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-3px)}40%,80%{transform:translate(3px)}}@keyframes flash{0%,to{filter:none}40%{filter:sepia(.3)saturate(1.5)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{50%{opacity:.4}}@media (min-width:1500px){.app-shell{max-width:1300px;padding:0 75px}main{gap:110px;padding:70px 0}h1{font-size:86px}.site-header{height:125px}.site-footer{min-height:105px}}@media (max-width:1000px){.app-shell{padding:0 32px}main{grid-template-columns:.9fr 1.15fr;gap:36px}h1{font-size:62px}.edition-tag{letter-spacing:1.5px;font-size:8px}.rule p{font-size:10px}.corner-detail{display:none}.start-card h3{font-size:24px}.start-card{padding:18px 9px}.start-card>.chess-piece{width:50px;height:50px}.start-button{min-width:0;max-width:100%}.start-card p{margin-bottom:17px;font-size:9px}.start-note{font-size:7px}.game-stats>div{padding-left:15px}.puzzle-heading h2{font-size:23px}}@media (max-width:760px){.app-shell{max-width:570px;padding:0 24px}.site-header{height:82px}.wordmark{gap:8px;font-size:23px}.brand-icon{width:33px;height:33px}.brand-icon svg{width:21px}nav{gap:18px}.nav-button{gap:0;padding:10px 4px;font-size:0}.nav-button svg{width:20px;height:20px}.nav-button span{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}main{flex-direction:column;flex:initial;gap:26px;padding:29px 0 24px;display:flex}.intro-panel{width:100%;padding:0}.edition-tag{letter-spacing:1.6px;gap:8px;margin-bottom:17px;font-size:7px}.live-dot{width:4px;height:4px;box-shadow:0 0 0 3px #eaf0e2}h1{letter-spacing:-1.5px;margin-bottom:13px;font-size:47px;line-height:1.03}h1 br{display:none}h1 em{white-space:nowrap}.intro-copy{margin:0;font-size:11px;line-height:1.8}.intro-copy br{display:none}.intro-copy br:after{content:" "}.rule-list,.weekly-note{display:none}.game-panel{width:100%}.puzzle-heading{margin-bottom:15px}.puzzle-heading h2{font-size:24px}.puzzle-heading .eyebrow{letter-spacing:1.5px;margin-bottom:6px;font-size:7px}.difficulty-badge{padding:5px 9px;font-size:8px}.game-stats{padding:13px 0 12px}.game-stats>div{padding-left:18px}.stat-label{letter-spacing:1.3px;font-size:7px}.stat-value{font-size:17px}.stat-unit{font-size:8px}.board-frame{padding:13px 10px 5px 3px}.board-shell{grid-template-rows:1fr 17px;grid-template-columns:16px 1fr}.start-overlay{inset:13px 10px 24px 21px}.start-card{width:84%;padding:22px 12px}.start-card>.chess-piece{width:56px;height:56px;margin-bottom:9px}.start-card h3{margin-bottom:10px;font-size:26px}.start-card p{margin-bottom:21px;font-size:9px}.start-button{min-height:41px;font-size:10px}.start-note{margin-top:13px;font-size:7px}.board-controls{padding-top:12px}.control-button{font-size:10px}.control-button svg{width:15px;height:15px}.board-message{min-height:24px;margin-top:12px;font-size:9px}.site-footer{flex-direction:column;justify-content:center;gap:13px;min-height:82px;margin-top:auto;padding:17px 0 20px}.footer-caption{gap:7px;font-size:9px}.tiny-queen{font-size:15px}.release-clock{gap:10px}.release-clock>span:first-child{font-size:7px}.release-clock strong{font-size:14px}.utc-label{font-size:7px}.dialog-backdrop{padding:16px}.dialog{border-radius:15px;max-height:calc(100svh - 32px);padding:30px 25px}.dialog h2{font-size:35px}.dialog-description{font-size:11px;line-height:1.85}.result-stats strong{font-size:25px}.result-stats span{font-size:6px}.result-emblem{width:75px;height:75px;margin-top:20px}.result-dialog h2{font-size:39px}.percentile-card p{font-size:13px}.error-banner,.storage-banner{font-size:10px}.small-board{grid-template-columns:15px 1fr;max-width:225px}.storage-note{font-size:8px}.back-today{margin-bottom:13px;font-size:10px}}@media (max-width:370px){.app-shell{padding:0 16px}h1{font-size:42px}.start-card{padding:15px 9px}.start-card h3{font-size:23px}.start-card p{margin-bottom:14px;font-size:8px}.start-card>.chess-piece{width:42px;height:42px}.start-note{font-size:6px}.start-button{min-height:36px;padding:9px 12px}.game-stats>div{padding-left:12px}.stat-unit{display:none}.result-stats strong{font-size:23px}.dialog{padding:28px 20px}.tutorial-bottom{gap:6px}.tutorial-bottom .button,.tutorial-bottom .text-button{font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:760px){main.game-in-progress{gap:20px;padding-top:20px}.game-in-progress .edition-tag,.game-in-progress .intro-copy{display:none}.game-in-progress h1{letter-spacing:-.8px;margin:0;font-size:32px}.game-in-progress h1 br{display:none}}.piece-reference{color:#7b886e;grid-template-columns:1fr 1fr;gap:8px 6px;margin:-8px 0 22px;font-size:8px;display:grid}.piece-reference>span{align-items:center;gap:4px;line-height:1.5;display:flex}.piece-reference .chess-piece{flex-shrink:0;width:21px;height:24px}@media (max-width:760px){nav{gap:7px}.nav-button{min-width:42px;min-height:42px}.control-button{min-width:65px;min-height:40px}.control-button:last-child{justify-content:flex-end}.stat-label{color:#748167;font-size:8px}.puzzle-heading .eyebrow{font-size:8px}}@media (max-height:800px){.result-dialog{padding:25px 30px}.result-dialog .eyebrow{margin-bottom:9px}.result-dialog h2{font-size:34px}.result-emblem{width:56px;height:56px;margin:14px auto 10px}.result-emblem>svg{width:26px;height:26px}.result-subtitle{margin-bottom:16px}.result-stats{padding:14px 0}.percentile-card{margin:14px 0 10px;padding:12px 8px}.result-ranking-note{margin-bottom:16px}.practice-button{margin:12px auto 0}.result-countdown{gap:5px;margin-top:14px;padding-top:14px}.result-countdown strong{font-size:20px}.result-countdown>span:last-child{font-size:8px}}.site-credit{text-align:center;letter-spacing:normal;text-transform:none;max-width:none;color:inherit;opacity:.65;border:0;margin:auto 0 0;padding:16px;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;display:block}.site-credit a{color:inherit;text-underline-offset:2px;text-decoration:underline}.app-shell.embedded{max-width:760px;min-height:0}.app-shell.embedded main{padding:24px 0;display:block}.app-shell.embedded{max-width:620px;padding:0 16px}.embedded .site-header{gap:12px;height:64px}.embedded .wordmark{gap:8px;font-size:22px}.embedded .brand-icon{width:32px;height:32px}.app-shell.embedded main{padding:16px 0}.embedded .game-panel{max-width:500px;margin:auto}.embedded .puzzle-heading{margin-bottom:12px}.embedded .puzzle-heading h2{font-size:22px}.embedded .game-stats{padding-top:10px;padding-bottom:10px}@media (max-width:440px){.embedded .nav-button>span{display:none}.embedded nav{gap:8px}.embedded .wordmark{font-size:20px}.embedded .difficulty-badge{padding:5px 7px;font-size:8px}}
