:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#0f2419;--ink-2:#2c4437;--muted:#4a6255;--green:#1f9d55;--green-2:#27b862;--green-ink:#0f6b37;--card:#ffffff9e;--card-strong:#ffffffe0;--card-border:#ffffffd9;--track:#143c2817;--shadow:0 6px 24px #143c281f;--radius:26px;--gap:12px;--pad:16px;--danger:#b4231c;--eagle:#f2b705;--birdie:#e5484d;--bogey:#9ec3e6;--double:#3d6fa3;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--bar-h:64px;color:var(--ink);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif}*{box-sizing:border-box}html,body{overscroll-behavior-y:none;min-height:100%;margin:0}html{background:#cfe9f7}.backdrop{z-index:-1;background:linear-gradient(#fff0 30%,#34a35f8c 72%,#2a8a50 100%),linear-gradient(115deg,#b9e3ff 0%,#d9eedc 45%,#fbe9a6 100%);position:fixed;inset:0}button{font:inherit;color:inherit;touch-action:manipulation;cursor:pointer}button:disabled{cursor:default}:focus-visible{outline-offset:2px;outline:3px solid #1d6fd1}h1{letter-spacing:-.02em;margin:0;font-size:30px;line-height:1.1}h2{margin:0;font-size:18px}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:700}.screen{min-height:100dvh}.topbar{z-index:10;padding:calc(var(--safe-top) + 8px) 12px 8px;-webkit-backdrop-filter:saturate(1.4)blur(18px);background:#e1f2ecb8;border-bottom:1px solid #ffffffb3;grid-template-columns:88px 1fr 88px;align-items:center;display:grid;position:sticky;top:0}.topbar-title{text-align:center;font-size:18px;font-weight:700}.topbar-side{align-items:center;display:flex}.topbar-right{justify-content:flex-end}.icon-btn{border:1px solid var(--card-border);background:var(--card-strong);width:42px;height:42px;color:var(--green-ink);box-shadow:var(--shadow);border-radius:50%;place-items:center;display:grid}.title-btn{background:0 0;border:0;border-radius:12px;padding:6px 10px;font-size:20px;font-weight:800}.caret{color:var(--green);font-size:14px}.running{flex-direction:column;align-items:flex-end;line-height:1.05;display:flex}.running-par{font-size:18px;font-weight:800}.running-total{color:var(--muted);font-size:12px;font-weight:600}.content{max-width:560px;padding:14px var(--pad) calc(var(--safe-bottom) + 24px);gap:var(--gap);flex-direction:column;margin:0 auto;display:flex}.content.with-footer{padding-bottom:calc(var(--safe-bottom) + var(--bar-h) + 56px)}.bottom-bar{z-index:10;padding:10px var(--pad) calc(var(--safe-bottom) + 10px);background:linear-gradient(#2a8a5000 0%,#2a8a508c 45%,#26804ad9 100%);flex-direction:column;align-items:center;gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-bar>*{width:100%;max-width:528px}.bottom-bar .text-btn{color:#fff;text-shadow:0 1px 2px #0000004d}.nav-row{gap:10px;display:flex}.card{background:var(--card);border:1px solid var(--card-border);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:saturate(1.3)blur(16px);flex-direction:column;gap:10px;padding:18px;display:flex}.compact-card{gap:8px;padding:12px 14px}.label{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);align-items:center;gap:8px;font-size:12.5px;font-weight:700;display:flex}.label-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.gps-status{color:var(--green-ink);font-weight:600}.stack{flex-direction:column;gap:10px;display:flex}.page-head{padding:4px 4px 0}.page-head p{margin:6px 0 0}.btn{border:1px solid #0000;border-radius:20px;width:100%;min-height:54px;padding:0 18px;font-size:18px;font-weight:700}.btn.primary{color:#fff;background:linear-gradient(180deg, var(--green-2), var(--green));box-shadow:0 8px 22px #1f9d5559}.btn.primary:disabled{opacity:.5;box-shadow:none}.btn.secondary{color:var(--green-ink);background:var(--card-strong);border-color:var(--card-border);box-shadow:var(--shadow)}.btn.secondary:disabled{opacity:.45}.btn.square{flex:none;width:58px;padding:0;font-size:26px}.btn.pill{background:var(--card-strong);border-color:var(--card-border);width:auto;min-height:44px;color:var(--ink);border-radius:999px;align-self:flex-start;font-size:16px}.btn.danger-text{color:var(--danger);background:0 0;min-height:44px;font-size:16px}.text-btn{color:var(--green-ink);background:0 0;border:0;min-height:36px;padding:8px;font-size:15px;font-weight:600}.row-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.row-buttons .btn{min-height:48px;padding:0 8px;font-size:15px}.notice{text-align:center;color:#fff;text-shadow:0 1px 2px #0000004d;margin:0;font-weight:600}.input{width:100%;font:inherit;color:var(--ink);background:var(--card-strong);border:1px solid var(--card-border);border-radius:16px;min-height:50px;padding:13px 14px;font-size:17px}.input::placeholder{color:#7d9488}.input.note{resize:none;min-height:64px}.select{appearance:none;text-align:center;width:auto;min-width:120px;font-weight:600}.select.on{border-color:var(--green);box-shadow:0 0 0 2px var(--green) inset}.field-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.field-grid>div{flex-direction:column;gap:8px;min-width:0;display:flex}.start-hole{gap:10px;display:flex}.start-hole .segmented{flex:1}.segmented{background:var(--track);border-radius:16px;flex:1;gap:4px;padding:4px;display:flex}.seg{min-height:42px;color:var(--ink-2);background:0 0;border:0;border-radius:12px;flex:1;font-size:16px;font-weight:600}.seg.on{color:var(--ink);background:#fff;font-weight:800;box-shadow:0 2px 8px #143c2826}.inline-field{grid-template-columns:58px 1fr;align-items:center;gap:8px;display:grid}.inline-field .label{flex-direction:column;align-items:flex-start;gap:2px}.auto-tag{letter-spacing:.04em;color:var(--green-ink);background:#1f9d5526;border-radius:999px;padding:1px 6px;font-size:10px}.auto-tag.manual{color:#1d5aa6;background:#1d6fd126}.stepper-wrap{flex-direction:column;gap:6px;min-width:0;display:flex}.stepper{background:var(--track);border-radius:999px;align-items:center;padding:4px;display:flex}.step-btn{width:52px;height:52px;color:var(--green-ink);background:#fff;border:0;border-radius:50%;flex:none;font-size:30px;font-weight:500;line-height:1;box-shadow:0 2px 8px #143c2829}.step-btn:active:not(:disabled){transform:scale(.94)}.step-btn:disabled{opacity:.4;box-shadow:none}.step-value{text-align:center;font-variant-numeric:tabular-nums;flex:1;font-size:34px;font-weight:800}.step-value.assumed{color:#6f8a7c}.stepper-wrap.compact .step-btn{width:44px;height:44px;font-size:26px}.stepper-wrap.compact .step-value{font-size:26px}.pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.score-head{position:relative}.score-tag{background:#fff;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;position:absolute;top:-2px;right:0}.hint{color:var(--muted);margin:0;font-size:13px}.add-note{color:var(--green-ink);text-align:left;background:#ffffff59;border:1px dashed #ffffffe6;border-radius:18px;min-height:46px;padding:0 16px;font-weight:700}.sc-eagle{background:var(--eagle);color:#3b2a00}.sc-birdie{background:var(--birdie);color:#fff}.sc-par{color:var(--ink);background:#fff}.sc-bogey{background:var(--bogey);color:#0d2a47}.sc-double{background:var(--double);color:#fff}.list,.choice-list,.notes{margin:0;padding:0;list-style:none}.list li+li{border-top:1px solid #143c281a}.list-row{text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;min-height:56px;padding:12px 2px;display:flex}.list-main{flex:1;min-width:0}.list-title{white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:700;overflow:hidden}.list-score{flex-direction:column;align-items:flex-end;display:flex}.score-num{font-size:22px;font-weight:800}.chev{color:var(--green);font-size:22px;font-weight:700}.choice-list{flex-direction:column;gap:8px;display:flex}.choice{text-align:left;border:1px solid var(--card-border);background:var(--card-strong);border-radius:16px;flex-direction:column;gap:2px;width:100%;min-height:56px;padding:12px 14px;display:flex}.choice.on{border-color:var(--green);box-shadow:0 0 0 2px var(--green) inset}.choice-name{font-size:17px;font-weight:700}.notes li{padding:6px 0;line-height:1.4}.active-card .active-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.active-course{font-size:20px;font-weight:800}.active-score{flex-direction:column;align-items:flex-end;display:flex}.big{font-size:34px;font-weight:800;line-height:1}.hero{align-items:center;gap:2px}.hero-par{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);font-size:13px;font-weight:700}.hero-score{letter-spacing:-.03em;font-size:68px;font-weight:800;line-height:1.05}.tiles{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.tile{text-align:center;align-items:center;gap:2px;padding:12px 8px}.tile-value{color:var(--green-ink);font-size:24px;font-weight:800}.tile-label{color:var(--ink-2);font-size:13px;font-weight:700}.tile-sub{color:var(--muted);font-size:11px}.dist{justify-content:space-between;display:flex}.dist-item{flex-direction:column;align-items:center;gap:4px;display:flex}.dist-n{border-radius:10px;place-items:center;min-width:34px;height:34px;font-weight:800;display:grid}.scorecard{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%;margin-top:4px;font-size:14px}.scorecard+.scorecard{margin-top:12px}.scorecard th,.scorecard td{text-align:center;border-bottom:1px solid #143c2814;padding:5px 0}.scorecard th[scope=row]{text-align:left;text-transform:uppercase;width:46px;color:var(--ink-2);font-size:11px;font-weight:700}.scorecard .tot{width:38px;font-weight:800}.scorecard thead th{font-weight:700}.scorecard .par-row td{color:var(--muted)}.scorecard .score-row td{cursor:pointer}.scorecard td.good{color:var(--green-ink);font-weight:700}.sc-btn{color:var(--green-ink);background:#1f9d551f;border:0;border-radius:8px;width:26px;height:26px;padding:0;font-size:13px;font-weight:800}.sc-cell{border-radius:8px;place-items:center;width:26px;height:26px;font-weight:800;display:inline-grid}.sheet-backdrop{z-index:50;background:#0a1e1459;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:560px;padding:16px var(--pad) calc(var(--safe-bottom) + 20px);background:#f4faf6f5;border-radius:26px 26px 0 0;box-shadow:0 -8px 30px #0003}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.hole-grid{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.hole-tile{aspect-ratio:1;border:1px solid #143c281a;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.hole-tile.empty{color:var(--muted);background:#fff9}.hole-tile.current{outline:3px solid var(--green);outline-offset:1px}.tile-num{opacity:.8;font-size:11px;font-weight:700}.tile-score{font-size:20px;font-weight:800;line-height:1}.par-grid{grid-template-columns:repeat(9,1fr);gap:5px;display:grid}.par-cell{border:1px solid var(--card-border);background:var(--card-strong);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:48px;padding:4px 0;display:flex}.par-val{font-size:18px;font-weight:800}.par-cell.par-3{background:#e3f1fb}.par-cell.par-5{background:#fdf3cf}@media (height<=700px){.step-btn{width:46px;height:46px}.step-value{font-size:30px}.compact-card{padding:10px 12px}.seg{min-height:38px}}
