:root{--forest:#103f32;--forest-2:#185643;--green:#2e7954;--lime:#c7ec67;--sun:#f3cf63;--ink:#182c24;--muted:#748179;--line:#e6ebe5;--paper:#fff;--canvas:#f4f7f2;--mint:#e7f1e6;--radius:24px;--shadow:0 20px 55px rgba(26,66,47,.09);font-family:Manrope,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{min-width:320px;background:var(--canvas);scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 15% 0%,#eef5ea 0,transparent 38%),var(--canvas);min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{max-width:1200px;margin:auto;padding:0 42px 120px}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(22,63,45,.08)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:var(--forest);box-shadow:0 8px 16px #103f3228}.brand-mark img{width:29px;height:29px}.brand-copy{display:grid;gap:3px}.brand-copy strong{font-size:16px;letter-spacing:.04em}.brand-copy small{font:700 8px/1 "DM Sans",sans-serif;letter-spacing:.22em;color:#7a8a80}.topbar-actions{display:flex;align-items:center;gap:16px}.connection-state{font-size:11px;color:#748179;display:flex;align-items:center;gap:7px}.connection-state i{width:7px;height:7px;border-radius:50%;background:#9aa9a0}.connection-state.online i{background:#59ab6d;box-shadow:0 0 0 4px #59ab6d1c}.connection-state.error i{background:#e78b5b}.icon-button,.back-button{border:0;background:transparent;color:var(--forest)}.icon-button{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;transition:.2s}.icon-button:hover{background:#e6eee5}.icon-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.view{display:none;animation:enter .3s ease}.view.active{display:block}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.welcome-line{display:flex;align-items:flex-end;justify-content:space-between;padding:43px 0 24px}.eyebrow{margin:0 0 10px;font:700 9px/1.3 "DM Sans",sans-serif;color:#829186;letter-spacing:.2em}.welcome-line h1,.page-heading h1{margin:0;color:var(--ink);font-size:clamp(25px,3vw,34px);font-weight:700;letter-spacing:-.045em}.subheading{margin:9px 0 0;font-size:13px;color:var(--muted);line-height:1.7}.sun-chip{display:flex;align-items:center;gap:8px;border:1px solid #e5ecdb;background:#f9fcf3;border-radius:99px;padding:9px 14px;font-size:11px;color:#607b46}.sun-chip span{font-size:14px;color:#dba931}.hero-card{position:relative;overflow:hidden;min-height:335px;border-radius:30px;background:linear-gradient(112deg,#103f32 0%,#185643 56%,#267250 100%);color:white;display:flex;align-items:center;box-shadow:0 25px 55px rgba(21,69,48,.18)}.hero-copy{position:relative;z-index:2;width:56%;padding:43px 0 42px 50px}.hero-kicker{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:#c3d7c9;font:700 9px/1 "DM Sans",sans-serif;letter-spacing:.19em}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 5px #c7ec671b}.hero-copy h2{margin:0;font-size:clamp(30px,4vw,45px);line-height:1.23;letter-spacing:-.055em;font-weight:650}.hero-copy h2 em{color:var(--lime);font-style:normal}.hero-copy>p:not(.hero-kicker){font-size:12px;color:#c2d1c7;margin:15px 0 24px}.primary-button,.secondary-button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-weight:700;transition:transform .16s,box-shadow .16s}.primary-button{border-radius:13px;background:var(--lime);color:var(--forest);padding:14px 18px;font-size:12px;box-shadow:0 9px 20px rgba(0,0,0,.12)}.primary-button:hover,.secondary-button:hover{transform:translateY(-2px);box-shadow:0 12px 23px rgba(0,0,0,.14)}.primary-button b{font-size:17px;font-weight:500}.hero-art{position:absolute;inset:0 0 0 43%;display:flex;align-items:flex-end;justify-content:flex-end}.hero-art:before{content:"";position:absolute;width:350px;height:350px;border-radius:50%;right:70px;top:-130px;border:1px solid #b0d8a11a;box-shadow:0 0 0 38px #b0d8a110,0 0 0 77px #b0d8a10b}.course-art{position:relative;z-index:1;width:min(100%,570px);height:auto;max-height:100%;margin:0 1% -1% 0;filter:drop-shadow(0 20px 20px #09281a33)}.art-label{position:absolute;z-index:2;right:8%;bottom:25px;display:flex;gap:13px;align-items:center;color:#e3f1da;font:600 8px "DM Sans",sans-serif;letter-spacing:.13em}.art-label i{width:58px;height:1px;background:#e3f1da80}.hero-outline{position:absolute;right:45%;top:-75px;color:#ffffff08;font:800 390px/.95 "DM Sans",sans-serif;pointer-events:none}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 48px}.stat-card{position:relative;min-height:146px;padding:21px 22px 17px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:0 7px 20px #244d3210}.stat-card p{margin:0 0 10px;font-size:11px;color:#65756a}.stat-card strong{display:block;font:700 30px/1.1 "DM Sans",sans-serif;letter-spacing:-.05em;color:var(--forest)}.stat-card>span{display:block;margin-top:7px;font-size:9px;color:#9aa69d}.stat-icon{position:absolute;right:20px;top:19px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;color:#459063;background:#e8f3e7;font-size:14px}.stat-icon.pale{color:#719371;background:#f1f4e8}.stat-icon.lime{color:#77983d;background:#f1f6dc}.stat-highlight{background:#fafff4;border-color:#e1ebd7}.section-block{margin-bottom:44px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:17px}.section-heading h2{margin:0;color:var(--ink);font-size:20px;letter-spacing:-.04em}.section-heading .eyebrow{margin-bottom:6px}.text-button{border:0;background:transparent;color:#5c7865;font-size:11px;font-weight:650;padding:6px}.text-button span{padding-left:4px;font-size:15px}.round-list{display:grid;gap:11px}.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;padding:35px 20px 31px;border:1px dashed #d5dfd4;border-radius:21px;background:#fbfcfa}.empty-flag{width:47px;height:47px;display:grid;place-items:center;border-radius:16px;background:#edf5e7;color:var(--forest);font-size:23px;margin-bottom:12px}.empty-state strong{font-size:13px}.empty-state p{max-width:340px;margin:7px 0 18px;font-size:11px;line-height:1.7;color:#869188}.secondary-button{border:1px solid #dce7d6;background:#fff;color:#365d42;border-radius:11px;padding:11px 14px;font-size:10px;gap:13px}.round-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:22px;padding:17px 19px;border:1px solid var(--line);border-radius:17px;background:#fff;transition:.18s}.round-row:hover{transform:translateY(-1px);border-color:#c6d8c6;box-shadow:0 10px 25px #244d3210}.round-info{display:flex;align-items:center;gap:13px;min-width:0}.round-avatar{flex:none;width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#e9f2e4;color:#40744e;font-size:16px}.round-info strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.round-info small{display:block;margin-top:4px;color:#929d95;font-size:9px}.round-score{text-align:right}.round-score strong{font:700 21px "DM Sans",sans-serif;color:var(--forest)}.round-score small{display:block;color:#89968c;font-size:8px}.round-open{border:0;background:transparent;color:#6c8173;font-size:20px}.app-footer{display:flex;justify-content:space-between;padding:12px 2px;color:#99a49b;font-size:9px;letter-spacing:.06em}.bottom-nav{position:fixed;z-index:20;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(445px,calc(100% - 28px));height:66px;display:flex;align-items:center;justify-content:space-around;padding:5px 14px;border:1px solid #e7ece5;border-radius:21px;background:#ffffffed;box-shadow:0 15px 50px rgba(24,54,37,.18);backdrop-filter:blur(20px)}.nav-item{min-width:52px;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:#91a098}.nav-item span{font-size:20px;line-height:1.1}.nav-item small{font-size:8px}.nav-item.active{color:var(--forest)}.nav-item.active span{font-weight:700}.nav-item.nav-start{flex:none;width:50px;height:50px;min-width:50px;border-radius:17px;background:var(--forest);color:var(--lime);box-shadow:0 7px 15px #103f323d}.nav-start span{font-size:28px;font-weight:300;line-height:1}.page-heading{padding:50px 0 27px}.page-heading h1{font-size:31px}.history-list{padding-bottom:20px}.score-topline{display:flex;align-items:center;justify-content:space-between;padding:30px 0 17px}.back-button{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:11px;font-weight:700}.back-button span{font-size:19px}.round-status{border-radius:99px;padding:7px 11px;background:#e9f2e5;color:#507e51;font-size:9px}.score-heading{display:flex;align-items:flex-end;justify-content:space-between;padding:9px 0 23px}.score-heading h1{margin:0;font-size:28px;letter-spacing:-.05em}.score-heading .subheading{margin-top:4px}.total-score{display:grid;text-align:right}.total-score span,.total-score small{font-size:9px;color:#849187}.total-score strong{font:700 38px/1.05 "DM Sans",sans-serif;color:var(--forest);letter-spacing:-.06em}.scorecard-wrap,.hole-card,.trend-card{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 7px 22px #244d320a}.scorecard-wrap{overflow:hidden;padding:18px 19px 17px}.scorecard-header{display:flex;align-items:center;justify-content:space-between}.scorecard-header .eyebrow{margin-bottom:4px}.scorecard-header strong{font-size:13px}.hole-strip{display:flex;gap:8px;overflow-x:auto;padding:16px 1px 3px;scrollbar-width:thin}.hole-pill{flex:none;width:42px;height:48px;border:1px solid #e8ede7;border-radius:13px;background:#fff;color:#526358;display:grid;align-content:center;justify-items:center;gap:2px}.hole-pill b{font:700 12px "DM Sans",sans-serif}.hole-pill small{font-size:7px;color:#a1aca3}.hole-pill.selected{background:var(--forest);border-color:var(--forest);color:white;box-shadow:0 5px 10px #103f3228}.hole-pill.selected small{color:#c7ec67}.hole-pill.done{border-color:#cee0c6;background:#f3f8ef}.hole-pill.done.selected{background:var(--forest)}.hole-card{position:relative;overflow:hidden;margin:14px 0;padding:25px 26px;display:grid;grid-template-columns:minmax(180px,1fr) 1.2fr;align-items:center;gap:25px;background:linear-gradient(110deg,#f8fbf5 0,#fff 55%)}.hole-card:after{content:"";position:absolute;width:170px;height:170px;right:-70px;top:-90px;border:1px solid #d4e4cf;border-radius:50%;box-shadow:0 0 0 25px #d4e4cf30,0 0 0 50px #d4e4cf20}.hole-number{display:flex;align-items:center;gap:14px}.hole-badge{width:57px;height:57px;display:grid;place-items:center;border-radius:18px;background:var(--forest);color:var(--lime);font:700 24px "DM Sans",sans-serif;box-shadow:0 9px 16px #103f3227}.hole-label small{display:block;color:#87958c;font-size:9px}.hole-label strong{display:block;margin-top:3px;font-size:14px}.par-badge{position:relative;z-index:1;margin-left:auto;padding:8px 12px;border-radius:11px;background:#e9f2e4;color:#4e7a4f;font-size:10px;font-weight:700}.score-controls{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:13px}.score-control{width:40px;height:40px;border:1px solid #dfe8dd;border-radius:13px;background:#fff;color:var(--forest);font-size:21px}.score-value{min-width:65px;text-align:center}.score-value strong{display:block;font:700 34px/.98 "DM Sans",sans-serif;color:var(--forest);letter-spacing:-.06em}.score-value small{display:block;margin-top:6px;color:#849187;font-size:8px}.score-subcontrols{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #e7ede4;color:#7c8b7f;font-size:10px}.putt-control{display:flex;align-items:center;gap:10px}.putt-control button{width:28px;height:28px;border:1px solid #e1e9df;border-radius:9px;background:white;color:#35694c;font-size:16px}.hole-note{color:#88a170}.scorecard-table{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.score-table{width:100%;min-width:540px;border-collapse:collapse}.score-table th,.score-table td{padding:12px 14px;border-bottom:1px solid #edf0ec;text-align:center;font-size:10px}.score-table th:first-child,.score-table td:first-child{text-align:left;padding-left:19px}.score-table th{background:#f7faf5;color:#77867a;font-size:9px}.score-table tr:last-child td{border-bottom:0}.score-table td:first-child{font-weight:700;color:#526258}.score-table .cell-score{font:700 12px "DM Sans",sans-serif;color:var(--forest)}.score-table .score-mark{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e6f2d9;color:#4d803d}.score-table .score-mark.over{background:#fae9dc;color:#b96b46}.score-table .score-mark.even{background:#ecf2ea;color:#66816c}.score-table .total-row{font-weight:700;background:#f7faf5}.page-heading+.round-list{margin-top:0}.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:4px 0 28px}.summary-tile{padding:22px;border-radius:20px;background:var(--forest);color:white}.summary-tile:nth-child(2){background:#dff0d7;color:var(--forest)}.summary-tile:nth-child(3){background:#fbf2d8;color:#715b28}.summary-tile small{display:block;font-size:9px;opacity:.75}.summary-tile strong{display:block;margin-top:12px;font:700 28px "DM Sans",sans-serif}.summary-tile span{display:block;margin-top:4px;font-size:9px;opacity:.75}.trend-card{padding:22px}.trend-caption{color:#8b988e;font-size:9px}.trend-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:13px 0 3px}.trend-item{display:grid;gap:8px}.trend-label{display:flex;justify-content:space-between;color:#77867a;font-size:9px}.trend-track{height:8px;border-radius:99px;background:#f0f3ee;overflow:hidden}.trend-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#78ba65,#c6e86e)}.trend-item:nth-child(1) .trend-fill{background:linear-gradient(90deg,#7abd61,#c7ec67)}.trend-item:nth-child(2) .trend-fill{background:#67a77a}.trend-item:nth-child(3) .trend-fill{background:#e6a67a}.modal{padding:0;border:0;border-radius:25px;max-width:calc(100% - 26px);width:440px;background:transparent;box-shadow:0 25px 80px #102c1d38}.modal::backdrop{background:#102b1eb8;backdrop-filter:blur(4px)}.modal-card{position:relative;padding:30px;background:#fff;border:1px solid #edf0eb;border-radius:25px}.modal-close{position:absolute;right:19px;top:17px;border:0;width:32px;height:32px;border-radius:50%;background:#f1f5ee;color:#637469;font-size:23px;line-height:1}.modal-card h2{margin:0;font-size:25px;letter-spacing:-.05em}.modal-intro{margin:8px 0 21px;color:#7e8b81;font-size:11px;line-height:1.7}.field-label{display:block;margin:13px 0 7px;color:#5f7065;font-size:10px;font-weight:700}.text-input{width:100%;height:45px;border:1px solid #e0e8df;border-radius:12px;background:#fbfcfa;padding:0 13px;color:var(--ink);font-size:12px;outline:none;transition:border .16s,box-shadow .16s}.text-input:focus{border-color:#7db187;box-shadow:0 0 0 3px #7db18722}.text-input::placeholder{color:#abb5ad}.hole-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 3px;padding:0;border:0}.hole-choice legend{grid-column:1/-1;padding:0}.hole-choice label{cursor:pointer}.hole-choice input{position:absolute;opacity:0}.hole-choice label span{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e1e8df;border-radius:12px;background:#fafcf9}.hole-choice label b{font:700 17px "DM Sans",sans-serif;color:var(--forest)}.hole-choice label small{font-size:10px;color:#839087}.hole-choice input:checked+span{border-color:#78a981;background:#edf6e9;box-shadow:inset 0 0 0 1px #78a981}.form-error{min-height:16px;margin:5px 0;color:#b45d44;font-size:10px}.modal-submit{width:100%;height:46px;margin-top:3px}.settings-hint{margin:14px 0 10px;color:#89958c;font-size:9px;line-height:1.7}.toast{position:fixed;z-index:50;left:50%;bottom:96px;transform:translate(-50%,10px);max-width:calc(100% - 40px);padding:11px 16px;border-radius:99px;background:#183b2e;color:white;font-size:11px;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 10px 25px #123b2835}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#8d4434}

@media(min-width:1250px){.app-shell{padding-left:64px;padding-right:64px}.hero-card{min-height:355px}.hero-copy{padding-left:60px}}
@media(max-width:760px){.app-shell{padding:0 20px 118px}.topbar{height:76px}.brand-mark{width:38px;height:38px;border-radius:13px}.brand-copy strong{font-size:14px}.connection-state{font-size:9px}.welcome-line{padding:31px 0 18px}.welcome-line h1{font-size:25px}.welcome-line .subheading{font-size:11px}.sun-chip{padding:7px 10px;font-size:9px}.hero-card{min-height:325px;align-items:flex-start;border-radius:25px}.hero-copy{width:100%;padding:29px 25px 30px}.hero-copy h2{font-size:32px}.hero-copy>p:not(.hero-kicker){max-width:245px;font-size:10px;margin:11px 0 17px}.hero-kicker{font-size:8px;margin-bottom:14px}.primary-button{padding:12px 15px;font-size:10px}.hero-art{inset:0 0 0 28%;opacity:.92}.course-art{width:105%;max-width:none;max-height:60%;position:absolute;right:-5%;bottom:0}.hero-art:before{width:255px;height:255px;right:-54px;top:28px}.hero-outline{font-size:290px;right:27%;top:-20px}.art-label{right:7%;bottom:11px;font-size:7px}.hero-copy{z-index:3}.stats-grid{gap:8px;margin:13px 0 37px}.stat-card{min-height:125px;padding:16px 12px 12px;border-radius:16px}.stat-card p{font-size:9px;max-width:85px;min-height:26px;line-height:1.35}.stat-card strong{font-size:25px}.stat-card>span{font-size:8px;line-height:1.4}.stat-icon{width:23px;height:23px;right:10px;top:11px;font-size:12px;border-radius:7px}.section-heading h2{font-size:18px}.section-block{margin-bottom:30px}.empty-state{padding:28px 17px}.round-row{gap:11px;padding:14px 12px}.round-info{gap:9px}.round-avatar{width:34px;height:34px}.round-info strong{font-size:10px}.round-info small{font-size:8px}.round-score strong{font-size:18px}.round-score small{font-size:7px}.round-open{font-size:18px}.app-footer{font-size:8px}.page-heading{padding:36px 0 24px}.page-heading h1{font-size:26px}.score-topline{padding:21px 0 12px}.score-heading h1{font-size:23px}.total-score strong{font-size:33px}.scorecard-wrap{padding:15px 13px}.hole-strip{gap:6px}.hole-pill{width:38px;height:45px}.hole-card{grid-template-columns:1fr;padding:19px 17px;gap:17px}.score-controls{justify-content:flex-start}.hole-number{gap:11px}.hole-badge{width:50px;height:50px;border-radius:16px}.score-subcontrols{font-size:9px}.score-table th,.score-table td{padding:10px 11px}.stats-summary{gap:7px}.summary-tile{padding:15px 11px;border-radius:16px}.summary-tile small{font-size:8px}.summary-tile strong{font-size:22px}.summary-tile span{font-size:8px;line-height:1.5}.trend-card{padding:17px 14px}.trend-bars{gap:8px}.trend-label{font-size:8px}.modal-card{padding:25px 22px;border-radius:22px}.modal-card h2{font-size:22px}}
@media(max-width:390px){.app-shell{padding-left:14px;padding-right:14px}.welcome-line h1{font-size:22px}.sun-chip{font-size:8px}.hero-copy{padding-left:20px}.hero-copy h2{font-size:29px}.stat-card{padding-left:10px;padding-right:8px}.stat-card p{font-size:8px}.stat-card>span{font-size:7px}.nav-item{min-width:45px}.bottom-nav{padding-left:8px;padding-right:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
