/* Hub - Wetter (wetter.js, FEATURES2.md Abschnitt E): Wetter-Symbole (.wi-*), Widget der Startseite (.wt-w*)
   und Wetter-Dashboard (.wt-*). Tokens und h-Bausteine (h-panel, h-head, h-btn, h-chip, h-badge, h-meter, h-skel,
   h-empty) kommen aus theme.css, der Widget-Rahmen (.hw, .hw-box, Groessenklassen w-lt*) aus home.css.
   iOS 12: kein gap in Flexbox (Abstaende per margin), Grid-gap doppelt (grid-gap + gap), kein inset/clamp/min()/max()/
   aspect-ratio/:is; backdrop-filter mit -webkit-; alle Bewegungen bei prefers-reduced-motion aus.
   Farben der Temperatur-Balken, Positionen und Breiten setzt wetter.js per CSSOM (keine style-Attribute). */

/* ============================================================== Symbole == */
.wi { display: block; flex: 0 0 auto; overflow: visible; }
/* Strahlen drehen sich um die Sonnenmitte (Gruppe ist dorthin verschoben; fill-box zusaetzlich, wo bekannt) */
.wi-anim .wi-rays { -webkit-transform-box: fill-box; transform-box: fill-box; -webkit-transform-origin: center; transform-origin: center;
  -webkit-animation: wi-spin 40s linear infinite; animation: wi-spin 40s linear infinite; }
.wi-anim .wi-float { -webkit-animation: wi-float 6s ease-in-out infinite; animation: wi-float 6s ease-in-out infinite; }
.wi-anim .wi-fall { -webkit-animation: wi-fall 1.3s linear infinite; animation: wi-fall 1.3s linear infinite; }
.wi-anim .wi-flake { -webkit-animation-name: wi-snow; animation-name: wi-snow; -webkit-animation-duration: 3s; animation-duration: 3s; }
.wi-anim .wi-d2 { -webkit-animation-delay: -.45s; animation-delay: -.45s; }
.wi-anim .wi-d3 { -webkit-animation-delay: -.9s; animation-delay: -.9s; }
.wi-anim .wi-flake.wi-d2 { -webkit-animation-delay: -1s; animation-delay: -1s; }
.wi-anim .wi-flake.wi-d3 { -webkit-animation-delay: -2s; animation-delay: -2s; }
.wi-anim .wi-bolt { -webkit-animation: wi-flash 5s ease-in-out infinite; animation: wi-flash 5s ease-in-out infinite; }
.wi-anim .wi-fog { -webkit-animation: wi-drift 7s ease-in-out infinite alternate; animation: wi-drift 7s ease-in-out infinite alternate; }
.wi-anim .wi-f2 { -webkit-animation-delay: -2.4s; animation-delay: -2.4s; }
.wi-anim .wi-f3 { -webkit-animation-delay: -4.8s; animation-delay: -4.8s; }
.wi-anim .wi-star { -webkit-animation: wi-twinkle 3.4s ease-in-out infinite alternate; animation: wi-twinkle 3.4s ease-in-out infinite alternate; }
.wi-anim .wi-s2 { -webkit-animation-delay: -1.7s; animation-delay: -1.7s; }

