:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142c43;background:#f7f8f5;font-synthesis:none;--green:#142c43;--muted:#667783;--line:#dde5e9;--orange:#b65327}*{box-sizing:border-box}body{margin:0;padding-bottom:100px}header{max-width:980px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 28px;border-bottom:1px solid var(--line)}a{color:inherit;text-decoration:none}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:2px}.brand-icon{font-size:34px;line-height:1;color:var(--orange)}.brand-sub{font-size:9px;letter-spacing:1px;font-weight:500;border-left:1px solid #b8cbd4;padding-left:10px;width:65px}.status{font-size:11px;color:#536d7e;display:flex;align-items:center;gap:6px}.status:before{content:'';height:6px;width:6px;border-radius:50%;background:#129381}main{max-width:880px;margin:0 auto;padding:30px 28px}h1,h2,h3,p{margin:0}h1{font-family:Georgia,serif;font-weight:400;font-size:44px;line-height:1.12;letter-spacing:-1.2px}h2{font-size:22px;font-weight:650;letter-spacing:-.5px}h3{font-size:17px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;line-height:1.6;color:#567b89;margin-bottom:10px;text-transform:uppercase}.hero{background:var(--green);color:#fff9ed;padding:36px;border-radius:6px;position:relative;overflow:hidden;margin-bottom:28px}.hero h1{font-size:52px;position:relative;z-index:1}.hero p:not(.eyebrow){color:#b9d1dd;font-size:14px;line-height:1.8;margin-top:20px;position:relative;z-index:1}.hero .eyebrow{color:#62dfcf}.hero-mark{position:absolute;right:28px;bottom:-45px;transform:rotate(-8deg);font-size:270px;line-height:1;color:#39d6c3;opacity:.6}.panel{background:#ffffff;border:1px solid var(--line);border-radius:6px;padding:25px;margin-bottom:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.section-heading .eyebrow{margin:0 0 4px}.step{font-size:10px;color:var(--muted);letter-spacing:1px}.muted{color:var(--muted);line-height:1.6}.small{font-size:13px}.page-heading{margin:6px 0 28px}.page-heading .muted{margin-top:14px;font-size:14px}.panel>h2{margin-bottom:20px}label,legend{display:block;font-size:13px;font-weight:600;line-height:1.6}label{margin-bottom:16px}input,select{display:block;width:100%;padding:13px 12px;border:1px solid #c7d5de;border-radius:4px;background:#ffffff;color:#142c43;font:inherit;font-size:16px;margin-top:6px;min-height:48px}fieldset{padding:0;border:0;margin:22px 0 16px}legend{margin-bottom:10px}.check{display:flex;align-items:center;gap:12px;background:#f0f6f7;padding:10px 14px;border-radius:4px;margin-bottom:7px;min-height:48px}.check input{width:20px;min-height:20px;margin:0;accent-color:var(--green)}.check small{margin-left:auto;font-weight:400;color:var(--muted)}fieldset p{margin-top:12px}button,.button{cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:14px 20px;min-height:48px;border:1px solid transparent;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3}button:disabled{opacity:.35;cursor:default}.primary{background:var(--green);color:#ffffff}.primary:hover{background:#22516b}.secondary{background:transparent;border-color:#c6d5df;color:var(--green)}.secondary:hover{background:#e9f5f5}.wide{width:100%;margin-top:14px}.inline{display:flex;align-items:end;gap:10px}.inline>input,.inline>label{flex:1;min-width:0}.inline>input{margin:0}.inline>label{margin-bottom:16px}.inline button{flex-shrink:0}.empty{text-align:center;padding:18px 0}.empty p{font-size:14px;color:var(--muted);line-height:1.6;margin:10px 0 22px}.empty-icon{display:block;font-size:40px;color:#7195a5;margin-bottom:15px}.footnote{text-align:center;font-size:11px;color:var(--muted);line-height:1.7;margin:23px 0}.resume{display:flex;justify-content:space-between;gap:15px;align-items:center;border-left:3px solid var(--orange)}.resume .eyebrow{font-size:9px;color:var(--orange)}.resume h3{margin:6px 0}.resume p{font-size:12px;color:var(--muted)}.resume>span{font-size:12px;font-weight:700}.pars{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:15px}.pars label{font-size:11px;min-width:0}.pars select{padding:9px}.par-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.par-list span{text-align:center;padding:8px;min-width:30px;background:#edf4f6;border-radius:3px;font-weight:600}.par-list small{display:block;color:var(--muted);font-weight:400;font-size:9px;margin-bottom:5px}.golfer-row{display:flex;align-items:center;gap:15px}.golfer-row>span:last-child{margin-left:auto;font-size:12px}.avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#e5f0f3;color:#20576b;font-family:Georgia,serif;font-size:20px}.round-top{display:flex;justify-content:space-between;margin:0 0 25px;font-size:13px;color:var(--muted)}.par-badge{font-family:system-ui,sans-serif;vertical-align:middle;font-size:12px;letter-spacing:1px;font-weight:600;background:#dcf7f0;border-radius:3px;padding:7px 10px;display:inline-block;margin-left:8px}.hole-picker{display:flex;gap:6px;overflow-x:auto;margin:0 0 24px;padding-bottom:6px}.hole-picker button{background:#e5f0f3;color:#386675;min-width:45px;padding:10px}.hole-picker .current{background:var(--green);color:#fff}.player-title{display:flex;align-items:center;gap:13px}.player-title h2{font-size:19px}.tag{margin-left:auto;font-size:10px;background:#f0ede3;padding:5px 8px;border-radius:3px}.counter{display:flex;align-items:center;justify-content:space-between;padding:22px 4px 12px;gap:16px}.undo{width:53px;height:53px;border-radius:50%;font-size:25px;background:#edf3f5;color:#42657a}.add-stroke{width:76px;height:76px;border-radius:50%;font-size:42px;font-weight:300;background:var(--green);color:white}.add-stroke:active{transform:scale(.95);background:#23647c}.stroke-number{text-align:center}.stroke-number strong{display:block;font-size:64px;font-weight:400;line-height:1;letter-spacing:-3px;font-variant-numeric:tabular-nums}.stroke-number span{font-size:9px;letter-spacing:2px;color:var(--muted);display:block;margin-top:9px}details{border-top:1px solid var(--line);padding-top:16px;margin-top:12px}summary{cursor:pointer;font-size:12px;min-height:30px}summary span{font-size:10px;margin-left:10px}.shots>div{display:flex;justify-content:space-between;align-items:center;font-size:12px;border-top:1px solid var(--line);padding:5px 0}.text-button{padding:10px 12px;min-width:44px;color:var(--green);background:transparent;text-decoration:underline;text-underline-offset:3px}.hole-nav{display:flex;justify-content:space-between;gap:14px}.hole-nav button{flex:1}dialog{max-width:460px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:8px;background:#ffffff;color:#142c43;padding:25px}dialog::backdrop{background:#142c43b3}dialog h2{margin-bottom:8px}dialog p{margin-bottom:22px}.table-wrap{padding:0;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:center;font-size:14px}caption{text-align:left;padding:16px 18px;font-size:11px;color:var(--muted)}th,td{border-bottom:1px solid var(--line);padding:12px 10px;min-width:68px}thead{background:#e5f0f3;font-size:12px}thead th{max-width:170px;overflow-wrap:anywhere}tfoot{background:var(--green);color:#ffffff}tfoot small{display:block;font-size:10px;color:#b9d1dd;margin-top:6px}tfoot th,tfoot td{border-bottom:0}.warning{font-size:13px;background:#f5ebdc;padding:16px;border-radius:4px;line-height:1.6}.saved-note{text-align:center;color:#237369;padding:18px}.history-card{display:block}.history-card .eyebrow{font-size:9px}.history-card .section-heading{margin-bottom:10px}.history-scores{display:flex;gap:24px;flex-wrap:wrap;margin-top:22px}.history-scores>div{display:flex;flex-direction:column;gap:4px;font-size:12px}.history-scores b{font-size:26px;font-weight:500}.history-scores b small{font-size:13px;color:var(--muted)}.history-scores small{font-size:10px}.backup{padding:15px 3px}.backup p{margin:10px 0 15px}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fffffff5;border-top:1px solid var(--line);z-index:5;backdrop-filter:blur(12px);padding-bottom:env(safe-area-inset-bottom)}nav a{flex:1;max-width:180px;text-align:center;padding:12px 4px;font-size:20px;color:#718894}nav a span{display:block;font-size:10px;margin-top:3px;font-weight:500}nav a.active{color:var(--green);box-shadow:inset 0 3px var(--green)}#notice{display:none;position:sticky;top:0;z-index:8;background:#f4dfbb;color:#674416;padding:14px 24px;font-size:13px;line-height:1.5}#notice.show{display:block}:focus-visible{outline:3px solid #008677;outline-offset:3px}@media(min-width:700px){.collection{display:grid;grid-template-columns:1fr 1fr;gap:18px}.collection .panel{margin:0}.hero{padding:45px}.hero-mark{right:60px}.player-card{padding:25px 35px}.counter{justify-content:center;gap:80px}.hero h1{font-size:60px}}@media(max-width:480px){header{padding:18px 20px}.brand{font-size:17px}.brand-sub{font-size:8px;width:55px}.status{font-size:9px}main{padding:22px 18px}h1{font-size:36px}.hero{padding:28px 23px}.hero h1{font-size:42px}.hero-mark{right:-6px;font-size:210px;bottom:-18px}.hero p:not(.eyebrow){font-size:12px}.panel{padding:21px 18px}.pars{grid-template-columns:repeat(3,1fr)}.step{display:none}.table-wrap{padding:0}.inline button{padding-left:12px;padding-right:12px}.resume{gap:8px}.resume>span{white-space:nowrap}summary span{font-size:9px}}

