
/* ============ ДИЗАЙН-СИСТЕМА ============ */
:root{
  --bg:#f5f6fa; --bg-2:#eceef5; --surface:#ffffff; --surface-2:#f8f9fc;
  --text:#11131a; --text-2:#5a6275; --text-3:#8b92a6;
  --border:#e3e6ef; --border-2:#d3d8e6;
  --accent:#3d5afe; --accent-2:#2a3eb1; --accent-soft:#e8ecff;
  --ok:#0a9e6e; --warn:#d98800; --danger:#d93a4a;
  --shadow-s:0 1px 2px rgba(16,20,35,.06),0 2px 8px rgba(16,20,35,.05);
  --shadow-m:0 4px 12px rgba(16,20,35,.08),0 12px 32px rgba(16,20,35,.07);
  --shadow-l:0 16px 48px rgba(16,20,35,.14);
  --r-s:8px; --r-m:14px; --r-l:22px; --r-xl:30px;
  --map-bg:#ffffff; --map-label:#2a2f3d; --map-grid:#f0f2f8;
  --head-h:62px;
}
html[data-theme="dark"]{
  --bg:#0d0f16; --bg-2:#12151f; --surface:#171a25; --surface-2:#1d2130;
  --text:#eef0f7; --text-2:#a3abc2; --text-3:#767e95;
  --border:#262b3b; --border-2:#333a4e;
  --accent:#7e8cff; --accent-2:#9aa5ff; --accent-soft:#1e2340;
  --ok:#36d39b; --warn:#f0b429; --danger:#ff6b7a;
  --shadow-s:0 1px 2px rgba(0,0,0,.4);
  --shadow-m:0 6px 20px rgba(0,0,0,.45);
  --shadow-l:0 18px 50px rgba(0,0,0,.6);
  --map-bg:#121622; --map-label:#d9dfef; --map-grid:#1a1f2e;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
  background:var(--bg); color:var(--text); font-size:15px; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
html[dir="rtl"] body{font-family:'Inter','Noto Naskh Arabic',Tahoma,sans-serif}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{margin:0 0 .4em; line-height:1.2; letter-spacing:-.02em; font-weight:700}
h1{font-size:clamp(26px,4.2vw,40px); font-weight:800}
h2{font-size:clamp(20px,2.6vw,27px)}
h3{font-size:18px}
p{margin:0 0 1em}
button{font-family:inherit; font-size:inherit; cursor:pointer}
input,select,textarea{font-family:inherit; font-size:inherit; color:var(--text)}
::selection{background:var(--accent); color:#fff}
.wrap{max-width:1240px; margin:0 auto; padding:0 20px}
.muted{color:var(--text-2)}
.small{font-size:13px}
.tiny{font-size:12px}
.center{text-align:center}
.hide{display:none !important}
.nowrap{white-space:nowrap}

/* ============ ШАПКА ============ */
header.site{
  position:sticky; top:0; z-index:60; background:color-mix(in srgb,var(--surface) 88%,transparent);
  backdrop-filter:saturate(180%) blur(14px); border-bottom:1px solid var(--border);
}
.head-in{display:flex; align-items:center; gap:14px; height:var(--head-h); max-width:1240px; margin:0 auto; padding:0 20px}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; font-size:17px; color:var(--text); letter-spacing:-.03em; flex:none}
.logo:hover{text-decoration:none}
.logo-mark{width:30px; height:30px; border-radius:9px; background:linear-gradient(135deg,var(--accent),#7a5cff); display:grid; place-items:center; color:#fff; font-size:15px; font-weight:800; box-shadow:var(--shadow-s)}
.logo small{display:block; font-size:10px; font-weight:600; color:var(--text-3); letter-spacing:.06em; text-transform:uppercase; margin-top:-3px}
nav.main{display:flex; gap:2px; margin-inline-start:6px; flex:1; overflow:auto; scrollbar-width:none}
nav.main::-webkit-scrollbar{display:none}
nav.main a{
  padding:7px 11px; border-radius:9px; color:var(--text-2); font-size:13.5px; font-weight:500; white-space:nowrap;
}
nav.main a:hover{background:var(--bg-2); color:var(--text); text-decoration:none}
nav.main a.on{background:var(--accent-soft); color:var(--accent); font-weight:600}
.head-tools{display:flex; align-items:center; gap:8px; flex:none}
.icon-btn{
  width:36px; height:36px; border-radius:10px; border:1px solid var(--border); background:var(--surface);
  color:var(--text-2); display:grid; place-items:center; font-size:15px; transition:.15s;
}
.icon-btn:hover{color:var(--accent); border-color:var(--accent)}
.lang-sel{
  height:36px; border-radius:10px; border:1px solid var(--border); background:var(--surface);
  color:var(--text-2); padding:0 8px; font-size:13px; font-weight:500; max-width:112px;
}
.burger{display:none}
@media(max-width:900px){
  nav.main{position:fixed; inset:var(--head-h) 0 auto 0; background:var(--surface); flex-direction:column; padding:10px 14px 16px; border-bottom:1px solid var(--border); box-shadow:var(--shadow-m); max-height:72vh; overflow:auto; display:none}
  nav.main.open{display:flex}
  nav.main a{padding:11px 12px; font-size:15px}
  .burger{display:grid}
  .logo small{display:none}
}

/* ============ КНОПКИ, ЧИПЫ, КАРТОЧКИ ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:11px 18px; border-radius:11px;
  border:1px solid transparent; background:var(--accent); color:#fff; font-weight:600; font-size:14.5px; transition:.15s;
  box-shadow:var(--shadow-s);
}
.btn:hover{background:var(--accent-2); text-decoration:none; transform:translateY(-1px)}
.btn:active{transform:none}
.btn.ghost{background:var(--surface); color:var(--text); border-color:var(--border-2); box-shadow:none}
.btn.ghost:hover{border-color:var(--accent); color:var(--accent); background:var(--surface)}
.btn.sm{padding:7px 13px; font-size:13px; border-radius:9px}
.btn.block{width:100%}
.btn[disabled]{opacity:.5; pointer-events:none}
.chip{
  display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:99px; background:var(--bg-2);
  border:1px solid var(--border); font-size:12.5px; font-weight:500; color:var(--text-2);
}
.chip.on{background:var(--accent); border-color:var(--accent); color:#fff}
.chip.btn-like{cursor:pointer; background:var(--surface)}
.chip.btn-like:hover{border-color:var(--accent); color:var(--accent)}
.chip.btn-like.on{background:var(--accent); border-color:var(--accent); color:#fff}
.chip.btn-like.on:hover{color:#fff}
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-m); box-shadow:var(--shadow-s)}
.card.pad{padding:18px}
.grid{display:grid; gap:14px}
.g2{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.g3{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.g4{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.sp{flex:1}
.sec{padding:30px 0}
.sec-head{display:flex; align-items:flex-end; gap:14px; margin-bottom:16px; flex-wrap:wrap}
.sec-head h2{margin:0}
.badge{display:inline-block; padding:2px 8px; border-radius:6px; background:var(--accent-soft); color:var(--accent); font-size:11.5px; font-weight:700; letter-spacing:.02em}
.badge.ok{background:color-mix(in srgb,var(--ok) 15%,transparent); color:var(--ok)}
.badge.warn{background:color-mix(in srgb,var(--warn) 18%,transparent); color:var(--warn)}
.line-dot{width:11px; height:11px; border-radius:50%; flex:none; box-shadow:0 0 0 2px var(--surface)}
.line-pill{display:inline-flex; align-items:center; gap:6px; padding:3px 10px 3px 7px; border-radius:99px; font-size:12.5px; font-weight:600; color:#fff}
.line-num{width:19px; height:19px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:800; color:#fff; flex:none}
.crumbs{display:flex; gap:7px; flex-wrap:wrap; font-size:12.5px; color:var(--text-3); padding:14px 0 2px; align-items:center}
.crumbs a{color:var(--text-2)}
.crumbs span.sep{opacity:.5}

/* ============ ПОИСК ============ */
.search-wrap{position:relative}
.search-in{
  width:100%; padding:13px 15px 13px 42px; border-radius:12px; border:1px solid var(--border-2);
  background:var(--surface); font-size:15px; outline:none; transition:.15s;
}
html[dir="rtl"] .search-in{padding:13px 42px 13px 15px}
.search-in:focus{border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft)}
.search-ico{position:absolute; inset-inline-start:14px; top:50%; transform:translateY(-50%); color:var(--text-3); pointer-events:none; font-size:15px}
.sugg{
  position:absolute; z-index:40; inset-inline:0; top:calc(100% + 6px); background:var(--surface); border:1px solid var(--border);
  border-radius:12px; box-shadow:var(--shadow-l); max-height:330px; overflow:auto; padding:6px;
}
.sugg-item{display:flex; align-items:center; gap:10px; padding:9px 11px; border-radius:9px; cursor:pointer}
.sugg-item:hover,.sugg-item.hl{background:var(--bg-2)}
.sugg-item b{font-weight:600; font-size:14px}
.sugg-item .s2{font-size:12px; color:var(--text-3)}
.sugg-group{font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3); padding:8px 11px 4px; font-weight:700}

/* ============ ГЛАВНАЯ ============ */
.hero{padding:44px 0 26px; position:relative; overflow:hidden}
.hero:before{
  content:''; position:absolute; inset:-120px -10% auto -10%; height:420px; z-index:-1;
  background:radial-gradient(60% 70% at 25% 30%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 70%),
             radial-gradient(50% 60% at 80% 10%,color-mix(in srgb,#7a5cff 14%,transparent),transparent 70%);
}
.hero h1{max-width:760px}
.hero .lead{font-size:17px; color:var(--text-2); max-width:620px}
.planner{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-l); box-shadow:var(--shadow-m);
  padding:18px; margin-top:22px;
}
.planner-grid{display:grid; grid-template-columns:1.1fr 1fr 1fr auto; gap:12px; align-items:end}
@media(max-width:860px){.planner-grid{grid-template-columns:1fr}}
.field{display:flex; flex-direction:column; gap:6px; min-width:0}
.field label{font-size:12px; font-weight:600; color:var(--text-2); letter-spacing:.01em}
.field select,.field input{
  width:100%; padding:11px 13px; border-radius:11px; border:1px solid var(--border-2); background:var(--surface-2); outline:none;
}
.field select:focus,.field input:focus{border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft)}
.stat-row{display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:12px; margin-top:20px}
.stat{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-m); padding:14px 16px}
.stat b{display:block; font-size:24px; font-weight:800; letter-spacing:-.03em}
.stat span{font-size:12.5px; color:var(--text-3)}
.city-card{
  display:block; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-m); overflow:hidden;
  box-shadow:var(--shadow-s); transition:.18s; color:var(--text);
}
.city-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-m); text-decoration:none; border-color:var(--border-2)}
.city-card .cc-top{padding:15px 16px 12px}
.city-card .cc-name{font-weight:700; font-size:16.5px; display:flex; align-items:center; gap:8px}
.city-card .cc-sub{font-size:12.5px; color:var(--text-3)}
.city-card .cc-lines{display:flex; gap:4px; flex-wrap:wrap; padding:0 16px 14px}
.city-card .cc-lines i{width:22px; height:5px; border-radius:3px; display:block}
.flag{font-size:16px; line-height:1}
.feature{display:flex; gap:12px; align-items:flex-start}
.feature .fi{width:38px; height:38px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-size:17px; flex:none}
.feature h3{font-size:15.5px; margin-bottom:2px}
.feature p{font-size:13.5px; color:var(--text-2); margin:0}

