.chess-studio{--ink:#073d43;--deep:#053a3b;--cream:#faf3e2;--mint:#0a8c78;--gold:#c4a66a;--wood:#b98654;color:var(--ink);isolation:isolate;background:#264a43;border:1px solid #c6b793;border-radius:24px;min-height:560px;padding:clamp(12px,2.2vw,28px);font-family:Inter,sans-serif;position:relative;overflow:hidden;box-shadow:0 16px 38px #092f3123}.chess-studio *{box-sizing:border-box}.chess-studio button,.chess-studio input{font:inherit}.chess-studio button{cursor:pointer;touch-action:manipulation;transition:background .15s,box-shadow .15s}.chess-studio button:disabled{cursor:default;opacity:.62}.chess-studio button:focus-visible,.chess-studio input:focus-visible,.chess-studio summary:focus-visible{outline-offset:3px;outline:3px solid #efca58}.chess-studio h1,.chess-studio h2,.chess-studio h3,.chess-studio h4,.chess-studio p{margin-top:0}.chess-studio h3{font-size:clamp(18px,2vw,24px);line-height:1.35}.chess-studio p{line-height:1.55}.chess-studio small{font-size:13px;line-height:1.5}.chess-studio svg{vertical-align:middle;flex-shrink:0;width:25px;height:25px;display:inline-block}.chess-studio .chess-piece{object-fit:contain;object-position:center bottom;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 1px 1px #182b2930);flex-shrink:0;width:84%;height:92%;display:inline-block}.chess-paper{background:linear-gradient(135deg,#fffbee,#f2ead7);border:1px solid #d3c4a5;border-radius:17px;padding:24px;box-shadow:0 5px #b3a18135,0 9px 20px #092b301b}.chess-primary,.chess-paper-button{border:1px solid #305b50;border-radius:12px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:50px;padding:15px 20px;font-size:17px;font-weight:700;display:flex;box-shadow:0 2px 4px #052e3814}.chess-primary{color:#fffdf2;background:#244d45}.chess-primary:hover:not(:disabled){background:#173e37}.chess-paper-button{color:var(--ink);background:linear-gradient(#fffcf2,#e9e3cd);border-color:#cec3a9}.chess-primary+.chess-paper-button,.chess-paper-button+.chess-primary{margin-top:12px}.chess-quiet{color:var(--ink);background:0 0;border:0;min-height:44px;padding:14px;text-decoration:underline}.chess-top{color:#fffdf2;align-items:center;gap:10px;margin-bottom:16px;display:flex}.chess-top h2{flex:1;align-items:center;gap:10px;margin:0;font-size:clamp(18px,2.2vw,25px);line-height:1.3;display:flex}.chess-icon-button{width:46px;height:46px;color:var(--cream);background:linear-gradient(#0d7474,#044554);border:1px solid #4c9b8f70;border-radius:11px;flex-shrink:0;place-items:center;display:grid;box-shadow:0 4px 5px #092b3040}.chess-save{color:#f9f1d9;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;min-height:24px;margin:0 0 12px;font-size:13px;display:flex}.chess-save.error{color:#562d1e;background:#fff2d8;border:2px solid #de965e;border-radius:10px;justify-content:flex-start;padding:12px}.chess-save button{color:var(--ink);background:#fffaf0;border:1px solid #c5b899;border-radius:8px;min-height:40px;padding:8px 12px}.chess-preview{background:#fff2d4;border-radius:9px;padding:10px 16px;font-size:14px}.chess-play-layout{grid-template-columns:minmax(0,1fr) minmax(210px,28%);align-items:start;gap:20px;max-width:1110px;margin:auto;display:grid}.chess-main-board{min-width:0}.chess-wood-frame{background:repeating-linear-gradient(4deg,#ffffff03 0,#74451d0a 2px,#0000 3px 9px),linear-gradient(115deg,#c38f56,#b5824c 48%,#784b2a);border:4px solid #67401e;border-radius:13px;padding:clamp(12px,1.8vw,23px) clamp(12px,1.8vw,23px) clamp(24px,2.8vw,34px);position:relative;box-shadow:inset 0 0 0 2px #e1b57c,0 12px 23px #031c2759}.chess-board{aspect-ratio:1;border:2px solid #673d23;flex-direction:column;margin:0;display:flex;position:relative;overflow:hidden;box-shadow:0 0 1px 1px #64351e}.chess-rank{flex:1;grid-template-columns:repeat(8,minmax(0,1fr));height:12.5%;min-height:0;display:grid}.chess-studio .chess-cell{aspect-ratio:1;isolation:isolate;opacity:1;border:0;border-radius:0;justify-content:center;align-items:center;min-width:0;min-height:0;margin:0;padding:0;display:flex;position:relative;box-shadow:inset 0 0 1px #56391c33}.chess-cell.light{background:repeating-linear-gradient(86deg,#0000 0 7px,#5b321003 9px 10px),linear-gradient(110deg,#e6c89b,#f2d7ae 48%,#d9b989)}.chess-cell.dark{background:repeating-linear-gradient(86deg,#0000 0 6px,#3e1e1006 8px 9px),linear-gradient(110deg,#a77547,#b28053 45%,#a27346)}.chess-cell.selected:after{content:"";pointer-events:none;z-index:4;border:3px solid #064e56;border-radius:4px;position:absolute;inset:3px}.chess-cell.last{box-shadow:inset 0 0 0 3px #f4ca6499}.chess-cell.hinted{box-shadow:inset 0 0 0 4px #077b78}.chess-cell.check{background:#cf8568}.chess-cell .check-mark{color:#752721;z-index:6;font-size:17px;font-weight:900;position:absolute;top:0;right:2px}.chess-cell .legal-dot{pointer-events:none;background:radial-gradient(at 30% 20%,#5ce1b0,#079e87 70%);border:1px solid #02554a;border-radius:50%;width:24%;height:24%;box-shadow:0 2px 3px #003e3f4a}.chess-cell .capture-ring{pointer-events:none;z-index:4;border:4px dashed #09655e;border-radius:50%;position:absolute;inset:5%}.chess-cell.goal .goal-mark{color:#fffbea;z-index:3;text-shadow:0 1px 2px #033;font-size:20px;line-height:1;position:absolute;bottom:1px;right:2px}.chess-cell.goal{box-shadow:inset 0 0 0 3px #077570}.chess-cell .chess-piece{z-index:2;pointer-events:none}.chess-ranks{color:#fff6dc;grid-template-rows:repeat(8,1fr);width:clamp(11px,1.4vw,19px);font-size:clamp(11px,1.1vw,15px);font-weight:700;display:grid;position:absolute;top:clamp(12px,1.8vw,23px);bottom:clamp(24px,2.8vw,34px);left:1px}.chess-ranks span{text-align:center;align-self:center}.chess-files{color:#fff6dc;text-align:center;grid-template-columns:repeat(8,1fr);align-items:center;height:22px;font-size:clamp(12px,1.2vw,16px);font-weight:600;display:grid;position:absolute;bottom:2px;left:clamp(12px,1.8vw,23px);right:clamp(12px,1.8vw,23px)}.chess-board>.chess-arrow{pointer-events:none;z-index:7;width:100%;height:100%;position:absolute;inset:0}.chess-piece.moved{animation:.24s ease-out chess-travel}@keyframes chess-travel{0%{transform:translate(var(--dx),var(--dy))}to{transform:translate(0)}}.chess-side{flex-direction:column;gap:16px;padding:20px;display:flex}.chess-side p{margin:0}.chess-side .chess-primary{font-size:16px}.chess-players{border-bottom:1px solid #cdbf9f;flex-direction:column;gap:15px;padding-bottom:17px;display:flex}.chess-players>span{align-items:center;gap:12px;display:flex}.chess-players small{margin-top:4px;font-weight:400;display:block}.chess-players .chess-piece{width:32px;height:42px}.chess-turn{background:radial-gradient(at 30% 20%,#fff,#e0d4b7);border:1px solid #435b52;border-radius:50%;flex-shrink:0;width:22px;height:22px;display:inline-block;box-shadow:0 2px 3px #052e334d}.chess-turn.black{background:radial-gradient(at 30% 20%,#467773,#092e34)}.chess-history summary{cursor:pointer;padding:6px 0;font-weight:700}.chess-history ol{max-height:280px;padding-left:25px;font-size:13px;overflow:auto}.chess-history li{border-bottom:1px solid #d6cbb6;padding:5px 0}.chess-history li small{font-size:11px;display:block}.chess-guidance{border-left:3px solid #bb9a53;padding-left:10px;font-size:15px}.chess-check-message{color:#fff6df;margin:0;padding:12px 0;font-weight:600}.chess-piece-info>.chess-piece{float:left;width:60px;height:75px;margin-right:12px}.chess-piece-info p{font-size:14px}.chess-result{text-align:center}.chess-result>svg{width:45px;height:45px;margin-bottom:14px}.chess-result p{margin:10px 0 18px}.chess-recovery,.chess-setup{max-width:800px;margin:25px auto}.chess-setup{text-align:center}.chess-setup>.chess-piece{width:70px;height:82px;margin:0 auto 15px}.chess-setup fieldset{border:0;margin:25px 0;padding:0}.chess-setup legend{margin:0 auto 15px;font-weight:700}.chess-levels{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.chess-levels label{cursor:pointer;border:2px solid #d5c8af;border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:20px 10px;display:flex}.chess-levels label.active{background:#dfede1;border-color:#0a7970}.chess-levels label span{font-size:13px}.chess-levels input{accent-color:#05756c;width:18px;height:18px}.chess-switch{text-align:left;align-items:center;gap:12px;padding:15px 0;line-height:1.5;display:flex}.chess-switch input{accent-color:#077169;flex-shrink:0;width:22px;height:22px}.chess-footnote{text-align:center;opacity:.8;margin:20px 0 0;font-size:13px}.chess-modal{width:480px;max-width:min(94vw,480px);color:var(--ink);background:linear-gradient(135deg,#fffbee,#ece2c9);border:2px solid #a88b55;border-radius:22px;padding:30px;box-shadow:0 25px 80px #052d3377}.chess-modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#072c3180}.chess-modal-close{background:0 0;border:0;padding:5px;position:absolute;top:10px;right:10px}.chess-modal h2{margin:0 0 12px;font-size:24px}.chess-modal p{line-height:1.5}.chess-promotion{grid-template-columns:1fr 1fr;gap:14px;display:grid}.chess-promotion button{color:var(--ink);cursor:pointer;background:#faf4e3;border:1px solid #c5b18b;border-radius:12px;flex-direction:column;align-items:center;padding:20px;display:flex}.chess-promotion .chess-piece{width:70px;height:85px}.chess-promotion strong{margin-top:10px}.chess-educator-entry{width:100%;color:var(--ink);background:#fffae9eb;border:2px solid #967545;border-radius:13px;flex-direction:column;align-items:center;gap:7px;margin:20px 0 0;padding:15px;display:flex}.chess-educator-entry span{text-transform:uppercase;letter-spacing:.08em;font-size:12px}.chess-educator-entry strong{font-size:16px}.chess-learning{grid-template-columns:160px minmax(200px,.9fr) minmax(300px,1.5fr);align-items:start;gap:16px;display:grid}.chess-lesson-tabs{flex-direction:column;gap:7px;max-height:650px;display:flex;overflow:auto}.chess-lesson-tabs button{color:var(--ink);text-align:left;background:#f7f0dc;border:2px solid #0000;border-radius:10px;align-items:center;gap:9px;min-height:50px;padding:8px;font-size:13px;display:flex}.chess-lesson-tabs button.active{background:#d2e4d6;border-color:#5ea295}.chess-lesson-tabs .chess-piece{width:32px;height:36px}.chess-lesson-copy{padding:20px}.chess-lesson-copy small{margin-bottom:14px;display:block}.chess-lesson-copy .chess-paper-button{margin-top:10px}.chess-lesson-board{min-width:0}.chess-challenge-list{max-width:1100px;margin:auto}.chess-challenge-list>section>h3{color:#fffae9;margin:25px 0 14px}.chess-challenge-cards{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px;display:grid}.chess-challenge-cards button{text-align:left;color:var(--ink);grid-template-columns:42px 1fr;align-items:center;gap:12px;padding:20px;display:grid}.chess-challenge-cards .chess-piece{grid-row:span 2;width:38px;height:48px}.chess-challenge-cards small{grid-column:2}.chess-challenge-list .chess-educator-entry{margin:0}.chess-progress{max-width:1100px;margin:auto}.chess-tabs{gap:12px;margin-bottom:22px;display:flex}.chess-tabs button{color:var(--ink);background:#ede6d5;border:1px solid #ded3b7;border-radius:10px;flex:1;min-height:46px;padding:12px}.chess-tabs button.active{color:#fff;background:#305d51;border-color:#7e9c8c}.chess-stat-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.chess-stat-grid article{text-align:center;flex-direction:column;gap:14px;display:flex}.chess-stat-grid strong{font-size:40px}.chess-stat-grid span{font-size:14px}.chess-muted{color:#e2e1c9;margin:20px 0;font-size:14px}.chess-match-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.chess-match-list button{text-align:left;color:var(--ink);flex-direction:column;gap:10px;display:flex}.chess-match-list span{font-size:14px}.chess-skill-summary{margin-bottom:14px}.chess-skill-summary h3{margin-bottom:8px}.chess-skill-summary p{margin:0}.chess-progress>details{margin-top:16px}.chess-progress summary{cursor:pointer;font-weight:700}.chess-progress details article{border-top:1px solid #c6b68f;margin-top:15px;padding-top:15px}.chess-progress details article button{color:var(--ink);background:#fff8e6;border:1px solid #c6b68f;border-radius:8px;padding:8px}.chess-review{grid-template-columns:minmax(0,700px) minmax(210px,1fr);gap:24px;max-width:1100px;margin:auto;display:grid}.chess-review-controls>div{align-items:center;gap:12px;margin:20px 0;display:flex}.chess-review-controls input{accent-color:#006a60;flex:1;min-width:0}.chess-review-controls button{width:44px;height:44px;color:var(--ink);background:#fffaf1;border:1px solid #b6a783;border-radius:50%;flex-shrink:0}.no-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (width<=1100px){.chess-learning{grid-template-columns:150px 1fr}.chess-lesson-board{grid-area:1/2/span 2}.chess-lesson-copy{grid-column:1;font-size:14px}.chess-lesson-tabs{max-height:260px}.chess-play-layout{grid-template-columns:minmax(0,1fr) 215px;gap:14px}.chess-side{padding:16px}}@media (width<=760px){.chess-studio{border-radius:16px;min-height:0;padding:12px}.chess-top{gap:7px;margin-bottom:12px}.chess-icon-button{width:40px;height:40px}.chess-top h2{font-size:18px}.chess-play-layout{flex-direction:column;gap:16px;display:flex}.chess-main-board{width:100%}.chess-side{grid-template-columns:1fr 1fr;gap:12px;width:100%;padding:16px;display:grid}.chess-side>.chess-players,.chess-side>.chess-guidance,.chess-side>.chess-piece-info,.chess-side>.chess-result,.chess-side>h3,.chess-side>p{grid-column:1/-1}.chess-players{flex-direction:row;justify-content:space-between}.chess-side .chess-history{align-self:center}.chess-side>.chess-quiet{grid-column:1/-1}.chess-side .chess-primary+.chess-paper-button{margin-top:0}.chess-wood-frame{border-width:3px;border-radius:10px;padding:14px 12px 26px 16px}.chess-ranks{width:14px;top:14px;bottom:26px;left:0}.chess-files{height:22px;font-size:13px;bottom:2px;left:16px;right:12px}.chess-cell.selected:after{border-width:2px;inset:1px}.chess-cell .capture-ring{border-width:3px}.chess-levels{gap:7px}.chess-levels label{padding:15px 5px;font-size:14px}.chess-levels label span{font-size:12px}.chess-setup{padding:20px 15px}.chess-paper{border-radius:14px}.chess-learning{flex-direction:column;gap:14px;display:flex}.chess-lesson-tabs{flex-direction:row;width:100%;max-height:none;padding-bottom:8px;display:flex;overflow-x:auto}.chess-lesson-tabs button{text-align:center;flex-direction:column;justify-content:center;gap:5px;min-width:110px;font-size:12px}.chess-lesson-copy{order:1;width:100%;padding:17px}.chess-lesson-copy p{font-size:15px}.chess-lesson-copy .chess-primary,.chess-lesson-copy .chess-paper-button{vertical-align:top;width:calc(50% - 6px);padding:12px 6px;font-size:15px;display:inline-flex}.chess-lesson-copy .chess-paper-button{margin:0 0 0 8px}.chess-lesson-board{order:2;width:100%}.chess-challenge-cards{grid-template-columns:1fr 1fr;gap:10px}.chess-challenge-cards button{grid-template-columns:30px 1fr;gap:8px;padding:15px 10px;font-size:14px}.chess-challenge-cards .chess-piece{width:28px;height:40px}.chess-challenge-cards small{grid-column:1/-1;font-size:11px}.chess-stat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.chess-stat-grid article{padding:20px 10px}.chess-stat-grid strong{font-size:34px}.chess-review{flex-direction:column;gap:16px;display:flex}.chess-review-controls{padding:20px}.chess-tabs{gap:8px}.chess-tabs button{padding:10px 5px;font-size:14px}}@media (prefers-reduced-motion:reduce){.chess-studio *{transition:none!important;animation:none!important}}.chess-modal{max-height:calc(100dvh - 24px);margin:auto;position:fixed;inset:0;overflow:auto}@media (width<=760px){.chess-side{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.chess-side>*{min-width:0}.chess-players{flex-wrap:wrap;gap:12px}.chess-players>span{gap:8px;min-width:0}.chess-players b{overflow-wrap:anywhere;min-width:0}.chess-side .chess-primary,.chess-side .chess-paper-button{gap:8px;padding:12px 8px}.chess-side .chess-history{overflow-wrap:anywhere}}.chess-studio.chess-screen-home{background:#f6f3e9;border-color:#c5c7b8;min-height:0;padding:0;box-shadow:0 8px 24px #153c3112}.chess-home{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(16px,3vw,44px);min-height:530px;padding:clamp(28px,4vw,56px);display:grid;position:relative}.chess-home-menu{z-index:1;width:100%;min-width:0;max-width:460px;position:relative}.chess-home-menu h1{letter-spacing:-.035em;color:#163c35;margin:0 0 12px;font-family:Georgia,Times New Roman,serif;font-size:clamp(56px,6vw,88px);font-weight:500;line-height:1.08}.chess-home-subtitle{color:#264a43;margin-bottom:30px;font-family:Georgia,Times New Roman,serif;font-size:clamp(20px,2.2vw,28px);line-height:1.4}.chess-home-primary{flex-direction:column;gap:12px;display:flex}.chess-home-primary .chess-primary{min-height:60px;font-size:21px}.chess-home-primary .chess-paper-button{background:#faf8f1;border-color:#8c9a89;min-height:54px;font-size:17px}.chess-home-primary .chess-primary+.chess-paper-button,.chess-home-primary .chess-paper-button+.chess-paper-button{margin-top:0}.chess-home-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.chess-home-nav button{color:#24453c;background:0 0;border:1px solid #a7ae9c;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:52px;padding:14px 10px;font-size:14px;font-weight:600;display:flex}.chess-home-nav svg{width:22px;height:22px}.chess-home-nav button:hover,.chess-home-primary .chess-paper-button:hover{background:#e9eddf}.chess-home .chess-footnote{text-align:left;color:#546456;opacity:1;margin:26px 0 0;font-size:14px}.chess-home .chess-educator-entry{text-align:left;background:#e9eddf;border:1px solid #a5b09b;align-items:flex-start;gap:5px;padding:14px 16px}.chess-home .chess-educator-entry span{letter-spacing:.025em;text-transform:none;font-size:12px}.chess-home .chess-educator-entry strong{overflow-wrap:anywhere;font-size:15px;line-height:1.5}.chess-home-art{pointer-events:none;border-radius:160px 160px 16px 16px;justify-content:center;align-self:stretch;align-items:center;min-width:0;display:flex;overflow:hidden}.chess-home-art img{object-fit:contain;mix-blend-mode:multiply;width:100%;height:auto;max-height:520px;display:block}.chess-screen-home>.chess-preview,.chess-screen-home>.chess-save{margin:16px 20px 0}.chess-screen-home>.chess-save{color:#264a43}@media (width<=1000px) and (width>=761px){.chess-home{gap:16px;min-height:450px;padding:30px 24px}.chess-home-nav button{flex-direction:column;gap:6px}.chess-home-menu h1{font-size:64px}}@media (width<=760px){.chess-home{grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;padding:28px 22px 12px}.chess-home-menu{max-width:440px;margin:auto}.chess-home-menu h1{text-align:center;font-size:56px}.chess-home-subtitle{text-align:center;margin:0 0 24px;font-size:21px}.chess-home-primary .chess-primary{min-height:56px;font-size:20px}.chess-home-primary .chess-paper-button{font-size:16px}.chess-home-nav{gap:10px;margin-top:14px}.chess-home-nav button{gap:7px;padding:12px 8px;font-size:14px}.chess-home .chess-footnote{text-align:center;margin-top:22px}.chess-home-art{border-radius:110px 110px 12px 12px;align-self:center;width:100%;max-width:330px;max-height:230px;margin:auto}.chess-home-art img{object-fit:contain;height:260px}}@media (width<=370px){.chess-home{padding:24px 14px 10px}.chess-home-nav button{flex-direction:column}.chess-home-menu h1{font-size:50px}}.chess-studio .chess-cell.light{background:repeating-linear-gradient(86deg,#0000 0 8px,#6c4f2f08 9px 10px),linear-gradient(115deg,#f3e5ca,#e4cfaa 52%,#f7ecd7)}.chess-studio .chess-cell.dark{background:repeating-linear-gradient(86deg,#0000 0 7px,#173f3809 8px 9px),linear-gradient(115deg,#8ca79c,#76958a 50%,#93ada2)}.chess-studio .chess-board{border-color:#31584f;box-shadow:0 0 0 1px #efdfbc,0 3px 8px #173d3926}.chess-studio .chess-cell .chess-piece{filter:drop-shadow(0 2px 1px #173d3a45)drop-shadow(0 0 1px #fff8e7)}.chess-home-menu h1:after{content:"Pense, mova e descubra.";color:#4d6861;letter-spacing:0;margin-top:8px;font-size:16px;font-weight:500;line-height:1.35;display:block}.chess-setup>.chess-piece{content:url(/images/chess/w-k.webp)}.chess-undo-note,.chess-save.saved,.chess-save.saving{display:none!important}.chess-cell img[src*=-p\.webp]{position:relative;top:-5%}.chess-side>.chess-quiet{color:#174e48;width:100%;min-height:48px;font:inherit;cursor:pointer;background:#f8f2e7;border:1px solid #b9c9bf;border-radius:12px;justify-content:center;align-items:center;gap:9px;margin-top:8px;padding:12px 16px;font-weight:700;text-decoration:none;display:flex;box-shadow:0 2px #d7c9ad55}.chess-side>.chess-quiet:hover:not(:disabled){background:#fffaf0;border-color:#789c8e}.chess-side>.chess-quiet:disabled{opacity:.55;cursor:not-allowed}@media (width<=700px){.chess-home-menu h1:after{font-size:15px}.chess-cell img[src*=-p\.webp]{top:-4%}}.public-chess{font-size:16px}.public-chess .chess-top h1{color:#fffdf2;flex:1;margin:0;font-size:clamp(20px,2.4vw,28px)}.public-chess .chess-top a{text-decoration:none}.public-chess .chess-home-menu h1:after{content:none}.public-chess .home-help{margin:20px auto 0;display:block}.public-chess .chess-home-subtitle{font-size:20px;line-height:1.5}.public-chess .chess-home-primary button{min-height:56px;font-size:18px}.public-chess .chess-setup>.chess-piece{content:normal}.public-chess .chess-setup-label{margin:24px 0 12px;font-weight:700}.public-chess .chess-levels{margin:0 0 24px}.public-chess .chess-levels label{flex-direction:row;justify-content:center;gap:10px}.public-chess .chess-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.public-chess .chess-colors label{text-align:left;cursor:pointer;background:#fffaf1;border:2px solid #d5c8af;border-radius:12px;grid-template-columns:22px 44px minmax(0,1fr);align-items:center;gap:8px;padding:12px;display:grid}.public-chess .chess-colors label.active{background:#dfede1;border-color:#0a7970}.public-chess .chess-colors .chess-piece{width:40px;height:50px}.public-chess .chess-colors strong,.public-chess .chess-colors small{display:block}.public-chess .chess-colors small{color:#49675e;margin-top:3px;font-size:12px}.public-chess [data-slot=radio-group-item]{width:20px;min-width:20px;height:20px;display:block;position:relative}.public-chess [data-slot=radio-group-item] svg{width:10px;height:10px}.public-room-form{flex-direction:column;gap:18px;max-width:520px;margin:32px auto;padding:28px;display:flex}.public-room-form h2{margin:0;font-size:26px}.public-room-form label{font-size:16px;font-weight:600}.public-room-form input{color:#163c35;background:#fffdf7;border:1px solid #a7b8a9;border-radius:10px;width:100%;min-height:52px;padding:12px 14px;font-size:18px}.public-room-form #room-code{letter-spacing:.3em;font-size:26px}.public-room-modes{gap:12px;margin-top:-8px;display:grid}.public-room-modes label{cursor:pointer;border:1px solid #b7c6b9;border-radius:12px;align-items:center;gap:14px;padding:16px;display:flex}.public-room-modes label:has([data-state=checked]){background:#e1ece1;border-color:#2f695c}.public-room-modes small{margin-top:4px;font-size:14px;font-weight:400;display:block}.public-room-form .chess-primary+.chess-paper-button{margin:0}.public-room-form .chess-footnote{margin:0;font-size:14px}.public-chess-error{color:#71391e;background:#fff0df;border:1px solid #c58053;border-radius:12px;margin:0 0 18px;padding:16px;line-height:1.6}.public-chess-error a{text-decoration:underline;display:block}.public-room-banner{color:#fff9e9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;max-width:1110px;margin:0 auto 20px;font-size:14px;display:flex}.public-room-banner .chess-paper-button{width:auto;min-height:44px;padding:10px 18px;font-size:14px}.public-room-banner textarea{color:#153d35;background:#fffdf3;border-radius:8px;width:100%;min-height:120px;padding:12px}.public-chess .public-turn{margin:0;font-size:21px;line-height:1.4}.public-chess .chess-side{gap:16px}.public-chess .chess-side button{font-size:16px}.public-chess .chess-captures{border-bottom:1px solid #cdbf9f;gap:8px;padding-bottom:14px;display:grid}.public-chess .chess-capture-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.public-chess .chess-capture-label{color:#466158;font-size:12px}.public-chess .chess-capture-pieces{flex-wrap:wrap;align-items:center;gap:6px;min-height:34px;display:flex}.public-chess .chess-captured-piece{align-items:center;gap:1px;display:flex}.public-chess .chess-captured-piece .chess-piece{width:25px;height:32px}.public-chess .chess-captured-piece small{color:#31584f;font-size:11px;font-weight:700}.public-chess .chess-no-captures{color:#6b7469;font-size:12px}.public-chess summary{cursor:pointer;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:600;display:flex}.public-chess summary:before{content:"+";font-size:19px;line-height:1}.public-chess details[open]>summary:before{content:"−"}.public-chess .chess-history ol{max-height:220px;font-size:14px}.public-chess .chess-history li span{margin-top:4px;font-size:13px;display:block}.public-chess .chess-history p,.public-piece-guide p{font-size:14px}.public-other-actions button{color:#214c42;background:#fff9ec;border:1px solid #c3bea7;border-radius:8px;width:100%;min-height:44px;margin:8px 0;padding:10px;display:block}.public-proposal{background:#edf2e3;border:2px solid #427765;border-radius:12px;padding:14px}.public-proposal>div{flex-direction:column;gap:10px;margin-top:12px;display:flex}.public-proposal p{font-size:15px}.public-proposal .chess-paper-button{margin:0}.public-room-expiry{color:#52665b}.public-piece-guide,.public-other-actions{border-top:1px solid #cbc8b4;padding-top:5px}.public-chess .chess-guidance{font-size:16px}.public-chess .chess-side .chess-players b{overflow-wrap:anywhere}.public-chess .chess-cell[aria-disabled=true]{cursor:default}.public-chess .chess-cell:focus-visible{outline-offset:-4px;z-index:8;outline:3px solid #063e43}.public-chess .chess-ranks{font-size:13px}.public-chess .chess-lesson-tabs button{font-size:14px}.public-chess .chess-lesson-copy h2{font-size:25px}.public-chess .chess-learning{grid-template-columns:145px minmax(220px,.75fr) minmax(280px,1.4fr)}.public-chess-dialog{color:#163d36;background:#fbf6e9;border:1px solid #b9bda5;border-radius:20px;max-height:calc(100dvh - 32px);font-size:16px;line-height:1.6;overflow:auto}.public-chess-dialog [data-slot=dialog-title]{font-size:24px;line-height:1.3}.public-chess-dialog [data-slot=dialog-description]{color:#526256;font-size:16px}.public-chess-dialog .chess-piece{object-fit:contain}.public-chess-dialog .chess-paper-button{cursor:pointer;margin:0}.public-chess-dialog button:focus-visible{outline-offset:3px;outline:3px solid #287263}@media (width<=1000px){.public-chess .chess-learning{grid-template-columns:140px 1fr}.public-chess .chess-lesson-board{grid-area:1/2/span 2}.public-chess .chess-lesson-copy{grid-column:1}.public-chess .chess-home{gap:15px;padding:30px}}@media (width<=760px){.public-chess{border-radius:14px;padding:10px}.public-chess.chess-screen-home{padding:0}.public-chess .chess-home{flex-direction:column;padding:24px 20px 10px;display:flex}.public-chess .chess-home-art{order:-1;max-width:270px;height:170px;margin-bottom:0}.public-chess .chess-home-art img{height:205px}.public-chess .chess-home-menu h1{margin-bottom:8px;font-size:44px}.public-chess .chess-home-subtitle{margin-bottom:24px;font-size:17px}.public-chess .home-help{margin-top:10px}.public-chess .chess-wood-frame{border-width:2px;border-radius:8px;padding:10px 3px 22px 13px}.public-chess .chess-ranks{width:12px;font-size:12px;top:10px;bottom:22px}.public-chess .chess-files{height:18px;font-size:12px;left:13px;right:3px}.public-chess .chess-play-layout{gap:16px}.public-chess .chess-side{flex-direction:column;gap:14px;padding:18px 16px;display:flex}.public-chess .chess-players{grid-template-columns:1fr 1fr;gap:10px;display:grid}.public-chess .chess-players b{font-size:14px}.public-chess .chess-players small{font-size:13px}.public-chess .chess-players>p{grid-column:1/-1}.public-chess .chess-players .chess-piece{width:25px;height:34px}.public-room-banner{gap:10px;margin-bottom:14px}.public-room-banner>span{flex:1;min-width:120px}.public-room-banner .chess-paper-button{padding:10px;font-size:14px}.public-room-form{margin:20px 0;padding:22px 16px}.public-chess .chess-setup{margin:20px 0;padding:22px 14px}.public-chess .chess-colors label{grid-template-columns:20px 38px minmax(0,1fr);gap:6px;padding:10px 8px}.public-chess .chess-colors .chess-piece{width:34px;height:44px}.public-chess .chess-levels{grid-template-columns:1fr;gap:10px}.public-chess .chess-levels label{justify-content:flex-start;padding:16px;font-size:16px}.public-chess .chess-capture-row{align-items:flex-start}.public-chess .chess-learning{display:flex}.public-chess .chess-lesson-tabs{grid-template-columns:repeat(3,1fr);gap:8px;padding:0;display:grid;overflow:visible}.public-chess .chess-lesson-tabs button{flex-direction:row;gap:5px;min-width:0;padding:8px 5px;font-size:14px}.public-chess .chess-lesson-tabs .chess-piece{width:24px;height:30px}.public-chess .chess-lesson-board{order:1;width:100%}.public-chess .chess-lesson-copy{order:2}.public-chess .chess-lesson-copy .chess-primary,.public-chess .chess-lesson-copy .chess-paper-button{font-size:14px}.public-chess .public-turn{font-size:21px}}
