.master-page{margin:0;background:#e7f6f8;color:#244b5b}.master-page .archive-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#fff}.master-page nav{display:flex;gap:8px}.master-layout{display:grid;grid-template-columns:minmax(320px,600px) minmax(360px,1fr);gap:20px;max-width:1450px;margin:20px auto;padding:0 18px}.master-layout>section{background:#fff;border:1px solid #d2e4e7;border-radius:18px;padding:18px;min-width:0}.master-layout h2{font-size:1.3rem;margin:0 0 6px}.master-layout p{line-height:1.45}.master-board-panel{align-self:start;position:sticky;top:12px}#master-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;width:100%;border:5px solid #e8e3d9;box-sizing:border-box}#master-board>span{aspect-ratio:1;background:#efdcba;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}#master-board>span.dark{background:#ac8864}#master-board svg{width:96%;height:96%;overflow:visible}.master-navigation{display:flex;gap:8px;justify-content:center;position:sticky;bottom:8px;background:#fffffff5;padding:10px;border-radius:14px;box-shadow:0 2px 10px #244b5b18;margin:8px 0}.master-navigation button{min-width:44px;height:44px;padding:0;font-size:1.5rem}.master-actions{display:flex;gap:8px;flex-wrap:wrap}.master-layout .archive-button{text-decoration:none}.master-layout button:active,.master-layout a.archive-button:active{transform:scale(.96)}#master-current{min-height:2.7em;font-weight:600;margin:6px 0}#master-moves{height:115px;overflow:auto;margin-top:12px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px}#master-moves button{background:#fff;border:1px solid #d2e4e7;border-radius:5px;color:#244b5b;padding:6px;cursor:pointer}#master-moves button[aria-current=true]{background:#147d92;color:#fff}#master-search{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b9ced5;border-radius:9px;margin:8px 0}#master-results{max-height:210px;overflow:auto}#master-results button{display:block;width:100%;text-align:left;padding:9px;background:#fff;border:0;border-bottom:1px solid #e2eded;color:#244b5b;cursor:pointer}#master-results button:hover{background:#e8f6f6}.master-page #analysis-move-tree-canvas{max-height:65vh;min-height:280px}.master-page #analysis-move-tree-canvas g[role=button]{cursor:pointer}.master-page #analysis-move-tree-info{min-height:3em}.master-hint,.master-layout details{font-size:.86rem;color:#526779}.master-page #analysis-move-tree-canvas:focus-visible{outline:2px solid #147d92}@media(max-width:820px){.master-layout{grid-template-columns:1fr;margin:10px auto;padding:0 10px;gap:12px}.master-board-panel{position:static}.master-layout>section{padding:12px}.master-page .archive-header{padding:10px;gap:6px;flex-wrap:wrap}.master-page #analysis-move-tree-canvas{max-height:55vh}.master-board-panel{max-width:600px;width:100%;box-sizing:border-box;margin:auto}}

.master-navigation.review-controls{flex-wrap:nowrap;align-items:center;gap:8px}.master-navigation.review-controls .archive-button{display:grid;place-items:center;width:46px;height:46px;min-width:46px;padding:0;border-radius:50%;background:#fff;color:#16445b;border:1px solid #b9cbd7;box-shadow:0 2px 0 #d8e5e8;touch-action:manipulation}.master-navigation.review-controls #master-prev,.master-navigation.review-controls #master-next{width:50px;height:50px;min-width:50px}.master-navigation.review-controls #master-flip{margin-left:8px}.master-navigation.review-controls button:active:not(:disabled){transform:translateY(2px) scale(.94);box-shadow:none}.master-navigation.review-controls svg{display:block;pointer-events:none}
