/* FamilyHub | Midnight Wetter B V2 | 1920x1080
   Sichtbar groessere Schrift; nine cards with four hours either side of NOW.
   Nur Wanddisplay, keine veraenderte Handy-Darstellung.
*/
.wall-shell.fhwb-active .fhwb-weather-section{position:relative;min-width:0;overflow:visible!important;}
.wall-shell.fhwb-active .fhwb-weather-section .fhwb-source-hours{display:none!important;}
.wall-shell.fhwb-active .fhwb-weather-section .fhwb-hour-row{
  display:grid!important;
  grid-column:1/-1;
  grid-template-columns:repeat(9,minmax(0,1fr));
  width:100%; min-width:0; gap:9px; align-items:stretch;
  padding:11px 0 0; margin:4px 0 0;
}
.wall-shell .fhwb-hour{
  position:relative;box-sizing:border-box;min-height:140px;min-width:0;
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
  padding:9px 5px 7px;border-radius:13px;
  background:linear-gradient(160deg,#223750,#121f33 90%);
  border:1px solid #3a5876;color:#fff;
  box-shadow:inset 0 1px #ffffff16,0 3px 8px #0002;
}
.wall-shell .fhwb-hour.fhwb-now{
 background:linear-gradient(150deg,#5b387d,#272144);
 border:2px solid #d8b4ff;box-shadow:0 0 0 1px #a05dd53d,0 0 19px #9e63e83e;
}
.wall-shell .fhwb-hour.fhwb-unavailable{opacity:.63}
.wall-shell .fhwb-now-label,
.wall-shell .fhwb-day-chip{
  position:absolute;top:-10px;left:50%;transform:translateX(-50%);
  padding:3px 8px;border-radius:6px;white-space:nowrap;
  font-size:12px;line-height:1;font-weight:900;letter-spacing:.3px;
  background:#7850ae;color:#fff;box-shadow:0 2px 8px #0006;
}
.wall-shell .fhwb-day-chip{background:#2c536f;color:#e1f2ff;font-size:10px;top:-8px;}
.wall-shell .fhwb-hour-time{font-size:18px!important;line-height:1.2;font-weight:800;white-space:nowrap;color:#edf5ff;}
.wall-shell .fhwb-hour-icon{height:50px;min-width:0;width:100%;display:grid;place-items:center;}
.wall-shell .fhwb-svg{display:block;width:52px;height:52px;max-width:100%;overflow:visible;}
.wall-shell .fhwb-hour-missing{font-size:28px;color:#91a6c5;}
.wall-shell .fhwb-hour-temp{font-size:29px!important;line-height:1;font-weight:900;font-variant-numeric:tabular-nums;}
.wall-shell .fhwb-hour-rain{font-size:15px!important;line-height:1.1;font-weight:700;color:#91dcff;white-space:nowrap;}
/* Wetter bekommt Platz nach oben; aktuell/Heute-Morgen bleiben unveraendert. */
@media(min-width:1350px){
  .wall-shell.fhwb-active .fhwb-weather-section{padding-top:15px!important;padding-bottom:14px!important;}
  .wall-shell.fhwb-active .fhwb-weather-section h1,
  .wall-shell.fhwb-active .fhwb-weather-section h2{font-size:23px!important;}
  /* Hauptbereich minimal kompakter, dafuer Schriften groesser. */
  .wall-shell .fhwb-week-pane,.wall-shell .fhwb-house-pane{min-width:0;padding:12px 13px!important;}
  .wall-shell .fhwb-week-pane h1,.wall-shell .fhwb-week-pane h2,
  .wall-shell .fhwb-house-pane h1,.wall-shell .fhwb-house-pane h2{font-size:22px!important;}
  .wall-shell .wall-calendar-pane .cal-day-head b{font-size:27px!important;}
  .wall-shell .wall-calendar-pane .cal-event-title{font-size:15px!important;line-height:1.25!important;}
  .wall-shell .wall-calendar-pane .cal-event-time,
  .wall-shell .wall-calendar-pane .cal-event-person{font-size:12px!important;line-height:1.25!important;}
  .wall-shell .wall-calendar-heading p{font-size:14px!important;}
  .wall-shell .wall-list-item{font-size:17px!important;line-height:1.35!important;}
  .wall-shell .wall-list-item small,.wall-shell .wall-list-item .small{font-size:13px!important;}
  .wall-shell .wall-weather-current .wall-weather-temp{font-size:35px!important;}
  .wall-shell .wall-weather-current .wall-weather-text{font-size:15px!important;}
  .wall-shell .wall-weather-current .wall-weather-city{font-size:13px!important;}
  .wall-shell .wall-weather-current .wall-weather-status{font-size:12px!important;}
  .wall-shell .wall-footer{font-size:12px!important;}
}
@media(max-width:1350px){
 .wall-shell .fhwb-hour-row{gap:5px!important;}
 .wall-shell .fhwb-hour{min-height:120px;padding:7px 2px;}
 .wall-shell .fhwb-hour-time{font-size:14px!important;}
 .wall-shell .fhwb-hour-temp{font-size:22px!important;}
 .wall-shell .fhwb-hour-rain{font-size:12px!important;}
 .wall-shell .fhwb-hour-icon{height:42px;}
 .wall-shell .fhwb-svg{width:43px;height:43px;}
}
@media(max-width:850px){
 .wall-shell .fhwb-hour-row{gap:2px!important;}
 .wall-shell .fhwb-hour{min-height:100px;border-radius:7px;}
 .wall-shell .fhwb-hour-time{font-size:10px!important;}
 .wall-shell .fhwb-hour-temp{font-size:16px!important;}
 .wall-shell .fhwb-hour-rain{font-size:9px!important;}
 .wall-shell .fhwb-hour-icon{height:32px;}
 .wall-shell .fhwb-svg{width:33px;height:33px;}
 .wall-shell .fhwb-day-chip{font-size:8px;}
}

/* FAMILYHUB WETTER B V3 – LESBARKEIT FÜR 1920 × 1080
   Die bisher extrem kleinen 9–12px-Zeilen werden gezielt vergroessert.
   Inhalte koennen bei Bedarf innerhalb der vorhandenen Kacheln scrollen.
*/
@media (min-width: 1331px) and (min-height: 760px) {
  .wall-shell.fhwb-active .fhwb-weather-section .fhwb-hour-row { gap: 8px !important; }
  .wall-shell.fhwb-active .fhwb-hour {
    min-height: 154px !important;
    gap: 4px !important;
    padding: 12px 4px 9px !important;
  }
  .wall-shell.fhwb-active .fhwb-hour-time { font-size: 22px !important; }
  .wall-shell.fhwb-active .fhwb-hour-icon { height: 56px !important; }
  .wall-shell.fhwb-active .fhwb-svg { width: 57px !important; height: 57px !important; }
  .wall-shell.fhwb-active .fhwb-hour-temp { font-size: 34px !important; }
  .wall-shell.fhwb-active .fhwb-hour-rain { font-size: 18px !important; }
  .wall-shell.fhwb-active .fhwb-day-chip,
  .wall-shell.fhwb-active .fhwb-now-label { font-size: 12px !important; }
  .wall-shell.fhwb-active .fhwb-weather-section h1,
  .wall-shell.fhwb-active .fhwb-weather-section h2 { font-size: 25px !important; }

  .wall-shell.fhwb-active .wall-top .brand-title { font-size: 27px !important; }
  .wall-shell.fhwb-active .wall-top .subtitle { font-size: 14px !important; }
  .wall-shell.fhwb-active .wall-now { font-size: 54px !important; }
  .wall-shell.fhwb-active .wall-now small { font-size: 16px !important; }
  .wall-shell.fhwb-active .wall-banner h1 { font-size: 34px !important; }
  .wall-shell.fhwb-active .wall-banner p { font-size: 17px !important; }
  .wall-shell.fhwb-active .wall-banner .tiny,
  .wall-shell.fhwb-active .wall-banner .small { font-size: 15px !important; }
  .wall-shell.fhwb-active .wall-weather-inline { font-size: 27px !important; }
  .wall-shell.fhwb-active .wall-weather-inline span { font-size: 16px !important; }

  /* Wochenplan: Tag, Datum, Termine und Teilnehmer deutlich groesser */
  .wall-shell.fhwb-active .wall-calendar-heading h1,
  .wall-shell.fhwb-active .wall-calendar-pane h2 { font-size: 25px !important; }
  .wall-shell.fhwb-active .wall-calendar-heading p { font-size: 16px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-day-head { font-size: 15px !important; min-height: 64px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-day-head b { font-size: 33px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-all-day-event { font-size: 15px !important; line-height: 1.25 !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-event-title { font-size: 17px !important; line-height: 1.2 !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-event-time,
  .wall-shell.fhwb-active .wall-calendar-pane .cal-event-person { font-size: 14px !important; line-height: 1.2 !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-time-event.compact .cal-event-title { font-size: 15px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-hour-label { font-size: 13px !important; }

  /* Rechte Spalte: Infokarten / Aufgaben / Einkaufsliste */
  .wall-shell.fhwb-active .wall-summary-side { overflow-y: auto !important; }
  .wall-shell.fhwb-active .wall-summary-side .wall-card { padding: 12px 14px !important; }
  .wall-shell.fhwb-active .wall-summary-side .wall-card h2 { font-size: 23px !important; line-height: 1.2 !important; margin: 0 0 8px !important; }
  .wall-shell.fhwb-active .wall-summary-side .wall-list-item { font-size: 18px !important; line-height: 1.3 !important; padding: 8px 0 !important; }
  .wall-shell.fhwb-active .wall-summary-side .wall-list-item .small,
  .wall-shell.fhwb-active .wall-summary-side .wall-list-item small { font-size: 15px !important; line-height: 1.25 !important; }
  .wall-shell.fhwb-active .wall-summary-side .empty { font-size: 17px !important; }
  .wall-shell.fhwb-active .wall-summary-side .small,
  .wall-shell.fhwb-active .wall-summary-side .tiny { font-size: 15px !important; }
  .wall-shell.fhwb-active .wall-summary-side .fh10-wall-muted,
  .wall-shell.fhwb-active .wall-summary-side .fh10-wall-poll-title,
  .wall-shell.fhwb-active .wall-summary-side .fh10-wall-vote-label { font-size: 16px !important; }
  .wall-shell.fhwb-active .wall-summary-side .fh10-wall-week-range { font-size: 15px !important; }
  .wall-shell.fhwb-active .wall-summary-side .fh10-wall-week-metrics span { font-size: 14px !important; }
  .wall-shell.fhwb-active .wall-footer { font-size: 14px !important; }
}

/* Fallback wenn das Wanddisplay etwas niedriger betrieben wird. */
@media (min-width: 1331px) and (max-height: 759px) {
  .wall-shell.fhwb-active .wall-summary-side .wall-list-item { font-size: 16px !important; }
  .wall-shell.fhwb-active .wall-summary-side .wall-card h2 { font-size: 20px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-day-head b { font-size: 29px !important; }
  .wall-shell.fhwb-active .wall-calendar-pane .cal-event-title { font-size: 15px !important; }
}
@media (min-width: 1331px) and (min-height: 760px) {
  .wall-shell.fhwb-active .fhwb-weather-title {font-size:26px!important;line-height:1.2!important;font-weight:850!important;}
  .wall-shell.fhwb-active .wall-weather-current .wall-weather-temp {font-size:39px!important;}
  .wall-shell.fhwb-active .wall-weather-current .wall-weather-text {font-size:18px!important;}
  .wall-shell.fhwb-active .wall-weather-current .wall-weather-city,
  .wall-shell.fhwb-active .wall-weather-current .wall-weather-status {font-size:15px!important;}
}
