/* Registered photographic light plates: compositor opacity only, no animated
   filters or frame-by-frame image swaps. Preserve the approved hero composition. */
.scene.lights-ready .hero-light-plate {will-change:opacity}
.scene:not(.lights-visible) .hero-light-plate {will-change:auto}
@media (max-width:900px) {
  /* Extend the background beyond the image; both light plates and the base use
     exactly the same geometry and fade. No clipping at the floor boundary. */
  .landing {--hero-floor-tail:clamp(22px,6vw,42px);--hero-height:calc(max(100svh,calc(min(100vw,660px)*1.776833 + 125px)) + var(--hero-floor-tail))}
  .scene .scene-source,.scene .hero-light-plate {bottom:var(--hero-floor-tail);mask-image:linear-gradient(to bottom,transparent,#000 12% 93%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12% 93%,transparent 100%)}
  .scene .garage-fixture,.hero-lights-mobile.car-hit-frame {bottom:var(--hero-floor-tail)}
  .scene .scene-shade {background:linear-gradient(180deg,#0b0f13 0%,#0b0f1326 40%,transparent 53% 91%,#0b0f13 100%)}
}
/* Inner-page controls remain fully readable and tappable in all four languages. */
.page-back {margin:0 0 18px 6px}
.page-back .action {white-space:normal;max-width:100%;text-align:left}
.page-back .action {transform:none;min-height:44px;border-radius:3px;padding:.65em 1em;text-transform:none;font-size:14px;background:#0b1115;border-color:#63717b}
.page-back .action>span {transform:none;gap:.65em}
.page-back .action b {line-height:1;font-size:1.15em}
.page-back .action:hover b {transform:translateX(-3px)}
.plan-shortcuts .action,.package-return .action,.package-grid .action {white-space:normal;min-width:0;max-width:100%;text-align:center}
.package-grid {align-items:stretch}
.package-grid .package {display:flex;flex-direction:column;gap:14px;min-width:0;overflow:hidden}
.package-grid .package .panel-art {aspect-ratio:16/10;flex:none}
.package-grid .package .panel-art img {width:100%;height:100%;object-fit:cover;margin:0}
.package-grid .package h2 {margin:0;font-size:clamp(23px,2.1vw,36px);line-height:1.08;overflow-wrap:anywhere}
.package-grid .package ul {padding-inline-start:1.15em;margin:0;line-height:1.45;overflow-wrap:anywhere}
.package-grid .package>p {margin:auto 0 0;padding-top:8px;font-weight:650;font-variant-numeric:tabular-nums}
.package-grid .package .strap {margin:0}
.package-grid .package .action {width:100%;min-height:44px;transform:none;border-radius:4px;padding:.65em .8em}
.package-grid .package .action>span {transform:none;min-width:0;max-width:100%;gap:.55em}
.package-grid .package .action-label {min-width:0;overflow-wrap:anywhere}
.package-grid .package .action b {flex:none}
.package-grid .package .action[aria-pressed=true] {background:#182c22;border-color:#759a83;color:#dcf4e3}
.package-grid .package .action[aria-pressed=true]::after {display:none}
@media (max-width:900px) {
  .page-back {margin:0 0 16px}
  .page-back .action,.plan-shortcuts .action,.package-return .action {transform:none;border-radius:3px;padding:.8em 1em;min-height:46px}
  .page-back .action>span,.plan-shortcuts .action>span,.package-return .action>span {transform:none;min-width:0;max-width:100%}
  .plan-shortcuts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:0;gap:10px}
  .plan-shortcuts .action {width:100%}
  .plan-totals {position:static}
  .plan-row {grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .plan-row .text-button {grid-column:1/-1;width:fit-content;max-width:100%;text-align:left}
  .plan-row span {overflow-wrap:anywhere}
  .package-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .package-grid .package {padding:16px;gap:14px}
  .package-grid .package h2 {font-size:clamp(24px,5.8vw,32px)}
  .package-grid .package .action {font-size:14px}
}
@media (max-width:600px) {
  .package-grid {grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce) {
  .scene.lights-ready.hazards-on.lights-visible .car-amber {animation:none;opacity:1}
}
