/* Samarqand Issiq Suv — rasmiy uslub (style.css ustidan yuklanadi).
   Davlat tashkiloti saytlari kabi: yorug' fon, to'q ko'k, tekis kartalar, bitta shrift,
   neon, shisha va gradient harflarsiz. Bayroq tasmasi sarlavha va footerda. */
:root {
  --bg: #f4f6f9; --surface-2: #eaeef4; --ink: #14213a; --muted: #5a6880; --line: #dde3ec;
  --brand: #0b4a8f; --brand-ink: #08305e; --brand-soft: #e7eff9;
  --heat: #c8501b; --heat-soft: #fbeee6;
  --night: #08264a; --night-2: #0d3466;
  --f-display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 12px;
  --shadow: 0 1px 2px rgba(16,34,64,.06), 0 4px 14px -8px rgba(16,34,64,.18);
  --shadow-lg: 0 12px 30px -18px rgba(16,34,64,.35);
  --flag: linear-gradient(90deg, #0099b5 0 33.3%, #fff 33.3% 66.6%, #1eb53a 66.6%);
}
h1, h2, h3 { letter-spacing: -.01em; }
h2 { font-weight: 700; }
.eyebrow { letter-spacing: .1em; }

/* yuqori tasma + bayroq */
.utility { background: var(--night); }
.utility::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--flag); }
.utility .wrap { padding-top: 9px; }
.pulse { animation: none; box-shadow: none; background: #e2572b; }
.seg { border-radius: 6px; } .seg button, .icon-btn { border-radius: 4px; }

/* sarlavha: doim oq, shaffof emas */
.site-head { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 2px 10px -6px rgba(16,34,64,.25); }
.brand-text strong { font-weight: 700; letter-spacing: .02em; }
.nav a { border-radius: 6px; }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand) !important; }
.menu-btn { border-radius: 8px; }

