:root{--ink:#234e49;--green:#245d50;--cream:#fbf7eb;--gold:#d3a15e;--line:#d9dfce;--muted:#698078;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c77f36;outline-offset:3px}a{color:inherit}button{border:0}button[hidden],[hidden]{display:none!important}.sitebar{padding:18px max(28px,calc((100vw - 1450px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fffdf5}.brand{font-size:16px;letter-spacing:1px;font-weight:900;text-decoration:none}.brand span{font-weight:500}.sitebar nav{display:flex;align-items:center;gap:24px;font-size:14px}.sitebar nav a{text-decoration:none}.sitebar button{background:transparent;padding:5px;min-height:32px}main{max-width:1450px;margin:auto;padding:30px 28px 0}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.3px;color:#749084;margin:0 0 13px}h1{font:normal clamp(28px,3.1vw,47px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-1.4px;margin:0 0 12px}h1 em{color:#b48750;font-weight:normal}.page-title p:last-child{font-size:13px;color:var(--muted);margin:0}.pill{border:1px solid #b9cbbb;border-radius:30px;background:#f1f3e5;padding:11px 18px;font-size:12px;font-weight:bold;white-space:nowrap}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:24px;align-items:start}.course-panel{border:1px solid #cad6c7;border-radius:14px;overflow:hidden;background:#fffdf4;box-shadow:0 12px 25px #304f3610}.course-top{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;background:#245a4f;color:#fcf8e7}.course-top h2{font:normal 27px Georgia,serif;margin:3px 0 0}.course-top #hole-label{font-size:9px;letter-spacing:2px;color:#bad4b9;font-weight:bold}.course-numbers{display:flex;gap:23px}.course-numbers span{display:flex;flex-direction:column;text-align:center;font-size:8px;letter-spacing:1.4px;color:#b5cfbd}.course-numbers b{color:#fff8dc;font:normal 24px Georgia,serif;margin-top:4px}.viewport{position:relative;width:100%;height:clamp(400px,49vw,600px);overflow:hidden;background:linear-gradient(#bedde4,#edf0d6)}#scene{display:block;width:100%;height:100%;outline:0;touch-action:none}.scene-tag{position:absolute;top:16px;left:18px;pointer-events:none;background:#fffdf1da;border:1px solid #ffffff95;border-radius:20px;font-size:10px;padding:9px 12px;box-shadow:0 2px 10px #3057430b;display:flex;align-items:center;gap:7px}.scene-tag i{background:#70a270;border-radius:50%;width:6px;height:6px}.scene-buttons{position:absolute;right:13px;top:14px;display:flex;gap:7px}.scene-buttons button{padding:9px 12px;border-radius:20px;background:#fffdf1e8;border:1px solid #eeeadd;font-size:10px}.scene-hint{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);border-radius:30px;background:#1e514bd9;color:#fff8df;padding:9px 16px;font-size:11px;white-space:nowrap;pointer-events:none}.putting-controls{display:flex;gap:20px;align-items:center;padding:18px 22px 5px}.aim-control{display:flex;gap:7px;align-items:center;font-size:11px}.aim-control button{background:#edf0e2;border:1px solid #d5ddca;border-radius:50%;width:36px;height:36px;font-size:19px}.power-control{flex:1;display:flex;flex-direction:column;gap:7px;font-size:9px;letter-spacing:1.7px}.power-control span{display:flex;justify-content:space-between}.power-control b{letter-spacing:0;font-size:10px}input[type=range]{accent-color:var(--green);width:100%;height:12px;cursor:pointer}.primary{padding:13px 19px;color:#fff7e2;background:var(--green);border:1px solid var(--green);border-radius:7px;font-size:13px;font-weight:700;box-shadow:0 3px 0 #194237}.primary span{margin-left:20px;color:#d7cf9f}.control-note{font-size:10px;text-align:center;color:#7b8b7b;margin:10px 8px 15px}.tour-panel{background:#f4f2e4;padding:23px;border:1px solid #d7ddcc;border-radius:13px}.tour-panel h2{font:normal 26px/1.15 Georgia,serif;margin:0 0 23px;letter-spacing:-.4px}.tour-panel label,.tour-panel legend{font-size:11px;font-weight:bold;display:block;margin-bottom:8px}.tour-panel select{font-size:12px;width:100%;border:1px solid #cbd7c7;border-radius:6px;background:#fffdf6;padding:12px 10px;color:var(--ink);margin-bottom:15px}.tour-panel fieldset{border:0;padding:0;margin:5px 0 24px}.swatches{display:flex;gap:9px;flex-wrap:wrap}.swatch{border-radius:50%;width:28px;height:28px;background:var(--ball);border:3px solid #fcf7e5;box-shadow:0 0 0 1px #bbc4b1;position:relative}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px #28594d}.swatch[aria-pressed=true]:after{content:'✓';position:absolute;inset:2px;color:#224c43;font-size:12px;text-shadow:0 0 3px white}.small{font-size:10px;line-height:1.6;color:#728373;margin:0 0 15px}.tour-panel .start{width:100%;text-align:left;display:flex;justify-content:space-between;margin:17px 0 10px}.secondary{width:100%;border:1px solid #bfcfbb;background:#fffaf0;border-radius:6px;padding:12px;font-size:12px;margin:6px 0;min-height:42px}.quiet{background:none;text-decoration:underline;font-size:11px;padding:10px 0}.rules-preview{display:flex;flex-direction:column;gap:9px;margin-top:21px;padding-top:18px;border-top:1px solid #d6deca;font-size:10px}.rules-preview span{display:flex;justify-content:space-between}.rules-preview p{font-size:10px;line-height:1.6;margin:2px 0 0;color:#7a8976}.sound-row{display:flex;gap:4px;border-top:1px solid #d6deca;margin-top:21px;padding-top:15px}.sound-row button{font-size:9px;background:none;padding:6px 3px;min-height:32px}.sound-row button[aria-pressed=false]{opacity:.5}.badge-link{display:flex;justify-content:space-between;font-size:11px;padding-top:16px;text-decoration:none;color:#9b7b45}.passport{display:flex;gap:38px;padding:28px 0;align-items:center;border-bottom:1px solid #dce2d3}.passport h2{font:normal 22px Georgia,serif;margin:0;white-space:nowrap}.passport .eyebrow{font-size:8px;margin-bottom:7px}.city-strip{display:flex;gap:6px;flex-wrap:wrap}.city-strip button{background:transparent;border:1px solid #d8dece;font-size:9px;padding:6px 9px;border-radius:20px}.city-strip button.done{background:#d8e6d1}.city-strip button.current{background:#2b5b4d;color:white;border-color:#2b5b4d}.tour-stats{margin-top:20px;display:grid;gap:13px;font-size:10px}.tour-stats span{display:flex;justify-content:space-between}.tour-stats b{font-weight:600}.travel-progress{display:flex;gap:4px;margin:0 0 18px}.travel-progress i{height:5px;flex:1;background:#d7ddc8;border-radius:8px}.travel-progress i.done{background:#b8a778}.travel-progress i.current{background:var(--green)}#round-description{font-size:12px;line-height:1.7;color:#617567;margin-bottom:24px}footer{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:10px;color:#83917c;padding:19px}footer button{background:none;font-size:10px;text-decoration:underline;color:inherit}details{margin:0 0 12px}summary{font-size:11px;cursor:pointer;min-height:32px;line-height:1.7}summary span{font-size:9px;color:#82927d}details label{margin-top:9px}.zip-row{display:flex;gap:6px}.zip-row input{min-width:0;width:100%;border:1px solid #c7d4c0;padding:9px;border-radius:4px;font-size:12px}.zip-row button{font-size:11px;border:1px solid #c7d4c0;border-radius:4px;background:#e2e9d8;white-space:nowrap}.privacy{font-size:9px;line-height:1.6;color:#6c806e}.district-choice{font-size:11px;background:#fff9eb;padding:10px;text-align:left;border:1px solid #c4d3c0;border-radius:4px;display:block;width:100%;margin-top:5px}dialog{color:var(--ink);background:#fffbed;border:1px solid #c6d5c6;border-radius:17px;padding:32px;max-width:min(740px,calc(100vw - 28px));width:100%;max-height:90dvh;box-shadow:0 25px 90px #173f4650}dialog::backdrop{background:#153e43a6;backdrop-filter:blur(5px)}dialog h2{font:normal 34px/1.15 Georgia,serif;margin:8px 28px 18px 0}dialog p{font-size:14px;line-height:1.65}dialog .close{position:absolute;top:11px;right:12px;border:1px solid #d3ddc9;border-radius:50%;width:35px;height:35px;background:transparent;font-size:24px}#dialog-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}#dialog-actions button{width:auto}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:22px 0}.answer{background:#f2f2e1;border:1px solid #c9d6c4;border-radius:8px;text-align:left;display:flex;align-items:center;gap:12px;padding:15px;font-size:14px;line-height:1.4;min-height:70px}.answer kbd{font:600 12px Arial;background:#e1e8d4;padding:5px 8px;border-radius:5px}.answer.correct{background:#dcebcf;border:2px solid #5e9265}.answer.wrong{background:#f4e0d6;border:2px solid #b46e50}.feedback{padding:14px;background:#edf1df;border-radius:7px;font-size:14px;line-height:1.6}.score-table{width:100%;border-collapse:collapse;font-size:12px}.score-table th,.score-table td{text-align:right;padding:10px 6px;border-bottom:1px solid #d9dfcc}.score-table th:first-child,.score-table td:first-child{text-align:left}.score-table tr.me{background:#f1e4b9}.score-wrap{overflow:auto}.city-map{width:100%;max-height:270px;display:block;border:1px solid #c4d5c2;border-radius:10px;background:#d3e8e5;margin:18px 0}.fact-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:16px}.fact-grid span{font-size:10px;display:block;color:#778872;margin-bottom:4px}.fact-grid b{font-size:13px}.city-facts{padding-left:20px;font-size:13px;line-height:1.8}.landmark-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.landmark-list div{padding:12px;background:#edf0de;border-radius:8px}.landmark-list b{font-size:12px}.landmark-list p{font-size:11px;margin:4px 0 0}.source-list{font-size:11px;line-height:1.7}.source-list a{word-break:break-word}#toast{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);padding:16px 24px;background:#fffae8ed;border:1px solid #e1d6af;border-radius:12px;text-align:center;font:normal 25px Georgia,serif;box-shadow:0 8px 25px #183f3e20;pointer-events:none;opacity:0;transition:opacity .2s}#toast.show{opacity:1}#confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}#confetti i{position:absolute;width:7px;height:12px;left:var(--x);top:-15px;background:var(--c);animation:fall 2.5s ease-in forwards;animation-delay:var(--delay)}@keyframes fall{to{transform:translateY(650px) rotate(650deg);opacity:0}}@media(max-width:1000px){.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:15px}.tour-panel{padding:18px}.viewport{height:490px}.passport{gap:18px}.passport h2{font-size:19px}}@media(max-width:760px){main{padding:23px 14px 0}.sitebar{padding:13px 16px}.sitebar nav{gap:13px;font-size:11px}.brand{font-size:12px}.page-title{gap:12px;align-items:flex-start}.page-title p:last-child{font-size:11px;line-height:1.5;max-width:230px}.page-title .pill{font-size:0;padding:12px}.page-title .pill:first-letter{font-size:18px}.game-layout{display:flex;flex-direction:column}.course-panel,.tour-panel{width:100%}.viewport{height:470px}.tour-panel{padding:20px}.tour-panel h2 br{display:none}.tour-panel h2{margin-bottom:18px;font-size:23px}.putting-controls{gap:12px;padding:15px 13px 5px}.aim-control{gap:4px}.aim-control>span{display:none}.control-note{font-size:9px}.scene-tag{font-size:8px;max-width:205px;left:10px}.scene-buttons{gap:4px;right:9px}.scene-buttons button{padding:8px;font-size:9px}.course-top{padding:13px 16px}.course-top h2{font-size:25px}.course-numbers{gap:19px}.passport{flex-direction:column;align-items:flex-start;padding:23px 3px;gap:16px}.passport h2{font-size:23px}.city-strip button{font-size:10px;padding:7px 10px}dialog{padding:25px 20px}dialog h2{font-size:28px}.answers{grid-template-columns:1fr}.answer{min-height:58px}.fact-grid{grid-template-columns:1fr 1fr}.landmark-list{grid-template-columns:1fr}.tour-panel #setup{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px}.tour-panel #setup>*{grid-column:1 / -1}.tour-panel .swatches{gap:13px}.rules-preview{margin-top:7px}footer{font-size:9px}.privacy{font-size:11px}summary{font-size:12px}.small{font-size:11px}.tour-panel label,.tour-panel legend{font-size:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.leader-controls{display:flex;gap:12px;margin:15px 0}.leader-controls select{background:#f0f2e1;color:#244f43;padding:11px;border:1px solid #c4d1bd;border-radius:6px;flex:1;min-width:0}.paps-updates-dialog{font-size:16px}

.answer{font-size:16px}.tour-panel label,.tour-panel legend{font-size:12px}.privacy{font-size:11px}.small{font-size:11px}.control-note{font-size:11px}@media(max-width:760px){body:not(.playing) .tour-panel{order:-1}.course-panel{order:0}.scene-hint{font-size:10px;max-width:90%;white-space:normal;text-align:center}.tour-panel #setup{display:block}}

:fullscreen .page-title,:fullscreen .passport,:fullscreen footer{display:none}:fullscreen main{padding-top:12px}:fullscreen .viewport{height:calc(100dvh - 200px);min-height:330px}:fullscreen .sitebar{padding-top:9px;padding-bottom:9px}

@media(max-width:760px){.aim-control button{width:42px;height:42px}.swatch{width:36px;height:36px}.scene-buttons button{min-height:38px}}

/* World Tour: a course-first game screen with direct ball control. */
:root{--green:#195547;--ink:#193e36;--cream:#f4f2e9;--gold:#d3a85b}
body{background:radial-gradient(ellipse at 25% 0,#fffcf2,transparent 65%),#f0f1e8}
.sitebar{padding-top:14px;padding-bottom:14px;background:#fcfaf1}
main{max-width:1540px;padding-top:24px}.page-title{margin-bottom:22px;gap:24px}.page-title .eyebrow{font-size:9px;margin-bottom:9px}h1{font-size:clamp(25px,2.5vw,38px);letter-spacing:-1px;margin-bottom:8px}h1 em{color:#9a713c}.page-title p:last-child{font-size:12px}.game-layout{grid-template-columns:minmax(0,1fr) 286px;gap:22px}
.course-panel{border-radius:20px;border:1px solid #244e3e;box-shadow:0 24px 65px #234d3820,0 4px 8px #223e3210}.course-top{background:linear-gradient(110deg,#123f35,#28604b);padding:17px 23px}.course-top h2{font-size:30px}.course-top #hole-label{font-size:10px;letter-spacing:2px;color:#c9d6b0}.course-numbers b{font-family:Arial,sans-serif;font-weight:600;font-size:24px}.course-numbers{gap:27px}
.viewport{height:clamp(560px,65vh,760px);background:linear-gradient(#acd0d1,#e4e9ce)}#scene{cursor:grab}.pulling #scene{cursor:grabbing}.scene-tag{top:17px;left:18px;background:#fefbebeb;color:#365c49;padding:10px 13px;font-size:10px;backdrop-filter:blur(10px)}.scene-buttons{top:15px;right:15px;gap:8px}.scene-buttons button{background:#173f35df;color:#ffefd0;border-color:#ffffff20;backdrop-filter:blur(10px);padding:11px 14px;font-size:11px}.scene-hint{bottom:17px;padding:11px 18px;font-size:12px;background:#153f35e8;max-width:calc(100% - 32px);text-align:center;white-space:normal;box-shadow:0 4px 20px #234f3520}
.camera-mark{position:absolute;bottom:25px;left:22px;font-size:9px;letter-spacing:2.5px;color:#244f37a0;font-weight:800;pointer-events:none}.camera-mark span{display:block;font-size:7px;margin-top:5px;letter-spacing:1.6px}
#shot-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;fill:none}#ball-halo>circle{stroke:#fff8ce;stroke-width:2;filter:drop-shadow(0 2px 3px #183c35)}#ball-halo .halo-outer{stroke:#fff8ce88;stroke-width:1;stroke-dasharray:3 5}#ball-grab-label{fill:#fffbe5;stroke:#214d3b;stroke-width:3.5px;paint-order:stroke;font:800 10px Arial,sans-serif;letter-spacing:1.6px}#launch-arrow{stroke:#ffedaa;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px #1a492d)}#pull-tether{stroke:#ffc563;stroke-width:4;stroke-linecap:round;stroke-dasharray:7 6;filter:drop-shadow(0 2px 3px #23472c)}#pull-handle{stroke:#ffe6a3;stroke-width:2;fill:#e5a34080;filter:drop-shadow(0 2px 3px #23472c)}
#power-readout{position:absolute;top:80px;left:50%;transform:translateX(-50%) translateY(-8px);opacity:0;pointer-events:none;transition:opacity .12s,transform .12s;background:#143f34ef;color:#fff5d5;border:1px solid #f9df8c55;box-shadow:0 12px 25px #163b3430;border-radius:14px;padding:13px 18px;width:220px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px}#power-readout.visible{opacity:1;transform:translateX(-50%)}#power-readout>span{font-size:9px;letter-spacing:1.7px;color:#d0d9bb}#power-readout b{font-size:24px;font-weight:600}#power-readout>i{grid-column:1/-1;display:block;height:6px;background:#ffffff20;border-radius:9px;overflow:hidden}#power-fill{height:100%;display:block;background:linear-gradient(90deg,#a7c87e,#ffd776,#e9975a);border-radius:9px}#power-readout small{grid-column:1/-1;font-size:9px;text-align:center;color:#d6dabe}
.putting-controls{padding:17px 22px 8px;background:#173f35;color:#f7efd9;gap:22px}.aim-control button{background:#31594a;color:#fff0cc;border-color:#5e7c62;width:40px;height:40px}.power-control{font-size:9px;gap:8px}.power-control b{color:#ffda8d;font-size:12px}.power-control input{accent-color:#eac175}.putting-controls .primary{background:#efc271;color:#234c3c;border-color:#efc271;box-shadow:0 3px 0 #a37d3e;min-width:123px;font-size:15px}.putting-controls .primary span{color:#23513e}.control-note{background:#173f35;color:#c4d1b2;margin:0;padding:7px 12px 15px;font-size:11px}
.tour-panel{background:#fffdf4;border:1px solid #d6ddcb;border-radius:18px;padding:23px;box-shadow:0 8px 28px #263f3210}.tour-panel .eyebrow{color:#7b8e68;letter-spacing:2px}.tour-panel h2{font-size:27px;color:#264d3d;margin-bottom:24px}.tour-panel select{font-size:12px;background:#f5f5eb;border-color:#d6dfcb;padding:13px 11px;border-radius:8px}.tour-panel label,.tour-panel legend{font-size:12px}.swatches{gap:9px}.swatch{width:30px;height:30px;border-width:3px}.start.primary{border-radius:9px;padding:15px;background:#245b43;box-shadow:0 3px 0 #183c2e}.rules-preview{font-size:11px}.rules-preview p{font-size:11px}.sound-row button{font-size:10px}.badge-link{font-size:12px;color:#8c6b35}.passport{padding-top:32px;padding-bottom:28px}.city-strip button{background:#fffdf5;padding:7px 10px}
@media(max-width:1100px){main{padding-left:18px;padding-right:18px}.game-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.tour-panel{padding:19px}.viewport{height:610px}.camera-mark{display:none}.scene-buttons button{padding:10px;font-size:10px}.scene-tag{font-size:9px;left:12px}.course-numbers{gap:21px}}
@media(max-width:760px){main{padding:19px 10px 0}.sitebar{padding:13px 14px}.page-title{margin:0 5px 20px;gap:12px}h1{font-size:27px;line-height:1.1;max-width:330px}.page-title p:last-child{font-size:11px;max-width:270px}.page-title .eyebrow{font-size:8px;letter-spacing:1.5px}.game-layout{display:flex;gap:16px}.course-panel{border-radius:16px}.viewport{height:570px}.course-top{padding:14px 15px}.course-top h2{font-size:26px}.course-numbers{gap:18px}.course-numbers b{font-size:23px}.scene-tag{top:13px;padding:9px 10px;font-size:8px;max-width:170px}.scene-buttons{top:auto;bottom:64px;right:11px}.scene-buttons button{font-size:10px;min-height:38px;padding:9px 11px}.scene-hint{font-size:11px;bottom:13px;padding:10px 14px;width:max-content;max-width:calc(100% - 24px)}.putting-controls{padding:15px 13px 8px;gap:14px}.putting-controls .primary{min-width:95px;padding:12px}.putting-controls .primary span{margin-left:13px}.control-note{font-size:10px;padding:9px 9px 15px;line-height:1.5}.aim-control button{width:40px;height:40px}.aim-control{gap:5px}.tour-panel{border-radius:16px;padding:22px}.tour-panel h2{font-size:24px;margin-bottom:19px}.tour-panel select{font-size:14px}.tour-panel .swatches{gap:13px}.swatch{width:34px;height:34px}.tour-panel .start{margin-top:22px}.passport{padding-top:25px}#power-readout{top:64px}}
@media(max-width:380px){.putting-controls{gap:10px}.aim-control button{width:36px;height:38px}.viewport{height:540px}.course-numbers{gap:14px}.swatch{width:31px;height:31px}.tour-panel .swatches{gap:11px}}
:fullscreen .viewport{height:calc(100dvh - 215px);min-height:400px}

.cup-marker{position:absolute;z-index:2;transform:translate(-50%,-100%);pointer-events:none;background:#fff4cfeb;color:#70481e;border:1px solid #e0ba68;border-radius:14px;padding:4px 7px;font:700 11px Arial,sans-serif;box-shadow:0 2px 9px #254c3540;white-space:nowrap}.cup-marker span{font-size:8px;letter-spacing:1px}.cup-marker:after{content:'';position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #e0ba68}

/* Readable type and an explicit, prominent full-screen recommendation. */
body{font-size:17px;line-height:1.5}.sitebar nav{font-size:15px;gap:20px}.sitebar nav button,.sitebar nav a{min-height:44px;display:inline-flex;align-items:center}.sitebar .brand{font-size:17px;white-space:nowrap}.sitebar .fullscreen-button,.fullscreen-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid #d7aa56;border-radius:9px;background:#f0c576;color:#234b37;font-size:17px;font-weight:750;line-height:1.25;box-shadow:0 3px 0 #b08a48;white-space:nowrap}.fullscreen-button>span:first-child{font-size:25px;line-height:1}.fullscreen-button:hover{background:#ffda91}.fullscreen-button:active{transform:translateY(1px);box-shadow:0 2px 0 #b08a48}
.play-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f8f1dc;border-bottom:1px solid #d8ccaa;padding:14px 22px}.play-mode-bar p{margin:0;line-height:1.4}.play-mode-bar strong{display:block;font-size:16px;color:#284b38}.play-mode-bar p span{display:block;font-size:14px;color:#52644d;margin-top:3px}.fullscreen-only{display:none}
.eyebrow{font-size:12px;letter-spacing:1.6px}.page-title .eyebrow{font-size:12px}.page-title p:last-child{font-size:16px;line-height:1.5}.pill{font-size:15px;padding:12px 18px}.course-top #hole-label{font-size:12px;letter-spacing:1.5px}.course-top h2{font-size:32px}.course-numbers span{font-size:12px;letter-spacing:.7px;line-height:1.3}.course-numbers b{font-size:29px;line-height:1.15}.course-numbers{gap:24px}
.scene-tag{font-size:13px;color:#284c3c;padding:10px 13px;line-height:1.4}.scene-buttons button{font-size:14px;min-height:44px;padding:10px 14px}.scene-hint{font-size:15px;line-height:1.45;padding:10px 17px;max-width:calc(100% - 36px)}.camera-mark{font-size:11px}.camera-mark span{font-size:10px}#ball-grab-label{font-size:13px;letter-spacing:1px}.cup-marker{font-size:14px;padding:5px 9px}.cup-marker span{font-size:12px;letter-spacing:.6px}#power-readout{width:260px}#power-readout>span{font-size:12px;letter-spacing:1px}#power-readout b{font-size:29px}#power-readout small{font-size:12px;line-height:1.45}
.aim-control{font-size:15px}.aim-control button{width:44px;height:44px;font-size:23px}.power-control{font-size:13px;letter-spacing:1px;line-height:1.3}.power-control b{font-size:16px}.putting-controls .primary{font-size:18px;min-height:48px}.control-note{font-size:14px;line-height:1.5;padding:9px 14px 15px;color:#e0e6cb}.primary{font-size:16px;min-height:48px}.secondary{font-size:16px;min-height:48px}.quiet{font-size:15px;min-height:44px}.tour-panel{padding:23px}.tour-panel label,.tour-panel legend{font-size:16px}.tour-panel select{font-size:16px;line-height:1.4;padding:12px}.tour-panel h2{font-size:29px}.small,.privacy{font-size:14px;line-height:1.6;color:#50644e}.rules-preview,.rules-preview p{font-size:14px;line-height:1.6;color:#40583f}.rules-preview span{gap:12px}.tour-stats{font-size:15px;gap:12px}.tour-stats span{gap:12px;flex-wrap:wrap}.tour-stats b{white-space:nowrap}#round-description{font-size:15px;line-height:1.65;color:#4b6250}.sound-row{flex-wrap:wrap;gap:8px}.sound-row button{font-size:14px;min-height:44px}.badge-link{font-size:15px;min-height:44px}.tour-panel summary{font-size:15px;min-height:44px;line-height:1.5}.tour-panel summary span{font-size:13px}.zip-row input,.zip-row button{font-size:16px;min-height:46px}.district-choice{font-size:15px;min-height:48px}.swatch{width:34px;height:34px}.swatches{gap:9px}.city-strip button{font-size:13px;padding:8px 11px;min-height:36px}.passport .eyebrow{font-size:11px}.passport{align-items:flex-start}footer,footer button{font-size:13px;line-height:1.5}
#dialog p{font-size:17px;line-height:1.65}#dialog .small{font-size:15px}#dialog .eyebrow{font-size:12px}#dialog .answer{font-size:18px;min-height:76px;padding:16px;line-height:1.45}#dialog .answer kbd{font-size:15px}#dialog .feedback{font-size:17px}#dialog .score-table{font-size:16px}#dialog .fact-grid span{font-size:14px}#dialog .fact-grid b{font-size:17px}#dialog .city-facts{font-size:16px;line-height:1.8}#dialog .landmark-list b{font-size:16px}#dialog .landmark-list p{font-size:15px}#dialog .source-list{font-size:14px}#dialog summary,#dialog label{font-size:16px;line-height:1.6}#dialog .close{width:44px;height:44px;font-size:28px}#dialog-actions button{font-size:16px;min-height:48px}
@media(max-width:1150px){.game-layout{grid-template-columns:minmax(0,1fr) 300px}.scene-buttons{top:auto;bottom:100px}.scene-tag{font-size:12px;max-width:calc(100% - 28px)}.passport{flex-direction:column;gap:18px}.play-mode-bar{gap:14px;padding:14px 17px}.play-mode-bar .fullscreen-button{padding:12px 14px;font-size:16px}.play-mode-bar p span{font-size:14px}}
@media(max-width:760px){.sitebar{flex-wrap:wrap;gap:10px;padding:13px 14px}.sitebar nav{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px}.sitebar .brand{font-size:16px}.sitebar .fullscreen-button{font-size:15px;padding:10px 12px;min-height:44px}.sitebar .fullscreen-button>span:first-child{font-size:22px}h1{font-size:29px}.page-title .eyebrow{font-size:11px;letter-spacing:1.3px}.page-title p:last-child{font-size:15px;max-width:310px}.page-title .pill{font-size:14px;padding:11px 13px;white-space:normal}.page-title{align-items:flex-start;gap:12px}.play-mode-bar{flex-direction:column;align-items:stretch;gap:10px;padding:15px}.play-mode-bar strong{font-size:16px}.play-mode-bar p span{font-size:14px}.play-mode-bar .fullscreen-button{font-size:18px;min-height:50px}.course-top{padding:14px}.course-top h2{font-size:29px}.course-numbers{gap:14px}.course-numbers span{font-size:11px}.course-numbers b{font-size:27px}.scene-tag{font-size:12px;padding:8px 10px;max-width:calc(100% - 24px)}.scene-buttons{bottom:100px;right:11px;gap:7px}.scene-buttons button{font-size:14px;min-height:44px;padding:9px 12px}.scene-hint{font-size:14px;line-height:1.4;max-width:calc(100% - 24px);bottom:12px}.putting-controls{gap:12px;padding:15px 13px 8px}.aim-control{gap:5px}.aim-control button{width:40px;height:44px}.power-control{min-width:0;font-size:12px}.power-control b{font-size:15px}.putting-controls .primary{font-size:18px;min-width:92px;padding:12px}.putting-controls .primary span{margin-left:10px}.control-note{font-size:13px;padding:9px 12px 15px}.tour-panel h2{font-size:27px}.tour-panel label,.tour-panel legend{font-size:16px}.tour-panel select{font-size:16px}.swatch{width:35px;height:35px}.tour-panel .swatches{gap:13px}.tour-panel .eyebrow{font-size:12px}.small,.privacy{font-size:14px}.tour-stats{font-size:15px}.city-strip button{font-size:13px}.passport .eyebrow{font-size:11px}#dialog .answers{grid-template-columns:1fr}#dialog .answer{font-size:18px;min-height:66px}#power-readout{top:66px}footer,footer button{font-size:13px}}
@media(max-width:380px){.putting-controls{gap:8px}.aim-control button{width:35px}.course-numbers{gap:11px}.course-top h2{font-size:26px}.swatch{width:33px;height:33px}.tour-panel .swatches{gap:10px}.scene-buttons button{padding:9px 10px}}
:is(html:fullscreen,html.game-expanded) .sitebar,:is(html:fullscreen,html.game-expanded) .page-title,:is(html:fullscreen,html.game-expanded) .passport,:is(html:fullscreen,html.game-expanded) footer{display:none}:is(html:fullscreen,html.game-expanded) main{width:100%;max-width:none;margin:0;padding:0}:is(html:fullscreen,html.game-expanded) .game-layout{gap:0;grid-template-columns:minmax(0,1fr) 320px;align-items:start}:is(html:fullscreen,html.game-expanded) .course-panel{display:flex;flex-direction:column;height:100dvh;min-height:0;border-radius:0}:is(html:fullscreen,html.game-expanded) .viewport{height:auto!important;min-height:160px;flex:1}:is(html:fullscreen,html.game-expanded) .course-top,:is(html:fullscreen,html.game-expanded) .play-mode-bar,:is(html:fullscreen,html.game-expanded) .putting-controls,:is(html:fullscreen,html.game-expanded) .control-note{flex:none}:is(html:fullscreen,html.game-expanded) #fullscreen-tip{display:none}:is(html:fullscreen,html.game-expanded) .play-mode-bar{flex-direction:row;align-items:center;padding:10px 16px;gap:12px}:is(html:fullscreen,html.game-expanded) .fullscreen-only{display:inline-flex;align-items:center;justify-content:center;font-size:16px;background:transparent;min-height:44px;padding:8px 12px;border:1px solid #a8b99f;border-radius:7px}:is(html:fullscreen,html.game-expanded) .tour-panel{max-height:100dvh;overflow-y:auto;border-radius:0}:is(html:fullscreen,html.game-expanded) .play-mode-bar .fullscreen-button{width:auto;min-height:46px;font-size:16px;padding:10px 16px}
@media(max-width:760px){:is(html:fullscreen,html.game-expanded) .game-layout{display:flex;flex-direction:column}:is(html:fullscreen,html.game-expanded) .course-panel,:is(html:fullscreen,html.game-expanded) .tour-panel{width:100%}:is(html:fullscreen,html.game-expanded) .tour-panel{max-height:none;overflow:visible}:is(html:fullscreen,html.game-expanded) .course-top{padding:10px 14px}:is(html:fullscreen,html.game-expanded) .putting-controls{padding-top:12px}:is(html:fullscreen,html.game-expanded) .control-note{padding-bottom:12px}}

:is(html:fullscreen,html.game-expanded) body:not(.playing) .sitebar{display:flex;position:sticky;top:0;z-index:5;background:#fcfaf1}:is(html:fullscreen,html.game-expanded) body:not(.playing) #setup{scroll-margin-top:120px}

@media(min-width:1151px){.game-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1150px){.scene-buttons{top:58px;bottom:auto}#power-readout{top:116px;z-index:4}}
@media(max-width:760px){.course-numbers span{font-size:12px}}

/* Keep live shot power in the controls below the course, clear of every aiming line. */
.power-dock{position:relative;flex:1;min-width:0;min-height:54px;display:flex;align-items:center}
.power-dock .power-control{min-width:0;width:100%}
.power-dock #power-readout{inset:0;width:auto;transform:none;padding:0;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;background:#173f35;border:0;border-radius:0;box-shadow:none;line-height:1.2;transition:opacity .12s;z-index:1}
.power-dock #power-readout.visible{transform:none}
.power-dock #power-readout>span{font-size:13px;letter-spacing:.5px}
.power-dock #power-readout b{font-size:26px;line-height:1.2}
.power-dock #power-readout>i{height:8px}
@media(max-width:760px){.power-dock #power-readout>span{font-size:12px}.power-dock #power-readout b{font-size:24px}}

/* A real, generous ball target receives mouse, pen and touch gestures above the canvas. */
.ball-drag{position:absolute;z-index:3;width:96px;height:96px;min-width:0;min-height:0;transform:translate(-50%,-50%);padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.ball-drag:focus-visible{outline:3px solid #fff1ad;outline-offset:-14px}
.pulling .ball-drag{cursor:grabbing}
#scene,#shot-guide{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

/* A completed round replaces the green and keeps clear exit controls in view. */
.round-end{position:relative;max-width:1120px;margin:0 auto 30px;border:1px solid #c4d2bd;border-radius:20px;background:#fffdf3;box-shadow:0 14px 40px #214f3520;overflow:hidden}
.finish-content{padding:30px 34px 16px}.finish-heading{text-align:center;max-width:800px;margin:0 auto 24px}.finish-trophy{font-size:48px;display:block;line-height:1.2;margin-bottom:12px}.finish-heading .eyebrow{margin:0 0 9px;color:#356f50}.finish-heading h2{font:normal clamp(32px,4vw,48px)/1.15 Georgia,serif;margin:0 0 12px;color:#214b38}.finish-heading>p:last-child{font-size:17px;line-height:1.55;margin:0;color:#4c6550}
.finish-totals{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:10px;background:#1c513e;color:#fff7dc;border-radius:15px;padding:20px;margin:0 0 20px;align-items:center;text-align:center}.finish-totals>div{display:flex;flex-direction:column;gap:5px}.finish-totals span{font-size:12px;letter-spacing:1px;font-weight:700;color:#d3e0be}.finish-totals strong{font-size:34px;line-height:1.1;font-variant-numeric:tabular-nums}.finish-totals .finish-score strong{font-size:56px;color:#ffda8b}.finish-totals small{font-size:14px;line-height:1.4;color:#f2e9c3}
.finish-feedback{padding:14px 18px;background:#edf3df;border-radius:10px;font-size:16px;line-height:1.6;margin:0 0 10px}.finish-save-status{font-size:14px;line-height:1.5;color:#4d674d;margin:0 0 24px}.finish-scorecard h3{font:normal 27px Georgia,serif;margin:0 0 10px}.finish-explainer{font-size:15px;line-height:1.55;color:#4f644d;margin:0 0 16px}
.round-score-table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;font-variant-numeric:tabular-nums}.round-score-table th,.round-score-table td{padding:13px 10px;border-bottom:1px solid #d5dfca;text-align:center}.round-score-table thead th{background:#e8eddc;font-size:14px;color:#385a3b}.round-score-table tbody th,.round-score-table tfoot th{text-align:left;font-size:15px}.round-score-table tbody tr.score-under{background:#eef7e8}.round-score-table tbody tr.score-ace{background:#fff0bc}.round-score-table tbody tr.score-par{background:#f9f8ed}.round-score-table tbody tr.score-over{background:#fbefe5}.round-score-table tbody td:nth-child(5){font-weight:800;font-size:18px}.result-badge{display:inline-block;border-radius:18px;font-size:14px;line-height:1.4;padding:6px 10px;font-weight:700;background:#e4e9d7;color:#39583e}.score-under .result-badge{background:#cfe8bd;color:#28552e}.score-ace .result-badge{background:#f5d77d;color:#594118}.score-over .result-badge{background:#efdbca;color:#734731}.round-score-table tfoot tr{background:#245440;color:#fff6d9}.round-score-table tfoot th,.round-score-table tfoot td{font-weight:800;border:0}.finish-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:15px;line-height:1.5;margin:22px 0 14px}.finish-links span{color:#386e3c}
.finish-actions{position:sticky;bottom:0;z-index:8;display:grid;grid-template-columns:1.2fr 1.2fr 1.2fr 1fr;gap:12px;padding:18px 24px;border-top:1px solid #cbd7bd;background:#fbf8e9;box-shadow:0 -5px 20px #294c3510}.finish-actions .primary,.finish-actions .secondary{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:54px;font-size:16px;line-height:1.35;margin:0;width:100%;padding:12px}.finish-actions .finish-exit{font-size:19px;font-weight:800}
#finish-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:4}#finish-confetti i{position:absolute;left:var(--x);top:-20px;width:9px;height:16px;border-radius:2px;background:var(--c);animation:finish-fall 4.3s ease-in forwards;animation-delay:var(--delay)}@keyframes finish-fall{to{transform:translate(var(--drift),110dvh) rotate(740deg);opacity:0}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:is(html:fullscreen,html.game-expanded) .round-end{height:100dvh;min-height:0;max-width:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column}:is(html:fullscreen,html.game-expanded) .finish-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}:is(html:fullscreen,html.game-expanded) .finish-actions{position:static;flex:none}
@media(max-width:760px){.finish-content{padding:24px 18px 14px}.finish-totals{grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 12px;gap:16px 8px}.finish-score{grid-column:1/-1}.finish-totals .finish-score strong{font-size:58px}.finish-totals strong{font-size:29px}.finish-heading h2{font-size:33px}.finish-heading>p:last-child{font-size:16px}.finish-totals span{font-size:11px;letter-spacing:.4px}.finish-actions{grid-template-columns:1fr 1fr;padding:12px;gap:10px}.finish-actions .primary,.finish-actions .secondary{font-size:15px;min-height:52px;padding:10px}.finish-actions .finish-exit{font-size:18px}.finish-scorecard h3{font-size:25px}}
@media(max-width:600px){.round-score-table,.round-score-table tbody,.round-score-table tfoot{display:block;width:100%}.round-score-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.round-score-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #d3ddc5;border-radius:11px;margin-bottom:12px;overflow:hidden}.round-score-table tbody th,.round-score-table tfoot th{grid-column:1/-1;padding:12px 14px;font-size:17px;border-bottom:1px solid #d8dfce}.round-score-table td{padding:10px 4px;font-size:18px;line-height:1.4;border:0}.round-score-table td::before{content:attr(data-label);display:block;font-size:11px;line-height:1.3;margin-bottom:5px;font-weight:600;color:#526b4e}.round-score-table td.hole-result{grid-column:1/-1;padding-top:0}.round-score-table td.hole-result::before{display:none}.round-score-table tfoot td:last-child{grid-column:1/-1}.round-score-table tfoot td::before{color:#dae5c4}.result-badge{font-size:15px}.round-score-table tbody td:nth-child(5){font-size:19px}.finish-explainer{font-size:14px}}

.round-end{height:calc(100dvh - 32px);display:flex;flex-direction:column}.finish-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.finish-actions{position:static;flex:none}
@media(max-width:760px){.round-end{height:calc(100dvh - 20px)}}
:is(html:fullscreen,html.game-expanded) .round-end{height:100dvh}

/* Keep setup and travel controls available without covering the playing surface. */
.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.course-actions[hidden], .first-putt[hidden] { display: none; }
.course-actions button, .course-actions a, .read-aloud {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .68rem;
  border: 1px solid #b1beab;
  border-radius: .55rem;
  background: #fbf6e7;
  color: #22493e;
  font: inherit;
  font-size: 14px;
}
body.playing #fullscreen-tip { display: none; }
body.playing .play-mode-bar { flex-flow: row wrap; align-items: center; }
body.playing .play-mode-bar .fullscreen-button { width: auto; }
body.playing #course-help {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .65rem;
}
#scene:focus-visible { outline: 3px solid #fff4b5; outline-offset: -5px; }
.first-putt {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  padding: .55rem .75rem;
  color: #fff5d4;
  background: #173f35;
  font-size: 14px;
  line-height: 1.3;
}
.first-putt b { color: #f6d88b; font-size: 1.2em; padding-right: .17em; }
.first-putt-alternative { color: #d8e6cf; }
#setup .loop-details {
  margin: .8rem 0;
  padding: .8rem;
  border: 1px solid #bccfbb;
  border-radius: .65rem;
  background: #f1f5e8;
}
#setup #loop-date {
  max-width: 100%;
  min-height: 44px;
  padding: .4rem .5rem;
  border: 1px solid #a4b6a0;
  border-radius: .4rem;
  font: inherit;
}
#loop-preview, .badge-city {
  color: #1e4d40;
  font-size: 14px;
  line-height: 1.5;
  margin: .5rem 0;
}
.badge-city {
  padding: .6rem .7rem;
  border-left: 3px solid #ac7a32;
  background: #fff4d8;
}
.city-strip .badge-target { outline: 2px solid #a36e25; outline-offset: 1px; }
#national-questions[aria-pressed="true"] { border-color: #5b8670; }
.finish-learning { margin: .65rem 0; }
#finish-best { color: #224f40; font-size: 1.04rem; font-weight: 700; }
.review-answer {
  padding: .75rem 0;
  border-bottom: 1px solid #d4ddcd;
}
.narration-status { display: block; margin: .2rem 0; color: #52634c; }
@media (min-width: 1050px) and (min-aspect-ratio: 3/2) {
  .power-dock .power-control { flex: 0 0 75%; width: 75%; margin-inline: auto; }
  .power-dock .power-control input { width: 100%; margin-inline: 0; }
  .power-dock #power-readout { inset-inline: 12.5%; }
}
@media (orientation: landscape) and (max-height: 600px) {
  body.playing .game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(168px, 25%);
    gap: .45rem;
    align-items: start;
  }
  body.playing .course-panel {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 0;
    border-radius: .45rem;
    width: 100%;
  }
  body.playing .course-panel .viewport {
    flex: 1 1 0;
    height: auto !important;
    min-height: 0;
  }
  body.playing .course-top { padding: 4px 10px; }
  body.playing .course-top h2 { margin-top: 0; font-size: 21px; }
  body.playing .course-top #hole-label { font-size: 10px; }
  body.playing .play-mode-bar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
    padding: 2px 8px;
  }
  body.playing .play-mode-bar .fullscreen-button {
    width: auto;
    min-height: 44px;
    font-size: 13px;
    padding: .35rem .5rem;
  }
  body.playing .course-actions { gap: .25rem; }
  body.playing .course-actions button, body.playing .course-actions a, body.playing #course-help {
    min-height: 44px;
    font-size: 13px;
    padding: .35rem .45rem;
  }
  body.playing .putting-controls { gap: .5rem; padding: 3px 8px max(4px, env(safe-area-inset-bottom)); }
  body.playing .putting-controls .primary { min-width: 72px; min-height: 44px; padding: 5px 9px; }
  body.playing .putting-controls .primary span { margin-left: 5px; }
  body.playing .power-dock { min-height: 44px; }
  body.playing .control-note { display: none; }
  body.playing .first-putt { font-size: 12px; padding: 4px 7px; }
  body.playing .tour-panel { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  body.playing .scene-buttons { top: 7px; bottom: auto; right: 8px; left: auto; gap: 5px; }
  body.playing .scene-buttons button { padding: 4px 7px; font-size: 12px; }
  body.playing .scene-tag, body.playing .camera-mark { display: none; }
  body.playing .scene-hint { bottom: 5px; padding: 4px 9px; font-size: 12px; }
}
@media (orientation: landscape) and (max-height: 600px) and (max-width: 740px) {
  body.playing .game-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Behind the transparent 3D scene, a softly lit garden pavilion. */
.viewport {
  background: #91a288 url("./course-backdrop.svg?v=20261108-golf-diorama-v1") center / cover no-repeat;
}
