:root{color:#111;background:#fff;font:17px/1.3 system-ui,sans-serif}*{box-sizing:border-box}body,p,h1,h2,dl,dd{margin:0}.screen{max-width:560px;height:100dvh;padding:max(8px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));flex-direction:column;gap:8px;margin:0 auto;display:flex;overflow-y:auto}header{align-items:center;gap:14px;display:flex}h1{font-size:1.35rem}header h1{margin-right:auto}h2{margin-top:12px;font-size:1.1rem}.start{padding-top:max(24px, env(safe-area-inset-top));gap:12px}button,input{font:inherit;color:#111;background:#fff;border:2px solid #14532d;border-radius:10px;min-width:48px;min-height:48px;padding:4px 12px}button{touch-action:manipulation}button[aria-pressed=true]{background:#d3f0dc;font-weight:700}button.main{color:#fff;background:#14532d;font-weight:700}.settle{display:contents}.settle:disabled .map{pointer-events:none}.row{gap:8px;display:flex}.row>button{flex:1}.row>button.main{flex:2}[role=alert]{color:#7a0c0c;background:#fde2e0;border-radius:8px;padding:8px 12px;font-weight:700}.note{background:#fdf3cf;border-radius:8px;padding:6px 12px}.big{text-align:center;font-size:1.5rem;font-weight:700}.shot{text-align:center;font-weight:700}.facts{grid-template-columns:1fr 1fr;gap:4px 12px;display:grid}.facts dt{font-size:.8rem}.facts dd{font-size:1.15rem;font-weight:700}.legend{gap:14px;font-size:.85rem;display:flex}.legend i{border:1px solid #111;width:12px;height:12px;display:inline-block}.result,.numbers{flex-direction:column;gap:8px;display:flex}.numbers input{width:100%;font-size:1.5rem}.map{touch-action:none;-webkit-user-select:none;user-select:none;background:#cfcabb;border-radius:10px;flex:1 1 0;width:100%;min-height:200px}.rough{fill:#6fae5c}.fairway{fill:#a6dc86}.trees{fill:#1f5a2c;background:#1f5a2c}.bunker{fill:#f6e3a1;background:#f6e3a1}.green{fill:#d8f7b5;stroke:#14532d;stroke-width:1px;vector-effect:non-scaling-stroke}.water{fill:#2f7fd0;background:#2f7fd0}.pin line,.aim-line line,.aim-line circle,.trace,.target,.ring,.ball{stroke:#111;stroke-width:2px;vector-effect:non-scaling-stroke;fill:none}.pin polygon{fill:#c81e1e}.aim-line line{stroke-dasharray:6 4}.trace{stroke:#fff}.ball{fill:#fff}.fan{background:#e4f3dc}.ring,.target{stroke:#5d7a5a;stroke-width:1px}.bay{fill:#111}table{border-collapse:collapse;text-align:center;width:100%}td,th{border-bottom:1px solid #bbb;padding:4px 2px}tfoot{font-weight:700}
