main{max-width:1080px}.endgame-workspace{grid-template-columns:minmax(0,600px) minmax(0,330px)}.endgame-modes{margin-bottom:18px}.endgame-library{margin-top:18px}.endgame-library #puzzles{display:grid;gap:6px}.endgame-library button{display:flex;justify-content:space-between;text-align:left;gap:8px;width:100%;font-size:14px}.endgame-library small{color:var(--muted);font-size:12px;white-space:nowrap}.hint-panel h2{font-size:16px;font-weight:500;margin:20px 0 10px}#hints{display:grid;gap:8px}.hint-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--panel)}.hint-card button{width:100%;text-align:left;border:0;border-radius:0;padding:11px 14px;min-height:44px}.hint-card p{margin:0;padding:12px 14px;font-size:14px;line-height:1.8;color:var(--muted)}.endgame-workspace #message{font-size:14px;margin:12px 0}.endgame-workspace .player b{color:var(--accent)}.endgame-workspace #moves{white-space:normal}.endgame-workspace aside{min-width:0}@media(max-width:800px){.endgame-workspace{display:flex;flex-direction:column;gap:18px}.endgame-workspace>*{width:100%}.endgame-workspace .piece{font-size:clamp(27px,8.7vw,57px)}}
