:root{color-scheme:dark;--bg:#0c241e;--panel:#13382d;--lime:#d0ed84;--ink:#f5f7ed;--muted:#b1c6b7;--line:#335044}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid var(--lime);outline-offset:4px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}h1,h2,p{margin:0}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,4vw,4.6rem);line-height:1.06}h1 em{color:var(--lime);font-weight:400}h2{font-size:2rem;line-height:1.15}.eyebrow{font:700 .75rem/1.5 Arial,sans-serif;letter-spacing:.16em;color:var(--lime);margin-bottom:12px}.small{font-size:.8125rem;line-height:1.6;color:var(--muted)}.muted{color:var(--muted);font-size:.9375rem}.masthead{height:76px;max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;border-bottom:1px solid var(--line);font-size:.875rem}.wordmark{font-weight:700;letter-spacing:.18em;display:flex;align-items:center;gap:8px}.wordmark b{background:var(--lime);color:var(--bg);border-radius:50%;width:32px;height:32px;text-align:center;line-height:32px;letter-spacing:0;font-size:1.25rem}main{max-width:1280px;margin:auto;padding:0 40px}.skip{position:absolute;top:-100px}.skip:focus{top:10px;z-index:9;background:var(--lime);color:var(--bg);padding:10px}.lobby{display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center;padding:44px 0 54px}.lobby-copy .lede{font-size:1.0625rem;color:var(--muted);max-width:400px;margin:20px 0 26px}.daily-label{font-size:.875rem;margin-bottom:16px;color:var(--lime)}.mode-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mode-picker button{color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:10px;padding:14px 8px;text-align:left;font-size:1.125rem;font-weight:700}.mode-picker button span{display:block;font-size:.75rem;font-weight:400;margin-top:6px;color:var(--muted)}.mode-picker button[aria-pressed=true]{border-color:var(--lime);background:#294334;box-shadow:inset 0 0 0 1px var(--lime)}#mode-hint{min-height:52px;margin:14px 0}.primary{display:inline-flex;justify-content:center;align-items:center;gap:8px;width:100%;border:0;background:var(--lime);color:#13291e;border-radius:8px;min-height:54px;padding:12px 20px;font-weight:700;font-size:1.0625rem}.primary:hover{background:#e0f5aa}.secondary,.small-button,.map-button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:7px;min-height:44px;padding:8px 14px;font-size:.875rem}.secondary:hover{background:#254a38}.lobby-copy>.small{margin-top:14px}#resume{width:100%;margin-top:10px}.course-poster{position:relative;height:600px;border-radius:180px 180px 14px 14px;overflow:hidden;border:1px solid #66845a;box-shadow:0 24px 70px #0004}.course-poster canvas{width:100%;height:100%;display:block;object-fit:cover}.poster-label{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0b241ef5);padding:90px 28px 30px}.poster-label span{font-size:.75rem;letter-spacing:.16em;color:var(--lime)}.poster-label h2{margin:10px 0}.poster-label p{font-size:.875rem;color:#d9e6d9}.round-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 0 18px;gap:12px}.round-heading h2{font-size:2.3rem}.round-heading .eyebrow{margin-bottom:5px}.play-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px;align-items:start}.course-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.score-strip{display:flex;justify-content:space-around;padding:12px 6px}.score-strip div{text-align:center;min-width:54px}.score-strip span{display:block;font-size:.75rem;color:var(--muted)}.score-strip strong{font-size:1.5rem;line-height:1.2}.course-wrap{position:relative;height:min(67vh,650px);min-height:390px;overflow:hidden;background:#426346}.course-wrap canvas{width:100%;height:100%;display:block;touch-action:none}.course-top,.course-bottom{position:absolute;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.course-top{top:12px}.course-bottom{bottom:12px}.course-top span,.course-bottom span{background:#102c25ed;border:1px solid #bbd3ad44;padding:6px 10px;border-radius:6px;font-size:.8125rem;box-shadow:0 2px 8px #0002}.map-button{pointer-events:auto;background:#102c25ed;border-color:#bbd3ad44;min-height:40px}.hole-tip{padding:12px 16px;font-size:.875rem;color:#d3e0cf}.shot-panel{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.shot-title{display:flex;justify-content:space-between;align-items:start;gap:10px}.shot-title h2{font-size:1.85rem}.shot-title .eyebrow{margin-bottom:5px}.small-button{font-size:.75rem;min-width:76px;padding:5px}.quick-guide{font-size:.875rem;color:#d7e3d4;margin:20px 0;border-left:2px solid var(--lime);padding-left:12px}label{display:flex;justify-content:space-between;font-size:.875rem;font-weight:700;margin-bottom:8px}label span{color:var(--muted);font-weight:400}select,input[type=number],input[type=text],input:not([type]),textarea{background:#0e2a21;color:var(--ink);border:1px solid #4f6c59;border-radius:7px;padding:12px;max-width:100%;width:100%;min-height:48px}select{font-size:1.125rem;font-weight:700}.shot-numbers{display:flex;gap:28px;padding:16px 0}.shot-numbers span{display:block;color:var(--muted);font-size:.8125rem}.shot-numbers strong{font-size:1.25rem}.power-label{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.power-label output{font-size:1.5rem;font-weight:700;color:var(--lime)}input[type=range]{appearance:none;display:block;width:100%;height:38px;background:transparent;margin:0;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{background:#567149;border-radius:8px;height:8px}input[type=range]::-webkit-slider-thumb{appearance:none;width:28px;height:28px;background:var(--lime);border-radius:50%;margin-top:-10px;border:3px solid #183825}input[type=range]::-moz-range-track{background:#567149;height:8px;border-radius:8px}input[type=range]::-moz-range-thumb{width:24px;height:24px;background:var(--lime);border:2px solid #183825;border-radius:50%}.fine-controls{display:flex;align-items:center;justify-content:space-between;margin:3px 0 14px;gap:8px}.fine-controls button{height:40px;width:44px;background:#214c37;color:var(--ink);border:1px solid #537051;border-radius:6px;font-size:1.5rem}.fine-controls span{font-size:.75rem;color:var(--muted);text-align:center}.status{min-height:50px;font-size:.875rem;color:var(--lime);margin:12px 0}.aim-details{border-top:1px solid var(--line);padding:12px 0;font-size:.875rem}.aim-details summary{cursor:pointer;min-height:30px}.aim-details input{margin:8px 0}.utility{display:flex;gap:8px;margin:10px 0}.utility button{flex:1}.hole-banner{position:absolute;inset:0;background:#0a241bbf;backdrop-filter:blur(3px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px;text-align:center}.hole-banner>span{letter-spacing:.15em;color:var(--lime);font-size:.875rem}.hole-banner strong{font:3rem/1.1 Georgia,serif}.hole-banner button{width:min(100%,260px);margin-top:10px}.clubhouse{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--line);margin-top:36px;padding:30px 0}.clubhouse h2{margin-bottom:8px}.clubhouse ol{padding:0;margin:0;list-style:none}.clubhouse li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:.9375rem}.clubhouse li strong{color:var(--lime)}footer{background:none;text-align:left;color:var(--muted);font-size:.75rem;padding:24px 0 40px;border-top:1px solid var(--line)}footer a{text-decoration:underline}dialog{background:#14362b;color:var(--ink);border:1px solid #52724b;border-radius:14px;width:min(540px,calc(100% - 24px));max-height:90dvh;padding:28px;box-shadow:0 30px 100px #000a}dialog::backdrop{background:#061a14dd}dialog h2{margin:8px 24px 20px 0}dialog p{margin:14px 0}dialog .primary{margin-top:12px}.dialog-close{position:absolute;right:12px;top:12px;border:0;background:transparent;color:var(--ink);width:44px;height:44px;font-size:2rem}.rules{padding-left:22px}.rules li{margin-bottom:14px}table{width:100%;border-collapse:collapse;font-size:.875rem}th,td{padding:8px;border-bottom:1px solid var(--line);text-align:center}th:first-child,td:first-child{text-align:left}caption{text-align:left;font-size:.8125rem;color:var(--muted);padding:12px 0}.score-summary{font:3rem/1 Georgia,serif;color:var(--lime)}.share-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.share-buttons button{flex:1}#submit-form{margin-top:22px}.under{color:var(--lime)}.over{color:#f2c2a0}#restart-dialog .secondary{margin-top:12px;width:100%}
@media(max-width:800px){main{padding:0 16px}.masthead{height:62px;padding:0 16px;gap:8px}.masthead>a{font-size:.75rem}.wordmark{display:none!important}.lobby{grid-template-columns:1fr;gap:22px;padding:28px 0}.lobby-copy h1{font-size:2.8rem}.lobby-copy .lede{margin:14px 0 18px}.lobby-course{display:none}.mode-picker button{text-align:center;padding:12px 5px}.mode-picker button span{font-size:.75rem}#mode-hint{min-height:42px;margin:12px 0}.play-grid{grid-template-columns:1fr;gap:12px}.round-heading{padding:15px 0 12px}.round-heading h2{font-size:1.8rem}.round-heading .eyebrow{font-size:.65rem;letter-spacing:.08em}.round-heading>.secondary{font-size:.8125rem;min-height:40px;padding:7px 10px}.course-wrap{height:48dvh;min-height:310px;max-height:470px}.score-strip{padding:8px 4px}.score-strip strong{font-size:1.25rem}.hole-tip{padding:9px 12px;font-size:.8125rem}.shot-panel{padding:16px}.shot-title h2{font-size:1.6rem}.quick-guide{margin:10px 0 14px;font-size:.8125rem}.shot-numbers{padding:10px 0;gap:25px}.shot-numbers strong{font-size:1.125rem}.status{min-height:0;margin:10px 0}.clubhouse{grid-template-columns:1fr;gap:18px;margin-top:24px;padding:24px 0}.course-top span,.course-bottom span{font-size:.75rem}.shot-panel .small{font-size:.75rem}.playing .shoot{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:2;box-shadow:0 3px 16px #0005}.fine-controls{margin-bottom:8px}}
@media(max-height:560px) and (min-width:700px){.play-grid{grid-template-columns:1.3fr 1fr}.course-wrap{height:70vh;min-height:260px}.round-heading{padding:8px 0}.shot-panel{padding:14px}.quick-guide{margin:10px 0}.masthead{height:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.swing-console{padding:14px;background:#0b271f;border:1px solid #526d48;border-radius:9px;margin:8px 0 14px}.swing-heading{display:flex;align-items:center;gap:12px;min-height:92px}.swing-heading>div{flex:1}.swing-heading strong{color:#d0ed84;font-size:1rem}.swing-heading p{font-size:.875rem;color:#b1c6b7;line-height:1.4;margin-top:5px}.golfer-portrait{display:block;flex:0 0 68px;height:90px;background:url('/golfer-swing.png') 0 center/400% 100% no-repeat;image-rendering:pixelated}.meter-label{display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;font-weight:700;letter-spacing:.06em;margin:8px 0}.meter-label output{font-size:1.2rem;color:#d0ed84;letter-spacing:0}.power-meter,.impact-meter{position:relative;height:24px;border:2px solid #a1b18a;border-radius:3px;background:#203f2e}.power-meter{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#9bb07f66 calc(25% - 1px),#9bb07f66 25%),#203f2e}.power-meter>div{height:100%;background:linear-gradient(90deg,#729b51,#d0ed84 75%,#f5c566)}.power-meter>b,.impact-meter>b{position:absolute;top:-5px;height:30px;width:4px;background:#fff;transform:translateX(-50%);box-shadow:0 0 0 1px #13291e;pointer-events:none}.power-meter>i{position:absolute;top:-7px;bottom:-7px;border-left:2px dashed #e7eeb8;pointer-events:none}.meter-scale{display:flex;justify-content:space-between;font:11px/1.5 monospace;color:#b1c6b7;margin:5px 0 10px}.impact-meter{background:linear-gradient(90deg,#79463b,#aaa45f 35%,#aaa45f 65%,#79463b)}.impact-meter>i{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);background:#b6e175;border-left:2px solid #eaffb5;border-right:2px solid #eaffb5}.impact-meter:after{content:'';position:absolute;left:50%;top:0;bottom:0;border-left:1px solid #234f2a;pointer-events:none}#strike-feedback{font-size:.75rem;letter-spacing:0;color:#d0ed84}.swing-heading .small-button{min-width:0;align-self:flex-start}.shot-panel .shoot{margin-bottom:0}
@media(max-width:700px){.shot-panel .swing-console{grid-column:1/-1;grid-row:3;margin:6px 0;padding:10px}.shot-panel .shoot{grid-column:1/-1;grid-row:4;min-height:50px}.shot-panel .status{grid-row:5}.swing-heading{min-height:64px;gap:8px}.golfer-portrait{height:64px;flex-basis:48px}.swing-heading strong{font-size:.9375rem}.swing-heading p{font-size:.8125rem}.meter-label{margin:4px 0}.meter-scale{margin:3px 0 6px}.power-meter,.impact-meter{height:21px}.power-meter>b,.impact-meter>b{height:27px}.course-wrap{height:32dvh;min-height:220px;max-height:300px}}
/* Keep the course and primary shot action together on a portrait phone. */
@media(max-width:800px){
 .masthead{height:52px}.round-heading{padding:12px 0 10px}.round-heading h2{font-size:1.5rem}.course-wrap{height:36dvh;min-height:245px;max-height:350px}.hole-tip{font-size:.8125rem;line-height:1.35}.shot-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 14px;padding:12px}.shot-title{grid-column:2;grid-row:1;justify-content:flex-end}.shot-title>div{display:none}.shot-title .small-button{min-height:32px;padding:3px 8px}.quick-guide{display:none}.shot-panel label[for=club]{grid-column:1;grid-row:1;align-items:center;margin:0;font-size:.875rem}#club-range{display:none}#club{grid-column:1;grid-row:2;font-size:1rem;min-height:46px;padding:8px}.shot-numbers{grid-column:2;grid-row:2;gap:12px;padding:0;align-items:center}.shot-numbers span{font-size:.75rem}.shot-numbers strong{font-size:1rem}.power-label{grid-column:1;grid-row:3;margin:0}.power-label label{margin:0}.power-label output{font-size:1.2rem}#power{grid-column:2;grid-row:3}.fine-controls{grid-column:1;grid-row:4;margin:0;justify-content:flex-start;gap:10px}.fine-controls span{display:none}.fine-controls button{height:44px;width:48px}.playing .shoot{grid-column:2;grid-row:4;position:static;min-height:46px;padding:8px}.shot-panel .status{grid-column:1/-1;grid-row:5;min-height:20px;margin:0;font-size:.8125rem}.aim-details{grid-column:1/-1;grid-row:6;padding:7px 0 0}.utility{grid-column:1/-1;grid-row:7;margin:0}.shot-panel .small{grid-column:1/-1;grid-row:8}
}
/* The timed meter replaces the old slider dock; keep its full-width action visible. */
@media(max-width:800px){.round-heading{padding:8px 0}.score-strip{padding:8px 6px}.course-wrap{height:24dvh;min-height:190px;max-height:220px}.hole-tip{padding:8px 12px}.shot-panel .swing-console{grid-column:1/-1;grid-row:3;padding:10px;margin:4px 0}.swing-heading{min-height:48px}.swing-heading p{display:none}.golfer-portrait{height:48px;flex-basis:36px}.swing-heading strong{font-size:.9375rem}.meter-label{margin:3px 0;font-size:.75rem}.meter-label output{font-size:1.125rem}.power-meter,.impact-meter{height:18px}.power-meter>b,.impact-meter>b{height:24px}.meter-scale{font-size:12px;margin:2px 0 4px}.playing .shoot{grid-column:1/-1;grid-row:4;min-height:48px}.shot-panel .status{grid-row:5}}
.putt-controls{background:#0b271f;border:1px solid #526d48;border-radius:9px;padding:16px;margin:10px 0 16px}.putt-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.putt-heading label{margin:0;font-size:16px}.putt-heading output{font-size:26px;font-weight:700;color:var(--lime);font-variant-numeric:tabular-nums}#putt-pin{color:var(--muted);font-size:14px;margin:2px 0 10px}#putt-power{height:48px}.putt-adjust{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.putt-adjust span,#putt-hint{font-size:14px;color:var(--muted)}#putt-hint{margin-top:12px;line-height:1.4}.putt-adjust button{min-width:90px;min-height:44px}
@media(max-width:800px){.putt-controls{grid-column:1/-1;grid-row:3;padding:12px;margin:4px 0}.putt-heading output{font-size:22px}.putt-adjust span{font-size:12px}.putt-controls #putt-hint{margin-top:8px}.putt-adjust{margin:4px 0}}
@media(max-width:800px){.playing[data-simple-putt=true] .putt-controls{grid-row:1}.playing[data-simple-putt=true] #shoot{grid-row:2}.playing[data-simple-putt=true] .status{grid-row:3}.playing[data-simple-putt=true] .aim-details{grid-row:4}.playing[data-simple-putt=true] .utility{grid-row:5}.playing[data-simple-putt=true] #save-note{grid-row:6}.playing[data-simple-putt=true] .shot-title,.playing[data-simple-putt=true] label[for=club]{grid-row:7}.playing[data-simple-putt=true] #club,.playing[data-simple-putt=true] .shot-numbers{grid-row:8}}
/* On the green, prioritise the putting surface like the Classic game. */
@media(max-width:800px){.playing[data-putting=true] .course-wrap{height:32dvh;min-height:260px;max-height:340px}}
/* Stable controls: no reflow between the three presses. */
.aim-toolbar{display:flex;gap:8px;align-items:center;padding:8px 12px;border-top:1px solid var(--line)}
.aim-toolbar>div{flex:1;min-width:0;text-align:center}.aim-toolbar span{display:block;color:var(--muted);font-size:12px;letter-spacing:.1em}.aim-toolbar output{display:block;font-size:14px;font-variant-numeric:tabular-nums}.aim-toolbar button{min-width:44px;padding:8px 12px}
.swing-heading{display:grid;grid-template-columns:42px minmax(0,1fr) 58px;min-height:82px;gap:8px}.golfer-portrait{width:42px;height:56px}.swing-heading strong{display:block;min-height:48px;align-content:center}.swing-heading p{min-height:60px}.swing-heading #cancel-swing{align-self:center;width:58px;font-size:14px}.swing-heading #cancel-swing[hidden]{display:block!important;visibility:hidden;pointer-events:none}
#shoot{touch-action:none;user-select:none;-webkit-user-select:none;min-height:54px;transition:background-color .08s}#shoot:active{background:#eaffb5;box-shadow:inset 0 0 0 3px #719846}.meter-label output{font-variant-numeric:tabular-nums}#power-fill,#power-needle,#impact-needle{will-change:left,width}.aim-details .hole-tip{padding:8px 0 12px}.aim-details .small{font-size:14px}
@media(max-width:800px){.aim-toolbar{padding:6px 8px;gap:6px}.swing-heading{grid-template-columns:27px minmax(0,1fr) 58px;min-height:44px}.golfer-portrait{width:27px;height:36px}.swing-heading strong{min-height:44px;font-size:14px}.playing #shoot{min-height:54px}.course-wrap{height:24dvh;min-height:190px;max-height:220px}.shot-numbers{gap:10px}.shot-numbers span{white-space:nowrap}.shot-numbers strong{font-size:14px;white-space:nowrap}}
.stance-picker{display:grid;grid-template-columns:auto 1fr 1fr;align-items:center;gap:7px;margin:-4px 0 16px}.stance-picker>span{font-size:.8125rem;color:var(--muted);margin-right:4px}.stance-picker button{min-height:42px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--ink);padding:7px 10px;font-size:.8125rem}.stance-picker button[aria-pressed=true]{border-color:var(--lime);background:#294334;color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime)}
.shot-actions{display:flex;justify-content:flex-end;gap:6px}.shot-actions .small-button{min-width:0;white-space:nowrap}.playing[data-handed=left] .golfer-portrait{transform:scaleX(-1)}
.putt-strike-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 7px}.putt-strike-head strong{font-size:.875rem;color:var(--lime)}.putt-strike-head .small-button{min-height:34px;padding:3px 10px}
.putt-strike-meter{position:relative;height:22px;border:2px solid #a1b18a;border-radius:4px;background:linear-gradient(90deg,#6f433a,#9a8a50 33%,#9a8a50 67%,#6f433a)}.putt-strike-meter>i{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);background:#b6e175;border-left:2px solid #eaffb5;border-right:2px solid #eaffb5}.putt-strike-meter:after{content:'';position:absolute;left:50%;top:0;bottom:0;border-left:1px solid #234f2a}.putt-strike-meter>b{position:absolute;top:-5px;height:28px;width:4px;background:#fff;transform:translateX(-50%);box-shadow:0 0 0 1px #13291e;will-change:left}.putt-strike-scale{display:flex;justify-content:space-between;font:11px/1.5 monospace;color:var(--muted);margin:4px 0 2px}#putt-strike-feedback{font-size:.8125rem;color:var(--lime);min-height:20px}
@media(max-width:800px){.stance-picker{grid-template-columns:1fr 1fr;margin:0 0 14px}.stance-picker>span{grid-column:1/-1}.shot-actions{gap:4px}.shot-actions .small-button{font-size:11px;padding:3px 5px}.putt-strike-head{margin-top:9px}.putt-strike-meter{height:20px}.putt-strike-meter>b{height:26px}.putt-strike-scale{font-size:10px}.playing[data-simple-putt=true] .putt-controls{grid-row:1}.playing[data-simple-putt=true] #shoot{grid-row:2}.playing[data-simple-putt=true] .status{grid-row:3}}

/* A single slim timing rail. One moving white line and a fixed centre mark. */
#power-meter,.putt-strike-meter{height:8px;margin:16px 4px 12px;border:0;border-radius:4px;background:#597049;overflow:visible}
#power-meter>b,.putt-strike-meter>b{top:-9px;height:26px;width:3px;border-radius:2px;box-shadow:0 0 0 1px #13291e;z-index:3}
#power-meter>div{border-radius:4px}
#power-target{top:-6px;bottom:-6px}
#sweet-zone,.putt-strike-meter>i{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);background:#d0ed84;border:0;border-radius:3px;pointer-events:none}
.timing-centre{position:absolute;left:50%;top:-5px;bottom:-5px;width:2px;background:#d0ed84;transform:translateX(-50%);pointer-events:none}
#power-meter .timing-centre,#sweet-zone{display:none}
.swing-console[data-phase=impact] #power-fill,.swing-console[data-phase=impact] #power-target{display:none}
.swing-console[data-phase=impact] #sweet-zone,.swing-console[data-phase=impact] .timing-centre{display:block}
.putt-strike-meter:after{display:none}
#strike-feedback{font-size:14px;min-height:40px;line-height:1.4;letter-spacing:0;margin:8px 0 0;color:var(--muted)}
.putt-strike-scale,.meter-scale{font-size:12px}

.power-danger{position:absolute;inset:0 0 0 80%;background:#bf4a3f;border-radius:0 4px 4px 0;pointer-events:none}
.power-limit{position:absolute;left:80%;top:-5px;bottom:-5px;border-left:2px solid #ffe2bf;pointer-events:none}
.swing-console:not([data-phase=impact]) #scale-centre{position:absolute;left:80%;transform:translateX(-50%)}
.swing-console .meter-scale{position:relative}
.swing-console[data-phase=impact] .power-danger,.swing-console[data-phase=impact] .power-limit{display:none}
.swing-console[data-boost=true] #power-label{color:#ffb1a4}
.power-risk{font-size:14px;color:#ecc4b6;line-height:1.4;margin:8px 0}

#normal-shot-controls{display:contents}#normal-shot-controls[hidden]{display:none}.relief-controls{grid-column:1/-1;padding:18px;background:#173d30;border:1px solid #d4c178;border-radius:10px}.relief-controls h2{margin:8px 0}.relief-controls p{font-size:16px;line-height:1.5;margin:10px 0}.relief-controls .small{font-size:14px;color:var(--muted)}#relief-distance{color:var(--lime);font-weight:700}#relief-confirm{width:100%}

.course-legend{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:8px;font-size:12px;line-height:1.4}.legend-white{color:#fff}.legend-red{color:#ffb1a4}.legend-yellow{color:#ffe36b}
#playing[data-green-arrival="true"] .course-wrap{box-shadow:0 0 0 2px #d0ed8466,0 18px 55px #071b1588;transition:box-shadow .35s ease}#playing[data-green-arrival="true"] #distance-badge{background:#d0ed84;color:#102c25;font-weight:800;transform:scale(1.04)}
.round-highlights,.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.round-highlights>div,.profile-stats span{background:#173c33;border:1px solid #31584d;border-radius:12px;padding:12px;display:grid;gap:4px}.round-highlights span,.profile-stats span{font-size:.78rem;color:#b9cbbb}.round-highlights strong,.profile-stats strong{font-size:1.05rem;color:#f7f8ef}.world-result{font-weight:700;color:#d0ed84}.social-dialog{width:min(680px,calc(100% - 24px))}.social-card{border:1px solid #31584d;border-radius:16px;padding:16px;margin:14px 0;background:#102f27}.social-card h3{margin-top:0}.social-compose{display:flex;gap:8px}.social-compose input{min-width:0;flex:1}.club-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #31584d;padding:12px 0}.club-row button{white-space:nowrap}@media(max-width:520px){.round-highlights,.profile-stats{grid-template-columns:1fr 1fr}.social-compose{align-items:stretch}.social-compose button{min-height:44px}}
.nineteenth{margin:20px 0;padding:18px;border:1px solid #587650;border-radius:12px;background:linear-gradient(145deg,#183d30,#0d2a22)}.nineteenth>h3{font:1.55rem/1.15 Georgia,serif;margin:0}.shot-highlight{border-top:1px solid var(--line);margin-top:14px;padding-top:16px}.shot-highlight h3{font:1.45rem/1.2 Georgia,serif;margin:0}.shot-highlight>p{margin:6px 0 12px}.shot-highlight canvas{width:100%;height:auto;max-height:46vh;border:1px solid #617a57;border-radius:10px;background:#416447;margin:10px 0}.shot-highlight .secondary{width:100%}
.ghost-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:10px 14px;border:1px solid #d0ed8477;border-radius:10px;background:#173d30}.ghost-bar span{display:grid}.ghost-bar small{font-size:.67rem;letter-spacing:.14em;color:var(--lime)}.ghost-bar strong{font-size:.9rem}.ghost-bar button{white-space:nowrap}@media(max-width:520px){.ghost-bar{align-items:stretch;flex-direction:column}.ghost-bar button{width:100%}}
#playing[data-pressure="true"] .course-panel{box-shadow:0 0 0 2px #d0ed8455,0 18px 55px #071b1588}#playing[data-pressure="true"] .status{font-weight:800}
.world-icons-launch{width:100%;margin-top:10px;display:flex;justify-content:space-between;align-items:center;text-align:left;background:linear-gradient(110deg,#173c33,#244838);border-color:#6d885d}.world-icons-launch span{color:var(--lime)}.icons-dialog{width:min(720px,calc(100% - 24px))}.icons-dialog>p{color:var(--muted)}#world-icons-resume{width:100%;margin-top:10px}.icons-passport{display:flex;justify-content:space-between;gap:12px;margin:18px 0;padding:13px 15px;border:1px solid #526e52;border-radius:10px;background:#102f27}.icons-passport span{color:var(--muted);font-size:.85rem;text-align:right}.icons-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.icon-hole{min-height:92px;padding:11px;text-align:left;border:1px solid #31584d;background:#102f27;color:var(--ink);border-radius:10px}.icon-hole:hover{border-color:var(--lime);background:#1b4435}.icon-hole b,.icon-hole span{display:block}.icon-hole b{font-family:Georgia,serif;font-size:1rem}.icon-hole span{margin-top:5px;color:var(--muted);font-size:.74rem}.icon-hole[data-played=true]::after{content:'✓ Played';display:block;margin-top:6px;color:var(--lime);font-size:.7rem;font-weight:700}@media(max-width:620px){.icons-list{grid-template-columns:1fr 1fr}.icons-passport{display:grid}.icons-passport span{text-align:left}.icon-hole{min-height:86px}}
.lobby-copy{max-width:650px}.lobby-copy .lede{max-width:560px;margin:14px 0 20px}.lobby-actions{display:grid;gap:12px}.featured-game{padding:20px;border:1px solid #648a63;border-radius:14px;background:linear-gradient(120deg,#1b4436,#14352c)}.featured-game .eyebrow{margin-bottom:12px}.featured-game .primary{min-height:60px;font-size:1.125rem}.quiet-link{display:block;margin:10px auto 0;padding:8px 10px;border:0;background:none;color:var(--lime);font-size:.875rem;text-decoration:underline;text-underline-offset:3px}.daily-game{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:12px}.daily-game h2{font:1.4rem/1.2 Georgia,serif}.daily-game p{font-size:.875rem;color:var(--muted);margin-top:5px}.daily-game .daily-label{font-size:.75rem;color:var(--lime);margin:6px 0 0}.daily-game #start{width:auto;min-width:128px;font-size:1rem;border-color:var(--lime)}.lobby-actions .mp-launch{margin:0!important;border-color:var(--line);font-size:1rem!important}.lobby-actions #social-open{width:100%;font-size:.875rem}.game-settings{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}.game-settings summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px;list-style:none;min-height:44px;align-items:center;font-size:.875rem;color:var(--ink)}.game-settings summary::-webkit-details-marker{display:none}.game-settings summary::before{content:'⚙';color:var(--lime);margin-right:6px}.game-settings summary span{margin-left:auto;color:var(--muted)}.game-settings .mode-picker{margin-top:12px}.game-settings #mode-hint{min-height:0;margin:10px 0 16px}.game-settings .stance-picker{margin:0}.lobby-copy>.small{margin-top:12px}
@media(max-width:800px){.lobby{padding:20px 0 36px}.lobby-copy h1{font-size:clamp(2.45rem,10vw,3.5rem)}.lobby-copy .lede{margin:12px 0 20px}.featured-game{padding:16px}.daily-game{padding:14px;align-items:flex-start;flex-direction:column;gap:10px}.daily-game #start{width:100%;min-height:48px}.game-settings summary{font-size:.875rem}.game-settings .mode-picker button{font-size:1rem}.lobby-copy>.small{font-size:.75rem}}
.lobby-actions>.featured-game{order:0}.lobby-actions>.mp-launch{order:1;min-height:62px;background:#254737;border-color:var(--lime);font-size:1.125rem!important;font-weight:700}.lobby-actions>.mp-launch span{font-weight:400}.lobby-actions>.daily-game{order:2}.lobby-actions>#resume,.lobby-actions>#resume-note{order:3}.lobby-actions>#social-open{order:4}
.feedback-link{margin:4px 0 0;padding:8px 0;color:var(--muted);text-align:left}.feedback-link:hover{color:var(--lime)}#feedback-dialog textarea{resize:vertical;min-height:140px}#feedback-copy{width:100%;margin-top:10px}#feedback-status{min-height:22px}

/* Focused results and game identity, including tablet touch targets. */
.game-masthead{justify-content:center}.game-brand{font-size:clamp(18px,3vw,26px);font-weight:700;letter-spacing:.02em}.game-brand b{color:var(--lime)}
.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 8px}.result-actions button{min-height:52px}
.result-secondary{display:flex;flex-wrap:wrap;gap:8px 20px}.result-secondary button,#leaderboard-open{min-height:48px;font-size:16px}
.result-details{border-top:1px solid var(--line);margin:16px 0;padding:12px 0}.result-details summary{cursor:pointer;min-height:44px;font-size:16px;padding:10px 0}.result-details .shot-highlight{margin-top:12px}
#leaderboard-dialog label{display:block;margin-top:16px}#leaderboard-dialog select{min-height:48px;width:100%;margin:8px 0 12px}#board{padding-left:24px}#board li{padding:10px 0}#board li strong{float:right;margin-left:16px}#board-status{margin:14px 0}#share-options{margin:10px 0}#submit-form{margin-top:16px}
@media(max-width:420px){.result-actions{grid-template-columns:1fr}.game-masthead{height:58px}}

.play-promise{margin:8px 0 4px;color:var(--lime)}

/* Compact launch tiles: Daily 9 and live matches lead the choice. */
.lobby{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:40px;align-items:start}
.lobby-copy{max-width:none}.lobby-copy h1{font-size:clamp(2.4rem,4vw,3.7rem)}
.lobby-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lobby-actions>.game-tile{min-width:0;min-height:230px;border-radius:18px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;margin:0;background:#14382d;border:1px solid #42624d}
.lobby-actions>.daily-game{order:0;background:var(--lime);color:#13291e;border-color:var(--lime)}
.lobby-actions>.mp-launch{order:1;background:#244d3b;border-color:#9fbf71;font-size:1rem!important;font-weight:400}
.lobby-actions>.featured-game{order:2}.lobby-actions>#social-open{order:3;min-height:180px;border-radius:18px;padding:22px;text-align:left;background:#13382d;font-size:1.1rem;font-weight:700}
.game-tile .eyebrow{margin:0;font-size:.68rem;line-height:1.5}.daily-game .eyebrow,.daily-game p,.daily-game .daily-label{color:#28432a}.game-tile h2,.mp-launch strong{font:1.8rem/1.08 Georgia,serif;letter-spacing:-.03em}.game-tile>p:not(.eyebrow),.mp-launch>span:not(.eyebrow):not(.tile-action){font-size:.88rem;line-height:1.5;margin:0}
.daily-game #start{width:100%;min-width:0;min-height:48px;margin-top:auto;background:#18392b;color:#f5f7ed;font-size:1rem;justify-content:space-between}
.featured-game #world-icons-play{width:100%;margin-top:auto;min-height:48px;font-size:.94rem}.featured-game .quiet-link{margin:0;padding:5px 0;text-align:left;font-size:.8rem}.mp-launch .tile-action{margin-top:auto;padding-top:12px;color:var(--lime);font-weight:700;font-size:1rem}
.lobby-actions>#resume,.lobby-actions>#resume-note{order:4;grid-column:1/-1}.lobby-actions>#resume-note:empty{display:none}.course-poster{height:630px;border-radius:24px}.poster-label{padding:70px 24px 28px}
@media(max-width:800px){.lobby{grid-template-columns:1fr;gap:24px}.lobby-course{display:none}.lobby-actions{gap:12px}.lobby-actions>.game-tile{padding:18px;min-height:230px}.lobby-actions>#social-open{padding:18px}.game-tile h2,.mp-launch strong{font-size:1.55rem}.lobby-copy h1{font-size:clamp(2.4rem,8vw,3.5rem)}}
@media(max-width:380px){.lobby-actions{gap:9px}.lobby-actions>.game-tile,.lobby-actions>#social-open{padding:14px}.game-tile h2,.mp-launch strong{font-size:1.4rem}.game-tile>p:not(.eyebrow),.mp-launch>span:not(.eyebrow):not(.tile-action){font-size:.8rem}.featured-game #world-icons-play{font-size:.82rem;padding:8px}.daily-game #start{font-size:.9rem;padding:10px}}

.lobby-actions>#social-open{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.lobby-actions>#social-open strong{font:1.55rem/1.1 Georgia,serif}.lobby-actions>#social-open>span:not(.eyebrow){font-size:.85rem;color:var(--muted);font-weight:400}.lobby-actions>#social-open .tile-action{margin-top:auto;color:var(--lime);font-weight:700}

/* World Icons leads; the preview starts beside the launch choices. */
.lobby{column-gap:40px;row-gap:0}.lobby-copy{display:contents}.lobby-copy>*,.lobby-intro{grid-column:1}.lobby-intro{grid-row:1}.lobby-actions{grid-row:2}.lobby-course{grid-column:2;grid-row:2;align-self:start}.course-poster{height:540px}
.lobby-actions>.featured-game{order:0;grid-column:1/-1;min-height:190px;background:var(--lime);color:#13291e;border-color:var(--lime)}
.featured-game .eyebrow,.featured-game>p,.featured-game .quiet-link{color:#28432a}.featured-game h2{font-size:2.2rem}.featured-game #world-icons-play{width:auto;min-width:190px;min-height:50px;padding:12px 20px;justify-content:space-between;gap:24px;background:#18392b;color:#f5f7ed;font-size:1rem}.featured-game .quiet-link{margin:0}
.lobby-actions>.daily-game{order:1;min-height:210px;background:#14382d;color:var(--ink);border-color:#42624d}.daily-game .eyebrow,.daily-game .daily-label{color:var(--lime)}.daily-game>p:not(.eyebrow):not(.daily-label){color:var(--muted)}.daily-game #start{background:transparent;border:1px solid #769568;color:var(--ink)}
.lobby-actions>.mp-launch{order:2;min-height:210px}.lobby-actions>#social-open{order:3;grid-column:1/-1;min-height:74px;display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;padding:16px 22px}.lobby-actions>#social-open .eyebrow{display:none}.lobby-actions>#social-open strong{font:1.2rem/1.3 Georgia,serif}.lobby-actions>#social-open>span:not(.tile-action){grid-column:1}.lobby-actions>#social-open .tile-action{grid-column:2;grid-row:1/3;margin:0}
@media(max-width:800px){.lobby{display:block}.lobby-copy{display:block}.lobby-actions>.featured-game{padding:20px;min-height:190px}.featured-game h2{font-size:1.9rem}.featured-game #world-icons-play{width:100%}.lobby-actions>.daily-game,.lobby-actions>.mp-launch{min-height:210px}.lobby-actions>#social-open{padding:16px}.game-settings{margin-top:16px}}