/* ============ СХЕМА МЕТРО ============ */
.map-shell{
  position:relative; background:var(--map-bg); border:1px solid var(--border); border-radius:var(--r-m);
  overflow:hidden; box-shadow:var(--shadow-s); touch-action:none;
}
.map-shell svg{display:block; width:100%; height:100%; cursor:grab; background:var(--map-bg)}
.map-shell svg.drag{cursor:grabbing}
.map-tools{position:absolute; top:10px; inset-inline-end:10px; display:flex; flex-direction:column; gap:6px; z-index:5}
.map-tools button{
  width:34px; height:34px; border-radius:9px; border:1px solid var(--border); background:var(--surface);
  color:var(--text-2); font-size:15px; font-weight:700; display:grid; place-items:center; box-shadow:var(--shadow-s);
}
.map-tools button:hover{color:var(--accent); border-color:var(--accent)}
.map-legend{
  position:absolute; bottom:10px; inset-inline-start:10px; display:flex; gap:5px; flex-wrap:wrap; max-width:72%;
  background:color-mix(in srgb,var(--surface) 86%,transparent); backdrop-filter:blur(8px); padding:7px 9px;
  border-radius:11px; border:1px solid var(--border); z-index:5;
}
.map-legend .lg{display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:600; color:var(--text-2); cursor:pointer; padding:2px 5px; border-radius:6px}
.map-legend .lg:hover{background:var(--bg-2)}
.map-legend .lg i{width:14px; height:4px; border-radius:2px}
.map-legend .lg.off{opacity:.35}
.st-label{font-size:9.5px; font-weight:600; fill:var(--map-label); paint-order:stroke; stroke:var(--map-bg); stroke-width:2.6px; stroke-linejoin:round; pointer-events:none}
.st-label.big{font-size:10.5px; font-weight:700}
.st-hit{cursor:pointer}
.ln-path{fill:none; stroke-linecap:round; stroke-linejoin:round}
.map-dim .ln-path{opacity:.17}
.map-dim .st-dot{opacity:.22}
.map-dim .st-label{opacity:.2}
.map-dim .on-route{opacity:1 !important}
.rt-glow{fill:none; stroke-linecap:round; stroke-linejoin:round; opacity:.3}
.map-caption{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:12px; color:var(--text-3); padding:8px 2px 0}

