/* Tagesbogen (freigegeben 15.11.2026): gemeinsame Gestaltung für die Kopfkarte der Wetterseite und index2.html.
   Die Karte liefert --fg, --fg2 und --strip; tagesbogen.js setzt sie nach dem Sonnenstand. */
.tb{position:relative;margin:32px 0 14px;color:var(--fg2);--tb-warm:#b4541e;--tb-cool:#27628b;outline:0;border-radius:14px;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:default}
/* Fixiert bis „Tag erkunden“ (WET-008, 20.11.2026); erst dann Fadenkreuz und Auswahl mit Zeiger/Tippen. */
.tb.tb-armed{cursor:crosshair;box-shadow:0 0 0 2px var(--strip)}
.tb.tb-dark{--tb-warm:#ffab6b;--tb-cool:#9fd6ff;--tb-fc:#c3cad3;--tb-rain:#9fd0f6;--tb-sol:#ffd76a}
.tb:focus-visible{box-shadow:0 0 0 3px #ce9436}
.tb svg{display:block;width:100%;overflow:visible}
.tb text{font-family:Segoe UI,system-ui,sans-serif;font-size:12.5px;fill:currentColor}
.tb .tb-strong{font-weight:650;fill:var(--fg);paint-order:stroke;stroke:var(--tb-ring,#fff);stroke-width:3px;stroke-linejoin:round}
.tb .tb-plain{font-weight:650;fill:var(--fg)}
.tb .tb-sunpath{fill:none;stroke:#fff;stroke-opacity:.75;stroke-width:1.4;stroke-dasharray:2 5;stroke-linecap:round}
.tb .tb-horizon{stroke:#fff;stroke-opacity:.5;stroke-width:1}
.tb .tb-line{fill:none;stroke:url(#tb-temp);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.tb .tb-area{fill:url(#tb-fill)}
/* Modellprognose nach dem letzten Messwert: grau gestrichelt, eingeblendet nach dem Zeichnen des gemessenen Verlaufs. */
.tb .tb-fc{--tb-fcc:var(--tb-fc,#6c7682);opacity:0;transition:opacity .6s}
.tb .tb-fc.tb-on{opacity:1}
.tb .tb-fcline{fill:none;stroke:var(--tb-fcc);stroke-width:2;stroke-dasharray:5 4;stroke-linecap:round;stroke-linejoin:round}
.tb .tb-fclabel{fill:var(--tb-fcc);font-style:italic;font-weight:600;paint-order:stroke;stroke:var(--tb-ring,#fff);stroke-width:3px;stroke-linejoin:round}
/* Spuren unter der Temperatur: Regen (mm/h) und Sonne (Anteil Sonnenschein); Solarstrahlung als Fläche im Himmelsband. Windspur seit 20.11.2026 entfernt; Regen und Sonne seither höher und kräftiger. */
.tb .tb-lanebg{fill:currentColor;fill-opacity:.1}
.tb .tb-lane-rain rect:not(.tb-lanebg){fill:var(--tb-rain,#1f6cb0)}
.tb .tb-lane-sun rect:not(.tb-lanebg){fill:var(--tb-sol,#d99a00)}
.tb .tb-solar{fill:#ffd76a;fill-opacity:.5;stroke:#ffe9a6;stroke-width:1}
.tb .tb-skylabel{font-size:11px;font-weight:600;fill:#fff;paint-order:stroke;stroke:#0b1830;stroke-opacity:.55;stroke-width:3px;stroke-linejoin:round}
.tb .tb-lanelabel{font-size:12px;font-weight:650;fill:var(--fg);paint-order:stroke;stroke:var(--tb-ring,#fff);stroke-width:3px;stroke-linejoin:round}
/* Prognose: hinterlegter Bereich, Balken nur umrandet und schwach gefüllt, Linien gestrichelt. */
.tb .tb-fczone{fill:currentColor;fill-opacity:.06}
.tb .tb-fclane rect.tb-fcbar{fill-opacity:.22;stroke-width:1;stroke-dasharray:2 2}
.tb .tb-lane-rain rect.tb-fcbar{stroke:var(--tb-rain,#1f6cb0)}.tb .tb-lane-sun rect.tb-fcbar{stroke:var(--tb-sol,#d99a00)}
.tb .tb-dot.tb-dotfc{fill:var(--tb-fcc,var(--tb-fc,#6c7682))}
.tb-fctemp{font-style:italic;opacity:.8}
.tb-caption .tb-capfc{font-style:italic;outline:1px dashed currentColor;outline-offset:-1px}
.tb .tb-zero{stroke:currentColor;stroke-opacity:.45;stroke-width:1;stroke-dasharray:3 4}
.tb .tb-tick{stroke:currentColor;stroke-opacity:.35}
.tb .tb-stand{stroke:currentColor;stroke-opacity:.6;stroke-width:1.2}
.tb .tb-mark{stroke:var(--fg);stroke-width:1.6;opacity:0;transition:opacity .2s}
.tb .tb-dot{fill:var(--fg);stroke:var(--tb-ring,#fff);stroke-width:2;opacity:0;transition:opacity .2s}
.tb.tb-explore .tb-mark,.tb.tb-explore .tb-dot{opacity:1}
.tb .tb-sun,.tb .tb-halo{transition:opacity .5s}
.tb .tb-cap rect{fill:var(--strip)}
.tb .tb-cap{opacity:0;transition:opacity .2s}
.tb.tb-explore .tb-cap{opacity:1}
.tb-caption{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px;min-height:40px;font-size:var(--fs-12,12px);color:var(--fg2)}
.tb-caption span{background:var(--strip);border-radius:8px;padding:2px 8px}
.tb-caption button{margin-left:auto;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid transparent;background:var(--strip);color:var(--fg);font-size:var(--fs-12,12px);font-weight:600;cursor:pointer}
.tb-caption button:hover{background:var(--strip);filter:brightness(1.08)}
.tb-caption button+button{margin-left:0}
.tb-caption .tb-go,.tb-caption .tb-done{border-color:currentColor}
.tb-caption button:focus-visible{outline:3px solid #ce9436;outline-offset:2px}
.tb-at{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums} /* gleich breite Ziffern: der Zeilenumbruch hängt beim Abspielen nicht von der Uhrzeit ab, die Karte springt nicht (WET-008) */
@media(max-width:800px){.tb-caption button{margin-left:0}.tb text{font-size:12px}}
/* „Anhalten“ beim Abspielen an fester Stelle (WET-008, 20.11.2026): Passt die längste Bildunterschrift nicht in eine Zeile, bricht sie je nach
   Viertelstunde anders um und der Knopf sprang mit. Dann (beim Start gemessen, tb-capnarrow) steht er beim Abspielen vorne in einer eigenen Zeile;
   passt alles in eine Zeile, bleibt es wie bisher. */
.tb-caption.tb-capplay.tb-capnarrow button{order:-2;margin-left:0}
.tb-caption.tb-capplay.tb-capnarrow .tb-resume{order:-3} /* angehalten: „Wiedergabe fortsetzen“ an der Stelle von „Anhalten“, daneben „Tag erkunden“ und „Fertig“ – alle drei unabhängig vom Text an fester Stelle */
.tb-caption.tb-capplay.tb-capnarrow::before{content:"";order:-1;flex-basis:100%;height:0;margin-bottom:-6px}
@media(prefers-reduced-motion:reduce){.tb *,.tb-caption *{transition:none!important}}
