:root{--navy:#06152b;--panel:#0c2341;--line:#315b83;--green:#72bb38;--muted:#a8bacb;--white:#fff;--danger:#8b2933}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,#174f82,#06152b 45%,#020812);color:#fff;font:16px system-ui,-apple-system,Segoe UI,Roboto,Arial}.app{width:min(1000px,100%);margin:auto;padding:12px}header>img{display:block;width:min(520px,94vw);max-height:260px;object-fit:contain;margin:0 auto}.top,.tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.top{padding:8px 0 12px;border-bottom:1px solid #214363}.grow{flex:1}.pill{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:#bcd0e3;font-size:.8rem}.pill.pending{color:#ffd66b}.pill.ok{color:#9aea82}.card{background:linear-gradient(180deg,#0e2849ed,#08172ded);border:1px solid #264d75;border-radius:18px;padding:17px;margin:12px 0;box-shadow:0 18px 45px #0006}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){.grid,.grid.three{grid-template-columns:1fr}}button,.btn,input,select,textarea{font:inherit}.btn,button{border:1px solid var(--line);background:#102f55;color:#fff;border-radius:11px;padding:11px 14px;font-weight:800;cursor:pointer;text-decoration:none}.primary{background:linear-gradient(#83ca40,#4a9821);color:#071504;border-color:#9ddd62}.blue{background:#155992}.danger{background:var(--danger)}button:disabled{opacity:.42;cursor:not-allowed}.big{width:100%;min-height:64px;font-size:1.08rem}input,select,textarea{width:100%;background:#06152b;color:#fff;border:1px solid var(--line);border-radius:10px;padding:11px;margin:5px 0 12px}label{font-size:.85rem;font-weight:750}.muted{color:var(--muted)}.hidden{display:none!important}.metric{font-size:2rem;font-weight:900}.online{color:#8fe879}.offline{color:#ffb0a8}.narrow{max-width:520px;margin:35px auto}.notice,.recovery{padding:12px;border:1px solid #d7ad42;border-radius:11px;background:#3b3013;margin:12px 0}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.link{background:transparent;border:0;color:#a9d7ff;padding:9px}.wide{grid-column:1/-1}details{margin-top:18px}summary{cursor:pointer;font-weight:800;margin-bottom:12px}.courses{display:grid;gap:8px}.courses article,.history{display:flex;align-items:center;gap:12px;background:#071a31;border:1px solid #24496f;border-radius:12px;padding:11px}.courses article>div,.history>div:first-child{flex:1}.courses small,.history small{display:block;color:var(--muted);margin-top:3px}.courses select{width:auto;margin:0}.counter{display:flex;flex-direction:column;align-items:center;text-align:center;background:#071a31;border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0}.counter h2{margin:3px 0}.counter #stroke-count{font-size:5rem;line-height:1.1;font-weight:950;min-height:88px}.stroke-buttons{display:grid;grid-template-columns:1fr 2fr;gap:9px;width:min(480px,100%)}.counter .stroke-buttons button{min-height:64px}.counter .finish{width:min(480px,100%);margin-top:9px;background:linear-gradient(#83ca40,#4a9821);color:#071504}.save-note{color:var(--muted);font-size:.8rem;margin:8px 0 0}.scorecard{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px}.hole{background:#071a31;border:1px solid #24496f;border-radius:9px;text-align:center;padding:7px 3px;min-height:84px;color:#fff}.scorecard .hole{display:flex;flex-direction:column;align-items:center;justify-content:center}.scorecard .hole.active{outline:2px solid #8fd24c}.scorecard .hole small{display:block;color:var(--muted);font-size:.66rem}.scorecard .hole b{font-size:1.15rem;margin-top:3px}.round-actions{display:flex;gap:9px;margin-top:12px}.history{justify-content:space-between;margin:7px 0}.history>div:last-child{text-align:right}.history b{font-size:1.35rem}.toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);background:#111d2c;border:1px solid #52769a;border-radius:12px;padding:11px 14px;z-index:20;max-width:90vw}h1,h2,h3,p{margin-top:0}footer{text-align:center;color:#7790a8;padding:18px}.site-footer{line-height:1.55}.site-footer a{text-decoration:none}.creator-credit{margin-top:7px;color:#a8bacb;font-weight:700}.creator-credit a{color:#9edb67}.host-credit{margin-top:2px;color:#526b82;font-size:.78rem}.host-credit a{color:#5d758b}.creator-credit a:hover,.creator-credit a:focus{text-decoration:underline}.host-credit a:hover,.host-credit a:focus{color:#7990a5;text-decoration:underline}@media(max-width:700px){.scorecard{grid-template-columns:repeat(3,minmax(0,1fr))}.courses article{align-items:stretch;flex-direction:column}.courses select{width:100%}.round-actions{flex-direction:column}}

/* v1.6 iPhone/PWA scoring hardening */
button,.btn,.hole,.tracker-slot{touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.stroke-buttons button,.finish,.hole-nav button,.scorecard .hole{touch-action:manipulation}
.counter #stroke-count{-webkit-user-select:none;user-select:none}
.rule-card{background:#071a31;border:1px solid #24496f;border-radius:12px;padding:0 14px;margin:9px 0}
.rule-card summary{padding:14px 0;margin:0;font-size:1.02rem}
.rule-card p{color:#d3e0ec;line-height:1.5;padding-bottom:14px;margin:0}
.rule-official{margin-top:18px;padding:14px;border-top:1px solid #315b83}
.pwa-huddle-note button{margin-top:10px}


/* Score Watch quick-entry rows: all four golfers remain directly scorable. */
.tracker-quick-entry{background:#071a31;border:1px solid var(--line);border-radius:14px;padding:12px;margin:12px 0}.tracker-quick-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.tracker-quick-heading small{display:block;color:var(--muted);font-weight:500;margin-top:3px}.tracker-player-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid #173a5e;padding:9px 0}.tracker-player-row:first-of-type{border-top:0}.tracker-player-row.active{background:#0b2948;border-radius:10px;padding-left:8px;padding-right:8px}.tracker-player-name{display:flex;align-items:center;gap:9px;text-align:left;background:transparent;border:0;padding:4px;color:#fff;min-width:0}.tracker-player-name span:last-child{min-width:0}.tracker-player-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tracker-player-name small{display:block;color:var(--muted);font-size:.68rem;margin-top:1px}.tracker-player-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#102f55;font-weight:900}.tracker-inline-counter{display:grid;grid-template-columns:48px 46px 56px;align-items:center;gap:6px}.tracker-inline-counter button{min-height:48px;min-width:48px;padding:6px;font-size:1.35rem}.tracker-inline-counter output{display:grid;place-items:center;height:48px;border:1px solid #24496f;border-radius:9px;background:#06152b;font-size:1.35rem;font-weight:950}.tracker-group-finish{width:100%;min-height:54px;margin-top:10px;background:linear-gradient(#83ca40,#4a9821);color:#071504}.tracker-group-skip{display:block;width:100%;text-align:center}.tracker-scorecard-help{font-size:.8rem;margin-top:-4px}
@media(max-width:420px){.tracker-quick-entry{padding:9px}.tracker-player-row{gap:6px}.tracker-player-number{flex-basis:30px;width:30px;height:30px}.tracker-player-name{gap:6px}.tracker-player-name small{display:none}.tracker-inline-counter{grid-template-columns:44px 40px 50px;gap:4px}.tracker-inline-counter button,.tracker-inline-counter output{min-height:44px;height:44px;min-width:44px}.tracker-inline-counter output{font-size:1.2rem}}
.product-link{color:#9edb67;font-weight:800;text-decoration:none}.product-link:hover,.product-link:focus{text-decoration:underline}.copyright-credit{margin-top:5px;color:#40586f;font-size:.72rem}