@font-face{font-family:Barlow;src:url('heading.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:DM;src:url('body.woff2') format('woff2');font-weight:400;font-display:swap}
:root{color-scheme:dark;--bg:#071813;--panel:#0b2019;--panel2:#112a22;--ink:#f2f2e6;--muted:#a5b6a9;--line:#2a3e34;--lime:#d6fb48;--sage:#a9c291;--red:#f4a48d;--heading:Barlow,'Arial Narrow',Impact,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 DM,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-tap-highlight-color:transparent}body::before{content:'';position:fixed;inset:0;background:radial-gradient(ellipse at 30% 0,#244a302d,transparent 70%);pointer-events:none}#shell{max-width:570px;margin:auto;min-height:100dvh;position:relative}header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:max(17px,env(safe-area-inset-top)) 20px 15px}.brand{display:flex;align-items:center;gap:5px;text-decoration:none}.brand img{width:47px;height:47px}.wordmark{font:700 22px/.88 var(--heading);letter-spacing:.3px}.wordmark span{display:block}.sync{border:1px solid var(--line);border-radius:30px;padding:8px 10px;font-size:10px;display:flex;align-items:center;gap:5px;background:transparent;font-weight:400;min-height:35px;max-width:185px}.sync svg{width:16px;height:16px;color:var(--lime);flex-shrink:0}.sync.warn{color:#f0c685}.sync.warn svg{color:inherit}main{padding:0 16px calc(100px + env(safe-area-inset-bottom))}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);color:var(--ink);background:var(--panel2);border-radius:12px;padding:12px 16px;min-height:46px;cursor:pointer;touch-action:manipulation}button:hover{border-color:#6a815e}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button svg{width:19px;height:19px;vertical-align:middle}.primary{background:var(--lime);color:#10200d;border-color:var(--lime);font-weight:700}.primary:hover{background:#e2ff79;border-color:#e2ff79}.full{width:100%}.ghost{background:transparent;border-color:transparent}.smallbtn{min-height:38px;padding:8px 12px;font-size:12px}.danger{color:var(--red)}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.wrap{flex-wrap:wrap}.stack{display:grid;gap:13px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{border:1px solid var(--line);border-radius:17px;padding:17px;background:linear-gradient(130deg,#112b2060,#081a14);margin-bottom:13px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);font-weight:600}.lime{color:var(--lime)}.muted{color:var(--muted)}.tiny{font-size:10px}.small{font-size:12px}.sub{color:var(--muted);font-size:12px;line-height:1.6}h1,h2,h3,p{margin:0}h1{font:700 40px/1 var(--heading);letter-spacing:-.4px}h2{font:700 27px/1.1 var(--heading)}h3{font:700 22px/1.1 var(--heading)}p{line-height:1.65}a{color:var(--lime)}.intro{margin:18px 0 23px}.intro p{margin-top:9px;color:var(--muted)}.course-hero{position:relative;overflow:hidden;min-height:112px;padding:19px;border-radius:17px 17px 0 0;border:1px solid var(--line);margin-bottom:0;background:linear-gradient(95deg,#0b2119 30%,#1d3b20);isolation:isolate}.course-hero:after{content:'';position:absolute;width:250px;height:190px;right:-70px;top:-25px;background:repeating-radial-gradient(ellipse at center,transparent 0 15px,#7b995b35 16px 17px,transparent 18px 26px);transform:rotate(-25deg);z-index:-1;border-radius:50%}.course-hero h1{font-size:37px;max-width:87%}.course-hero .sub{margin-top:7px}.course-hero svg{width:15px;height:15px}.hole-info{display:grid;grid-template-columns:1.15fr 1fr 1.25fr .75fr;border:1px solid var(--line);border-top:0;border-radius:0 0 17px 17px;padding:14px 10px;margin-bottom:13px;align-items:center}.hole-stat{text-align:center;border-right:1px solid var(--line)}.hole-stat:last-child{border:0}.hole-stat .num{font:700 37px/1.1 var(--heading);margin-top:4px}.hole-stat:first-child .num{font-size:67px;color:var(--lime);line-height:.95}.hole-stat:first-child .eyebrow{font-size:9px}.hole-strip{display:flex;gap:5px;overflow:auto;margin:1px 0 13px;scrollbar-width:none}.hole-strip button{min-width:31px;min-height:31px;padding:0;border-radius:50%;font:700 14px var(--heading);background:transparent;color:var(--muted)}.hole-strip .selected{background:var(--lime);color:#0c1b0a;border-color:var(--lime)}.hole-strip .done:not(.selected){border-color:#809459;color:var(--ink)}.scoreboard{padding:14px}.team-score{border:1px solid var(--line);border-radius:11px;padding:9px 12px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.team-score .names{font:700 21px/1.1 var(--heading);text-transform:uppercase}.team-score .num{font:700 35px/1 var(--heading)}.team-score.lead{border-color:#657e36;background:#d6fb4806}.team-score.lead .num{color:var(--lime)}.match-status{margin-top:11px;text-align:center;font-size:11px;color:var(--muted)}.player-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:13px 12px;border:1px solid var(--line);border-radius:13px;margin-bottom:8px;background:#0b2019}.player-info{display:flex;align-items:center;gap:9px;min-width:0}.avatar{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:var(--sage);color:#10200d;font:700 19px var(--heading)}.avatar.team0{background:var(--lime)}.player-name{font:700 21px/1 var(--heading);text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;max-width:160px}.score-meta{font-size:10px;color:var(--muted);margin-top:5px}.dots{font-weight:700;color:var(--lime);letter-spacing:1px}.score-controls{display:flex;align-items:center;gap:7px}.score-controls button{width:42px;height:45px;border-radius:50%;padding:0;font-size:27px;line-height:1;background:#1a2c25}.score-controls .plus{background:var(--lime);color:#10200d;border-color:var(--lime)}.score-controls .score-value{display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;min-width:45px;width:45px;height:49px;font:700 35px/1 var(--heading);background:#081b15}.score-value.birdie{border-color:var(--lime);color:var(--lime)}.bonus-badges{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap;margin-top:0}.badge{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 8px;border:1px solid #4b6342;border-radius:6px;color:var(--lime);font-size:10px;background:#193020}.badge button{border:0;min-height:20px;padding:0;background:transparent;font-size:12px}.propbar{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.propbar button{background:#10281e}.propbar .propadd{color:var(--lime)}.next{border-radius:30px;min-height:55px;font-size:16px;margin:3px 0 14px}.hole-result{background:#d6fb4808;border-color:#485c2f}.hole-result strong{font:700 24px var(--heading)}.breakdown{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.breakdown div{font-size:11px;color:var(--muted)}.kp{border-color:#677944}.kp .kp-pot{font:700 32px var(--heading);color:var(--lime)}.banner{padding:10px 13px;border-radius:10px;background:#25331b;color:#dcebbf;border:1px solid #4f6336;margin-bottom:13px;font-size:11px;line-height:1.5}.banner.error{background:#39261f;border-color:#7a4e37;color:#ffceb8}.demo-label{padding:7px 10px;background:#d6fb4810;border:1px dashed #4a622d;color:var(--sage);font-size:10px;border-radius:8px;margin-bottom:12px}.section-head{margin:22px 0 12px}.empty{padding:36px 20px;text-align:center}.empty p{margin:12px 0 18px;color:var(--muted)}.list-item{border-bottom:1px solid var(--line);padding:14px 0}.list-item:last-child{border:0}.list-item h3{font-size:23px}.round-item{width:100%;text-align:left;margin-bottom:9px;background:var(--panel);display:flex;align-items:center;justify-content:space-between}.round-item .date{font-size:10px;color:var(--muted);margin-top:7px}label{display:block;font-size:11px;color:#c1cdbc;margin:0 0 6px;font-weight:600}input,select,textarea{width:100%;background:#0a1b15;border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:12px;min-height:46px;font-size:16px}input:focus,select:focus,textarea:focus{outline:2px solid var(--lime);outline-offset:1px}input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:var(--lime);flex-shrink:0}label.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5}.field{margin-bottom:15px}.field .sub{margin-top:6px}textarea{resize:vertical;min-height:100px;font-size:13px}.form-player{border:1px solid var(--line);border-radius:13px;padding:13px;margin-bottom:12px}.form-player .grid2{gap:8px}.form-player .field{margin-bottom:10px}.form-player select,.form-player input{padding:9px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}table{width:100%;border-collapse:collapse;font-size:12px;text-align:center}th,td{padding:11px 10px;white-space:nowrap;border-bottom:1px solid var(--line);min-width:40px}thead{color:var(--muted)}th:first-child,td:first-child{position:sticky;left:0;background:#0b2119;text-align:left;z-index:1;min-width:85px}td button{min-height:28px;min-width:28px;padding:2px;background:transparent;border:0;font-size:15px}.circle-score{border:1px solid var(--lime)!important;border-radius:50%;color:var(--lime)}.pill{display:inline-block;font-size:9px;padding:4px 7px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:570px;display:flex;justify-content:space-around;gap:5px;background:#091b15f7;border-top:1px solid var(--line);padding:10px 9px max(14px,env(safe-area-inset-bottom));z-index:10;backdrop-filter:blur(14px)}nav button{display:grid;justify-items:center;gap:4px;background:transparent;border:0;padding:3px 8px;min-height:49px;color:#b1bdb1;min-width:65px;font-size:10px;border-radius:0;position:relative}nav svg{width:24px;height:24px}nav .active{color:var(--lime)}nav .active:after{content:'';position:absolute;bottom:-8px;width:36px;height:2px;background:var(--lime)}dialog{width:min(100%,570px);max-width:570px;max-height:91dvh;border:1px solid var(--line);border-radius:22px 22px 0 0;background:#0b2019;color:var(--ink);padding:0;position:fixed;inset:auto 0 0;margin:0 auto;box-shadow:0 -20px 80px #0008}dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}#sheet-content{padding:20px 20px calc(25px + env(safe-area-inset-bottom))}.sheet-head{position:sticky;top:0;background:#0b2019;padding:0 0 16px;z-index:3}.sheet-head h2{font-size:30px}.sheet-head button{width:38px;min-height:38px;padding:6px;border-radius:50%}.sheet-body .intro{margin-top:0}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);max-width:90%;z-index:50;padding:12px 17px;border-radius:12px;background:var(--lime);color:#10200d;box-shadow:0 5px 25px #0007;font-size:12px;display:none}.loading{padding:80px 15px;text-align:center;color:var(--muted)}.error-text{color:var(--red);font-size:12px;margin:10px 0}.rule-list{list-style:none;padding:0;margin:13px 0}.rule-list li{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.rule-list b{color:var(--lime)}.offline-ready{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--sage);margin:15px 0}.login-hero{padding:26px 8px 28px}.login-hero h1{font-size:64px;text-transform:uppercase;line-height:.95}.login-hero p{color:var(--muted);margin-top:17px;font-size:15px}.login-hero .eyebrow{margin-bottom:15px;color:var(--lime)}.logo-big{width:85px;height:85px}.format{font:700 24px var(--heading)}.par3-dot{color:var(--lime);font-size:8px;margin-left:2px}.course-note{color:#d7cfa3;font-size:11px;line-height:1.6;margin-top:10px}.saved-course{font-size:11px;margin-top:5px;color:var(--muted)}.course-row{display:grid;grid-template-columns:30px repeat(3,1fr);gap:7px;align-items:center;margin-bottom:7px}.course-row input{padding:7px;min-height:39px;text-align:center;font-size:14px}.course-row label{font-size:10px}.summary-num{font:700 46px var(--heading)}.modal-actions{display:grid;gap:9px;margin-top:20px}.action-list{display:grid;gap:8px}.action-list button{text-align:left;display:flex;align-items:center;justify-content:space-between}.color0{color:var(--lime)}.color1{color:var(--sage)}.pending-dot{width:5px;height:5px;border-radius:50%;background:#efcb7c;display:inline-block;margin-left:4px}.white-space{white-space:pre-wrap;overflow-wrap:anywhere}.install{border-left:2px solid var(--lime);padding-left:13px;margin-top:20px}.version{text-align:center;margin:25px 0 10px;font-size:10px;letter-spacing:1px;color:#778e7a}@media(min-width:700px){body{background:#04100c}#shell{border-left:1px solid #1c3326;border-right:1px solid #1c3326;background:var(--bg);box-shadow:0 0 100px #0004}main{padding-left:22px;padding-right:22px}.player-row{padding:15px}.score-controls button{width:47px;height:47px}.score-controls .score-value{width:51px;min-width:51px}}@media(max-width:370px){header{padding-left:14px;padding-right:14px}.wordmark{font-size:20px}.sync{font-size:9px;padding:7px}main{padding-left:11px;padding-right:11px}.player-name{font-size:19px;max-width:115px}.score-controls{gap:5px}.score-controls button{width:38px;height:42px}.score-controls .score-value{width:39px;min-width:39px}.avatar{width:29px;height:29px}.player-info{gap:6px}}

/* A complete nine and its total always fit the scorecard width. */
.scorecard-table{overflow:visible;min-width:0}
.scorecard-table table{width:100%;table-layout:fixed;font-size:11px}
.scorecard-table th,.scorecard-table td{min-width:0;padding:9px 1px;white-space:normal}
.scorecard-table th:first-child,.scorecard-table td:first-child{position:static;width:68px;max-width:68px;padding:9px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scorecard-table th:last-child,.scorecard-table td:last-child{width:35px;font-weight:700}
.scorecard-table td button{width:25px;max-width:100%;min-width:0;min-height:30px;padding:0;font-size:14px}
.scorecard-table .tiny{font-size:9px;line-height:1.4}
.scorecard-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11px;line-height:1.5;margin-top:10px!important}
.scorecard-legend strong{font-weight:400;color:var(--ink)}
@media(max-width:370px){.scorecard-table table{font-size:10px}.scorecard-table th:first-child,.scorecard-table td:first-child{width:56px;max-width:56px;padding-left:4px;padding-right:3px}.scorecard-table th:last-child,.scorecard-table td:last-child{width:29px}.scorecard-table td button{font-size:13px;width:22px;min-height:29px}.scorecard-table .tiny{font-size:8px}}
/* Viewport-based app: each phone view uses pages, never a scrolling document. */
[hidden]{display:none!important}html,body{height:100%;overflow:hidden;overscroll-behavior:none}#shell{height:var(--app-height,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden}header{flex:0 0 55px;min-height:0;padding:5px 14px}.brand img{width:35px;height:35px}.wordmark{font-size:20px}.sync{font-size:9px;min-height:31px;padding:5px 8px}main{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:6px 12px;gap:6px}nav{position:static;transform:none;flex:0 0 auto;padding:5px 8px max(6px,env(safe-area-inset-bottom));max-width:none;min-height:52px}nav button{min-height:40px;gap:2px}nav svg{width:22px;height:22px}nav .active:after{bottom:0}.demo-label{display:none}.phone-screen{flex:1;min-height:0;display:flex;flex-direction:column;gap:7px}.phone-course{flex:0 0 auto;min-width:0}.phone-course h2{font-size:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.phone-course>div{min-width:0}.phone-course p{font-size:11px;color:var(--muted);line-height:1.4}.phone-course .smallbtn{padding:5px;min-width:35px;min-height:35px}.phone-hole{flex:0 0 58px;border:1px solid var(--line);border-radius:12px;padding:4px 5px;gap:4px}.phone-hole>div{display:grid;text-align:center}.phone-hole strong{font:700 25px/1 var(--heading)}.phone-hole .eyebrow{font-size:8px;letter-spacing:1px}.phone-hole>button{min-height:44px;min-width:29px;padding:0 6px;background:transparent;border:0;font-size:25px}.phone-hole .hole-pick{display:grid;gap:1px;min-width:43px}.hole-pick strong{font-size:36px;color:var(--lime)}.phone-match{flex:0 0 auto;border:1px solid var(--line);border-radius:12px;padding:6px 9px}.phone-teams{display:grid;grid-template-columns:1fr 1fr;gap:9px}.phone-teams>div{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.phone-teams span{font:700 19px/1 var(--heading);text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-teams strong{font:700 31px/1 var(--heading)}.phone-teams .leading strong{color:var(--lime)}.phone-match .match-status{margin:3px 0 0;font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-points{display:flex;justify-content:space-around}.phone-points>div{display:grid;text-align:center}.phone-points span{font-size:10px}.phone-points strong{font:700 23px var(--heading);color:var(--lime)}.phone-label{font-size:9px;letter-spacing:.4px;color:var(--muted);flex:0 0 12px}.phone-label span:last-child{font-size:9px;letter-spacing:0}.phone-players{flex:1;min-height:0;display:grid;grid-template-rows:repeat(var(--players),minmax(44px,1fr));gap:6px}.phone-players .player-row{margin:0;padding:5px 9px;min-height:0}.phone-players .score-controls{gap:6px}.phone-players .score-controls button{width:43px;min-width:43px;height:43px;min-height:43px}.phone-players .score-controls .score-value{width:42px;min-width:42px;height:43px;font-size:30px}.phone-players .avatar{width:31px;height:31px}.phone-players .player-info{gap:7px}.phone-players .player-name{font-size:21px}.phone-players .score-meta{margin-top:3px;font-size:10px;line-height:1.3;white-space:nowrap}.props-count{min-height:0;padding:0 4px;border:0;background:transparent;color:var(--lime);font-size:10px}.phone-actions{flex:0 0 43px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.phone-actions button{padding:7px;font-size:12px;min-height:43px}.phone-actions .propadd{color:var(--lime)}.phone-result{flex:0 0 27px;min-height:27px;display:flex;align-items:center;justify-content:space-between;padding:1px 4px;background:transparent;border:0;font:700 15px var(--heading);color:var(--lime)}.phone-result span{font:400 10px DM,sans-serif;color:var(--muted)}.phone-next{flex:0 0 45px;min-height:45px;padding:7px;border-radius:25px}.nine-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nine-switch button{min-height:39px;padding:7px;font-size:12px}.card-screen .scorecard-legend{margin-top:4px!important;gap:0 9px;font-size:10px}.card-screen .scorecard-table{margin:0;flex:1;min-height:0;display:flex}.card-screen table{height:100%}.card-screen th,.card-screen td{padding-top:2px;padding-bottom:2px}.card-screen td button{min-height:25px;font-size:14px}.card-screen .card-hint{font-size:10px;line-height:1.3}.card-screen>button{min-height:38px;padding:7px}.intro{margin:6px 0 12px}.intro h1{font-size:31px}.intro p{font-size:12px;margin-top:5px}.intro .eyebrow{font-size:9px}.card{margin-bottom:9px;padding:12px}.list-item{padding:10px 0}.section-head{margin:12px 0 8px}.install{margin-top:10px!important}.version{margin:12px 0 7px}.fit-pages{flex:1;min-height:0;width:100%}.fit-page{display:flow-root;width:100%}.fit-page>*{max-width:100%}.fit-controls{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:0 0 42px;min-height:42px;border-top:1px solid var(--line);padding-top:4px;margin-top:auto}.fit-controls button{min-height:36px;padding:6px 13px;font-size:12px}.fit-count{font-size:10px;color:var(--muted)}dialog{height:min(660px,calc(var(--app-height,100dvh) - 14px));max-height:calc(var(--app-height,100dvh) - 14px);overflow:hidden}#sheet-content{height:100%;display:flex;flex-direction:column;padding:14px 15px max(13px,env(safe-area-inset-bottom));overflow:hidden}.sheet-head{flex:0 0 auto;padding-bottom:10px;position:static}.sheet-head h2{font-size:27px}.sheet-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.sheet-body>form{height:100%;min-height:0;display:flex;flex-direction:column;gap:0}.fit-page>.field,.fit-page>div{margin-bottom:10px}.fit-page>button{margin-bottom:8px}.fit-page .modal-actions{margin-top:10px}.fit-page .sub{font-size:11px}.fit-page .form-player{margin-bottom:8px}.hole-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.hole-grid button{min-width:0;min-height:44px;padding:8px}.prop-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.prop-choices button{min-height:65px;font:700 23px var(--heading);text-align:left;padding:13px}.prop-choices small{display:block;font:400 11px DM,sans-serif;color:var(--muted);margin-top:3px}.name-choices{display:grid;gap:10px}.name-choices button{min-height:55px;display:flex;align-items:center;justify-content:space-between;font:700 25px var(--heading)}.name-choices span{font:400 11px DM,sans-serif;color:var(--muted)}.prop-edit-stepper{display:flex;align-items:center;justify-content:center;gap:24px;margin:15px 0}.prop-edit-stepper strong{font:700 45px var(--heading);color:var(--lime)}.prop-edit-stepper button{min-width:48px;font-size:23px}.login-hero{padding:7px 0 12px}.login-hero h1{font-size:36px}.login-hero h1 br{display:none}.login-hero p{font-size:12px;margin-top:8px}.login-hero .eyebrow{font-size:9px;margin-bottom:8px}
@media(max-height:700px){header{flex-basis:45px}.phone-screen{gap:4px}main{gap:4px;padding-top:3px;padding-bottom:3px}.phone-course h2{font-size:22px}.phone-course .tiny{font-size:9px}.phone-hole{flex-basis:47px}.phone-hole strong{font-size:22px}.hole-pick strong{font-size:30px}.phone-match{padding:4px 7px}.phone-teams span{font-size:17px}.phone-teams strong{font-size:25px}.phone-label{flex-basis:10px;font-size:8px}.phone-label span:last-child{font-size:8px}.phone-players{gap:4px}.phone-players .player-row{padding:3px 7px}.phone-players .score-controls button,.phone-players .score-controls .score-value{width:39px;min-width:39px;height:40px;min-height:40px}.phone-players .player-name{font-size:19px}.phone-players .avatar{width:28px;height:28px}.phone-actions{flex-basis:38px}.phone-actions button{min-height:38px}.phone-next{flex-basis:39px;min-height:39px}.phone-result{flex-basis:23px;min-height:23px;font-size:13px}.phone-match .match-status{font-size:9px}.card-screen .scorecard-table .tiny{font-size:8px}.card-screen td button{min-height:23px}.card-screen .phone-course h2{font-size:23px}.nine-switch button{min-height:34px;padding:5px}nav{min-height:46px;padding-top:3px;padding-bottom:max(4px,env(safe-area-inset-bottom))}nav button{min-height:35px}nav svg{height:19px;width:19px}}
#shell{container-type:size;width:100%}
@container(max-height:700px){header{flex-basis:45px}.phone-screen{gap:4px}main{gap:4px;padding-top:3px;padding-bottom:3px}.phone-course h2{font-size:22px}.phone-course .tiny{font-size:9px}.phone-hole{flex-basis:47px}.phone-hole strong{font-size:22px}.hole-pick strong{font-size:30px}.phone-match{padding:4px 7px}.phone-teams span{font-size:17px}.phone-teams strong{font-size:25px}.phone-label{flex-basis:10px;font-size:8px}.phone-label span:last-child{font-size:8px}.phone-players{gap:4px}.phone-players .player-row{padding:3px 7px}.phone-players .score-controls button,.phone-players .score-controls .score-value{width:39px;min-width:39px;height:40px;min-height:40px}.phone-players .player-name{font-size:19px}.phone-players .avatar{width:28px;height:28px}.phone-actions{flex-basis:38px}.phone-actions button{min-height:38px}.phone-next{flex-basis:39px;min-height:39px}.phone-result{flex-basis:23px;min-height:23px;font-size:13px}.phone-match .match-status{font-size:9px}.card-screen .scorecard-table .tiny{font-size:8px}.card-screen td button{min-height:23px}.card-screen .phone-course h2{font-size:23px}.nine-switch button{min-height:34px;padding:5px}nav{min-height:46px;padding-top:3px;padding-bottom:max(4px,env(safe-area-inset-bottom))}nav button{min-height:35px}nav svg{height:19px;width:19px}}
.phone-players .player-info>div{min-width:0}.phone-players .player-name{max-width:100%}.fit-page>.rule-list{margin-top:0;margin-bottom:0}

.phone-actions{grid-template-columns:repeat(var(--action-count,3),minmax(0,1fr))}.phone-actions button{min-width:0;font-size:11px;padding-left:4px;padding-right:4px}

.scorecard-table td button.eagle-score{border:1px solid var(--lime)!important;border-radius:50%!important;color:var(--lime);box-shadow:inset 0 0 0 2px var(--panel),inset 0 0 0 3px var(--lime)}
.scorecard-table td button.bogey-score{border:1px solid #c4ccc0!important;border-radius:2px!important;color:var(--ink)}
.scorecard-table td button.double-bogey-score{border:1px solid #c4ccc0!important;border-radius:2px!important;color:var(--ink);box-shadow:inset 0 0 0 2px var(--panel),inset 0 0 0 3px #c4ccc0}

.scorecard-cell{position:relative}.scorecard-cell .stroke-marker{display:block;height:8px;line-height:8px;color:var(--lime);font-size:10px;letter-spacing:1px}.scorecard-cell .net-only{line-height:10px}.scorecard-cell:not([data-strokes="0"]){background:#d6fb4804}
body.landscape-phone #shell{max-width:100%;width:100%}body.landscape-phone:has(.wide-card) header{display:none}.wide-card .phone-course{display:flex;gap:12px;align-items:baseline}.wide-card .phone-course h2{font-size:20px}.wide-card .phone-course p{font-size:10px}.wide-card .scorecard-legend{display:none}.wide-card .scorecard-table th:first-child,.wide-card .scorecard-table td:first-child{width:64px;max-width:64px}.wide-card .scorecard-table th:last-child,.wide-card .scorecard-table td:last-child,.wide-card .scorecard-table .nine-total{width:29px}.wide-card .scorecard-table table{font-size:10px}.wide-card .scorecard-table td button{min-height:22px;height:22px;width:22px;font-size:12px}.wide-card .scorecard-cell .stroke-marker{position:absolute;right:2px;top:1px;height:auto;line-height:8px;font-size:8px;letter-spacing:0}.wide-card .scorecard-cell .net-only{font-size:8px;line-height:8px}.wide-card .scorecard-table th,.wide-card .scorecard-table td{padding-top:0;padding-bottom:0}.wide-card>button,.wide-card .card-hint{display:none}.landscape-phone nav{min-height:37px;padding-top:0;padding-bottom:max(2px,env(safe-area-inset-bottom))}.landscape-phone nav button{min-height:32px;font-size:9px}.landscape-phone nav svg{height:16px;width:16px}.landscape-phone header{flex-basis:34px}.landscape-phone header .brand img{height:26px;width:26px}.landscape-phone header .wordmark{font-size:15px}.landscape-phone .play-screen{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:34px 42px minmax(88px,1fr) 34px 32px;gap:4px 10px}.landscape-phone .play-screen .phone-course{grid-column:1;grid-row:1}.landscape-phone .play-screen .phone-hole{grid-column:2;grid-row:1;border:0;min-height:0;flex-basis:0;padding:0}.landscape-phone .phone-hole>button{min-height:30px}.landscape-phone .phone-hole strong{font-size:19px}.landscape-phone .phone-hole .hole-pick strong{font-size:23px}.landscape-phone .play-screen .phone-match{grid-column:1;grid-row:2;padding:2px 6px}.landscape-phone .play-screen .phone-label{grid-column:2;grid-row:2;align-self:end}.landscape-phone .play-screen .phone-players{grid-column:1/3;grid-row:3;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(40px,1fr))}.landscape-phone .play-screen .phone-actions{grid-column:1;grid-row:4}.landscape-phone .phone-actions button{min-height:32px}.landscape-phone .play-screen .phone-result{grid-column:2;grid-row:4}.landscape-phone .play-screen .phone-next{grid-column:1/3;grid-row:5;min-height:32px}.landscape-phone .phone-teams strong{font-size:20px}.landscape-phone .phone-teams span{font-size:15px}.landscape-phone .phone-match .match-status{font-size:8px;margin-top:0}

.course-nine h3{margin:0 0 10px}.course-nine .course-row{min-height:29px;margin-bottom:3px;text-align:center;border-bottom:1px solid var(--line)}.course-nine .course-row strong{text-align:left}.course-nine .course-row.tiny{min-height:20px}

#nav{grid-template-columns:repeat(5,1fr)}.clubhouse-screen{gap:12px}.clubhouse-hero{position:relative;isolation:isolate;overflow:hidden;flex:1;min-height:100px;padding:20px;border-radius:18px;background:linear-gradient(125deg,#153d29,#0b2119);border:1px solid #31543a}.clubhouse-hero h1{position:relative;z-index:1;font-size:clamp(32px,7.5vh,64px);line-height:.93;margin:16px 0}.clubhouse-hero h1 span{color:var(--lime)}.clubhouse-hero p{position:relative;z-index:1;font-size:12px;color:#c0d0ba}.clubhouse-hero .eyebrow{font-size:9px;position:relative;z-index:1}.hero-ball{position:absolute;width:180px;height:180px;border-radius:50%;right:-45px;bottom:-70px;opacity:.15;background:radial-gradient(circle at 40% 35%,#fff,#bbd2af 60%,#406345);box-shadow:0 0 0 24px #91b97320,0 0 0 50px #91b97310}.clubhouse-start{display:flex;justify-content:space-between;text-align:left;min-height:68px;border-radius:14px;font-size:22px;padding:12px 20px}.clubhouse-start small{display:block;font-size:11px;font-weight:400;margin-top:3px}.clubhouse-start svg{width:26px}.resume-round{display:flex;align-items:center;justify-content:space-between;min-height:76px;text-align:left;padding:14px 18px;border-radius:14px}.resume-round h3{font-size:23px;margin:3px 0}.resume-round .eyebrow{font-size:9px}.resume-round .sub{font-size:11px}.resume-round svg{width:22px}.clubhouse-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clubhouse-links button{display:flex;flex-direction:column;align-items:flex-start;padding:14px 16px;gap:5px;border-radius:14px}.clubhouse-links svg{width:23px;height:23px;color:var(--lime)}.clubhouse-links strong{font-size:15px}.clubhouse-links span{font-size:11px;color:var(--muted)}.clubhouse-footer{font-size:8px;letter-spacing:1.2px;text-align:center;color:var(--muted);padding:3px}.clubhouse-empty{font-size:13px;text-align:center;padding:10px;color:var(--muted)}.game-picker{display:grid;gap:10px}.game-picker button{position:relative;text-align:left;min-height:75px;padding:14px 46px 14px 18px;border-radius:12px;background:linear-gradient(120deg,#173a28,#0a2118)}.game-picker button strong{display:block;font-family:Barlow,sans-serif;font-size:25px;color:var(--lime)}.game-picker button span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.game-picker svg{position:absolute;right:16px;top:28px;width:22px}@media(max-height:620px){.clubhouse-screen{gap:8px}.clubhouse-hero{padding:12px}.clubhouse-hero h1{font-size:36px;margin:8px 0}.clubhouse-start{min-height:56px;padding:8px 16px}.resume-round{min-height:65px;padding:10px 14px}.clubhouse-links button{padding:10px 14px;gap:3px}.clubhouse-links svg{width:18px;height:18px}.clubhouse-footer{font-size:7px}}

.custom-course-nine .course-row{border:0;margin-bottom:3px;min-height:28px}.custom-course-nine input{min-height:28px;height:28px;padding:2px 4px;font-size:13px;text-align:center}

.nearest-course{margin-bottom:12px;color:var(--lime);border-color:#627a39}
.landscape-phone .clubhouse-screen{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr auto;gap:8px}.landscape-phone .clubhouse-hero{grid-column:1;grid-row:1/4;min-height:0}.landscape-phone .clubhouse-hero h1{font-size:42px;line-height:.95}.landscape-phone .clubhouse-start{grid-column:2;grid-row:1;min-height:50px;font-size:21px}.landscape-phone .resume-round,.landscape-phone .clubhouse-empty{grid-column:2;grid-row:2;min-height:55px;padding:8px 12px}.landscape-phone .clubhouse-links{grid-column:2;grid-row:3}.landscape-phone .clubhouse-links button{padding:8px 12px;gap:3px}.landscape-phone .clubhouse-links svg{width:18px;height:18px}.landscape-phone .clubhouse-footer{grid-column:1/-1;grid-row:4}

.brand-lockup{display:block;position:relative;overflow:hidden;width:112px;height:49px;flex-shrink:0}.brand .brand-lockup img{position:absolute;width:147.2px;height:73.6px;max-width:none;left:-16.6px;top:-13.3px;border-radius:0}

/* Keep the complete app below iPhone status bars and clear of landscape cutouts. */
#shell{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}

.secret-field{position:relative}.secret-field input{padding-right:64px}.secret-field button{position:absolute;right:4px;top:50%;transform:translateY(-50%);min-width:52px;min-height:36px;padding:4px 8px;border:0;background:transparent;color:var(--lime);font-size:12px}

.scroll-sheet .sheet-body{overflow-y:auto!important;display:block;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}

/* Extra separation from the translucent iOS status-bar edge in the installed app. */
@media(display-mode:standalone) and (orientation:portrait){#shell{padding-top:calc(env(safe-area-inset-top,0px) + 28px)}}

.game-picker{gap:6px}.game-picker button{min-height:48px;padding:8px 40px 8px 14px}.game-picker button strong{font-size:21px}.game-picker button span{font-size:11px;margin-top:2px}.game-picker svg{top:18px}
