:root{font-family:Arial,Helvetica,sans-serif;color:#173e37;--ink:#173e37;--cream:#fffdf3;--sea:#254e44;--gold:#c9a56c;font-size:14px;color-scheme:light}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#c1e0e4}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;border:0}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #d39255;outline-offset:4px}button:hover{filter:brightness(1.06)}button:active{transform:translateY(1px)}button[hidden],[hidden]{display:none!important}#course{display:block;width:100vw;height:100dvh;position:fixed;inset:0;outline:none}.topbar{position:fixed;inset:0 0 auto;z-index:3;height:88px;padding:20px 34px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#eef5e6d9,#eef5e65e,transparent);gap:20px}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:17px;font-weight:800;letter-spacing:2px;min-width:265px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:3.7px;margin-top:5px;font-weight:500}.header-actions{display:flex;gap:7px}.icon-button{width:36px;height:36px;border:1px solid #29574625;background:#fffdf3b0;border-radius:50%;font-size:20px}.round-heading{display:grid;grid-template-columns:auto auto;gap:4px 16px;align-items:center;text-align:left;padding-left:20px;border-left:1px solid #31574130;margin-right:auto}.round-heading .eyebrow{grid-column:1/-1}.round-heading strong{font-size:20px}.round-heading>span:last-child{font-size:11px;letter-spacing:1px;opacity:.8}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;line-height:1.5}.welcome-panel{position:fixed;left:7%;top:23%;padding:35px 42px 28px;background:linear-gradient(120deg,#fffdf3f2,#fffdf3e8);border:1px solid #ffffffa0;border-radius:4px;box-shadow:0 18px 70px #163f3b13;backdrop-filter:blur(8px);max-width:545px}.welcome-kicker{display:flex;align-items:center;gap:12px;color:#6b7b5c}.welcome-kicker:before{content:"";width:27px;height:1px;background:#a99c6c}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(44px,4.4vw,67px);line-height:1.04;letter-spacing:-2px;margin:25px 0 20px}h1 em{color:#6f8664;font-weight:400}.welcome-panel p{font-size:14px;line-height:1.8;color:#66756a}.course-stats{display:flex;gap:27px;padding:21px 0 25px;font-size:8px;letter-spacing:1.6px;color:#7c826a}.course-stats b{display:block;font-size:22px;font-weight:500;letter-spacing:-.4px;color:var(--ink);margin-bottom:5px}.primary{display:flex;align-items:center;justify-content:center;gap:20px;background:var(--sea);color:#fffdf3;padding:13px 22px;min-height:44px;border-radius:3px;font-weight:600;font-size:13px;box-shadow:0 3px 6px #173f3b13}.primary.large{width:100%;font-size:14px;justify-content:space-between;padding:16px 22px}.text-button{display:block;background:transparent;padding:14px 0;font-size:12px}.welcome-note{font-size:10px;color:#7c8270;display:flex;align-items:center;gap:8px;margin-top:21px}.live-dot{width:6px;height:6px;border-radius:50%;background:#76966d;display:inline-block;flex-shrink:0}.glass{background:#fffdf3ed;border:1px solid #ffffffa3;box-shadow:0 5px 25px #15372d14;border-radius:5px;backdrop-filter:blur(8px)}.wind-card{position:fixed;right:30px;top:112px;padding:15px 18px;display:flex;align-items:center;gap:14px;min-width:174px}.wind-card strong{display:block;font-size:18px;line-height:1.7;font-weight:500}.wind-card small{display:block;font-size:10px;color:#78806a}.wind-compass{width:48px;height:48px;border:1px solid #8d9c7e66;border-radius:50%;display:grid;place-items:center;position:relative}.wind-compass:before{content:'N';position:absolute;top:-7px;background:#fffdf3;padding:0 3px;font-size:7px}.wind-compass span{font-size:32px;display:block;transform-origin:center}.shot-stats{position:fixed;left:30px;top:112px;padding:16px 22px;display:flex;gap:24px}.shot-stats>div+div{padding-left:23px;border-left:1px solid #426a3f26}.shot-stats strong{display:block;font-size:30px;font-weight:500;letter-spacing:-1px;margin-top:4px}.shot-stats small{font-size:12px;letter-spacing:0;font-weight:400}.course-map{position:fixed;right:30px;bottom:225px;width:170px;padding:13px 12px 10px}.course-map>div{display:flex;justify-content:space-between;align-items:center}.course-map .eyebrow{font-size:7px;letter-spacing:1.5px}.map-toggle{background:none;font-size:19px;width:23px;height:23px}#minimap{display:block;width:144px;height:205px;cursor:crosshair}.map-hint{font-size:6.5px;letter-spacing:1.6px;text-align:center;display:block;color:#78806a}.lie-label{position:fixed;bottom:216px;left:31px;display:flex;align-items:center;gap:8px;color:#fffdf3;font-size:9px;letter-spacing:2px;font-weight:600;text-shadow:0 2px 8px #172e1b}.lie-label .live-dot{background:#e7dfb9}.bottom-dock{position:fixed;left:30px;bottom:60px;right:30px;display:flex;align-items:stretch;gap:12px;pointer-events:none}.bottom-dock>*{pointer-events:auto}.club-card{width:224px;padding:19px 18px 14px;flex-shrink:0}.club-selector{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:8px}.club-selector strong{font-family:Georgia,serif;font-weight:400;display:block;font-size:24px;white-space:nowrap;letter-spacing:-.8px}.club-selector small{display:block;color:#7e846e;font-size:10px;margin-top:4px;text-align:center}.step-button{background:transparent;font-size:28px;min-width:27px;padding:0}.club-dots{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:17px}.club-dot{padding:0;width:11px;height:4px;border-radius:3px;background:#ccd4bf}.club-dot.active{background:#315c4e;width:25px}.swing-card{width:340px;padding:19px 21px 14px;flex-shrink:0}.swing-top{display:flex;justify-content:space-between;align-items:center}.swing-top strong{font-size:11px;font-weight:500}.swing-meter{height:14px;background:#e1e6d8;border-radius:2px;margin:14px 0 15px;position:relative;overflow:hidden}.swing-meter>div:first-child{height:100%;width:100%;background:linear-gradient(90deg,#bbcba4,#476e51)}.sweet-spot{position:absolute;top:0;bottom:0;left:47%;width:6%;background:#d4b173;opacity:0}.swing-meter.accuracy .sweet-spot{opacity:1}.swing-meter.accuracy>div:first-child{width:100%!important;background:linear-gradient(90deg,#cfbd9d,#b1c59c 35%,#7e9f6a 50%,#b1c59c 65%,#cfbd9d)}#accuracy-cursor{position:absolute;top:0;bottom:0;width:3px;background:#173e37;left:50%;box-shadow:0 0 0 1px #fffdf3}.swing-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.aim-controls{display:flex;align-items:center;gap:4px}.aim-controls span{font-size:8px;letter-spacing:1.6px}.swing-actions .primary{flex:1;gap:10px;padding:11px 12px;white-space:nowrap}kbd{font:8px Arial,sans-serif;display:inline-block;border:1px solid #a5b29b66;border-radius:2px;padding:3px 4px;letter-spacing:1px}.shot-note{align-self:center;margin-left:16px;color:#fffdf3;max-width:320px;text-shadow:0 1px 8px #173e37;line-height:1.6}.shot-note strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:25px;letter-spacing:-.4px;margin-bottom:5px}.shot-note span{display:block;font-size:11px;color:#fffdf3e0}.keyboard-hints{position:fixed;left:30px;bottom:23px;display:flex;align-items:center;gap:20px;font-size:9px;color:#fffdf3d9;text-shadow:0 1px 5px #173e37}.keyboard-hints kbd{margin-right:3px}.pin-marker{position:fixed;pointer-events:none;display:flex;align-items:center;gap:6px;background:#fffdf3e8;border:1px solid #fff;border-radius:3px;padding:5px 8px;font-size:10px;transform:translate(-50%,-100%);box-shadow:0 3px 8px #183d3218}.pin-marker span{font-size:17px;color:#bd6448}.pin-marker strong{font-weight:500}.modal{border:1px solid #fffdf3;border-radius:9px;box-shadow:0 22px 100px #092c3b50;color:var(--ink);background:var(--cream);padding:38px 42px;width:min(92vw,540px);max-height:85dvh;overflow:auto}.modal::backdrop{background:#102e3c48;backdrop-filter:blur(5px)}.modal h2{font-size:36px;line-height:1.15;margin:15px 0 20px;letter-spacing:-1px}.modal p{font-size:12px;line-height:1.8;color:#6a7869}.close-button{position:absolute;right:16px;top:12px;background:transparent;font-size:27px;color:#7d876f}.swing-instructions{padding-left:24px;font-size:13px;margin:22px 0}.swing-instructions li{padding:7px 0 7px 7px}.swing-instructions li b{display:block}.swing-instructions li span{display:block;font-size:11px;margin-top:4px;color:#6a7869}.modal>.primary{width:100%;margin-top:20px}.score-modal{width:min(92vw,720px)}.score-summary{display:flex;gap:35px;font-size:8px;letter-spacing:1px;padding:2px 0 20px}.score-summary b{display:block;font-size:25px;letter-spacing:-.8px;font-weight:500;padding-bottom:5px}.score-scroll{max-height:42dvh;overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th,td{padding:10px 8px;border-bottom:1px solid #dce1cf}thead{position:sticky;top:0;background:var(--cream)}thead th{font-size:8px;letter-spacing:1px;color:#6e7e67}tr.current{background:#edf0df}td.under{color:#ad653d;font-weight:700}td.over{color:#677459}tfoot{font-weight:700}.menu-buttons{display:grid;gap:10px;margin-top:23px}.secondary{background:#e8edde;padding:13px 16px;border-radius:3px;font-size:12px}.result-modal{text-align:center;width:min(90vw,430px)}.result-flag{font-size:50px;color:#c77d55;margin-top:22px}.result-modal h2{font-size:48px;margin:4px 0 12px}.result-score{display:grid;gap:4px;margin:24px 0 30px;font-size:8px;letter-spacing:2px}.result-score strong{font-size:44px;font-weight:400;letter-spacing:-2px}.result-modal .text-button{margin:auto}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:10;background:#fffdf3;color:var(--ink);border:1px solid #ccd7bd;border-radius:5px;padding:13px 20px;box-shadow:0 4px 25px #173e3730;font-size:12px;max-width:90vw}#loading{position:fixed;inset:0;background:#f4f2e6;z-index:20;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--ink)}#loading strong{font-family:Georgia,serif;font-size:35px;font-weight:400}#loading>span:last-child{font-size:12px;color:#77866d}.loading-mark{font-size:60px;animation:breathe 1.5s infinite}@keyframes breathe{50%{opacity:.3;transform:translateY(-4px)}}
@media(min-width:1600px){.welcome-panel{top:25%;left:8%}.bottom-dock{bottom:70px}.lie-label{bottom:226px}.course-map{bottom:235px}}
@media(max-width:1050px){.shot-note{display:none}.course-map{bottom:220px;width:145px}#minimap{width:119px;height:170px}.round-heading{gap:3px 10px;padding-left:12px}.round-heading strong{font-size:17px}.brand{min-width:auto}.topbar{padding:18px 24px}.brand{font-size:14px;letter-spacing:1.4px}.brand small{letter-spacing:2.5px}.round-heading>span:last-child{font-size:9px}.bottom-dock{right:auto}.wind-card{right:24px}.course-map{right:24px}}
@media(max-width:700px){.topbar{height:72px;padding:14px 16px;gap:9px}.brand img{width:30px;height:30px}.brand{font-size:11px;gap:7px;letter-spacing:1.2px}.brand small{font-size:6px;letter-spacing:1.8px}.header-actions{gap:4px}.icon-button{width:30px;height:30px;font-size:17px}.round-heading{position:fixed;top:83px;left:16px;border-left:0;padding:0;gap:4px 10px}.round-heading .eyebrow{font-size:8px}.round-heading strong{font-size:18px}.round-heading>span:last-child{font-size:8px}.welcome-panel{left:18px;right:18px;top:auto;bottom:42px;padding:28px 29px;max-width:410px}.welcome-panel h1{font-size:49px}.welcome-panel p{font-size:12px}.course-stats{padding:16px 0 21px}.welcome-note{font-size:9px;margin-top:15px}.wind-card{right:16px;top:83px;padding:10px 11px;gap:10px;min-width:120px}.wind-card strong{font-size:14px}.wind-card .eyebrow{font-size:6px;letter-spacing:1.1px}.wind-card small{font-size:8px}.wind-compass{width:32px;height:32px}.wind-compass span{font-size:24px}.shot-stats{left:16px;top:147px;padding:11px 14px;gap:16px}.shot-stats strong{font-size:23px}.shot-stats .eyebrow{font-size:6px;letter-spacing:1.4px}.shot-stats>div+div{padding-left:15px}.course-map{display:none}.bottom-dock{left:12px;right:12px;bottom:28px;gap:8px;align-items:stretch}.club-card{width:36%;padding:15px 9px 12px;min-width:0}.club-selector{gap:0}.club-selector strong{font-size:20px;max-width:90px;white-space:normal;text-align:center;line-height:1.1}.club-selector small{font-size:8px}.club-card>.eyebrow{font-size:7px}.club-dots{gap:4px;margin-top:14px}.club-dot{width:8px}.club-dot.active{width:17px}.swing-card{width:auto;flex:1;padding:15px 12px 12px;min-width:0}.swing-top .eyebrow{font-size:7px;letter-spacing:1.3px}.swing-meter{margin:13px 0}.swing-actions{gap:5px}.swing-actions .primary{font-size:11px;padding:10px 9px;min-height:38px}.swing-actions kbd{display:none}.aim-controls{gap:0}.aim-controls span{font-size:6px}.step-button{font-size:25px;min-width:20px}.lie-label{bottom:184px;left:16px;font-size:8px}.keyboard-hints{display:none}.modal{padding:30px 24px}.modal h2{font-size:31px}.score-summary{gap:25px}th,td{padding:9px 5px;font-size:10px}.score-modal{width:95vw}.toast{bottom:190px;font-size:11px}.pin-marker{font-size:8px}.welcome-kicker{font-size:8px}}
@media(max-height:650px) and (min-width:701px){.welcome-panel{top:17%;padding:23px 32px}.welcome-panel h1{font-size:46px;margin:17px 0}.welcome-panel p{margin:0}.course-stats{padding:14px 0}.welcome-note{margin-top:13px}.course-map{display:none}.bottom-dock{bottom:35px}.keyboard-hints{bottom:9px}.lie-label{bottom:188px}.shot-stats,.wind-card{top:90px}.welcome-panel{max-width:450px}}
