@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap);:root{font-family:DM Sans,system-ui,sans-serif;color:#ecebe6;background:#121718;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.button,button,select{border:1px solid #394545;background:#242d2d;color:#e8ece9;border-radius:8px;padding:11px 15px;cursor:pointer}.button:hover,button:hover,select:hover{border-color:#8fb9a3}button:disabled{opacity:.4;cursor:not-allowed}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2b3635;padding:0 max(5vw,24px)}.brand{font-size:20px;letter-spacing:-.03em;font-weight:700}.brand b{font-size:11px;letter-spacing:.16em;color:#94ae9f;margin-left:7px}.brand-stone{color:#b8d6bc;font-size:26px;margin-right:8px}.menu-actions,.top-actions{display:flex;align-items:center;gap:10px}.subtle{background:transparent;border:0;color:#aab8b2}.page{max-width:1200px;margin:auto;padding:60px 24px 90px;min-height:calc(100vh - 155px)}.eyebrow{color:#9cbd9f;font-size:11px;font-weight:700;letter-spacing:.18em;margin:14px 0}h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:8px 0 16px}h2{font-size:20px}.muted{color:#9aaba4}.lead{font-size:17px}.small{font-size:13px}.disk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:44px}.card,.problem-panel,.section-card{background:#1c2525;border:1px solid #34413e;border-radius:14px}.disk-card{padding:25px;min-height:285px;transition:border .2s,transform .2s}.disk-card:hover{border-color:#a3c1a8;transform:translateY(-3px)}.disk-index{display:flex;justify-content:space-between;font-size:12px;color:#93a69c}.disk-symbol{font-family:serif;font-size:44px;color:#bed5be;margin:25px 0 8px}.disk-card h2{margin:8px 0}.progress{height:5px;background:#35413e;border-radius:10px;overflow:hidden;margin:30px 0 10px}.progress span{display:block;height:100%;background:#a3cba7}.back{display:inline-block;color:#a6bcb0;margin-bottom:25px}.back:hover{color:#fff}.menu-actions{margin:32px 0}.primary{background:#b7d7b9;color:#14211a;border-color:#b7d7b9;font-weight:700}.primary:hover{background:#d3e7d1}.sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.section-card{display:flex;justify-content:space-between;text-align:left;padding:20px}.section-card small,.section-card strong{display:block}.section-card small{color:#9aaba4;margin-top:8px}.section-card.selected{border-color:#b7d7b9}.problem-selector{margin-top:32px}.number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:8px}.number-grid a{text-align:center;background:#273332;border:1px solid #34413e;border-radius:6px;padding:12px}.number-grid a:hover{background:#b7d7b9;color:#14211a}.number-grid a.solved{background:#cfe8cf;border-color:#a9d5ac;color:#14301d}.number-grid a.solved:hover{background:#e2f2e1;color:#14301d}.problem-layout{display:grid;grid-template-columns:minmax(0,680px) minmax(260px,1fr);gap:32px;align-items:start}.board-wrap{width:100%;max-width:680px}.goban{display:block;width:100%;height:auto;box-shadow:0 10px 40px #0004;border-radius:6px}.clickable{cursor:pointer}.clickable:hover{fill:#ffffff55}.problem-panel{padding:27px}.problem-panel h1{font-size:30px}.turn{display:flex;align-items:center;gap:9px;font-weight:600}.turn-black,.turn-white{width:17px;height:17px;border-radius:50%;display:inline-block;background:#111;border:1px solid #666}.turn-white{background:#eee}.result p,.statement{white-space:pre-line;line-height:1.6}.result{border-left:3px solid #d4a57c;background:#30312a;padding:12px 16px;margin:20px 0}.result.solved{border-color:#a6d1aa}.result p{margin:6px 0 0}.error{color:#f0a69d}.controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:24px}.controls .wide{grid-column:span 2}footer{border-top:1px solid #2b3635;padding:20px max(5vw,24px);display:flex;justify-content:space-between;color:#7d938a;font-size:12px}footer form{display:flex;align-items:center;gap:8px}footer input{background:#1c2525;border:1px solid #394545;border-radius:5px;color:#ddd;padding:5px;width:95px}@media(max-width:760px){.page{padding-top:35px}.problem-layout{grid-template-columns:1fr}.problem-panel{padding:20px}.optional{display:none}footer{gap:12px;flex-wrap:wrap}}.fullscreen-button{display:flex;align-items:center;gap:6px}.fullscreen-icon{width:16px;height:16px;flex:none}.brand{white-space:nowrap}@media(max-width:760px){.topbar{padding-left:16px;padding-right:16px}.top-actions .subtle{padding:8px}.top-actions select{padding:9px}}.goban .board-mark,.goban .invalid-move,.goban .last-move,.goban .move-number{pointer-events:none}.board-size-toggle{margin-top:12px;background:transparent;color:#b7d7b9}.result.failed{border-color:#f07970;background:#432c2b;color:#ffe6e3}.result.failed strong{color:#ffaaa2}.choice-hint{font-size:13px;color:#aabbb0;line-height:1.4}.review-controls{border-top:1px solid #3a4642;padding-top:12px;margin:20px 0}.review-controls p{margin:0 0 8px}.review-controls input[type=range]{width:100%;accent-color:#b7d7b9}.playback-buttons{display:flex;gap:6px;margin-top:10px}.playback-buttons button{flex:1;padding:9px 4px}.board-mark text{paint-order:stroke;stroke-width:.2px}.goban circle.clickable:focus{outline:none;stroke:#2c6f55;stroke-width:3}.course-actions{flex-wrap:wrap}.answer-hint{font-size:13px;line-height:1.4;color:#aabbb0;margin:10px 0 0}.feedback-overlay{pointer-events:none;overflow:visible;filter:drop-shadow(0 1px 2px #0008);animation:feedback-fade 1.6s ease both}.feedback-cross path,.feedback-ring{stroke-dasharray:100;stroke-dashoffset:100;animation:feedback-draw .65s ease-out forwards}.feedback-cross .cross-first{animation-duration:.38s}.feedback-cross .cross-second{animation-duration:.38s;animation-delay:.22s}@keyframes feedback-draw{to{stroke-dashoffset:0}}@keyframes feedback-fade{0%{opacity:0}12%,70%{opacity:.9}to{opacity:0}}@media(prefers-reduced-motion:reduce){.feedback-cross path,.feedback-overlay,.feedback-ring{animation:none}.feedback-overlay{opacity:.9}.feedback-cross path,.feedback-ring{stroke-dashoffset:0}}.login-page{display:flex;align-items:center;justify-content:center}.login-card{background:#1c2525;border:1px solid #34413e;border-radius:14px;padding:40px;max-width:440px;width:100%;text-align:center}.login-card h1{margin-bottom:12px}.login-card .muted{line-height:1.6}.login-button{margin-top:24px;width:100%}.login-card .error{margin-top:18px}.user-name{font-size:13px;white-space:nowrap}.user-name,footer .signed-in{color:#9aaba4}.footer-logout{display:none;padding:0;margin-left:8px;font-size:inherit}@media(max-width:760px){.header-logout,.user-name{display:none}.footer-logout{display:inline}}.section-card{transition:border .2s,transform .2s,background .2s}.section-card:hover{border-color:#a3c1a8;transform:translateY(-2px);background:#21302e}.section-problem-grid{margin-top:24px;max-width:760px}.problem-page{height:calc(100vh - 76px);height:calc(100dvh - 76px);padding-top:18px;padding-bottom:16px;overflow:hidden;display:flex;flex-direction:column}.problem-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex:0 0 auto}.toolbar-back{margin-bottom:0;white-space:nowrap}.toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.toolbar-actions button{padding:8px 10px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.toolbar-actions .toolbar-board-toggle{margin-top:0;font-size:13px;color:#b7d7b9;border-color:#3d5448}.problem-page .problem-layout{flex:1 1 auto;min-height:0;align-items:stretch}.problem-page .board-wrap{display:flex;align-items:flex-start;justify-content:center;min-height:0}.problem-page .problem-panel{height:100%;max-height:100%;overflow-y:auto;min-height:0}.problem-page .controls{position:sticky;bottom:-27px;background:#1c2525;padding-bottom:4px}@media(max-width:760px){.problem-page{padding:12px 16px 10px}.problem-toolbar{margin-bottom:10px;gap:8px}.toolbar-actions{gap:4px;flex:1;justify-content:flex-end}.toolbar-actions button{padding:8px;min-width:34px;justify-content:center}.toolbar-label{display:none}.toolbar-actions .toolbar-board-toggle{font-size:12px;padding:8px 9px}.problem-page .problem-layout{display:flex;flex-direction:column;gap:10px}.problem-page .board-wrap{flex:0 0 auto;justify-content:center}.problem-page .problem-panel{flex:1 1 0;padding:16px;overflow-y:auto}.problem-page .problem-panel .eyebrow{display:none}.problem-page .problem-panel h1{font-size:22px;margin:0 0 6px}.problem-page .problem-panel .turn{margin:4px 0}.problem-page .problem-panel .statement{font-size:14px;margin:6px 0}.problem-page .controls{margin-top:12px;bottom:-16px;padding-bottom:0}}