/* tugmalar */
.btn { border-radius: 8px; }
.btn:hover, .btn:active { transform: none; }
.btn-primary { box-shadow: none; }
.btn-heat { background: var(--heat); box-shadow: none; }
.btn-heat:hover { background: color-mix(in srgb, var(--heat) 86%, #000); }
.btn-glass { background: transparent; border-color: rgba(255,255,255,.6); backdrop-filter: none; }
.btn-glass:hover { background: rgba(255,255,255,.1); }
.mini, .chip, .tabs, .tabs button { border-radius: 6px; }
input, select, textarea, .chip-radio span, .file-drop { border-radius: 8px; }

/* bosh ekran: surat + to'q ko'k qatlam, oq kartalar */
.hero { margin-top: 0; padding-top: 0; }
.hero-scene { display: none; }
.hero-bg img { filter: none; transform: none; transition: opacity 1.2s ease; }
.hero-bg img.on { transform: none; }
.hero::before { background: linear-gradient(90deg, rgba(8,38,74,.94) 0%, rgba(8,38,74,.86) 42%, rgba(8,38,74,.5) 75%, rgba(8,38,74,.3) 100%); }
.hero .wrap { padding-block: clamp(40px, 6vw, 84px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; text-shadow: none; }
.hero h1 .warm { background: none; color: #fff; -webkit-text-fill-color: currentColor; }
.hero .eyebrow { color: #a9c9ef; }
.hero .lead { color: #dbe5f3; }
.quick-track { background: var(--surface); border: 0; border-radius: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 10px 26px -14px rgba(0,0,0,.6); }
.quick-track input { color: var(--ink); }
.quick-track input::placeholder { color: var(--muted); }
.quick-track .btn { border-radius: 6px; }

.glass { background: var(--surface); color: var(--ink); border: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow); }
.glass::after { display: none; }
.glass .k { color: var(--muted); letter-spacing: .08em; }
.hud .big, .num-grid .glass .big, .wx-hud .t { font-family: var(--f-body); font-weight: 700; }
.hud .big > span[style] { color: var(--muted) !important; }
.hud .sub, .num-grid .glass .sub, .wx-hud .d, .out-hud .t { color: var(--muted); }
.wx-hud { color: var(--ink); }
.ring .bgc { stroke: var(--line); }
.ring .fg { stroke: var(--brand); filter: none; }
.ring text { fill: var(--ink); font-family: var(--f-body); font-weight: 700; }
.out-hud li::before { background: var(--brand); box-shadow: none; }
.out-hud li.avariya::before { background: var(--heat); box-shadow: none; }

/* raqamlarda: ochiq ma'lumotlar bloki, yorug' */
.numbers { background: var(--surface-2); color: var(--ink); border-block: 1px solid var(--line); }
.numbers video, .numbers .numbers-photo, .numbers::before { display: none; }
.numbers h2 { color: var(--ink); }
.numbers p { color: var(--muted); }
.numbers .eyebrow { color: var(--brand); }
.numbers .btn-glass { color: var(--brand); border-color: var(--brand); }
.numbers .btn-glass:hover { background: var(--brand-soft); }
.num-grid .glass .big { color: var(--brand-ink); }
.bar-mini { background: var(--line); }
.bar-mini span { background: var(--brand); box-shadow: none; }

/* kartalar: tekis, harakatsiz */
.svc { box-shadow: none; }
.svc::after { display: none; }
.svc:hover { transform: none; border-color: var(--brand); box-shadow: var(--shadow); }
.svc .ic, .ki .ic, .dirs .i, .geo-ic { border-radius: 8px; }
.svc:hover .ic { transform: none; }
.svc .ic.h { background: var(--brand-soft); color: var(--brand); }
.ki::before { background: var(--brand); opacity: 1; }
.ki:hover, .post:hover, .out:hover { transform: none; }
.post:hover .ph img, .gallery figure:hover img { transform: none; }
.wx-now { background: var(--night); }
.wx-now::after { display: none; }
.wx-now .t { font-family: var(--f-body); font-weight: 700; }
.meter-visual { background: var(--night); }
.ct.hl { background: var(--heat); }

/* footer */
.foot { background: var(--night); }
.foot::before { animation: none; height: 3px; background: var(--flag); }
.foot .fbrand strong { font-weight: 700; }

/* ichki sahifalar */
.page-hero { margin-top: 0; padding-top: 0; }
.page-hero .bgimg { filter: none; }
.page-hero::before { background: linear-gradient(90deg, rgba(8,38,74,.94), rgba(8,38,74,.72)); }

@media (max-width: 1060px) { .hero::before { background: rgba(8,38,74,.86); } }
@media (max-width: 640px) { .hero .wrap { padding-bottom: 40px; } }

/* ===== menyu: guruhlar va ochiladigan ro'yxat ===== */
.nav { gap: 2px; }
.nav-top { font: 500 .95rem var(--f-body); color: var(--ink); background: none; border: 0; padding: 10px 14px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.nav a.nav-top { padding: 10px 14px; font-size: .95rem; border-radius: 6px; }
.nav-top:hover, .nav-group.open > .nav-top { background: var(--brand-soft); color: var(--brand); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-group { position: relative; }
.nav-group.open .chev { transform: rotate(180deg); }
.nav-drop { position: absolute; top: calc(100% + 10px); left: 0; width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; display: none; gap: 2px; z-index: 60; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group.open .nav-drop { display: grid; }
@media (hover: hover) and (min-width: 1181px) {
  .nav-group:hover .nav-drop { display: grid; }
  .nav-group:hover > .nav-top { background: var(--brand-soft); color: var(--brand); }
  .nav-group:hover .chev { transform: rotate(180deg); }
}
.nav .nav-drop a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; color: var(--ink); white-space: normal; font-size: .93rem; }
.nav .nav-drop a:hover { background: var(--bg); }
.nav-drop .ni { width: 38px; height: 38px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.nav-drop .ni svg { width: 19px; height: 19px; }
.nav-drop b { display: block; font-weight: 600; }
.nav-drop small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.head-cta { flex: none; min-height: 42px; padding: 9px 16px; font-size: .9rem; margin-left: 10px; }
.head-cta svg { width: 16px; height: 16px; }
@media (max-width: 1180px) {
  .head-cta { margin-left: auto; }
  .menu-btn { margin-left: 8px; }
  .nav-group { display: grid; }
  .nav-top, .nav a.nav-top { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; border-radius: 8px; }
  .nav-drop, .nav-group.open .nav-drop { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; }
  .nav-drop::before { display: none; }
  .nav .nav-drop a { padding: 10px 12px; }
}
@media (max-width: 640px) { .head-cta { display: none; } }

/* ===== onlayn xizmatlar ===== */
.services { gap: 12px; }
.svc { grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: center; padding: 18px 18px 18px 16px; }
.svc .ic { width: 48px; height: 48px; }
.svc .ic svg { width: 24px; height: 24px; }
.svc .go { width: 20px; height: 20px; color: var(--muted); transition: transform .2s, color .2s; }
.svc:hover .go { color: var(--brand); transform: translateX(3px); }
.svc:hover h3 { color: var(--brand); }
.svc-hot .ic { background: var(--heat-soft); color: var(--heat); }
.svc-hot:hover { border-color: var(--heat); }
.svc-hot:hover h3, .svc-hot:hover .go { color: var(--heat); }

/* telefonda xizmatlar: 2 ustunli ixcham plitkalar */
@media (max-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 10px; padding: 14px; align-content: start; }
  .svc p, .svc .go { display: none; }
  .svc h3 { font-size: .95rem; line-height: 1.3; }
  .svc .ic { width: 42px; height: 42px; }
}

/* ===== alohida sahifalar: bitta index.html, ko'rinish manzil bo'yicha (views.js) ===== */
html[data-view="home"] [data-pg]:not([data-pg~="home"]),
html[data-view="murojaat"] [data-pg]:not([data-pg~="murojaat"]),
html[data-view="ochirish"] [data-pg]:not([data-pg~="ochirish"]),
html[data-view="meter"] [data-pg]:not([data-pg~="meter"]),
html[data-view="tarif"] [data-pg]:not([data-pg~="tarif"]),
html[data-view="kompaniya"] [data-pg]:not([data-pg~="kompaniya"]),
html[data-view="faq"] [data-pg]:not([data-pg~="faq"]),
html[data-view="aloqa"] [data-pg]:not([data-pg~="aloqa"]) { display: none !important; }
.view-hero .wrap { padding-block: clamp(28px, 4vw, 56px); }
.view-hero h1 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); margin-top: 10px; }
.view-hero .crumbs span { color: #c9d6ee; }
/* sahifa sarlavhasi bo'lim sarlavhasini takrorlamasin (izoh va tugmalar qoladi) */
html[data-view]:not([data-view="home"]) section.block .sec-head > div:first-child > :is(.eyebrow, h2) { display: none; }
html[data-view]:not([data-view="home"]) [data-sec="gallery"] .sec-head > div:first-child > :is(.eyebrow, h2) { display: revert; }
html[data-view]:not([data-view="home"]) section.block { padding-block: clamp(32px, 5vw, 64px); }
.nav-group.cur > .nav-top { color: var(--brand); }
.nav .nav-drop a[aria-current="page"] { background: var(--brand-soft); color: var(--brand) !important; }

/* bosh sahifa: bosh yangilik + ro'yxat */
.news-home .news-lead { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.news-home .news-lead.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.news-home .feat-post .ph { aspect-ratio: 16 / 8.5; }
.news-home .feat-post h3 { font-size: 1.35rem; }
.news-list { display: grid; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.alt .news-list { background: var(--bg); }
.nrow { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nrow:first-child { border-top: 0; }
.nrow .m { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); }
.nrow .m .c { color: var(--brand); font-weight: 600; }
.nrow b { font-weight: 600; line-height: 1.35; }
.nrow:hover b { color: var(--brand); }
@media (max-width: 860px) { .news-home .news-lead { grid-template-columns: minmax(0, 1fr); } }

/* ===== bosh sahifa: faqat sarlavha + ob-havo (statistika, tugmalar va qidiruv kerak emas) ===== */
.hero .hud > .glass:not(.wx-hud), .hero-cta, .quick-track { display: none; }
.hero .wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); padding-block: clamp(40px, 5vw, 76px); align-items: center; }
.hero .hud { align-self: center; }

/* ===== barcha ichki sahifalar sarlavhasi bir xil ===== */
.page-hero .wrap { padding-block: clamp(28px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); margin-top: 10px; }
.page-hero p { font-size: 1rem; }

/* ===== yangiliklar sahifasi ===== */
.np-top { margin-top: 32px; }
.np-top[hidden] { display: none; }
.np-bar { margin: 28px 0 20px; }
.np-search { border-radius: 10px; }
.np-search .btn { border-radius: 8px; }
.feat { box-shadow: var(--shadow); }
.feat:hover img { transform: none; }
.feat .tag { background: var(--brand); }
.side { box-shadow: none; }
.side .n { font-family: var(--f-body); font-weight: 700; }
.article .cover { margin-top: 32px; box-shadow: var(--shadow); }
.article .body p:first-child::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
.progress { background: var(--brand); }

/* ===== mobil pastki panel ===== */
@media (max-width: 760px) {
  .mbar { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding-top: 4px; background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -6px 20px -12px rgba(16,34,64,.35); }
  .mbar a { gap: 3px; padding: 2px 0 2px; font-size: .66rem; font-weight: 600; color: var(--muted); border-radius: 0; white-space: nowrap; }
  .mbar a .mi { width: 50px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .2s, color .2s; }
  .mbar a svg { width: 22px; height: 22px; color: currentColor; }
  .mbar a[aria-current="page"] { color: var(--brand); }
  .mbar a[aria-current="page"] .mi { background: var(--brand-soft); }
  .mbar a.heat, .mbar a.heat svg { color: var(--heat); }
  .mbar a.mb-main { color: var(--ink); }
  .mbar a.mb-main .mi { width: 54px; height: 54px; border-radius: 50%; margin-top: -26px; background: var(--heat); color: #fff; border: 4px solid var(--surface); box-shadow: 0 8px 18px -8px rgba(200,80,27,.85); }
  .mbar a.mb-main svg { color: #fff; width: 24px; height: 24px; }
  .mbar a.mb-main[aria-current="page"] .mi { background: var(--heat); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 1060px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero .hud { max-width: 420px; } }
@media (max-width: 640px) { .hero .hud { display: none; } .hero .wrap { padding-block: 32px 64px; } }

/* maqola matni (muharrir va sayt uchun bir xil) */
.ta-c { text-align: center; } .ta-r { text-align: right; } .ta-j { text-align: justify; }
.fs-sm { font-size: .88em; } .fs-lg { font-size: 1.2em; } .fs-xl { font-size: 1.45em; line-height: 1.35; }
.c-brand { color: var(--brand); } .c-heat { color: var(--heat); } .c-ok { color: var(--ok); }
.rich h2 { font-size: 1.5rem; margin: 6px 0 0; } .rich h3 { font-size: 1.22rem; margin: 4px 0 0; } .rich h4 { font-size: 1.05rem; }
.rich blockquote { margin: 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; font-style: italic; }
.rich ul, .rich ol { padding-left: 1.4em; margin: 0; display: grid; gap: 6px; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.rich a { font-weight: 600; }
.rich mark { background: #fff1a8; padding: 0 3px; border-radius: 3px; }

.article .body.rich { gap: 16px; }
.ph .pc { position: absolute; right: 12px; top: 12px; display: inline-flex; gap: 4px; align-items: center; background: rgba(8,20,40,.72); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.ph .pc svg { width: 14px; height: 14px; }

/* ===== maqola rasmlari slayderi ===== */
.article .cover.gal { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
.gal-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0a1a36; box-shadow: var(--shadow); outline: none; }
.gal-stage:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.gal-s { position: absolute; inset: 0; margin: 0; opacity: 0; }
.gal-s img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-s.on { opacity: 1; z-index: 1; }
.gal-s.out { opacity: 1; z-index: 0; }
.gal-s.in { z-index: 2; animation: galDrop 1.2s cubic-bezier(.3,.7,.2,1) both; }
.gal-s.in img { animation: galWave 1.5s ease-out both; }
@keyframes galDrop { from { clip-path: circle(0% at var(--rx, 50%) var(--ry, 50%)); } to { clip-path: circle(150% at var(--rx, 50%) var(--ry, 50%)); } }
@keyframes galWave { 0% { transform: scale(1.12); filter: blur(6px) saturate(1.3); } 55% { filter: blur(0) saturate(1.1); } 100% { transform: scale(1); filter: none; } }
.gal-rip { position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); z-index: 3; pointer-events: none; }
.gal-rip i { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); opacity: 0; }
.gal-rip.go i { animation: galRip 1.5s ease-out forwards; }
.gal-rip.go i:nth-child(2) { animation-delay: .18s; } .gal-rip.go i:nth-child(3) { animation-delay: .36s; }
@keyframes galRip { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(15); opacity: 0; } }
.gal-nav { position: absolute; top: 50%; z-index: 4; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(8,20,40,.55); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.gal-nav:hover { background: rgba(8,20,40,.85); }
.gal-nav svg { width: 20px; height: 20px; }
.gal-nav.prev { left: 12px; } .gal-nav.prev svg { transform: rotate(180deg); } .gal-nav.next { right: 12px; }
.gal-count { position: absolute; right: 12px; top: 12px; z-index: 4; background: rgba(8,20,40,.65); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.gal-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.18); z-index: 4; }
.gal-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6fc3ff, #fff); animation: galFill 5s linear forwards; }
.gal.paused .gal-bar i { animation: none; width: 0; }
@keyframes galFill { to { width: 100%; } }
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.gal-thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .6; background: var(--surface-2); transition: opacity .2s, border-color .2s; }
.gal-thumbs button:hover { opacity: .9; }
.gal-thumbs button.on { opacity: 1; border-color: var(--brand); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .gal-s.in, .gal-s.in img, .gal-rip.go i { animation: none !important; } }
@media (max-width: 640px) { .gal-nav { width: 38px; height: 38px; margin-top: -19px; } .gal-thumbs button { width: 70px; } }

/* ===== kirish animatsiyasi: logo ichida suv to'ladi (oynada bir marta, 5 s) ===== */
html.splash-on { overflow: hidden; background: #08264a; }
html.splash-on body > :not(.splash) { visibility: hidden; animation: spShow 0s 6.5s forwards; }
@keyframes spShow { to { visibility: visible; } }
.splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(900px 600px at 50% 40%, #0f3f7a, #08264a 60%, #051a35); color: #fff; cursor: pointer; transition: opacity .7s ease, transform .7s ease; }
.splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.sp-in { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.sp-core { position: relative; width: 168px; height: 168px; margin-bottom: 10px; }
.sp-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(111,195,255,.55); opacity: 0; animation: spRing 2.4s ease-out infinite; }
.sp-ring i:nth-child(2) { animation-delay: .8s; } .sp-ring i:nth-child(3) { animation-delay: 1.6s; }
@keyframes spRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.sp-drop { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 20px 60px -20px rgba(0,0,0,.7); animation: spPop .9s cubic-bezier(.2,.8,.2,1.2) both; }
.sp-drop img { position: relative; z-index: 2; width: 72px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.sp-water { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, #3aa0ff, #1565c0 55%, #0b4a8f); transform: translateY(100%); animation: spFill var(--sp-dur, 5000ms) cubic-bezier(.3,.6,.3,1) forwards; }
.sp-w { position: absolute; left: 0; top: -15px; width: 200%; height: 16px; display: flex; animation: spWave 2.2s linear infinite; }
.sp-w svg { width: 50%; height: 100%; flex: none; display: block; fill: #3aa0ff; }
.sp-w.w2 { top: -20px; height: 20px; opacity: .5; animation-duration: 3.4s; animation-direction: reverse; }
.sp-w.w2 svg { fill: #8fd0ff; }
.sp-bub { position: absolute; bottom: 8%; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); opacity: 0; animation: spBub 2.6s ease-in infinite; }
.sp-bub:nth-of-type(1) { left: 22%; animation-delay: .9s; } .sp-bub:nth-of-type(2) { left: 40%; width: 5px; height: 5px; animation-delay: 1.5s; }
.sp-bub:nth-of-type(3) { left: 58%; width: 9px; height: 9px; animation-delay: 1.1s; } .sp-bub:nth-of-type(4) { left: 72%; animation-delay: 2s; }
.sp-bub:nth-of-type(5) { left: 33%; width: 4px; height: 4px; animation-delay: 2.4s; }
@keyframes spFill { to { transform: translateY(30%); } }
@keyframes spWave { to { transform: translateX(-50%); } }
@keyframes spBub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-110px) scale(1.1); opacity: 0; } }
@keyframes spPop { from { transform: scale(.6); opacity: 0; } }
.sp-name { font: 700 1.3rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; animation: spUp .8s .5s both; }
.sp-sub { color: #a9c9ef; font-size: .92rem; animation: spUp .8s .8s both; }
.sp-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; margin-top: 8px; animation: spUp .8s 1s both; }
.sp-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0099b5, #fff, #1eb53a); animation: spLoad var(--sp-dur, 5000ms) linear forwards; }
@keyframes spLoad { to { width: 100%; } }
@keyframes spUp { from { opacity: 0; transform: translateY(10px); } }

/* kartadagi bo'lim yorlig'i: ko'k fonda oq matn */
.feat .tag { background: var(--brand); color: #fff; }

/* ===== obhavo.uz bloki (/ob-havo) ===== */
.obh-today { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.obh-main { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 10px; align-content: start; }
.obh-day { color: #a9c9ef; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.obh-temp { display: flex; align-items: center; gap: 14px; font: 700 3.2rem/1 var(--f-body); }
.obh-temp svg { width: 72px; height: 72px; flex: none; }
.obh-min { font-size: 1.6rem; color: #a9c9ef; font-weight: 600; }
.obh-desc { font-size: 1.1rem; color: #dbe5f3; }
.obh-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.obh-parts div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 6px; display: grid; justify-items: center; gap: 4px; font-size: .82rem; color: #c9d6ee; }
.obh-parts svg { width: 34px; height: 34px; }
.obh-parts b { color: #fff; font-size: 1.05rem; }
.obh-det { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.obh-det li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.obh-det svg { width: 24px; height: 24px; color: var(--brand); grid-row: span 3; }
.obh-det span { font-size: .8rem; color: var(--muted); }
.obh-det b { font-size: 1.05rem; }
.obh-det small { color: var(--muted); font-size: .78rem; }
.obh-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.obh-d { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 8px; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.obh-d:first-child { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
.obh-d svg { width: 40px; height: 40px; }
.obh-d .mx { font-weight: 700; font-size: 1.1rem; }
.obh-d .mn { color: var(--muted); }
.obh-d .ds { font-size: .78rem; color: var(--muted); }
.obh-d .pop { display: inline-flex; gap: 3px; align-items: center; font-size: .78rem; color: var(--brand); font-weight: 600; }
.obh-d .pop svg { width: 14px; height: 14px; }
.obh-src { margin-top: 12px; }
.wx-hud .t small { font-size: 1rem; color: var(--muted); font-weight: 600; }
@media (max-width: 1060px) { .obh-today { grid-template-columns: minmax(0, 1fr); } .obh-week { grid-template-columns: repeat(7, minmax(104px, 1fr)); overflow-x: auto; padding-bottom: 6px; } }
@media (max-width: 640px) { .obh-temp { font-size: 2.6rem; } .obh-temp svg { width: 56px; height: 56px; } .obh-main { padding: 18px; } }

/* ===== til tanlash (bayroqlar) ===== */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font: 600 .82rem var(--f-body); cursor: pointer; }
.lang-btn:hover, .lang.open .lang-btn { background: rgba(255,255,255,.14); }
.lang-flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 230px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; display: none; }
.lang.open .lang-menu { display: grid; gap: 2px; animation: langIn .18s ease; }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } }
.lang-menu button { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 9px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--ink); text-align: left; font: 500 .92rem var(--f-body); }
.lang-menu button:hover { background: var(--bg); }
.lang-menu button[aria-checked="true"] { background: var(--brand-soft); color: var(--brand); }
.lang-menu .lang-flag { width: 28px; height: 19px; }
.lang-menu b { font-weight: 600; display: block; }
.lang-menu small { color: var(--muted); font-size: .75rem; }
.lang-menu .ok { width: 16px; height: 16px; opacity: 0; }
.lang-menu button[aria-checked="true"] .ok { opacity: 1; }
html.tr-busy .lang-btn::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: trSpin .8s linear infinite; }
@keyframes trSpin { to { transform: rotate(360deg); } }
html.tr-wait body > :not(.splash) { opacity: 0; animation: trShow 0s 2.5s forwards; }
@keyframes trShow { to { opacity: 1; } }
@media (max-width: 640px) {
  .lang-menu { left: 0; right: auto; }
  .lang-cur { font-size: 0; }
  .lang-cur::after { content: attr(data-short); font-size: .8rem; }
}

@media (max-width: 760px) { .mbar a { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding-inline: 2px; } }
