#study-layout { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr)); gap:1rem; }
#study-layout[hidden] { display:none; }
#study-board { display:grid; grid-template-columns:repeat(8,1fr); width:100%; max-width:28rem; }
#study-board span { display:grid; place-items:center; aspect-ratio:1; min-width:0; font:clamp(1rem,5vw,2.45rem)/1 'Segoe UI Symbol',sans-serif; color:#181719; }
#study-board .dark { background:#ae8f6d; }
#study-board .light { background:#f3e0bd; }
.study-actions { display:flex; gap:.55rem; flex-wrap:wrap; margin:.7rem 0; }
#study-fen,#study-form textarea,#study-note-form textarea { max-width:100%; width:100%; }
#study-notes { overflow-wrap:anywhere; }
