/* English locked artwork stays unchanged. Other languages use the preserved live heading/title text. */
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-login-page,.sg-register-page,.sg-home,.sg-menu-page,.sg-select-main){font-family:Arial,"Nirmala UI","Noto Sans",sans-serif}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-login-card,.sg-register-card) h1{background:none;font-size:24px;line-height:1.35;min-height:34px;height:auto;overflow:visible;white-space:normal;letter-spacing:normal}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-login-gold,.sg-register-gold){font-size:20px;line-height:1.3;white-space:normal;height:auto;overflow-wrap:anywhere;letter-spacing:normal}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-locked-title>img{display:none}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-title-text{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;white-space:normal;border:0;display:block;font-size:15px;line-height:1.25;letter-spacing:normal}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-select-card-copy .sg-locked-title{height:auto;min-height:22px;line-height:1.25}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-select-card-copy>span{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-menu-grid a,.sg-setting-row,.sg-action,.sg-bottom-nav a,.sg-bottom-nav button){min-width:0}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-menu-grid a>span,.sg-setting-row>span,.sg-bottom-nav span){white-space:normal;overflow-wrap:anywhere;line-height:1.3}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-bottom-nav :is(a,button){height:auto;min-height:44px;font-size:11px}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-select-heading h1{font-size:clamp(19px,5.5vw,26px);line-height:1.25}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-market-actions .btn-play{min-width:44px;min-height:44px;white-space:normal;line-height:1.2}
@media(max-width:360px){html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-login-card,.sg-register-card) h1{font-size:21px}html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-title-text{font-size:14px}}

html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) :is(.sg-login-support,.sg-register-support){white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-size:16px;height:auto}
html[data-sg-ui-locale]:not([data-sg-ui-locale="en"]) .sg-select-times p{white-space:normal;line-height:1.35}

/* Native selected-language signal is authoritative; plain web remains visible with server locale. */
html[data-sg-ui-locale="pending"] :is(.sg-login-shell,.sg-register-shell,.sg-home,.sg-select-main,.sg-brand-header,.sg-menu-page,.sg-bottom-nav){visibility:hidden}

/* New Malayalam/Punjabi labels: keep complete words readable on compact screens.
   The existing eight languages and locked visual materials are unchanged. */
html[data-sg-ui-locale]:is([data-sg-ui-locale="ml"],[data-sg-ui-locale="pa"]) .sg-bottom-nav :is(a,button){font-family:"Nirmala UI",Arial,sans-serif;font-size:10px;letter-spacing:0}
html[data-sg-ui-locale]:is([data-sg-ui-locale="ml"],[data-sg-ui-locale="pa"]) .sg-bottom-nav span{white-space:nowrap;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-action{font-size:12px;line-height:1.45;padding-inline:3px}
html[data-sg-ui-locale="ml"] .sg-home .sg-action span{overflow-wrap:normal;word-break:normal;white-space:nowrap}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-heading h1{font-family:"Nirmala UI",Arial,sans-serif;font-size:17px;line-height:1.45;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-heading>span{font-size:12px;line-height:1.45;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-actions .btn-play{font-family:"Nirmala UI",Arial,sans-serif;font-size:12px;line-height:1.45;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-actions .btn-play span{white-space:normal;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-voice-control{font-size:14px;line-height:1.45}

html[data-sg-ui-locale]:is([data-sg-ui-locale="ml"],[data-sg-ui-locale="pa"]) .sg-bottom-nav{padding-inline:4px;column-gap:0}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-heading h1 span{white-space:nowrap;overflow-wrap:normal;word-break:normal}
html[data-sg-ui-locale="ml"] .sg-home .sg-market-heading>span{font-size:11px;padding-inline:8px}
@media(max-width:430px){
 html[data-sg-ui-locale="ml"] .sg-home .sg-wallet-panel{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:7px}
 html[data-sg-ui-locale="ml"] .sg-home .sg-wallet-summary{grid-column:1/-1;min-height:28px}
 html[data-sg-ui-locale="ml"] .sg-home .sg-wallet-summary>span{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;font-size:16px}
 html[data-sg-ui-locale="ml"] .sg-home .sg-wallet-summary strong{font-size:18px}
 html[data-sg-ui-locale="ml"] .sg-home .sg-action{font-size:14px}
}

html[data-sg-ui-locale]:is([data-sg-ui-locale="ml"],[data-sg-ui-locale="pa"]) .sg-bottom-nav :is(a,button){padding-inline:0}
html[data-sg-ui-locale]:is([data-sg-ui-locale="ml"],[data-sg-ui-locale="pa"]) .sg-bottom-nav :is(a,button) span{white-space:nowrap;overflow-wrap:normal;word-break:normal}
