/* 可搜索的语言及地区入口；品牌与当前语言名称在手机上自然换行。 */
.brand-mobile-caption,.brand-mobile-title-cn,.brand-copy .brand-mobile-title{display:none}
.locale-zh .brand-mobile-title-cn{display:inline}
.language-entry{display:inline-flex;align-items:center;gap:11px;min-height:52px;padding:9px 15px;border:1px solid #d2ece45c;border-radius:14px;color:#f6fffd;background:#123c40b5;box-shadow:0 4px 16px #001e2215;text-align:start;font:inherit;line-height:1.25;white-space:nowrap;direction:ltr}
.language-entry svg{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.language-entry .entry-chevron{width:13px;height:13px;opacity:.7}
.language-entry b{display:block;font-size:13px;letter-spacing:.01em}
.language-entry small{display:block;font-size:12px;color:#cae9e4;margin-top:3px;unicode-bidi:isolate;white-space:normal;overflow-wrap:break-word}
.language-entry:hover{background:#1c585b;border-color:#c6f1e4}
.language-entry:focus-visible,.language-dialog a:focus-visible,.language-dialog button:focus-visible,.language-suggestion button:focus-visible{outline:3px solid #e2b76d;outline-offset:3px}
.language-entry-in-menu{width:100%;min-height:58px;margin-bottom:16px;background:#edf6f0;border-color:#bdd6cd;color:#153f42;box-shadow:none;justify-content:flex-start}
.language-entry-in-menu>span:nth-child(2){flex:1}
.language-entry-in-menu small{color:#526f69}
.language-entry-in-menu .entry-chevron{margin-inline-start:auto}
.language-entry-in-menu:hover{background:#e2f0e7;border-color:#519d90}
.language-suggestion{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;width:var(--shell);max-width:1180px;margin:18px auto 0;padding:9px 10px 9px 14px;background:#eef8f1;color:#163f42;border:1px solid #cfede3;border-radius:12px;box-shadow:0 5px 18px #001e2212;direction:ltr}
.language-suggestion[hidden]{display:none}
.language-suggestion .suggest-primary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-height:36px;padding:0;background:none;border:0;color:inherit;font:600 14px/1.4 system-ui,"Yu Gothic","Nirmala UI",sans-serif;text-align:start}
.language-suggestion .suggest-primary span:last-child{font-size:20px}
.language-suggestion .suggest-close{width:36px;min-height:36px;border:0;background:none;color:#4d6c69;font:22px/1 system-ui}
.forecast-hero:has(.language-suggestion:not([hidden])) .hero-inner{padding-top:66px}
.language-dialog{padding:0;width:min(920px,calc(100vw - 48px));height:min(740px,calc(100dvh - 48px));max-width:none;max-height:calc(100dvh - 48px);border:1px solid #c7dad3;border-radius:24px;background:#fbfcf8;color:#12373d;box-shadow:0 30px 100px #001d2452;overflow:hidden;overscroll-behavior:contain;font-family:system-ui,"Microsoft YaHei","Yu Gothic","Nirmala UI",sans-serif;direction:ltr}
.language-dialog[open]{display:flex;flex-direction:column}
.language-dialog:not([open]){display:none}
.language-dialog::backdrop{background:#001c2763;backdrop-filter:blur(5px)}
.language-dialog-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 0;background:#fbfcf8}
.language-dialog h2{margin:0;font-size:26px;line-height:1.35;font-weight:600}
.language-dialog h2 span{font-size:.75em;color:#6b827d;font-weight:500}
.language-dialog-head p{margin:6px 0 0;font-size:12px;color:#526c69;line-height:1.5}
.language-dialog-head button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #d9e6e0;border-radius:50%;background:#fff;color:#214b4b;font-size:24px;line-height:1}
.language-tools{flex:none;padding:18px 24px 12px;border-bottom:1px solid #e0e9e3}
.language-search{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;border:1px solid #cdded5;border-radius:12px;background:#fff}
.language-search:focus-within{outline:2px solid #16827f;outline-offset:1px}
.language-search svg{width:21px;height:21px;flex:none;fill:none;stroke:#59756f;stroke-width:1.7;stroke-linecap:round}
.language-search input{width:100%;min-width:0;height:46px;padding:0;border:0;outline:0;background:transparent;color:#163f42;font:400 16px/1.4 system-ui,"Microsoft YaHei","Yu Gothic","Nirmala UI",sans-serif}
.language-search input::placeholder{color:#72867e;opacity:1}
.language-search input::-webkit-search-cancel-button{display:none}
.language-search-clear{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#ecf2ed;color:#536f65;font:22px/1 system-ui}
.language-list-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a5c6bb #f1f5ef;scroll-padding-block:14px}
.language-list-scroll:focus-visible{outline:2px solid #16827f;outline-offset:-3px}
.language-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:14px 24px 18px}
.language-choice{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:76px;padding:12px;border:1px solid #dce6df;border-radius:12px;background:#fff;color:#183e42;font:inherit;text-decoration:none;text-align:start;transition:background .15s,border-color .15s}
.language-choice:hover:not(:disabled){border-color:#15817f;background:#edf7f0}
.language-choice[aria-current="page"]{border-color:#16827f;background:#e7f3ec;box-shadow:inset 0 0 0 .5px #16827f}
.language-name{min-width:0;padding-inline-end:3px}
.language-flags{position:relative;display:block;width:34px;height:29px}
.language-flags img{position:absolute;top:0;left:0;display:block;width:32px;height:24px;object-fit:contain;border-radius:3px;box-shadow:0 0 0 1px #143b3a16,0 2px 5px #163e4214}
.language-flags img+img{top:11px;left:10px;width:24px;height:18px;box-shadow:0 0 0 2px white,0 2px 5px #163e4226}
.language-choice-grid .language-native{display:block;font-size:16px;font-weight:600;line-height:1.45;text-align:left;unicode-bidi:isolate;overflow-wrap:break-word}
.language-native[lang="ko"]{font-family:"Weather Korean","Malgun Gothic",system-ui,sans-serif}
.language-native[lang="kk"]{font-family:"Weather Kazakh","Segoe UI",system-ui,sans-serif}
.language-choice-grid .language-english{display:block;margin-top:2px;font-size:11px;line-height:1.35;color:#617773;letter-spacing:.01em}
.language-choice-grid .language-check{position:absolute;top:5px;right:6px;color:#0b7972;font-size:12px;line-height:1;visibility:hidden}
.language-choice-grid [aria-current="page"] .language-check{visibility:visible}
.language-empty{padding:38px 20px 44px;text-align:center;color:#617b73}
.language-empty p{margin:0 0 16px;font-size:15px}
.language-empty button{min-height:44px;padding:9px 18px;border:1px solid #b6d1c5;border-radius:10px;background:#eaf5ed;color:#126b66;font:inherit}
.language-dialog-footer{flex:none;width:auto;min-height:42px;margin:0;padding:10px 24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e0e9e3;background:#f3f7f0;color:#667d77;font-size:12px;line-height:1.4;direction:ltr}
.language-dialog-footer b{font-weight:600;color:#275f59}
#language-scroll-hint{color:#276e63;font-size:11px}
#language-footer-mark{letter-spacing:.13em;font-size:10px}
.language-choice-grid>[hidden],.language-empty[hidden],.language-dialog-footer [hidden],.language-search-clear[hidden]{display:none}
html.language-dialog-open{overflow:hidden}
@media(max-width:820px){
  .site-header{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:12px;min-height:76px;padding-block:12px}
  .site-header .brand{min-width:0;max-width:100%;gap:8px}
  .site-header .brand-mark{width:32px;height:32px}
  .site-header .brand-copy{min-width:0;max-width:100%}
  .site-header .brand .brand-copy b{max-width:100%;font-size:11px;line-height:1.4;letter-spacing:0;white-space:normal;overflow-wrap:break-word}
  .site-header .brand .brand-copy>b:not(.brand-mobile-title){display:none}
  .site-header .brand .brand-mobile-title{display:block;font-size:12px}
  .site-header .brand .brand-copy :is(small,em){display:none}
  .site-header .brand .brand-mobile-caption{display:block;margin-top:3px;max-width:100%;color:#d4e9e5;font-size:10px;line-height:1.45;letter-spacing:0;white-space:normal;overflow-wrap:break-word}
  .site-header .header-meta{min-width:0;width:140px;gap:0!important}.header-meta .maldives-time{display:none!important}
  .site-header .language-entry{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;width:100%;min-width:0;min-height:50px;padding:8px;border-radius:12px}
  .site-header .language-entry>span{min-width:0}
  .site-header .language-entry .entry-chevron{display:none}
  .language-entry{gap:7px;min-height:48px;padding:8px 9px;border-radius:12px}.language-entry svg{width:20px;height:20px}.language-entry b{font-size:11px}.language-entry small{font-size:11px}.language-entry .entry-chevron{width:11px;height:11px}
  .language-entry-in-menu{min-height:58px;gap:10px;padding:10px 14px}
  .language-entry-in-menu b{font-size:13px}
  .language-entry-in-menu small{font-size:12px}
  .language-suggestion{margin-top:12px;padding:6px 8px 6px 12px;gap:6px}.language-suggestion .suggest-primary{font-size:14px}
  .forecast-hero:has(.language-suggestion:not([hidden])) .hero-inner{padding-top:28px}
  .language-dialog{width:calc(100vw - 20px);height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:20px}
  .language-dialog-head{padding:16px 16px 0;gap:8px}.language-dialog h2{font-size:23px}.language-dialog-head p{font-size:11px}.language-dialog-head button{width:40px;height:40px}
  .language-tools{padding:13px 14px 10px}.language-search{min-height:46px;gap:8px;padding-inline:10px}.language-search input{height:44px}
  .language-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 14px 14px}
  .language-choice{grid-template-columns:30px minmax(0,1fr);gap:8px;min-height:72px;padding:10px 9px}
  .language-flags{width:30px;height:27px}.language-flags img{width:28px;height:21px}.language-flags img+img{top:10px;left:9px;width:21px;height:16px}
  .language-choice-grid .language-native{font-size:15px}.language-choice-grid .language-english{font-size:10px}
  .language-dialog-footer{padding:10px 16px;font-size:11px;min-height:40px}
}
@media(max-width:359px){
  .site-header{grid-template-columns:minmax(0,1fr) 132px;gap:10px}
  .site-header .header-meta{width:132px}
  .site-header .brand-mark{width:28px;height:30px}
  .site-header .brand{gap:6px}
  .language-choice{grid-template-columns:minmax(0,1fr);align-content:start;gap:7px;min-height:96px;padding:10px 8px}
  .language-flags{width:26px;height:25px}.language-flags img{width:24px;height:18px}.language-flags img+img{top:9px;left:7px;width:19px;height:14px}
  .language-choice-grid .language-native{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.language-choice-grid a{transition:none}}

/* Native names retain their script fonts regardless of the current page language. */
.language-choice-grid .language-native[lang="dv"] { font-family: "Noto Sans Thaana", "Nirmala UI", sans-serif !important; }
.language-choice-grid .language-native[lang="hi"] { font-family: "Noto Sans Devanagari", "Nirmala UI", sans-serif !important; }
.language-choice-grid .language-native[lang="si"] { font-family: "Noto Sans Sinhala", "Iskoola Pota", sans-serif !important; }
.language-choice-grid .language-native[lang="ja"] { font-family: "Weather Japanese", "Yu Gothic", sans-serif !important; }
.language-choice-grid .language-native[lang="ko"] { font-family: "Weather Korean", "Malgun Gothic", sans-serif !important; }
.language-choice-grid .language-native[lang="kk"] { font-family: "Weather Kazakh", "Segoe UI", sans-serif !important; }
.language-choice-grid .language-native:is([lang="cs"],[lang="be"],[lang="pl"],[lang="uk"],[lang="nl"],[lang="tr"],[lang="ms"],[lang="hu"],[lang="sk"],[lang="bg"],[lang="sv"],[lang="ro"]) { font-family: "Weather Kazakh", "Segoe UI", sans-serif !important; }
.language-choice-grid .language-native[lang="vi"] { font-family: "Weather Vietnamese", system-ui, sans-serif !important; }

.language-choice-grid .language-native[lang="th"] { font-family: "Weather Thai", sans-serif !important; line-height: 1.6; letter-spacing: normal; }

.language-choice-grid .language-native[lang="bn"] { font-family: "Weather Bengali", sans-serif !important; line-height: 1.65; letter-spacing: normal; }
