/* ════════════════════════════════════════════════════════════════════════
   northweather.net — North Weather design system v5 (Фаза 5, 16.09.2026)
   Референс: docs/design-ca-top-A-large.html (вариант A, крупная типографика).
   Шрифт: Barlow Semi Condensed (OFL), самохостинг assets/fonts/*.woff2.
   Токены объявлены в :root; старые имена (--blue, --navy, --rule, --serif…)
   оставлены как алиасы, чтобы inline-стили страниц продолжали работать.
   ════════════════════════════════════════════════════════════════════════ */

@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/barlow-semi-condensed-400.woff2') format('woff2');}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/barlow-semi-condensed-500.woff2') format('woff2');}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/barlow-semi-condensed-600.woff2') format('woff2');}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/barlow-semi-condensed-700.woff2') format('woff2');}

/* ── Токены ─────────────────────────────────────────────────────────────── */
:root{
  --f:'Barlow Semi Condensed',"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --ink:#141414;--sub:#2b2f33;--muted:#6a6f76;--faint:#8b939c;
  --line:#e6e9ed;--bg:#e6eaef;--white:#fff;--soft:#f3f6f9;--soft2:#eef1f4;
  --link:#0b62c4;--accent:#d52b1e;--icon:#1d6fd6;
  --red:#c62828;--orange:#ef6c00;--yellow:#f5c400;--green:#2e9e5b;--cold:#1976d2;--blue-mid:#3b8fd8;
  --warn-bg:#fff8d6;--warn-line:#f5c400;
  /* алиасы прежней палитры (inline-стили страниц) */
  --blue:var(--link);--blue-dk:#1f2933;--navy:#1f2933;--navy2:#2b3640;--blue-lt:#eaf2fc;--rule:var(--line);
  --serif:var(--f);--sans:var(--f);--mono:var(--f);
  --W:1180px;--pad:16px;
}
html[data-theme="dark"]{
  --ink:#eef1f5;--sub:#d5dae0;--muted:#a3abb5;--faint:#7d8792;
  --line:#2a3139;--bg:#12161b;--white:#1b2128;--soft:#222931;--soft2:#262e37;
  --link:#6db3ff;--icon:#6db3ff;--blue-lt:#1e2a3a;--blue-dk:#0f1418;--navy:#0f1418;--navy2:#161c22;
  --warn-bg:#3a3110;--warn-line:#d9b100;
}

/* ── База ───────────────────────────────────────────────────────────────── */
*{margin:0;padding:0;box-sizing:border-box;}
html{overflow-x:clip;}
body{background:var(--bg);color:var(--ink);font-family:var(--f);font-size:17px;line-height:1.4;-webkit-font-smoothing:antialiased;overflow-x:clip;}
a{color:var(--link);text-decoration:none;cursor:pointer;}
a:hover{text-decoration:underline;}
img{max-width:100%;height:auto;}
button,input,select{font-family:inherit;}
summary{list-style:none;cursor:pointer;}summary::-webkit-details-marker{display:none;}
h1{font-size:36px;line-height:1.1;font-weight:700;letter-spacing:-.2px;}
h2,h3,h4{font-weight:700;line-height:1.2;}
.ico{width:48px;height:48px;flex:none;}
.mi{width:20px;height:20px;flex:none;color:var(--icon);}
.ri{width:19px;height:19px;flex:none;color:var(--faint);margin-right:8px;vertical-align:-3px;}
.dro{width:14px;height:18px;color:var(--faint);}