/* ============ МАРШРУТ ============ */
.route-layout{display:grid; grid-template-columns:400px 1fr; gap:18px; align-items:start}
@media(max-width:1000px){.route-layout{grid-template-columns:1fr}}
.alt-list{display:flex; flex-direction:column; gap:9px}
.alt{
  text-align:start; width:100%; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px 14px;
  display:flex; flex-direction:column; gap:7px; transition:.15s;
}
.alt:hover{border-color:var(--accent)}
.alt.on{border-color:var(--accent); background:var(--accent-soft); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}
.alt-top{display:flex; align-items:baseline; gap:8px}
.alt-top b{font-size:17px; font-weight:800}
.alt-top .nm{font-size:13px; font-weight:600; color:var(--text-2)}
.alt-mini{display:flex; align-items:center; gap:3px; flex-wrap:wrap}
.alt-mini i{width:16px; height:5px; border-radius:3px}
.alt-mini span{font-size:10px; color:var(--text-3)}
.itin{display:flex; flex-direction:column}
.leg{display:grid; grid-template-columns:34px 1fr; gap:12px; position:relative}
.leg-rail{display:flex; flex-direction:column; align-items:center; position:relative}
.leg-rail .bar{width:7px; flex:1; border-radius:4px; min-height:26px}
.leg-rail .pt{width:15px; height:15px; border-radius:50%; background:var(--surface); border:3.5px solid var(--text-3); z-index:2}
.leg-body{padding:0 0 18px}
.leg-body .st-name{font-weight:700; font-size:16px}
.leg-body .st-meta{font-size:12.5px; color:var(--text-3)}
.leg-info{display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin:7px 0 2px; font-size:13px; color:var(--text-2)}
.leg-stops{margin:6px 0 0; padding:0; list-style:none; border-inline-start:2px dashed var(--border-2); margin-inline-start:2px}
.leg-stops li{font-size:12.5px; color:var(--text-3); padding:2px 0 2px 12px}
.toggle-stops{background:none; border:none; color:var(--accent); font-size:12.5px; font-weight:600; padding:2px 0}
.walk-leg{display:grid; grid-template-columns:34px 1fr; gap:12px}
.walk-leg .dashes{width:7px; margin:0 auto; flex:1; min-height:34px; background:repeating-linear-gradient(to bottom,var(--text-3) 0 4px,transparent 4px 9px); opacity:.6}
.sum{display:flex; gap:16px; flex-wrap:wrap; padding:14px 16px; background:var(--surface-2); border:1px solid var(--border); border-radius:12px}
.sum div b{display:block; font-size:19px; font-weight:800; letter-spacing:-.02em}
.sum div span{font-size:11.5px; color:var(--text-3); text-transform:uppercase; letter-spacing:.05em; font-weight:600}
.prof-tabs{display:flex; gap:6px; flex-wrap:wrap}
.prof-tabs button{
  padding:8px 12px; border-radius:10px; border:1px solid var(--border); background:var(--surface);
  font-size:13px; font-weight:600; color:var(--text-2);
}
.prof-tabs button.on{background:var(--accent); border-color:var(--accent); color:#fff}

/* ============ ТАБЛИЦЫ, СПИСКИ ============ */
table.t{width:100%; border-collapse:collapse; font-size:14px}
table.t th{text-align:start; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-3); padding:9px 12px; border-bottom:1px solid var(--border); font-weight:700}
table.t td{padding:10px 12px; border-bottom:1px solid var(--border)}
table.t tr:last-child td{border-bottom:none}
table.t tr:hover td{background:var(--surface-2)}
.list-item{
  display:flex; align-items:center; gap:12px; padding:12px 14px; background:var(--surface); border:1px solid var(--border);
  border-radius:12px; color:var(--text); transition:.15s;
}
.list-item:hover{border-color:var(--accent); text-decoration:none; transform:translateX(2px)}
html[dir="rtl"] .list-item:hover{transform:translateX(-2px)}
.acc{border:1px solid var(--border); border-radius:12px; background:var(--surface); overflow:hidden}
.acc+.acc{margin-top:9px}
.acc button{width:100%; text-align:start; padding:14px 16px; background:none; border:none; font-weight:600; font-size:15px; color:var(--text); display:flex; gap:10px; align-items:center}
.acc .acc-body{padding:0 16px 15px; color:var(--text-2); font-size:14px; display:none}
.acc.open .acc-body{display:block}
.acc button .ar{margin-inline-start:auto; color:var(--text-3); transition:.2s}
.acc.open button .ar{transform:rotate(180deg)}
.note{padding:12px 14px; border-radius:12px; background:var(--accent-soft); color:var(--text); font-size:13.5px; border:1px solid color-mix(in srgb,var(--accent) 25%,transparent)}
.note.warn{background:color-mix(in srgb,var(--warn) 12%,transparent); border-color:color-mix(in srgb,var(--warn) 35%,transparent)}
.kv{display:grid; grid-template-columns:auto 1fr; gap:6px 14px; font-size:13.5px}
.kv dt{color:var(--text-3)}
.kv dd{margin:0; font-weight:600}
.pill-row{display:flex; gap:6px; flex-wrap:wrap}
.fav-btn{background:none; border:1px solid var(--border); border-radius:10px; width:38px; height:38px; display:grid; place-items:center; font-size:16px; color:var(--text-3)}
.fav-btn.on{color:var(--warn); border-color:var(--warn); background:color-mix(in srgb,var(--warn) 12%,transparent)}
.spinner{width:22px; height:22px; border:2.5px solid var(--border-2); border-top-color:var(--accent); border-radius:50%; animation:sp .7s linear infinite; margin:30px auto}
@keyframes sp{to{transform:rotate(360deg)}}
.empty{text-align:center; padding:46px 20px; color:var(--text-3)}
.empty .big{font-size:38px; margin-bottom:8px; opacity:.5}
.seo-url{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11.5px; color:var(--text-3); background:var(--bg-2); padding:3px 8px; border-radius:6px; display:inline-block; word-break:break-all}