@-webkit-keyframes wi-spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } }
@keyframes wi-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@-webkit-keyframes wi-float { 0%, 100% { -webkit-transform: translate(0, 0); } 50% { -webkit-transform: translate(0, -1.5px); } }
@keyframes wi-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -1.5px); } }
@-webkit-keyframes wi-fall { 0% { -webkit-transform: translate(1.2px, -4px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { -webkit-transform: translate(-1.6px, 5px); opacity: 0; } }
@keyframes wi-fall { 0% { transform: translate(1.2px, -4px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translate(-1.6px, 5px); opacity: 0; } }
@-webkit-keyframes wi-snow { 0% { -webkit-transform: translate(-1px, -4px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { -webkit-transform: translate(1.5px, 5px); opacity: 0; } }
@keyframes wi-snow { 0% { transform: translate(-1px, -4px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translate(1.5px, 5px); opacity: 0; } }
@-webkit-keyframes wi-flash { 0%, 80%, 87%, 100% { opacity: 1; } 83% { opacity: .2; } 90% { opacity: .55; } }
@keyframes wi-flash { 0%, 80%, 87%, 100% { opacity: 1; } 83% { opacity: .2; } 90% { opacity: .55; } }
@-webkit-keyframes wi-drift { 0% { -webkit-transform: translate(-2.2px, 0); } 100% { -webkit-transform: translate(2.2px, 0); } }
@keyframes wi-drift { 0% { transform: translate(-2.2px, 0); } 100% { transform: translate(2.2px, 0); } }
@-webkit-keyframes wi-twinkle { 0% { opacity: .3; } 100% { opacity: 1; } }
@keyframes wi-twinkle { 0% { opacity: .3; } 100% { opacity: 1; } }

/* nur fuer Screenreader */
.wt-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =============================================================== Widget == */
/* Rahmen .hw.wt-wf (home.js), Inhalt .hw-box.wt-w: Kopf, "jetzt", Chips, 7-Tage-Leiste, 24-Std.-Kurve */
.hw.wt-wf {
  background: rgba(255,255,255,.045);
  background: radial-gradient(110% 85% at 100% 0%, rgba(251,191,36,.10), rgba(251,191,36,0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(34,211,238,.07), rgba(34,211,238,0) 60%), var(--panel);
}
.wt-wf .h-title::before { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,.9), 0 0 2px #fbbf24; }
.wt-w { cursor: pointer; }
.hb.editing .wt-w { cursor: default; }
.wt-w .h-title { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; white-space: nowrap; }
.w-lt360 .wt-w .h-head > .h-link > span { display: none; }        /* schmal: nur der Pfeil */
.wt-w-place { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--t1); }
.wt-w-place::before { content: "·"; display: inline-block; margin: 0 .55em; color: var(--t3); }
.w-lt240 .wt-w-place { display: none; }

.wt-w-main { display: flex; flex-direction: column; flex: 1 0 auto; min-height: 0; }
.wt-w-now { display: flex; align-items: center; min-width: 0; }
.wt-w-big { display: flex; align-items: center; flex: 0 0 auto; }
.wt-w-ico { margin: -6px 4px -6px -6px; -webkit-filter: drop-shadow(0 0 14px rgba(251,191,36,.25)); filter: drop-shadow(0 0 14px rgba(251,191,36,.25)); }
.wt-w-ico.wi-night { -webkit-filter: drop-shadow(0 0 14px rgba(196,181,253,.3)); filter: drop-shadow(0 0 14px rgba(196,181,253,.3)); }
.wt-w-temp {
  position: relative; font-size: 54px; font-weight: 200; line-height: 1; letter-spacing: -.035em; color: var(--t1); white-space: nowrap;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wt-w-temp, .wt-temp-v {
    background: linear-gradient(120deg, #fff 0%, #ffe8a3 40%, #5eead4 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
.wt-w-deg { position: relative; top: -.02em; margin-left: 2px; font-size: .62em; font-weight: 300; vertical-align: top; }
.wt-w-info { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; margin-left: 16px; }
.wt-w-cond { overflow: hidden; font-size: 16px; font-weight: 650; line-height: 1.3; color: var(--t1); text-overflow: ellipsis; white-space: nowrap; }
.wt-w-sub { display: flex; align-items: center; flex-wrap: wrap; font-size: 13px; line-height: 1.5; color: var(--t2); font-variant-numeric: tabular-nums; }
.wt-w-mm { margin-right: 10px; }
.wt-w-pop { display: inline-flex; align-items: center; color: #93c5fd; }
.wt-w-pop svg { margin-right: 4px; }
.wt-w-chips { display: flex; flex-wrap: wrap; margin: 8px -4px 0; }
.wt-w-chip {
  display: inline-flex; align-items: center; height: 28px; margin: 4px; padding: 0 10px 0 8px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--edge); color: var(--t2); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.wt-w-chip svg { margin-right: 6px; color: var(--t3); }
.wt-w-strip { display: flex; margin: auto 0 0; padding: 14px 0 0; list-style: none; }
.wt-w-day {
  display: flex; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 0; padding: 8px 1px 6px; border-radius: 14px;
  font-variant-numeric: tabular-nums;
}
.wt-w-day + .wt-w-day { margin-left: 2px; }
.wt-w-day.is-today { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.wt-w-dn { font-size: 12px; font-weight: 700; color: var(--t2); letter-spacing: .02em; }
.wt-w-day.is-today .wt-w-dn { color: #5eead4; }
.wt-w-day .wi { margin: 5px 0 4px; }
.wt-w-hi { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--t1); }
.wt-w-lo { font-size: 13px; line-height: 1.3; color: var(--t3); }
.wt-w-dp { min-height: 15px; font-size: 11px; font-weight: 700; line-height: 1.4; color: #93c5fd; }
.wt-w-curve { position: relative; flex: 1 1 auto; min-height: 76px; margin-top: 12px; }
.wt-w-hascurve .wt-w-main { flex: 0 0 auto; }          /* mit Kurve bekommt die Kurve den freien Platz */
.wt-w-curve > svg { position: absolute; top: 0; left: 0; display: block; }
.wt-mc-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wt-mc-pt { fill: #0b1120; stroke: rgba(255,255,255,.85); stroke-width: 1.6; }
.wt-mc-t { fill: var(--t1); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wt-mc-h { fill: var(--t3); font-size: 11.5px; font-weight: 600; }
.wt-mc-rain { fill: #60a5fa; }

/* breit: "jetzt" + Chips links, Leiste rechts */
.wt-w-wide .wt-w-main {
  display: grid; grid-template-columns: minmax(276px, 38%) minmax(0, 1fr); grid-template-rows: auto auto;
  grid-template-areas: "now strip" "chips strip"; grid-column-gap: 26px; column-gap: 26px; align-items: center; flex: 0 0 auto;
}
.wt-w-wide .wt-w-now { grid-area: now; align-self: end; }
.wt-w-wide .wt-w-chips { grid-area: chips; align-self: start; }
.wt-w-wide .wt-w-strip { grid-area: strip; margin: 0; padding: 0; }
.wt-w-wide .wt-w-chips:only-child { margin-top: 0; }
.wt-w-wide.wt-w-hascurve .wt-w-curve { margin-top: 14px; }
.w-lt800 .wt-w-wide .wt-w-chip:nth-child(3) { display: none; }     /* knapp: zwei Chips in einer Zeile */
/* schmal/klein */
.w-lt360 .wt-w-temp { font-size: 46px; }
.w-lt360 .wt-w-info { margin-left: 12px; }
.w-lt360 .wt-w-cond { font-size: 15px; }
/* schmal: "jetzt" gestapelt (Symbol + Temperatur, darunter die Texte) */
.wt-w-stack .wt-w-now { flex-direction: column; align-items: flex-start; }
.wt-w-stack .wt-w-info { width: 100%; margin: 6px 0 0; }
.wt-w-stack .wt-w-temp, .w-lt360 .wt-w-stack .wt-w-temp { font-size: 46px; }
/* kompakte Leiste: ohne Regenzeile, kleinere Symbole */
.wt-w-cstrip .wt-w-strip { padding-top: 10px; }
.wt-w-cstrip .wt-w-day { padding: 6px 1px 4px; }
.wt-w-cstrip .wt-w-day .wi { margin: 4px 0 2px; }
.wt-w-cstrip .wt-w-dp { display: none; }
.w-lt360 .wt-w-day .wi { width: 24px; height: 24px; }
.w-lt360 .wt-w-hi { font-size: 14px; }
.w-lt360 .wt-w-lo { font-size: 12px; }
.w-lt360 .wt-w-dn { font-size: 11.5px; }

/* Warnhinweis im Widget */
.wt-w-alert {
  display: flex; align-items: center; flex: 0 0 auto; min-width: 0; min-height: 30px; margin: -2px 0 10px; padding: 4px 10px 4px 8px;
  border-radius: 11px; border: 1px solid rgba(251,191,36,.38); background: rgba(251,191,36,.10); color: #fde68a;
  font-size: 12.5px; text-decoration: none;
}
.wt-w-alert svg { flex: 0 0 auto; color: #fbbf24; }
.wt-w-alert b { flex: 0 0 auto; margin: 0 7px 0 6px; font-weight: 800; letter-spacing: .02em; }
.wt-w-alert span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t1); }
.wt-w-alert .wt-w-more { flex: 0 0 auto; margin-left: auto; padding-left: 8px; color: var(--t2); font-weight: 700; }
.wt-w-alert.s2 { border-color: rgba(251,146,60,.45); background: rgba(251,146,60,.11); color: #fed7aa; }
.wt-w-alert.s2 svg { color: #fb923c; }
.wt-w-alert.s3 { border-color: rgba(251,113,133,.5); background: rgba(251,113,133,.12); color: #fecdd3; }
.wt-w-alert.s3 svg { color: #fb7185; }
.wt-w-alert.s4 { border-color: rgba(232,121,249,.55); background: rgba(217,70,239,.13); color: #f5d0fe; }
.wt-w-alert.s4 svg { color: #e879f9; }

/* Laden / Fehler */
.wt-w-skel { display: flex; align-items: center; flex: 1 1 auto; }
.wt-w-sk1 { flex: 0 0 auto; width: 64px; height: 64px; margin-right: 18px; border-radius: 50%; }
.wt-w-sk2 { flex: 1 1 auto; min-width: 0; }
.wt-w-sk2 .h-skel:nth-child(1) { width: 46%; height: 26px; border-radius: 9px; }
.wt-w-sk2 .h-skel:nth-child(2) { width: 72%; }
.wt-w-sk2 .h-skel:nth-child(3) { width: 58%; }
.wt-w-err { flex: 1 1 auto; padding: 6px 8px; }
.wt-w-err > span { font-weight: 650; color: #fecdd3; }
.wt-w-errm { margin: 2px 0 12px; font-size: 12.5px; color: var(--t3); }
.wt-w-retry { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.wt-w-retry svg { width: 18px; height: 18px; }

/* =========================================================== Dashboard == */
.wt-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin: 4px 0 16px; }
.wt-headtxt { min-width: 0; margin-right: 24px; }
.page h2.wt-title {
  display: block; margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-transform: none; color: var(--t1);
}
.page h2.wt-title::before, .page h2.wt-city::before, .page h2.wt-vh::before { content: none; display: none; }
.wt-lead { display: flex; align-items: center; margin: 8px 0 0; font-size: 15px; color: var(--t2); }
.wt-lead svg { flex: 0 0 auto; margin-right: 8px; color: #fbbf24; -webkit-filter: drop-shadow(0 0 6px rgba(251,191,36,.5)); filter: drop-shadow(0 0 6px rgba(251,191,36,.5)); }
.wt-lead b { color: var(--t1); font-weight: 650; }
.wt-tools { display: flex; align-items: center; margin: 12px 0 0 auto; }
.wt-tools .h-btn + .h-btn { margin-left: 10px; }

/* Staedte-Leiste */
.wt-cbar { position: relative; margin: 0 -6px 14px; }
.wt-chips {
  display: flex; align-items: center; padding: 6px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wt-chips::-webkit-scrollbar { display: none; }
/* ab Tablet: Chips umbrechen statt waagrecht zu wischen (bis zu 20 Staedte bleiben sichtbar) */
@media (min-width: 700px) {
  .wt-chips { flex-wrap: wrap; overflow: visible; }
  .wt-chip { margin-bottom: 10px; }
  .wt-cbar { margin-bottom: 4px; }
}
.wt-chip {
  -webkit-appearance: none; appearance: none; position: relative;
  display: inline-flex; align-items: center; flex: 0 0 auto; height: 48px; margin-right: 10px; padding: 0 16px 0 10px;
  border-radius: 999px; border: 1px solid var(--edge); background: rgba(255,255,255,.045); color: var(--t2);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 var(--edge-hi); touch-action: manipulation;
  transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.wt-chip-ico { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 8px; }
.wt-chip-ph { display: block; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.07); }
.wt-chip-n { color: var(--t1); }
.wt-chip-sub { max-width: 130px; margin-left: 6px; overflow: hidden; font-size: 12.5px; font-weight: 600; color: var(--t3); text-overflow: ellipsis; }
.wt-chip-t { margin-left: 10px; color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; }
.wt-chip-t.is-wait { color: var(--t3); font-weight: 600; }
.wt-chip-star { display: inline-flex; margin-left: 8px; color: #fbbf24; }
.wt-chip-star svg, .wt-homeb svg, .wt-mstar.is-on svg, .wt-cr-star svg, .wt-mg-hint svg { fill: currentColor; }
.wt-chip.is-sel {
  border-color: rgba(94,234,212,.55); background: rgba(94,234,212,.09); color: var(--t1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 0 0 1px rgba(94,234,212,.18), 0 0 24px -6px rgba(94,234,212,.6);
}
.wt-chip-add { padding: 0 16px 0 12px; border-style: dashed; border-color: var(--edge-2); background: transparent; box-shadow: none; }
.wt-chip-add svg { margin-right: 6px; color: #5eead4; }
.wt-chip-add.disabled { opacity: .45; }

/* Wechsel der Stadt: Inhalte blenden weich ein */
.wt-main.wt-swap > * { -webkit-animation: wt-swap .5s var(--ease) both; animation: wt-swap .5s var(--ease) both; }
.wt-main.wt-swap > :nth-child(2) { -webkit-animation-delay: .03s; animation-delay: .03s; }
.wt-main.wt-swap > :nth-child(3) { -webkit-animation-delay: .07s; animation-delay: .07s; }
.wt-main.wt-swap > :nth-child(n+4) { -webkit-animation-delay: .11s; animation-delay: .11s; }
@-webkit-keyframes wt-swap { 0% { opacity: 0; -webkit-transform: translate3d(0, 10px, 0); } }
@keyframes wt-swap { 0% { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* ------------------------------------------------------------------ Hero -- */
.wt-hero { position: relative; overflow: hidden; padding: 0; }
.wt-hero-in { position: relative; z-index: 1; padding: 24px 28px 18px; }
.wt-sky { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.wt-sky > i { position: absolute; display: block; }
.wt-sky-a {
  top: -230px; right: -140px; width: 620px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251,191,36,.26), rgba(251,191,36,0));
}
.wt-sky-b {
  bottom: -280px; left: -160px; width: 680px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34,211,238,.15), rgba(34,211,238,0));
}
.wt-sky-fx { top: 0; left: 0; right: 0; bottom: 0; }
.wt-sky::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
/* klar am Tag: warmes Sonnenlicht oben rechts, Himmelblau */
.sky-clear.is-day .wt-sky::before { background: linear-gradient(160deg, rgba(56,189,248,.13), rgba(56,189,248,0) 58%); }
.sky-clear.is-day .wt-sky-a { -webkit-animation: wt-glow 9s ease-in-out infinite alternate; animation: wt-glow 9s ease-in-out infinite alternate; }
/* Nacht: Indigo, Mondschein, Sterne */
.is-night .wt-sky::before { background: linear-gradient(165deg, rgba(79,70,229,.17), rgba(79,70,229,0) 62%); }
.is-night .wt-sky-a { background: radial-gradient(closest-side, rgba(196,181,253,.2), rgba(196,181,253,0)); }
.is-night .wt-sky-b { background: radial-gradient(closest-side, rgba(56,189,248,.1), rgba(56,189,248,0)); }
.sky-clear.is-night .wt-sky-fx, .sky-partly.is-night .wt-sky-fx {
  background-image:
    radial-gradient(1.2px 1.2px at 8% 22%, rgba(255,255,255,.75), rgba(255,255,255,0)),
    radial-gradient(1px 1px at 19% 64%, rgba(255,255,255,.55), rgba(255,255,255,0)),
    radial-gradient(1.4px 1.4px at 33% 14%, rgba(255,255,255,.8), rgba(255,255,255,0)),
    radial-gradient(1px 1px at 46% 41%, rgba(255,255,255,.5), rgba(255,255,255,0)),
    radial-gradient(1.2px 1.2px at 58% 18%, rgba(255,255,255,.7), rgba(255,255,255,0)),
    radial-gradient(1px 1px at 71% 57%, rgba(255,255,255,.5), rgba(255,255,255,0)),
    radial-gradient(1.4px 1.4px at 83% 28%, rgba(255,255,255,.75), rgba(255,255,255,0)),
    radial-gradient(1px 1px at 93% 72%, rgba(255,255,255,.5), rgba(255,255,255,0)),
    radial-gradient(1px 1px at 63% 86%, rgba(255,255,255,.45), rgba(255,255,255,0)),
    radial-gradient(1.2px 1.2px at 26% 88%, rgba(255,255,255,.5), rgba(255,255,255,0));
  -webkit-animation: wt-twinkle 5s ease-in-out infinite alternate; animation: wt-twinkle 5s ease-in-out infinite alternate;
}
/* teils bewoelkt / bewoelkt / Nebel */
.sky-partly.is-day .wt-sky::before { background: linear-gradient(160deg, rgba(56,189,248,.1), rgba(56,189,248,0) 58%); }
.sky-partly.is-day .wt-sky-a { background: radial-gradient(closest-side, rgba(251,191,36,.18), rgba(251,191,36,0)); }
.sky-cloudy .wt-sky::before, .sky-fog .wt-sky::before { background: linear-gradient(170deg, rgba(148,163,184,.12), rgba(148,163,184,0) 62%); }
.sky-cloudy .wt-sky-a, .sky-fog .wt-sky-a { background: radial-gradient(closest-side, rgba(203,213,225,.13), rgba(203,213,225,0)); }
.sky-cloudy .wt-sky-b, .sky-fog .wt-sky-b { background: radial-gradient(closest-side, rgba(100,116,139,.16), rgba(100,116,139,0)); }
.sky-fog .wt-sky-fx {
  left: -30%; right: -30%;
  background: linear-gradient(180deg, rgba(203,213,225,0) 30%, rgba(203,213,225,.07) 46%, rgba(203,213,225,0) 60%, rgba(203,213,225,.06) 76%, rgba(203,213,225,0) 90%);
  -webkit-animation: wt-haze 14s ease-in-out infinite alternate; animation: wt-haze 14s ease-in-out infinite alternate;
}
/* Regen: kuehles Blau, feine fallende Striche */
.sky-rain .wt-sky::before { background: linear-gradient(170deg, rgba(96,165,250,.13), rgba(96,165,250,0) 65%); }
.sky-rain .wt-sky-a { background: radial-gradient(closest-side, rgba(96,165,250,.2), rgba(96,165,250,0)); }
.sky-rain .wt-sky-b { background: radial-gradient(closest-side, rgba(100,116,139,.18), rgba(100,116,139,0)); }
.sky-rain .wt-sky-fx, .sky-storm .wt-sky-fx {
  top: -120px; bottom: auto; left: -12%; right: -12%; height: 100%; height: calc(100% + 120px); opacity: .7;
  background-image:
    radial-gradient(.8px 9px at 6% 12%, rgba(147,197,253,.5), rgba(147,197,253,0)),
    radial-gradient(.8px 7px at 27% 58%, rgba(147,197,253,.4), rgba(147,197,253,0)),
    radial-gradient(.8px 10px at 48% 28%, rgba(147,197,253,.45), rgba(147,197,253,0)),
    radial-gradient(.8px 8px at 69% 81%, rgba(147,197,253,.4), rgba(147,197,253,0)),
    radial-gradient(.8px 9px at 88% 44%, rgba(147,197,253,.45), rgba(147,197,253,0));
  background-size: 150px 120px;
  -webkit-animation: wt-rain 1s linear infinite; animation: wt-rain 1s linear infinite;
}
/* Schnee: ruhig sinkende Flocken */
.sky-snow .wt-sky::before { background: linear-gradient(170deg, rgba(186,230,253,.12), rgba(186,230,253,0) 62%); }
.sky-snow .wt-sky-a { background: radial-gradient(closest-side, rgba(224,242,254,.16), rgba(224,242,254,0)); }
.sky-snow .wt-sky-fx {
  top: -160px; bottom: auto; height: 100%; height: calc(100% + 160px); opacity: .8;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,.7), rgba(255,255,255,0)),
    radial-gradient(1.6px 1.6px at 35% 70%, rgba(255,255,255,.55), rgba(255,255,255,0)),
    radial-gradient(2.2px 2.2px at 62% 35%, rgba(255,255,255,.65), rgba(255,255,255,0)),
    radial-gradient(1.6px 1.6px at 85% 80%, rgba(255,255,255,.5), rgba(255,255,255,0));
  background-size: 180px 160px;
  -webkit-animation: wt-snowfall 9s linear infinite; animation: wt-snowfall 9s linear infinite;
}
/* Gewitter: Violett, gelegentliches Wetterleuchten */
.sky-storm .wt-sky::before { background: linear-gradient(170deg, rgba(139,92,246,.16), rgba(139,92,246,0) 62%); }
.sky-storm .wt-sky-a { background: radial-gradient(closest-side, rgba(167,139,250,.22), rgba(167,139,250,0));
  -webkit-animation: wt-lightning 8s ease-out infinite; animation: wt-lightning 8s ease-out infinite; }
@-webkit-keyframes wt-glow { 0% { opacity: .75; -webkit-transform: scale(.96); } 100% { opacity: 1; -webkit-transform: scale(1.04); } }
@keyframes wt-glow { 0% { opacity: .75; transform: scale(.96); } 100% { opacity: 1; transform: scale(1.04); } }
@-webkit-keyframes wt-twinkle { 0% { opacity: .55; } 100% { opacity: 1; } }
@keyframes wt-twinkle { 0% { opacity: .55; } 100% { opacity: 1; } }
@-webkit-keyframes wt-haze { 0% { -webkit-transform: translate3d(-6%, 0, 0); } 100% { -webkit-transform: translate3d(6%, 0, 0); } }
@keyframes wt-haze { 0% { transform: translate3d(-6%, 0, 0); } 100% { transform: translate3d(6%, 0, 0); } }
@-webkit-keyframes wt-rain { 0% { -webkit-transform: skewX(-12deg) translate3d(0, 0, 0); } 100% { -webkit-transform: skewX(-12deg) translate3d(0, 120px, 0); } }
@keyframes wt-rain { 0% { transform: skewX(-12deg) translate3d(0, 0, 0); } 100% { transform: skewX(-12deg) translate3d(0, 120px, 0); } }
@-webkit-keyframes wt-snowfall { 0% { -webkit-transform: translate3d(0, 0, 0); } 100% { -webkit-transform: translate3d(-24px, 160px, 0); } }
@keyframes wt-snowfall { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-24px, 160px, 0); } }
@-webkit-keyframes wt-lightning { 0%, 88%, 100% { opacity: .7; } 90% { opacity: 1; } 91% { opacity: .8; } 93% { opacity: 1; } }
@keyframes wt-lightning { 0%, 88%, 100% { opacity: .7; } 90% { opacity: 1; } 91% { opacity: .8; } 93% { opacity: 1; } }

.wt-hero-top { display: flex; align-items: flex-start; justify-content: space-between; }
.wt-place { min-width: 0; }
.page h2.wt-city { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.012em; text-transform: none; color: var(--t1);
  overflow-wrap: break-word; word-wrap: break-word; }
.wt-region { display: flex; align-items: flex-start; margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--t2); }
.wt-region > svg { flex: 0 0 auto; margin: 2px 6px 0 0; color: var(--t3); }
.wt-region > span { min-width: 0; }
.wt-plz {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--edge-2);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--t2); font-variant-numeric: tabular-nums;
}
.wt-hacts { display: flex; align-items: center; flex: 0 0 auto; margin-left: 16px; }
.wt-hacts > * + * { margin-left: 8px; }
.wt-homeb {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px 0 11px; border-radius: 999px;
  border: 1px solid rgba(251,191,36,.4); background: rgba(251,191,36,.1); color: #fcd34d; font-size: 13.5px; font-weight: 700;
}
.wt-homeb svg { margin-right: 6px; }
.h-btn.wt-hbtn { min-height: 40px; padding: 8px 14px 8px 12px; font-size: 14px; background: rgba(255,255,255,.05); }
.h-btn.wt-hbtn > svg { width: 18px; height: 18px; margin-right: 7px; }
.h-btn.wt-hbtn.icon-only { min-width: 40px; padding: 8px; }
.h-btn.wt-hbtn.icon-only > svg { margin: 0; }

.wt-hero-mid { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.wt-now { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.wt-now-ico { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 156px; height: 156px; margin: -4px 12px -4px -16px; }
.wt-now-ico .wi { width: 146px; height: 146px; -webkit-filter: drop-shadow(0 0 20px rgba(226,232,240,.16)); filter: drop-shadow(0 0 20px rgba(226,232,240,.16)); }
.wt-now-ico .wi-clear.wi-day, .wt-now-ico .wi-few.wi-day, .wt-now-ico .wi-partly.wi-day {
  -webkit-filter: drop-shadow(0 0 26px rgba(251,191,36,.42)); filter: drop-shadow(0 0 26px rgba(251,191,36,.42)); }
.wt-now-ico .wi-clear.wi-night, .wt-now-ico .wi-few.wi-night { -webkit-filter: drop-shadow(0 0 24px rgba(196,181,253,.4)); filter: drop-shadow(0 0 24px rgba(196,181,253,.4)); }
.wt-now-ico .wi-rain, .wt-now-ico .wi-drizzle, .wt-now-ico .wi-showers, .wt-now-ico .wi-freezing {
  -webkit-filter: drop-shadow(0 0 22px rgba(96,165,250,.38)); filter: drop-shadow(0 0 22px rgba(96,165,250,.38)); }
.wt-now-ico .wi-thunder, .wt-now-ico .wi-hail { -webkit-filter: drop-shadow(0 0 24px rgba(252,211,77,.36)); filter: drop-shadow(0 0 24px rgba(252,211,77,.36)); }
.wt-now-txt { min-width: 0; }
.wt-temp { display: flex; align-items: flex-start; line-height: 1; }
.wt-temp-v { font-size: 104px; font-weight: 200; letter-spacing: -.05em; color: var(--t1); }
.wt-temp-u { margin: 14px 0 0 6px; font-size: 28px; font-weight: 300; color: var(--t2); }
.wt-cond { margin-top: 2px; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--t1); }
.wt-feels { margin-top: 6px; font-size: 15px; color: var(--t2); font-variant-numeric: tabular-nums; }
.wt-feels b { font-weight: 700; color: var(--t1); }
.wt-sep { margin: 0 8px; color: var(--t3); }
.wt-today {
  flex: 0 1 450px; min-width: 0; margin-left: 28px; padding: 16px 18px; border-radius: 20px;
  border: 1px solid var(--edge); background: rgba(4,7,15,.34); box-shadow: inset 0 1px 0 var(--edge-hi);
}
.wt-today-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); }
.wt-today-txt { margin: 8px 0 14px; font-size: 15px; line-height: 1.5; color: var(--t1); }
.wt-today-txt b { color: #fcd34d; font-weight: 700; }
.wt-facts { display: flex; flex-wrap: wrap; margin: -5px; }
.wt-fact {
  display: flex; flex-direction: column; flex: 1 1 0; min-width: 96px; margin: 5px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--edge); background: rgba(255,255,255,.045);
}
.wt-fact svg { margin-bottom: 6px; color: var(--t3); }
.wt-fact b { font-size: 17px; font-weight: 700; color: var(--t1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-fact small { margin-top: 1px; overflow: hidden; font-size: 12px; color: var(--t3); text-overflow: ellipsis; white-space: nowrap; }
.wt-stamp { display: flex; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--t3); }
.wt-stamp > svg { flex: 0 0 auto; margin-right: 6px; }
.h-chip.wt-stale { height: 28px; margin-left: 12px; font-size: 12.5px; }

/* ------------------------------------------------------------ Warnungen -- */
.wt-alerts { margin-bottom: 18px; }
.wt-alerts:empty { display: none; }
.wt-alert {
  position: relative; display: flex; align-items: flex-start; margin-bottom: 12px; padding: 16px 18px 14px 16px; overflow: hidden;
  border-radius: 20px; border: 1px solid rgba(251,191,36,.4); background: rgba(251,191,36,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px -24px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.wt-alert::before {
  content: ""; position: absolute; top: 14px; bottom: 14px; left: 0; width: 3px; border-radius: 0 3px 3px 0;
  background: #fbbf24; box-shadow: 0 0 14px rgba(251,191,36,.8);
}
.wt-al-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; margin-right: 14px;
  border-radius: 14px; color: #fbbf24; background: rgba(251,191,36,.14); box-shadow: 0 0 24px -6px rgba(251,191,36,.6);
}
.wt-al-body { flex: 1 1 auto; min-width: 0; }
.wt-al-top { display: flex; align-items: center; flex-wrap: wrap; }
.wt-al-badge { margin-right: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fcd34d; }
.wt-al-time { display: inline-flex; align-items: center; font-size: 13px; color: var(--t2); font-variant-numeric: tabular-nums; }
.wt-al-time svg { margin-right: 5px; color: var(--t3); }
.page h3.wt-al-h, .wt-al-h { margin: 4px 0 4px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--t1); }
.wt-al-desc {
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--t2); white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wt-alert.is-open .wt-al-desc { display: block; -webkit-line-clamp: unset; overflow: visible; }
.wt-al-inst { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; line-height: 1.55; color: var(--t1); white-space: pre-line; }
.wt-al-more {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; min-height: 36px; margin: 6px 0 -6px -8px; padding: 0 8px;
  border: 0; border-radius: 10px; background: none; color: #fcd34d; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.wt-al-more svg { margin-left: 4px; transition: transform .2s var(--ease); }
.wt-alert.is-open .wt-al-more svg { transform: rotate(180deg); }
.wt-al-src { margin: -4px 0 0 4px; font-size: 12px; color: var(--t3); }
.wt-al-off { display: flex; align-items: center; margin: 0 0 14px 4px; font-size: 13px; color: var(--t3); }
.wt-al-off svg { margin-right: 6px; }
/* Stufen: 1 gelb, 2 orange, 3 rot, 4 violett (wie die Warnkarte des DWD) */
.wt-alert.s2 { border-color: rgba(251,146,60,.45); background: rgba(251,146,60,.09); }
.wt-alert.s2::before { background: #fb923c; box-shadow: 0 0 14px rgba(251,146,60,.8); }
.wt-alert.s2 .wt-al-ico { color: #fb923c; background: rgba(251,146,60,.15); box-shadow: 0 0 24px -6px rgba(251,146,60,.6); }
.wt-alert.s2 .wt-al-badge, .wt-alert.s2 .wt-al-more { color: #fdba74; }
.wt-alert.s3 { border-color: rgba(251,113,133,.5); background: rgba(251,113,133,.1); }
.wt-alert.s3::before { background: #fb7185; box-shadow: 0 0 14px rgba(251,113,133,.85); }
.wt-alert.s3 .wt-al-ico { color: #fb7185; background: rgba(251,113,133,.16); box-shadow: 0 0 26px -6px rgba(251,113,133,.7); }
.wt-alert.s3 .wt-al-badge, .wt-alert.s3 .wt-al-more { color: #fda4af; }
.wt-alert.s4 { border-color: rgba(232,121,249,.55); background: rgba(217,70,239,.11); }
.wt-alert.s4::before { background: #e879f9; box-shadow: 0 0 14px rgba(232,121,249,.85); }
.wt-alert.s4 .wt-al-ico { color: #e879f9; background: rgba(217,70,239,.17); box-shadow: 0 0 26px -6px rgba(217,70,239,.7); }
.wt-alert.s4 .wt-al-badge, .wt-alert.s4 .wt-al-more { color: #f0abfc; }
.wt-alert.s3 .wt-al-ico, .wt-alert.s4 .wt-al-ico { -webkit-animation: wt-pulse 2.4s ease-in-out infinite; animation: wt-pulse 2.4s ease-in-out infinite; }
@-webkit-keyframes wt-pulse { 0%, 100% { -webkit-transform: scale(1); } 50% { -webkit-transform: scale(1.06); } }
@keyframes wt-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------------------------------------------------------- 48 Stunden -- */
.wt-hours { margin-top: 18px; padding-bottom: 12px; }
.wt-hours .h-head { flex-wrap: wrap; }
.wt-legend { display: flex; align-items: center; flex-wrap: wrap; margin-left: auto; font-size: 12.5px; color: var(--t3); }
.wt-legend > span { display: inline-flex; align-items: center; margin-left: 14px; white-space: nowrap; }
.wt-key-l { display: inline-block; flex: 0 0 auto; width: 16px; height: 3px; margin-right: 7px; border-radius: 2px;
  background: #22d3ee; background: linear-gradient(90deg, #22d3ee, #fde047, #fb923c); }
.wt-key-b { display: inline-block; flex: 0 0 auto; width: 8px; height: 11px; margin-right: 7px; border-radius: 2px 2px 0 0; background: #60a5fa; }
.wt-key-n { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 7px; border-radius: 4px;
  background: rgba(99,102,241,.22); border: 1px solid rgba(129,140,248,.3); }
.wt-cbox { position: relative; min-height: 228px; margin: 0 -8px; }
.wt-cscroll { position: relative; overflow: hidden; }
.wt-cscroll.is-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.16) transparent; }
.wt-cscroll.is-scroll::-webkit-scrollbar { height: 6px; }
.wt-cscroll.is-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 6px; }
.wt-chart { position: relative; border-radius: 14px; }
.wt-csvg { display: block; overflow: visible; }
.wt-c-night { fill: rgba(99,102,241,.075); }
.wt-c-sep { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.wt-c-base { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.wt-c-time { fill: #8d97b3; font-size: 12px; font-weight: 600; text-anchor: middle; }
.wt-c-time.is-now { fill: #5eead4; font-weight: 800; }
.wt-c-time.is-day { fill: #eef2ff; font-weight: 800; }
.wt-c-temp { fill: #eef2ff; font-size: 14px; font-weight: 700; text-anchor: middle; font-variant-numeric: tabular-nums; }
.wt-c-time.is-first, .wt-c-temp.is-first { text-anchor: start; }
.wt-c-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wt-c-bar { fill: #60a5fa; transition: fill .15s; }
.wt-c-bar.is-hot { fill: #bfdbfe; }
.wt-c-nowl { stroke: rgba(94,234,212,.5); stroke-width: 1.5; }
.wt-c-nowd { fill: #5eead4; stroke: #0b1120; stroke-width: 2; }
.wt-c-crossl { stroke: rgba(255,255,255,.42); stroke-width: 1; }
.wt-c-crossd { fill: #ffffff; stroke: #0b1120; stroke-width: 2.5; }
.wt-tip {
  position: absolute; top: 0; left: 0; z-index: 3; min-width: 176px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--edge-2); background: rgba(12,17,30,.95); color: var(--t2); font-size: 13px; pointer-events: none;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.2);
}
.wt-tip-h { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); white-space: nowrap; }
.wt-tip-c { display: flex; align-items: center; margin: 6px 0 6px; }
.wt-tip-c .wi { margin-right: 8px; }
.wt-tip-c span { display: flex; flex-direction: column; color: var(--t2); white-space: nowrap; }
.wt-tip-c b { font-size: 18px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-tip-r { display: flex; align-items: center; margin-top: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-tip-r b { margin: 0 2px 0 4px; color: var(--t1); }
.wt-tip-r > i, .wt-tip-r > svg { margin-right: 7px; color: var(--t3); }

/* --------------------------------------------- 16 Tage + Detailraster ---- */
.wt-row2 {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-gap: 18px; gap: 18px;
  align-items: start; margin-top: 18px;
}
.wt-days { padding-bottom: 14px; }
.wt-dsub { margin-left: auto; }
.wt-dlist { margin: 0 -8px; padding: 0; list-style: none; }
.wt-day + .wt-day { border-top: 1px solid rgba(255,255,255,.05); }
.wt-drow {
  -webkit-appearance: none; appearance: none;
  display: grid; grid-template-columns: 58px 52px 0 40px minmax(60px, 1fr) 40px 78px 50px 20px;
  align-items: center; width: 100%; min-height: 58px; padding: 6px 8px; border: 0; border-radius: 14px; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; transition: background-color .16s;
}
.wt-day.is-open .wt-drow { background: rgba(255,255,255,.045); }
.wt-dname { display: flex; flex-direction: column; min-width: 0; }
.wt-dname b { font-size: 15px; font-weight: 700; color: var(--t1); }
.wt-dname small { font-size: 12px; color: var(--t3); white-space: nowrap; }
.wt-day.is-today .wt-dname b { color: #5eead4; }
.wt-dico { display: flex; flex-direction: column; align-items: center; }
.wt-dpop { min-height: 13px; margin-top: 1px; font-size: 11.5px; font-weight: 700; line-height: 1.1; color: #93c5fd; font-variant-numeric: tabular-nums; }
/* Wettertext: belegt immer eine Rasterzelle (sonst rutschten die Spalten), sichtbar nur in breiten Listen */
.wt-dcond { min-width: 0; overflow: hidden; visibility: hidden; font-size: 13.5px; color: var(--t2); text-overflow: ellipsis; white-space: nowrap; }
.wt-dmin { text-align: right; font-weight: 600; color: var(--t3); font-variant-numeric: tabular-nums; }
.wt-dmax { font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-drange, .wt-cr-range { position: relative; height: 6px; margin: 0 12px; border-radius: 999px; background: rgba(255,255,255,.07); }
.wt-dbar { position: absolute; top: 0; height: 100%; border-radius: 999px; background: #5eead4; box-shadow: 0 0 10px -3px rgba(255,255,255,.35); }
.wt-ddot {
  position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 0 0 2px #0b1120, 0 0 10px rgba(255,255,255,.8);
}
.wt-dwind { display: flex; align-items: center; justify-content: flex-end; font-size: 13.5px; color: var(--t2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-dwind small { font-size: 11.5px; color: var(--t3); }
.wt-arrow { display: inline-flex; margin-right: 4px; color: var(--t3); }
.wt-duv { justify-self: end; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.wt-duv.lv1, .wt-uvl.lv1 { color: #6ee7b7; }
.wt-duv.lv2, .wt-uvl.lv2 { color: #fcd34d; }
.wt-duv.lv3, .wt-uvl.lv3 { color: #fdba74; }
.wt-duv.lv4, .wt-uvl.lv4 { color: #fda4af; }
.wt-duv.lv5, .wt-uvl.lv5 { color: #d8b4fe; }
.wt-dchev { display: flex; justify-content: flex-end; color: var(--t3); transition: transform .22s var(--ease); }
.wt-day.is-open .wt-dchev { transform: rotate(180deg); }
.wt-ddet { padding: 2px 8px 12px; }
.wt-ddet-g {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 10px 18px; gap: 10px 18px;
  margin: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.035);
  -webkit-animation: h-fade .25s ease-out; animation: h-fade .25s ease-out;
}
.wt-dd dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.wt-dd dd { margin: 2px 0 0; font-size: 14px; color: var(--t1); font-variant-numeric: tabular-nums; }
.h-btn.wt-dmore { width: 100%; margin-top: 10px; background: rgba(255,255,255,.04); }
.wt-day.wt-in { -webkit-animation: wt-swap .4s var(--ease) both; animation: wt-swap .4s var(--ease) both; }

/* Detailraster: 8 Kacheln */
.wt-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 14px; gap: 14px; }
.wt-tile { display: flex; flex-direction: column; min-width: 0; min-height: 132px; padding: 14px 16px; border-radius: 20px; }
.wt-tile-h { display: flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); }
.wt-tile-h > svg { flex: 0 0 auto; margin-right: 7px; color: #5eead4; }
.wt-tile-b { display: flex; align-items: center; justify-content: space-between; flex: 1 1 auto; margin-top: 6px; }
.wt-tile-v { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--t1); white-space: nowrap; }
.wt-tile-v small { margin-left: 3px; font-size: 14px; font-weight: 600; color: var(--t2); letter-spacing: 0; }
.wt-tile-s { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--t2); }
.wt-tile-x { display: block; color: var(--t3); }
.wt-tmeter { flex: 0 1 46%; margin-left: 12px; }
.wt-tmeter.is-cloud > i { background: #94a3b8; background: linear-gradient(90deg, #64748b, #cbd5e1); box-shadow: none; }
.t-hum .wt-tmeter > i { background: #60a5fa; background: linear-gradient(90deg, #22d3ee, #60a5fa); }
.t-hum .wt-tile-h > svg, .t-rain .wt-tile-h > svg { color: #60a5fa; }
.t-dew .wt-tile-h > svg { color: #67e8f9; }
.t-wind .wt-tile-h > svg { color: #a5b4fc; }
.t-press .wt-tile-h > svg { color: #c4b5fd; }
.t-uv .wt-tile-h > svg { color: #fbbf24; }
.t-cloud .wt-tile-h > svg { color: #cbd5e1; }
.wt-compass { flex: 0 0 auto; margin: -10px -4px -12px 8px; }
.wt-cps-ring { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.14); stroke-width: 1; }
.wt-cps-tick { stroke: rgba(255,255,255,.28); stroke-width: 1.2; stroke-linecap: round; fill: none; }
.wt-cps-n { fill: #8d97b3; font-size: 8.5px; font-weight: 800; text-anchor: middle; }
.wt-cps-arrow { fill: #a5b4fc; }
.wt-cps-tail { stroke: #a5b4fc; stroke-width: 2; stroke-linecap: round; fill: none; opacity: .6; }
.wt-cps-c { fill: #0b1120; stroke: #a5b4fc; stroke-width: 1.4; }
.wt-gauge { flex: 0 0 auto; margin: 0 -2px -6px 8px; }
.wt-g-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 5; stroke-linecap: round; }
.wt-g-val { fill: none; stroke: #a78bfa; stroke-width: 5; stroke-linecap: round; }
.wt-g-dot { fill: #ffffff; stroke: #0b1120; stroke-width: 2; }
.wt-uvbar {
  position: relative; flex: 0 1 46%; height: 6px; margin-left: 12px; border-radius: 999px;
  background: #fbbf24; background: linear-gradient(90deg, #34d399 0%, #fde047 25%, #fb923c 50%, #fb7185 75%, #c084fc 100%);
}
.wt-uvmark {
  position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 0 0 2px #0b1120, 0 0 10px rgba(255,255,255,.7);
}
.wt-uvl { font-weight: 700; }

/* ---------------------------------------------- Luft, Pollen, Sonne/Mond -- */
.wt-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 18px; gap: 18px; margin-top: 18px; }
.wt-air .h-title::before { background: #22d3ee; box-shadow: 0 0 8px rgba(34,211,238,.9); }
.wt-pollen .h-title::before { background: #a3e635; box-shadow: 0 0 8px rgba(163,230,53,.8); }
.wt-astro .h-title::before { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,.9); }
.wt-days .h-title::before { background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,.9); }
.wt-cmp .h-title::before { background: #f472b6; box-shadow: 0 0 8px rgba(244,114,182,.9); }
.wt-air .h-head > .h-badge, .wt-pollen .h-head > .h-sub, .wt-cmp .h-head > .h-sub { margin-left: auto; }
.wt-air .h-empty svg, .wt-pollen .h-empty svg { width: 28px; height: 28px; margin-bottom: 10px; }

.wt-aq-top { display: flex; align-items: center; }
.wt-aq-val { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto; margin-right: 16px; }
.wt-aq-val b { font-size: 44px; font-weight: 300; line-height: 1; color: var(--t1); }
.wt-aq-val span { margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #05070d; }
.wt-aq-txt { margin: 0; font-size: 14px; line-height: 1.45; color: var(--t2); }
.wt-aq-val.aq1 span, .wt-aq-scale .aq1, .wt-aq-bar .aq1 { background: #5eead4; }
.wt-aq-val.aq2 span, .wt-aq-scale .aq2, .wt-aq-bar .aq2 { background: #34d399; }
.wt-aq-val.aq3 span, .wt-aq-scale .aq3, .wt-aq-bar .aq3 { background: #fde047; }
.wt-aq-val.aq4 span, .wt-aq-scale .aq4, .wt-aq-bar .aq4 { background: #fb923c; }
.wt-aq-val.aq5 span, .wt-aq-scale .aq5, .wt-aq-bar .aq5 { background: #fb7185; }
.wt-aq-val.aq6 span, .wt-aq-scale .aq6, .wt-aq-bar .aq6 { background: #c084fc; }
.wt-aq-scale { position: relative; display: flex; height: 8px; margin: 18px 0 6px; }
.wt-aq-scale > i { flex: 1 1 0; height: 100%; opacity: .85; }
.wt-aq-scale > i + i { margin-left: 2px; }
.wt-aq-scale > i:first-child { border-radius: 999px 0 0 999px; }
.wt-aq-scale > i:nth-child(6) { border-radius: 0 999px 999px 0; }
.wt-aq-mark {
  position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 0 0 3px #0b1120, 0 0 12px rgba(255,255,255,.75);
}
.wt-aq-ticks { display: flex; margin: 0 0 14px; font-size: 11px; color: var(--t3); font-variant-numeric: tabular-nums; }
.wt-aq-ticks > span { flex: 1 1 0; }
.wt-aq-ticks > span:last-child { display: none; }
.wt-aq-list { border-top: 1px solid rgba(255,255,255,.06); padding-top: 6px; }
.wt-aq-row { display: flex; align-items: center; min-height: 32px; }
.wt-aq-n { flex: 0 0 58px; font-size: 13.5px; font-weight: 700; color: var(--t1); }
.wt-aq-bar { position: relative; flex: 1 1 auto; height: 5px; margin: 0 12px; border-radius: 999px; background: rgba(255,255,255,.07); }
.wt-aq-bar > i { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; }
.wt-aq-v { flex: 0 0 auto; min-width: 86px; text-align: right; font-size: 13.5px; font-weight: 600; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-aq-v small { font-size: 11.5px; font-weight: 500; color: var(--t3); }

/* EAQI-Verlauf */
.wt-aq-trend { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.wt-aq-th { display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 12px; color: var(--t3); }
.wt-aq-th > span:first-child { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wt-aq-svg { display: block; width: 100%; height: 56px; margin-top: 6px; overflow: visible; }
.wt-aq-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wt-aq-tx { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--t3); }

.wt-pol-list { margin-top: -4px; }
.wt-pol-row { display: flex; align-items: center; min-height: 40px; }
.wt-pol-row + .wt-pol-row { border-top: 1px solid rgba(255,255,255,.05); }
.wt-pol-n { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--t1); }
.wt-pol-n svg { flex: 0 0 auto; margin-right: 8px; color: var(--t3); }
.wt-pol-m { display: flex; flex: 0 0 auto; margin: 0 12px; }
.wt-pol-m > i { display: block; width: 18px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); }
.wt-pol-m > i + i { margin-left: 3px; }
.wt-pol-l { flex: 0 0 52px; font-size: 13px; font-weight: 700; color: var(--t3); }
.wt-pol-v { flex: 0 0 42px; text-align: right; font-size: 13px; color: var(--t3); font-variant-numeric: tabular-nums; }
.wt-pol-row.lv1 .wt-pol-m > i:nth-child(1) { background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,.5); }
.wt-pol-row.lv2 .wt-pol-m > i:nth-child(-n+2) { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,.5); }
.wt-pol-row.lv3 .wt-pol-m > i { background: #fb7185; box-shadow: 0 0 8px rgba(251,113,133,.55); }
.wt-pol-row.lv1 .wt-pol-l { color: #6ee7b7; }
.wt-pol-row.lv2 .wt-pol-l { color: #fcd34d; }
.wt-pol-row.lv3 .wt-pol-l { color: #fda4af; }
.wt-pol-row.lv1 .wt-pol-n svg { color: #34d399; }
.wt-pol-row.lv2 .wt-pol-n svg { color: #fbbf24; }
.wt-pol-row.lv3 .wt-pol-n svg { color: #fb7185; }
.wt-pol-note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--t2); }
/* Saisonkalender: 12 Monate je Pollenart, aktueller Monat hervorgehoben */
.wt-pcal { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.wt-pcal-r { display: flex; align-items: center; min-height: 15px; margin-top: 4px; }
.wt-pcal-r > span:first-child { flex: 0 0 74px; font-size: 12px; color: var(--t2); }
.wt-pcal-hd > span:first-child { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); font-size: 11px; }
.wt-pcal-c { display: flex; flex: 1 1 auto; min-width: 0; }
.wt-pcal-c > i { flex: 1 1 0; height: 9px; border-radius: 3px; background: rgba(255,255,255,.05); }
.wt-pcal-c > i + i { margin-left: 2px; }
.wt-pcal-hd .wt-pcal-c > i { height: auto; background: none; font-style: normal; font-size: 10px; font-weight: 700; text-align: center; color: var(--t3); }
.wt-pcal-hd .wt-pcal-c > i.is-now { color: #a3e635; }
.wt-pcal-c > i.p1 { background: rgba(163,230,53,.28); }
.wt-pcal-c > i.p2 { background: #a3e635; background: linear-gradient(180deg, #bef264, #84cc16); box-shadow: 0 0 8px -2px rgba(163,230,53,.6); }
.wt-pcal-c > i.is-now { box-shadow: 0 0 0 1.5px rgba(255,255,255,.75); }
.wt-pcal-hd .wt-pcal-c > i.is-now { box-shadow: none; }
.wt-pcal-note { margin: 8px 0 0; font-size: 11.5px; color: var(--t3); }

.wt-sun { position: relative; }
.wt-sun-arcbox { position: relative; max-width: 420px; margin: 0 auto; }
.wt-sunarc { display: block; width: 100%; height: auto; overflow: visible; }
.wt-arc-track { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 2; stroke-linecap: round; }
.wt-sunarc.is-down .wt-arc-track { stroke: rgba(167,139,250,.22); stroke-dasharray: none; }
.wt-arc-done { fill: none; stroke-width: 3; stroke-linecap: round; }
.wt-arc-hz { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.wt-arc-end { fill: #0b1120; stroke: rgba(251,191,36,.7); stroke-width: 1.5; }
.wt-sunarc.is-down .wt-arc-end { stroke: rgba(167,139,250,.55); }
.wt-arc-glow { fill: rgba(251,191,36,.22); -webkit-animation: wt-sunpulse 3.2s ease-in-out infinite; animation: wt-sunpulse 3.2s ease-in-out infinite; }
.wt-arc-sun { fill: #fde047; stroke: #fff7d6; stroke-width: 1.5; }
@-webkit-keyframes wt-sunpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes wt-sunpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* im Bogen: Tageslaenge + "noch … hell" bzw. "Sonnenaufgang in …" */
.wt-sun-in { position: absolute; left: 18%; right: 18%; bottom: 17%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wt-sun-in small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.wt-sun-in b { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--t1); white-space: nowrap; }
.wt-sun-in span { font-size: 12.5px; color: var(--t2); }
.wt-sun-times { display: flex; align-items: flex-start; justify-content: space-between; max-width: 440px; margin: 2px auto 0; }
.wt-st { display: flex; align-items: center; }
.wt-st > svg { flex: 0 0 auto; margin-right: 8px; color: #fbbf24; }
.wt-st.is-r > svg { margin: 0 0 0 8px; color: #fb923c; }
.wt-st > span { display: flex; flex-direction: column; }
.wt-st.is-r > span { align-items: flex-end; }
.wt-st small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.wt-st b { font-size: 17px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-sun-facts { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--t2); text-align: center; }
.wt-moon { display: flex; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.wt-moon-disc { flex: 0 0 auto; margin-right: 16px; -webkit-filter: drop-shadow(0 0 14px rgba(226,232,240,.28)); filter: drop-shadow(0 0 14px rgba(226,232,240,.28)); }
.wt-moonsvg { display: block; }
.wt-moon-dark { fill: #1b2034; }
.wt-moon-lit { fill: #eef2ff; }
.wt-moon-edge { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.wt-moon-txt { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--t2); }
.wt-moon-txt b { font-size: 16px; font-weight: 700; color: var(--t1); }
.wt-mn-row { display: flex; margin: 12px -5px 0; }
.wt-mn-card { display: flex; align-items: flex-start; flex: 1 1 0; min-width: 0; margin: 0 5px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--edge); background: rgba(255,255,255,.035); }
.wt-mn-card > span { display: flex; flex-direction: column; min-width: 0; }
.wt-mn-card small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.wt-mn-card b { font-size: 14.5px; font-weight: 700; color: var(--t1); white-space: nowrap; }
.wt-mn-card em { font-style: normal; font-size: 12px; color: var(--t3); }
.wt-mn { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; margin: 3px 9px 0 0; border-radius: 50%; }
.wt-mn.full { background: #eef2ff; box-shadow: 0 0 10px rgba(238,242,255,.8); }
.wt-mn.new { background: #1b2034; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }

/* ------------------------------------------------------------- Vergleich -- */
.wt-cmp { margin-top: 18px; }
.wt-cmp-list { margin: 0 -8px; }
.wt-cr {
  display: grid;
  grid-template-columns: minmax(120px, 1.3fr) 44px minmax(110px, 1fr) 40px minmax(80px, 1.2fr) 40px 74px 90px;
  align-items: center; min-height: 62px; padding: 6px 8px; border-radius: 14px; color: inherit; text-decoration: none;
  transition: background-color .16s;
}
.wt-cr + .wt-cr { border-top: 1px solid rgba(255,255,255,.05); }
.wt-cr.is-sel { background: rgba(94,234,212,.06); box-shadow: inset 3px 0 0 #5eead4; }
.wt-cr-n { display: flex; flex-direction: column; min-width: 0; }
.wt-cr-n b { display: flex; align-items: center; overflow: hidden; font-size: 15px; font-weight: 700; color: var(--t1); text-overflow: ellipsis; white-space: nowrap; }
.wt-cr-n small { overflow: hidden; font-size: 12px; color: var(--t3); text-overflow: ellipsis; white-space: nowrap; }
.wt-cr-star { display: inline-flex; margin-left: 6px; color: #fbbf24; }
.wt-cr-ico { display: flex; justify-content: center; }
.wt-cr-now { display: flex; flex-direction: column; min-width: 0; padding-left: 8px; }
.wt-cr-now b { font-size: 22px; font-weight: 600; line-height: 1.1; color: var(--t1); }
.wt-cr-now small { overflow: hidden; font-size: 12px; color: var(--t2); text-overflow: ellipsis; white-space: nowrap; }
.wt-cr-min { text-align: right; font-weight: 600; color: var(--t3); font-variant-numeric: tabular-nums; }
.wt-cr-max { font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-cr-pop, .wt-cr-wind { display: flex; align-items: center; justify-content: flex-end; font-size: 13.5px; color: var(--t2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-cr-pop svg { margin-right: 5px; color: #60a5fa; }
.wt-cr-wind svg { margin-right: 5px; color: #a5b4fc; }
.wt-cr-sk { grid-column: 2 / -1; width: 60%; }
.wt-cr-err { display: flex; align-items: center; grid-column: 2 / -1; font-size: 13.5px; color: #fda4af; }
.wt-cr-err svg { margin-right: 6px; }
.wt-cmp-hint { display: flex; align-items: center; flex-wrap: wrap; margin-top: 12px; padding: 14px 16px; border-radius: 16px;
  border: 1px dashed var(--edge-2); color: var(--t2); font-size: 14px; }
.wt-cmp-hint > svg { flex: 0 0 auto; margin-right: 10px; color: #f472b6; }
.wt-cmp-hint > span { flex: 1 1 260px; margin-right: 12px; }
.wt-cmp-hint .h-btn { margin-top: 6px; margin-bottom: 6px; }

/* ----------------------------------------------------------------- Fuss -- */
.wt-foot { margin: 22px 4px 0; font-size: 12.5px; line-height: 1.6; color: var(--t3); }
.wt-attr { display: flex; align-items: flex-start; margin: 0; }
.wt-attr > svg { flex: 0 0 auto; margin: 3px 7px 0 0; }
.wt-attr a { color: var(--t2); text-decoration: underline; text-decoration-color: rgba(180,189,214,.35); -webkit-text-decoration-color: rgba(180,189,214,.35); }
.wt-foot-sub { margin: 4px 0 0 22px; }

/* ---------------------------------------------------- Laden und Fehler -- */
.wt-skel-hero { min-height: 290px; }
.wt-skel-hero .wt-sk-a { width: 30%; height: 28px; border-radius: 10px; }
.wt-skel-hero .wt-sk-b { width: 46%; height: 120px; margin-top: 30px; border-radius: 22px; }
.wt-skel-hero .wt-sk-c { width: 52%; margin-top: 26px; }
.wt-skel-hero .wt-sk-d { width: 34%; }
.wt-skel-chart { margin-top: 18px; }
.wt-skel-chart .wt-sk-e { height: 200px; border-radius: 16px; }
.wt-err .h-empty { padding: 40px 16px; }
.wt-err .h-empty b { color: var(--t1); }
.wt-err .h-btn { margin-top: 16px; }

/* ============================================================== Dialoge == */
.dialog.wt-dlg-search { max-width: 520px; }
.wt-sd-field { position: relative; }
.wt-sd-field .input { min-height: 50px; padding-right: 44px; border-radius: 14px; font-size: 17px; }
.wt-sd-field .input::-webkit-search-cancel-button, .wt-sd-field .input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.wt-sd-spin {
  position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 2px solid rgba(94,234,212,.25); border-top-color: #5eead4;
  -webkit-animation: h-spin .8s linear infinite; animation: h-spin .8s linear infinite;
}
.wt-sd-res { min-height: 60px; max-height: 50vh; margin: 12px -6px 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wt-hit {
  -webkit-appearance: none; appearance: none;
  display: flex; align-items: center; width: 100%; min-height: 58px; margin: 0; padding: 8px 10px; border: 1px solid transparent;
  border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation;
  transition: background-color .15s, border-color .15s;
}
.wt-hit + .wt-hit { margin-top: 2px; }
.wt-hit:focus { background: rgba(94,234,212,.08); border-color: rgba(94,234,212,.4); }
.wt-hit-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; margin-right: 12px;
  border-radius: 12px; color: #5eead4; background: rgba(94,234,212,.1); box-shadow: inset 0 0 0 1px rgba(94,234,212,.22);
}
.wt-hit.is-dup .wt-hit-ico { color: var(--t3); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--edge); }
.wt-hit-txt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.wt-hit-txt b { overflow: hidden; font-size: 15.5px; font-weight: 700; color: var(--t1); text-overflow: ellipsis; white-space: nowrap; }
.wt-hit-txt small { overflow: hidden; font-size: 13px; color: var(--t3); text-overflow: ellipsis; white-space: nowrap; }
.wt-hit-plz { margin-left: 4px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--edge-2); font-size: 12px; font-weight: 700; color: var(--t2); }
.wt-hit-meta { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; margin-left: 10px; }
.wt-hit-meta small { margin-top: 3px; font-size: 11.5px; color: var(--t3); white-space: nowrap; }
.wt-hit-meta .h-badge svg { margin-right: 4px; }
.wt-hit.is-skel { cursor: default; }
.wt-hit-skico { flex: 0 0 auto; width: 38px; height: 38px; margin-right: 12px; border-radius: 12px; }
.wt-hit.is-skel .wt-hit-txt .h-skel:first-child { width: 42%; margin: 4px 0 6px; }
.wt-hit.is-skel .wt-hit-txt .h-skel:last-child { width: 66%; margin: 0 0 4px; }
.wt-sd-msg { display: flex; align-items: center; padding: 14px 10px; font-size: 14px; color: var(--t2); }
.wt-sd-msg > svg { flex: 0 0 auto; margin-right: 10px; color: var(--t3); }
.wt-sd-msg.err { color: #fecdd3; }
.wt-sd-msg.err > svg { color: #fb7185; }
.wt-sd-hint { display: flex; align-items: flex-start; margin: 12px 0 2px; font-size: 13px; line-height: 1.45; color: var(--t3); }
.wt-sd-hint > svg { flex: 0 0 auto; margin: 1px 7px 0 0; }

.dialog.wt-dlg-manage { max-width: 560px; }
.wt-mg-hint { display: flex; align-items: flex-start; margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--t2); }
.wt-mg-hint > svg { flex: 0 0 auto; margin: 2px 8px 0 0; color: #fbbf24; }
.wt-mg-list { margin: 0 -6px; padding: 0; list-style: none; }
.wt-mrow { display: flex; align-items: center; min-height: 56px; padding: 4px 6px; border-radius: 14px; }
.wt-mrow + .wt-mrow { border-top: 1px solid rgba(255,255,255,.05); }
.wt-mrow.is-home { background: rgba(251,191,36,.06); }
.wt-mname { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; margin: 0 8px; }
.wt-mname b { overflow: hidden; font-size: 15px; font-weight: 700; color: var(--t1); text-overflow: ellipsis; white-space: nowrap; }
.wt-mname small { overflow: hidden; font-size: 12.5px; color: var(--t3); text-overflow: ellipsis; white-space: nowrap; }
.wt-mtemp { display: flex; align-items: center; flex: 0 0 auto; margin-right: 8px; font-size: 14px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.wt-mtemp .wi { margin-right: 4px; }
.wt-mbtn {
  -webkit-appearance: none; appearance: none; position: relative;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; margin: 0 2px; padding: 0;
  border: 1px solid var(--edge); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--t2); cursor: pointer; touch-action: manipulation;
  transition: background-color .15s, border-color .15s, color .15s;
}
.wt-mbtn:disabled { opacity: .3; cursor: default; }
.wt-mbtn.danger { color: #fda4af; }
.wt-mstar { margin: 0; color: var(--t3); }
.wt-mstar.is-on { color: #fbbf24; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.12); }
.wt-mg-undo {
  display: flex; align-items: center; margin-top: 10px; padding: 8px 8px 8px 14px; border-radius: 14px;
  border: 1px solid rgba(251,113,133,.35); background: rgba(251,113,133,.08); color: #fecdd3; font-size: 14px;
}
.wt-mg-undo > span { flex: 1 1 auto; min-width: 0; }
.wt-mg-undo .h-btn { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.wt-mg-undo .h-btn > svg { width: 16px; height: 16px; margin-right: 6px; }
.wt-mg-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.wt-mg-foot .h-btn + .h-btn { margin-left: 10px; }

/* ============================================================ Responsiv == */
@media (hover: hover) {
  .wt-chip:hover { border-color: var(--edge-2); background-color: rgba(255,255,255,.07); transform: translateY(-1px); }
  .wt-chip.is-sel:hover { background-color: rgba(94,234,212,.12); border-color: rgba(94,234,212,.65); }
  .wt-drow:hover, .wt-cr:hover { background-color: rgba(255,255,255,.04); }
  .wt-cr.is-sel:hover { background-color: rgba(94,234,212,.09); }
  .wt-hit:hover { background-color: rgba(255,255,255,.05); border-color: var(--edge); }
  .wt-mbtn:hover:not(:disabled) { color: var(--t1); border-color: var(--edge-2); background-color: rgba(255,255,255,.08); }
  .wt-mbtn.danger:hover:not(:disabled) { color: #fecdd3; border-color: rgba(251,113,133,.5); background-color: rgba(251,113,133,.12); }
  .wt-al-more:hover { background: rgba(255,255,255,.06); }
  .wt-attr a:hover { color: var(--t1); }
  .hw.wt-wf:hover { border-color: var(--edge-2); }
}
.wt-drow:active, .wt-cr:active { background-color: rgba(255,255,255,.06); }

/* breite Tagesliste (Tablet, volle Breite): Wettertext zeigen */
@media (min-width: 820px) and (max-width: 1099.98px) {
  .wt-drow { grid-template-columns: 62px 54px minmax(120px, 1.1fr) 40px minmax(80px, 1fr) 40px 82px 54px 22px; }
  .wt-dcond { visibility: visible; padding-right: 12px; }
}
@media (max-width: 1279.98px) {
  .wt-hero-mid { align-items: flex-start; }
  .wt-today { flex-basis: 360px; }
}
/* Tablet und kleiner Desktop */
@media (max-width: 1099.98px) {
  .wt-row2 { grid-template-columns: minmax(0, 1fr); }
  .wt-details { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wt-row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* volle Breite: Sonne links, Mond rechts */
  .wt-astro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-column-gap: 32px; column-gap: 32px; align-items: center; }
  .wt-astro > .h-head { grid-column: 1 / -1; }
  .wt-astro .wt-moon { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width: 979.98px) {
  .wt-hero-mid { flex-direction: column; align-items: stretch; }
  .wt-today { flex: 1 1 auto; margin: 16px 0 0; }
}
@media (max-width: 859.98px) {
  .wt-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-cr { grid-template-columns: minmax(110px, 1.2fr) 40px minmax(90px, 1fr) 36px minmax(70px, 1fr) 36px 70px; }
  .wt-cr-wind { display: none; }
}

/* Handy */
@media (max-width: 699.98px) {
  .wt-head { margin-bottom: 12px; }
  .page h2.wt-title { font-size: 28px; }
  .wt-lead { font-size: 14px; }
  .wt-tools { margin: 10px 0 0; }
  .wt-tbtn > span { display: none; }
  .h-btn.wt-tbtn { min-width: 44px; padding: 10px; }
  .h-btn.wt-tbtn > svg { margin: 0; }
  .wt-headtxt { margin-right: 12px; }
  .wt-head { flex-wrap: nowrap; align-items: center; }
  .wt-tools { margin: 0 0 0 auto; align-self: flex-end; }
  .wt-cbar { margin: 0 -14px 10px; }
  .wt-chips {
    padding: 6px 14px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 12px, #000 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 12px, #000 90%, rgba(0,0,0,0) 100%);
  }
  .wt-chip { height: 44px; margin-right: 8px; padding: 0 14px 0 8px; font-size: 14.5px; }
  .wt-chip-add { margin-right: 24px; }

  .wt-hero-in { padding: 18px 16px 14px; }
  .page h2.wt-city { font-size: 22px; }
  .wt-region { font-size: 13px; }
  .h-btn.wt-hbtn > span { display: none; }
  .h-btn.wt-hbtn { min-width: 40px; padding: 8px; }
  .h-btn.wt-hbtn > svg { margin: 0; }
  .wt-homeb { height: 34px; padding: 0 11px 0 9px; font-size: 13px; }
  .wt-hacts { margin-left: 10px; }
  .wt-hero-mid { margin-top: 6px; }
  .wt-now-ico { width: 104px; height: 104px; margin: -6px 6px -6px -10px; }
  .wt-now-ico .wi { width: 100px; height: 100px; }
  .wt-temp-v { font-size: 76px; }
  .wt-temp-u { margin-top: 10px; font-size: 22px; }
  .wt-cond { font-size: 18px; }
  .wt-feels { font-size: 13.5px; }
  .wt-sep { margin: 0 6px; }
  .wt-today { margin-top: 14px; padding: 14px; border-radius: 18px; }
  .wt-today-txt { font-size: 14.5px; }
  .wt-fact { min-width: 84px; padding: 9px 10px; }
  .wt-fact b { font-size: 15.5px; }

  .wt-alert { padding: 14px 14px 12px 12px; border-radius: 18px; }
  .wt-al-ico { width: 38px; height: 38px; margin-right: 12px; border-radius: 12px; }
  .wt-al-h { font-size: 16px; }

  .wt-hours .h-head { margin-bottom: 8px; }
  .wt-dsub { display: none; }
  .wt-legend { margin: 4px 0 0; width: 100%; }
  .wt-legend > span { margin: 0 14px 0 0; }
  .wt-cbox { margin: 0 -16px; }
  .wt-cscroll.is-scroll {
    padding-left: 8px; padding-right: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 88%, rgba(0,0,0,0) 100%);
  }
  .wt-cscroll.is-scroll.at-end { -webkit-mask-image: none; mask-image: none; }

  .wt-row2, .wt-row3 { grid-gap: 14px; gap: 14px; margin-top: 14px; }
  .wt-hours, .wt-cmp { margin-top: 14px; }
  .wt-row3 { grid-template-columns: minmax(0, 1fr); }
  .wt-astro { display: block; }
  .wt-astro .wt-moon { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
  .wt-details { grid-gap: 12px; gap: 12px; }
  .wt-tile { min-height: 124px; padding: 12px 13px; border-radius: 18px; }
  .wt-tile-v { font-size: 26px; }
  .wt-tile-b { flex-wrap: wrap; }
  .wt-tmeter, .wt-uvbar { flex: 1 1 100%; margin: 10px 0 4px; }
  .wt-compass { width: 52px; height: 52px; margin: -6px -4px -8px 4px; }
  .wt-gauge { width: 54px; height: 36px; margin-left: 4px; }

  .wt-drow { grid-template-columns: 50px 46px 0 34px minmax(40px, 1fr) 34px 18px; min-height: 56px; padding: 6px 6px; }
  .wt-dwind, .wt-duv { display: none; }
  .wt-drange { margin: 0 9px; }
  .wt-ddet { padding: 2px 4px 12px; }
  .wt-ddet-g { grid-template-columns: minmax(0, 1fr); padding: 10px 12px; }

  .wt-cr { grid-template-columns: minmax(84px, 1fr) 36px 52px 30px minmax(48px, 1fr) 30px; min-height: 58px; padding: 6px; }
  .wt-cr-now small, .wt-cr-pop, .wt-cr-wind { display: none; }
  .wt-cr-now { padding-left: 4px; }
  .wt-cr-now b { font-size: 20px; }
  .wt-cr-range { margin: 0 8px; }
  .wt-cr .wt-cr-ico .wi { width: 30px; height: 30px; }

  .wt-foot { margin-top: 18px; }
  .wt-foot-sub { margin-left: 0; }
  .wt-mg-foot .h-btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; }
  .wt-mbtn { width: 38px; height: 40px; margin: 0 1px; }
  .wt-mtemp { display: none; }
}
@media (max-width: 379.98px) {
  .wt-homeb { width: 36px; padding: 0; justify-content: center; }
  .wt-homeb > span { display: none; }
  .wt-homeb svg { margin: 0; }
  .wt-temp-v { font-size: 64px; }
  .wt-now-ico { width: 88px; height: 88px; margin-right: 2px; }
  .wt-now-ico .wi { width: 86px; height: 86px; }
  .wt-fact { min-width: 76px; }
  .wt-cr { grid-template-columns: minmax(80px, 1fr) 32px 46px 28px minmax(36px, 1fr) 28px; }
}

/* Touch: Bedienziele >= 44 px */
@media (max-width: 699.98px), (pointer: coarse) {
  .wt-al-more { min-height: 44px; }
  .wt-mbtn { height: 44px; }
  .h-btn.wt-hbtn { min-height: 44px; }
  .h-btn.wt-hbtn.icon-only { min-width: 44px; }
}

/* Einlauf: Temperaturbalken wachsen von links, Punkte und Messbalken folgen (nur kurz nach dem Oeffnen, .wt-intro) */
.wt-intro .wt-dbar, .wt-intro .wt-aq-bar > i {
  -webkit-transform-origin: left center; transform-origin: left center;
  -webkit-animation: wt-grow .9s var(--ease) both; animation: wt-grow .9s var(--ease) both;
}
.wt-intro .wt-day:nth-child(2) .wt-dbar, .wt-intro .wt-cr:nth-child(2) .wt-dbar { -webkit-animation-delay: .05s; animation-delay: .05s; }
.wt-intro .wt-day:nth-child(3) .wt-dbar, .wt-intro .wt-cr:nth-child(3) .wt-dbar { -webkit-animation-delay: .1s; animation-delay: .1s; }
.wt-intro .wt-day:nth-child(4) .wt-dbar, .wt-intro .wt-cr:nth-child(4) .wt-dbar { -webkit-animation-delay: .15s; animation-delay: .15s; }
.wt-intro .wt-day:nth-child(5) .wt-dbar, .wt-intro .wt-cr:nth-child(5) .wt-dbar { -webkit-animation-delay: .2s; animation-delay: .2s; }
.wt-intro .wt-day:nth-child(6) .wt-dbar, .wt-intro .wt-cr:nth-child(6) .wt-dbar { -webkit-animation-delay: .25s; animation-delay: .25s; }
.wt-intro .wt-day:nth-child(n+7) .wt-dbar, .wt-intro .wt-cr:nth-child(n+7) .wt-dbar { -webkit-animation-delay: .3s; animation-delay: .3s; }
.wt-intro .wt-ddot, .wt-intro .wt-uvmark, .wt-intro .wt-aq-mark { -webkit-animation: wt-dotin .6s .55s var(--ease) both; animation: wt-dotin .6s .55s var(--ease) both; }
@-webkit-keyframes wt-grow { 0% { -webkit-transform: scaleX(0); opacity: .3; } }
@keyframes wt-grow { 0% { transform: scaleX(0); opacity: .3; } }
@-webkit-keyframes wt-dotin { 0% { opacity: 0; -webkit-transform: scale(.3); } }
@keyframes wt-dotin { 0% { opacity: 0; transform: scale(.3); } }

/* ===================================================== Weniger Bewegung == */
@media (prefers-reduced-motion: reduce) {
  .wi-anim *, .wt-sky > i, .wt-sky-fx, .wt-main.wt-swap > *, .wt-day.wt-in, .wt-ddet-g, .wt-al-ico, .wt-arc-glow, .wt-sd-spin,
  .wt-intro .wt-dbar, .wt-intro .wt-aq-bar > i, .wt-intro .wt-ddot, .wt-intro .wt-uvmark, .wt-intro .wt-aq-mark {
    -webkit-animation: none !important; animation: none !important;
  }
  .wt-chip, .wt-drow, .wt-cr, .wt-dchev, .wt-al-more svg, .wt-c-bar { transition: none !important; }
  .wt-sky-fx { display: none; }
}
