/* v663 additions are scoped to pre-shot UI; normal shot editors/statistics retain their styles. */
.gy662-dialog .gy658-drive{display:flex;flex-direction:column;justify-content:center;gap:0;line-height:1.05}
.gy662-dialog .gy658-drive .gy663-plays-label{font-size:9px;letter-spacing:.06em;line-height:1.2;color:#f2d28b}
.gy662-dialog .gy658-drive b{font-size:clamp(24px,6.1cqw,34px);line-height:1.05}
.gy662-dialog .gy658-drive .gy663-slope-needed{font-size:8px;color:#efe1c5}
.gy662-dialog .gy663-hazard-endpoint{position:absolute;z-index:8;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center;width:28px;height:28px;min-width:28px;min-height:28px!important;padding:4px!important;border:1px solid currentColor;border-radius:50%;background:#12372eef!important;box-shadow:0 1px 4px #0008;touch-action:manipulation;cursor:pointer}
.gy662-dialog .gy663-hazard-endpoint svg{width:19px;height:19px;flex:none;pointer-events:none}
.gy662-dialog .gy663-endpoint-left{left:38.5%}.gy662-dialog .gy663-endpoint-middle{left:66%}.gy662-dialog .gy663-endpoint-right{left:93%}
.gy662-dialog .gy663-hazard-endpoint:hover,.gy662-dialog .gy663-hazard-endpoint:focus-visible{background:#245844!important;outline:2px solid #fff;outline-offset:1px}
.gy662-dialog .gy663-hazard-endpoint[data-offscale]:not([data-offscale=no]){border-style:dashed}
.gy663-hazard-popover{position:fixed!important;inset:0!important;margin:auto!important;max-width:calc(100vw - 30px)!important;width:280px!important;height:fit-content!important;max-height:80dvh!important;background:#14382d!important;color:#f4f7ef!important;border:1px solid #afc6b8!important;border-radius:16px!important;padding:15px!important;box-shadow:0 12px 40px #0008;font-family:system-ui,sans-serif;overflow:auto!important}
.gy663-hazard-popover::backdrop{background:#001b1f90}
.gy663-popover-heading{display:flex;gap:7px;align-items:center;text-align:left}.gy663-popover-heading>strong{flex:1;font-size:14px;line-height:1.3}.gy663-popover-heading>button{min-width:40px;min-height:40px;height:40px;padding:0;border:1px solid #83a391;border-radius:8px;background:transparent;color:#fff;font-size:25px}
.gy663-hazard-popover p{margin:10px 0;font-size:12px}.gy663-popover-number{display:grid;justify-items:center;gap:2px;padding:9px 0}.gy663-popover-number strong{font-size:40px;line-height:1.1;font-variant-numeric:tabular-nums}.gy663-popover-number small{font-size:12px;color:#e7c880}.gy663-popover-number span,.gy663-popover-note{font-size:11px;line-height:1.4;color:#d4e0d8}.gy663-popover-note{display:block;text-align:center;margin-top:7px}
.gy597-sheet header.gy663-green-summary{padding-top:12.5px;padding-bottom:8px;min-height:190px}
.gy597-sheet .gy663-green-summary .gy526-yardage-grid{min-height:78.25px;align-items:center}
.gy663-green-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:7px;border-top:1px solid #adc5b53b;margin-top:4px;padding-top:9px;text-align:left;color:#eef4ed}
.gy663-tier-box,.gy663-green-hazards{min-width:0;padding:8px;border:1px solid #aecab333;border-radius:9px;background:#ffffff05}
.gy663-tier-title{display:flex;flex-direction:column;gap:2px;align-items:flex-start;min-height:34px}.gy663-tier-title>strong,.gy663-hazards-title{font-size:11px;line-height:1.25;letter-spacing:0;font-weight:650}
.gy663-tier-switch{position:relative;display:flex;align-items:center;font:400 8.5px/1.2 system-ui;color:#dfc68e;min-height:25px;padding:2px 0;text-decoration:underline;text-underline-offset:2px}.gy663-tier-switch select{position:absolute;inset:0;opacity:0;min-height:25px!important;width:100%;max-width:100%;cursor:pointer}.gy663-tier-switch option{color:#16392e;background:#fff}
.gy663-tier-numbers{display:flex;gap:7px;align-items:flex-start;justify-content:space-evenly;padding-top:5px}.gy663-tier-distance{display:flex;flex-direction:column;align-items:center;gap:0}.gy663-tier-distance>span{font-size:9px;white-space:normal;line-height:1.3}.gy663-tier-distance strong{font-size:25px;line-height:1.2;font-weight:550;font-variant-numeric:tabular-nums;color:#fff}.gy663-tier-distance small{font-size:8px;color:#dfc68e}
.gy663-quiet{display:block;font-size:9px;line-height:1.4;color:#bdcfc3;margin:7px 0 0!important}.gy663-hazard-list{display:grid;gap:6px;margin-top:7px;max-height:145px;overflow-y:auto}.gy663-green-hazard{display:flex;align-items:center;gap:5px;line-height:1.2;min-height:18px;flex-wrap:wrap}.gy663-severity{display:inline-block;flex:0 0 8px;width:8px;height:18px;border-radius:3px;border:1px solid #ffffff60}.gy663-side{font-size:10px;font-weight:550}.gy663-hazard-distance{margin-left:auto;display:inline-flex;align-items:baseline;gap:3px;flex-wrap:wrap}.gy663-hazard-distance>b{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.gy663-hazard-distance>small,.gy663-green-hazard>small{font-size:8px;color:#e6d29e}
.gy663-slope-basis{grid-column:1/-1;font-size:8px;line-height:1.2;color:#c4d6c8;margin-top:0}.gy663-slope-basis span{cursor:help}
@media(max-width:350px){.gy663-green-details{gap:5px}.gy663-tier-box,.gy663-green-hazards{padding:6px}.gy663-hazard-distance{gap:2px}.gy663-side{font-size:9px}.gy663-tier-distance strong{font-size:23px}.gy663-green-hazard{gap:4px}}
/* Explicit chooser: no native select is focused/opened when the dialog appears. */
.gy662-dialog .gy663-location-wrap{position:relative;min-width:0;flex:0 1 auto}
.gy662-dialog .gy663-location-wrap .gy658-tee{white-space:normal;line-height:1.15;max-width:114px;min-height:40px;font-size:10px;text-align:left;color:#fff}
.gy662-dialog .gy663-location-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:35;min-width:180px;padding:6px;border:1px solid #92b29d;border-radius:10px;background:#123b2e;box-shadow:0 6px 30px #0007;display:grid;gap:3px}
.gy662-dialog .gy663-location-menu button{color:#fff;text-align:left;font:500 13px/1.2 system-ui;min-height:40px;border:0;border-radius:6px;padding:8px;background:transparent}
.gy662-dialog .gy663-location-menu button[aria-selected=true]{background:#e5c57b30;color:#ffe6a8}.gy662-dialog .gy663-location-menu .gy663-menu-close{font-size:11px;min-height:32px;border-top:1px solid #ffffff25;color:#cbd9d0}
.gy662-dialog .gy662-header{z-index:25}.gy662-dialog .gy662-flag-bar{grid-template-columns:minmax(75px,.5fr) minmax(0,1fr)}
.gy662-dialog .gy662-current-tee{max-width:150px;font-size:10px}
@media(max-width:350px){.gy662-dialog .gy663-location-wrap .gy658-tee{max-width:86px;font-size:9px;padding:3px}.gy662-dialog .gy663-location-menu{left:-45px}}

.gy662-dialog .gy663-endpoint-right{left:calc(100% - 16px)}

.gy662-dialog .gy663-endpoint-leader{position:absolute;width:2px;transform:translateX(-50%);z-index:7;pointer-events:none;opacity:.85}
/* v664: fixed F/M/B row above the two detail cells, including tee preview. */
.gy597-sheet header.gy663-green-summary{flex:none;display:block}
.gy597-sheet .gy663-green-summary .gy526-yardage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:78.25px}
.gy597-sheet .gy663-green-summary .gy526-yardage-grid.gy598-target-only{grid-template-columns:1fr}
.gy663-tier-box,.gy663-green-hazards{align-self:start}
.gy663-tier-title>strong,.gy663-hazards-title{display:block;margin:0;padding:0;font-size:11px;line-height:14px}
.gy663-green-hazards{display:block;text-align:left}
.gy664-tier-name{font-size:10px;line-height:1.25;color:#d5e1d8}
.gy663-tier-box.gy664-tier-blank{border:0;background:none;padding:0;min-height:1px}
.gy664-origin-note{font-size:10px;line-height:1.4;color:#e6d29e;text-align:center;margin:3px 0 5px}
.gy664-unrated{flex-basis:100%;font-size:8px;color:#b7c5bf}

/* v665: compact manual approach cards and a single flag-relative wind readout. */
.gy561-outcome[data-compact-approach=true]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:10px 12px!important}
.gy561-outcome[data-compact-approach=true] .gy561-outcome-head{display:contents!important}
.gy561-outcome[data-compact-approach=true] .gy563-outcome-left{grid-column:1;grid-row:1;align-self:center}
.gy561-outcome[data-compact-approach=true] .gy595-shot-tools{grid-column:2;grid-row:1 / span 2;align-self:start}
.gy561-outcome[data-compact-approach=true] .gy645-layup-choice{grid-column:1;grid-row:2;margin:0;width:84px;min-height:32px}
.gy561-outcome[data-compact-approach=true] .gy645-layup-check{min-height:32px;padding:3px 22px 3px 4px}
.gy561-outcome[data-compact-approach=true] .gy645-layup-choice>.gy597-info{height:32px;min-height:32px}
.gy561-outcome[data-compact-approach=true] .gy561-outcome-options,.gy561-outcome[data-compact-approach=true] .gy621-miss-actions,.gy561-outcome[data-compact-approach=true] .gy561-detail-options{grid-column:1/-1;margin-top:0!important}
.gy561-outcome[data-compact-approach=true] .gy561-result-chip{grid-column:2;grid-row:1;justify-self:end}
.gy595-approach-measurements{padding-top:8px!important;padding-bottom:9px!important}
.gy590-proximity[data-gy=round-proximity-questions]{margin:0!important}
.gy590-proximity[data-gy=round-proximity-questions] .gy629-proximity-head{min-height:16px;margin:0 0 3px}
.gy590-proximity[data-gy=round-proximity-questions] .gy629-proximity-field>.gy529-inline-measurement{min-height:60px;padding:0 3px}
.gy590-proximity[data-gy=round-proximity-questions] .gy629-proximity-field .gy526-label-row{min-height:20px;margin-bottom:4px}
.gy590-proximity[data-gy=round-proximity-questions] .gy629-proximity-field .gy526-input-row{margin:0 auto;min-height:36px}
.gy590-proximity[data-gy=round-proximity-questions] .gy629-proximity-field input{min-height:36px}
.gy665-wind-line{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:44px}
.gy665-wind-line>strong{flex:1;min-width:0;font:650 15px/1.35 system-ui;color:#173d30}
.gy665-wind-line>.gy605-point-wind{flex:0 0 auto;min-height:38px;padding:6px 10px!important;font:600 11px/1.25 system-ui;max-width:108px}
.gy665-wind-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:3px!important}
.gy665-wind-actions>button{flex:none!important;width:auto!important;padding:4px 2px!important;min-height:28px!important;font:500 11px/1.2 system-ui!important;background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:3px}
.gy665-fairway-carries{position:relative;flex:none;margin:4px 7px 6px;z-index:5;border:1px solid #d7c07f66;background:#102e25cc;border-radius:9px;padding:7px 9px;color:#f3f4e9;font:11px/1.3 system-ui}
.gy665-fairway-carries>strong{font-size:10px;color:#e2c477}.gy665-fairway-carries>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 5px;margin-top:3px}.gy665-fairway-carries b{font-size:12px}.gy665-fairway-carries small{flex-basis:100%;font-size:8px;color:#d7dfd4}

@media(max-width:350px){.gy561-outcome[data-compact-approach=true]{padding:9px 9px!important;gap:5px}.gy665-wind-line>strong{font-size:13px}.gy665-fairway-carries{padding:5px 7px}.gy665-fairway-carries b{font-size:11px}}

@media(orientation:landscape) and (max-height:500px){.gy662-dialog:has(.gy665-fairway-carries) .gy662-overview{min-height:0}.gy662-dialog:has(.gy665-fairway-carries) .gy662-visual{display:block}.gy662-dialog:has(.gy665-fairway-carries) .gy658-scene{height:100%}.gy662-dialog:has(.gy665-fairway-carries) .gy665-fairway-carries{position:absolute;left:0;right:52%;bottom:105px;margin:4px 7px}.gy662-dialog:has(.gy665-fairway-carries) .gy658-selector{position:absolute;left:0;right:52%;bottom:0}.gy662-dialog:has(.gy665-fairway-carries) .gy658-selector>span{font-size:11px}.gy662-dialog:has(.gy665-fairway-carries) .gy658-selector button{min-height:34px;padding:4px}.gy662-dialog:has(.gy665-fairway-carries) .gy658-selector button b{font-size:18px}}