/* ============ МОДАЛКА ============ */
.modal-bg{position:fixed; inset:0; background:rgba(8,10,18,.55); backdrop-filter:blur(3px); z-index:90; display:grid; place-items:center; padding:18px}
.modal{background:var(--surface); border-radius:var(--r-l); box-shadow:var(--shadow-l); max-width:520px; width:100%; max-height:86vh; overflow:auto; border:1px solid var(--border)}
.modal-head{display:flex; align-items:center; gap:10px; padding:16px 18px 10px}
.modal-head h3{margin:0; flex:1}
.modal-body{padding:0 18px 18px}

/* ============ ПОДВАЛ ============ */
footer.site{border-top:1px solid var(--border); margin-top:40px; padding:28px 0 36px; background:var(--surface)}
.foot-grid{display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:24px}
@media(max-width:800px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-grid h4{font-size:12px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3); margin-bottom:10px}
.foot-grid a{display:block; color:var(--text-2); font-size:13.5px; padding:3px 0}
.foot-bottom{border-top:1px solid var(--border); margin-top:22px; padding-top:16px; display:flex; gap:12px; flex-wrap:wrap; font-size:12.5px; color:var(--text-3)}
@media print{header.site,footer.site,.map-tools{display:none}}
@media(min-width:901px){nav.main a.sec2{display:none}}

