/* Hava durumu: sol araç çubuğu + güncel kart + Meltem asistanı + saatlik/günlük (İ-119/İ-120) */
.wx-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:start;margin:8px 0 28px;}
.wx-main{display:flex;flex-direction:column;gap:18px;min-width:0;}
.wx-main>section{scroll-margin-top:96px;}

.wx-rail{position:sticky;top:calc(var(--fz-sticky-top,0px) + var(--fz-header-h,0px) + var(--fz-breaking-h,0px) + var(--fz-markets-h,0px) + 12px);max-height:calc(100vh - var(--fz-sticky-top,0px) - var(--fz-header-h,0px) - var(--fz-breaking-h,0px) - var(--fz-markets-h,0px) - 24px);overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding:12px 10px;background:#eef5ff;border:1px solid #dbe7f7;border-radius:18px;box-shadow:0 6px 18px rgba(15,23,42,.06);}
.wx-rail__item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:#1f2937;text-decoration:none;font-size:14px;font-weight:600;line-height:1.2;transition:background-color .15s ease,color .15s ease;}
.wx-rail__item i{width:18px;text-align:center;font-size:15px;color:#0e7490;}
.wx-rail__item:hover,.wx-rail__item:focus-visible{background:#dbeafe;outline:none;}
.wx-rail__item.is-active{background:#fcd34d;color:#111827;}
.wx-rail__item.is-active i{color:#111827;}
.wx-rail__sep{display:block;height:1px;background:#cbd5e1;margin:8px 4px;}
.wx-rail__tools{display:flex;justify-content:space-around;}
.wx-rail__tool{width:38px;height:38px;border-radius:50%;border:0;background:transparent;color:#1f2937;font-size:17px;cursor:pointer;}
.wx-rail__tool:hover,.wx-rail__tool:focus-visible{background:#dbeafe;outline:none;}

.wx-hero{position:relative;border-radius:22px;padding:22px 24px 18px;color:#0f172a;background:linear-gradient(135deg,#e0f2fe 0%,#fef3c7 100%);box-shadow:0 10px 26px rgba(15,23,42,.08);overflow:hidden;}
.wx-sky--clear-day{background:linear-gradient(135deg,#dbeafe 0%,#e0f2fe 45%,#fef3c7 100%);}
.wx-sky--cloud-day{background:linear-gradient(135deg,#e0f2fe 0%,#e2e8f0 100%);}
.wx-sky--cloud{background:linear-gradient(135deg,#e2e8f0 0%,#cbd5e1 100%);}
.wx-sky--rain{background:linear-gradient(135deg,#cbd5e1 0%,#bfdbfe 100%);}
.wx-sky--snow{background:linear-gradient(135deg,#f1f5f9 0%,#e0f2fe 100%);}
.wx-sky--mist{background:linear-gradient(135deg,#f3f4f6 0%,#e5e7eb 100%);}
.wx-sky--clear-night{background:linear-gradient(135deg,#1e293b 0%,#312e81 100%);color:#f8fafc;}
.wx-sky--cloud-night{background:linear-gradient(135deg,#334155 0%,#1e3a8a 100%);color:#f8fafc;}
.wx-sky--storm{background:linear-gradient(135deg,#475569 0%,#1e293b 100%);color:#f8fafc;}
.wx-hero__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding-right:90px;}
.wx-hero__place{margin:0;font-size:24px;font-weight:800;line-height:1.2;color:inherit;}
.wx-hero__place small{font-size:17px;font-weight:600;opacity:.8;}
.wx-hero__time{margin:0;font-size:13px;opacity:.8;}
.wx-hero__now{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:12px 0 6px;}
.wx-hero__temp{font-size:72px;font-weight:300;line-height:1;letter-spacing:-2px;}
.wx-hero__unit{font-size:26px;font-weight:500;vertical-align:top;margin-left:2px;letter-spacing:0;}
.wx-hero__cond{display:flex;flex-direction:column;gap:3px;font-size:14px;}
.wx-hero__cond strong{font-size:20px;font-weight:700;}
.wx-hero__note{margin:4px 0 0;font-size:13px;opacity:.85;}
.wx-ico{display:block;flex-shrink:0;width:48px;height:48px;}
.wx-ico--xl{width:96px;height:96px;filter:drop-shadow(0 4px 10px rgba(15,23,42,.15));}
.wx-ico--md{width:40px;height:40px;}
.wx-chips{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
.wx-chips li{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.62);font-size:12px;min-width:0;}
.wx-sky--clear-night .wx-chips li,.wx-sky--cloud-night .wx-chips li,.wx-sky--storm .wx-chips li{background:rgba(255,255,255,.12);}
.wx-chips i{font-size:14px;color:#0e7490;}
.wx-sky--clear-night .wx-chips i,.wx-sky--cloud-night .wx-chips i,.wx-sky--storm .wx-chips i{color:#7dd3fc;}
.wx-chips span{opacity:.8;}
.wx-chips b{font-size:14px;overflow-wrap:anywhere;}
.wx-hero .news-brand-layer--hero{top:14px;right:16px;}

.wx-bot{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,#ecfeff 0%,#fdf2f8 100%);border:1px solid #cffafe;box-shadow:0 6px 18px rgba(15,23,42,.05);}
.wx-bot__avatar{flex-shrink:0;animation:wxFloat 4s ease-in-out infinite;}
.wx-bot__avatar svg{display:block;width:96px;height:96px;}
.wx-bot__talk{flex:1;min-width:0;}
.wx-bot__name{margin:0 0 6px;font-weight:800;font-size:16px;color:#0e7490;}
.wx-bot__name span{font-weight:600;font-size:13px;color:#64748b;margin-left:4px;}
.wx-bot__bubble{position:relative;margin:0 0 10px;padding:12px 14px;border-radius:4px 16px 16px 16px;background:#fff;color:#0f172a;font-size:15px;line-height:1.5;box-shadow:0 2px 8px rgba(15,23,42,.06);}
.wx-bot__bubble.is-new{animation:wxPop .25s ease-out;}
.wx-bot__asks{display:flex;flex-wrap:wrap;gap:8px;}
.wx-bot__ask{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;border:1px solid #a5f3fc;background:#fff;color:#0f172a;font:inherit;font-size:13px;font-weight:600;cursor:pointer;}
.wx-bot__ask i{color:#0e7490;}
.wx-bot__ask:hover,.wx-bot__ask:focus-visible{background:#cffafe;outline:none;}
.wx-bot__ask.is-on{background:#0e7490;border-color:#0e7490;color:#fff;}
.wx-bot__ask.is-on i{color:#fff;}
.wx-bot__fine{margin:8px 0 0;font-size:11px;color:#64748b;}
@keyframes wxFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
@keyframes wxPop{from{opacity:.3;transform:translateY(4px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.wx-bot__avatar,.wx-bot__bubble.is-new{animation:none;}}

.wx-card{padding:16px 18px;border-radius:18px;background:var(--card,#fff);border:1px solid var(--border,#e7e5e4);box-shadow:var(--shadow,0 8px 20px rgba(15,23,42,.06));}
.wx-card__title{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:17px;font-weight:800;color:var(--text,#18202b);}
.wx-card__title i{color:#0e7490;}
.wx-card__title small{font-weight:500;font-size:12px;color:var(--muted,#5b6574);}
.wx-empty{margin:0;color:var(--muted,#5b6574);font-size:14px;}

.wx-hours{list-style:none;margin:0;padding:0 0 4px;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;}
.wx-hours__item{flex:0 0 84px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:14px;background:#f1f5f9;font-size:13px;}
.wx-hours__item b{font-size:17px;}
.wx-hours__t{font-weight:700;color:#334155;}
.wx-hours__pop,.wx-day__pop{font-size:12px;color:#64748b;white-space:nowrap;}
.wx-hours__pop.is-wet,.wx-day__pop.is-wet{color:#1d4ed8;font-weight:700;}

.wx-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.wx-detail{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px;min-width:0;}
.wx-detail i{font-size:16px;color:#0e7490;}
.wx-detail span{color:#64748b;}
.wx-detail b{font-size:18px;color:#0f172a;}
.wx-meter{display:block;height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin-top:4px;}
.wx-meter span{display:block;height:100%;background:linear-gradient(90deg,#67e8f9,#2563eb);}

.wx-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.wx-day{display:grid;grid-template-columns:96px 40px minmax(0,1fr) 54px minmax(140px,220px);align-items:center;gap:10px;padding:8px 0;border-top:1px solid #eef2f7;font-size:14px;}
.wx-day:first-child{border-top:0;}
.wx-day__name{font-weight:700;display:flex;flex-direction:column;}
.wx-day__name small{font-weight:500;color:#64748b;font-size:12px;}
.wx-day__cond{color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wx-day__range{display:flex;align-items:center;gap:8px;}
.wx-day__min{color:#64748b;font-weight:600;min-width:30px;text-align:right;}
.wx-day__max{min-width:30px;}
.wx-day__bar{position:relative;flex:1;height:6px;border-radius:999px;background:#e2e8f0;}
.wx-day__bar span{position:absolute;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#fbbf24,#f97316);}

.wx-card--sea{background:linear-gradient(135deg,#ecfeff 0%,#fffbeb 100%);}
.wx-sea{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.wx-sea__item{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;background:rgba(255,255,255,.7);}
.wx-sea__item i{font-size:20px;color:#0891b2;margin-top:2px;}
.wx-sea__item:last-child i{color:#f59e0b;}
.wx-sea__item p{margin:0;font-size:14px;line-height:1.5;color:#1f2937;}

#wx-ilceler{scroll-margin-top:96px;}
#wx-ilceler .district-item.is-current{box-shadow:0 0 0 2px #fcd34d inset;}
#wx-ilceler .district-temp--go{color:#94a3b8;font-size:14px;}

@media (max-width:1100px){
  .wx-chips{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:900px){
  .wx-layout{grid-template-columns:minmax(0,1fr);gap:12px;}
  .wx-rail{position:static;max-height:none;flex-direction:row;align-items:center;gap:6px;padding:8px;overflow-x:auto;border-radius:14px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .wx-rail__item{flex:0 0 auto;padding:8px 10px;font-size:13px;}
  .wx-rail__sep{width:1px;height:24px;margin:0 2px;flex:0 0 1px;}
  .wx-rail__tools{flex:0 0 auto;gap:2px;}
  .wx-main>section,#wx-ilceler{scroll-margin-top:76px;}
  .wx-details{grid-template-columns:repeat(2,minmax(0,1fr));}
  .wx-day{grid-template-columns:72px 36px minmax(0,1fr) 48px minmax(110px,160px);}
}
@media (max-width:600px){
  .wx-hero{padding:16px 16px 14px;border-radius:18px;}
  .wx-hero__head{padding-right:76px;}
  .wx-hero__place{font-size:20px;}
  .wx-hero__temp{font-size:56px;}
  .wx-ico--xl{width:72px;height:72px;}
  .wx-chips{grid-template-columns:repeat(2,minmax(0,1fr));}
  .wx-bot{flex-direction:column;align-items:center;text-align:left;padding:14px;}
  .wx-bot__talk{width:100%;}
  .wx-bot__avatar svg{width:80px;height:80px;}
  .wx-sea{grid-template-columns:minmax(0,1fr);}
  .wx-day{grid-template-columns:62px 32px minmax(0,1fr) auto;row-gap:4px;}
  .wx-day .wx-ico--md{width:32px;height:32px;}
  .wx-day__cond{font-size:13px;}
  .wx-day__range{grid-column:1 / -1;}
}
