.page-explore #explore { max-width: 1500px; margin: auto; }
.explore-head h2 { margin-bottom: .4rem; }
.explore-head p, .explore-note { opacity: .8; }
.explore-tabs, .explore-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin: 1rem 0; }
.explore-tabs { padding-bottom: 1rem; border-bottom: 1px solid #80808050; }
.explore-tabs button[aria-pressed="true"] { background: #19607a; color: white; }
.explore-view button, .explore-view select, .explore-view input { font: inherit; min-height: 2.5rem; border-radius: .4rem; }
.explore-view button { padding: .5rem .9rem; cursor: pointer; }
.explore-view button:disabled { opacity: .55; cursor: default; }
.explore-view label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.explore-view select, .explore-view input { max-width: 100%; }
.explore-view [hidden] { display: none !important; }
.explore-grow { flex: 1; min-width: 130px !important; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.explore-grid figure, .explore-player { margin: 0; background: #111; color: #fff; border-radius: .65rem; overflow: hidden; }
.explore-grid img, .explore-player img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.explore-grid figcaption, .explore-player figcaption { padding: .7rem; }
.explore-grid .missing { min-height: 12rem; display: grid; place-items: center; padding: 1rem; }
.explore-grid a { color: #b6e5ff; }
.explore-grid.is-show { grid-template-columns: 1fr; }
.explore-grid.is-show img { max-height: 72vh; }
.explore-grid:fullscreen { background: #111; display: grid; align-items: center; }
.explore-grid:fullscreen img { max-height: 90vh; }
.explore-player img { max-height: 65vh; }
.explore-note { font-size: .9rem; line-height: 1.5; }
.explore-view :focus-visible { outline: 3px solid #419bc2; outline-offset: 3px; }
.multi-clock-picker { display: flex; flex-direction: column; gap: .3rem; }
.multi-clock-options { position: fixed; z-index: 1200; overflow-y: auto; overscroll-behavior: contain; padding: .5rem; box-sizing: border-box; border: 1px solid #80808050; border-radius: .6rem; background: var(--adaptive-card, #111827); color: var(--adaptive-text, #fff); box-shadow: 0 8px 30px #0006; }
.multi-clock-options button { display: block; width: 100%; margin: .15rem 0; background: transparent; color: inherit; border: 1px solid transparent; }
.multi-clock-options button:hover, .multi-clock-options button[aria-selected="true"] { background: #19607a; color: #fff; }
@media (max-width: 650px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-controls > label { flex: 1 1 130px; }
  .explore-tabs button { flex: 1 1 100%; }
}

#weather-forecast { background: var(--adaptive-card); color: var(--adaptive-text); margin: 1rem 0 2rem; padding: 1rem; border: 1px solid #80808050; border-radius: .6rem; }
#weather-forecast > summary { cursor: pointer; font-size: 1.25rem; font-weight: 600; }

.forecast-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.forecast-chart { margin: 0; min-width: 0; border: 1px solid #80808050; border-radius: .6rem; padding: .9rem; }
.forecast-chart figcaption { font-weight: 600; font-size: 1.1rem; }
.forecast-chart-value { min-height: 1.5em; margin: .5rem 0; font-variant-numeric: tabular-nums; }
.forecast-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.forecast-axis { fill: currentColor; font-size: 15px; }
.forecast-gridline { stroke: currentColor; opacity: .15; }
.forecast-cursor { stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 4; opacity: .65; }
.forecast-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.forecast-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.forecast-legend i { display: inline-block; width: 1.4rem; border-top: 3px solid; }
#forecast-hour { width: 100%; }
@media (max-width: 750px) {
  .forecast-charts { grid-template-columns: 1fr; }
  .forecast-axis { font-size: 20px; }
}
