/* Thavma Forecast GR V25 — additions only; the V24 design system remains intact. */
:root {
  --v25-panel: rgba(4, 18, 43, 0.86);
  --v25-panel-strong: rgba(5, 23, 52, 0.96);
  --v25-line: rgba(70, 215, 255, 0.22);
  --v25-muted: #91a8c0;
  --v25-cyan: #46d7ff;
  --v25-green: #42e8a7;
  --v25-amber: #ffbf3f;
  --v25-red: #ff5468;
}

.v25-flow-card,
.v25-panel-card,
.v25-map-shell,
.v25-contact-form,
.v25-admin-card {
  border: 1px solid var(--v25-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 35, 67, var(--thavma-card-alpha, 0.9)), var(--v25-panel));
  box-shadow: 0 16px 42px rgba(0, 5, 18, 0.16);
}

.v25-flow-card {
  padding: 17px;
  margin-bottom: 16px;
}

.v25-eyebrow {
  color: var(--v25-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v25-flow-card h3,
.v25-panel-heading h3 {
  margin: 5px 0 6px;
  color: #f2f8ff;
}

.v25-source-line,
.v25-status,
.v25-integrity-note {
  color: var(--v25-muted);
  font-size: 12px;
  line-height: 1.55;
}

.v25-flow-grid,
.v25-month-grid,
.v25-map-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.v25-flow-item,
.v25-month-card,
.v25-map-kpi {
  min-width: 0;
  border: 1px solid rgba(70, 215, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 15, 38, 0.55);
  padding: 12px;
}

.v25-flow-item b,
.v25-month-card b,
.v25-map-kpi b {
  display: block;
  color: #f4f8ff;
  font-size: 15px;
}

.v25-flow-item span,
.v25-month-card span,
.v25-map-kpi span {
  display: block;
  color: var(--v25-muted);
  font-size: 11px;
  margin-top: 3px;
}

.v25-subnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 18px;
}

.v25-subnav button,
.v25-ai-tabs button,
.v25-layer-grid button,
.v25-timeline button {
  min-height: 42px;
  border: 1px solid rgba(70, 215, 255, 0.23);
  border-radius: 11px;
  background: rgba(4, 24, 51, 0.78);
  color: #bdd1e7;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.v25-subnav button.active,
.v25-ai-tabs button.active,
.v25-layer-grid button.active,
.v25-timeline button.active {
  color: #03101d;
  border-color: var(--v25-cyan);
  background: linear-gradient(135deg, var(--v25-cyan), #68efcd);
  box-shadow: 0 0 22px rgba(70, 215, 255, 0.18);
}

.v25-layer-grid button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.v25-subpanel.hidden,
.v25-stats-panel.hidden,
.v25-global-panel.hidden {
  display: none !important;
}

.v25-panel-card {
  padding: 16px;
  margin: 14px 0;
}

.v25-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.v25-badge {
  flex: none;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(66, 232, 167, 0.12);
  color: var(--v25-green);
  border: 1px solid rgba(66, 232, 167, 0.25);
  font-size: 10px;
  font-weight: 800;
}

.v25-month-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v25-month-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
}

.v25-month-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--v25-cyan);
}

