/* One working area on compact screens: the actual chart and its live control. */
@media (max-width:1400px) {
 body:has(.m499-session),body:has(.m499-putter-choose){overflow-anchor:none}
 .m499-session{--m499-preview:clamp(160px,26svh,240px);min-width:0;scroll-margin-top:calc(68px + env(safe-area-inset-top));overflow:clip;border:1px solid #d5dece;border-radius:15px;background:#fffef8}
 .content :is(.m499-session,#putter-workspace){scroll-margin-top:4px}
 .m499-shortcut{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0 0 8px;padding:9px 12px;border:0;border-bottom:1px solid #d5dece;background:#e9eee2;color:#264b3c;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
 .m499-controls{min-width:0;background:#fffef8;color:#25483b}
 .m499-picker{display:flex;gap:5px;padding:9px 10px;margin:0;border-bottom:1px solid #dce2d3;background:#eef2e7;overflow-x:auto;scrollbar-width:thin}
 .m499-picker button{flex:1 0 55px;min-width:0;min-height:44px;padding:7px 8px;border:1px solid #d4ddcc;border-radius:9px;background:#fffef8;color:#45614f;font:inherit;font-size:11px;line-height:1.3;font-weight:700;cursor:pointer;white-space:normal}
 .m499-picker button[aria-pressed=true]{background:#224c3b;border-color:#224c3b;color:#fff6df;box-shadow:0 2px 5px #203f341a}
 .m499-picker button:focus-visible{outline:3px solid #b78c49;outline-offset:-3px}
 .m499-control-panel{padding:12px 14px;max-height:230px;max-height:clamp(170px,28svh,250px);overflow:auto;scrollbar-width:thin;scroll-padding:12px}
 .m499-control-panel[hidden]{display:none!important}
 .content .m499-more{margin:10px 0;padding:0;border:1px solid #d7dfcf;border-radius:12px;background:#fffef8}
 .content .m499-more>summary{min-height:44px;padding:12px 14px;font-size:12px;line-height:1.4;color:#4f6553;cursor:pointer}
 .content .m499-more>*:not(summary){margin:12px;padding:8px}
 .m499-more .lab-view-menu-body{position:static;width:100%;box-shadow:none}
 .m499-more .lab-view-menu{width:auto}
 .lab-premium .m499-pose{border:0;border-radius:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(140px,1fr) auto auto;height:clamp(560px,calc(100svh - 154px),700px)}
 .lab-premium .m499-pose>*{min-width:0}
 .lab-premium .m499-pose .club-3d-viewport{display:block;min-height:0;height:100%}
 .lab-premium .m499-pose .club-3d-scene{display:block;position:relative;height:100%;min-height:0;max-height:none;width:100%}
 .lab-premium .m499-pose .club-3d-canvas{height:100%;min-height:0;max-height:none;width:100%}
 .lab-premium .m499-pose .mobile-scene-heading{min-height:44px;display:flex;padding:5px 8px;gap:4px}
 .lab-premium .m499-pose .mobile-scene-heading>strong{flex:1;min-width:0;font-size:8px}
 .lab-premium .m499-pose .mobile-scene-heading button{min-width:36px;min-height:40px}
 .lab-premium .m499-pose .lab-view-toolbar{padding:5px 8px}
 .lab-premium .m499-pose .lab-view-toolbar .lie-hand-toggle{margin:0;padding:2px;border:0}
 .lab-premium .m499-pose .lab-view-toolbar .lie-hand-toggle button{font-size:11px;min-height:40px}
 .lab-premium .m499-pose .mobile-scene-controls{padding:0;border:0}
 .lab-premium .m519-playback{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:8px 10px;border-block:1px solid var(--scene-border,#d5dece);background:var(--scene-label,#fffef8);color:var(--scene-text,#25483b)}
 .lab-premium .m519-play-slot .pose-transport-play{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:118px;min-height:48px;height:auto;padding:10px 12px;font:inherit;font-size:12px;font-weight:750;line-height:1.2}
 .lab-premium .m519-play-slot .pose-transport-play::after{content:attr(aria-label)}
 .lab-premium .m519-timeline{min-width:0}
 .lab-premium .m519-timeline label{display:block;margin:0;font-size:10px;line-height:1.4;text-align:center;font-weight:500}
 .lab-premium .m519-timeline output{display:block;margin:0;color:var(--scene-muted,#66786e);font-size:inherit;font-weight:inherit;font-variant-numeric:tabular-nums}
 .lab-premium .m519-timeline input[type=range]{display:block;width:100%;height:32px;min-height:32px;margin:0;padding:0;accent-color:var(--scene-target,#284c3d);cursor:ew-resize}
 .lab-premium .m519-timeline input:focus-visible{outline:3px solid var(--scene-curve,#b78c49);outline-offset:2px}
 .lab-premium .m499-pose .pose-controls.lab-control-dock{padding:0;border:0;display:block}
 .lab-premium .m499-pose .lab-group-body{padding:0}
 .lab-premium .m499-pose .lab-field-picker{gap:5px;margin-bottom:9px}
 .lab-premium .m499-pose .lab-field-picker button{flex-basis:70px;font-size:11px;padding:7px 6px}
 .lab-premium .m499-pose .lab-group-dial{padding:10px 12px}
 .lab-premium .m499-pose .lab-group-dial>label{margin-bottom:2px;gap:8px;font-size:12px}
 .lab-premium .m499-pose .lab-group-dial output{font-size:24px}
 .lab-premium .m499-pose .lab-group-dial input{min-height:40px;margin:0}
 .lab-premium .m499-pose .pose-dial-limits{margin:0 0 4px}
 .lab-premium .m499-pose .lab-dial-caption{display:block;font-size:10px}
 .lab-premium .m499-pose .lab-contact-regions{padding-bottom:7px;margin-bottom:9px}
 .lab-premium .m499-pose .pose-stage-flight{position:absolute;bottom:6px;left:6px;font-size:10px;min-height:40px;padding:8px;max-width:calc(100% - 112px);margin:0}
 .lab-premium .m499-pose .pose-stage-zoom{position:absolute;bottom:6px;right:6px;margin:0}
 .lab-premium .m499-more .pose-scene-toolbar{padding:8px;display:block}
 .lab-premium .m499-more .lab-reset{width:calc(100% - 24px);margin:12px}
 .lab-premium .mobile-scene-expanded .m499-session{--m499-preview:clamp(190px,35svh,350px)}
 .m499-wedge.sg433-workspace,.m499-bounce.bc458-workbench{display:block}
 .m499-wedge .sg433-stage{padding:8px 12px}
 .m499-wedge .sg433-view{margin:0 auto 5px;padding:2px;width:100%}
 .m499-wedge .sg433-view button{flex:1;min-width:0;min-height:44px;font-size:12px;padding:4px}
 .m499-wedge .sg433-view button small{font-size:9px}
 .m499-wedge .chart-heading,.m499-wedge .angle-orientation,.m499-wedge .chart-view{display:none}
 .m499-wedge .chart-meta{display:flex;justify-content:flex-end;height:34px;margin:0}
 .m499-wedge .precision-chart{position:relative}
 .m499-wedge .chart-canvas{height:var(--m499-preview);aspect-ratio:auto}
 .m499-wedge .precision-svg{width:100%;height:100%;object-fit:contain}
 .m499-wedge .sg433-adjust{padding:0;border:0}
 .m499-wedge .sg433-adjust>.sg427-kicker,.m499-wedge .sg433-adjust>h4{display:none}
 .m499-wedge .sg433-slider{margin:0}
 .m499-wedge .sg433-slider>span{font-size:13px}
 .m499-wedge .sg433-slider output{font-size:24px}
 .m499-wedge .sg433-slider input{height:44px;margin:3px 0}
 .m499-wedge .sg433-slider small{font-size:11px;line-height:1.5}
 .m499-wedge .sg433-numbers{margin:0;padding:8px 14px;display:flex;gap:20px;border-block:1px solid #dce2d3;background:#f4f5eb}
 .m499-wedge .sg433-numbers>div{padding:0;border:0;background:none;display:flex;align-items:baseline;gap:9px}
 .m499-wedge .sg433-numbers small{font-size:10px}.m499-wedge .sg433-numbers strong{font-size:19px}
 .m499-wedge .sg433-live{margin:0;padding:8px 14px;font-size:11px;line-height:1.5}
 .sg427-fold-body:has(> .sg433-workbench){padding-inline:6px!important}
 .m499-bounce .bc481-product{min-height:155px;height:155px}
 .m499-bounce .bc481-wedge{height:158px!important;width:138px!important;top:0;margin-left:-74px}
 .m499-bounce .bc481-photo-label{top:12px;left:12px;font-size:7px;max-width:70px;line-height:1.5}
 .m499-bounce .bc481-model{left:12px;bottom:14px;gap:5px}
 .m499-bounce .bc481-model strong{font-size:22px}.m499-bounce .bc481-model small{font-size:8px}
 .m499-bounce .bc481-lean{top:60px;right:12px;gap:5px}.m499-bounce .bc481-lean strong{font-size:21px}.m499-bounce .bc481-lean span{font-size:8px}
 .m499-bounce .bc458-readings{padding:8px 12px;gap:8px}
 .m499-bounce .bc458-readings strong{font-size:21px}.m499-bounce .bc458-readings small{font-size:9px}
 .m499-bounce .bc458-controls{display:block;padding:0}
 .m499-bounce .bc458-controls>.bc458-eyebrow{display:none}
 .m499-bounce .bc458-slider input{height:44px;margin:3px 0}
 .m499-club .club-orientation-panel{padding:8px 12px!important;border:0;border-radius:0!important}
 .m499-club .club-panel-head,.m499-club .club-contact-status{display:none}
 .m499-club .club-vector-readings{padding:5px 0;margin:0}
 .m499-club .club-visual-caption{font-size:10px;line-height:1.5;margin:5px 0}
 .m499-club .precision-chart{padding:0;margin:0;border:0;background:none}
 .m499-club .chart-heading,.m499-club .angle-orientation,.m499-club .chart-meta,.m499-club .chart-reading-help,.m499-club .chart-legend{display:none}
 .m499-club .chart-canvas{height:var(--m499-preview);min-height:0;aspect-ratio:auto}
 .m499-club .precision-svg{height:100%;width:100%}
 .m499-club .m499-picker{flex-wrap:wrap}
 .m499-club .m499-picker button{flex:1 0 28%;font-size:11px}
 .m499-club .m499-control-panel{min-height:135px}
 .m499-club .simulator-control{margin:0;padding:0}
 .m499-club .metric-slider-wrap{margin:0}
 .club-visual-workspace:has(.m499-club){display:flex;flex-direction:column;gap:12px}
 .club-visual-workspace:has(.m499-club)>.club-adjustments{order:2}
 .club-visual-workspace:has(.m499-club)>.club-flight-panel{order:1}
 /* Named putter controls sit in a horizontal rail. One panel opens immediately
    above it, leaving a dedicated, unobscured area for the 3D scene. */
 .pt452-workspace .pt452-tools{display:none}
 .m499-putter-choose{position:absolute;z-index:6;bottom:82px;left:10px;right:10px;display:flex;align-items:center;gap:9px;padding:6px 10px;background:#fffdf2;border:1px solid #d4dece;border-radius:12px;color:#254b3b;box-shadow:0 3px 12px #183c2920}
 .m499-putter-choose>span{font-size:11px;font-weight:750}
 .m499-putter-choose select{flex:1;min-width:0;width:0;min-height:44px;font-size:12px!important;padding:8px 25px 8px 8px;color:#254b3b;border:1px solid #c8d3be;border-radius:8px;background:#f5f7ee}
 .pt452-workspace .pt497-focus-bar{padding:4px 10px;min-height:48px}
 .pt452-workspace .pt494-outcome{min-height:64px;padding:7px 12px 20px;gap:10px}
 .pt452-workspace .pt494-outcome-copy strong{font-size:14px}.pt452-workspace .pt494-outcome-copy>span{font-size:10px}
 .pt452-workspace .pt494-outcome>small{bottom:6px;left:31px;font-size:8px}
 .pt420-page .pt452-workspace .pt420-stage,.pt420-page .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])){height:clamp(400px,calc(100svh - 272px),600px);--m499-panel:clamp(150px,24svh,204px);--pt497-panel-height:var(--m499-panel)}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) #putter-3d-canvas{height:calc(100% - var(--m499-panel) - 145px)}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) .pt452-popovers{bottom:145px;max-height:var(--m499-panel);height:var(--m499-panel);top:auto}
 .pt452-workspace .pt452-popovers .pt452-panel{max-height:100%;height:100%}
 .pt452-workspace .pt452-panel-body{max-height:none;min-height:0;flex:1}
 .pt452-workspace .pt452-panel>header{padding:3px 8px 3px 12px}
 .pt452-workspace .pt452-panel>header>span{font-size:11px}
 .pt452-workspace #putter-panel-face .pt420-control{padding-block:3px}
 .pt452-workspace #putter-panel-face .pt420-control>span{font-size:12px}
 .pt452-workspace #putter-panel-face .pt420-control small{display:none}
 .pt452-workspace .pt429-distance-badge,.pt452-workspace .pt434-face-badge{bottom:154px}
 html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage,html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])){height:calc(100dvh - 125px);min-height:400px}
}
@media (max-height:500px) and (min-width:540px) and (max-width:1400px) {
 .m499-session.m499-pose,.m499-session.m499-wedge,.m499-session.m499-bounce,.m499-session.m499-club{display:grid;grid-template-columns:1fr 1fr;--m499-preview:230px;align-items:start}
 .m499-pose .mobile-scene-heading,.m499-pose .lab-view-toolbar{grid-column:1}
 .m499-pose .club-3d-viewport{grid-column:1}
 .m499-pose .m519-playback{grid-column:1;grid-row:4}
 .m499-pose .mobile-scene-controls{grid-column:2;grid-row:1/5}
 .m499-control-panel{max-height:190px}
 .m499-wedge .sg433-adjust,.m499-bounce .bc458-controls,.m499-club .m499-club-controls{grid-column:2;grid-row:1}
 .lab-premium .m499-session.m499-pose{height:calc(100svh - 150px);min-height:306px;grid-template-rows:54px 52px minmax(130px,1fr) auto}
 .lab-premium .m499-pose .club-3d-viewport{height:100%}
 .lab-premium .m499-pose .m499-control-panel{max-height:clamp(140px,calc(100svh - 210px),235px)}
 .pt420-page .pt452-workspace .pt420-stage,.pt420-page .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])){height:330px}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) #putter-3d-canvas{width:50%;height:255px}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) .pt452-popovers{left:auto;right:10px;top:62px;bottom:auto;width:46%;height:150px;max-height:150px}
 .m499-putter-choose{left:52%;right:10px;bottom:77px}
 html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage,html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])){height:calc(100dvh - 96px);min-height:280px}
}