/* ── Шапка ──────────────────────────────────────────────────────────────── */
.nav{background:var(--white);border-bottom:1px solid var(--line);position:relative;z-index:2500;}
.bar{max-width:var(--W);margin:0 auto;padding:10px var(--pad);display:flex;gap:14px;align-items:center;min-height:62px;}
.logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:25px;letter-spacing:-.2px;color:var(--ink);white-space:nowrap;flex-shrink:0;}
.logo:hover{text-decoration:none;}
.logo .wm{white-space:nowrap;}
.logo .tld,.ft-logo .tld{color:var(--accent);}
.logo-mark{width:32px;height:32px;flex-shrink:0;display:block;}
.srch-form{flex:1;min-width:0;display:flex;align-items:center;position:relative;}
.srch{width:100%;min-width:0;border:1px solid #dfe3e8;background:var(--soft);color:var(--ink);border-radius:999px;padding:10px 46px 10px 16px;font:inherit;font-size:17px;}
.srch::placeholder{color:var(--faint);}
.srch:focus{outline:none;border-color:var(--link);background:var(--white);}
.srch-btn{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:0;background:var(--ink);color:#fff;border-radius:999px;padding:7px 13px;font-size:14px;font-weight:700;cursor:pointer;}
.srch-btn:hover{background:#000;}
html[data-theme="dark"] .srch-btn{color:#141414;}html[data-theme="dark"] .srch-btn:hover{background:#fff;}
/* Подсказки поиска (Фаза 7, 16.09.2026): шапка, /search/, хабы (.lths-item) — токены темы, иконки типов */
.srch-host{position:relative;}
.srch-dropdown{position:absolute;top:100%;left:0;right:0;margin-top:6px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.16);max-height:min(520px,72vh);overflow-y:auto;display:none;z-index:2600;font-size:16px;text-align:left;}
.srch-dropdown.open{display:block;}
.srch-item{display:flex;align-items:center;gap:12px;padding:9px 14px;color:var(--ink);border-bottom:1px solid var(--line);text-decoration:none;}
.srch-item:last-child{border-bottom:0;}
.srch-item:hover,.srch-item.on{background:var(--soft);text-decoration:none;}
.si-ic{flex:0 0 34px;height:34px;border-radius:9px;background:var(--soft);color:var(--icon);display:flex;align-items:center;justify-content:center;}
.srch-item:hover .si-ic,.srch-item.on .si-ic,.lths-item:hover .si-ic,.lths-item.on .si-ic{background:var(--white);}
.si-tx{flex:1;min-width:0;display:flex;flex-direction:column;}
.si-n{font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.si-r{font-size:14px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.srch-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px 7px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);}
.srch-clear,.sr-clear{border:0;background:none;color:var(--link);font:inherit;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;cursor:pointer;padding:2px 0;}
.srch-clear:hover,.sr-clear:hover{text-decoration:underline;}
.srch-empty{padding:16px;color:var(--muted);text-align:center;font-size:15px;}
.srch-empty b{color:var(--ink);}
.nav-end{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.unit-btn{display:inline-flex;align-items:center;border:1px solid #dfe3e8;border-radius:999px;overflow:hidden;text-decoration:none;font-size:15px;font-weight:700;}
.unit-btn b{padding:6px 10px;color:var(--link);}
.unit-btn span{padding:6px 10px 6px 0;color:var(--faint);font-weight:600;}
.unit-btn span::before{content:'/ ';color:var(--line);}
.unit-btn:hover{text-decoration:none;border-color:var(--faint);}
.theme-btn{border:1px solid #dfe3e8;background:transparent;color:var(--sub);border-radius:999px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.theme-btn:hover{border-color:var(--faint);}
.theme-btn .ni{width:17px;height:17px;display:block;}
.theme-btn .ni-sun{display:none;}
html[data-theme="dark"] .theme-btn .ni-moon{display:none;}
html[data-theme="dark"] .theme-btn .ni-sun{display:block;}
.loc{display:inline-flex;align-items:center;gap:6px;font-size:16px;font-weight:600;color:var(--sub);border:1px solid #dfe3e8;border-radius:999px;padding:6px 12px;white-space:nowrap;}
.loc:hover{text-decoration:none;border-color:var(--faint);color:var(--ink);}
.loc-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;}
.loc .ni-pin{width:14px;height:14px;opacity:.7;}
.nav-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:0;background:transparent;border:1px solid #dfe3e8;border-radius:10px;cursor:pointer;flex-shrink:0;order:5;}
.nav-burger span{display:block;width:20px;height:2px;margin:0 auto;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s;}
.nav.menu-open .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav.menu-open .nav-burger span:nth-child(2){opacity:0;}
.nav.menu-open .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
html[data-theme="dark"] .srch,html[data-theme="dark"] .unit-btn,html[data-theme="dark"] .theme-btn,html[data-theme="dark"] .loc,html[data-theme="dark"] .nav-burger{border-color:var(--line);}

/* Ряд разделов под шапкой */
.nav-row{border-top:1px solid var(--line);}
.nav-links{max-width:var(--W);margin:0 auto;padding:0 var(--pad);display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none;}
.nav-links::-webkit-scrollbar{display:none;}
.nl{display:inline-flex;align-items:center;gap:6px;padding:11px 12px;font-size:16px;font-weight:600;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;margin-bottom:-1px;}
.nl:hover{color:var(--ink);text-decoration:none;}
.nl.on{color:var(--ink);border-bottom-color:var(--ink);}
.nl .ni{width:15px;height:15px;opacity:.75;flex-shrink:0;display:inline-block;}
.nl-sep{display:none;}
.nl-more{display:none;}
.nav-tools{display:none;}
/* «Ещё» (десктоп): бургер раскрывает второй ряд разделов */
.nav.menu-open .nav-links{flex-wrap:wrap;}
.nav.menu-open .nl-sep{display:block;flex-basis:100%;padding:8px 12px 2px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);border-top:1px solid var(--line);}
.nav.menu-open .nl-more{display:inline-flex;font-size:15px;font-weight:600;padding:8px 12px;border-bottom:0;}

/* ── Полоса городов ─────────────────────────────────────────────────────── */
.citystrip{background:var(--white);border-bottom:1px solid var(--line);}
.citystrip-in{max-width:var(--W);margin:0 auto;padding:5px var(--pad);display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.citystrip-in::-webkit-scrollbar{display:none;}
.cs{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;font-weight:600;padding:5px 9px;border-radius:7px;white-space:nowrap;flex-shrink:0;text-decoration:none;}
.cs:hover{background:var(--soft);text-decoration:none;color:var(--ink);}
.cs b{color:var(--ink);font-size:15px;}
.cs .csi{display:inline-flex;line-height:1;}
.cs .csi .wx-svg{width:20px;height:20px;}

/* ── Алерт-бар ──────────────────────────────────────────────────────────── */
.alert{display:flex;gap:12px;align-items:center;background:var(--warn-bg);border-left:6px solid var(--warn-line);border-radius:10px;padding:11px 14px;margin-bottom:14px;font-size:18px;color:var(--ink);}
.alert b{white-space:nowrap;}
.alert .txt{min-width:0;}
.alert a{margin-left:auto;color:var(--link);font-weight:600;text-decoration:none;white-space:nowrap;}
.alert.red{--warn-bg:#fdecea;--warn-line:#c62828;}
.alert.orange{--warn-bg:#fff1e3;--warn-line:#ef6c00;}
.alert.grey{--warn-bg:var(--soft);--warn-line:#8b939c;}
html[data-theme="dark"] .alert.red{--warn-bg:#3b1a18;}
html[data-theme="dark"] .alert.orange{--warn-bg:#3c2610;}
.alert-wrap{max-width:var(--W);margin:0 auto;padding:12px var(--pad) 0;}
.alert-wrap .alert{margin-bottom:0;}
/* прежний баннер из layout (.warn) — тот же вид */
.warn{display:flex;gap:10px;align-items:center;background:var(--warn-bg);border-left:6px solid var(--warn-line);border-radius:10px;padding:11px 14px;font-size:17px;}
.wb{background:var(--ink);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px;flex-shrink:0;letter-spacing:.04em;text-transform:uppercase;}
.wt b{color:var(--ink);}

/* ── Контейнеры и сетки ─────────────────────────────────────────────────── */
.page,main.page{max-width:var(--W);margin:0 auto;padding:16px var(--pad) 44px;}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:16px;}
.four{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px;}
.six{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:16px;}
.risk-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px;}
.grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px;align-items:start;}
.grid>*{min-width:0;}
.stack>*+*{margin-top:16px;}
.page > p,.intro{font-size:17px;color:var(--muted);margin:0 0 16px;max-width:820px;}

/* Заголовок страницы */
.crumbs{font-size:15px;color:var(--muted);margin-bottom:4px;}
.crumbs a{color:var(--muted);text-decoration:none;}
.crumbs a:hover{color:var(--ink);}
.crumbs strong{color:var(--muted);font-weight:600;}
.page h1,.cityhead h1{margin:6px 0 12px;}
.stn{font-size:15px;color:var(--muted);margin:-6px 0 10px;}
.slbl{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 0 12px;display:flex;align-items:center;gap:12px;}
.slbl::after{content:'';flex:1;height:1px;background:var(--line);}
.slbl:first-child{margin-top:0;}

/* Вкладки-пилюли (разделы места) */
.tabs,.ctabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-bottom:16px;padding-bottom:2px;}
/* 17.09.2026: у разделов кнопки переносятся на второй ряд (всё видно), у вкладок города ряд прокручивается —
   пока справа есть ещё кнопки, app.js вешает .more: край затухает и появляется стрелка */
.tabs.wrap{flex-wrap:wrap;row-gap:8px;}
.tabwrap{position:relative;}
.tabs.scr.more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 46px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 46px),transparent);}
.tabwrap .tabmore{display:none;position:absolute;right:0;top:1px;width:32px;height:38px;align-items:center;justify-content:center;border-radius:999px;background:var(--white);box-shadow:-12px 0 16px var(--bg);color:var(--muted);pointer-events:none;}
.tabs.scr.more+.tabmore{display:flex;}
.tabwrap .tabmore .ia{width:18px;height:18px;}
.tabs::-webkit-scrollbar,.ctabs::-webkit-scrollbar{display:none;}
.tabs a,.ctab{flex:none;padding:8px 16px;border-radius:999px;background:var(--white);color:var(--ink);text-decoration:none;font-size:17px;font-weight:600;white-space:nowrap;}
.tabs a:hover,.ctab:hover{text-decoration:none;background:var(--soft2);}
.tabs a.on,.ctab.on{background:var(--ink);color:var(--white);}
html[data-theme="dark"] .tabs a.on,html[data-theme="dark"] .ctab.on{background:#eef1f5;color:#141414;}
.ctab-city{display:none;}
.cityhead{background:transparent;}
.cityhead-in{max-width:var(--W);margin:0 auto;padding:16px var(--pad) 0;}
.cityhead+.page,.cityhead~.page,.cityhead~main.page{padding-top:0;}   /* 17.09.2026: между шапкой и .page стоит <script> недавних мест — «+» не срабатывал, отступ был 30 px вместо 16 */

/* ── Карточки ───────────────────────────────────────────────────────────── */
.card{background:var(--white);border-radius:10px;overflow:hidden;}
.card+.card{margin-top:16px;}
.ch{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 22px;border-bottom:1px solid var(--line);}
.ch h2{margin:0;font-size:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:9px;min-width:0;}
.ch a{color:var(--link);text-decoration:none;font-weight:600;font-size:17px;white-space:nowrap;}
.ch small{font-size:15px;color:var(--muted);}
.ch .r{font-size:17px;font-weight:700;white-space:nowrap;color:var(--ink);}
.cb{padding:18px 22px;}
.cb p{margin:0 0 10px;}
.cb p:last-child{margin-bottom:0;}
.cb h3{font-size:19px;margin:16px 0 6px;}
.cb h3:first-child{margin-top:0;}
.cb ul,.cb ol{padding-left:22px;margin:0 0 10px;}
.cb table{width:100%;border-collapse:collapse;font-size:17px;}
.cb th{text-align:left;font-size:14px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:8px 8px;border-bottom:1px solid var(--line);}
.cb td{padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:middle;}
.cb tr:last-child td{border-bottom:0;}

/* Строки «метка — значение» */
.rows{margin:0;}
.rows div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);}
.rows div:last-child{border-bottom:0;}
.rows dt{font-size:20px;color:var(--sub);display:flex;align-items:center;}
.rows dd{margin:0;font-size:21px;font-weight:700;text-align:right;}
.rows dd small{font-size:15px;font-weight:600;color:var(--muted);}
.rows div.scr{flex-wrap:wrap;row-gap:8px;}
.scale{flex-basis:100%;height:7px;border-radius:9px;position:relative;}
.scale i{position:absolute;top:-4px;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid #3a4148;transform:translateX(-50%);}
.uvs{background:linear-gradient(90deg,#3cb371,#f4d03f,#f39c12,#e74c3c,#8e44ad);}
.aqs{background:linear-gradient(90deg,#29b6f6 0 30%,#ffd000 30% 60%,#ff6a3d 60% 90%,#8b0000 90%);}

/* ── Карточка «сейчас» ──────────────────────────────────────────────────── */
.cur{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;padding:20px 22px 18px;align-items:center;}
.now{display:flex;align-items:center;gap:6px;}
.now .ico{width:132px;height:132px;}
.tempbig{font-size:112px;font-weight:700;line-height:.9;letter-spacing:-3px;}
.tempbig small{font-size:34px;color:var(--faint);font-weight:500;letter-spacing:0;margin-left:2px;}
.feel{font-size:24px;margin:6px 0 0 8px;}
.cond{font-size:26px;font-weight:700;margin:12px 0 2px;}
.hilo{font-size:19px;color:var(--muted);margin:4px 0 0 8px;}
.hilo b{color:var(--ink);}
.moreb{display:inline-flex;align-items:center;gap:4px;font-size:15px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);}
.moreb svg{width:16px;height:16px;transition:transform .15s;}
details.more>summary{padding:0 22px 14px;margin-top:2px;}
details.more[open] .moreb svg{transform:rotate(90deg);}
.moregrid{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;padding:4px 22px 6px;border-top:1px solid var(--line);}
.obs{padding:12px 22px 16px;font-size:15px;color:var(--muted);border-top:1px solid var(--line);}
.obs a{color:var(--muted);text-decoration:underline;}

/* ── Почасовая лента ────────────────────────────────────────────────────── */
.hwrap{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:stretch;}
.hbtn{border:0;background:#dde2e8;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.hbtn svg{width:26px;height:26px;}.hbtn.prev svg{transform:rotate(180deg);}
.hbtn:hover{background:#b9c1cb;}.hbtn[disabled]{background:var(--soft2);cursor:default;}
html[data-theme="dark"] .hbtn{background:#2f3842;}html[data-theme="dark"] .hbtn:hover{background:#3d4854;}
.hours{list-style:none;margin:0;padding:14px 0 12px;display:flex;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;}
.hours::-webkit-scrollbar{display:none;}
.hours li{flex:none;width:106px;text-align:center;scroll-snap-align:start;}
.hours li.hd{width:auto;padding:0 6px;border-left:2px solid var(--line);}
.hours li.hd .h{color:var(--muted);}
.hours .h{display:block;font-size:21px;font-weight:700;}
.hours .ico{width:64px;height:64px;display:block;margin:4px auto 2px;}
.hours .t{display:block;font-size:44px;font-weight:700;line-height:1;}
.hours .w{display:block;font-size:15px;color:var(--muted);margin-top:4px;}
.pop{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:19px;}
.hours .pop{margin-top:6px;}

/* ── Список дней с раскрытием ───────────────────────────────────────────── */
details.day{border-bottom:1px solid var(--line);}
details.day:last-of-type{border-bottom:0;}
details.day>summary{display:grid;grid-template-columns:84px 64px 132px minmax(0,1fr) 78px 20px;gap:12px;align-items:center;padding:16px 22px;}
details.day>summary:hover{background:var(--soft);}details.day[open]>summary{background:var(--soft);}
.dn{text-align:center;}.dn b{display:block;font-size:22px;font-weight:700;text-transform:uppercase;line-height:1.1;}.dn small{font-size:16px;color:var(--muted);}
.dico{width:60px;height:60px;}
.tt{display:flex;align-items:baseline;gap:6px;white-space:nowrap;}.tt b{font-size:44px;font-weight:700;line-height:1;letter-spacing:-1px;}.tt span{font-size:28px;color:var(--muted);}
.ph{min-width:0;}
.ph b{display:block;font-size:22px;font-weight:600;line-height:1.2;}
.ph span{display:flex;align-items:center;gap:6px;font-size:20px;color:var(--sub);margin-top:3px;}.ph span .ico{width:30px;height:30px;}
details.day .pop{justify-content:flex-end;}
.chev{width:20px;height:20px;color:var(--muted);transition:transform .15s;}details.day[open]>summary .chev{transform:rotate(180deg);}
.panel{padding:4px 22px 18px;}
.dnight{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;}
.dnight h4{margin:10px 0 0;font-size:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:8px;}.dnight h4 .ico{width:30px;height:30px;}
.dnight p{margin:6px 0 2px;font-size:20px;}
.dnight .rows dt{font-size:18px;}.dnight .rows dd{font-size:19px;}.dnight .rows div{padding:9px 0;}
.foot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px;}
.foot div{background:var(--soft);border-radius:8px;padding:8px 10px;}.foot small{display:block;font-size:14px;color:var(--muted);}.foot b{font-size:19px;}
.sep{padding:10px 22px;font-size:15px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#9a6200;background:#fffaf0;border-bottom:1px solid var(--line);}
html[data-theme="dark"] .sep{background:#2b2410;color:#e0b45a;}

/* ── Правая колонка ─────────────────────────────────────────────────────── */
.radar{display:block;height:230px;margin:16px;border-radius:8px;position:relative;overflow:hidden;background:var(--soft2);}
.radar img{width:100%;height:100%;object-fit:cover;display:block;}
.radar .tag{position:absolute;left:10px;bottom:10px;background:rgba(20,20,20,.78);color:#fff;font-size:15px;padding:5px 9px;border-radius:6px;}
/* Карта города мира (ui_aside_map, 17.09.2026): подписи соседей */
.wm-pt{background:none;border:0;}
.wm-lbl{display:inline-block;transform:translate(-50%,-50%);background:var(--white);color:var(--ink);border-radius:6px;padding:2px 7px;font:600 14px/1.3 var(--f);white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.28);text-decoration:none;}
.wm-lbl:hover{text-decoration:none;background:var(--ink);color:var(--white);}
.wm-lbl.wm-up{transform:translate(-50%,calc(-100% - 9px));}
.wm-lbl.wm-me{background:var(--ink);color:var(--white);font-size:15px;}
.radar-map{height:230px;margin:16px;border-radius:8px;overflow:hidden;background:var(--soft2);}
.clim{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px;}
.clim div{background:var(--soft);border-radius:8px;padding:10px 6px;text-align:center;}.clim small{display:block;font-size:15px;color:var(--muted);}.clim b{display:block;font-size:26px;font-weight:700;line-height:1.15;}
.near{list-style:none;margin:0;padding:14px 16px 16px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;}   /* 17.09.2026: minmax(0,1fr) — длинное название района больше не растягивает колонку шире карточки */
.near li{display:flex;align-items:center;gap:10px;padding:6px 12px 6px 8px;background:var(--soft);border-radius:12px;min-width:0;}
.near .ico{width:40px;height:40px;}.near a{color:var(--ink);text-decoration:none;font-size:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.near b{margin-left:auto;font-size:26px;font-weight:700;flex:none;padding-left:4px;}
.near small{color:var(--muted);font-size:15px;flex:none;white-space:nowrap;}

/* ── Sun & Moon / климат / активности (нижние блоки места) ──────────────── */
.sunmoon{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 22px;}
.sunmoon div{background:var(--soft);border-radius:8px;padding:10px 12px;}
.sunmoon small{display:block;font-size:14px;color:var(--muted);}
.sunmoon b{font-size:22px;}
.sunmoon .ico{width:36px;height:36px;float:right;}
.act{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;padding:16px 22px;}
.act div{background:var(--soft);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;}
.act small{font-size:14px;color:var(--muted);}
.act b{font-size:19px;}
.act .lv{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
.g,.v-good{color:var(--green);}.o,.v-warn{color:var(--orange);}.r{color:var(--red);}.b,.v-blue{color:var(--cold);}
.b-good{background:var(--green);}.b-warn{background:var(--orange);}.b-blue{background:var(--blue-mid);}.b-orange{background:var(--yellow);}
.src{font-size:15px;color:var(--muted);padding:14px 0 0;}
.src a{color:var(--muted);text-decoration:underline;}
.clim-tbl{width:100%;min-width:760px;border-collapse:collapse;font-size:17px;}
.clim-tbl th,.clim-tbl td{padding:9px 6px;text-align:center;border-bottom:1px solid var(--line);white-space:nowrap;}
.clim-tbl th{font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);}
.clim-tbl td:first-child,.clim-tbl th:first-child{text-align:left;padding-left:22px;font-weight:600;color:var(--muted);font-size:14px;letter-spacing:.04em;text-transform:uppercase;}
.clim-tbl th.thismonth,.clim-tbl td.thismonth{background:var(--soft);font-weight:700;color:var(--ink);}
.clim-tbl tbody tr:last-child td{border-bottom:0;}
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
/* Почасовая таблица (подстраница hourly) */
.hr-tbl{width:100%;min-width:720px;border-collapse:collapse;font-size:17px;}
.hr-tbl th{text-align:left;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap;}
.hr-tbl td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap;}
.hr-tbl th.n,.hr-tbl td.n{text-align:right;}
.hr-tbl td.tm{font-weight:700;width:80px;}
.hr-tbl td.wx{white-space:nowrap;}   /* 17.09.2026: без display:flex — у ячейки-флекса рвалась линия строки */
.hr-tbl td.wx .ico{width:36px;height:36px;vertical-align:middle;margin:-8px 8px -6px 0;}
.hr-tbl td.t{font-size:22px;font-weight:700;}
.hr-tbl tr.dayrow td{background:var(--soft);font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:7px 12px;}
.hr-tbl tbody tr:last-child td{border-bottom:0;}
.hr-tbl td:first-child,.hr-tbl th:first-child{padding-left:22px;}
.hr-tbl td:last-child,.hr-tbl th:last-child{padding-right:22px;}

/* ── Общие компоненты хабов (прежние классы, новый вид) ─────────────────── */
.frow{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none;}
.frow:last-child{border-bottom:none;}
a.frow:hover{background:var(--soft);margin:0 -22px;padding:12px 22px;text-decoration:none;}
.fd{width:170px;font-size:19px;font-weight:600;white-space:nowrap;}
.fi{flex-shrink:0;width:40px;text-align:center;display:flex;justify-content:center;}
.fc{flex:1;font-size:17px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fb{display:flex;align-items:baseline;gap:12px;margin-left:auto;}
.fhi{font-size:28px;font-weight:700;color:var(--ink);min-width:56px;text-align:right;display:inline-block;}
.flo{font-size:22px;font-weight:600;color:var(--muted);min-width:48px;text-align:right;display:inline-block;}
.frain{font-size:18px;color:var(--cold);font-weight:600;min-width:64px;text-align:right;display:inline-block;}
.fchev{width:18px;height:18px;color:var(--faint);}
.fdetail{padding:6px 0 12px;font-size:16px;color:var(--sub);}
.fdg{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 16px;}

.irow{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid var(--line);}
.irow:last-child{border-bottom:none;}
.iem{flex-shrink:0;display:flex;color:var(--icon);}
.itx{flex:1;min-width:0;}
.ilbl{font-size:14px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:2px;}
.ival{font-size:22px;font-weight:700;}
.isub{font-size:15px;color:var(--muted);}

.dtile{background:var(--white);border-radius:10px;padding:18px 20px;}
.dtl{font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;}
.dtv{font-size:36px;font-weight:700;color:var(--ink);letter-spacing:-.5px;line-height:1;}
.dtu{font-size:17px;color:var(--faint);letter-spacing:0;font-weight:500;}
.dts{font-size:16px;color:var(--muted);margin-top:6px;}
.dtbar{height:4px;background:var(--line);margin-top:12px;border-radius:2px;}
.dtbar div{height:100%;background:var(--link);border-radius:2px;}

.reg-card{background:var(--white);border-radius:10px;padding:18px 20px;display:block;color:inherit;text-decoration:none;transition:.12s;}
.reg-card:hover{box-shadow:0 0 0 2px var(--ink) inset;text-decoration:none;}
.reg-nm{font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px;}
.reg-tmp{font-size:56px;font-weight:700;color:var(--ink);line-height:1;margin-bottom:4px;letter-spacing:-1px;}
.reg-tmp small{font-size:26px;color:var(--muted);font-weight:600;}
.reg-cond{font-size:18px;color:var(--sub);margin-bottom:8px;}
.reg-meta{font-size:15px;color:var(--muted);}

.city-card{background:var(--white);border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;transition:.1s;min-width:0;}
.city-card:hover{box-shadow:0 0 0 2px var(--ink) inset;text-decoration:none;}
.cico{flex-shrink:0;display:flex;}
.cinf{flex:1;min-width:0;}
.cnm{font-size:18px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ccd{font-size:15px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ctmp{font-size:28px;font-weight:700;flex-shrink:0;}

.fj-card{background:var(--white);border-radius:10px;padding:16px 18px;display:block;color:inherit;text-decoration:none;transition:.12s;}
.fj-card:hover{box-shadow:0 0 0 2px var(--ink) inset;text-decoration:none;}
.fj-nm{font-size:18px;font-weight:700;margin-bottom:2px;}
.fj-reg{font-size:15px;color:var(--muted);margin-bottom:10px;}
.fj-row{display:flex;justify-content:space-between;align-items:center;}
.fj-tmp{font-size:38px;font-weight:700;}
.fj-ico{display:flex;}
.fj-snow{font-size:15px;color:var(--cold);font-weight:700;margin-top:6px;}

.sun-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:18px;gap:12px;}
.sun-row:last-child{border-bottom:none;}
.sun-l{color:var(--muted);}
.sun-v{font-weight:700;text-align:right;}
.sun-g{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;}
.sg{display:flex;flex-direction:column;padding:4px 0;}
.sg-l{font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:2px;}
.sg-v{font-size:19px;font-weight:700;}
.rrow{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:17px;align-items:flex-start;}
.rrow:last-child{border-bottom:none;}
.rico{flex-shrink:0;margin-top:2px;}
.rt{color:var(--sub);line-height:1.5;}
.rt b{color:var(--ink);}
.prow{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:18px;}
.prow:last-child{border-bottom:none;}
.pn{flex:1;color:var(--sub);}
.pbar{width:72px;height:5px;background:var(--line);border-radius:3px;}
.pbar div{height:100%;border-radius:3px;}
.p0{background:var(--faint);}.p1{background:#22C55E;}.p2{background:#F59E0B;}.p3{background:#EF4444;}.p4{background:#7C3AED;}
.plvl{width:50px;text-align:right;font-size:14px;font-weight:700;}
.srow{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:18px;}
.srow:last-child{border-bottom:none;}
.sp{flex:1;}
.stemp{font-size:22px;font-weight:700;}

/* Текстовый блок раздела (прежний navy-«editorial») */
.editorial{background:var(--white);border-radius:10px;padding:22px 24px;margin-bottom:16px;}
.ed-tag{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;}
.ed-title{font-size:24px;font-weight:700;color:var(--ink);line-height:1.25;margin-bottom:8px;}
.ed-body{font-size:17px;color:var(--sub);line-height:1.6;}
.ed-body p{margin:0 0 10px;}
.ed-foot{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.smhi-badge{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);background:var(--soft);padding:4px 10px;border-radius:999px;}
.smhi-upd{font-size:15px;color:var(--muted);font-weight:600;}

.p4-row{background:var(--white);border-radius:10px;padding:16px 20px;display:flex;align-items:center;gap:16px;margin-bottom:16px;}
.p4-ico{font-size:30px;}
.p4-name{font-size:21px;font-weight:700;color:var(--ink);}
.p4-name em{color:var(--link);font-style:normal;}
.p4-sub{font-size:15px;color:var(--muted);margin-top:3px;}
.p4-right{margin-left:auto;font-size:14px;color:var(--muted);text-align:right;line-height:1.6;}

.chart-box{margin-bottom:16px;}
.chart-lbl{font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:14px 22px 12px;border-bottom:1px solid var(--line);}
.chart-body{padding:18px 22px 14px;}
.cleg{display:flex;gap:16px;font-size:14px;color:var(--muted);margin-top:10px;flex-wrap:wrap;}
.cleg span{display:flex;align-items:center;gap:6px;}
.cl{width:18px;height:2.5px;border-radius:1px;}
.chart-wrap{max-width:var(--W);margin:16px auto;padding:0 var(--pad);}

/* Карта */
.map-card{position:relative;display:flex;flex-direction:column;overflow:hidden;}
.map-wrap{padding:20px;display:flex;justify-content:center;align-items:flex-start;gap:32px;}
.sweden-map{flex-shrink:0;}
.map-legend{flex:1;display:flex;flex-direction:column;gap:12px;}
.map-city-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:16px;color:inherit;text-decoration:none;}
.map-city-row:last-child{border-bottom:none;}
.map-city-row:hover{background:var(--soft);text-decoration:none;}
.map-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;}
.map-city-nm{flex:1;font-weight:600;}
.map-city-cond{font-size:14px;color:var(--muted);}
.map-city-tmp{font-size:21px;font-weight:700;}
.map-card .chips,.hero-map-card .chips{display:flex;gap:7px;padding:10px 14px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--line);}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:none;border-radius:999px;padding:7px 14px;font:600 14px var(--f);color:var(--muted);cursor:pointer;text-decoration:none;}
.chip:hover{color:var(--ink);text-decoration:none;}
.chip.on{background:var(--ink);color:var(--white);}
html[data-theme="dark"] .chip.on{background:#eef1f5;color:#141414;}
.cm-pt{background:var(--white);border-radius:7px;box-shadow:0 1px 4px rgba(0,0,0,.28);padding:2px 8px;font:700 12px var(--f);color:var(--ink);white-space:nowrap;border:none;}
.cm-pt b{color:var(--accent);}
.cm-pt.cm-ctr{font-size:13.5px;padding:4px 11px;border:2px solid var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.4);}
.dm-name-tip{background:rgba(255,255,255,.92);color:#1a2733;border:1px solid rgba(0,0,0,.12);border-radius:5px;font:600 11px var(--f);box-shadow:0 1px 3px rgba(0,0,0,.15);padding:2px 7px;white-space:nowrap;}
.dm-name-tip:before{display:none;}
#homeMap{height:560px;}
@media(max-width:1100px){#homeMap{height:480px;}}
@media(max-width:850px){#homeMap{height:400px;}#radarMap{height:440px !important;}}
@media(max-width:480px){#homeMap{height:340px;}#radarMap{height:380px !important;}}
.leaflet-container{z-index:0;isolation:isolate;font-family:var(--f);}
html[data-theme="dark"] img.leaflet-tile{filter:brightness(.75) contrast(1.05);}

/* Daylight / прочее */
.daylight-chart{width:100%;}
.dl-month-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:15px;}
.dl-month{width:50px;font-size:14px;font-weight:600;color:var(--muted);}
.dl-bar-wrap{flex:1;height:18px;background:var(--line);border-radius:3px;overflow:hidden;position:relative;}
.dl-bar-inner{display:flex;height:100%;width:100%;}
.dl-dark-seg{background:#1f2933;}
.dl-twi-seg{background:#5b7fa8;}
.dl-sun-seg{background:#ffd23f;}
.dl-hrs{font-size:14px;color:var(--muted);min-width:50px;text-align:right;}
.dl-today{border:2px solid var(--accent) !important;}
.blixt-wrap{background:var(--ink);border-radius:8px;padding:16px;text-align:center;margin-bottom:14px;color:#fff;}
.blixt-title{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:8px;}
.blixt-count{font-size:48px;font-weight:700;color:#ffd23f;}
.blixt-sub{font-size:14px;color:rgba(255,255,255,.6);margin-top:4px;}
.br-scale{display:flex;gap:4px;margin:10px 0;}
.br-seg{flex:1;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:rgba(255,255,255,.85);}
.br-active{box-shadow:0 0 0 2px var(--ink),0 0 0 4px rgba(0,0,0,.2);}

/* Feature-карточки главной */
.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px;}
.feat-card{background:var(--white);border-radius:10px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:10px;color:inherit;text-decoration:none;transition:.12s;position:relative;overflow:hidden;}
.feat-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--feat-accent,var(--link));}
.feat-card:hover{box-shadow:0 0 0 2px var(--ink) inset;text-decoration:none;}
.feat-ico{width:42px;height:42px;border-radius:10px;background:var(--feat-bg,var(--soft));display:flex;align-items:center;justify-content:center;font-size:23px;}
.feat-ico .fi{width:24px;height:24px;color:var(--feat-accent,var(--link));}
.feat-body h3{font-size:19px;font-weight:700;color:var(--ink);margin-bottom:4px;line-height:1.2;}
.feat-body p{font-size:15px;color:var(--muted);line-height:1.45;}
.feat-cta{margin-top:auto;padding-top:8px;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--feat-accent,var(--link));}
html[data-theme="dark"] .feat-card{--feat-bg:var(--soft) !important;}
.bad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:16px;}
.bad-grid .cnm{font-size:15px;}
.bad-grid .ccd{font-size:13px;}
.tilegrid{display:grid;grid-template-columns:repeat(11,1fr);gap:5px;}
.tilegrid-ca{grid-template-columns:repeat(10,1fr);gap:8px;}
.tilegrid-ca .tg{aspect-ratio:1.35/1;}
.tilegrid-ca .tg b{font-size:15px;}.tilegrid-ca .tg span{font-size:17px;font-weight:700;}
.tg{aspect-ratio:1/1;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-decoration:none;transition:transform .09s;}
.tg:hover{transform:scale(1.08);text-decoration:none;box-shadow:0 3px 10px rgba(0,0,0,.28);z-index:2;position:relative;}
.tg b{font-size:12px;font-weight:700;letter-spacing:.3px;line-height:1;}
.tg span{font-size:12px;font-weight:600;line-height:1.2;}
@media(max-width:850px){.tilegrid{gap:3px;}.tg{border-radius:5px;}.tg b{font-size:9px;}.tg span{font-size:9.5px;}}
html[data-theme="dark"] .tg{filter:saturate(.9) brightness(.92);}

/* Прежние SVG-иконки погоды (хабы, POI) */
.wx-svg{display:inline-block;vertical-align:middle;width:32px;height:32px;}
.fi .wx-svg{width:36px;height:36px;}
.cico .wx-svg{width:30px;height:30px;}
.fj-ico .wx-svg{width:38px;height:38px;}
.feat-ico .wx-svg{width:34px;height:34px;}
.hi .wx-svg{width:42px;height:42px;}
.ti{display:inline-block;vertical-align:-3px;width:14px;height:14px;margin-right:5px;color:var(--icon);flex-shrink:0;}
.ctag{display:inline-flex;align-items:center;gap:0;background:var(--soft);border-radius:999px;padding:5px 13px;font-size:15px;font-weight:600;color:var(--sub);}
.ctag .ti{margin-right:5px;}
.cur-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;}
.ctag-m{display:none;}

/* Прежняя почасовая лента (главная, POI) */
.hourly{background:var(--white);border-radius:10px;overflow:hidden;}
.h-in{max-width:var(--W);margin:0 auto;}
.h-scroll{display:flex;overflow-x:auto;scrollbar-width:none;}
.h-scroll::-webkit-scrollbar{display:none;}
.hc{flex:1 1 0;min-width:84px;padding:14px 6px;text-align:center;border-right:1px solid var(--line);text-decoration:none;color:inherit;}
.hc:last-child{border-right:none;}
.hc:hover{background:var(--soft);text-decoration:none;}
.hc.now{background:var(--soft);box-shadow:inset 0 -3px 0 var(--ink);}
.ht{font-size:15px;font-weight:700;color:var(--muted);margin-bottom:6px;}
.hc.now .ht{color:var(--ink);}
.hi{display:flex;justify-content:center;margin-bottom:6px;}
.hv{font-size:26px;font-weight:700;color:var(--ink);line-height:1;}
.hr{font-size:14px;color:var(--cold);margin-top:4px;font-weight:600;}
.hw{font-size:14px;color:var(--muted);margin-top:2px;font-weight:500;}

/* Прежний hero (главная, луна, гора, мир) — светлая карточка */
.hero-grid2{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:stretch;margin-bottom:16px;}
.hero-grid2 .hero-wx{display:flex;flex-direction:column;}
.hero-grid2 .hero-in{flex:1;}
.hero-wx{border-radius:10px;overflow:hidden;color:var(--ink);background:var(--white);}
.hero-hd{display:flex;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid var(--line);font-size:14px;letter-spacing:.06em;font-weight:600;color:var(--muted);text-transform:uppercase;}
.hero-hd span:last-child{font-weight:600;letter-spacing:0;text-transform:none;}
.hero-in{padding:20px 22px;display:flex;gap:26px;align-items:center;flex-wrap:wrap;}
.gauge{width:clamp(148px,20vw,180px);height:clamp(148px,20vw,180px);border-radius:50%;flex-shrink:0;position:relative;background:conic-gradient(var(--link) 0 var(--gpct,60%),var(--line) var(--gpct,60%) 100%);display:flex;align-items:center;justify-content:center;}
.gauge::before{content:'';position:absolute;inset:10px;border-radius:50%;background:var(--white);}
.gauge .gin{position:relative;text-align:center;z-index:2;}
.gauge .hilo{font-size:15px;font-weight:600;color:var(--muted);margin:0;}
.gauge .gt{font-size:clamp(44px,7vw,56px);font-weight:700;line-height:1;letter-spacing:-2px;color:var(--ink);}
.gauge .gt sup{font-size:21px;font-weight:600;color:var(--muted);letter-spacing:0;}
.gauge .glike{font-size:14px;color:var(--muted);margin-top:3px;}
.hero-mid{flex:0 0 auto;}
.hero-mid .wx-svg{width:64px;height:64px;}
.hero-mid .cond{font-size:24px;font-weight:700;margin-top:6px;max-width:230px;color:var(--ink);line-height:1.25;}
.hero-mid .warm{font-size:14px;color:var(--orange);margin-top:8px;max-width:240px;line-height:1.4;font-weight:600;}
.hero-rows{flex:1;min-width:240px;}
.hrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:16px;}
.hrow:last-child{border-bottom:none;}
.hrow .l{color:var(--muted);white-space:nowrap;}
.hrow .v{font-weight:700;font-size:17px;color:var(--ink);text-align:right;}
.hrow .v small{color:var(--muted);font-weight:600;}
.hero-map-card{display:flex;flex-direction:column;overflow:hidden;}
.hero-map-card #cityMap{flex:1;min-height:280px;background:var(--soft2);}
.ttt{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px;}
.tt3{background:var(--white);border-radius:10px;padding:16px 20px;display:flex;gap:16px;align-items:flex-start;}
.tt3 > .wx-svg{width:50px;height:50px;flex-shrink:0;margin-top:2px;}
.tt3 h3{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;margin:0;}
.tt3 h3 span{color:var(--faint);text-transform:none;letter-spacing:0;font-weight:600;}
.tt3 .hl{font-size:26px;font-weight:700;margin:5px 0 2px;}
.tt3 .hl small{font-size:17px;color:var(--muted);font-weight:600;}
.tt3 .pr{font-size:14px;color:var(--cold);font-weight:700;display:flex;align-items:center;gap:5px;}
.tt3 .pr .ti{width:13px;height:13px;flex-shrink:0;}
.tt3 p{font-size:14px;color:var(--muted);margin-top:5px;line-height:1.45;}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:10px;}
.tile{background:var(--white);border-radius:10px;overflow:hidden;}
.tile .tb{height:4px;}
.tile .th{font-size:14px;font-weight:600;letter-spacing:.06em;color:var(--muted);padding:13px 18px 6px;text-transform:uppercase;}
.tile .val{font-size:clamp(24px,2.6vw,32px);font-weight:700;padding:6px 18px 2px;line-height:1.1;}
.tile .sub{font-size:14px;color:var(--muted);padding:5px 18px 15px;line-height:1.4;}
.tile .sub a{font-weight:700;}

/* Формы и кнопки */
.btn{display:inline-flex;align-items:center;gap:6px;background:var(--ink);color:#fff;border:0;border-radius:999px;padding:9px 18px;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none;}
.btn:hover{text-decoration:none;background:#000;}
.btn.sec{background:var(--soft);color:var(--ink);}
html[data-theme="dark"] .btn{background:#eef1f5;color:#141414;}
input[type=text],input[type=search],select{border:1px solid #dfe3e8;background:var(--white);color:var(--ink);border-radius:10px;padding:9px 12px;font-size:17px;}
html[data-theme="dark"] input[type=text],html[data-theme="dark"] input[type=search],html[data-theme="dark"] select{border-color:var(--line);}

/* ── Футер ──────────────────────────────────────────────────────────────── */
.footer{background:var(--white);border-top:1px solid var(--line);padding:26px var(--pad) 30px;margin-top:20px;}
.ft-in{max-width:calc(var(--W) - 2*var(--pad));margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;}
.ft-logo{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:23px;color:var(--ink);text-decoration:none;}
.ft-logo:hover{text-decoration:none;}
.ft-logo .logo-mark{width:26px;height:26px;}
.ft-links{display:flex;gap:6px 18px;flex-wrap:wrap;}
.ft-links a{font-size:15px;color:var(--muted);}
.ft-links a:hover{color:var(--ink);text-decoration:none;}
.ft-copy{font-size:14px;color:var(--muted);width:100%;line-height:1.6;}
.ft-copy a{color:inherit;text-decoration:underline;}
.smhi-strip{display:none;}

/* ── Адаптив ────────────────────────────────────────────────────────────── */
@media (max-width:1060px){
  .grid{grid-template-columns:minmax(0,1fr);}
  .grid > aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .grid > aside > *+*{margin-top:0 !important;}
  .nav-row{display:none;}
  .nav.menu-open .nav-row{display:block;position:absolute;left:0;right:0;top:100%;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(0,0,0,.18);max-height:80vh;overflow-y:auto;z-index:2600;}
  .nav.menu-open .nav-links{flex-direction:column;align-items:stretch;padding:6px 0 10px;gap:0;flex-wrap:nowrap;}
  .nav.menu-open .nl{border-bottom:1px solid var(--line);margin:0;padding:12px var(--pad);font-size:17px;}
  .nav.menu-open .nl.on{border-bottom-color:var(--line);background:var(--soft);}
  .nav.menu-open .nl-sep{border-top:0;padding:14px var(--pad) 4px;}
  .nav.menu-open .nl-more{display:flex;padding:11px var(--pad);border-bottom:1px solid var(--line);font-size:16px;}
  .nav.menu-open .nav-tools{display:flex;align-items:center;gap:10px;padding:14px var(--pad);flex-wrap:wrap;}
  .nav-tools .ntl{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
  .nav-tools .ntl-2{margin-left:8px;}
  .four,.feat-grid,.risk-grid{grid-template-columns:1fr 1fr;}
  .three{grid-template-columns:1fr 1fr;}
  .hero-grid2{grid-template-columns:1fr;}
  .hero-map-card #cityMap{min-height:320px;}
  .ttt{grid-template-columns:1fr 1fr;}
  .tiles{grid-template-columns:1fr 1fr;}
}
@media (max-width:820px){
  .bar{gap:10px;min-height:58px;}
  .logo{font-size:21px;gap:7px;}
  .logo-mark{width:27px;height:27px;}
  .nav-end .loc,.nav-end .unit-btn,.nav-end .theme-btn{display:none;}
  .srch{padding:8px 40px 8px 13px;font-size:16px;}   /* 16px — iOS не зумит при фокусе */
  .bar{position:relative;}
  .nav .srch-form{position:static;}   /* подсказки — на всю ширину шапки, а не узкого поля */
  .nav .srch-dropdown{left:var(--pad);right:var(--pad);margin-top:0;}
  .bar.srch-focus .logo .wm{display:none;}   /* при вводе поле поиска занимает место вордмарка */
  .srch-btn{padding:6px 11px;font-size:13px;}
  .citystrip{display:none;}
  .ttt{display:none;}
  .hrow-sec{display:none;}
  .hero-in{padding:14px 14px;gap:14px;}
  .gauge{width:124px;height:124px;}
  .gauge .gt{font-size:38px;}
  .hero-mid{flex:1 1 0;min-width:0;}
  .hero-mid .cond{max-width:none;font-size:19px;}
  .hero-mid .warm{max-width:none;}
  .hero-map-card #cityMap{min-height:250px;}
  .hero-grid2 > .hourly .hc{flex:0 0 68px;padding:11px 4px;}
}
@media (max-width:760px){
  body{font-size:16px;}
  h1{font-size:28px;}
  .page,main.page{padding:12px var(--pad) 32px;}
  .ch{padding:13px 16px;}
  .cb{padding:14px 16px;}
  .cur{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 16px;}
  .now .ico{width:104px;height:104px;}.tempbig{font-size:92px;}
  .feel{font-size:21px;}.cond{font-size:22px;}
  .moregrid{grid-template-columns:minmax(0,1fr);padding:0 16px 6px;}
  details.more>summary{padding:0 16px 12px;}
  .obs{padding:10px 16px 14px;}
  .hwrap{grid-template-columns:minmax(0,1fr);}.hbtn{display:none;}
  .hours{padding-left:6px;}.hours li{width:88px;}.hours .t{font-size:38px;}.hours .ico{width:56px;height:56px;}.hours .h{font-size:19px;}
  details.day>summary{grid-template-columns:62px 50px minmax(0,1fr) 64px 16px;grid-template-rows:auto auto;gap:4px 8px;padding:12px 14px;}
  .dn{grid-row:1/3;align-self:center;}.dn b{font-size:19px;}.dn small{font-size:14px;}
  .dico{width:50px;height:50px;}
  .tt b{font-size:38px;}.tt span{font-size:24px;}
  .ph{grid-column:2/6;grid-row:2;}.ph b{font-size:19px;}.ph span{font-size:17px;}.ph span .ico{width:26px;height:26px;}
  .panel{padding:4px 14px 14px;}.dnight{grid-template-columns:minmax(0,1fr);}.foot{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid > aside{grid-template-columns:minmax(0,1fr);}
  .alert{flex-wrap:wrap;gap:2px 10px;font-size:17px;}.alert .txt{order:3;flex-basis:100%;}
  .sunmoon{grid-template-columns:1fr 1fr;padding:14px 16px;}
  .act{padding:14px 16px;}
  .two,.three{grid-template-columns:1fr;gap:12px;}
  .four,.feat-grid,.risk-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .six{grid-template-columns:1fr 1fr;}
  .frow{gap:10px;flex-wrap:wrap;}
  .fd{width:auto;font-size:15px;flex:1 0 100%;white-space:normal;margin-bottom:-4px;}
  .fc{font-size:15px;}
  .fhi{font-size:22px;}.flo{font-size:17px;}.frain{font-size:14px;min-width:40px;}
  a.frow:hover{margin:0;padding:12px 0;}
  .reg-tmp{font-size:40px;}
  .ctmp{font-size:22px;}
  .cnm{font-size:16px;}.ccd{font-size:13px;}
  .dtv{font-size:28px;}
  .fj-tmp{font-size:30px;}
  .feat-card{padding:13px 12px 11px;gap:6px;}
  .feat-body h3{font-size:16px;}.feat-body p{font-size:13px;}
  .editorial{padding:16px 16px;}
  .ed-title{font-size:20px;}
  .hc{min-width:66px;padding:10px 4px;}
  .hv{font-size:20px;}
  .footer{padding:20px var(--pad) 24px;}
  .ft-links{gap:6px 14px;}
}
@media (max-width:480px){
  .logo .wm{font-size:19px;}
  .srch-btn{display:none;}
  .srch{padding-right:14px;}
  .four,.feat-grid,.six,.bad-grid,.risk-grid{grid-template-columns:1fr;}
  .sunmoon{grid-template-columns:1fr 1fr;}
  .clim{padding:12px;gap:8px;}
  .clim b{font-size:22px;}
  .tempbig{font-size:84px;}
  .now .ico{width:96px;height:96px;}
}

/* Печать */
/* ── Главная: заголовок H1 (Фаза 8) ───────────────────────────────────── */
.home-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;margin:2px 0 14px;}
.home-head h1{font-size:clamp(24px,2.6vw,32px);line-height:1.15;margin:0;}
.home-sub{font-size:16px;color:var(--muted);}
@media (max-width:560px){.home-head{margin:0 0 10px;}.home-head h1{font-size:22px;}.home-sub{display:none;}}   /* телефон: карта и «сейчас» выше */

/* Главная (17.09.2026): карта Канады на всю ширину, «Canada right now» (живые плитки), лента разделов */
.home-map{margin-top:16px;}
.home-map #homeMap{width:100%;height:clamp(360px,52vh,540px);background:var(--soft2);position:relative;overflow:hidden;}
.cn{margin-top:22px;}
.cn-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 2px 10px;}
.cn-head h2{margin:0;font-size:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.cn-head span{font-size:14px;color:var(--muted);}
.cn-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}   /* 17.09.2026: сетка 4×2 — плитки одной ширины (решение Димы); плиток всегда 8 */
.cn-tile{display:flex;flex-direction:column;gap:8px;padding:16px 18px;background:var(--white);border-radius:10px;color:var(--ink);text-decoration:none;min-height:168px;min-width:0;}
.cn-tile:hover{text-decoration:none;box-shadow:inset 0 0 0 2px var(--line);}
.cn-lbl{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.cn-lbl .tico{color:var(--c);flex:none;}
.cn-val{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;}
.cn-val b{font-size:40px;font-weight:700;line-height:1;}
.cn-val i{font-style:normal;font-size:19px;font-weight:600;}
.cn-txt{font-size:15px;color:var(--muted);line-height:1.3;}
.chips-sec{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.chips-sec a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px 10px 14px;background:var(--white);border-radius:999px;font-size:17px;font-weight:600;color:var(--ink);text-decoration:none;}
.chips-sec a:hover{text-decoration:none;background:var(--soft2);}
.chips-sec .tico{display:block;}
.home-bottom{margin-top:22px;}
.cn-txt{overflow:hidden;text-overflow:ellipsis;}
.cn-scale{display:block;height:6px;border-radius:6px;position:relative;margin:3px 0 1px;}
.cn-scale i{position:absolute;top:-4px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #3a4148;transform:translateX(-50%);}
.kps{background:linear-gradient(90deg,#aab4bf 0 44%,#2e9e5b 44% 56%,#f5c400 56% 67%,#ef6c00 67% 78%,#c62828 78%);}
.cn-lines{display:flex;flex-direction:column;gap:4px;font-size:15px;color:var(--sub);min-width:0;}
.cn-lines span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cn-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:0;}
.cn-ex{display:flex;flex-direction:column;gap:6px;min-width:0;}
.cn-ex span{display:flex;align-items:baseline;gap:9px;min-width:0;}
.cn-ex b{font-size:34px;font-weight:700;line-height:1;flex:none;}
.cn-ex em{font-style:normal;font-size:18px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
@media (max-width:1060px){.cn-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:900px){.cn-grid{gap:10px;}.cn-tile{min-height:0;padding:13px 14px;gap:6px;}.cn-val b{font-size:30px;}.cn-val i{font-size:16px;}.cn-txt{font-size:14px;}.cn-ex b{font-size:26px;}.cn-ex em{font-size:16px;}.cn-lines{font-size:14px;}}
@media (max-width:400px){.cn-lbl{font-size:12px;letter-spacing:.03em;gap:6px;}.cn-val b{font-size:26px;}.cn-ex b{font-size:22px;}.cn-ex em{font-size:15px;}}
@media (max-width:560px){.chips-sec{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;}.chips-sec a{flex:none;font-size:16px;padding:9px 14px 9px 11px;}}

/* ── 404 (Фаза 8) ───────────────────────────────────────────────────────── */
.nf-page{padding-top:34px;min-height:52vh;}
.nf-code{font-size:15px;font-weight:700;letter-spacing:.12em;color:var(--muted);margin:0 0 2px;}
.nf-page h1{margin:0 0 8px;}
.nf-text{color:var(--sub);max-width:640px;margin:0 0 16px;}
.nf-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}

/* ── /search/ (Фаза 7) ─────────────────────────────────────────────────── */
.sr-page{padding-top:22px;}
.sr-h1{font-size:clamp(34px,5vw,48px);line-height:1.05;margin-bottom:16px;}
.sr-form{position:relative;max-width:640px;margin:0 0 22px;}
input.sr-input{width:100%;padding:13px 18px;font:inherit;font-size:18px;border:1px solid #cfd6de;border-radius:12px;background:var(--white);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.04);}
input.sr-input:focus{outline:none;border-color:var(--link);box-shadow:0 0 0 3px rgba(11,98,196,.15);}
.sr-page .six{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));}   /* одна карточка не растягивается на всю ширину */
.fsa{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:.92em;letter-spacing:.02em;}   /* K0A: ноль не путается с «O» */
.sr-meta{color:var(--muted);margin:0 0 14px;}
.sr-h2{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px;}
.sr-h2-row{display:flex;justify-content:space-between;align-items:center;}
.sr-note{font-size:14px;color:var(--muted);margin:10px 0 0;}
.sr-empty{padding:28px;text-align:center;}
.sr-empty p:first-child{font-size:17px;}
.city-card .sr-ico{color:var(--icon);}
.sr-recent{margin-bottom:6px;}

@media print{
  .nav,.citystrip,.footer,.hbtn{display:none;}
  .page{padding:0;}
  details{display:block;}
}

/* ════════════════════════════════════════════════════════════════════════
   17.09.2026, волна 1 «все страницы — в стиле нового шаблона»: хабы /hourly/ /14-day/ /30-day/,
   вкладки 30-Day · Radar · Climate, главная (H1 внизу). Компоненты — includes/ui_hub.php.
   ════════════════════════════════════════════════════════════════════════ */
.head-intro{font-size:18px;color:var(--sub);max-width:860px;margin:-4px 0 14px;line-height:1.45;}
.home-about{margin-top:16px;padding:18px 22px;background:var(--white);border-radius:10px;}
.home-about h1{font-size:24px;line-height:1.2;margin:0 0 4px;}
.home-about p{margin:0;color:var(--muted);font-size:17px;}

/* Сетки значений .clim: 2 / 3 / 4 колонки */
.clim.c2{grid-template-columns:repeat(2,minmax(0,1fr));}
.clim.c3{grid-template-columns:repeat(3,minmax(0,1fr));}
.clim.c4{grid-template-columns:repeat(4,minmax(0,1fr));}
.clim b{overflow-wrap:anywhere;}
@media (max-width:560px){.clim.c4{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Поиск хаба */
.hs2 .cb{display:flex;flex-direction:column;gap:12px;}
.hs2 .lth-search{display:flex;max-width:none;flex:none;position:relative;}
.hs2 .lth-search input{flex:1;min-width:0;border:1px solid #dfe3e8;border-right:0;border-radius:999px 0 0 999px;padding:11px 16px;font:inherit;font-size:17px;background:var(--soft);color:var(--ink);outline:none;}
.hs2 .lth-search input:focus{border-color:var(--link);background:var(--white);outline:none;}
.hs2 .lth-search button{border:0;background:var(--ink);color:#fff;border-radius:0 999px 999px 0;padding:0 18px;font:inherit;font-size:15px;font-weight:700;cursor:pointer;}
.hs2 .lth-search button:hover{background:#000;}
html[data-theme="dark"] .hs2 .lth-search button{color:#141414;}   /* 17.09.2026: в тёмной теме --ink светлый — белая «Go» пропадала */
html[data-theme="dark"] .hs2 .lth-search button:hover{background:#fff;}
.hs2-geo{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--soft);border-radius:12px;color:var(--ink);text-decoration:none;}
.hs2-geo:hover{background:var(--soft2);text-decoration:none;}
.hs2-geo span{display:flex;flex-direction:column;min-width:0;flex:1;}
.hs2-geo b{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hs2-geo small{font-size:14px;color:var(--muted);}
.hs2-geo .ia{width:18px;height:18px;color:var(--muted);flex:none;}

/* Компактные ленты (карточки городов хабов) */
.mh{display:grid;grid-template-columns:repeat(var(--n,8),minmax(0,1fr));gap:4px;padding:12px 12px 14px;}
.mh>div{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center;padding:4px 0;}
.mh .h{font-size:15px;font-weight:600;color:var(--muted);white-space:nowrap;}
.mh .ico{width:42px;height:42px;margin:2px 0;}
.mh b{font-size:22px;font-weight:700;line-height:1.05;}
.mh small{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:2px;white-space:nowrap;min-height:18px;}
.mh small.lo{font-size:16px;min-height:0;}
.mh .dro{width:11px;height:14px;}
.ccards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px;}
.ccards.c2{grid-template-columns:repeat(2,minmax(0,1fr));}
.ccards>.card{margin:0;display:flex;flex-direction:column;}
.ccard .ch{padding:12px 16px;}
.ccard .ch h2{font-size:21px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--ink);flex-direction:column;align-items:flex-start;gap:0;min-width:0;}
.ccard .ch h2 a{color:inherit;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.ccard .ch h2 a:hover{text-decoration:underline;}
.ccard .ch h2 small{font-size:14px;font-weight:500;color:var(--muted);}
.cc-now{display:flex;align-items:center;gap:2px;flex:none;}
.cc-now .ico{width:38px;height:38px;}
.cc-now b{font-size:28px;font-weight:700;}
.cc-more{display:flex;align-items:center;gap:4px;margin-top:auto;padding:10px 16px 12px;border-top:1px solid var(--line);font-size:15px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--ink);text-decoration:none;}
.cc-more:hover{text-decoration:none;background:var(--soft);}
.cc-more .ia{width:15px;height:15px;}
.cc-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 14px 14px;}
.cc-facts div{background:var(--soft);border-radius:8px;padding:6px 8px;text-align:center;min-width:0;}
.cc-facts small{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cc-facts b{font-size:18px;white-space:nowrap;}

/* Все города по провинциям */
.pgrid{columns:3 300px;column-gap:16px;margin-bottom:16px;}
.pgrid>.card{break-inside:avoid;margin:0 0 16px;display:block;}
.pgrid>.card+.card{margin-top:0;}
.plinks{list-style:none;margin:0;padding:10px 22px 14px;columns:2;column-gap:18px;}
.plinks li{break-inside:avoid;padding:4px 0;font-size:17px;}
.plinks a{color:var(--ink);text-decoration:none;}
.plinks a:hover{color:var(--link);text-decoration:underline;}
/* 17.09.2026 (Дима: «сплошной текст»): строка города с погодой дня — название, значок, максимум и минимум */
.plinks.wx{columns:1;padding:4px 10px 8px;}
.plinks.wx li{padding:0;}
.plinks.wx a{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:10px;}
.plinks.wx a:hover{background:var(--soft);color:var(--ink);text-decoration:none;}
.plinks.wx .nm{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.plinks.wx .ico{width:26px;height:26px;flex:none;}
.plinks.wx b{font-size:18px;font-weight:700;}
.plinks.wx small{font-size:16px;color:var(--muted);min-width:34px;text-align:right;}

/* Текст хаба */
.txtcard .cb{font-size:18px;color:var(--sub);line-height:1.6;}
.txtcard .cb p{max-width:920px;}
.txtcard h3{font-size:20px;color:var(--ink);}

/* Карта-плеер */
.stepmap{margin-top:16px;}
.stepmap #fcStepMap{width:100%;height:clamp(380px,60vh,600px);background:var(--soft2);}
.fm-ctl{display:flex;align-items:center;gap:6px;flex:none;}
.fm-btn{border:0;background:var(--soft2);color:var(--ink);border-radius:999px;width:38px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;cursor:pointer;}
.fm-btn:hover{background:var(--line);}
.fm-btn.on{background:var(--ink);color:var(--white);}
.fm-btn svg{width:18px;height:18px;}
.fm-prev{transform:rotate(180deg);}
#fmLabel{font-size:17px;font-weight:700;min-width:96px;text-align:center;white-space:nowrap;}
.fm-mk{background:none;border:0;}
.fm-pill{display:flex;align-items:center;background:#fff;border-radius:999px;box-shadow:0 1px 4px rgba(0,0,0,.32);overflow:hidden;width:max-content;}
.fm-ic{display:flex;align-items:center;padding:2px 1px 2px 5px;}
.fm-ic svg,.fm-ic .fmi{width:21px;height:21px;display:block;}
.fm-t{color:#fff;font:700 14px/1 var(--f);padding:6px 9px 6px 6px;}

/* 30 дней — календарь */
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:14px 16px 16px;}
.cal .wd{font-size:14px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);text-align:center;padding:0 0 2px;}
.cal>div{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 3px 9px;border-radius:10px;background:var(--soft);min-width:0;}
.cal .dt{font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap;}
.cal .ico{width:46px;height:46px;}
.cal b{font-size:24px;font-weight:700;line-height:1;}
.cal .lo{font-size:17px;color:var(--muted);}
.cal .pp{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:2px;white-space:nowrap;min-height:18px;}
.cal .today{box-shadow:inset 0 0 0 2px var(--ink);}
/* 17.09.2026: дни нормы — серый значок и тихое «avg» (как «Avg» у weather.com), не синяя надпись NORMAL */
.cal .nchip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:46px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.cal .nchip .tico{width:26px;height:26px;color:var(--faint);}
.cal .nchip em{font-style:normal;}
.cal .nrm b::before{content:'≈';font-size:.75em;font-weight:600;color:var(--muted);margin-right:1px;}
.cal .pp{text-align:center;line-height:1.1;}
.card-lead{margin:0;padding:14px 22px 0;font-size:17px;color:var(--sub);max-width:900px;}
.nw-tbl td{white-space:nowrap;}
.cal-leg{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 22px;border-top:1px solid var(--line);font-size:15px;color:var(--muted);}
.cal-leg i{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:6px;background:var(--soft2);box-shadow:inset 0 0 0 1px var(--line);}
.cal-leg i.nrm{background:var(--soft2);box-shadow:inset 0 0 0 1px var(--line);position:relative;}
.cal-leg i.nrm::after{content:'≈';position:absolute;inset:0;font-style:normal;font-size:11px;line-height:14px;text-align:center;color:var(--icon);font-weight:700;}
.cal-leg i.tdy{background:transparent;box-shadow:inset 0 0 0 2px var(--ink);}
.hr-tbl td.tm small{color:var(--muted);font-weight:500;}
.hr-tbl td.srcc{font-size:15px;color:var(--muted);}

/* Выходные */
.wkl{list-style:none;margin:0;padding:12px 16px 14px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;}
.wkl li{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--soft);border-radius:12px;min-width:0;}
.wk-d{display:flex;flex-direction:column;min-width:0;flex:1;font-size:18px;font-weight:600;}
.wk-d small{font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.wk-i{display:flex;flex:none;align-items:center;}.wk-i .ico{width:34px;height:34px;}.wk-i .nchip{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 4px;}
.wk-i .nchip .tico{width:22px;height:22px;color:var(--faint);}
.wk-i .nchip em{font-style:normal;}
.wk-t{display:flex;flex-direction:column;align-items:flex-end;flex:none;min-width:44px;}
.wk-t b{font-size:22px;line-height:1.05;}.wk-t small{font-size:16px;color:var(--muted);}

/* Климат — графики */
.cc-wrap{padding:26px 16px 12px;}
.tchart{position:relative;height:230px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;}
.tc-col{position:relative;height:100%;min-width:0;}
.tc-bar{position:absolute;left:18%;right:18%;border-radius:6px;min-height:4px;}
.tc-col.now-m .tc-bar{box-shadow:0 0 0 2px var(--ink);}
.tc-hi,.tc-lo{position:absolute;left:50%;transform:translateX(-50%);font-style:normal;font-size:15px;font-weight:700;white-space:nowrap;color:var(--ink);}
.tc-hi{top:-21px;}.tc-lo{bottom:-21px;color:var(--muted);font-weight:600;}
.tc-zero{position:absolute;left:0;right:0;border-top:1px dashed var(--faint);pointer-events:none;}
.tc-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;margin-top:26px;border-top:1px solid var(--line);padding-top:8px;}
.tc-months span{text-align:center;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);}
.tc-months span.now-m{color:var(--ink);font-weight:700;}
.pchart{height:190px;}
.pc-bar{position:absolute;left:16%;right:16%;bottom:0;border-radius:6px 6px 2px 2px;background:#8fbde6;}
.tc-col.wet .pc-bar{background:var(--cold);}
.tc-col.now-m .pc-bar{box-shadow:0 0 0 2px var(--ink);}
.pc-bar em{position:absolute;left:50%;top:-21px;transform:translateX(-50%);font-style:normal;font-size:14px;font-weight:600;white-space:nowrap;color:var(--sub);}
.pchart+.tc-months{margin-top:6px;}

/* Радар места */
.rc-map{position:relative;}
.rc-map #cityRadarMap{width:100%;height:clamp(420px,62vh,660px);background:var(--soft2);}
.rc-bar{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px 22px;border-top:1px solid var(--line);font-size:15px;color:var(--muted);}
.rc-bar a{font-weight:700;}
.rc-bar .rc-src{margin-left:auto;}
.rc-leg{display:flex;flex-wrap:wrap;gap:16px;padding:0 22px 14px;}
.rc-leg figure{margin:0;}
.rc-leg img{max-height:150px;width:auto;background:#fff;border:1px solid var(--line);border-radius:6px;display:block;}
.rc-leg figcaption{font-size:14px;color:var(--muted);margin-top:4px;}
.rc-time{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;}

/* Сообщение «данных пока нет» */
.empty-note{padding:26px 22px;color:var(--sub);font-size:18px;}
.empty-note b{color:var(--ink);}

@media (max-width:1060px){
  .ccards{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  .head-intro{font-size:16px;}
  .ccards,.ccards.c2{grid-template-columns:minmax(0,1fr);gap:12px;}
  .mh{padding:10px 6px 12px;gap:2px;}.mh .ico{width:34px;height:34px;}.mh b{font-size:19px;}.mh .h{font-size:13px;}.mh small{font-size:12px;}.mh small.lo{font-size:14px;}
  .plinks{padding:8px 16px 12px;}
  .cal{gap:3px;padding:10px 6px 12px;}.cal>div{padding:5px 1px 7px;border-radius:8px;}.cal .dt{font-size:12px;}.cal .ico{width:30px;height:30px;}
  .cal b{font-size:17px;}.cal .lo{font-size:14px;}.cal .pp{display:none;}.cal .wd{font-size:12px;letter-spacing:0;}.cal .nchip{height:30px;font-size:10px;letter-spacing:0;}.card-lead{padding:12px 16px 0;font-size:16px;}
  .cal-leg{padding:10px 16px;font-size:14px;}
  .tchart{gap:3px;height:200px;}.tc-months{gap:3px;}.tc-hi,.tc-lo{font-size:12px;}.tc-months span{font-size:11px;letter-spacing:0;}
  .tc-bar{left:10%;right:10%;}.pc-bar{left:10%;right:10%;}.pc-bar em{font-size:11px;}
  .rc-bar{padding:10px 16px;}.rc-bar .rc-src{margin-left:0;}
  #fmLabel{min-width:0;font-size:15px;}.fm-btn{width:34px;height:32px;}
  .stepmap .ch{flex-wrap:wrap;}
}
@media (max-width:420px){
  .mh .ico{width:30px;height:30px;}.mh b{font-size:17px;}
  .pc-bar em{display:none;}
}

/* ════════════════════════════════════════════════════════════════════════
   17.09.2026, волна 2: разделы (молнии, зимние штормы, snow day, местная погода, радар, предупреждения…).
   Компоненты — ui_rows_card · ui_meter_card · ui_defs_card · ui_map_card · ui_chips_card (includes/ui_hub.php).
   ════════════════════════════════════════════════════════════════════════ */
/* Строки списка */
.lrows{list-style:none;margin:0;padding:0;}
.lrows>li{border-bottom:1px solid var(--line);}
.lrows>li:last-child{border-bottom:0;}
.lr{display:flex;align-items:center;gap:12px;padding:10px 22px;color:var(--ink);text-decoration:none;min-width:0;}
a.lr:hover{background:var(--soft);text-decoration:none;}
.lr-ic{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--c,var(--icon));}
.lr-ic .ico{width:40px;height:40px;}
.lr-ic .tico{width:24px;height:24px;}
.lr-dot{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--c,var(--faint));flex:none;}
.lr-tx{flex:1;min-width:0;display:flex;flex-direction:column;}
.lr-tx b{font-size:19px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lr-tx small{font-size:15px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lrows.wrap .lr-tx b,.lrows.wrap .lr-tx small{white-space:normal;}
.lrows.compact .lr{padding:7px 18px;gap:10px;}
.lrows.compact .lr-ic{width:16px;height:auto;}
.lrows.compact .lr-tx b{font-size:17px;font-weight:500;}
.lrows.compact .lr-v{font-size:19px;}
.lr-v{flex:none;display:flex;flex-direction:column;align-items:flex-end;font-size:24px;font-weight:700;line-height:1.1;color:var(--vc,var(--ink));white-space:nowrap;}
.lr-v small{font-size:13px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);}

/* Карточка-шкала */
.mt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;padding:20px 22px 18px;align-items:center;}
.mt-val{display:flex;align-items:baseline;gap:4px;color:var(--c,var(--ink));}
.mt-val b{font-size:100px;font-weight:700;line-height:.9;letter-spacing:-3px;}
.mt-val i{font-style:normal;font-size:36px;font-weight:600;color:var(--muted);}
.mt-lbl{font-size:27px;font-weight:700;margin:10px 0 0;color:var(--c,var(--ink));}
.mt-main .scale{display:block;margin:16px 0 6px;}
.mt-note{font-size:18px;color:var(--sub);margin:10px 0 0;line-height:1.4;}
.ods{background:linear-gradient(90deg,#2e9e5b,#f5c400 38%,#ef6c00 62%,#c62828);}
.mt-rows dt{font-size:19px;}
.mt-rows dd{font-size:20px;}

/* Определения */
.defs{margin:0;padding:4px 22px 10px;}
.defs>div{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:4px 16px;padding:10px 0;border-bottom:1px solid var(--line);align-items:baseline;}
.defs>div:last-child{border-bottom:0;}
.defs dt{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;}
.defs dd{margin:0;font-size:17px;color:var(--sub);line-height:1.4;}
aside .defs>div{grid-template-columns:minmax(0,1fr);gap:2px;}
.grid+.card,.grid+.ccards,.grid+.slbl{margin-top:16px;}
.chips-sec+.card,.pgrid+.card,.ccards+.card{margin-top:16px;}
.grid+.stack,.poi-after{margin-top:16px;}
.ccards.c4{grid-template-columns:repeat(4,minmax(0,1fr));}
.plinks.c3{columns:3;}
@media (max-width:760px){.plinks.c3{columns:2;}}
@media (max-width:1060px){.ccards.c4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.ccards.c4{grid-template-columns:minmax(0,1fr);}}

/* Карта раздела */
.mapcard .mapbox{width:100%;height:clamp(420px,62vh,660px);background:var(--soft2);position:relative;}
.seg{display:inline-flex;background:var(--soft2);border-radius:999px;padding:3px;gap:2px;}
.seg button{border:0;background:transparent;border-radius:999px;padding:6px 13px;font:600 15px/1.2 var(--f);color:var(--muted);cursor:pointer;white-space:nowrap;}
.seg button:hover{color:var(--ink);}
.seg button.on{background:var(--white);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.14);}
.mstat{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink);}
.mstat i{width:10px;height:10px;border-radius:50%;background:var(--c,var(--faint));flex:none;}
.mapcard .rc-leg img{max-height:190px;}
.mapcard~.grid,.mapcard~.stack{margin-top:16px;}   /* ~, а не +: между картой и сеткой стоит <script> данных карты */
.leg-note{flex-basis:100%;margin:0;font-size:15px;color:var(--muted);}
.card-img{display:block;width:100%;height:auto;}
.rdr-player{display:none;align-items:center;gap:8px;flex-wrap:wrap;}
.rdr-player .fm-btn.on{background:var(--ink);color:var(--white);}
#radarSeek{width:200px;max-width:46vw;accent-color:var(--ink);cursor:pointer;}
#radarFrameLabel{min-width:110px;}
#radarFrameLabel.fut{color:var(--orange);}
.lt-rain{filter:grayscale(1) contrast(1.15);}
.wm-lbl .wm-ic{width:18px;height:18px;vertical-align:-4px;margin-right:3px;}

/* Пилюли-ссылки */
.chiplinks{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px 16px;}
.chiplinks .chip{font-size:16px;padding:8px 14px;color:var(--ink);}
.chiplinks .chip b{font-weight:700;color:var(--c,var(--muted));}
.chiplinks .chip:hover{background:var(--soft2);}

/* Столбики по часам (ui_bars_card: UV, дождь) */
.hbars{display:grid;grid-template-columns:repeat(var(--n,16),minmax(0,1fr));gap:4px;height:230px;padding:18px 16px 12px;}
.hb{display:flex;flex-direction:column;align-items:center;min-width:0;}
.hb-t{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:0;}
.hb-v{font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;margin-bottom:3px;}
.hbars.dense .hb-v{font-size:13px;}
.hb-t i{display:block;width:70%;min-height:3px;max-height:calc(100% - 22px);border-radius:5px 5px 2px 2px;}
.hb-h{font-size:13px;color:var(--muted);margin-top:6px;white-space:nowrap;}
.hb.now-m .hb-t i{box-shadow:0 0 0 2px var(--ink);}
.hb.now-m .hb-h{color:var(--ink);font-weight:700;}

/* Предупреждения (alerts.php) */
.alc{border-left:6px solid var(--c);}
.alc .ch h2{font-size:21px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--ink);}
.alc-tag{flex:none;background:var(--c);color:#fff;border-radius:999px;padding:3px 11px;font-size:14px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;}
.alc-tag.dk{color:#141414;}
.alc-rows{padding:2px 22px 4px;}
.alc-rows div{align-items:flex-start;}
.alc-rows dt{flex:none;min-width:110px;font-size:15px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding-top:2px;}
.alc-rows dd{flex:1;font-size:17px;font-weight:500;text-align:left;line-height:1.4;}
.alc-txt{padding:0 22px 18px;font-size:17px;line-height:1.55;color:var(--sub);max-width:920px;overflow-wrap:anywhere;}

/* Луна (moon.php): фаза рисунком, календарь, график ночи метеоров */
.moon{display:block;flex:none;}
.moon-dk{fill:#39424e;}
.moon-lt{fill:#f3e3a6;}
.moon-rim{fill:none;stroke:rgba(0,0,0,.14);stroke-width:1;}
html[data-theme="dark"] .moon-dk{fill:#0e1318;}
html[data-theme="dark"] .moon-rim{stroke:rgba(255,255,255,.16);}
.mt-vis{display:flex;}
.mt-vis .moon,.mt-vis .mt-sun{width:132px;height:132px;}
.lr-ic .moon{width:36px;height:36px;}
.mcal>div{gap:2px;}
.mcal .moon{width:40px;height:40px;margin:3px 0;}
.mcal .pp{font-size:14px;min-height:30px;align-items:flex-start;}
.mcal .mph{font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--icon);white-space:normal;line-height:1.1;text-align:center;}
.mnc .cb>svg{display:block;width:100%;max-width:820px;height:auto;margin:0;}   /* только график: иконка заголовка — тоже svg */
.mnc svg text{font:600 16px var(--f);fill:var(--muted);}
.mnc-band{fill:#e7edf6;}
html[data-theme="dark"] .mnc-band{fill:#222a33;}
.mnc-grid{stroke:var(--line);stroke-width:1;}
.mnc-hz{stroke:#c3cddb;stroke-width:1.5;}
.mnc-area{fill:#c25a00;}
.mnc-rad{fill:none;stroke:#c25a00;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;}
.mnc-moon{fill:none;stroke:#7a8699;stroke-width:2;stroke-dasharray:6 5;stroke-linejoin:round;stroke-linecap:round;}
.mnc-best{stroke:#c25a00;stroke-width:1;stroke-dasharray:3 4;opacity:.5;}
.mnc-dot{fill:#c25a00;stroke:#fff;stroke-width:2.5;}
.mnc svg text.mnc-tr{fill:#c25a00;font-weight:700;}
.mnc svg text.mnc-tm{fill:#7a8699;font-weight:700;}
.mnc-hit{fill:#12233f;fill-opacity:0;}
.mnc-hit:hover{fill-opacity:.06;}
.mnc-leg{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:15px;color:var(--muted);margin:0 0 10px;}
.mnc-leg span{display:inline-flex;align-items:center;gap:7px;}
.mnc-leg i{width:17px;height:3px;border-radius:2px;background:#c25a00;flex:none;}
.mnc-leg i.m{height:0;border-top:2px dashed #7a8699;background:none;border-radius:0;}
.mnc-leg i.n{width:15px;height:12px;border-radius:3px;background:#e7edf6;border:1px solid #d3dce9;}
.mnc-cap{font-size:16px;color:var(--muted);line-height:1.5;margin:12px 0 0;max-width:860px;}

/* Поиск (search.php) */
.srbox .sr-form{display:flex;max-width:720px;margin:0 0 10px;}
.srbox input.sr-input{border-radius:999px 0 0 999px;border-right:0;background:var(--soft);box-shadow:none;}
.srbox input.sr-input:focus{background:var(--white);box-shadow:none;}
.srbox .sr-form button{flex:none;border:0;background:var(--ink);color:#fff;border-radius:0 999px 999px 0;padding:0 22px;font:inherit;font-size:16px;font-weight:700;cursor:pointer;}
html[data-theme="dark"] .srbox .sr-form button{background:#eef1f5;color:#141414;}
.srbox .sr-note{margin:0;}
.srgroup .six{padding:14px 16px 16px;margin:0;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));}
.srgroup .city-card{background:var(--soft);}
.srgroup .city-card:hover{box-shadow:inset 0 0 0 2px var(--line);}

/* Маркеры и попапы data-map.js */
.dm-mk{background:none;border:0;}
.dm-pin{display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35);font:700 12px/1 var(--f);}
.dm-pop b{display:block;font:700 15px/1.25 var(--f);color:#141414;}
.dm-pop small{display:block;font:500 14px/1.3 var(--f);color:#6a6f76;margin-top:2px;}
.dm-pop .dm-badge{display:inline-block;margin-top:6px;padding:2px 10px;border-radius:999px;font:700 14px/1.3 var(--f);}
.dm-pop a{display:inline-block;margin-top:6px;font:700 14px/1.3 var(--f);}
.dm-name-tip{font-family:var(--f);}

@media (max-width:760px){
  .lr{padding:9px 16px;gap:10px;}.lr-tx b{font-size:17px;}.lr-tx small{font-size:14px;}.lr-v{font-size:21px;}
  .lr-ic,.lr-ic .ico{width:34px;height:34px;}
  .mt{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px 16px;}.mt-val b{font-size:76px;}.mt-lbl{font-size:23px;}.mt-note{font-size:16px;}
  .defs{padding:2px 16px 8px;}.defs>div{grid-template-columns:minmax(0,1fr);gap:2px;}
  .chiplinks{padding:12px 16px 14px;}
  .mapcard .ch{flex-wrap:wrap;}
  .seg button{padding:6px 10px;font-size:14px;}
  .mt-vis .moon,.mt-vis .mt-sun{width:104px;height:104px;}
  .mcal .moon{width:28px;height:28px;margin:2px 0;}.mcal .pp{display:flex;font-size:11px;min-height:22px;}.mcal .mph{font-size:9px;letter-spacing:0;}
  .mnc svg text{font-size:25px;}.mnc svg text.tx-alt{display:none;}
  .hbars{gap:2px;padding:14px 8px 10px;height:200px;}.hb-v,.hbars.dense .hb-v{font-size:11px;}.hb-h{font-size:11px;}.hb:nth-child(even) .hb-h,.hbars.dense .hb:nth-child(even) .hb-v{visibility:hidden;}
  .hbars.dense .hb:nth-child(4n+3) .hb-h{visibility:hidden;}
  .alc .ch{flex-wrap:wrap;}.alc .ch h2{font-size:19px;}
  .alc-rows{padding:0 16px 2px;}.alc-rows div{flex-direction:column;gap:2px;}.alc-txt{padding:0 16px 14px;font-size:16px;}
}

/* ════════════════════════════════════════════════════════════════════════
   17.09.2026, волна 3: объекты и мир (курорты, горы, достопримечательности, острова, /world/).
   Компоненты — includes/ui_poi.php и ui_hub.php; здесь только то, чего не было в волнах 1–2.
   ════════════════════════════════════════════════════════════════════════ */
/* Страна / регион мира (includes/world_area.php): матрица климата «места × месяцы» */
.wa-mx td:first-child{text-transform:none;letter-spacing:0;font-size:16px;color:var(--ink);font-weight:600;white-space:nowrap;}
.wa-mx td:first-child a{color:inherit;text-decoration:none;}
.wa-mx td:first-child a:hover{color:var(--link);text-decoration:underline;}
#climate .ch{flex-wrap:wrap;gap:8px 16px;}
/* Тёмная тема: цвета значений из данных (--vc, --c, style="color") рассчитаны на светлый фон — осветляем,
   иначе синий #1565c0 почти сливается с тёмной карточкой. Белый текст от brightness не меняется. */
html[data-theme="dark"] .lr-v,html[data-theme="dark"] .clim b[style],html[data-theme="dark"] .mt-val,html[data-theme="dark"] .mt-lbl{filter:brightness(1.55);}
/* Таблицы климата по месяцам: значок у подписи строки (ui_row_icon) */
.clim-tbl td:first-child .ti{display:inline-flex;vertical-align:-4px;margin-right:9px;color:var(--c,var(--icon));}
.clim-tbl .ti .tico{width:18px;height:18px;}
html[data-theme="dark"] .clim-tbl .ti{filter:brightness(1.35);}
/* Хаб мира: якоря вкладок не прячутся под липкой шапкой */
#top,#countries,.slbl[id],#now,#climate{scroll-margin-top:84px;}