.v25-month-card.is-climate::before { background: var(--v25-amber); }
.v25-month-card.is-unavailable::before { background: #52667c; }

.v25-month-name {
  color: var(--v25-cyan) !important;
  font-size: 12px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.v25-month-temp {
  margin: 9px 0 7px;
  font-size: 24px !important;
}

.v25-historical-toolbar,
.v25-ai-tabs,
.v25-layer-grid,
.v25-timeline,
.v25-global-toolbar,
.v25-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.v25-historical-toolbar { margin: 12px 0; }

.v25-historical-toolbar select,
.v25-contact-form input,
.v25-contact-form textarea,
.v25-admin-card input,
.v25-admin-card select,
.v25-admin-card textarea {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(70, 215, 255, 0.22);
  background: rgba(1, 15, 36, 0.72);
  color: #eef8ff;
  padding: 9px 11px;
  font: inherit;
}

.v25-historical-chart-wrap,
.v25-ai-map {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(70, 215, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #07172d;
}

.v25-historical-chart-wrap canvas { width: 100% !important; height: 350px !important; }

.v25-stats-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.v25-ai-tabs { margin-bottom: 10px; }
.v25-ai-tabs button { flex: 1 1 180px; }
.v25-layer-grid { margin: 10px 0; }
.v25-layer-grid button { flex: 1 1 132px; }
.v25-timeline { margin: 12px 0; }
.v25-timeline button { min-width: 54px; min-height: 36px; }
.v25-ai-map { height: 480px; }
.v25-ai-map .leaflet-control-attribution { font-size: 9px; }
.v25-ai-map-legend {
  display: flex;
  gap: 2px;
  align-items: stretch;
  margin-top: 8px;
}
.v25-ai-map-legend span {
  flex: 1;
  min-width: 0;
  color: #dcecff;
  font-size: 9px;
  text-align: center;
  padding-top: 8px;
  border-top: 6px solid var(--legend-color);
}

.v25-map-shell { padding: 12px; }
.v25-global-toolbar { margin-bottom: 10px; }
.v25-global-toolbar button {
  border: 1px solid rgba(70, 215, 255, 0.2);
  color: #c7dbed;
  background: rgba(3, 25, 52, 0.85);
  border-radius: 10px;
  min-height: 38px;
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}
.v25-global-toolbar button.active { color: #02131e; background: var(--v25-cyan); }
.v25-global-toolbar button.unavailable { opacity: .45; }
.v25-global-status { margin: 10px 0 0; }
.v25-map-popup { min-width: 230px; color: #162437; }
.v25-map-popup h4 { margin: 0 0 6px; color: #071a32; }
.v25-map-popup-grid { display:grid; grid-template-columns:1fr 1fr; gap:5px; font-size:11px; }
.v25-map-popup small { display:block; margin-top:7px; color:#596b80; }
.v25-point-context { margin-top:7px; color:#162437; font-size:12px; }
.v25-temp-label { background:transparent; border:0; box-shadow:none; color:#fff; font-weight:900; text-shadow:0 1px 4px #00152b; }
.v25-temp-label::before { display:none; }
.v25-data-icon { background:transparent; border:0; }
.v25-data-icon span { display:grid; place-items:center; width:28px; height:28px; border:1px solid rgba(255,255,255,.7); border-radius:50%; background:rgba(4,22,44,.9); box-shadow:0 4px 12px rgba(0,0,0,.4); }
.v25-map-shell.is-fullscreen { position:relative; padding:14px; background:#031225; overflow:auto; }
.v25-fullscreen-logo { position:absolute; right:22px; bottom:38px; z-index:700; width:96px; max-height:52px; object-fit:contain; filter:drop-shadow(0 3px 8px rgba(0,0,0,.7)); pointer-events:none; }

.thavma-ad-icon{display:flex;align-items:center;justify-content:center;font-size:42px;line-height:1;background:linear-gradient(145deg,rgba(0,210,255,.2),rgba(0,89,145,.24))!important}

/* The slider controls the surfaces users actually see in V25. Text and controls remain fully opaque. */
body[data-version="26"] .now-left-square,
body[data-version="26"] .now-bar-analysis,
body[data-version="26"] .now-info-box,
body[data-version="26"] .chart-container-box,
body[data-version="26"] .daily-forecast-group,
body[data-version="26"] .daily-row,
body[data-version="26"] .hourly-row,
body[data-version="26"] .quarter-hour-card,
body[data-version="26"] .monthly-card,
body[data-version="26"] .monthly-summary-card,
body[data-version="26"] .stats-card,
body[data-version="26"] .stats-sidebar-card,
body[data-version="26"] .settings-category,
body[data-version="26"] .news-card-full,
body[data-version="26"] .news-editor-section,
body[data-version="26"] .year-month-card,
body[data-version="26"] .thavma-ad-card,
body[data-version="26"] .thavma-promo-card {
  background: rgba(5, 20, 35, var(--thavma-card-alpha, .84)) !important;
}

body[data-version="26"] #hourlyResults .hourly-row {
  position: relative;
  isolation: isolate;
  overflow: visible;
  height: auto;
}
.hourly-row.hourly-expanded{z-index:3;border-color:rgba(71,221,255,.48)!important;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.hourly-row.hourly-expanded .hourly-detail{display:block!important;position:relative!important;order:20;flex:0 0 100%;margin-top:8px;z-index:4}
.realistic-human-layer{overflow:visible}
.realistic-human-video{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;filter:contrast(1.05) saturate(1.04)}
body[data-version="26"] .realistic-human-layer.grounded-human{z-index:5;bottom:-5.2vh;max-height:70vh;opacity:1!important;mix-blend-mode:normal;filter:contrast(1.04) saturate(1.02) drop-shadow(0 14px 22px rgba(0,0,0,.25));-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 94%,rgba(0,0,0,.88) 97%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 94%,rgba(0,0,0,.88) 97%,transparent 100%)}
body[data-version="26"] .realistic-human-layer.asset-load-error{display:none!important}
body[data-version="26"] .realistic-landscape-layer{z-index:4;max-height:32vh}
.realistic-bird-layer{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.realistic-bird-layer.hidden{display:none!important}
.realistic-bird-layer span{position:absolute;width:18px;height:9px;left:-30px;top:16%;animation:thavmaBirdFly 24s linear infinite;opacity:.82}
.realistic-bird-layer span::before,.realistic-bird-layer span::after{content:"";position:absolute;top:3px;width:11px;height:5px;border-top:2px solid rgba(13,24,35,.78);border-radius:70% 70% 0 0}
.realistic-bird-layer span::before{left:0;transform:rotate(12deg)}.realistic-bird-layer span::after{right:0;transform:rotate(-12deg)}
.realistic-bird-layer span:nth-child(2){top:24%;animation-duration:31s;animation-delay:-9s;transform:scale(.72)}
.realistic-bird-layer span:nth-child(3){top:10%;animation-duration:38s;animation-delay:-21s;transform:scale(1.15)}
.realistic-bird-layer span:nth-child(4){top:31%;animation-duration:28s;animation-delay:-15s;transform:scale(.58)}
@keyframes thavmaBirdFly{0%{left:-4vw;transform:translateY(0)}35%{transform:translateY(-12px)}70%{transform:translateY(8px)}100%{left:104vw;transform:translateY(-4px)}}
body.thavma-reduced-motion .realistic-bird-layer,body.animations-disabled .realistic-bird-layer,body[data-background-effects="off"] .realistic-bird-layer{display:none!important}
.v25-outlook-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.v25-outlook-summary article{display:grid;gap:5px;padding:12px;border:1px solid rgba(94,220,255,.18);border-radius:12px;background:rgba(4,26,44,.72)}
.v25-outlook-summary i,.v25-outlook-summary span{color:#62dcff}.v25-outlook-summary b{font-size:13px;line-height:1.35}.v25-outlook-summary small{color:#91a8c0}
.v25-source-factors{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}.v25-source-factors span{padding:6px 9px;border-radius:999px;border:1px solid rgba(100,210,255,.2);font-size:10px;font-weight:800}.v25-source-factors .is-live{color:#65e2ba}.v25-source-factors .is-unavailable{color:#b5c3ce;border-style:dashed}
.v25-monthly-archive{margin-top:16px}.v25-seasonal-extra{margin-top:8px;padding-top:8px;border-top:1px solid rgba(100,210,255,.12)}
@media(max-width:900px){.v25-outlook-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v25-outlook-summary{grid-template-columns:1fr}.v25-historical-toolbar{grid-template-columns:1fr!important}.thavma-ad-icon{font-size:36px}}
@media(max-width:600px){body[data-version="26"] .realistic-human-layer.grounded-human{width:min(48vw,275px)!important;right:-1vw!important;bottom:-4.1vh!important}}

/* High-contrast typography remains readable at every glass setting. */
body[data-version="26"] .weather-section,
body[data-version="26"] .now-layout-container,
body[data-version="26"] .settings-layout,
body[data-version="26"] .v25-admin-shell{--v25-safe-text-shadow:var(--thavma-text-shadow,0 1px 2px rgba(0,0,0,.58))}
body[data-version="26"] .weather-section :is(p,span,small,label,h1,h2,h3,h4,h5,b),
body[data-version="26"] .now-layout-container :is(p,span,small,label,h1,h2,h3,h4,h5,b){text-shadow:var(--v25-safe-text-shadow)}

body.v25-standalone-map .top-nav,body.v25-standalone-map .favorites-bar,body.v25-standalone-map .main-footer,body.v25-standalone-map #mapsSection>.section-title,body.v25-standalone-map #mapsSection>.maps-tabs,body.v25-standalone-map #windySection,body.v25-standalone-map #thavmaMapsSection,body.v25-standalone-map .mobile-bottom-nav{display:none!important}
body.v25-standalone-map{overflow:hidden;background:#031225!important}
body.v25-standalone-map .main-content,body.v25-standalone-map #mapsSection,body.v25-standalone-map #v25GlobalPanel,body.v25-standalone-map .v25-map-shell{display:block!important;width:100%!important;max-width:none!important;height:100vh!important;margin:0!important;padding:0!important;border:0!important}
body.v25-standalone-map .v25-global-toolbar{padding:10px;margin:0;background:#031225}body.v25-standalone-map .v25-global-status{margin:0;padding:7px 12px;background:#031225}
#settingsCatNewsAdmin{display:none!important}#settingsCatNewsAdmin.v25-in-admin{display:block!important;margin:0}

.v25-contact-form { padding: 14px; margin-top: 12px; }
.v25-contact-form label { display: grid; gap: 5px; color: #bfd2e5; font-size: 12px; margin-bottom: 9px; }
.v25-contact-form textarea { min-height: 112px; resize: vertical; }
.v25-contact-form input,
.v25-contact-form textarea { width: 100%; box-sizing: border-box; }
.v25-form-actions button,
.v25-admin-card button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 9px 13px;
  background: linear-gradient(135deg, var(--v25-cyan), #5ae4b6);
  color: #041522;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.v25-scene-preview {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(#318ccb, #9ddcf0 65%, #5a973f 66%, #285f2f);
}
.v25-scene-preview img { position:absolute; left:50%; bottom:4%; transform:translateX(-50%); max-height:88%; max-width:62%; object-fit:contain; filter:drop-shadow(0 12px 8px rgba(0,0,0,.28)); }
.v25-scene-preview::after { content:""; position:absolute; left:32%; right:32%; bottom:3%; height:10px; border-radius:50%; background:rgba(0,0,0,.24); filter:blur(5px); }

.v25-admin-card { padding: 14px; margin: 12px 0; }
.v25-weight-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.v25-weight-grid label { display:grid; gap:5px; color:#c6d9ea; font-size:11px; }
.v25-weight-total.ok { color: var(--v25-green); }
.v25-weight-total.bad { color: var(--v25-red); }

/* V25 administration: the requested complete side navigation, without the
   removed Overview / Maps / Status placeholder pages. */
#modSection:not(.hidden) {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
#modSection > .section-title { grid-column: 1 / -1; }
#modSection > #_modTabs {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  margin: 0;
  padding: 10px;
  position: sticky;
  top: 76px;
  border: 1px solid rgba(72, 213, 255, .16);
  border-radius: 15px;
  background: rgba(4, 20, 37, var(--thavma-card-alpha, .88));
}
#modSection > #_modTabs .maps-tab-btn {
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  text-align: left;
}
#modSection > #_modContent { grid-column: 2; min-width: 0; }
#modSection > #_siteTools { display: none !important; }
.v25-admin-card h3 { margin: 18px 0 10px; color: #eaf7ff; }
.v25-admin-card h4 { margin: 18px 0 9px; color: #65dbff; }
.v25-admin-card textarea { width: 100%; box-sizing: border-box; }
.v25-admin-card .v25-secondary { background: #17324a; color: #d8edff; border: 1px solid rgba(120, 210, 255, .2); }
.v25-admin-card .v25-danger { background: #8d2638; color: #fff; }
.v25-asset-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.v25-asset-card { overflow:hidden; border:1px solid rgba(100,214,255,.15); border-radius:12px; background:rgba(2,17,32,.7); }
.v25-asset-card video,.v25-asset-card img { display:block; width:100%; height:145px; object-fit:cover; background:#06111e; }
.v25-asset-card div { display:grid; gap:4px; padding:9px; }
.v25-asset-card b { color:#e6f6ff; font-size:11px; line-height:1.35; }
.v25-asset-card small { color:#86a2ba; font-size:9px; }
.v26-ad-row { grid-template-columns:86px minmax(180px,1fr) auto auto; align-items:center; }
.v26-ad-row>img,.v26-ad-placeholder { width:86px; height:58px; object-fit:contain; border-radius:9px; background:rgba(3,15,31,.72); border:1px solid rgba(79,207,255,.18); }
.v26-ad-placeholder { display:grid; place-items:center; color:rgba(189,220,239,.55); font-size:22px; }
.v26-ad-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.v26-ad-actions button { padding:7px 9px; font-size:11px; }
.v26-ad-actions .v26-danger { border-color:rgba(255,94,117,.38); color:#ff9aaa; }
@media(max-width:760px) {
  .v26-ad-row { grid-template-columns:70px 1fr; }
  .v26-ad-row>img,.v26-ad-placeholder { width:70px; height:50px; }
  .v26-ad-row>.v25-admin-state,.v26-ad-actions { grid-column:2; justify-content:flex-start; }
}
.v25-admin-list { display:grid; gap:8px; }
.v25-admin-list-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:10px; border:1px solid rgba(98,216,255,.14); border-radius:11px; background:rgba(3,22,40,.7); }
.v25-admin-list-row > div { display:grid; gap:3px; min-width:0; }
.v25-admin-list-row b { color:#ecf8ff; }
.v25-admin-list-row small { color:#8fa9bd; overflow-wrap:anywhere; }
.v25-admin-state { color:#8fa9bd; font-size:9px; font-weight:900; letter-spacing:.08em; }
.v25-admin-state.is-on { color:#54e5a6; }
.v25-admin-chip-list { display:flex; gap:7px; flex-wrap:wrap; margin:10px 0; }
.v25-admin-chip { display:inline-flex; padding:6px 9px; border:1px solid rgba(105,216,255,.18); border-radius:999px; color:#c7deee; font-size:10px; }
.v25-api-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:12px; }
.v25-api-grid article { display:grid; grid-template-columns:auto 1fr; gap:3px 8px; align-items:center; padding:12px; border:1px solid rgba(97,218,255,.16); border-radius:12px; background:rgba(3,22,40,.72); }
.v25-api-grid article i { grid-row:1 / 3; color:#52e2ad; font-size:20px; }
.v25-api-grid article span { color:#8fa9bd; font-size:10px; }
.v25-api-grid article.is-error i { color:#ff766f; }

.site-alert.danger,
.alerts-banner.alert-danger {
  animation: v25-alert-pulse 2.7s ease-in-out infinite;
}
@keyframes v25-alert-pulse {
  0%,100% { background-color: rgba(114, 17, 32, .82); }
  50% { background-color: rgba(165, 24, 43, .92); }
}

@media (max-width: 980px) {
  .v25-month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v25-stats-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v25-asset-grid,.v25-api-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .v25-subnav,
  .v25-flow-grid,
  .v25-month-grid,
  .v25-map-kpis,
  .v25-weight-grid { grid-template-columns: 1fr; }
  .v25-panel-heading { display:block; }
  .v25-badge { display:inline-block; margin-top:6px; }
  .v25-layer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v25-layer-grid button { min-width:0; }
  .v25-timeline { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; scrollbar-width:thin; }
  .v25-timeline button { flex:0 0 52px; }
  .v25-ai-map { height:390px; }
  #modSection:not(.hidden) { display:block; }
  #modSection > #_modTabs { position:static; flex-direction:row; overflow-x:auto; flex-wrap:nowrap; margin-bottom:12px; }
  #modSection > #_modTabs .maps-tab-btn { flex:0 0 auto; width:auto; white-space:nowrap; }
  .v25-asset-grid,.v25-api-grid { grid-template-columns:1fr; }
  .v25-admin-list-row { grid-template-columns:minmax(0,1fr) auto; }
  .v25-admin-list-row button { grid-column:1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-alert.danger,
  .alerts-banner.alert-danger { animation:none; }
}

/* V26.1 final layout safeguards. */
body[data-version="26"] #hourlyResults,
body[data-version="26"] .vertical-hourly-list { overflow-x:hidden!important; overflow-y:visible!important; }
body[data-version="26"] #hourlyResults .hourly-row {
  position:relative!important; height:auto!important; min-height:62px!important;
  overflow:visible!important; contain:none!important; align-content:center!important;
}
body[data-version="26"] #hourlyResults .hourly-row.hourly-expanded { align-content:start!important; }
body[data-version="26"] #hourlyResults .hourly-detail {
  display:none!important; position:static!important; inset:auto!important; float:none!important;
  grid-column:1 / -1!important; width:100%!important; min-height:max-content!important;
  margin:10px 0 2px!important; transform:none!important; z-index:auto!important;
}
body[data-version="26"] #hourlyResults .hourly-row.hourly-expanded .hourly-detail:not(.hidden) { display:block!important; }

body[data-version="26"] .realistic-human-layer,
body[data-version="26"] .realistic-human-layer.grounded-human {
  right:clamp(10px,3.5vw,60px)!important; bottom:0!important;
  width:clamp(110px,16vw,240px)!important; max-height:56vh!important;
  aspect-ratio:3/5!important; overflow:hidden!important; transform-origin:center bottom!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 92%,rgba(0,0,0,.72) 97%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 92%,rgba(0,0,0,.72) 97%,transparent 100%)!important;
}
body[data-version="26"] .realistic-human-video { width:100%!important; height:100%!important; object-fit:contain!important; object-position:center bottom!important; }

body[data-version="26"] .weather-section :is(p,span,small,label,h1,h2,h3,h4,h5,b),
body[data-version="26"] .now-layout-container :is(p,span,small,label,h1,h2,h3,h4,h5,b),
body[data-version="26"] .v26-plots :is(p,span,small,label,h3,b) { text-shadow:none!important; }

.home-notification-panel { display:flex; flex-direction:column; align-items:stretch; gap:12px; margin:0 0 14px; padding:13px 15px; border:1px solid rgba(42,220,255,.28); border-radius:15px; background:linear-gradient(135deg,rgba(5,30,54,.94),rgba(8,52,72,.82)); box-shadow:0 12px 28px rgba(0,0,0,.18); }
.home-notification-copy,.home-notification-actions { display:flex; align-items:center; gap:10px; min-width:0; }
.home-notification-copy>div { min-width:0; }
.home-notification-actions { width:100%; }
.home-notification-actions button { flex:1 1 0; min-width:0; padding-inline:8px; white-space:normal; }
.home-notification-copy>i { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:#031321; background:#53e5ff; font-size:18px; }
.home-notification-copy b,.home-notification-copy small { display:block; }
.home-notification-copy b { color:#e9fbff; font-size:13px; }
.home-notification-copy small { margin-top:3px; color:#8eb2c4; font-size:10px; }
.settings-version-box ul { margin:10px 0 0; padding-left:20px; display:grid; gap:6px; }

.v27-alert-shell { display:grid; gap:13px; }
.v27-alert-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; padding:15px; border:1px solid rgba(46,220,255,.2); border-radius:15px; background:rgba(4,20,38,.88); }
.v27-alert-head h3 { margin:3px 0 5px; color:#eefbff; }
.v27-alert-head p { margin:0; color:#90afbf; font-size:11px; }
.v27-alert-canvas-wrap { position:relative; overflow:hidden; border:1px solid rgba(79,225,255,.28); border-radius:16px; background:#07192c; }
.v27-alert-canvas-wrap canvas { display:block; width:100%; height:auto; touch-action:none; }
.v27-alert-legend,.v27-alert-tools,.v27-alert-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.v27-alert-legend span { display:flex; align-items:center; gap:6px; color:#a8c3d0; font-size:10px; }
.v27-alert-legend i { width:16px; height:10px; border-radius:4px; }
.v27-alert-tools button,.v27-alert-actions button { min-height:38px; padding:8px 11px; border:1px solid rgba(64,217,255,.25); border-radius:9px; background:#0a2940; color:#dff9ff; cursor:pointer; }
.v27-alert-tools button.active { border-color:#56e5ff; box-shadow:0 0 0 2px rgba(86,229,255,.13); }
.v27-alert-status { min-height:20px; color:#84adbf; font-size:11px; }
.v27-alert-status[data-tone="error"] { color:#ff9a94; }
.v27-alert-status[data-tone="ok"] { color:#75e7b1; }
@media(min-width:1000px){
  .v27-alert-shell:not(.v25-admin-card){grid-template-columns:minmax(220px,285px) minmax(0,1fr);align-items:start}
  .v27-alert-shell:not(.v25-admin-card)>.v27-alert-head{grid-column:1/-1}
  .v27-alert-shell:not(.v25-admin-card)>.v27-alert-days,.v27-alert-shell:not(.v25-admin-card)>.v27-alert-legend,.v27-alert-shell:not(.v25-admin-card)>.v27-alert-status{grid-column:1}
  .v27-alert-shell:not(.v25-admin-card)>.v27-alert-canvas-wrap{grid-column:2;grid-row:2/6}
  .v25-admin-card.v27-alert-shell{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start}
  .v25-admin-card.v27-alert-shell>.v25-eyebrow,.v25-admin-card.v27-alert-shell>h3{grid-column:1/-1}
  .v25-admin-card.v27-alert-shell>.v27-alert-canvas-wrap{grid-column:2;grid-row:3/9}
  .v25-admin-card.v27-alert-shell>.v27-alert-actions:last-of-type,.v25-admin-card.v27-alert-shell>.v27-alert-status{grid-column:1/-1}
}
@media(max-width:720px){
  .home-notification-panel { align-items:stretch; }
  .home-notification-actions { width:100%; }
  .home-notification-actions button { flex:1; }
  body[data-version="26"] .realistic-human-layer,body[data-version="26"] .realistic-human-layer.grounded-human { width:clamp(88px,24vw,150px)!important; right:4px!important; max-height:46vh!important; }
}

/* V26.1 monthly calendar: V24 rules were version-scoped and therefore did
   not apply after the V26 upgrade. Keep the calendar readable in every skin. */
body[data-version="26"] .forecast-calendar-section{margin-top:22px;padding:18px;border:1px solid rgba(83,225,255,.2);border-radius:18px;background:linear-gradient(160deg,rgba(5,28,49,.94),rgba(8,20,39,.9));box-shadow:0 16px 36px rgba(0,0,0,.2)}
body[data-version="26"] .forecast-calendar-section .year-outlook-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
body[data-version="26"] .forecast-calendar-section .year-outlook-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body[data-version="26"] .forecast-calendar-section .year-outlook-status{margin:10px 0 14px;padding:10px 12px;border-radius:12px;background:rgba(65,209,242,.07);color:#a9c9d8;font-size:11px;line-height:1.55}
body[data-version="26"] .forecast-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;width:100%}
body[data-version="26"] .forecast-week-head{padding:7px 4px;text-align:center;font-size:11px;font-weight:900;color:#67e4ff;letter-spacing:.06em}
body[data-version="26"] .forecast-day-card{appearance:none;position:relative;min-width:0;min-height:124px;padding:8px 6px;border:1px solid rgba(126,230,255,.14);border-radius:13px;background:linear-gradient(180deg,rgba(12,43,70,.92),rgba(6,22,39,.96));color:#e9f8ff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;text-align:center;overflow:hidden;cursor:pointer;transition:border-color .2s,transform .2s,background .2s}
body[data-version="26"] .forecast-day-card:hover{transform:translateY(-2px);border-color:rgba(83,225,255,.6);background:linear-gradient(180deg,rgba(15,59,91,.96),rgba(7,28,48,.98))}
body[data-version="26"] .forecast-day-card.empty{visibility:hidden;pointer-events:none}
body[data-version="26"] .forecast-day-card.outside{opacity:.48;cursor:default}
body[data-version="26"] .forecast-day-card.seasonal{border-style:dashed;background:linear-gradient(180deg,rgba(31,48,75,.9),rgba(12,25,44,.96))}
body[data-version="26"] .forecast-day-num{align-self:flex-start;font-size:12px;font-weight:900;color:#fff}
body[data-version="26"] .forecast-day-icon{display:grid;place-items:center;min-height:32px}
body[data-version="26"] .forecast-day-icon svg{width:30px;height:30px}
body[data-version="26"] .forecast-day-icon img{width:30px;height:30px}
body[data-version="26"] .forecast-day-label{font-size:10px;line-height:1.2;font-weight:800;color:#dceff7}
body[data-version="26"] .forecast-day-temp{font-size:11px;font-weight:900;color:#78eaff}
body[data-version="26"] .forecast-day-extra{font-size:9px;line-height:1.3;color:#9bb7c6}
body[data-version="26"] .forecast-day-source{margin-top:auto;padding:3px 6px;border-radius:999px;background:rgba(175,139,255,.13);color:#cebaff;font-size:8px;font-weight:900;letter-spacing:.03em}
body[data-version="26"] .forecast-day-source.is-daily{background:rgba(71,224,171,.12);color:#77e8b8}
body[data-version="26"] #forecastMonthDetail.active{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;padding:14px;border:1px solid rgba(83,225,255,.17);border-radius:13px;background:rgba(4,20,35,.82);color:#cfe5ef}
body[data-version="26"] #forecastMonthDetail span{padding-right:10px;border-right:1px solid rgba(255,255,255,.08)}
@media(max-width:900px){body[data-version="26"] .forecast-calendar-section .year-outlook-heading{flex-direction:column}body[data-version="26"] .forecast-month-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){body[data-version="26"] .forecast-calendar-section{padding:12px}body[data-version="26"] .forecast-month-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body[data-version="26"] .forecast-day-card{min-height:116px}}
