/* Only the motion settings control and decorative media offsets; no changes to page geometry. */
.gbr-motion-settings{display:none;list-style:none;padding:8px 12px 10px;border-top:1px solid #b7ecf02a;margin-top:3px;}
.gbr-motion-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.gbr-motion-buttons button{border:1px solid #b7ecf060;border-radius:24px;min-height:44px;padding:9px 13px;background:#040D1Abb;color:#effdff;font:600 12px/1.2 system-ui;cursor:pointer;}
.gbr-motion-buttons button[aria-pressed=true]{background:#22D3EE;color:#040D1A;}
.gbr-motion-buttons button:disabled{opacity:.65;cursor:default;}
.gbr-motion-status{display:block;font:11px/1.4 system-ui;color:#b7ecf0;margin-top:7px;}
@media(max-width:1240px){.gbr-motion-settings{display:block}.gbr-nav__toggle{min-width:44px;min-height:44px;}}
@media(min-width:1241px) and (pointer:coarse){.gbr-motion-settings{display:block;position:absolute;top:calc(100% + 12px);right:0;background:#040D1Ae8;border:1px solid #b7ecf04a;border-radius:15px;max-width:270px;}}
.gbr-motion-buttons button[hidden]{display:none;}
/* Independent CSS translate composes with existing image transform, curtain, and foil. */
.gbr-gallery .gbr-gallery__mask img{translate:var(--motion-photo-x,0px) var(--motion-photo-y,0px);}
@media(prefers-reduced-motion:reduce){.gbr-gallery .gbr-gallery__mask img{translate:none!important;}}
/* Short landscape screens: keep the tilt control visible without a long menu scroll. */
@media(max-height:550px) and (min-width:600px) and (max-width:1240px){
 .gbr-nav[data-open=true] .gbr-nav__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:4px 8px;}
 .gbr-nav__mobile-note,.gbr-motion-settings{grid-column:1/-1;}
 .gbr-nav__link{min-height:44px;padding:10px 12px;font-size:13px;white-space:normal;}
 .gbr-motion-settings{padding:6px 10px 8px;}
}
