@import url('./geometry-practice.css');
.gm-archive{margin-top:1rem;padding:1rem;border:1px solid #b6dfd6;border-radius:16px;background:var(--surface,#f5faf8)}
.gm-archive summary{cursor:pointer;font-weight:700;padding:.5rem 0}.gm-archive-text{white-space:pre-wrap;overflow-wrap:anywhere}
.gm-figure{margin:1rem 0;padding:clamp(1rem,3vw,1.8rem);border:1px solid #b6dfd6;border-radius:24px;background:linear-gradient(140deg,#f0fbf5,#eff7ff);color:#173e50}
.gm-figure figcaption{font-weight:750;color:#365d6b;margin-bottom:1rem}
.gm-figure svg{display:block;width:100%;max-width:430px;height:auto;margin:auto;overflow:visible}
.gm-figure svg text{font:600 15px system-ui,sans-serif;fill:#183d4c}
.gm-surface{fill:#a3e1d0;stroke:#165f6b;stroke-width:3;stroke-linejoin:round}
.gm-grid{fill:none;stroke:#4f8891;stroke-width:1.5;stroke-dasharray:4 3}
.gm-outline,.gm-removed{fill:none;stroke:#a04b21;stroke-width:2;stroke-dasharray:6 4}
.gm-guide,.gm-height{fill:none;stroke:#543b93;stroke-width:3}.gm-height{stroke-dasharray:6 4}
.gm-two{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.gm-two p{background:#fff;border:1px solid #c5ddd8;border-radius:16px;padding:1rem;margin:.4rem 0}
.gm-calculation{background:#fffaf0;border:1px solid #e6cc90;border-radius:16px;padding:1rem;font-size:1.08rem;line-height:1.85}
.gm-actions{display:flex;gap:.6rem;flex-wrap:wrap}.gm-actions button{min-height:48px;padding:.7rem 1.1rem;border:2px solid #276b77;border-radius:14px;background:#fff;color:#174954;font:700 1rem system-ui;cursor:pointer;box-shadow:0 3px 0 #b0d9d4}
.gm-actions button[aria-pressed=true]{color:#fff;background:#165e6c;border-color:#165e6c}.gm-actions button:hover{box-shadow:0 4px 0 #81bdc1}
.gm-actions button:focus-visible,.gm-game-link:focus-visible{outline:3px solid #7542bc;outline-offset:4px}
.gm-game-link{display:inline-block;padding:.8rem 1rem;background:#fff;color:#14596b;border:1px solid #95c5c8;border-radius:14px;font-weight:700;line-height:1.5}
@media(max-width:560px){.gm-two{grid-template-columns:1fr}.gm-figure{padding:1rem}.gm-figure svg{min-width:0}.gm-actions button{flex:1 1 auto}}