/* Bogeyish identity: a compact mark stays beside the hole at phone sizes. */
.brand-logo{width:40px;height:40px;border-radius:10px}.brand{letter-spacing:1.5px}.hero-mark{width:210px;height:210px;right:35px;bottom:30px;font-size:initial;transform:rotate(7deg);opacity:1;border-radius:44px}.hero h1{max-width:65%}.hero .eyebrow{position:relative;z-index:1}.add-stroke{background:#39d6c3;color:#142c43;box-shadow:0 3px 0 #1ba794}.add-stroke:hover{background:#63e4d4}.add-stroke:active{background:#25bba9}.round-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.round-heading .page-heading{flex:1;min-width:0}.round-logo{display:flex;flex-direction:column;align-items:center;gap:7px;flex-shrink:0;margin-top:6px}.round-logo img{width:78px;height:78px;border-radius:18px}.round-logo span{font-size:9px;font-weight:800;letter-spacing:1px}.round-heading h1{font-size:40px}.round-heading .par-badge{margin-left:4px;font-size:10px;padding:6px 8px}.round-heading .muted{max-width:500px}.hole-picker .current{box-shadow:inset 0 -3px #39d6c3}.par-badge{color:#115d54}.status:before{background:#129381}@media(max-width:480px){.brand-logo{width:34px;height:34px}.hero-mark{width:95px;height:95px;right:15px;bottom:26px;border-radius:22px;transform:rotate(7deg)}.hero h1{font-size:38px;max-width:100%}.hero p:not(.eyebrow){max-width:65%;font-size:12px}.round-heading{gap:8px}.round-heading h1{font-size:34px;letter-spacing:-1px;white-space:nowrap}.round-heading .par-badge{font-size:9px;margin-left:0;padding:6px}.round-logo img{width:64px;height:64px;border-radius:15px}.round-logo span{font-size:8px}.round-heading .muted{font-size:12px}.round-heading .eyebrow{font-size:9px}.hero .eyebrow{font-size:9px;letter-spacing:1.2px}}

/* Compact scorekeeping keeps the group together without shrinking tap targets. */
.resume-primary{background:#142c43;color:#fff9ed;border:0;border-top:4px solid #39d6c3;padding:25px;display:block}.resume-primary .eyebrow{color:#62dfcf}.resume-primary h2{font-size:26px;margin:8px 0}.resume-primary p{color:#b9d1dd;line-height:1.6}.resume-primary .resume-cta{display:flex;background:#39d6c3;color:#142c43;min-height:52px;align-items:center;justify-content:center;border-radius:4px;font-size:16px;font-weight:750;margin-top:18px}.resume-players{margin-top:4px}.resume:not(.resume-primary) .resume-cta{white-space:nowrap;font-size:12px}.hole-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#567b89;margin-bottom:9px}.hole-progress-label>span:first-child{font-weight:700;color:#142c43}.hole-picker{margin-bottom:8px}.hole-picker button{flex-direction:column;gap:2px;min-height:52px;padding:6px 10px}.hole-picker button small{font-size:11px;line-height:1}.hole-picker .scored:not(.current){background:#dcf7f0;color:#115d54}.hole-picker .partial:not(.current){background:#fff0dc;color:#88521d}.hole-picker .unplayed:not(.current){background:#edf2f5;color:#536d7e}.counter-hint{font-size:11px;color:#667783;margin:0 0 14px}.compact-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:13px 16px;margin-bottom:10px;align-items:center}.compact-card .player-title{gap:9px;min-width:0}.compact-card .avatar{width:30px;height:30px;font-size:16px}.compact-card .player-title>div{min-width:0}.compact-card .player-title h2{font-size:16px;overflow-wrap:anywhere;line-height:1.2}.compact-card .player-title .small{font-size:10px;line-height:1.5;margin-top:4px}.compact-card .counter{padding:0;gap:8px;justify-content:flex-end}.compact-card .undo{width:44px;height:44px;min-height:44px;font-size:21px;padding:0}.compact-card .add-stroke{width:48px;height:48px;min-height:48px;font-size:29px;padding:0}.compact-card .stroke-number{padding:2px 0;background:none;min-width:46px;min-height:48px;border-radius:4px;display:flex;flex-direction:column;gap:1px}.compact-card .stroke-number strong{font-size:34px;letter-spacing:-1px;line-height:1}.compact-card .stroke-number span{font-size:7px;letter-spacing:.5px;margin:0;color:#567b89}.score-edit:hover{background:#edf4f6}.compact-card details{grid-column:1/-1;margin-top:8px;padding-top:7px}.compact-card summary{min-height:25px;font-size:10px;line-height:25px}.compact-card summary span{font-size:9px}.compact-card .tag{display:none}.compact-card .shots .text-button{min-height:44px}.round-heading .page-heading{margin-bottom:16px}.round-top{margin-bottom:16px}.hole-nav{margin-top:16px}#advance-dialog .inline{margin-top:20px;align-items:stretch}#advance-dialog .inline button{flex:1;padding:12px}#score-dialog .inline{margin-top:20px}dialog h2{line-height:1.25}@media(max-width:480px){.hole-progress-label{flex-direction:column;gap:3px;font-size:10px}.compact-card{padding:10px;column-gap:6px}.compact-card .counter{gap:4px}.compact-card .avatar{display:none}.compact-card .player-title h2{font-size:15px}.compact-card .player-title .small{font-size:9px}.compact-card .stroke-number{min-width:42px}.round-heading .page-heading{margin-top:0}.round-logo{margin-top:0}.round-heading .muted{margin-top:9px}.resume-primary{padding:23px 20px}.resume-primary h2{font-size:24px}}

/* A broad primary target is easier to hit while walking or wearing a glove. */
.compact-card{grid-template-columns:minmax(0,1fr) 44px 64px;gap:10px 12px;padding:16px}.compact-card .player-title{grid-column:1;grid-row:1}.compact-card .counter{display:contents}.compact-card .undo{grid-column:2;grid-row:1}.compact-card .score-edit{grid-column:3;grid-row:1;min-width:60px}.compact-card .add-stroke{grid-column:1/-1;grid-row:2;width:100%;height:62px;min-height:62px;border-radius:8px;font-size:18px;font-weight:700;gap:10px}.compact-card .add-stroke>span{font-size:32px;font-weight:400;line-height:1}.compact-card details{margin-top:0;padding-top:8px}.hole-nav .primary{flex:1.5}@media(max-width:480px){.compact-card{padding:13px;column-gap:9px}.compact-card .player-title h2{font-size:17px}.compact-card .player-title .small{font-size:10px}.compact-card .add-stroke{height:64px;min-height:64px}.hole-nav button{font-size:13px;padding:13px 10px}}

.shot-details-button{grid-column:1/-1;grid-row:3;width:100%;min-height:46px;justify-content:space-between;padding:10px 14px;font-size:13px}.shot-details-button small{font-size:10px;font-weight:400;color:#667783}.shot-list{margin-top:15px;max-height:50vh;overflow-y:auto}.shot-list>div{padding:12px 0;gap:16px;font-size:13px;line-height:1.8}.shot-list button{min-height:44px}.hole-transition{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#142c43f7;color:#fff9ed;animation:putt-reveal .16s ease-out;pointer-events:all}.hole-transition h2{font-family:Georgia,serif;font-size:32px;font-weight:400;margin-top:26px}.hole-transition p{color:#b9d1dd;font-size:14px;margin-top:10px}.putt-scene{position:relative;width:260px;height:130px;border-bottom:2px solid #39d6c34d}.putt-cup{position:absolute;left:188px;top:87px;width:46px;height:17px;background:#06131f;border:3px solid #39d6c3;border-radius:50%}.putt-ball{position:absolute;left:20px;top:62px;width:25px;height:25px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff 10%,#e1e8e9 70%,#b6c8cb);box-shadow:0 4px 4px #0003;animation:putt-roll .72s .08s cubic-bezier(.18,.65,.45,1) both}.putt-flag{position:absolute;left:224px;top:4px;width:3px;height:84px;background:#fff9ed}.putt-flag:after{content:'';position:absolute;left:3px;top:0;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:34px solid #39d6c3}@keyframes putt-roll{0%{transform:translate(0,0) scale(1)}70%{transform:translate(176px,15px) scale(1)}85%{transform:translate(178px,22px) scale(.8);opacity:1}100%{transform:translate(178px,34px) scale(.1);opacity:0}}@keyframes putt-reveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.hole-transition,.putt-ball{animation:none}}

.scoring-for{display:flex;align-items:end;gap:10px;background:#e5f0f3;padding:14px;border-radius:6px;margin:8px 0 10px}.scoring-for label{flex:1;min-width:0;margin:0;font-size:11px;letter-spacing:.4px}.scoring-for select{margin-top:4px;font-size:16px}.scoring-for button{min-height:48px;white-space:nowrap;background:#fff;font-size:12px;padding:12px}.dialog-divider{text-align:center;border-top:1px solid #dde5e9;padding-top:18px;margin:22px 0;color:#667783;font-size:12px}#add-golfer-dialog>p{margin:15px 0}#add-golfer-dialog form .wide{margin-top:0}@media(max-width:360px){.scoring-for{padding:10px;gap:7px}.scoring-for button{padding:10px 8px;font-size:11px}}
