/* SinkAlert mobile — shared sheet for sub-pages. Desktop (>=761px) untouched, except the notice hide. */
#sa-mobile-warning{display:none!important}
html{-webkit-text-size-adjust:100%}
:lang(th){font-family:'Prompt','Noto Sans Thai',inherit}
body :lang(th),body[lang=th]{overflow-wrap:break-word;line-break:auto}
@media(max-width:760px){
 body{overflow-x:hidden;overflow-wrap:break-word}
 img,video,svg:not(.leaflet-zoom-animated),canvas,iframe{max-width:100%}
 img,video{height:auto}
 .tier,.stats,.lines,.cols,.grid,.cards,.cards-3,.kpis,.stat-grid{grid-template-columns:minmax(0,1fr)!important}
 .pill{min-width:0!important;flex-basis:100%}
 .card.full,.card{min-width:0}
 table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:linear-gradient(90deg,#fff 30%,rgba(255,255,255,0)) left/36px 100% no-repeat local,linear-gradient(270deg,#fff 30%,rgba(255,255,255,0)) right/36px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,rgba(16,24,40,.2),transparent) left/10px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,rgba(16,24,40,.2),transparent) right/10px 100% no-repeat scroll}
 th,td{font-size:14px;vertical-align:top}
 th,td,code{overflow-wrap:anywhere}
 pre{overflow-x:auto;max-width:100%}
 p,li,td,th,label,.kicker,.tagline,.badge,.tag,.status,.img-caption,.sub,.l,.k,.v,.label,.eyebrow,.endpoint,.u,code,em,footer,small{font-size:max(13px,1em)}
 p,li{font-size:max(14px,1em)}
 h2,h3,.kicker,span.tag,span.badge,.badge,.tag,.status,.stat .lbl,.leaflet-control-attribution,.leaflet-control-attribution *{font-size:13px}
 h2{font-size:max(13px,1.2em)}
 a,button{min-height:0}
 .leaflet-control-attribution,.leaflet-control-attribution a,.leaflet-control-attribution span{font-size:13px!important}
 .leaflet-container{max-height:60vh}
 .stat .num{font-size:clamp(28px,9vw,44px)}
 .wrap,.container,main{max-width:100%}
}

@media(max-width:760px){
 #topbar .brand .dots{position:static;margin-left:6px;order:2}
 #topbar .ov-link,#topbar .icon-btn{min-width:44px}
 #alertBadge,.badge#alertBadge{font-size:13px!important;min-width:20px}
 .avatar{font-size:13px}
 .legend .lt,.legend .li,.kpi .kl,.timebar .tlabel,.timebar .live,.legend .kl{font-size:13px!important}
 .kpi-strip{padding:2px}
 .legend{max-height:30vh;overflow-y:auto}
}
@media(max-width:760px){
 p,li{font-size:14px!important}
 h2,.kicker,.tagline,.status,.u,.l,.k,.label,.img-caption,.badge,.tag,span.tag,span.status,.eyebrow,.sub,.leaflet-control-attribution,.leaflet-control-attribution *{font-size:13px!important}
 .gl a,.refs a,footer a{font-size:13px}
}
@media(max-width:760px){
 html body div.leaflet-container div.leaflet-control-attribution,html body div.leaflet-container div.leaflet-control-attribution *{font-size:13px!important}
 [style*="font-size:12"],[style*="font-size: 12"],[style*="font-size:11"],[style*="font-size:10"]{font-size:13px!important}
}
@media(max-width:760px){
 body a,body span{min-height:0}
 .links a,.nav a,nav a,.foot a,.card>span,.card span,a>span{font-size:max(13px,1em)}
 body>div a:not([class]),body>main a:not([class]),body a:not([class]){font-size:max(13px,1em)}
}
