@charset "UTF-8";:root{font-family:Avenir Next,Avenir,Segoe UI,sans-serif;color:#302c25;background:#f3eee5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #f3eee5;--paper-light: #faf7f0;--paper-deep: #e8dfcf;--ink: #302c25;--ink-soft: #6b6559;--forest: #334a3b;--forest-deep: #263c2e;--bronze: #8c7250;--rule: #d6cbbb;--rule-soft: #e3dbcf;--warm-red: #9a473b;--serif: Georgia, "Times New Roman", serif;--sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;--space-1: 8px;--space-2: 16px;--space-3: 24px;--space-4: 32px;--space-5: 48px;--space-6: 64px}*{box-sizing:border-box}html{min-width:320px;min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;font-size:18px;line-height:1.5}button,input,select{font:inherit}button,select,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button,a,input,select,[tabindex]{outline-offset:5px}:focus-visible{outline:2px solid var(--forest)}button:focus:not(:focus-visible){outline:none}button,input,select{touch-action:manipulation}button{-webkit-user-select:none;user-select:none}button svg{width:21px;height:21px;flex:0 0 auto}button::-moz-focus-inner{border:0}h1,h2,h3,p,button,fieldset,legend{margin:0}fieldset{padding:0;border:0;min-inline-size:0}input,select{min-width:0}[hidden]{display:none!important}::selection{color:var(--paper-light);background:var(--forest)}.woodwright-app{min-height:100svh;padding:0 clamp(24px,4vw,72px);overflow-x:clip;background:radial-gradient(ellipse at 27% 25%,#fffdf655,transparent 65%),linear-gradient(115deg,#f5f0e9,#f3eee5 54%,#f0e9de)}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;top:12px;left:16px;padding:12px 20px;background:var(--forest);color:#fff;z-index:30;transform:translateY(-160%);border-radius:4px;text-decoration:none}.skip-link:focus{transform:translateY(0)}.app-header{min-height:126px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--rule);max-width:1920px;margin:0 auto}.wordmark{display:flex;align-items:center;gap:17px;flex:0 0 auto}.brand-seal{display:grid;place-items:center;width:47px;height:62px;color:var(--bronze);border:1px solid var(--bronze);border-radius:24px 24px 2px 2px;position:relative}.brand-seal:after{content:"";position:absolute;inset:4px;border:1px solid #8c725044;border-radius:20px 20px 0 0;pointer-events:none}.brand-seal svg{width:25px;height:32px}.wordmark h1{display:flex;flex-direction:column;gap:4px;font-weight:400;line-height:1}.brand-name{font-family:var(--serif);font-size:23px;letter-spacing:-.035em}.brand-chess{padding-left:1px;font-size:17px;font-weight:600;letter-spacing:.31em}.header-motto{margin-left:auto;color:var(--ink-soft);font-family:var(--serif);font-size:19px;font-style:italic}.header-tools{display:flex;align-items:center;gap:21px;margin-left:clamp(20px,4vw,64px)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 0;border:0;background:transparent;font-size:16px;line-height:1.3;font-weight:500;color:var(--ink-soft);transition:color .16s ease}.text-button:hover:not(:disabled){color:var(--forest)}.text-button:disabled{opacity:.43}.help-button svg{width:20px;height:20px}.icon-button{width:46px;height:46px;min-width:46px;display:grid;place-items:center;border:1px solid var(--rule);border-radius:50%;background:transparent;transition:background .16s ease,border-color .16s ease}.icon-button:hover{background:#eae2d5;border-color:#a99b86}.settings-button svg{width:22px;height:22px}.study-shell{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:clamp(24px,3.5vw,62px);max-width:1920px;margin:0 auto;padding:37px 0 30px;min-height:calc(100svh - 190px);align-items:stretch}.board-column{min-width:0;display:flex;flex-direction:column}.board-heading{display:flex;align-items:center;gap:20px;min-height:26px;padding:0 8px}.eyebrow{font-size:16px;line-height:1.3;font-weight:500;letter-spacing:.14em;color:var(--bronze)}.board-heading .eyebrow{white-space:nowrap;letter-spacing:.13em}.board-heading-rule{width:44px;height:1px;background:var(--rule)}.board-heading-note{font-family:var(--serif);font-size:17px;color:var(--ink-soft);font-style:italic}.board-stage{position:relative;flex:1 1 auto;width:100%;min-height:530px;height:max(520px,calc(100svh - 292px));max-height:880px;isolation:isolate}.board-viewport{position:absolute;inset:0;outline-offset:-5px;touch-action:none}.board-viewport canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px}.board-viewport:focus-visible{border-radius:8px}.board-viewport>.primary-button{position:absolute;z-index:7;bottom:18%;left:50%;transform:translate(-50%);min-height:51px;width:max-content;max-width:90%;padding:13px 22px;border:1px solid var(--forest);border-radius:3px;background:var(--forest);color:var(--paper-light);font-size:18px}.board-viewport>.primary-button:hover{background:var(--forest-deep)}.board-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:7px 8px 0}.board-instructions{color:var(--ink-soft);font-size:16px;line-height:1.7}.board-instructions>span{display:block}.orbit-hint{color:#756d61}.view-controls{display:inline-flex;align-items:center;flex:0 0 auto;border:1px solid var(--rule);border-radius:4px;padding:3px;background:#faf6ed66}.view-button{display:flex;gap:7px;justify-content:center;align-items:center;min-height:44px;background:transparent;padding:8px 12px;border:0;border-radius:2px;font-size:16px;font-weight:500;color:var(--ink-soft);transition:background .16s ease,color .16s ease}.view-button+.view-button{border-left:1px solid var(--rule);border-radius:0 2px 2px 0}.view-button:hover{background:#e7decf;color:var(--ink)}.view-button svg{width:19px;height:19px}.scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:4;color:var(--ink);background:radial-gradient(ellipse at center,#f3eee5f8 0%,#f3eee5e8 42%,#f3eee566 72%,transparent 100%)}.loading-emblem{width:57px;height:70px;display:grid;place-items:center;color:var(--bronze);margin-bottom:19px}.loading-emblem svg{width:42px;height:48px;stroke-width:1}.scene-loading h2{font-family:var(--serif);font-weight:400;font-size:clamp(28px,3vw,38px);letter-spacing:-.04em}.loading-label{font-size:17px;color:var(--ink-soft);padding:12px 24px 22px;text-align:center}.loading-track{width:min(240px,65%);height:2px;background:var(--rule);overflow:hidden}.loading-fill{height:100%;display:block;width:0;background:var(--bronze);transition:width .3s ease}.loading-percent{margin-top:11px;font-size:16px;color:var(--bronze);font-variant-numeric:tabular-nums}.board-toast{position:absolute;z-index:6;bottom:22px;left:50%;transform:translate(-50%);max-width:min(580px,90%);width:max-content;padding:13px 20px;border:1px solid #cbbda7;border-radius:4px;background:#faf6edf5;box-shadow:0 5px 24px #44331914;font-size:17px;color:var(--forest);text-align:center;pointer-events:none;animation:appear .18s ease both}.game-panel{border-left:1px solid var(--rule);padding-left:31px;min-width:0;display:flex;flex-direction:column;position:relative;outline-offset:8px;scroll-margin-top:20px}.setup-panel{padding-top:3px}.setup-topline,.session-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px}.setup-topline .eyebrow{letter-spacing:.1em}.setup-close{width:44px;height:44px;min-width:44px;border-color:transparent;margin:-6px -4px -6px 0}.panel-title{font:400 clamp(43px,4vw,53px)/1.08 var(--serif);letter-spacing:-.045em;margin-top:17px}.setup-intro{margin-top:15px;font-family:var(--serif);font-size:21px;line-height:1.45;color:var(--ink-soft)}.setup-form{margin-top:29px}.choice-fieldset+.choice-fieldset,.time-field{margin-top:25px}.choice-fieldset legend,.field-label{width:100%;padding:0;margin-bottom:11px;font-size:17px;line-height:1.3;font-weight:500}.choice-fieldset legend{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.selected-level-name{font-size:16px;font-weight:400;color:var(--ink-soft)}.side-choices{display:grid;grid-template-columns:1fr 1fr 1.13fr;gap:8px}.side-choice,.level-choice{display:block;cursor:pointer;position:relative}.side-choice input,.level-choice input{position:absolute;width:1px;height:1px;opacity:0}.choice-face{display:flex;align-items:center;justify-content:center;background:#faf7f03d;border:1px solid var(--rule);transition:background .16s ease,border-color .16s ease,color .16s ease}.side-choice .choice-face{flex-direction:column;gap:4px;min-height:89px;padding:7px 4px 11px;border-radius:4px;font-size:16px;white-space:nowrap}.side-piece{font-family:Georgia,serif;font-size:36px;line-height:1.15;height:40px;color:#44382c}.white-piece{color:#5b4832}.random-side{font-family:Georgia,serif;font-size:34px;line-height:1.15;height:40px;color:#61513d}.side-choice:hover .choice-face,.level-choice:hover .choice-face{background:#eae3d7;border-color:#a99b84}.side-choice input:checked+.choice-face{background:#e5e8dd;border-color:var(--forest);box-shadow:inset 0 0 0 1px #334a3b26;color:var(--forest-deep)}.side-choice input:focus-visible+.choice-face,.level-choice input:focus-visible+.choice-face{outline:2px solid var(--forest);outline-offset:4px}.level-choices{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.level-choice .choice-face{min-height:45px;border-radius:3px;font-size:18px;font-variant-numeric:lining-nums}.level-choice input:checked+.choice-face{background:var(--forest);border-color:var(--forest);color:var(--paper-light)}.field-note{margin-top:9px;font-size:16px;color:var(--ink-soft);line-height:1.4}.field-label{display:block}.select-wrap{position:relative}.select-wrap select{width:100%;appearance:none;border:1px solid var(--rule);background:#faf7f070;border-radius:4px;min-height:50px;padding:11px 35px 11px 13px;font-size:16px;color:var(--ink);cursor:pointer;line-height:1.4}.select-wrap select:hover{border-color:#a99b84}.select-wrap>span{position:absolute;right:14px;top:50%;transform:translateY(-60%);color:var(--bronze);pointer-events:none;font-size:21px}.button-primary,.button-secondary{min-height:51px;display:inline-flex;align-items:center;justify-content:center;gap:11px;width:100%;padding:13px 17px;font-size:17px;line-height:1.4;font-weight:500;border:1px solid var(--forest);border-radius:3px;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}.button-primary{background:var(--forest);color:var(--paper-light);box-shadow:0 2px #25382c0d}.button-primary:hover:not(:disabled){background:var(--forest-deep);border-color:var(--forest-deep);box-shadow:0 4px 12px #263c2e14}.button-primary:disabled{background:#a0a697;border-color:#a0a697;color:#f9f7f1;box-shadow:none}.button-secondary{border-color:var(--rule);background:transparent;color:var(--ink)}.button-secondary:hover:not(:disabled){background:#e8dfd0;border-color:#b4a38d}.button-secondary:disabled{opacity:.45}.start-button{margin-top:28px;justify-content:space-between;padding-inline:20px;min-height:57px;font-size:18px}.start-button svg{width:23px;height:23px}.setup-availability{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;font-size:16px;line-height:1.4;color:var(--ink-soft)}.availability-dot{width:5px;height:5px;border-radius:50%;background:#849274;flex:0 0 auto}.setup-availability[data-state=loading] .availability-dot{background:var(--bronze)}.setup-availability[data-state=error] .availability-dot{background:var(--warm-red)}.setup-resume{width:100%;margin-top:12px;color:var(--forest)}.panel-footnote{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:auto;padding-top:30px;color:var(--ink-soft);font-family:var(--serif);font-size:16px;font-style:italic;white-space:nowrap}.small-ornament{font-size:14px;color:var(--bronze);font-style:normal}.session-topline{min-height:32px;margin-bottom:21px}.session-topline .eyebrow{letter-spacing:.1em}.session-pace{font-size:16px;color:var(--ink-soft);letter-spacing:.055em}.player-strip{display:flex;align-items:center;gap:12px;min-height:58px}.player-avatar{width:43px;height:48px;min-width:43px;display:grid;place-items:center;color:#f2e9d8;background:#514434;border:1px solid #77634b;border-radius:3px;font-family:var(--serif);font-size:36px;line-height:1;padding-bottom:3px}.player-avatar[data-color=w]{color:#60503b;background:#eae0cd;border-color:#c9bca7}.player-identity{flex:1;min-width:0}.player-identity h2{font-size:18px;line-height:1.25;font-weight:500;letter-spacing:-.015em}.player-identity p{margin-top:4px;font-size:16px;line-height:1.35;color:var(--ink-soft)}.opponent-level{max-width:138px}.clock-block{flex:0 0 auto;min-width:65px;text-align:right;margin-left:0;color:var(--ink-soft);padding-block:2px}.clock{display:block;font-size:29px;font-weight:500;line-height:1.05;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.clock-caption{display:block;font-size:16px;line-height:1.4;margin-top:3px;color:var(--ink-soft)}.clock-active .clock{color:var(--forest-deep)}.clock-low .clock{color:var(--warm-red)}.clock-active:before{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--forest);margin:7px 0 0 -11px}.capture-line{display:flex;align-items:center;gap:10px;min-height:29px;margin-top:4px;padding-left:55px;color:var(--ink-soft);font-size:16px}.capture-label{font-size:16px}.capture-pieces{font-family:var(--serif);font-size:19px;letter-spacing:-2px;line-height:1.15;color:#534531;overflow-wrap:anywhere}.capture-pieces.has-captures{font-size:24px}.turn-status{display:flex;align-items:flex-start;gap:11px;min-height:111px;padding:22px 0 20px;margin-top:12px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}.turn-marker{display:block;width:8px;height:8px;background:var(--forest);border-radius:50%;flex:0 0 auto;margin-top:10px}.status-title{font-family:var(--serif);font-weight:400;font-size:27px;line-height:1.2;letter-spacing:-.035em}.status-description{margin-top:6px;font-size:16px;line-height:1.45;color:var(--ink-soft)}.turn-status[data-status=check] .turn-marker{background:var(--warm-red)}.turn-status[data-status=check] .status-title{color:var(--warm-red)}.turn-status[data-status=paused] .turn-marker{background:transparent;border:1px solid var(--bronze)}.turn-status[data-status=thinking] .turn-marker{background:var(--bronze)}.thinking-indicator{display:inline-flex;gap:3px;margin:14px 0 0 auto}.thinking-indicator i{display:block;width:3px;height:3px;background:var(--bronze);border-radius:50%;animation:thinking 1.5s infinite}.thinking-indicator i:nth-child(2){animation-delay:.2s}.thinking-indicator i:nth-child(3){animation-delay:.4s}.resume-section{padding:17px 0 0}.result-section{padding:16px 0 6px}.result-reason{color:var(--ink-soft);font-size:17px;line-height:1.55;margin-bottom:16px}.result-section .button-primary{justify-content:space-between}.scorebook{padding:21px 0 18px}.scorebook-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}.scorebook-heading h3{font-size:17px;font-weight:500}.move-count{font-size:16px;color:var(--ink-soft)}.move-scroll{max-height:clamp(122px,18vh,188px);min-height:122px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6b9a5 transparent;padding:1px 4px 1px 0;outline-offset:3px}.history-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;text-align:center;font:italic 18px/1.5 var(--serif);color:var(--ink-soft);padding:24px 22px;min-height:110px}.empty-scorebook-rule{height:1px;width:22px;background:var(--rule)}.move-list{padding:0;margin:0;list-style:none}.move-row{display:grid;grid-template-columns:37px minmax(0,1fr) minmax(0,1fr);min-height:37px;align-items:center;font-size:17px;line-height:1.3}.move-row:nth-child(odd){background:#e8e0d04a}.move-number{color:var(--ink-soft);padding-left:9px;font-size:16px;font-variant-numeric:tabular-nums}.move-san{padding:7px 12px;font-variant-numeric:tabular-nums}.latest-move{background:#dce3d599;color:var(--forest-deep);font-weight:600;border-radius:2px}.human-strip{border-top:1px solid var(--rule);padding-top:19px}.game-control-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px;border:1px solid var(--rule);border-radius:3px}.game-control{min-height:55px;padding:11px 5px;border:0;background:transparent;font-size:16px;display:flex;align-items:center;justify-content:center;gap:7px;transition:color .16s,background .16s}.game-control+.game-control{border-left:1px solid var(--rule)}.game-control svg{width:18px;height:18px}.game-control:hover:not(:disabled){background:#e7dfd2;color:var(--forest-deep)}.game-control:disabled{color:#948d80;opacity:.62}.new-game-button{justify-content:space-between;margin-top:12px}.secondary-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:4px}.secondary-actions .text-button{font-size:16px}.secondary-actions svg{width:17px;height:17px}.resign-button:hover:not(:disabled){color:var(--warm-red)}.engine-error{border:1px solid #c09e84;padding:17px;margin-top:21px;border-radius:3px;background:#f1e3d4}.engine-error h3{font:400 22px/1.3 var(--serif);color:#773f32}.engine-error p{margin-top:9px;font-size:16px;line-height:1.5;color:#705442;overflow-wrap:anywhere}.engine-error button{margin-top:14px;border-color:#b89778}.app-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;max-width:1920px;margin:0 auto;border-top:1px solid var(--rule);color:var(--ink-soft);font-size:16px}.footer-detail{font-family:var(--serif);font-style:italic}.woodwright-dialog{max-width:min(560px,calc(100vw - 36px));width:560px;max-height:min(850px,calc(100svh - 56px));margin:auto;padding:35px;border:1px solid #b8a88e;border-radius:5px;color:var(--ink);background:var(--paper-light);box-shadow:0 24px 90px #2c271e33,0 3px 20px #2c271e0d;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.woodwright-dialog[open]{animation:dialog-in .2s ease both}.woodwright-dialog::backdrop{background:#302d2552;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}.dialog-heading .eyebrow{font-size:16px;line-height:1.5;letter-spacing:.08em;margin-bottom:11px}.dialog-heading h2{font-family:var(--serif);font-size:37px;font-weight:400;line-height:1.12;letter-spacing:-.04em}.dialog-heading .icon-button{width:44px;height:44px;min-width:44px;margin-top:0}.settings-list{border-top:1px solid var(--rule)}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:92px;padding:18px 0;border-bottom:1px solid var(--rule)}.setting-row strong{font-size:18px;font-weight:500}.setting-description{display:block;font-size:16px;line-height:1.5;color:var(--ink-soft);padding-top:4px}.switch{flex-shrink:0;appearance:none;width:50px;height:30px;border:1px solid #aa9c88;border-radius:30px;background:#ded4c5;position:relative;cursor:pointer;transition:background .18s ease,border-color .18s ease;margin:7px 0}.switch:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fffaf1;box-shadow:0 1px 4px #3e312533;transition:transform .18s ease}.switch:before{content:"";position:absolute;inset:-8px -4px}.switch:checked{background:var(--forest);border-color:var(--forest)}.switch:checked:after{transform:translate(20px)}.quality-setting{gap:18px}.quality-setting>label{flex:1}.quality-setting .select-wrap{min-width:146px}.quality-setting select{font-size:16px}.settings-view{margin-top:22px}.settings-view .field-label{font-size:18px}.dialog-view-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dialog-view-controls .button-secondary{font-size:16px}.dialog-note{color:var(--ink-soft);font-size:16px;line-height:1.5;margin-top:22px}.dialog-done{margin-top:23px;justify-content:space-between}.help-dialog{width:630px;max-width:min(630px,calc(100vw - 36px))}.help-topics{margin:0}.help-topics>div{padding:18px 0;border-top:1px solid var(--rule)}.help-topics dt{font-weight:500;font-size:19px;line-height:1.4;margin-bottom:7px;color:var(--forest)}.help-topics dd{font-size:17px;line-height:1.7;color:var(--ink-soft);margin:0}.help-topics strong{font-weight:500;color:var(--ink)}.promotion-dialog{width:575px;max-width:min(575px,calc(100vw - 36px))}.promotion-description{font-size:18px;line-height:1.6;color:var(--ink-soft)}.promotion-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:25px}.promotion-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:117px;border:1px solid var(--rule);border-radius:3px;background:#eee6d8;font-size:16px;text-transform:capitalize;gap:8px;padding:12px 5px}.promotion-choice:hover{border-color:var(--forest);background:#e0e6d8}.promotion-piece{font-family:var(--serif);font-size:49px;line-height:1;color:#5a4a32}.resign-dialog>p{font-size:18px;color:var(--ink-soft);line-height:1.7}.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}.confirm-resign{border-color:#c6a18c;color:#804335}.confirm-resign:hover{background:#f0e0d6;border-color:#9c6a52}@keyframes appear{0%{opacity:0;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%)}}@keyframes dialog-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes thinking{0%,65%,to{opacity:.3}30%{opacity:1}}.woodwright-app[data-reduced-motion=true] *,.woodwright-app[data-reduced-motion=true] *:before,.woodwright-app[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(min-width:1700px){.study-shell{grid-template-columns:minmax(0,1fr) 385px}.game-panel{padding-left:40px}.setup-form{margin-top:35px}.choice-fieldset+.choice-fieldset,.time-field{margin-top:30px}.panel-title{font-size:58px}.setup-intro{font-size:23px}.move-scroll{max-height:220px}}@media(max-width:1190px){.woodwright-app{padding-inline:30px}.study-shell{grid-template-columns:minmax(0,1fr) 322px;gap:24px;padding-top:29px}.game-panel{padding-left:23px}.board-heading{gap:14px;padding-inline:0}.board-heading-note{font-size:16px}.board-heading-rule{width:25px}.board-heading .eyebrow{font-size:16px;letter-spacing:.08em}.board-footer{flex-direction:column;align-items:center;gap:15px;text-align:center;padding-inline:0}.board-stage{min-height:520px;max-height:800px}.view-button{padding-inline:15px}.header-tools{margin-left:8px;gap:16px}.header-motto{font-size:18px}.player-strip{gap:9px}.player-avatar{width:38px;min-width:38px}.player-identity h2{font-size:17px}.clock{font-size:27px}.capture-line{padding-left:47px}.panel-footnote{gap:6px;font-size:16px}.game-control{gap:5px}}@media(max-width:980px)and (min-width:860px){.header-motto{display:none}.header-tools{margin-left:auto}.board-heading-note,.board-heading-rule{display:none}.woodwright-app{padding-inline:24px}}@media(max-width:859px){.woodwright-app{padding-inline:26px}.app-header{min-height:110px;gap:20px}.header-motto{display:none}.header-tools{margin-left:auto}.study-shell{display:flex;flex-direction:column;padding-top:25px;gap:30px;min-height:auto}.board-heading{padding-inline:0}.board-stage{height:clamp(360px,72vw,605px);min-height:360px;max-height:none;flex:none}.board-footer{flex-direction:row;text-align:left;gap:18px;align-items:center;padding-top:0}.board-instructions{font-size:16px}.view-button{padding-inline:12px}.game-panel{border-left:0;border-top:1px solid var(--rule);padding:27px 0 2px}.setup-panel{max-width:580px;margin:0 auto;width:100%}.setup-topline{justify-content:space-between}.panel-title{font-size:49px;margin-top:12px}.setup-intro{font-size:22px}.setup-intro br{display:none}.setup-form{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;row-gap:24px;margin-top:29px;align-items:start}.choice-fieldset+.choice-fieldset,.time-field{margin-top:0}.side-choices{gap:7px}.side-choice .choice-face{min-height:86px}.level-choices{gap:7px}.level-choices{grid-template-columns:repeat(4,1fr)}.level-choices .choice-face{min-height:45px}.selected-level-name{display:none}.time-field{grid-column:1 / -1}.start-button{grid-column:1 / -1;margin-top:0}.setup-availability{margin-top:14px}.panel-footnote{padding-top:27px}.session-panel{max-width:560px;width:100%;margin:0 auto}.player-strip{gap:13px}.player-avatar{width:45px;min-width:45px;height:50px}.player-identity h2{font-size:19px}.player-identity p{font-size:17px;max-width:none}.clock{font-size:33px}.capture-line{padding-left:58px}.status-title{font-size:31px}.turn-status{min-height:109px}.move-scroll{min-height:124px;max-height:230px}.move-row{font-size:18px;min-height:41px}.game-control{min-height:55px;font-size:17px}.game-control svg{width:21px;height:21px}.new-game-button{font-size:18px}.engine-error{max-width:580px;margin-inline:auto;width:100%}.app-footer{min-height:79px}}@media(max-width:610px){.woodwright-app{padding-inline:20px}.app-header{min-height:102px;gap:14px}.wordmark{gap:11px}.brand-seal{width:36px;height:49px}.brand-seal svg{width:22px;height:27px}.brand-name{font-size:20px}.brand-chess{font-size:16px;letter-spacing:.24em}.header-tools{gap:4px}.help-button{width:43px;min-width:43px}.help-button span{display:none}.help-button svg{width:23px;height:23px}.settings-button{width:43px;height:43px;min-width:43px;border:0}.study-shell{padding-top:22px;gap:24px}.board-heading{gap:14px}.board-heading-note{font-size:16px}.board-heading-rule{width:20px}.board-heading .eyebrow{letter-spacing:.055em}.board-stage{height:clamp(355px,91vw,530px);min-height:355px;margin-inline:-12px;width:calc(100% + 24px)}.board-footer{flex-direction:column;gap:14px;align-items:center;text-align:center}.board-instructions{font-size:16px}.view-controls{width:auto}.view-button{padding-inline:23px}.panel-title{font-size:47px}.setup-form{grid-template-columns:1fr;gap:25px}.time-field,.start-button{grid-column:auto}.selected-level-name{display:inline}.choice-fieldset legend,.field-label{font-size:18px}.side-choice .choice-face{min-height:92px;font-size:17px}.level-choice .choice-face{min-height:48px}.side-choices,.level-choices{gap:9px}.select-wrap select{font-size:17px;min-height:52px}.setup-intro{font-size:21px}.start-button{min-height:57px}.game-panel{padding-top:24px}.app-footer{flex-direction:column;align-items:center;gap:4px;padding:19px 0;text-align:center}.footer-detail{font-size:16px}.woodwright-dialog{max-height:calc(100svh - 32px);padding:25px;max-width:calc(100vw - 28px)}.dialog-heading{margin-bottom:19px;gap:10px}.dialog-heading h2{font-size:32px}.dialog-heading .eyebrow{font-size:16px;letter-spacing:.065em}.quality-setting{align-items:flex-start;flex-direction:column;gap:12px}.quality-setting .select-wrap{width:100%}.setting-row{gap:16px}.dialog-view-controls{gap:9px}.dialog-view-controls .button-secondary{padding-inline:10px;gap:7px}.dialog-note{margin-top:20px}.help-topics dd{font-size:17px}.promotion-choices{gap:8px}.promotion-choice{min-height:99px;font-size:16px;padding:11px 2px}.promotion-piece{font-size:41px}.confirmation-actions{grid-template-columns:1fr}}@media(max-width:379px){.woodwright-app{padding-inline:16px}.wordmark{gap:9px}.brand-name{font-size:18px}.brand-seal{width:32px;height:45px}.header-tools{gap:0}.help-button,.settings-button{width:40px;min-width:40px}.board-heading-note,.board-heading-rule{display:none}.board-stage{height:330px;min-height:330px}.panel-footnote{font-size:16px;white-space:normal;text-align:center}.view-button{padding-inline:20px}.player-strip{gap:10px}.clock{font-size:28px}.player-identity h2{font-size:18px}.player-identity p{font-size:16px}.game-control{gap:6px;font-size:16px}.game-control svg{width:18px;height:18px}.woodwright-dialog{padding:22px}.promotion-choices{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.woodwright-app:not([data-reduced-motion=false]) *,.woodwright-app:not([data-reduced-motion=false]) *:before,.woodwright-app:not([data-reduced-motion=false]) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
