/* V49: safe caption zone across every scene, including mobile browser chrome. */
#lower{bottom:max(13vh,calc(env(safe-area-inset-bottom) + 64px));background:rgba(2,3,6,.78);opacity:1}
#desc{color:rgba(255,255,255,.84)}
#sportsLegacyCaption,.awardHeroLabel{bottom:23%}
#finalTextWrap{bottom:22%}
#mascotCopy{bottom:24%;left:5%;right:5%;z-index:6}
#mascotCopy .m1{font-size:clamp(25px,6vw,43px);letter-spacing:.025em}
#climbVideo{top:0;height:69%}
#credit{bottom:13%}
#replay{bottom:max(10vh,calc(env(safe-area-inset-bottom) + 40px))}
#openingText{top:62%}
.product-card{top:40%;height:63vh}
#legacyRow{bottom:30%}
#archivePicture{height:62vh;margin-top:-7vh}
#archivePicture svg[viewBox="31 386 547 386"]{max-width:547px;max-height:386px}
#sportSpatial{top:7%;height:69%}
#thaiMap{width:min(94vw,620px);height:88vh;max-height:850px;filter:drop-shadow(0 0 7px #e3b95b88) drop-shadow(0 0 25px #bd8b3744)}
#thaiShape{stroke:#f5cd76;stroke-width:3;fill:#1b1216;filter:url(#mapGlow)}
#mapScene{background:radial-gradient(ellipse at center,#33250e88,#070709 72%)}
#mapCopy{top:44%;left:50%;transform:translate(-50%,-50%);width:min(88%,640px);z-index:4;opacity:0;padding:20px 16px;background:linear-gradient(90deg,#08090bd9,#08090bf2,#08090bd9);border-color:#e5bd6477;box-shadow:0 10px 50px #0009;backdrop-filter:blur(5px)}
#mapCopy .map-kicker{color:#f5cd76}
#mapCopy .en{font-size:clamp(23px,6vw,38px);line-height:1.3}
#mapCopy .th{font-size:clamp(9px,2.5vw,12px);line-height:1.5}
.archive-echo{position:absolute;inset:12% 7% 26%;opacity:0;transform:scale(1.03) rotate(-2deg);pointer-events:none;filter:none!important;z-index:0}
.archive-echo img,.archive-echo svg{width:100%;height:100%;object-fit:contain}
#archivePicture{position:relative;z-index:1}
@media(max-aspect-ratio:3/4){#climbVideo{left:-31%;width:162%;top:0;height:67%}#mascotCopy{bottom:25%}#founderImage{top:41%!important}#awardHero1{top:42%;height:70vh}#finalProductsWrap{top:7%;height:51%}}
@media(max-height:500px){#lower{bottom:11%;padding:5px 10px}#desc{display:none}#mascotCopy{bottom:18%}#mapCopy{padding:10px}#mapCopy .en{font-size:22px}}

/* Restored photographs already have their final color grade. */
#sportSpatial{filter:none}
#founderImage.pair img{filter:none}
#archivePicture img[src*="/restored/"]{filter:drop-shadow(0 18px 40px #000a)}
