.g3-root{--g3-active:#f0785d;--g3-forest:#183e35;--g3-lime:#d4ef83;color:var(--ink,#202842);max-width:1150px;margin:auto;font-family:inherit}.g3-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.g3-eyebrow{font-size:10px;font-weight:850;letter-spacing:1.9px;color:#527466}.g3-title{font-size:26px;letter-spacing:-.7px;margin:3px 0 0;line-height:1.1}.g3-hole-badge{background:#e8f0e5;border:1px solid #d5e0d1;color:#345241;border-radius:20px;padding:8px 12px;font-size:12px;font-weight:800;white-space:nowrap}.g3-stage{position:relative;overflow:hidden;border-radius:19px;background:linear-gradient(#c9e6ef,#eaf5e9);height:clamp(280px,48vw,560px);min-height:260px;isolation:isolate;box-shadow:inset 0 0 0 1px #25483419}.g3-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.g3-dragging .g3-canvas{cursor:grabbing}.g3-course-hud{position:absolute;inset:14px 14px auto;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;pointer-events:none}.g3-distance-box{display:flex;flex-direction:column;align-items:flex-start;background:#143a33e8;color:white;border:1px solid #ffffff36;box-shadow:0 8px 25px #0e312c1b;border-radius:13px;padding:10px 15px;min-width:100px;backdrop-filter:blur(8px)}.g3-active-name{max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:800;color:#d4edbe}.g3-distance-value{font-size:30px;font-weight:850;line-height:1.2;letter-spacing:-1px}.g3-lie{font-size:11px;color:#d8e6db}.g3-button{font:inherit;cursor:pointer;border:1px solid #d5e0d7;border-radius:11px;background:#fff;color:#294a3a;min-height:44px;font-weight:750;touch-action:none;-webkit-tap-highlight-color:transparent;transition:background .15s,box-shadow .15s}.g3-button:focus-visible,.g3-range:focus-visible{outline:3px solid #b5c976;outline-offset:3px}.g3-button:disabled{opacity:.5;cursor:default}.g3-view-button{pointer-events:auto;background:#ffffffec;font-size:12px;padding:9px 13px;border-color:#fff;box-shadow:0 5px 16px #163c3114}.g3-view-button[aria-pressed=true]{background:#e4f0cf}.g3-bottom-hud{position:absolute;inset:auto 13px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}.g3-wind,.g3-camera-note{background:#163e32d9;color:#fff;border:1px solid #ffffff2a;font-weight:700;font-size:11px;padding:7px 10px;border-radius:9px;backdrop-filter:blur(6px)}.g3-camera-note{background:#ffffffdd;color:#365b45}.g3-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.g3-player-grid.g3-solo{grid-template-columns:1fr}.g3-player{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #dce5dc;border-radius:12px;background:#f7f9f4;min-width:0}.g3-player.is-active{border-color:var(--g3-player-color);box-shadow:inset 3px 0 var(--g3-player-color);background:white}.g3-player.is-holed{background:#e7f2e4}.g3-player-identity{display:flex;align-items:center;gap:7px;min-width:0}.g3-player-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.g3-avatar{font-size:19px}.g3-player-result{font-size:11px;font-weight:700;line-height:1.4;text-align:right;color:#55715c;flex-shrink:0}.g3-shot-panel{background:#f3f6ee;border:1px solid #dce5d5;border-radius:16px;padding:12px}.g3-clubs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.g3-club{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;text-align:left;column-gap:9px;padding:10px 12px;min-height:61px}.g3-club-icon{grid-row:1/3;align-self:center;display:grid;place-items:center;width:30px;height:34px;background:#e8eee1;border-radius:9px;color:#537247;font-size:17px;font-weight:900}.g3-club strong{font-size:13px;align-self:end}.g3-club small{font-size:11px;font-weight:600;color:#74906e}.g3-club[aria-pressed=true]{background:var(--g3-forest);border-color:var(--g3-forest);color:#fff;box-shadow:0 4px 10px #204a3420}.g3-club[aria-pressed=true] .g3-club-icon{background:var(--g3-lime);color:#25422c}.g3-club[aria-pressed=true] small{color:#d8e8c1}.g3-adjustments{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:12px 1px}.g3-range-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:750;color:#5a7053;margin-bottom:5px}.g3-range-title strong{color:#203f2c;font-size:13px}.g3-range-row{display:flex;gap:8px;align-items:center}.g3-step{min-width:40px;width:40px;min-height:40px;flex-shrink:0;font-size:22px;line-height:1;padding:0;background:#fff}.g3-range{min-width:0;width:100%;height:35px;cursor:pointer;accent-color:#52774b;touch-action:none}.g3-shot-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d8e3cf;padding-top:10px}.g3-prediction{display:flex;flex-direction:column;gap:3px;min-width:0}.g3-prediction strong{font-size:14px;color:#29472e}.g3-prediction span{font-size:11px;color:#6b7d60;line-height:1.35}.g3-prediction.g3-warning span{color:#a9592f;font-weight:750}.g3-hit{background:var(--g3-forest);color:#fff;border:0;padding:12px 30px;border-radius:11px;min-width:150px;min-height:48px;font-size:15px;box-shadow:0 5px 12px #1e493727}.g3-hit:not(:disabled):active{transform:translateY(1px);background:#285b45}.g3-status{font-size:12px;font-weight:750;color:#3e6045;line-height:1.5;margin:10px 0 5px;min-height:18px}.g3-hint{font-size:12px;line-height:1.5;color:#6d7f69;margin:5px 0}.g3-keyboard{font-size:10px;color:#7e8d77;line-height:1.4;margin:3px 0}.g3-render-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;background:#eff4e9;color:#2c4935;z-index:5}.g3-render-error strong{font-size:20px}.g3-render-error p{max-width:400px;font-size:14px;line-height:1.6}
@media(pointer:coarse){.g3-keyboard{display:none}.g3-step{min-width:44px;width:44px;min-height:44px}.g3-range{height:44px}}
@media(max-width:700px){.g3-title{font-size:20px}.g3-hole-badge{font-size:10px;padding:7px 9px}.g3-heading{gap:7px}.g3-stage{height:350px}.g3-player{padding:8px;flex-wrap:wrap;gap:3px}.g3-player-result{font-size:10px}.g3-player-name{font-size:12px}.g3-shot-panel{padding:9px}.g3-clubs{gap:5px}.g3-club{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 4px;text-align:center;min-height:68px}.g3-club-icon{width:26px;height:23px;border-radius:6px;font-size:13px}.g3-club strong{font-size:11px;align-self:center}.g3-club small{font-size:10px}.g3-adjustments{gap:12px;padding:9px 0}.g3-range-row{gap:4px}.g3-step{min-width:32px;width:32px;min-height:44px;font-size:20px}.g3-hit{padding:10px 18px;min-width:125px;font-size:14px}.g3-prediction strong{font-size:12px}.g3-prediction span{font-size:10px}.g3-course-hud{inset:10px 10px auto}.g3-distance-box{padding:8px 11px;min-width:82px}.g3-distance-value{font-size:25px}.g3-active-name{max-width:120px;font-size:10px}.g3-view-button{font-size:10px;padding:7px 10px;max-width:130px}.g3-bottom-hud{inset:auto 9px 9px}.g3-wind,.g3-camera-note{font-size:9px;padding:6px 8px}.g3-status,.g3-hint{font-size:11px}}
@media(max-width:430px){.g3-stage{height:300px;min-height:250px}.g3-title{font-size:17px}.g3-eyebrow{font-size:8px;letter-spacing:1.4px}.g3-hole-badge{font-size:9px}.g3-player-grid{gap:7px;margin:9px 0}.g3-player-result{width:100%;text-align:left;padding-left:25px}.g3-player-name{max-width:110px}.g3-adjustments{gap:10px}.g3-step{min-width:30px;width:30px}.g3-shot-footer{gap:6px}.g3-hit{min-width:105px;padding:10px 13px}.g3-prediction span{max-width:170px}.g3-hint{font-size:10px}}
@media(orientation:landscape) and (max-height:550px){.g3-root{max-width:1150px}.g3-heading{margin-bottom:7px}.g3-stage{height:clamp(270px,69dvh,390px)}.g3-title{font-size:21px}.g3-shot-panel{padding:9px}.g3-clubs{grid-template-columns:repeat(4,1fr)}.g3-player-grid{margin:8px 0}.g3-course-hud{inset:10px 12px auto}.g3-distance-value{font-size:24px}.g3-distance-box{padding:7px 11px}}
/* A turn-based game can use vertical space on a phone: keep the actual shot
   controls readable instead of shrinking them to fit an arcade-sized panel. */
.g3-root{font-size:16px}.g3-heading{flex-wrap:wrap}.g3-heading>div{flex:1 1 200px}.g3-eyebrow{font-size:12px}.g3-title{font-size:26px}.g3-hole-badge{font-size:14px;white-space:normal;line-height:1.45}.g3-active-name{font-size:14px}.g3-lie{font-size:12px}.g3-view-button{font-size:14px;min-height:44px}.g3-wind,.g3-camera-note{font-size:12px}.g3-player-name{font-size:14px}.g3-player-result{font-size:12px}.g3-club strong{font-size:14px}.g3-club small{font-size:12px}.g3-range-title,.g3-range-title strong{font-size:14px}.g3-step{min-width:44px;width:44px;min-height:44px}.g3-prediction strong{font-size:14px}.g3-prediction span{font-size:12px}.g3-status,.g3-hint{font-size:14px;line-height:1.5}.g3-keyboard{font-size:12px}.g3-adjustment{min-width:0}.g3-adjustments{column-gap:12px}.g3-range-row{gap:4px}
@media(max-width:700px){.g3-heading>div{flex-basis:190px}.g3-title{font-size:22px}.g3-hole-badge{padding:7px 10px}.g3-club{min-height:82px;padding:8px 3px}.g3-club-icon{width:28px;height:25px;font-size:14px}.g3-view-button{max-width:155px;padding:7px 10px}.g3-active-name{max-width:130px}.g3-distance-box{min-width:95px}.g3-player-result{font-size:12px}.g3-player-name{max-width:150px}.g3-shot-footer{align-items:flex-start}.g3-hit{font-size:16px;min-height:48px}.g3-status{margin-top:12px}.g3-camera-note{max-width:180px;text-align:right}.g3-hint{margin-top:7px}}
@media(max-width:430px){.g3-title{font-size:20px}.g3-eyebrow{letter-spacing:1.2px}.g3-hole-badge{font-size:14px}.g3-player-name{max-width:110px}.g3-player-result{padding-left:0}.g3-view-button{max-width:135px}.g3-camera-note{max-width:155px;font-size:12px}.g3-wind{font-size:12px}.g3-clubs{gap:4px}.g3-club strong{font-size:14px}.g3-club small{font-size:12px}.g3-step{min-width:44px;width:44px;min-height:44px}.g3-range-title{font-size:14px}.g3-prediction span{max-width:170px}.g3-hit{min-width:110px}.g3-hint{font-size:14px}}

/* Keep the course and the shot controls in view together. The shared match
   strip repeats the scorecards below, so the active golf screen uses its own HUD. */
.play-shell:has(.g3-root){max-width:1360px;padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.play-shell:has(.g3-root)>.play-top{min-height:44px;margin-bottom:6px;gap:10px}
.play-shell:has(.g3-root) .play-title p,.play-shell:has(.g3-root)>.match-strip{display:none}
.play-shell:has(.g3-root) .play-title h1{font-size:20px;line-height:1.2}
.play-shell:has(.g3-root) .play-top-actions .icon-btn{width:44px;height:44px}
.play-shell:has(.g3-root) .arena.shared{max-width:none}
.play-shell:has(.g3-root) .arena.shared>.player-panel{border:0;border-radius:16px}
.play-shell:has(.g3-root) .game-content{min-height:0;padding:8px;overflow:visible}
.play-shell:has(.g3-root) .round-footer{margin:2px auto 0;min-height:36px;gap:0}
.play-shell:has(.g3-root) .round-footer>span{display:none}
.play-shell:has(.g3-root) .round-footer button{font-size:14px;min-height:36px;padding:8px 14px}
.g3-range{height:44px}

@media(orientation:landscape) and (min-width:520px){
 .g3-root{max-width:1280px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.58fr);grid-template-areas:"heading heading" "stage players" "stage shot" "stage status" "stage hint" "stage keyboard";grid-template-rows:auto auto auto auto 1fr auto;gap:8px 16px;align-items:start}
 .g3-heading{grid-area:heading;margin:0 0 2px;min-width:0}
 .g3-heading>div{flex:1 1 auto;min-width:0}
 .g3-stage{grid-area:stage;width:100%;height:clamp(340px,calc(100dvh - 210px),650px);min-height:0;align-self:stretch}
 .g3-player-grid{grid-area:players;margin:0;gap:8px;min-width:0;align-self:start}
 .g3-player{flex-wrap:wrap;gap:3px 8px;padding:8px 10px}
 .g3-player-identity{width:100%}
 .g3-player-name{max-width:100%;font-size:14px}
 .g3-player-result{width:100%;text-align:left;padding-left:0;font-size:12px;line-height:1.3}
 .g3-shot-panel{grid-area:shot;min-width:0;padding:10px;align-self:start}
 .g3-clubs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .g3-club{min-width:0;min-height:54px;padding:7px 8px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;text-align:left;gap:1px 7px}
 .g3-club-icon{width:28px;height:30px;font-size:16px}
 .g3-club strong{font-size:14px;align-self:end}
 .g3-club small{font-size:12px}
 .g3-adjustments{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0}
 .g3-range-title{font-size:14px;margin-bottom:3px}
 .g3-range-title strong{font-size:14px}
 .g3-range-row{gap:4px}
 .g3-step{min-width:44px;width:44px;min-height:44px}
 .g3-range{height:44px}
 .g3-shot-footer{gap:8px;padding-top:8px;align-items:center}
 .g3-hit{min-width:118px;min-height:48px;padding:9px 16px;font-size:16px}
 .g3-prediction strong{font-size:14px}
 .g3-prediction span{font-size:12px;line-height:1.3}
 .g3-status{grid-area:status;margin:0;min-height:0;font-size:14px;line-height:1.4}
 .g3-hint{grid-area:hint;align-self:start;margin:0;font-size:14px;line-height:1.4}
 .g3-keyboard{grid-area:keyboard;margin:0;font-size:12px;line-height:1.35}
}

@media(orientation:landscape) and (min-width:520px) and (max-height:600px){
 .play-shell:has(.g3-root){padding:4px max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 .play-shell:has(.g3-root)>.play-top{margin-bottom:3px;gap:8px}
 .play-shell:has(.g3-root) .play-brand{display:none}
 .play-shell:has(.g3-root) .play-title{text-align:left;min-width:0;flex:1}
 .play-shell:has(.g3-root) .play-title h1{font-size:18px}
 .play-shell:has(.g3-root) .game-content{padding:4px}
 .play-shell:has(.g3-root) .round-footer{margin-top:0}
 .g3-root{grid-template-columns:minmax(0,1fr) clamp(238px,36vw,290px);grid-template-areas:"heading shot" "stage shot" "players shot" "status status";grid-template-rows:auto minmax(0,1fr) auto auto;gap:5px 8px;align-items:start}
 .g3-heading{flex-wrap:nowrap;justify-content:flex-start;gap:6px;margin:0;min-height:28px}
 .g3-heading>div{display:none}
 .g3-hole-badge{font-size:14px;line-height:1.3;padding:4px 8px;border-radius:9px;white-space:nowrap}
 .g3-stage{height:clamp(120px,calc(100dvh - 215px),385px);min-height:0;border-radius:12px;align-self:stretch}
 .g3-player-grid{gap:6px;align-self:start}
 .g3-player{min-height:42px;padding:4px 6px;gap:1px;border-radius:9px}
 .g3-player-identity{gap:4px}
 .g3-player-name{font-size:14px;max-width:130px}
 .g3-avatar{font-size:16px}
 .g3-player-result{font-size:12px;line-height:1.25;white-space:normal}
 .g3-shot-panel{padding:6px;align-self:stretch;border-radius:12px;display:flex;flex-direction:column;justify-content:space-between;gap:4px}
 .g3-clubs{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .g3-club{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;padding:4px 2px;gap:2px;text-align:center;border-radius:8px}
 .g3-club-icon{display:none}
 .g3-club strong{font-size:14px;line-height:1.2;align-self:center;white-space:nowrap}
 .g3-club small{font-size:12px;line-height:1.2}
 .g3-adjustments{grid-template-columns:minmax(0,1fr);gap:4px;padding:3px 0}
 .g3-range-title{font-size:14px;line-height:1.2;margin-bottom:1px}
 .g3-range-row{gap:4px}
 .g3-step{min-width:44px;width:44px;min-height:44px;font-size:20px}
 .g3-range{height:44px}
 .g3-shot-footer{gap:6px;padding-top:5px;align-items:center}
 .g3-prediction strong{font-size:14px;line-height:1.2}
 .g3-prediction span{font-size:12px;line-height:1.2;overflow-wrap:anywhere;max-width:none}
 .g3-hit{min-width:105px;min-height:48px;padding:7px 10px;font-size:14px;line-height:1.2}
 .g3-status{font-size:14px;line-height:1.3;margin:0;min-height:0}
 .g3-hint,.g3-keyboard{display:none}
 .g3-course-hud{inset:7px 7px auto;gap:6px}
 .g3-distance-box{min-width:80px;padding:5px 8px;border-radius:9px}
 .g3-distance-value{font-size:23px}
 .g3-active-name{max-width:108px;font-size:14px;line-height:1.2}
 .g3-lie{font-size:12px;line-height:1.2}
 .g3-view-button{font-size:14px;min-height:44px;padding:6px 8px;max-width:130px;line-height:1.2}
 .g3-bottom-hud{inset:auto 7px 7px}
 .g3-wind{font-size:12px;padding:4px 7px;line-height:1.2}
 .g3-camera-note{display:none}
}

.g3-avatar{display:block;width:24px;height:24px;border-radius:7px;object-fit:cover}
.g3-markers{position:absolute;inset:0;pointer-events:none}
.g3-yardage{position:absolute;transform:translate(-50%,-100%);padding:3px 6px;border:1px solid #d6efbf;border-radius:5px;background:#173d35f2;color:#fff;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;box-shadow:0 2px 6px #0e312c4d}
.g3-yardage::after{content:'';position:absolute;top:100%;left:calc(50% - 1px);width:2px;height:7px;background:#d6efbf}
.g3-timing{position:absolute;z-index:2;left:50%;bottom:42px;width:min(86%,390px);transform:translateX(-50%);padding:10px 14px 12px;border:1px solid #a4ca8b;border-radius:12px;background:#132d25f5;color:#fff;text-align:center;pointer-events:none;box-shadow:0 4px 20px #0b221f66}
.g3-timing[hidden],.g3-yardage[hidden]{display:none}
.g3-timing strong{display:block;font-size:12px;line-height:1.3;margin-bottom:8px}
.g3-timing-track{position:relative;height:14px;border:1px solid #687c70;border-radius:5px;background:#233e34}
.g3-timing-zone,.g3-timing-needle{position:absolute;display:block}
.g3-timing-zone{top:0;bottom:0;background:#b8e577;box-shadow:0 0 8px #b8e57769}
.g3-timing-needle{top:-4px;bottom:-4px;width:4px;transform:translateX(-50%);border-radius:3px;background:#fff;box-shadow:0 0 0 1px #0d241c}
.g3-root[data-golf-phase="timing"] .g3-canvas{cursor:crosshair}
.g3-meter-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.g3-meter-heading strong{margin:0;text-align:left}
.g3-strength{font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}
.g3-timing-track{height:15px;margin-inline:2px 6px}
.g3-timing-zone{background:#a3d46a}
.g3-timing-needle{left:0;top:5px;bottom:auto;height:3px;transform:none;width:0;border-radius:2px;background:#fff2c0;box-shadow:none}
.g3-timing-needle::after{content:'';position:absolute;top:-4px;right:-2px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #fff4cf;filter:drop-shadow(0 1px 1px #103224)}
.g3-direction{position:absolute;height:2px;background:#ffe2a1c9;transform-origin:left center;pointer-events:none;box-shadow:0 1px 2px #173a45;border-radius:2px}
.g3-direction[hidden]{display:none}
.g3-direction::after{content:'';position:absolute;right:-3px;top:-3px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid #ffe2a1}
.g3-shot-help{font-size:12px;color:#516649;line-height:1.35}

@media(max-width:760px) and (orientation:portrait){
 .g3-stage{height:clamp(216px,36dvh,365px);min-height:0}
 .g3-heading,.g3-player-grid{margin-block:4px}
 .g3-eyebrow{display:none}
 .g3-player{padding:5px 7px}
 .g3-shot-panel{padding:8px}
 .g3-clubs{gap:4px}
 .g3-club{min-height:55px;padding:4px 2px}
 .g3-club-icon{width:22px;height:20px}
 .g3-club small{font-size:10px}
 .g3-adjustments{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px 0}
 .g3-range-title{font-size:12px;margin-bottom:1px}
 .g3-range-row{gap:2px}
 .g3-range{min-width:0}
 .g3-status,.g3-hint{margin-block:5px;font-size:13px}
}

@media (orientation:portrait) and (max-width:760px){
 .g3-heading>div{display:none}
 .g3-heading{justify-content:flex-end;margin:0 0 3px}
 .g3-hole-badge{padding:3px 8px;font-size:.75rem}
 .g3-stage{height:clamp(155px,calc(100dvh - 350px),570px)}
 .g3-player-grid{gap:4px;margin:4px 0}
 .g3-player{padding:3px 5px;border-radius:7px}
 .g3-player-result{width:auto;font-size:.68rem}
 .g3-player-name{font-size:.76rem}
 .g3-shot-panel{padding:5px}
 .g3-club{min-height:49px;gap:1px;padding:2px}
 .g3-club strong{font-size:.74rem;line-height:1.15}
 .g3-club small{font-size:.62rem;line-height:1.1}
 .g3-club-icon{width:18px;height:16px;font-size:.69rem}
 .g3-step{min-width:34px;width:34px;min-height:38px}
 .g3-range{height:38px}
 .g3-shot-footer{padding-top:4px}
 .g3-prediction span{font-size:.66rem}
}

.play-shell:has(.g3-root){max-width:none;padding-inline:max(4px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-right))}
.play-shell:has(.g3-root) .game-content{padding:0}
.play-shell:has(.g3-root) .round-footer{display:none}
.g3-root{display:block;width:100%;max-width:none}
.g3-root .g3-stage{height:max(300px,calc(100dvh - 66px - env(safe-area-inset-bottom)));min-height:0;width:100%;border-radius:14px}
.g3-heading{position:absolute;z-index:2;top:8px;left:50%;transform:translateX(-50%);margin:0;gap:4px;pointer-events:none}
.g3-heading>div{display:block;flex:auto}
.g3-title,.g3-hole-badge{background:#12352cec;color:white;border:1px solid #b5d9b85c;padding:4px 8px;border-radius:8px;font-size:.85rem}
.g3-player-grid{position:absolute;z-index:1;top:64px;left:9px;display:flex;margin:0;gap:4px;pointer-events:none}
.g3-player{min-width:0;background:#f6fff1e8;padding:4px 8px}
.g3-bottom-hud{bottom:auto;top:112px;align-items:flex-start}
.g3-camera-note{display:none}
.g3-shot-panel{position:absolute;z-index:3;inset:auto 10px 10px auto;width:min(380px,46%);background:#eff9e9ee;padding:7px;border-radius:12px}
.g3-club{min-height:44px;padding:3px;gap:2px}
.g3-club small{display:none}
.g3-shot-settings{margin-top:5px}
.g3-round-end{background:#fff;border:1px solid #bbd0af;border-radius:8px;color:#294a36;padding:5px 10px;min-height:44px;font:inherit;font-size:.81rem;cursor:pointer;margin-top:3px}
.g3-shot-settings>summary{cursor:pointer;font-size:.77rem;font-weight:750;min-height:28px;display:list-item;padding:4px}
.g3-shot-help{display:none}
.g3-shot-footer{padding-top:2px;justify-content:flex-end}
.g3-hit{min-height:42px}
.g3-status{position:absolute;z-index:1;left:10px;bottom:15px;max-width:45%;padding:5px 8px;margin:0;border-radius:8px;background:#13382de8;color:#fff;pointer-events:none}
.g3-timing{width:min(360px,48%);bottom:72px;left:25%;border:2px solid #d5ef9e;padding:8px 11px;background:#102e24f5}
.g3-strength{font-size:clamp(1.25rem,3vw,2rem);line-height:1;color:#e5ff86}
.g3-timing-track{height:20px}
.g3-timing-needle{top:7px}
.g3-root[data-golf-phase="timing"] .g3-shot-panel{opacity:.52}
.g3-root[data-golf-phase="timing"] .g3-status{visibility:hidden}
@media(max-width:720px) and (orientation:portrait){
 .g3-heading{top:56px;left:auto;right:8px;transform:none}.g3-heading>div{display:none}
 .g3-player-grid{top:57px;max-width:76%}.g3-player{flex-wrap:nowrap}.g3-avatar{display:none}
 .g3-bottom-hud{top:96px}
 .g3-shot-panel{inset:auto 6px 6px;width:auto;padding:5px}
 .g3-shot-footer{position:absolute;right:5px;bottom:4px}.g3-hit{min-height:35px;font-size:.76rem;padding:4px 7px}
 .g3-shot-settings{min-height:30px}.g3-shot-settings[open]{padding-bottom:30px}
 .g3-club strong{font-size:.70rem}.g3-club{min-height:44px}
 .g3-status{left:7px;bottom:110px;max-width:calc(100% - 14px);font-size:.76rem}
 .g3-timing{width:min(75%,330px);left:50%;bottom:148px}
}
@media(orientation:landscape) and (max-height:550px){
 .g3-root .g3-stage{height:max(240px,calc(100dvh - 55px))}
 .g3-shot-panel{width:34%}.g3-player-grid{top:55px}.g3-bottom-hud{top:91px}
 .g3-timing{bottom:42px;width:min(310px,55%);left:34%}
}

.g3-pulling .g3-direction{z-index:3;height:3px;background:#ffe29b;box-shadow:0 0 0 1px #172f25,0 0 6px #fff3ae}
.g3-pulling .g3-direction::after{border-left-color:#ffe29b}
.g3-pulling .g3-timing{top:clamp(124px,21%,174px);bottom:auto;left:50%;width:min(78%,360px)}
.g3-strength{white-space:nowrap}
.g3-overpower .g3-strength{color:#ffb97e}
@media (orientation:landscape) and (max-height:550px){
 .g3-pulling .g3-timing{top:clamp(70px,19%,112px);left:48%;width:min(60%,350px)}
}
