:root{color-scheme:dark;--bg:#07120e;--panel:#10251c;--panel-strong:#163b2b;--text:#fffbe7;--muted:#b8d4c0;--accent:#f4d35e;--accent-strong:#ffb13b;--green:#31c46f;--danger:#ef496f}*{box-sizing:border-box}body,html{width:100%;min-height:100%;margin:0;background:var(--bg);color:var(--text);font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overscroll-behavior:none}body{overflow:hidden;touch-action:none}button{border:0;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.appShell{width:100vw;height:100dvh;min-height:560px;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(49,196,111,.14),transparent 44%),radial-gradient(circle at 50% 100%,rgba(244,211,94,.16),transparent 42%),var(--bg)}.gameView,.resultScreen,.startScreen{width:min(100%,430px);height:100%;max-height:850px}.resultScreen,.startScreen{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px}.brandMark{width:84px;height:84px;display:grid;place-items:center;border:2px solid rgba(255,251,231,.24);border-radius:50%;background:#153f2e;font-size:40px;box-shadow:0 18px 50px rgba(0,0,0,.28)}h1,p{margin:0}h1{max-width:10ch;font-size:54px;line-height:.94;letter-spacing:0}.resultScreen p,.startScreen p{max-width:310px;color:var(--muted);font-size:17px;line-height:1.45}.modeStrip,.scoreBadge{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,251,231,.16);border-radius:999px;background:rgba(255,255,255,.06);padding:0 16px;color:var(--muted)}.scoreBadge strong{color:var(--text)}.modeStrip{gap:12px;color:#d6e8d9;font-size:13px}.modeStrip span:last-child{color:var(--accent)}.iconButton,.primaryButton,.secondaryButton,.textButton{min-height:48px;border-radius:8px;transition:transform .14s ease,filter .14s ease}.iconButton:active,.primaryButton:active,.secondaryButton:active,.textButton:active{transform:translateY(1px) scale(.99)}.primaryButton{background:linear-gradient(180deg,var(--accent),var(--accent-strong));color:#1c1607;font-weight:850;box-shadow:0 14px 34px rgba(255,177,59,.24)}.primaryButton,.secondaryButton{width:min(100%,310px);padding:0 20px}.secondaryButton{background:#1c4533;color:var(--text);font-weight:760}.gameView{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px}.gameHeader{min-height:70px;display:grid;grid-template-columns:1fr 1fr 1fr 50px;align-items:center;grid-gap:8px;gap:8px}.gameHeader div{min-width:0;height:56px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(255,251,231,.12);border-radius:8px;background:rgba(255,255,255,.06);padding:0 10px}.headerLabel{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.gameHeader strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.iconButton{width:50px;height:56px;display:grid;place-items:center;background:var(--panel);font-size:20px}.canvasWrap{position:relative;width:100%;min-height:0;overflow:hidden;border:1px solid rgba(255,251,231,.18);border-radius:8px;background:#2cbf6f;box-shadow:0 16px 38px rgba(0,0,0,.34)}.golfCanvas{display:block;width:100%;height:100%;touch-action:none}.statusRail{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:15px}.statusRail span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.textButton{min-width:96px;background:#173728;padding:0 14px;color:var(--text);font-weight:750}.eyebrow{color:var(--accent);font-size:13px;font-weight:800;text-transform:uppercase}.starRow{display:flex;gap:8px;min-height:60px;align-items:center}.star{opacity:.25;filter:grayscale(1);font-size:38px;transform:scale(.9)}.star.active{opacity:1;filter:none;transform:scale(1)}.buttonStack{width:100%;display:grid;justify-items:center;grid-gap:10px;gap:10px}.confetti:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(45deg,transparent 45%,#f4d35e 45% 55%,transparent 55%),linear-gradient(-45deg,transparent 44%,#ef496f 44% 56%,transparent 56%),linear-gradient(90deg,transparent 46%,#31c46f 46% 54%,transparent 54%);background-size:64px 64px,74px 74px,92px 92px;animation:confettiFall .85s ease-out forwards}@keyframes confettiFall{0%{opacity:.8;transform:translateY(-28px)}to{opacity:0;transform:translateY(70px)}}@media (min-width:720px){.appShell{padding:24px}h1{font-size:64px}}@media (max-height:650px){h1{font-size:42px}.brandMark{width:68px;height:68px}.resultScreen,.startScreen{gap:12px}}