/* ============ СТАТЬЯ О МЕТРО ГОРОДА ============ */
.article{max-width:800px}
.article .lead{font-size:17.5px; line-height:1.65; color:var(--text-2); margin-bottom:18px}
.article h2{font-size:22px; letter-spacing:-.02em; margin:34px 0 12px; scroll-margin-top:90px}
.article h2:before{content:''; display:block; width:34px; height:3px; border-radius:2px; background:var(--accent); margin-bottom:10px}
.article p{font-size:15.5px; line-height:1.72; color:var(--text)}
.article .facts{list-style:none; padding:0; margin:8px 0 0}
.article .facts li{position:relative; padding:0 0 0 22px; margin-bottom:10px; font-size:15px; line-height:1.6; color:var(--text)}
.article .facts li:before{content:'—'; position:absolute; left:0; top:0; color:var(--accent); font-weight:700}
.toc{display:flex; flex-wrap:wrap; gap:7px; margin:6px 0 8px}
.toc a{font-size:12.5px; padding:5px 11px; border-radius:99px; background:var(--bg-2); border:1px solid var(--border); color:var(--text-2); cursor:pointer}
.toc a:hover{border-color:var(--accent); color:var(--accent); text-decoration:none}
.story-hero{display:flex; align-items:flex-start; gap:14px; flex-wrap:wrap}
.story-stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:10px; margin:18px 0 6px}
.story-stats .stat b{font-size:20px}
@media(max-width:560px){
  .head-in{gap:7px; padding:0 12px}
  .logo{font-size:15px}
  .lang-sel{max-width:58px; padding:0 3px; font-size:11.5px}
  .icon-btn{width:33px; height:33px}
  .sum{gap:12px}
  .hero{padding:28px 0 18px}
}

