.chess-module-page .utc-header{display:block}
.chess-path{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.chess-path a,.chess-path span{padding:10px 14px;border:1px solid #b9c9e8;border-radius:12px;background:#fff;min-height:44px}
.chess-path [aria-current]{font-weight:800;background:#eaf1ff}
.puzzle-picker{display:grid;gap:8px;max-width:700px;font-weight:700;margin-bottom:12px}
.puzzle-picker select{width:100%;max-width:100%;min-width:0}
#puzzleGoal{font-weight:700;line-height:1.5}
#puzzleTurn,#puzzleEvidence{line-height:1.5}
#puzzleEvidence,.chess-source{font-size:.92rem;color:#44556c}
.puzzle-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.puzzle-layout .board-area{min-width:0;width:100%;justify-content:stretch}
#puzzleBoard{--board-size:min(44vw,560px);width:var(--board-size);height:var(--board-size);max-width:100%;margin:auto}
#puzzleCaption{overflow-wrap:anywhere;line-height:1.5}
.puzzle-move-form{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:10px 0}
.puzzle-move-form label{display:grid;gap:6px;min-width:0;flex:1 1 140px}
.puzzle-move-form select{width:100%;max-width:100%;min-width:0}
#puzzleClassification{justify-content:center;padding:8px}
.chess-source{line-height:1.6;margin-top:20px}
#puzzleBoard .chess-square:focus-visible{outline:4px solid #142750;outline-offset:-4px}
.puzzle-layout .coach-panel{grid-template-columns:minmax(0,1fr)}
.puzzle-layout .mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.puzzle-layout .mini-stat{min-width:0;overflow-wrap:anywhere}
.puzzle-layout button:not(.chess-square){min-height:44px;min-width:44px}
@media(max-width:900px){.puzzle-layout{grid-template-columns:minmax(0,1fr)}#puzzleBoard{--board-size:min(calc(100vw - 54px),560px)}}
@media(max-width:600px){.chess-topbar{flex-wrap:wrap}.chess-brand{max-width:100%}.chess-brand h1{line-height:1.25}.challenge-banner{flex-wrap:wrap}.puzzle-layout .mini-stats{grid-template-columns:minmax(0,1fr)}.chess-actions{justify-content:flex-start}.chess-btn{white-space:normal}.chess-source{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){#puzzleBoard *{animation:none!important;transition:none!important}}
