body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;margin:0;font-family:system-ui,sans-serif;line-height:1.8;color:#222}.site-header,.site-footer,main{width:100%;box-sizing:border-box;margin:0 auto;padding:1rem}.site-header,.site-footer{max-width:64rem}main{flex:1;max-width:44rem}.site-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;border-bottom:1px solid #ddd}.site-header nav{display:flex;flex-wrap:wrap;gap:.25rem 1rem}.site-header a{color:inherit;text-decoration:none}.site-title{font-weight:bold}.site-footer{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;border-top:1px solid #ddd;font-size:.875rem;color:#555}.site-footer a{color:inherit}.app-list{list-style:none;margin:0;padding:0}.app-card,.app-header{display:flex;gap:1rem;align-items:flex-start}.app-card h2{margin:0;font-size:1.25rem}.app-icon{border-radius:22%;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.store-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.store-button{display:inline-block;padding:.5rem 1.25rem;border-radius:.5rem;background:#222;color:#fff;text-decoration:none}:root{--primary: #0175c2;--primary-dark: #015fa0;--primary-light: #e8f3fb;--text-main: #1a1a2e;--text-sub: #555;--danger: #dc3545;--badge-basic-bg: #d4edda;--badge-basic-color: #155724;--badge-mid-bg: #fff3cd;--badge-mid-color: #856404}h1,h2,h3{line-height:1.4}img{max-width:100%;max-height:min(28rem,70vh);height:auto}img.screenshot{width:auto}table{border-collapse:collapse;display:block;overflow-x:auto;margin:1rem 0}th,td{border:1px solid #ddd;padding:.4rem .75rem;text-align:left}th{background:var(--primary-light)}blockquote{margin:1.25rem 0;padding:.25rem 1rem;border-left:4px solid var(--primary);background:var(--primary-light)}.app-nav{display:flex;flex-wrap:wrap;gap:.25rem 1rem;max-width:44rem;margin:0 auto;padding:.5rem 1rem;border-bottom:1px solid #ddd;font-size:.9rem}.app-nav a{color:inherit;text-decoration:none;padding:.25rem 0;border-bottom:2px solid rgba(0,0,0,0)}.app-nav a[aria-current=page]{font-weight:bold;border-bottom-color:var(--primary)}.page-pager{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;margin-top:2rem}.coord{padding:0 .3em;border-radius:.25rem;background:var(--primary-light);color:var(--primary-dark);font-weight:bold;white-space:nowrap}.difficulty-badge{display:inline-block;padding:0 .6em;border-radius:1em;font-size:.8rem;font-weight:bold}.difficulty-badge-basic{background:var(--badge-basic-bg);color:var(--badge-basic-color)}.difficulty-badge-mid{background:var(--badge-mid-bg);color:var(--badge-mid-color)}.badge-easy,.badge-medium,.badge-hard,.badge-expert{display:inline-block;padding:0 .6em;border-radius:1em;font-size:.85rem;font-weight:bold;white-space:nowrap}.badge-easy{background:#d4edda;color:#155724}.badge-medium{background:#fff3cd;color:#856404}.badge-hard{background:#ffe5d0;color:#8a4a00}.badge-expert{background:#f8d7da;color:#721c24}.technique-cards{display:grid;gap:1rem}.technique-card{display:block;padding:.75rem 1rem;border:1px solid #ddd;border-radius:.5rem;color:inherit;text-decoration:none}.technique-card h3{margin:.25rem 0}.technique-card p{margin:.25rem 0}.card-link{color:var(--primary);font-size:.9rem}.step{display:flex;flex-wrap:wrap;gap:.25rem .75rem;margin:1.25rem 0}.step-num{flex:none;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--primary);color:#fff;font-weight:bold;text-align:center;line-height:1.75rem}.step-body{flex:1;min-width:0}.board{margin:.75rem 0}.board svg{display:block;width:100%;max-width:30rem;height:auto}.board text{text-anchor:middle;dominant-baseline:middle}.board .axis,.board .axis-hint{fill:var(--text-sub)}.board .axis{font-size:12px}.board .axis-hint{font-size:9px}.board .grid{stroke:#ccc;stroke-width:1}.board .block{stroke:var(--text-main);stroke-width:2}.board .band{fill:var(--primary-light)}.board .frame-h,.board .frame-d{fill:var(--primary-light);stroke:var(--primary);stroke-width:2.5}.board .frame-d{fill:none;stroke-width:2;stroke-dasharray:4 3}.board .cell-g{fill:var(--text-main);font-size:20px}.board .cell-b{fill:var(--text-main);font-size:16px;font-weight:700}.board .cell-a{fill:var(--primary);font-size:20px;font-weight:700}.board .cell-mp{fill:var(--primary);font-size:11px;font-weight:700}.board .cell-ms{fill:var(--text-sub);font-size:11px}.board .cand{fill:var(--text-sub);font-size:9px}.board .cand-out{fill:var(--danger);text-decoration:line-through}.board .cand-on{fill:var(--primary);font-weight:700}.board .cand-dim{opacity:.6}.board .callout{fill:#fff;stroke:var(--primary);stroke-width:1.5}.board .callout-text{fill:var(--primary);font-size:11px;font-weight:700}.board .arrow{stroke:var(--primary);stroke-width:1.5}.board .arrow-head{fill:var(--primary)}.flowchart,.operation-figure{margin:1rem 0}.flowchart svg,.operation-figure svg{display:block;width:100%;max-width:30rem;height:auto;margin:0 auto}