/* === ФОТОГРАФИЧНЫЕ ОБЛОЖКИ ГОРОДОВ === */
.city-card-photo{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--surface-2)}
.city-list-photo{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin:0 0 14px;background:var(--surface-2)}
.city-cover-photo{display:block;width:100%;height:clamp(180px,27vw,340px);object-fit:cover;object-position:center;border-radius:var(--r-m);box-shadow:var(--shadow-s);margin:12px 0 18px;background:var(--surface-2)}
.city-cover-photo.story-photo{max-height:380px;margin:6px 0 20px}
.city-card-photo,.city-list-photo,.city-cover-photo{color:transparent}
@media(prefers-reduced-motion:reduce){.city-card:hover{transform:none}}

.clk{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.clk-kv{font-weight:600}
.timecard{margin:14px 0}
.clock-big{font-size:34px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.seo-text{margin:18px 0 6px}
.seo-text p{margin:0 0 10px}
.seo-text h2,.seo-text h3{margin:14px 0 8px;font-size:17px}

/* ======================= ТОЧНОЕ ВРЕМЯ, СОЛНЦЕ, ПОГОДА ================== */
.mw-wrap{padding:17px;margin:15px 0 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-m);box-shadow:var(--shadow-s)}
.mw-clock{font-size:clamp(32px,6vw,48px);letter-spacing:-.03em;font-weight:800;line-height:1.12;font-variant-numeric:tabular-nums}
.mw-sub,.mw-muted{font-size:13px;color:var(--text-2)}
.mw-sub{margin-top:6px}.mw-status{margin:13px 0;color:var(--text-3);font-size:13px}
.mw-main{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:16px 0}
.mw-temp{font-size:27px;font-weight:800;white-space:nowrap}
.mw-sun{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}
.mw-sun>div{padding:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px}
.mw-sun b{font-size:12px;font-weight:600;color:var(--text-2)}.mw-sun strong{display:block;font-size:18px;margin-top:4px}
.mw-wrap h4{font-size:14px;margin:15px 0 9px}.mw-hours{display:flex;gap:7px;overflow-x:auto;padding-bottom:5px}
.mw-hour{min-width:88px;display:flex;flex-direction:column;gap:4px;flex:1;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:9px 8px;text-align:center}
.mw-hour b{font-size:15px}.mw-hour small{color:var(--text-2)}
.mw-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mw-day{display:flex;align-items:center;gap:9px;justify-content:space-between;padding:9px 10px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;font-size:12px}.mw-day b{white-space:nowrap;font-size:12px}.mw-day small{color:var(--text-2)}
.mw-source{color:var(--text-3);font-size:11.5px;margin:12px 0 0;line-height:1.5}
.mw-retry{margin-left:8px;padding:3px 10px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.time-strip{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:7px 12px;border:1px solid var(--line,#e3e6ea);border-radius:10px;font-size:14px}
.time-strip .clk{font-weight:700;font-variant-numeric:tabular-nums}
.time-strip .sp{flex:1}
.time-strip a{white-space:nowrap}
.mw-retry:hover{opacity:.75}.mw-unavailable{background:var(--bg-2);border-radius:9px;padding:12px;color:var(--text-2);font-size:13px}
.time-article{max-width:890px;margin:20px 0}.time-article p{line-height:1.7}.time-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.time-card-grid a{display:block;padding:13px 14px;background:var(--surface);border:1px solid var(--border);border-radius:11px;color:var(--text)}
.time-card-grid a:hover{border-color:var(--accent);text-decoration:none}.time-selector{max-width:440px}
@media(max-width:600px){.mw-sun{grid-template-columns:1fr 1fr}.mw-days{grid-template-columns:1fr}.mw-day{flex-wrap:wrap}}

/* Карточки города и десятикритериальные личные оценки */
.rating-box{background:var(--surface,#fff);border:1px solid var(--border,#d9deeb);border-radius:14px;padding:22px;margin:24px 0;box-shadow:0 2px 8px #1a27320a}
.rating-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:11px;margin:15px 0}
.rating-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border,#e3e6ef);border-radius:9px;padding:10px;font-size:13px}
.rating-item select{padding:6px 8px;border:1px solid #bbc4d6;border-radius:8px;background:var(--surface,#fff);max-width:115px;min-width:87px}
.rating-result{font-weight:700;padding:10px 0;color:var(--accent,#304b9e)}
.city-guide-summary{padding:19px;background:var(--surface,#fff);border:1px solid var(--border,#d9deeb);border-radius:13px;margin:14px 0 20px}
.city-photo-missing{background:linear-gradient(110deg,#0c2640,#1b5976,#476b7d);color:#fff;display:flex;align-items:center;justify-content:center;letter-spacing:.03em;font-size:22px;font-weight:700;text-shadow:0 2px 4px #0007}
