/* Android Chrome and iPhone Safari: responsive sizing and touch behaviour. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,svg,canvas,iframe{max-width:100%}
button,input,textarea,select{color:inherit}
button,input,textarea{-webkit-appearance:none;appearance:none}
textarea{resize:vertical}
.actions{flex-wrap:wrap}
/* Eight navigation links need a full desktop width. */
@media(min-width:1051px) and (max-width:1200px){
 header{position:sticky;top:0;height:88px;z-index:30;padding-left:5%;padding-right:5%}
 header>.button.small{display:none}
 .menu{display:block;min-width:64px;min-height:44px;padding:10px 15px;background:#fff;border:1px solid #ddd;color:#444;font-size:13px}
 #nav{display:none;position:absolute;top:88px;left:0;right:0;background:#fff;padding:16px 6%;box-shadow:0 12px 24px #0001;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow:auto}
 #nav.open{display:flex;flex-direction:column;gap:0}
 #nav a{display:flex;align-items:center;min-height:48px;padding:12px 4px;font-size:15px;border-bottom:1px solid #eee}
}
@media(min-width:701px) and (max-width:900px){
 .contact,.catalogue{grid-template-columns:minmax(0,1fr);gap:42px}
 .contact form{width:100%;max-width:620px;justify-self:center}
 .catalog-cover{justify-self:center}
}
/* Viewport units fall back cleanly on browsers without dynamic viewport support. */
dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
#modal img{object-fit:contain;max-height:60vh;max-height:60dvh}
#brand-intro.intro-active{height:100vh;height:100dvh}
#brand-intro img{max-height:65vh;max-height:65dvh}
.language-widget #language-panel{max-height:70vh;max-height:70dvh}
@media(max-width:700px){
 #modal img{max-height:48vh;max-height:48dvh}
 .contact form .button{width:100%;white-space:normal}
 .language-widget #language-list{max-height:36vh;max-height:36dvh}
}
@supports not (aspect-ratio:16/9){.mining-player{height:0;padding-top:56.25%}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .button,.tilt{transition:none}
}
@media(max-width:1050px){
 header{padding-left:max(5%,env(safe-area-inset-left));padding-right:max(5%,env(safe-area-inset-right))}
 #nav{max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .brand-center>*,.mining-story>*,.mining-video-layout>*,.contact>*,.footer-orange>*{min-width:0}
}
@media(max-width:700px){
 .contact input,.contact select,.contact textarea{font-size:16px;scroll-margin-top:110px}
 .contact-email,.address,.company-details,.mine-story-copy,.mining-video-copy{overflow-wrap:anywhere}
 .contact-map,.mining-player{max-width:100%;min-width:0}
 .mining-player{height:auto}
 .mining-photo-frame>img,.mining-reference-collage>img{max-width:100%;height:auto}
 .why-skyrock li{min-width:0}
 .why-skyrock li>span:last-child{max-width:100%;overflow-wrap:anywhere}
 .showcase-footer .footer-legal p{white-space:normal;overflow-wrap:anywhere;max-width:100%}
 .showcase-footer .footer-touch p br{display:none}
 .whatsapp{right:max(14px,env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));min-height:44px}
 .language-widget{right:max(14px,env(safe-area-inset-right));bottom:calc(74px + env(safe-area-inset-bottom))}
 .language-widget>button{min-height:44px}
 .language-widget #language-panel{max-width:calc(100vw - 24px);max-height:calc(100vh - 155px);max-height:calc(100dvh - 155px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .model-caption{flex-wrap:wrap}
}
@media(max-width:359px){
 .hero-side .button{padding-left:10px;padding-right:10px}
 #selected-product-specs strong{font-size:20px}
 .mine-features{grid-template-columns:minmax(0,1fr);gap:16px}
 .mine-features>div{display:flex;align-items:center;text-align:left;gap:13px}
 .mine-feature-icon{margin:0;flex:0 0 48px;width:48px;height:48px}
 .mine-features p{font-size:12px}
 .why-skyrock ul{gap:9px}
 .why-skyrock li{font-size:11px;padding-left:4px;padding-right:4px}
 .why-icon{width:54px;height:54px}
}
@media(pointer:coarse){
 button,a,input,select,textarea{-webkit-tap-highlight-color:rgba(250,84,36,.15)}
 .model-types button,.filters button,.menu{min-height:44px}
 .mineral-stage canvas,.mineral-stage canvas.dragging{touch-action:pan-y}
}
