:root {
  color-scheme: light;
  --border: #d7dde5;
  --text: #172033;
  --muted: #64748b;
  --surface: #ffffff;
  --panel: #f8fafc;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--panel);
}

button,
input {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-rows: 1fr;
  height: 100vh;
  min-height: 640px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar__main {
  min-width: 0;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  font-size: 16px;
  font-weight: 700;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.is-error {
  color: #b91c1c;
}

.layer-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.layer-controls label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.is-disabled {
  color: #94a3b8;
}

.notice-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff7ed;
}

.notice-bar__label {
  font-size: 12px;
  font-weight: 700;
  color: #9a3412;
}

.notice-bar__content {
  min-width: 0;
  font-size: 13px;
}

.notice-bar__content p {
  margin: 0;
}

.notice-bar__content strong {
  display: block;
  margin-bottom: 4px;
}

.notice-bar__time {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.notice-card__button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.notice-card__button:hover,
.notice-card__button:focus-visible {
  background: #ffedd5;
  outline: none;
}

.notice-card.notice-card--alert .notice-card__button {
  border-color: rgb(200 0 255);
  background: rgb(200 0 255);
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}

.notice-card.notice-card--alert .notice-card__button:hover,
.notice-card.notice-card--alert .notice-card__button:focus-visible {
  background: rgb(200 0 255);
  color: #000;
}

.notice-card.notice-card--special-alert .notice-card__button {
  border-color: rgb(12 0 12);
  background: rgb(12 0 12);
  color: #fff;
  text-shadow: none;
}

.notice-card.notice-card--special-alert .notice-card__button:hover,
.notice-card.notice-card--special-alert .notice-card__button:focus-visible {
  background: rgb(12 0 12);
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
}

.notice-modal-card {
  width: min(520px, 100%);
  max-height: min(72vh, 620px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
}

.notice-modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff7ed;
}

.notice-modal-card__header h2 {
  margin: 0;
  color: #9a3412;
  font-size: 16px;
}

.notice-modal-card__header button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}


.notice-modal-card.notice-modal-card--alert .notice-modal-card__header {
  background: rgb(200 0 255);
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.notice-modal-card.notice-modal-card--alert .notice-modal-card__header h2,
.notice-modal-card.notice-modal-card--alert .notice-modal-card__actions button {
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}

.notice-modal-card.notice-modal-card--alert .notice-modal-card__actions button {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}

.notice-modal-card.notice-modal-card--alert .notice-modal-card__actions button:hover,
.notice-modal-card.notice-modal-card--alert .notice-modal-card__actions button:focus-visible {
  background: #fff;
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__header {
  background: rgb(12 0 12);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__header h2,
.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__actions button {
  color: #fff;
  text-shadow: none;
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__actions button {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.24);
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__actions button:hover,
.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__actions button:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.notice-modal-card__body {
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
}

.notice-modal-card__footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 34vw);
  min-height: 0;
}

.side-column {
  --nearby-panel-height: 360px;
  --chart-panel-height: 260px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  border-left: 1px solid var(--border);
  background: var(--panel);
}

.map-area {
  position: relative;
  min-width: 0;
  min-height: 0;
}

#map {
  width: 100%;
  height: 100%;
}

.gsi-pale-monochrome-tile {
  filter: grayscale(1);
}

.side-panel {
  display: grid;
  /* スクロール開始時もカード高が変わらないよう、時間操作以外のカード行を固定する。 */
  grid-template-rows: max-content var(--nearby-panel-height) minmax(var(--chart-panel-height), 1fr);
  /* 余白が出る画面高でも auto 行を引き伸ばさず、お知らせカードの高さを保つ。 */
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}

.notice-card {
  /* 右上コンテナをスクロールしても、お知らせカードを上部に残す。 */
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
}

.link-card {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
}

.link-card__body {
  display: flex;
  gap: 10px;
  padding: 12px;
}

.link-card__button {
  flex: 1 1 0;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .link-card__body {
    flex-direction: column;
  }
}

.time-control-dock {
  padding: 0 10px 10px;
  background: var(--panel);
}

.panel-section {
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.section-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.section-head--actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: 14px;
}

.detail-panel {
  padding: 12px;
  font-size: 13px;
}

.detail-meta {
  margin-bottom: 10px;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.detail-panel.empty {
  color: var(--muted);
}

.layer-alerts {
  padding: 12px;
}

.layer-alert-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-alert {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.layer-alert__label {
  font-size: 12px;
  color: var(--muted);
}

.layer-alert__value {
  font-size: 13px;
}

.layer-alert--ready {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.layer-alert--warn {
  border-color: #fde68a;
  background: #fffbeb;
}

.layer-alert--error {
  border-color: #fecaca;
  background: #fef2f2;
}

.detail-panel dl {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px 10px;
  margin: 0;
}

.detail-panel dt {
  color: var(--muted);
}

.detail-panel dd {
  margin: 0;
  min-width: 0;
}

.chart {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.chart-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: var(--chart-panel-height);
  max-height: none;
}

.chart-panel__close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.time-control-panel {
  overflow: visible;
}

.text-button,
.icon-button,
.primary-button,
.nearby-table button {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.text-button,
.primary-button {
  padding: 6px 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.icon-button svg {
  display: block;
}

.time-control-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-button {
  background: #0f172a;
  color: #fff;
}

.slider-calendar-button {
  min-width: 82px;
  white-space: nowrap;
}

.slider-wrap {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px 12px;
}

.slider-wrap__body {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.time-slider-stack,
.slider-wrap input,
.slider-wrap .time-slider {
  width: 100%;
  min-width: 0;
}

.time-slider-stack {
  --time-slider-inline-padding: 8px;
  --time-slider-border-width: 1px;
}

.time-slider {
  width: 100%;
  min-width: 0;
  /* noUiSlider 本体の高さに近づけるため、上下余白を従来の約1/4に抑える。 */
  padding: 4px var(--time-slider-inline-padding) 7px;
}

.slider-step-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.slider-step-button:disabled {
  cursor: default;
  opacity: 0.45;
}

#timeSliderFallback[hidden] {
  display: none;
}

.slider-calendar-input[hidden] {
  display: none;
}

.noUi-target {
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, #e8edf5 0%, #d6dee9 100%);
}

.noUi-base {
  position: relative;
  width: 100%;
  height: 100%;
}

.noUi-connect {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
}

.noUi-origin {
  position: absolute;
  top: 0;
  height: 100%;
}

.noUi-horizontal {
  height: 2.5px;
}

.noUi-horizontal .noUi-handle {
  position: absolute;
  width: 22px;
  height: 22px;
  right: -11px;
  /* つまみはバーの中央に合わせる。X方向はnoUiSliderのorigin/rightに任せる。 */
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid #0f766e;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
  cursor: grab;
}

.noUi-handle::before,
.noUi-handle::after {
  display: none;
}

.noUi-tooltip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: #172033;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.noUi-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: #172033;
}

.noUi-pips {
  position: relative;
  /* X方向はnoUiSlider本来の配置に任せ、縦方向だけバー直下へ寄せる。 */
  margin-top: -2px;
  height: 32px;
}

.noUi-marker {
  position: absolute;
  top: 0;
  width: 1px;
  height: 8px;
  background: #94a3b8;
  transform: translateX(-50%);
}

.noUi-marker-large {
  height: 10px;
}

.noUi-value {
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.noUi-value-large {
  top: 14px;
}

.time-slider--noui.is-disabled {
  opacity: 0.55;
}


/* CSP対応: JS生成HTMLではstyle属性を使わず、値に応じたクラスで色を指定する。 */
.wbgt-level-danger35 {
  --marker-color: #0C000C;
  --marker-text: #FFFFFF;
  --level-color: #0C000C;
  --level-text: #FFFFFF;
  --wbgt-cell-bg: #0C000C;
  --wbgt-cell-text: #FFFFFF;
  background-color: #0C000C;
  color: #FFFFFF;
}

.wbgt-level-danger33 {
  --marker-color: #E62DFF;
  --marker-text: #FFFFFF;
  --level-color: #E62DFF;
  --level-text: #FFFFFF;
  --wbgt-cell-bg: #E62DFF;
  --wbgt-cell-text: #FFFFFF;
  background-color: #E62DFF;
  color: #FFFFFF;
}

.wbgt-level-danger31 {
  --marker-color: #FF2800;
  --marker-text: #FFFFFF;
  --level-color: #FF2800;
  --level-text: #FFFFFF;
  --wbgt-cell-bg: #FF2800;
  --wbgt-cell-text: #FFFFFF;
  background-color: #FF2800;
  color: #FFFFFF;
}

.wbgt-level-severeWarning28 {
  --marker-color: #FF9600;
  --marker-text: #172033;
  --level-color: #FF9600;
  --level-text: #172033;
  --wbgt-cell-bg: #FF9600;
  --wbgt-cell-text: #172033;
  background-color: #FF9600;
  color: #172033;
}

.wbgt-level-warning25 {
  --marker-color: #FAF500;
  --marker-text: #172033;
  --level-color: #FAF500;
  --level-text: #172033;
  --wbgt-cell-bg: #FAF500;
  --wbgt-cell-text: #172033;
  background-color: #FAF500;
  color: #172033;
}

.wbgt-level-caution21 {
  --marker-color: #A0D2FF;
  --marker-text: #172033;
  --level-color: #A0D2FF;
  --level-text: #172033;
  --wbgt-cell-bg: #A0D2FF;
  --wbgt-cell-text: #172033;
  background-color: #A0D2FF;
  color: #172033;
}

.wbgt-level-safeUnder21 {
  --marker-color: #218CFF;
  --marker-text: #FFFFFF;
  --level-color: #218CFF;
  --level-text: #FFFFFF;
  --wbgt-cell-bg: #218CFF;
  --wbgt-cell-text: #FFFFFF;
  background-color: #218CFF;
  color: #FFFFFF;
}

.wbgt-level-missing,
.legend-color-missing {
  --marker-color: #94A3B8;
  --marker-text: #172033;
  --level-color: #94A3B8;
  --level-text: #172033;
  --wbgt-cell-bg: #94A3B8;
  --wbgt-cell-text: #172033;
  background-color: #94A3B8;
  color: #172033;
}

.delta-level-strongRise {
  --delta-color: #B91C1C;
  --delta-text: #FFFFFF;
  --delta-cell-bg: #B91C1C;
  --delta-cell-text: #FFFFFF;
  background-color: #B91C1C;
  color: #FFFFFF;
}

.delta-level-rise {
  --delta-color: #FB923C;
  --delta-text: #172033;
  --delta-cell-bg: #FB923C;
  --delta-cell-text: #172033;
  background-color: #FB923C;
  color: #172033;
}

.delta-level-stable {
  --delta-color: #E2E8F0;
  --delta-text: #172033;
  --delta-cell-bg: #E2E8F0;
  --delta-cell-text: #172033;
  background-color: #E2E8F0;
  color: #172033;
}

.delta-level-drop {
  --delta-color: #93C5FD;
  --delta-text: #172033;
  --delta-cell-bg: #93C5FD;
  --delta-cell-text: #172033;
  background-color: #93C5FD;
  color: #172033;
}

.delta-level-strongDrop {
  --delta-color: #1D4ED8;
  --delta-text: #FFFFFF;
  --delta-cell-bg: #1D4ED8;
  --delta-cell-text: #FFFFFF;
  background-color: #1D4ED8;
  color: #FFFFFF;
}

.delta-level-missing {
  --delta-color: #94A3B8;
  --delta-text: #172033;
  --delta-cell-bg: #94A3B8;
  --delta-cell-text: #172033;
  background-color: #94A3B8;
  color: #172033;
}

.delta-level-unavailable {
  --delta-color: #CBD5E1;
  --delta-text: #172033;
  --delta-cell-bg: #CBD5E1;
  --delta-cell-text: #172033;
  background-color: #CBD5E1;
  color: #172033;
}

.legend-color-globe {
  --marker-color: #7c2d12;
  --marker-text: #ffffff;
  background-color: #7c2d12;
  color: #ffffff;
}

.legend-color-temp {
  --marker-color: #b45309;
  --marker-text: #ffffff;
  background-color: #b45309;
  color: #ffffff;
}

.legend-color-humidity {
  --marker-color: #0369a1;
  --marker-text: #ffffff;
  background-color: #0369a1;
  color: #ffffff;
}

.wind-speed-0 {
  --wind-color: #b40068;
  background-color: #b40068;
}

.wind-speed-1 {
  --wind-color: #ff2800;
  background-color: #ff2800;
}

.wind-speed-2 {
  --wind-color: #ff9900;
  background-color: #ff9900;
}

.wind-speed-3 {
  --wind-color: #faf500;
  background-color: #faf500;
}

.wind-speed-4 {
  --wind-color: #0041ff;
  background-color: #0041ff;
}

.wind-speed-5 {
  --wind-color: #f2f2ff;
  background-color: #f2f2ff;
}

.wind-marker.wind-speed-0,
.wind-marker.wind-speed-1,
.wind-marker.wind-speed-2,
.wind-marker.wind-speed-3,
.wind-marker.wind-speed-4,
.wind-marker.wind-speed-5 {
  background-color: transparent;
}

.nowcast-level-0 { background-color: #b40068; }
.nowcast-level-1 { background-color: #ff2800; }
.nowcast-level-2 { background-color: #ff9900; }
.nowcast-level-3 { background-color: #faf500; }
.nowcast-level-4 { background-color: #0041ff; }
.nowcast-level-5 { background-color: #218cff; }
.nowcast-level-6 { background-color: #a0d2ff; }
.nowcast-level-7 { background-color: #f2f2ff; }

.notice-list {
  display: grid;
  gap: 10px;
}

.notice-list-button {
  text-align: left;
  white-space: normal;
  line-height: 1.5;
}

.notice-list-time {
  color: var(--muted);
  font-size: 12px;
}

.wind-dir-0 { transform: rotate(0deg); }
.wind-dir-5 { transform: rotate(5deg); }
.wind-dir-10 { transform: rotate(10deg); }
.wind-dir-15 { transform: rotate(15deg); }
.wind-dir-20 { transform: rotate(20deg); }
.wind-dir-25 { transform: rotate(25deg); }
.wind-dir-30 { transform: rotate(30deg); }
.wind-dir-35 { transform: rotate(35deg); }
.wind-dir-40 { transform: rotate(40deg); }
.wind-dir-45 { transform: rotate(45deg); }
.wind-dir-50 { transform: rotate(50deg); }
.wind-dir-55 { transform: rotate(55deg); }
.wind-dir-60 { transform: rotate(60deg); }
.wind-dir-65 { transform: rotate(65deg); }
.wind-dir-70 { transform: rotate(70deg); }
.wind-dir-75 { transform: rotate(75deg); }
.wind-dir-80 { transform: rotate(80deg); }
.wind-dir-85 { transform: rotate(85deg); }
.wind-dir-90 { transform: rotate(90deg); }
.wind-dir-95 { transform: rotate(95deg); }
.wind-dir-100 { transform: rotate(100deg); }
.wind-dir-105 { transform: rotate(105deg); }
.wind-dir-110 { transform: rotate(110deg); }
.wind-dir-115 { transform: rotate(115deg); }
.wind-dir-120 { transform: rotate(120deg); }
.wind-dir-125 { transform: rotate(125deg); }
.wind-dir-130 { transform: rotate(130deg); }
.wind-dir-135 { transform: rotate(135deg); }
.wind-dir-140 { transform: rotate(140deg); }
.wind-dir-145 { transform: rotate(145deg); }
.wind-dir-150 { transform: rotate(150deg); }
.wind-dir-155 { transform: rotate(155deg); }
.wind-dir-160 { transform: rotate(160deg); }
.wind-dir-165 { transform: rotate(165deg); }
.wind-dir-170 { transform: rotate(170deg); }
.wind-dir-175 { transform: rotate(175deg); }
.wind-dir-180 { transform: rotate(180deg); }
.wind-dir-185 { transform: rotate(185deg); }
.wind-dir-190 { transform: rotate(190deg); }
.wind-dir-195 { transform: rotate(195deg); }
.wind-dir-200 { transform: rotate(200deg); }
.wind-dir-205 { transform: rotate(205deg); }
.wind-dir-210 { transform: rotate(210deg); }
.wind-dir-215 { transform: rotate(215deg); }
.wind-dir-220 { transform: rotate(220deg); }
.wind-dir-225 { transform: rotate(225deg); }
.wind-dir-230 { transform: rotate(230deg); }
.wind-dir-235 { transform: rotate(235deg); }
.wind-dir-240 { transform: rotate(240deg); }
.wind-dir-245 { transform: rotate(245deg); }
.wind-dir-250 { transform: rotate(250deg); }
.wind-dir-255 { transform: rotate(255deg); }
.wind-dir-260 { transform: rotate(260deg); }
.wind-dir-265 { transform: rotate(265deg); }
.wind-dir-270 { transform: rotate(270deg); }
.wind-dir-275 { transform: rotate(275deg); }
.wind-dir-280 { transform: rotate(280deg); }
.wind-dir-285 { transform: rotate(285deg); }
.wind-dir-290 { transform: rotate(290deg); }
.wind-dir-295 { transform: rotate(295deg); }
.wind-dir-300 { transform: rotate(300deg); }
.wind-dir-305 { transform: rotate(305deg); }
.wind-dir-310 { transform: rotate(310deg); }
.wind-dir-315 { transform: rotate(315deg); }
.wind-dir-320 { transform: rotate(320deg); }
.wind-dir-325 { transform: rotate(325deg); }
.wind-dir-330 { transform: rotate(330deg); }
.wind-dir-335 { transform: rotate(335deg); }
.wind-dir-340 { transform: rotate(340deg); }
.wind-dir-345 { transform: rotate(345deg); }
.wind-dir-350 { transform: rotate(350deg); }
.wind-dir-355 { transform: rotate(355deg); }


/* CSP対応: noUiSlider互換部品の位置指定はstyle属性ではなくクラスで行う。 */
.noUi-pct-0000 { left: 0%; width: 0%; }
.noUi-pct-0001 { left: 0.1%; width: 0.1%; }
.noUi-pct-0002 { left: 0.2%; width: 0.2%; }
.noUi-pct-0003 { left: 0.3%; width: 0.3%; }
.noUi-pct-0004 { left: 0.4%; width: 0.4%; }
.noUi-pct-0005 { left: 0.5%; width: 0.5%; }
.noUi-pct-0006 { left: 0.6%; width: 0.6%; }
.noUi-pct-0007 { left: 0.7%; width: 0.7%; }
.noUi-pct-0008 { left: 0.8%; width: 0.8%; }
.noUi-pct-0009 { left: 0.9%; width: 0.9%; }
.noUi-pct-0010 { left: 1%; width: 1%; }
.noUi-pct-0011 { left: 1.1%; width: 1.1%; }
.noUi-pct-0012 { left: 1.2%; width: 1.2%; }
.noUi-pct-0013 { left: 1.3%; width: 1.3%; }
.noUi-pct-0014 { left: 1.4%; width: 1.4%; }
.noUi-pct-0015 { left: 1.5%; width: 1.5%; }
.noUi-pct-0016 { left: 1.6%; width: 1.6%; }
.noUi-pct-0017 { left: 1.7%; width: 1.7%; }
.noUi-pct-0018 { left: 1.8%; width: 1.8%; }
.noUi-pct-0019 { left: 1.9%; width: 1.9%; }
.noUi-pct-0020 { left: 2%; width: 2%; }
.noUi-pct-0021 { left: 2.1%; width: 2.1%; }
.noUi-pct-0022 { left: 2.2%; width: 2.2%; }
.noUi-pct-0023 { left: 2.3%; width: 2.3%; }
.noUi-pct-0024 { left: 2.4%; width: 2.4%; }
.noUi-pct-0025 { left: 2.5%; width: 2.5%; }
.noUi-pct-0026 { left: 2.6%; width: 2.6%; }
.noUi-pct-0027 { left: 2.7%; width: 2.7%; }
.noUi-pct-0028 { left: 2.8%; width: 2.8%; }
.noUi-pct-0029 { left: 2.9%; width: 2.9%; }
.noUi-pct-0030 { left: 3%; width: 3%; }
.noUi-pct-0031 { left: 3.1%; width: 3.1%; }
.noUi-pct-0032 { left: 3.2%; width: 3.2%; }
.noUi-pct-0033 { left: 3.3%; width: 3.3%; }
.noUi-pct-0034 { left: 3.4%; width: 3.4%; }
.noUi-pct-0035 { left: 3.5%; width: 3.5%; }
.noUi-pct-0036 { left: 3.6%; width: 3.6%; }
.noUi-pct-0037 { left: 3.7%; width: 3.7%; }
.noUi-pct-0038 { left: 3.8%; width: 3.8%; }
.noUi-pct-0039 { left: 3.9%; width: 3.9%; }
.noUi-pct-0040 { left: 4%; width: 4%; }
.noUi-pct-0041 { left: 4.1%; width: 4.1%; }
.noUi-pct-0042 { left: 4.2%; width: 4.2%; }
.noUi-pct-0043 { left: 4.3%; width: 4.3%; }
.noUi-pct-0044 { left: 4.4%; width: 4.4%; }
.noUi-pct-0045 { left: 4.5%; width: 4.5%; }
.noUi-pct-0046 { left: 4.6%; width: 4.6%; }
.noUi-pct-0047 { left: 4.7%; width: 4.7%; }
.noUi-pct-0048 { left: 4.8%; width: 4.8%; }
.noUi-pct-0049 { left: 4.9%; width: 4.9%; }
.noUi-pct-0050 { left: 5%; width: 5%; }
.noUi-pct-0051 { left: 5.1%; width: 5.1%; }
.noUi-pct-0052 { left: 5.2%; width: 5.2%; }
.noUi-pct-0053 { left: 5.3%; width: 5.3%; }
.noUi-pct-0054 { left: 5.4%; width: 5.4%; }
.noUi-pct-0055 { left: 5.5%; width: 5.5%; }
.noUi-pct-0056 { left: 5.6%; width: 5.6%; }
.noUi-pct-0057 { left: 5.7%; width: 5.7%; }
.noUi-pct-0058 { left: 5.8%; width: 5.8%; }
.noUi-pct-0059 { left: 5.9%; width: 5.9%; }
.noUi-pct-0060 { left: 6%; width: 6%; }
.noUi-pct-0061 { left: 6.1%; width: 6.1%; }
.noUi-pct-0062 { left: 6.2%; width: 6.2%; }
.noUi-pct-0063 { left: 6.3%; width: 6.3%; }
.noUi-pct-0064 { left: 6.4%; width: 6.4%; }
.noUi-pct-0065 { left: 6.5%; width: 6.5%; }
.noUi-pct-0066 { left: 6.6%; width: 6.6%; }
.noUi-pct-0067 { left: 6.7%; width: 6.7%; }
.noUi-pct-0068 { left: 6.8%; width: 6.8%; }
.noUi-pct-0069 { left: 6.9%; width: 6.9%; }
.noUi-pct-0070 { left: 7%; width: 7%; }
.noUi-pct-0071 { left: 7.1%; width: 7.1%; }
.noUi-pct-0072 { left: 7.2%; width: 7.2%; }
.noUi-pct-0073 { left: 7.3%; width: 7.3%; }
.noUi-pct-0074 { left: 7.4%; width: 7.4%; }
.noUi-pct-0075 { left: 7.5%; width: 7.5%; }
.noUi-pct-0076 { left: 7.6%; width: 7.6%; }
.noUi-pct-0077 { left: 7.7%; width: 7.7%; }
.noUi-pct-0078 { left: 7.8%; width: 7.8%; }
.noUi-pct-0079 { left: 7.9%; width: 7.9%; }
.noUi-pct-0080 { left: 8%; width: 8%; }
.noUi-pct-0081 { left: 8.1%; width: 8.1%; }
.noUi-pct-0082 { left: 8.2%; width: 8.2%; }
.noUi-pct-0083 { left: 8.3%; width: 8.3%; }
.noUi-pct-0084 { left: 8.4%; width: 8.4%; }
.noUi-pct-0085 { left: 8.5%; width: 8.5%; }
.noUi-pct-0086 { left: 8.6%; width: 8.6%; }
.noUi-pct-0087 { left: 8.7%; width: 8.7%; }
.noUi-pct-0088 { left: 8.8%; width: 8.8%; }
.noUi-pct-0089 { left: 8.9%; width: 8.9%; }
.noUi-pct-0090 { left: 9%; width: 9%; }
.noUi-pct-0091 { left: 9.1%; width: 9.1%; }
.noUi-pct-0092 { left: 9.2%; width: 9.2%; }
.noUi-pct-0093 { left: 9.3%; width: 9.3%; }
.noUi-pct-0094 { left: 9.4%; width: 9.4%; }
.noUi-pct-0095 { left: 9.5%; width: 9.5%; }
.noUi-pct-0096 { left: 9.6%; width: 9.6%; }
.noUi-pct-0097 { left: 9.7%; width: 9.7%; }
.noUi-pct-0098 { left: 9.8%; width: 9.8%; }
.noUi-pct-0099 { left: 9.9%; width: 9.9%; }
.noUi-pct-0100 { left: 10%; width: 10%; }
.noUi-pct-0101 { left: 10.1%; width: 10.1%; }
.noUi-pct-0102 { left: 10.2%; width: 10.2%; }
.noUi-pct-0103 { left: 10.3%; width: 10.3%; }
.noUi-pct-0104 { left: 10.4%; width: 10.4%; }
.noUi-pct-0105 { left: 10.5%; width: 10.5%; }
.noUi-pct-0106 { left: 10.6%; width: 10.6%; }
.noUi-pct-0107 { left: 10.7%; width: 10.7%; }
.noUi-pct-0108 { left: 10.8%; width: 10.8%; }
.noUi-pct-0109 { left: 10.9%; width: 10.9%; }
.noUi-pct-0110 { left: 11%; width: 11%; }
.noUi-pct-0111 { left: 11.1%; width: 11.1%; }
.noUi-pct-0112 { left: 11.2%; width: 11.2%; }
.noUi-pct-0113 { left: 11.3%; width: 11.3%; }
.noUi-pct-0114 { left: 11.4%; width: 11.4%; }
.noUi-pct-0115 { left: 11.5%; width: 11.5%; }
.noUi-pct-0116 { left: 11.6%; width: 11.6%; }
.noUi-pct-0117 { left: 11.7%; width: 11.7%; }
.noUi-pct-0118 { left: 11.8%; width: 11.8%; }
.noUi-pct-0119 { left: 11.9%; width: 11.9%; }
.noUi-pct-0120 { left: 12%; width: 12%; }
.noUi-pct-0121 { left: 12.1%; width: 12.1%; }
.noUi-pct-0122 { left: 12.2%; width: 12.2%; }
.noUi-pct-0123 { left: 12.3%; width: 12.3%; }
.noUi-pct-0124 { left: 12.4%; width: 12.4%; }
.noUi-pct-0125 { left: 12.5%; width: 12.5%; }
.noUi-pct-0126 { left: 12.6%; width: 12.6%; }
.noUi-pct-0127 { left: 12.7%; width: 12.7%; }
.noUi-pct-0128 { left: 12.8%; width: 12.8%; }
.noUi-pct-0129 { left: 12.9%; width: 12.9%; }
.noUi-pct-0130 { left: 13%; width: 13%; }
.noUi-pct-0131 { left: 13.1%; width: 13.1%; }
.noUi-pct-0132 { left: 13.2%; width: 13.2%; }
.noUi-pct-0133 { left: 13.3%; width: 13.3%; }
.noUi-pct-0134 { left: 13.4%; width: 13.4%; }
.noUi-pct-0135 { left: 13.5%; width: 13.5%; }
.noUi-pct-0136 { left: 13.6%; width: 13.6%; }
.noUi-pct-0137 { left: 13.7%; width: 13.7%; }
.noUi-pct-0138 { left: 13.8%; width: 13.8%; }
.noUi-pct-0139 { left: 13.9%; width: 13.9%; }
.noUi-pct-0140 { left: 14%; width: 14%; }
.noUi-pct-0141 { left: 14.1%; width: 14.1%; }
.noUi-pct-0142 { left: 14.2%; width: 14.2%; }
.noUi-pct-0143 { left: 14.3%; width: 14.3%; }
.noUi-pct-0144 { left: 14.4%; width: 14.4%; }
.noUi-pct-0145 { left: 14.5%; width: 14.5%; }
.noUi-pct-0146 { left: 14.6%; width: 14.6%; }
.noUi-pct-0147 { left: 14.7%; width: 14.7%; }
.noUi-pct-0148 { left: 14.8%; width: 14.8%; }
.noUi-pct-0149 { left: 14.9%; width: 14.9%; }
.noUi-pct-0150 { left: 15%; width: 15%; }
.noUi-pct-0151 { left: 15.1%; width: 15.1%; }
.noUi-pct-0152 { left: 15.2%; width: 15.2%; }
.noUi-pct-0153 { left: 15.3%; width: 15.3%; }
.noUi-pct-0154 { left: 15.4%; width: 15.4%; }
.noUi-pct-0155 { left: 15.5%; width: 15.5%; }
.noUi-pct-0156 { left: 15.6%; width: 15.6%; }
.noUi-pct-0157 { left: 15.7%; width: 15.7%; }
.noUi-pct-0158 { left: 15.8%; width: 15.8%; }
.noUi-pct-0159 { left: 15.9%; width: 15.9%; }
.noUi-pct-0160 { left: 16%; width: 16%; }
.noUi-pct-0161 { left: 16.1%; width: 16.1%; }
.noUi-pct-0162 { left: 16.2%; width: 16.2%; }
.noUi-pct-0163 { left: 16.3%; width: 16.3%; }
.noUi-pct-0164 { left: 16.4%; width: 16.4%; }
.noUi-pct-0165 { left: 16.5%; width: 16.5%; }
.noUi-pct-0166 { left: 16.6%; width: 16.6%; }
.noUi-pct-0167 { left: 16.7%; width: 16.7%; }
.noUi-pct-0168 { left: 16.8%; width: 16.8%; }
.noUi-pct-0169 { left: 16.9%; width: 16.9%; }
.noUi-pct-0170 { left: 17%; width: 17%; }
.noUi-pct-0171 { left: 17.1%; width: 17.1%; }
.noUi-pct-0172 { left: 17.2%; width: 17.2%; }
.noUi-pct-0173 { left: 17.3%; width: 17.3%; }
.noUi-pct-0174 { left: 17.4%; width: 17.4%; }
.noUi-pct-0175 { left: 17.5%; width: 17.5%; }
.noUi-pct-0176 { left: 17.6%; width: 17.6%; }
.noUi-pct-0177 { left: 17.7%; width: 17.7%; }
.noUi-pct-0178 { left: 17.8%; width: 17.8%; }
.noUi-pct-0179 { left: 17.9%; width: 17.9%; }
.noUi-pct-0180 { left: 18%; width: 18%; }
.noUi-pct-0181 { left: 18.1%; width: 18.1%; }
.noUi-pct-0182 { left: 18.2%; width: 18.2%; }
.noUi-pct-0183 { left: 18.3%; width: 18.3%; }
.noUi-pct-0184 { left: 18.4%; width: 18.4%; }
.noUi-pct-0185 { left: 18.5%; width: 18.5%; }
.noUi-pct-0186 { left: 18.6%; width: 18.6%; }
.noUi-pct-0187 { left: 18.7%; width: 18.7%; }
.noUi-pct-0188 { left: 18.8%; width: 18.8%; }
.noUi-pct-0189 { left: 18.9%; width: 18.9%; }
.noUi-pct-0190 { left: 19%; width: 19%; }
.noUi-pct-0191 { left: 19.1%; width: 19.1%; }
.noUi-pct-0192 { left: 19.2%; width: 19.2%; }
.noUi-pct-0193 { left: 19.3%; width: 19.3%; }
.noUi-pct-0194 { left: 19.4%; width: 19.4%; }
.noUi-pct-0195 { left: 19.5%; width: 19.5%; }
.noUi-pct-0196 { left: 19.6%; width: 19.6%; }
.noUi-pct-0197 { left: 19.7%; width: 19.7%; }
.noUi-pct-0198 { left: 19.8%; width: 19.8%; }
.noUi-pct-0199 { left: 19.9%; width: 19.9%; }
.noUi-pct-0200 { left: 20%; width: 20%; }
.noUi-pct-0201 { left: 20.1%; width: 20.1%; }
.noUi-pct-0202 { left: 20.2%; width: 20.2%; }
.noUi-pct-0203 { left: 20.3%; width: 20.3%; }
.noUi-pct-0204 { left: 20.4%; width: 20.4%; }
.noUi-pct-0205 { left: 20.5%; width: 20.5%; }
.noUi-pct-0206 { left: 20.6%; width: 20.6%; }
.noUi-pct-0207 { left: 20.7%; width: 20.7%; }
.noUi-pct-0208 { left: 20.8%; width: 20.8%; }
.noUi-pct-0209 { left: 20.9%; width: 20.9%; }
.noUi-pct-0210 { left: 21%; width: 21%; }
.noUi-pct-0211 { left: 21.1%; width: 21.1%; }
.noUi-pct-0212 { left: 21.2%; width: 21.2%; }
.noUi-pct-0213 { left: 21.3%; width: 21.3%; }
.noUi-pct-0214 { left: 21.4%; width: 21.4%; }
.noUi-pct-0215 { left: 21.5%; width: 21.5%; }
.noUi-pct-0216 { left: 21.6%; width: 21.6%; }
.noUi-pct-0217 { left: 21.7%; width: 21.7%; }
.noUi-pct-0218 { left: 21.8%; width: 21.8%; }
.noUi-pct-0219 { left: 21.9%; width: 21.9%; }
.noUi-pct-0220 { left: 22%; width: 22%; }
.noUi-pct-0221 { left: 22.1%; width: 22.1%; }
.noUi-pct-0222 { left: 22.2%; width: 22.2%; }
.noUi-pct-0223 { left: 22.3%; width: 22.3%; }
.noUi-pct-0224 { left: 22.4%; width: 22.4%; }
.noUi-pct-0225 { left: 22.5%; width: 22.5%; }
.noUi-pct-0226 { left: 22.6%; width: 22.6%; }
.noUi-pct-0227 { left: 22.7%; width: 22.7%; }
.noUi-pct-0228 { left: 22.8%; width: 22.8%; }
.noUi-pct-0229 { left: 22.9%; width: 22.9%; }
.noUi-pct-0230 { left: 23%; width: 23%; }
.noUi-pct-0231 { left: 23.1%; width: 23.1%; }
.noUi-pct-0232 { left: 23.2%; width: 23.2%; }
.noUi-pct-0233 { left: 23.3%; width: 23.3%; }
.noUi-pct-0234 { left: 23.4%; width: 23.4%; }
.noUi-pct-0235 { left: 23.5%; width: 23.5%; }
.noUi-pct-0236 { left: 23.6%; width: 23.6%; }
.noUi-pct-0237 { left: 23.7%; width: 23.7%; }
.noUi-pct-0238 { left: 23.8%; width: 23.8%; }
.noUi-pct-0239 { left: 23.9%; width: 23.9%; }
.noUi-pct-0240 { left: 24%; width: 24%; }
.noUi-pct-0241 { left: 24.1%; width: 24.1%; }
.noUi-pct-0242 { left: 24.2%; width: 24.2%; }
.noUi-pct-0243 { left: 24.3%; width: 24.3%; }
.noUi-pct-0244 { left: 24.4%; width: 24.4%; }
.noUi-pct-0245 { left: 24.5%; width: 24.5%; }
.noUi-pct-0246 { left: 24.6%; width: 24.6%; }
.noUi-pct-0247 { left: 24.7%; width: 24.7%; }
.noUi-pct-0248 { left: 24.8%; width: 24.8%; }
.noUi-pct-0249 { left: 24.9%; width: 24.9%; }
.noUi-pct-0250 { left: 25%; width: 25%; }
.noUi-pct-0251 { left: 25.1%; width: 25.1%; }
.noUi-pct-0252 { left: 25.2%; width: 25.2%; }
.noUi-pct-0253 { left: 25.3%; width: 25.3%; }
.noUi-pct-0254 { left: 25.4%; width: 25.4%; }
.noUi-pct-0255 { left: 25.5%; width: 25.5%; }
.noUi-pct-0256 { left: 25.6%; width: 25.6%; }
.noUi-pct-0257 { left: 25.7%; width: 25.7%; }
.noUi-pct-0258 { left: 25.8%; width: 25.8%; }
.noUi-pct-0259 { left: 25.9%; width: 25.9%; }
.noUi-pct-0260 { left: 26%; width: 26%; }
.noUi-pct-0261 { left: 26.1%; width: 26.1%; }
.noUi-pct-0262 { left: 26.2%; width: 26.2%; }
.noUi-pct-0263 { left: 26.3%; width: 26.3%; }
.noUi-pct-0264 { left: 26.4%; width: 26.4%; }
.noUi-pct-0265 { left: 26.5%; width: 26.5%; }
.noUi-pct-0266 { left: 26.6%; width: 26.6%; }
.noUi-pct-0267 { left: 26.7%; width: 26.7%; }
.noUi-pct-0268 { left: 26.8%; width: 26.8%; }
.noUi-pct-0269 { left: 26.9%; width: 26.9%; }
.noUi-pct-0270 { left: 27%; width: 27%; }
.noUi-pct-0271 { left: 27.1%; width: 27.1%; }
.noUi-pct-0272 { left: 27.2%; width: 27.2%; }
.noUi-pct-0273 { left: 27.3%; width: 27.3%; }
.noUi-pct-0274 { left: 27.4%; width: 27.4%; }
.noUi-pct-0275 { left: 27.5%; width: 27.5%; }
.noUi-pct-0276 { left: 27.6%; width: 27.6%; }
.noUi-pct-0277 { left: 27.7%; width: 27.7%; }
.noUi-pct-0278 { left: 27.8%; width: 27.8%; }
.noUi-pct-0279 { left: 27.9%; width: 27.9%; }
.noUi-pct-0280 { left: 28%; width: 28%; }
.noUi-pct-0281 { left: 28.1%; width: 28.1%; }
.noUi-pct-0282 { left: 28.2%; width: 28.2%; }
.noUi-pct-0283 { left: 28.3%; width: 28.3%; }
.noUi-pct-0284 { left: 28.4%; width: 28.4%; }
.noUi-pct-0285 { left: 28.5%; width: 28.5%; }
.noUi-pct-0286 { left: 28.6%; width: 28.6%; }
.noUi-pct-0287 { left: 28.7%; width: 28.7%; }
.noUi-pct-0288 { left: 28.8%; width: 28.8%; }
.noUi-pct-0289 { left: 28.9%; width: 28.9%; }
.noUi-pct-0290 { left: 29%; width: 29%; }
.noUi-pct-0291 { left: 29.1%; width: 29.1%; }
.noUi-pct-0292 { left: 29.2%; width: 29.2%; }
.noUi-pct-0293 { left: 29.3%; width: 29.3%; }
.noUi-pct-0294 { left: 29.4%; width: 29.4%; }
.noUi-pct-0295 { left: 29.5%; width: 29.5%; }
.noUi-pct-0296 { left: 29.6%; width: 29.6%; }
.noUi-pct-0297 { left: 29.7%; width: 29.7%; }
.noUi-pct-0298 { left: 29.8%; width: 29.8%; }
.noUi-pct-0299 { left: 29.9%; width: 29.9%; }
.noUi-pct-0300 { left: 30%; width: 30%; }
.noUi-pct-0301 { left: 30.1%; width: 30.1%; }
.noUi-pct-0302 { left: 30.2%; width: 30.2%; }
.noUi-pct-0303 { left: 30.3%; width: 30.3%; }
.noUi-pct-0304 { left: 30.4%; width: 30.4%; }
.noUi-pct-0305 { left: 30.5%; width: 30.5%; }
.noUi-pct-0306 { left: 30.6%; width: 30.6%; }
.noUi-pct-0307 { left: 30.7%; width: 30.7%; }
.noUi-pct-0308 { left: 30.8%; width: 30.8%; }
.noUi-pct-0309 { left: 30.9%; width: 30.9%; }
.noUi-pct-0310 { left: 31%; width: 31%; }
.noUi-pct-0311 { left: 31.1%; width: 31.1%; }
.noUi-pct-0312 { left: 31.2%; width: 31.2%; }
.noUi-pct-0313 { left: 31.3%; width: 31.3%; }
.noUi-pct-0314 { left: 31.4%; width: 31.4%; }
.noUi-pct-0315 { left: 31.5%; width: 31.5%; }
.noUi-pct-0316 { left: 31.6%; width: 31.6%; }
.noUi-pct-0317 { left: 31.7%; width: 31.7%; }
.noUi-pct-0318 { left: 31.8%; width: 31.8%; }
.noUi-pct-0319 { left: 31.9%; width: 31.9%; }
.noUi-pct-0320 { left: 32%; width: 32%; }
.noUi-pct-0321 { left: 32.1%; width: 32.1%; }
.noUi-pct-0322 { left: 32.2%; width: 32.2%; }
.noUi-pct-0323 { left: 32.3%; width: 32.3%; }
.noUi-pct-0324 { left: 32.4%; width: 32.4%; }
.noUi-pct-0325 { left: 32.5%; width: 32.5%; }
.noUi-pct-0326 { left: 32.6%; width: 32.6%; }
.noUi-pct-0327 { left: 32.7%; width: 32.7%; }
.noUi-pct-0328 { left: 32.8%; width: 32.8%; }
.noUi-pct-0329 { left: 32.9%; width: 32.9%; }
.noUi-pct-0330 { left: 33%; width: 33%; }
.noUi-pct-0331 { left: 33.1%; width: 33.1%; }
.noUi-pct-0332 { left: 33.2%; width: 33.2%; }
.noUi-pct-0333 { left: 33.3%; width: 33.3%; }
.noUi-pct-0334 { left: 33.4%; width: 33.4%; }
.noUi-pct-0335 { left: 33.5%; width: 33.5%; }
.noUi-pct-0336 { left: 33.6%; width: 33.6%; }
.noUi-pct-0337 { left: 33.7%; width: 33.7%; }
.noUi-pct-0338 { left: 33.8%; width: 33.8%; }
.noUi-pct-0339 { left: 33.9%; width: 33.9%; }
.noUi-pct-0340 { left: 34%; width: 34%; }
.noUi-pct-0341 { left: 34.1%; width: 34.1%; }
.noUi-pct-0342 { left: 34.2%; width: 34.2%; }
.noUi-pct-0343 { left: 34.3%; width: 34.3%; }
.noUi-pct-0344 { left: 34.4%; width: 34.4%; }
.noUi-pct-0345 { left: 34.5%; width: 34.5%; }
.noUi-pct-0346 { left: 34.6%; width: 34.6%; }
.noUi-pct-0347 { left: 34.7%; width: 34.7%; }
.noUi-pct-0348 { left: 34.8%; width: 34.8%; }
.noUi-pct-0349 { left: 34.9%; width: 34.9%; }
.noUi-pct-0350 { left: 35%; width: 35%; }
.noUi-pct-0351 { left: 35.1%; width: 35.1%; }
.noUi-pct-0352 { left: 35.2%; width: 35.2%; }
.noUi-pct-0353 { left: 35.3%; width: 35.3%; }
.noUi-pct-0354 { left: 35.4%; width: 35.4%; }
.noUi-pct-0355 { left: 35.5%; width: 35.5%; }
.noUi-pct-0356 { left: 35.6%; width: 35.6%; }
.noUi-pct-0357 { left: 35.7%; width: 35.7%; }
.noUi-pct-0358 { left: 35.8%; width: 35.8%; }
.noUi-pct-0359 { left: 35.9%; width: 35.9%; }
.noUi-pct-0360 { left: 36%; width: 36%; }
.noUi-pct-0361 { left: 36.1%; width: 36.1%; }
.noUi-pct-0362 { left: 36.2%; width: 36.2%; }
.noUi-pct-0363 { left: 36.3%; width: 36.3%; }
.noUi-pct-0364 { left: 36.4%; width: 36.4%; }
.noUi-pct-0365 { left: 36.5%; width: 36.5%; }
.noUi-pct-0366 { left: 36.6%; width: 36.6%; }
.noUi-pct-0367 { left: 36.7%; width: 36.7%; }
.noUi-pct-0368 { left: 36.8%; width: 36.8%; }
.noUi-pct-0369 { left: 36.9%; width: 36.9%; }
.noUi-pct-0370 { left: 37%; width: 37%; }
.noUi-pct-0371 { left: 37.1%; width: 37.1%; }
.noUi-pct-0372 { left: 37.2%; width: 37.2%; }
.noUi-pct-0373 { left: 37.3%; width: 37.3%; }
.noUi-pct-0374 { left: 37.4%; width: 37.4%; }
.noUi-pct-0375 { left: 37.5%; width: 37.5%; }
.noUi-pct-0376 { left: 37.6%; width: 37.6%; }
.noUi-pct-0377 { left: 37.7%; width: 37.7%; }
.noUi-pct-0378 { left: 37.8%; width: 37.8%; }
.noUi-pct-0379 { left: 37.9%; width: 37.9%; }
.noUi-pct-0380 { left: 38%; width: 38%; }
.noUi-pct-0381 { left: 38.1%; width: 38.1%; }
.noUi-pct-0382 { left: 38.2%; width: 38.2%; }
.noUi-pct-0383 { left: 38.3%; width: 38.3%; }
.noUi-pct-0384 { left: 38.4%; width: 38.4%; }
.noUi-pct-0385 { left: 38.5%; width: 38.5%; }
.noUi-pct-0386 { left: 38.6%; width: 38.6%; }
.noUi-pct-0387 { left: 38.7%; width: 38.7%; }
.noUi-pct-0388 { left: 38.8%; width: 38.8%; }
.noUi-pct-0389 { left: 38.9%; width: 38.9%; }
.noUi-pct-0390 { left: 39%; width: 39%; }
.noUi-pct-0391 { left: 39.1%; width: 39.1%; }
.noUi-pct-0392 { left: 39.2%; width: 39.2%; }
.noUi-pct-0393 { left: 39.3%; width: 39.3%; }
.noUi-pct-0394 { left: 39.4%; width: 39.4%; }
.noUi-pct-0395 { left: 39.5%; width: 39.5%; }
.noUi-pct-0396 { left: 39.6%; width: 39.6%; }
.noUi-pct-0397 { left: 39.7%; width: 39.7%; }
.noUi-pct-0398 { left: 39.8%; width: 39.8%; }
.noUi-pct-0399 { left: 39.9%; width: 39.9%; }
.noUi-pct-0400 { left: 40%; width: 40%; }
.noUi-pct-0401 { left: 40.1%; width: 40.1%; }
.noUi-pct-0402 { left: 40.2%; width: 40.2%; }
.noUi-pct-0403 { left: 40.3%; width: 40.3%; }
.noUi-pct-0404 { left: 40.4%; width: 40.4%; }
.noUi-pct-0405 { left: 40.5%; width: 40.5%; }
.noUi-pct-0406 { left: 40.6%; width: 40.6%; }
.noUi-pct-0407 { left: 40.7%; width: 40.7%; }
.noUi-pct-0408 { left: 40.8%; width: 40.8%; }
.noUi-pct-0409 { left: 40.9%; width: 40.9%; }
.noUi-pct-0410 { left: 41%; width: 41%; }
.noUi-pct-0411 { left: 41.1%; width: 41.1%; }
.noUi-pct-0412 { left: 41.2%; width: 41.2%; }
.noUi-pct-0413 { left: 41.3%; width: 41.3%; }
.noUi-pct-0414 { left: 41.4%; width: 41.4%; }
.noUi-pct-0415 { left: 41.5%; width: 41.5%; }
.noUi-pct-0416 { left: 41.6%; width: 41.6%; }
.noUi-pct-0417 { left: 41.7%; width: 41.7%; }
.noUi-pct-0418 { left: 41.8%; width: 41.8%; }
.noUi-pct-0419 { left: 41.9%; width: 41.9%; }
.noUi-pct-0420 { left: 42%; width: 42%; }
.noUi-pct-0421 { left: 42.1%; width: 42.1%; }
.noUi-pct-0422 { left: 42.2%; width: 42.2%; }
.noUi-pct-0423 { left: 42.3%; width: 42.3%; }
.noUi-pct-0424 { left: 42.4%; width: 42.4%; }
.noUi-pct-0425 { left: 42.5%; width: 42.5%; }
.noUi-pct-0426 { left: 42.6%; width: 42.6%; }
.noUi-pct-0427 { left: 42.7%; width: 42.7%; }
.noUi-pct-0428 { left: 42.8%; width: 42.8%; }
.noUi-pct-0429 { left: 42.9%; width: 42.9%; }
.noUi-pct-0430 { left: 43%; width: 43%; }
.noUi-pct-0431 { left: 43.1%; width: 43.1%; }
.noUi-pct-0432 { left: 43.2%; width: 43.2%; }
.noUi-pct-0433 { left: 43.3%; width: 43.3%; }
.noUi-pct-0434 { left: 43.4%; width: 43.4%; }
.noUi-pct-0435 { left: 43.5%; width: 43.5%; }
.noUi-pct-0436 { left: 43.6%; width: 43.6%; }
.noUi-pct-0437 { left: 43.7%; width: 43.7%; }
.noUi-pct-0438 { left: 43.8%; width: 43.8%; }
.noUi-pct-0439 { left: 43.9%; width: 43.9%; }
.noUi-pct-0440 { left: 44%; width: 44%; }
.noUi-pct-0441 { left: 44.1%; width: 44.1%; }
.noUi-pct-0442 { left: 44.2%; width: 44.2%; }
.noUi-pct-0443 { left: 44.3%; width: 44.3%; }
.noUi-pct-0444 { left: 44.4%; width: 44.4%; }
.noUi-pct-0445 { left: 44.5%; width: 44.5%; }
.noUi-pct-0446 { left: 44.6%; width: 44.6%; }
.noUi-pct-0447 { left: 44.7%; width: 44.7%; }
.noUi-pct-0448 { left: 44.8%; width: 44.8%; }
.noUi-pct-0449 { left: 44.9%; width: 44.9%; }
.noUi-pct-0450 { left: 45%; width: 45%; }
.noUi-pct-0451 { left: 45.1%; width: 45.1%; }
.noUi-pct-0452 { left: 45.2%; width: 45.2%; }
.noUi-pct-0453 { left: 45.3%; width: 45.3%; }
.noUi-pct-0454 { left: 45.4%; width: 45.4%; }
.noUi-pct-0455 { left: 45.5%; width: 45.5%; }
.noUi-pct-0456 { left: 45.6%; width: 45.6%; }
.noUi-pct-0457 { left: 45.7%; width: 45.7%; }
.noUi-pct-0458 { left: 45.8%; width: 45.8%; }
.noUi-pct-0459 { left: 45.9%; width: 45.9%; }
.noUi-pct-0460 { left: 46%; width: 46%; }
.noUi-pct-0461 { left: 46.1%; width: 46.1%; }
.noUi-pct-0462 { left: 46.2%; width: 46.2%; }
.noUi-pct-0463 { left: 46.3%; width: 46.3%; }
.noUi-pct-0464 { left: 46.4%; width: 46.4%; }
.noUi-pct-0465 { left: 46.5%; width: 46.5%; }
.noUi-pct-0466 { left: 46.6%; width: 46.6%; }
.noUi-pct-0467 { left: 46.7%; width: 46.7%; }
.noUi-pct-0468 { left: 46.8%; width: 46.8%; }
.noUi-pct-0469 { left: 46.9%; width: 46.9%; }
.noUi-pct-0470 { left: 47%; width: 47%; }
.noUi-pct-0471 { left: 47.1%; width: 47.1%; }
.noUi-pct-0472 { left: 47.2%; width: 47.2%; }
.noUi-pct-0473 { left: 47.3%; width: 47.3%; }
.noUi-pct-0474 { left: 47.4%; width: 47.4%; }
.noUi-pct-0475 { left: 47.5%; width: 47.5%; }
.noUi-pct-0476 { left: 47.6%; width: 47.6%; }
.noUi-pct-0477 { left: 47.7%; width: 47.7%; }
.noUi-pct-0478 { left: 47.8%; width: 47.8%; }
.noUi-pct-0479 { left: 47.9%; width: 47.9%; }
.noUi-pct-0480 { left: 48%; width: 48%; }
.noUi-pct-0481 { left: 48.1%; width: 48.1%; }
.noUi-pct-0482 { left: 48.2%; width: 48.2%; }
.noUi-pct-0483 { left: 48.3%; width: 48.3%; }
.noUi-pct-0484 { left: 48.4%; width: 48.4%; }
.noUi-pct-0485 { left: 48.5%; width: 48.5%; }
.noUi-pct-0486 { left: 48.6%; width: 48.6%; }
.noUi-pct-0487 { left: 48.7%; width: 48.7%; }
.noUi-pct-0488 { left: 48.8%; width: 48.8%; }
.noUi-pct-0489 { left: 48.9%; width: 48.9%; }
.noUi-pct-0490 { left: 49%; width: 49%; }
.noUi-pct-0491 { left: 49.1%; width: 49.1%; }
.noUi-pct-0492 { left: 49.2%; width: 49.2%; }
.noUi-pct-0493 { left: 49.3%; width: 49.3%; }
.noUi-pct-0494 { left: 49.4%; width: 49.4%; }
.noUi-pct-0495 { left: 49.5%; width: 49.5%; }
.noUi-pct-0496 { left: 49.6%; width: 49.6%; }
.noUi-pct-0497 { left: 49.7%; width: 49.7%; }
.noUi-pct-0498 { left: 49.8%; width: 49.8%; }
.noUi-pct-0499 { left: 49.9%; width: 49.9%; }
.noUi-pct-0500 { left: 50%; width: 50%; }
.noUi-pct-0501 { left: 50.1%; width: 50.1%; }
.noUi-pct-0502 { left: 50.2%; width: 50.2%; }
.noUi-pct-0503 { left: 50.3%; width: 50.3%; }
.noUi-pct-0504 { left: 50.4%; width: 50.4%; }
.noUi-pct-0505 { left: 50.5%; width: 50.5%; }
.noUi-pct-0506 { left: 50.6%; width: 50.6%; }
.noUi-pct-0507 { left: 50.7%; width: 50.7%; }
.noUi-pct-0508 { left: 50.8%; width: 50.8%; }
.noUi-pct-0509 { left: 50.9%; width: 50.9%; }
.noUi-pct-0510 { left: 51%; width: 51%; }
.noUi-pct-0511 { left: 51.1%; width: 51.1%; }
.noUi-pct-0512 { left: 51.2%; width: 51.2%; }
.noUi-pct-0513 { left: 51.3%; width: 51.3%; }
.noUi-pct-0514 { left: 51.4%; width: 51.4%; }
.noUi-pct-0515 { left: 51.5%; width: 51.5%; }
.noUi-pct-0516 { left: 51.6%; width: 51.6%; }
.noUi-pct-0517 { left: 51.7%; width: 51.7%; }
.noUi-pct-0518 { left: 51.8%; width: 51.8%; }
.noUi-pct-0519 { left: 51.9%; width: 51.9%; }
.noUi-pct-0520 { left: 52%; width: 52%; }
.noUi-pct-0521 { left: 52.1%; width: 52.1%; }
.noUi-pct-0522 { left: 52.2%; width: 52.2%; }
.noUi-pct-0523 { left: 52.3%; width: 52.3%; }
.noUi-pct-0524 { left: 52.4%; width: 52.4%; }
.noUi-pct-0525 { left: 52.5%; width: 52.5%; }
.noUi-pct-0526 { left: 52.6%; width: 52.6%; }
.noUi-pct-0527 { left: 52.7%; width: 52.7%; }
.noUi-pct-0528 { left: 52.8%; width: 52.8%; }
.noUi-pct-0529 { left: 52.9%; width: 52.9%; }
.noUi-pct-0530 { left: 53%; width: 53%; }
.noUi-pct-0531 { left: 53.1%; width: 53.1%; }
.noUi-pct-0532 { left: 53.2%; width: 53.2%; }
.noUi-pct-0533 { left: 53.3%; width: 53.3%; }
.noUi-pct-0534 { left: 53.4%; width: 53.4%; }
.noUi-pct-0535 { left: 53.5%; width: 53.5%; }
.noUi-pct-0536 { left: 53.6%; width: 53.6%; }
.noUi-pct-0537 { left: 53.7%; width: 53.7%; }
.noUi-pct-0538 { left: 53.8%; width: 53.8%; }
.noUi-pct-0539 { left: 53.9%; width: 53.9%; }
.noUi-pct-0540 { left: 54%; width: 54%; }
.noUi-pct-0541 { left: 54.1%; width: 54.1%; }
.noUi-pct-0542 { left: 54.2%; width: 54.2%; }
.noUi-pct-0543 { left: 54.3%; width: 54.3%; }
.noUi-pct-0544 { left: 54.4%; width: 54.4%; }
.noUi-pct-0545 { left: 54.5%; width: 54.5%; }
.noUi-pct-0546 { left: 54.6%; width: 54.6%; }
.noUi-pct-0547 { left: 54.7%; width: 54.7%; }
.noUi-pct-0548 { left: 54.8%; width: 54.8%; }
.noUi-pct-0549 { left: 54.9%; width: 54.9%; }
.noUi-pct-0550 { left: 55%; width: 55%; }
.noUi-pct-0551 { left: 55.1%; width: 55.1%; }
.noUi-pct-0552 { left: 55.2%; width: 55.2%; }
.noUi-pct-0553 { left: 55.3%; width: 55.3%; }
.noUi-pct-0554 { left: 55.4%; width: 55.4%; }
.noUi-pct-0555 { left: 55.5%; width: 55.5%; }
.noUi-pct-0556 { left: 55.6%; width: 55.6%; }
.noUi-pct-0557 { left: 55.7%; width: 55.7%; }
.noUi-pct-0558 { left: 55.8%; width: 55.8%; }
.noUi-pct-0559 { left: 55.9%; width: 55.9%; }
.noUi-pct-0560 { left: 56%; width: 56%; }
.noUi-pct-0561 { left: 56.1%; width: 56.1%; }
.noUi-pct-0562 { left: 56.2%; width: 56.2%; }
.noUi-pct-0563 { left: 56.3%; width: 56.3%; }
.noUi-pct-0564 { left: 56.4%; width: 56.4%; }
.noUi-pct-0565 { left: 56.5%; width: 56.5%; }
.noUi-pct-0566 { left: 56.6%; width: 56.6%; }
.noUi-pct-0567 { left: 56.7%; width: 56.7%; }
.noUi-pct-0568 { left: 56.8%; width: 56.8%; }
.noUi-pct-0569 { left: 56.9%; width: 56.9%; }
.noUi-pct-0570 { left: 57%; width: 57%; }
.noUi-pct-0571 { left: 57.1%; width: 57.1%; }
.noUi-pct-0572 { left: 57.2%; width: 57.2%; }
.noUi-pct-0573 { left: 57.3%; width: 57.3%; }
.noUi-pct-0574 { left: 57.4%; width: 57.4%; }
.noUi-pct-0575 { left: 57.5%; width: 57.5%; }
.noUi-pct-0576 { left: 57.6%; width: 57.6%; }
.noUi-pct-0577 { left: 57.7%; width: 57.7%; }
.noUi-pct-0578 { left: 57.8%; width: 57.8%; }
.noUi-pct-0579 { left: 57.9%; width: 57.9%; }
.noUi-pct-0580 { left: 58%; width: 58%; }
.noUi-pct-0581 { left: 58.1%; width: 58.1%; }
.noUi-pct-0582 { left: 58.2%; width: 58.2%; }
.noUi-pct-0583 { left: 58.3%; width: 58.3%; }
.noUi-pct-0584 { left: 58.4%; width: 58.4%; }
.noUi-pct-0585 { left: 58.5%; width: 58.5%; }
.noUi-pct-0586 { left: 58.6%; width: 58.6%; }
.noUi-pct-0587 { left: 58.7%; width: 58.7%; }
.noUi-pct-0588 { left: 58.8%; width: 58.8%; }
.noUi-pct-0589 { left: 58.9%; width: 58.9%; }
.noUi-pct-0590 { left: 59%; width: 59%; }
.noUi-pct-0591 { left: 59.1%; width: 59.1%; }
.noUi-pct-0592 { left: 59.2%; width: 59.2%; }
.noUi-pct-0593 { left: 59.3%; width: 59.3%; }
.noUi-pct-0594 { left: 59.4%; width: 59.4%; }
.noUi-pct-0595 { left: 59.5%; width: 59.5%; }
.noUi-pct-0596 { left: 59.6%; width: 59.6%; }
.noUi-pct-0597 { left: 59.7%; width: 59.7%; }
.noUi-pct-0598 { left: 59.8%; width: 59.8%; }
.noUi-pct-0599 { left: 59.9%; width: 59.9%; }
.noUi-pct-0600 { left: 60%; width: 60%; }
.noUi-pct-0601 { left: 60.1%; width: 60.1%; }
.noUi-pct-0602 { left: 60.2%; width: 60.2%; }
.noUi-pct-0603 { left: 60.3%; width: 60.3%; }
.noUi-pct-0604 { left: 60.4%; width: 60.4%; }
.noUi-pct-0605 { left: 60.5%; width: 60.5%; }
.noUi-pct-0606 { left: 60.6%; width: 60.6%; }
.noUi-pct-0607 { left: 60.7%; width: 60.7%; }
.noUi-pct-0608 { left: 60.8%; width: 60.8%; }
.noUi-pct-0609 { left: 60.9%; width: 60.9%; }
.noUi-pct-0610 { left: 61%; width: 61%; }
.noUi-pct-0611 { left: 61.1%; width: 61.1%; }
.noUi-pct-0612 { left: 61.2%; width: 61.2%; }
.noUi-pct-0613 { left: 61.3%; width: 61.3%; }
.noUi-pct-0614 { left: 61.4%; width: 61.4%; }
.noUi-pct-0615 { left: 61.5%; width: 61.5%; }
.noUi-pct-0616 { left: 61.6%; width: 61.6%; }
.noUi-pct-0617 { left: 61.7%; width: 61.7%; }
.noUi-pct-0618 { left: 61.8%; width: 61.8%; }
.noUi-pct-0619 { left: 61.9%; width: 61.9%; }
.noUi-pct-0620 { left: 62%; width: 62%; }
.noUi-pct-0621 { left: 62.1%; width: 62.1%; }
.noUi-pct-0622 { left: 62.2%; width: 62.2%; }
.noUi-pct-0623 { left: 62.3%; width: 62.3%; }
.noUi-pct-0624 { left: 62.4%; width: 62.4%; }
.noUi-pct-0625 { left: 62.5%; width: 62.5%; }
.noUi-pct-0626 { left: 62.6%; width: 62.6%; }
.noUi-pct-0627 { left: 62.7%; width: 62.7%; }
.noUi-pct-0628 { left: 62.8%; width: 62.8%; }
.noUi-pct-0629 { left: 62.9%; width: 62.9%; }
.noUi-pct-0630 { left: 63%; width: 63%; }
.noUi-pct-0631 { left: 63.1%; width: 63.1%; }
.noUi-pct-0632 { left: 63.2%; width: 63.2%; }
.noUi-pct-0633 { left: 63.3%; width: 63.3%; }
.noUi-pct-0634 { left: 63.4%; width: 63.4%; }
.noUi-pct-0635 { left: 63.5%; width: 63.5%; }
.noUi-pct-0636 { left: 63.6%; width: 63.6%; }
.noUi-pct-0637 { left: 63.7%; width: 63.7%; }
.noUi-pct-0638 { left: 63.8%; width: 63.8%; }
.noUi-pct-0639 { left: 63.9%; width: 63.9%; }
.noUi-pct-0640 { left: 64%; width: 64%; }
.noUi-pct-0641 { left: 64.1%; width: 64.1%; }
.noUi-pct-0642 { left: 64.2%; width: 64.2%; }
.noUi-pct-0643 { left: 64.3%; width: 64.3%; }
.noUi-pct-0644 { left: 64.4%; width: 64.4%; }
.noUi-pct-0645 { left: 64.5%; width: 64.5%; }
.noUi-pct-0646 { left: 64.6%; width: 64.6%; }
.noUi-pct-0647 { left: 64.7%; width: 64.7%; }
.noUi-pct-0648 { left: 64.8%; width: 64.8%; }
.noUi-pct-0649 { left: 64.9%; width: 64.9%; }
.noUi-pct-0650 { left: 65%; width: 65%; }
.noUi-pct-0651 { left: 65.1%; width: 65.1%; }
.noUi-pct-0652 { left: 65.2%; width: 65.2%; }
.noUi-pct-0653 { left: 65.3%; width: 65.3%; }
.noUi-pct-0654 { left: 65.4%; width: 65.4%; }
.noUi-pct-0655 { left: 65.5%; width: 65.5%; }
.noUi-pct-0656 { left: 65.6%; width: 65.6%; }
.noUi-pct-0657 { left: 65.7%; width: 65.7%; }
.noUi-pct-0658 { left: 65.8%; width: 65.8%; }
.noUi-pct-0659 { left: 65.9%; width: 65.9%; }
.noUi-pct-0660 { left: 66%; width: 66%; }
.noUi-pct-0661 { left: 66.1%; width: 66.1%; }
.noUi-pct-0662 { left: 66.2%; width: 66.2%; }
.noUi-pct-0663 { left: 66.3%; width: 66.3%; }
.noUi-pct-0664 { left: 66.4%; width: 66.4%; }
.noUi-pct-0665 { left: 66.5%; width: 66.5%; }
.noUi-pct-0666 { left: 66.6%; width: 66.6%; }
.noUi-pct-0667 { left: 66.7%; width: 66.7%; }
.noUi-pct-0668 { left: 66.8%; width: 66.8%; }
.noUi-pct-0669 { left: 66.9%; width: 66.9%; }
.noUi-pct-0670 { left: 67%; width: 67%; }
.noUi-pct-0671 { left: 67.1%; width: 67.1%; }
.noUi-pct-0672 { left: 67.2%; width: 67.2%; }
.noUi-pct-0673 { left: 67.3%; width: 67.3%; }
.noUi-pct-0674 { left: 67.4%; width: 67.4%; }
.noUi-pct-0675 { left: 67.5%; width: 67.5%; }
.noUi-pct-0676 { left: 67.6%; width: 67.6%; }
.noUi-pct-0677 { left: 67.7%; width: 67.7%; }
.noUi-pct-0678 { left: 67.8%; width: 67.8%; }
.noUi-pct-0679 { left: 67.9%; width: 67.9%; }
.noUi-pct-0680 { left: 68%; width: 68%; }
.noUi-pct-0681 { left: 68.1%; width: 68.1%; }
.noUi-pct-0682 { left: 68.2%; width: 68.2%; }
.noUi-pct-0683 { left: 68.3%; width: 68.3%; }
.noUi-pct-0684 { left: 68.4%; width: 68.4%; }
.noUi-pct-0685 { left: 68.5%; width: 68.5%; }
.noUi-pct-0686 { left: 68.6%; width: 68.6%; }
.noUi-pct-0687 { left: 68.7%; width: 68.7%; }
.noUi-pct-0688 { left: 68.8%; width: 68.8%; }
.noUi-pct-0689 { left: 68.9%; width: 68.9%; }
.noUi-pct-0690 { left: 69%; width: 69%; }
.noUi-pct-0691 { left: 69.1%; width: 69.1%; }
.noUi-pct-0692 { left: 69.2%; width: 69.2%; }
.noUi-pct-0693 { left: 69.3%; width: 69.3%; }
.noUi-pct-0694 { left: 69.4%; width: 69.4%; }
.noUi-pct-0695 { left: 69.5%; width: 69.5%; }
.noUi-pct-0696 { left: 69.6%; width: 69.6%; }
.noUi-pct-0697 { left: 69.7%; width: 69.7%; }
.noUi-pct-0698 { left: 69.8%; width: 69.8%; }
.noUi-pct-0699 { left: 69.9%; width: 69.9%; }
.noUi-pct-0700 { left: 70%; width: 70%; }
.noUi-pct-0701 { left: 70.1%; width: 70.1%; }
.noUi-pct-0702 { left: 70.2%; width: 70.2%; }
.noUi-pct-0703 { left: 70.3%; width: 70.3%; }
.noUi-pct-0704 { left: 70.4%; width: 70.4%; }
.noUi-pct-0705 { left: 70.5%; width: 70.5%; }
.noUi-pct-0706 { left: 70.6%; width: 70.6%; }
.noUi-pct-0707 { left: 70.7%; width: 70.7%; }
.noUi-pct-0708 { left: 70.8%; width: 70.8%; }
.noUi-pct-0709 { left: 70.9%; width: 70.9%; }
.noUi-pct-0710 { left: 71%; width: 71%; }
.noUi-pct-0711 { left: 71.1%; width: 71.1%; }
.noUi-pct-0712 { left: 71.2%; width: 71.2%; }
.noUi-pct-0713 { left: 71.3%; width: 71.3%; }
.noUi-pct-0714 { left: 71.4%; width: 71.4%; }
.noUi-pct-0715 { left: 71.5%; width: 71.5%; }
.noUi-pct-0716 { left: 71.6%; width: 71.6%; }
.noUi-pct-0717 { left: 71.7%; width: 71.7%; }
.noUi-pct-0718 { left: 71.8%; width: 71.8%; }
.noUi-pct-0719 { left: 71.9%; width: 71.9%; }
.noUi-pct-0720 { left: 72%; width: 72%; }
.noUi-pct-0721 { left: 72.1%; width: 72.1%; }
.noUi-pct-0722 { left: 72.2%; width: 72.2%; }
.noUi-pct-0723 { left: 72.3%; width: 72.3%; }
.noUi-pct-0724 { left: 72.4%; width: 72.4%; }
.noUi-pct-0725 { left: 72.5%; width: 72.5%; }
.noUi-pct-0726 { left: 72.6%; width: 72.6%; }
.noUi-pct-0727 { left: 72.7%; width: 72.7%; }
.noUi-pct-0728 { left: 72.8%; width: 72.8%; }
.noUi-pct-0729 { left: 72.9%; width: 72.9%; }
.noUi-pct-0730 { left: 73%; width: 73%; }
.noUi-pct-0731 { left: 73.1%; width: 73.1%; }
.noUi-pct-0732 { left: 73.2%; width: 73.2%; }
.noUi-pct-0733 { left: 73.3%; width: 73.3%; }
.noUi-pct-0734 { left: 73.4%; width: 73.4%; }
.noUi-pct-0735 { left: 73.5%; width: 73.5%; }
.noUi-pct-0736 { left: 73.6%; width: 73.6%; }
.noUi-pct-0737 { left: 73.7%; width: 73.7%; }
.noUi-pct-0738 { left: 73.8%; width: 73.8%; }
.noUi-pct-0739 { left: 73.9%; width: 73.9%; }
.noUi-pct-0740 { left: 74%; width: 74%; }
.noUi-pct-0741 { left: 74.1%; width: 74.1%; }
.noUi-pct-0742 { left: 74.2%; width: 74.2%; }
.noUi-pct-0743 { left: 74.3%; width: 74.3%; }
.noUi-pct-0744 { left: 74.4%; width: 74.4%; }
.noUi-pct-0745 { left: 74.5%; width: 74.5%; }
.noUi-pct-0746 { left: 74.6%; width: 74.6%; }
.noUi-pct-0747 { left: 74.7%; width: 74.7%; }
.noUi-pct-0748 { left: 74.8%; width: 74.8%; }
.noUi-pct-0749 { left: 74.9%; width: 74.9%; }
.noUi-pct-0750 { left: 75%; width: 75%; }
.noUi-pct-0751 { left: 75.1%; width: 75.1%; }
.noUi-pct-0752 { left: 75.2%; width: 75.2%; }
.noUi-pct-0753 { left: 75.3%; width: 75.3%; }
.noUi-pct-0754 { left: 75.4%; width: 75.4%; }
.noUi-pct-0755 { left: 75.5%; width: 75.5%; }
.noUi-pct-0756 { left: 75.6%; width: 75.6%; }
.noUi-pct-0757 { left: 75.7%; width: 75.7%; }
.noUi-pct-0758 { left: 75.8%; width: 75.8%; }
.noUi-pct-0759 { left: 75.9%; width: 75.9%; }
.noUi-pct-0760 { left: 76%; width: 76%; }
.noUi-pct-0761 { left: 76.1%; width: 76.1%; }
.noUi-pct-0762 { left: 76.2%; width: 76.2%; }
.noUi-pct-0763 { left: 76.3%; width: 76.3%; }
.noUi-pct-0764 { left: 76.4%; width: 76.4%; }
.noUi-pct-0765 { left: 76.5%; width: 76.5%; }
.noUi-pct-0766 { left: 76.6%; width: 76.6%; }
.noUi-pct-0767 { left: 76.7%; width: 76.7%; }
.noUi-pct-0768 { left: 76.8%; width: 76.8%; }
.noUi-pct-0769 { left: 76.9%; width: 76.9%; }
.noUi-pct-0770 { left: 77%; width: 77%; }
.noUi-pct-0771 { left: 77.1%; width: 77.1%; }
.noUi-pct-0772 { left: 77.2%; width: 77.2%; }
.noUi-pct-0773 { left: 77.3%; width: 77.3%; }
.noUi-pct-0774 { left: 77.4%; width: 77.4%; }
.noUi-pct-0775 { left: 77.5%; width: 77.5%; }
.noUi-pct-0776 { left: 77.6%; width: 77.6%; }
.noUi-pct-0777 { left: 77.7%; width: 77.7%; }
.noUi-pct-0778 { left: 77.8%; width: 77.8%; }
.noUi-pct-0779 { left: 77.9%; width: 77.9%; }
.noUi-pct-0780 { left: 78%; width: 78%; }
.noUi-pct-0781 { left: 78.1%; width: 78.1%; }
.noUi-pct-0782 { left: 78.2%; width: 78.2%; }
.noUi-pct-0783 { left: 78.3%; width: 78.3%; }
.noUi-pct-0784 { left: 78.4%; width: 78.4%; }
.noUi-pct-0785 { left: 78.5%; width: 78.5%; }
.noUi-pct-0786 { left: 78.6%; width: 78.6%; }
.noUi-pct-0787 { left: 78.7%; width: 78.7%; }
.noUi-pct-0788 { left: 78.8%; width: 78.8%; }
.noUi-pct-0789 { left: 78.9%; width: 78.9%; }
.noUi-pct-0790 { left: 79%; width: 79%; }
.noUi-pct-0791 { left: 79.1%; width: 79.1%; }
.noUi-pct-0792 { left: 79.2%; width: 79.2%; }
.noUi-pct-0793 { left: 79.3%; width: 79.3%; }
.noUi-pct-0794 { left: 79.4%; width: 79.4%; }
.noUi-pct-0795 { left: 79.5%; width: 79.5%; }
.noUi-pct-0796 { left: 79.6%; width: 79.6%; }
.noUi-pct-0797 { left: 79.7%; width: 79.7%; }
.noUi-pct-0798 { left: 79.8%; width: 79.8%; }
.noUi-pct-0799 { left: 79.9%; width: 79.9%; }
.noUi-pct-0800 { left: 80%; width: 80%; }
.noUi-pct-0801 { left: 80.1%; width: 80.1%; }
.noUi-pct-0802 { left: 80.2%; width: 80.2%; }
.noUi-pct-0803 { left: 80.3%; width: 80.3%; }
.noUi-pct-0804 { left: 80.4%; width: 80.4%; }
.noUi-pct-0805 { left: 80.5%; width: 80.5%; }
.noUi-pct-0806 { left: 80.6%; width: 80.6%; }
.noUi-pct-0807 { left: 80.7%; width: 80.7%; }
.noUi-pct-0808 { left: 80.8%; width: 80.8%; }
.noUi-pct-0809 { left: 80.9%; width: 80.9%; }
.noUi-pct-0810 { left: 81%; width: 81%; }
.noUi-pct-0811 { left: 81.1%; width: 81.1%; }
.noUi-pct-0812 { left: 81.2%; width: 81.2%; }
.noUi-pct-0813 { left: 81.3%; width: 81.3%; }
.noUi-pct-0814 { left: 81.4%; width: 81.4%; }
.noUi-pct-0815 { left: 81.5%; width: 81.5%; }
.noUi-pct-0816 { left: 81.6%; width: 81.6%; }
.noUi-pct-0817 { left: 81.7%; width: 81.7%; }
.noUi-pct-0818 { left: 81.8%; width: 81.8%; }
.noUi-pct-0819 { left: 81.9%; width: 81.9%; }
.noUi-pct-0820 { left: 82%; width: 82%; }
.noUi-pct-0821 { left: 82.1%; width: 82.1%; }
.noUi-pct-0822 { left: 82.2%; width: 82.2%; }
.noUi-pct-0823 { left: 82.3%; width: 82.3%; }
.noUi-pct-0824 { left: 82.4%; width: 82.4%; }
.noUi-pct-0825 { left: 82.5%; width: 82.5%; }
.noUi-pct-0826 { left: 82.6%; width: 82.6%; }
.noUi-pct-0827 { left: 82.7%; width: 82.7%; }
.noUi-pct-0828 { left: 82.8%; width: 82.8%; }
.noUi-pct-0829 { left: 82.9%; width: 82.9%; }
.noUi-pct-0830 { left: 83%; width: 83%; }
.noUi-pct-0831 { left: 83.1%; width: 83.1%; }
.noUi-pct-0832 { left: 83.2%; width: 83.2%; }
.noUi-pct-0833 { left: 83.3%; width: 83.3%; }
.noUi-pct-0834 { left: 83.4%; width: 83.4%; }
.noUi-pct-0835 { left: 83.5%; width: 83.5%; }
.noUi-pct-0836 { left: 83.6%; width: 83.6%; }
.noUi-pct-0837 { left: 83.7%; width: 83.7%; }
.noUi-pct-0838 { left: 83.8%; width: 83.8%; }
.noUi-pct-0839 { left: 83.9%; width: 83.9%; }
.noUi-pct-0840 { left: 84%; width: 84%; }
.noUi-pct-0841 { left: 84.1%; width: 84.1%; }
.noUi-pct-0842 { left: 84.2%; width: 84.2%; }
.noUi-pct-0843 { left: 84.3%; width: 84.3%; }
.noUi-pct-0844 { left: 84.4%; width: 84.4%; }
.noUi-pct-0845 { left: 84.5%; width: 84.5%; }
.noUi-pct-0846 { left: 84.6%; width: 84.6%; }
.noUi-pct-0847 { left: 84.7%; width: 84.7%; }
.noUi-pct-0848 { left: 84.8%; width: 84.8%; }
.noUi-pct-0849 { left: 84.9%; width: 84.9%; }
.noUi-pct-0850 { left: 85%; width: 85%; }
.noUi-pct-0851 { left: 85.1%; width: 85.1%; }
.noUi-pct-0852 { left: 85.2%; width: 85.2%; }
.noUi-pct-0853 { left: 85.3%; width: 85.3%; }
.noUi-pct-0854 { left: 85.4%; width: 85.4%; }
.noUi-pct-0855 { left: 85.5%; width: 85.5%; }
.noUi-pct-0856 { left: 85.6%; width: 85.6%; }
.noUi-pct-0857 { left: 85.7%; width: 85.7%; }
.noUi-pct-0858 { left: 85.8%; width: 85.8%; }
.noUi-pct-0859 { left: 85.9%; width: 85.9%; }
.noUi-pct-0860 { left: 86%; width: 86%; }
.noUi-pct-0861 { left: 86.1%; width: 86.1%; }
.noUi-pct-0862 { left: 86.2%; width: 86.2%; }
.noUi-pct-0863 { left: 86.3%; width: 86.3%; }
.noUi-pct-0864 { left: 86.4%; width: 86.4%; }
.noUi-pct-0865 { left: 86.5%; width: 86.5%; }
.noUi-pct-0866 { left: 86.6%; width: 86.6%; }
.noUi-pct-0867 { left: 86.7%; width: 86.7%; }
.noUi-pct-0868 { left: 86.8%; width: 86.8%; }
.noUi-pct-0869 { left: 86.9%; width: 86.9%; }
.noUi-pct-0870 { left: 87%; width: 87%; }
.noUi-pct-0871 { left: 87.1%; width: 87.1%; }
.noUi-pct-0872 { left: 87.2%; width: 87.2%; }
.noUi-pct-0873 { left: 87.3%; width: 87.3%; }
.noUi-pct-0874 { left: 87.4%; width: 87.4%; }
.noUi-pct-0875 { left: 87.5%; width: 87.5%; }
.noUi-pct-0876 { left: 87.6%; width: 87.6%; }
.noUi-pct-0877 { left: 87.7%; width: 87.7%; }
.noUi-pct-0878 { left: 87.8%; width: 87.8%; }
.noUi-pct-0879 { left: 87.9%; width: 87.9%; }
.noUi-pct-0880 { left: 88%; width: 88%; }
.noUi-pct-0881 { left: 88.1%; width: 88.1%; }
.noUi-pct-0882 { left: 88.2%; width: 88.2%; }
.noUi-pct-0883 { left: 88.3%; width: 88.3%; }
.noUi-pct-0884 { left: 88.4%; width: 88.4%; }
.noUi-pct-0885 { left: 88.5%; width: 88.5%; }
.noUi-pct-0886 { left: 88.6%; width: 88.6%; }
.noUi-pct-0887 { left: 88.7%; width: 88.7%; }
.noUi-pct-0888 { left: 88.8%; width: 88.8%; }
.noUi-pct-0889 { left: 88.9%; width: 88.9%; }
.noUi-pct-0890 { left: 89%; width: 89%; }
.noUi-pct-0891 { left: 89.1%; width: 89.1%; }
.noUi-pct-0892 { left: 89.2%; width: 89.2%; }
.noUi-pct-0893 { left: 89.3%; width: 89.3%; }
.noUi-pct-0894 { left: 89.4%; width: 89.4%; }
.noUi-pct-0895 { left: 89.5%; width: 89.5%; }
.noUi-pct-0896 { left: 89.6%; width: 89.6%; }
.noUi-pct-0897 { left: 89.7%; width: 89.7%; }
.noUi-pct-0898 { left: 89.8%; width: 89.8%; }
.noUi-pct-0899 { left: 89.9%; width: 89.9%; }
.noUi-pct-0900 { left: 90%; width: 90%; }
.noUi-pct-0901 { left: 90.1%; width: 90.1%; }
.noUi-pct-0902 { left: 90.2%; width: 90.2%; }
.noUi-pct-0903 { left: 90.3%; width: 90.3%; }
.noUi-pct-0904 { left: 90.4%; width: 90.4%; }
.noUi-pct-0905 { left: 90.5%; width: 90.5%; }
.noUi-pct-0906 { left: 90.6%; width: 90.6%; }
.noUi-pct-0907 { left: 90.7%; width: 90.7%; }
.noUi-pct-0908 { left: 90.8%; width: 90.8%; }
.noUi-pct-0909 { left: 90.9%; width: 90.9%; }
.noUi-pct-0910 { left: 91%; width: 91%; }
.noUi-pct-0911 { left: 91.1%; width: 91.1%; }
.noUi-pct-0912 { left: 91.2%; width: 91.2%; }
.noUi-pct-0913 { left: 91.3%; width: 91.3%; }
.noUi-pct-0914 { left: 91.4%; width: 91.4%; }
.noUi-pct-0915 { left: 91.5%; width: 91.5%; }
.noUi-pct-0916 { left: 91.6%; width: 91.6%; }
.noUi-pct-0917 { left: 91.7%; width: 91.7%; }
.noUi-pct-0918 { left: 91.8%; width: 91.8%; }
.noUi-pct-0919 { left: 91.9%; width: 91.9%; }
.noUi-pct-0920 { left: 92%; width: 92%; }
.noUi-pct-0921 { left: 92.1%; width: 92.1%; }
.noUi-pct-0922 { left: 92.2%; width: 92.2%; }
.noUi-pct-0923 { left: 92.3%; width: 92.3%; }
.noUi-pct-0924 { left: 92.4%; width: 92.4%; }
.noUi-pct-0925 { left: 92.5%; width: 92.5%; }
.noUi-pct-0926 { left: 92.6%; width: 92.6%; }
.noUi-pct-0927 { left: 92.7%; width: 92.7%; }
.noUi-pct-0928 { left: 92.8%; width: 92.8%; }
.noUi-pct-0929 { left: 92.9%; width: 92.9%; }
.noUi-pct-0930 { left: 93%; width: 93%; }
.noUi-pct-0931 { left: 93.1%; width: 93.1%; }
.noUi-pct-0932 { left: 93.2%; width: 93.2%; }
.noUi-pct-0933 { left: 93.3%; width: 93.3%; }
.noUi-pct-0934 { left: 93.4%; width: 93.4%; }
.noUi-pct-0935 { left: 93.5%; width: 93.5%; }
.noUi-pct-0936 { left: 93.6%; width: 93.6%; }
.noUi-pct-0937 { left: 93.7%; width: 93.7%; }
.noUi-pct-0938 { left: 93.8%; width: 93.8%; }
.noUi-pct-0939 { left: 93.9%; width: 93.9%; }
.noUi-pct-0940 { left: 94%; width: 94%; }
.noUi-pct-0941 { left: 94.1%; width: 94.1%; }
.noUi-pct-0942 { left: 94.2%; width: 94.2%; }
.noUi-pct-0943 { left: 94.3%; width: 94.3%; }
.noUi-pct-0944 { left: 94.4%; width: 94.4%; }
.noUi-pct-0945 { left: 94.5%; width: 94.5%; }
.noUi-pct-0946 { left: 94.6%; width: 94.6%; }
.noUi-pct-0947 { left: 94.7%; width: 94.7%; }
.noUi-pct-0948 { left: 94.8%; width: 94.8%; }
.noUi-pct-0949 { left: 94.9%; width: 94.9%; }
.noUi-pct-0950 { left: 95%; width: 95%; }
.noUi-pct-0951 { left: 95.1%; width: 95.1%; }
.noUi-pct-0952 { left: 95.2%; width: 95.2%; }
.noUi-pct-0953 { left: 95.3%; width: 95.3%; }
.noUi-pct-0954 { left: 95.4%; width: 95.4%; }
.noUi-pct-0955 { left: 95.5%; width: 95.5%; }
.noUi-pct-0956 { left: 95.6%; width: 95.6%; }
.noUi-pct-0957 { left: 95.7%; width: 95.7%; }
.noUi-pct-0958 { left: 95.8%; width: 95.8%; }
.noUi-pct-0959 { left: 95.9%; width: 95.9%; }
.noUi-pct-0960 { left: 96%; width: 96%; }
.noUi-pct-0961 { left: 96.1%; width: 96.1%; }
.noUi-pct-0962 { left: 96.2%; width: 96.2%; }
.noUi-pct-0963 { left: 96.3%; width: 96.3%; }
.noUi-pct-0964 { left: 96.4%; width: 96.4%; }
.noUi-pct-0965 { left: 96.5%; width: 96.5%; }
.noUi-pct-0966 { left: 96.6%; width: 96.6%; }
.noUi-pct-0967 { left: 96.7%; width: 96.7%; }
.noUi-pct-0968 { left: 96.8%; width: 96.8%; }
.noUi-pct-0969 { left: 96.9%; width: 96.9%; }
.noUi-pct-0970 { left: 97%; width: 97%; }
.noUi-pct-0971 { left: 97.1%; width: 97.1%; }
.noUi-pct-0972 { left: 97.2%; width: 97.2%; }
.noUi-pct-0973 { left: 97.3%; width: 97.3%; }
.noUi-pct-0974 { left: 97.4%; width: 97.4%; }
.noUi-pct-0975 { left: 97.5%; width: 97.5%; }
.noUi-pct-0976 { left: 97.6%; width: 97.6%; }
.noUi-pct-0977 { left: 97.7%; width: 97.7%; }
.noUi-pct-0978 { left: 97.8%; width: 97.8%; }
.noUi-pct-0979 { left: 97.9%; width: 97.9%; }
.noUi-pct-0980 { left: 98%; width: 98%; }
.noUi-pct-0981 { left: 98.1%; width: 98.1%; }
.noUi-pct-0982 { left: 98.2%; width: 98.2%; }
.noUi-pct-0983 { left: 98.3%; width: 98.3%; }
.noUi-pct-0984 { left: 98.4%; width: 98.4%; }
.noUi-pct-0985 { left: 98.5%; width: 98.5%; }
.noUi-pct-0986 { left: 98.6%; width: 98.6%; }
.noUi-pct-0987 { left: 98.7%; width: 98.7%; }
.noUi-pct-0988 { left: 98.8%; width: 98.8%; }
.noUi-pct-0989 { left: 98.9%; width: 98.9%; }
.noUi-pct-0990 { left: 99%; width: 99%; }
.noUi-pct-0991 { left: 99.1%; width: 99.1%; }
.noUi-pct-0992 { left: 99.2%; width: 99.2%; }
.noUi-pct-0993 { left: 99.3%; width: 99.3%; }
.noUi-pct-0994 { left: 99.4%; width: 99.4%; }
.noUi-pct-0995 { left: 99.5%; width: 99.5%; }
.noUi-pct-0996 { left: 99.6%; width: 99.6%; }
.noUi-pct-0997 { left: 99.7%; width: 99.7%; }
.noUi-pct-0998 { left: 99.8%; width: 99.8%; }
.noUi-pct-0999 { left: 99.9%; width: 99.9%; }
.noUi-pct-1000 { left: 100%; width: 100%; }

.message {
  min-width: 0;
  color: #b91c1c;
  font-size: 13px;
}

.wbgt-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--marker-color);
  color: var(--marker-text, #fff);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.wbgt-marker.missing {
  border-style: dashed;
}

.wbgt-marker.env-source-marker,
.iot-wbgt-marker.env-source-marker {
  border-radius: 0;
}



/* ズームレベル7以下では、引き画面向けにWBGT系アイコンを凡例色だけの小さい四角で表示する。 */
.leaflet-container.is-low-zoom .wbgt-marker,
.leaflet-container.is-low-zoom .iot-wbgt-marker {
  width: 12px;
  height: 12px;
  border-width: 1px;
  border-radius: 3px;
  font-size: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
}

/* Leaflet の iconAnchor は通常ズームの 30/34px 基準のままなので、
   低ズームで12pxへ縮小した際も地点中心に小四角の中心が合うよう補正する。 */
.leaflet-container.is-low-zoom .iot-wbgt-marker.env-source-marker {
  transform: translate(9px, 9px);
}

.leaflet-container.is-low-zoom .wbgt-marker {
  transform: translate(11px, 11px);
}

.leaflet-container.is-low-zoom .wbgt-marker span,
.leaflet-container.is-low-zoom .iot-wbgt-marker span {
  display: none;
}



/* 非表示中のオフセットAMeDAS風マーカーは、Leafletの外側DOMも含めてクリック対象外にする。 */
.leaflet-marker-icon.marker-click-disabled,
.leaflet-marker-icon.marker-click-disabled * {
  pointer-events: none !important;
}

/* 低ズーム時は通常の30/34pxアイコン領域ではなく、表示されている小さい四角だけをクリック対象にする。 */
.leaflet-marker-icon.marker-click-target-compact {
  pointer-events: none;
}

.leaflet-marker-icon.marker-click-target-compact .marker-click-target-compact__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}

/* 低ズーム時のクリック判定は、通常アイコンの外側DOMではなく、
   見えている小さい四角の中心にだけ合わせる。 */
.leaflet-container.is-low-zoom .marker-click-target-compact .marker-click-target-compact__core {
  transform: translate(-50%, -50%);
}

/* ズームレベル7以下では、通常はAMeDAS風向風速を非表示にする。
   AMeDASだけを選択している場合は、暑さ指数と同様に小さい四角で表示する。 */
.leaflet-container.is-low-zoom:not(.is-amedas-only) .amedas-marker {
  display: none;
  pointer-events: none;
}

.leaflet-container.is-low-zoom.is-amedas-only .amedas-marker {
  width: 12px;
  height: 12px;
  border: 1pt solid rgba(17, 24, 39, 0.75);
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  transform: none !important;
}

.leaflet-container.is-low-zoom.is-amedas-only .amedas-marker svg {
  display: none;
}

.wind-marker {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #1d4ed8;
  transform-origin: center;
}

.amedas-marker {
  color: var(--wind-color, #1d4ed8);
}

.soramame-marker {
  color: var(--wind-color, #0f766e);
}

.wind-marker svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.soramame-marker svg {
  filter: drop-shadow(0 0 1px #111827) drop-shadow(0 0 1px #111827);
}

.wind-marker line {
  stroke: currentColor;
  stroke-width: 2;
}

.wind-marker polygon {
  fill: currentColor;
}

.amedas-marker path {
  fill: currentColor;
  stroke: none;
}

.wind-marker.delayed {
  color: #b45309;
}

.amedas-marker.delayed {
  color: var(--wind-color, #1d4ed8);
  opacity: 1;
}

.soramame-marker.delayed {
  color: var(--wind-color, #0f766e);
  opacity: 1;
}

.iot-wbgt-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: var(--marker-color);
  color: var(--marker-text, #fff);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
}

.iot-wbgt-marker.missing,
.iot-wbgt-marker.stale {
  border-style: dashed;
  background: #475569;
}

.wbgt-marker.is-delta-marker,
.iot-wbgt-marker.is-delta-marker {
  background: var(--delta-color);
  color: var(--delta-text, var(--text));
  letter-spacing: -0.02em;
}

.wbgt-marker.is-delta-marker.unavailable,
.iot-wbgt-marker.is-delta-marker.unavailable {
  font-size: 9px;
}

.wbgt-delta-marker {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 24px;
  padding: 0 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--delta-color);
  color: var(--delta-text, var(--text));
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.wbgt-delta-marker.is-compact {
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  font-size: 10px;
}

.wbgt-delta-marker.missing,
.wbgt-delta-marker.unavailable {
  border-style: dashed;
}

.wind-marker.missing,
.wind-marker.calm,
.amedas-marker.missing,
.amedas-marker.calm,
.soramame-marker.missing,
.soramame-marker.calm {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  font-weight: 700;
}

.map-display-time {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 500;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.map-nearby-button,
.map-chart-button {
  position: absolute;
  left: 12px;
  bottom: 18px;
  z-index: 700;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.map-chart-button {
  bottom: 68px;
  display: none;
}

.map-nearby-button:hover,
.map-nearby-button:focus-visible,
.map-chart-button:hover,
.map-chart-button:focus-visible {
  background: #f8fafc;
  outline: 2px solid rgba(15, 118, 110, 0.28);
}

.map-nearby-button svg,
.map-chart-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-legend {
  position: absolute;
  right: 12px;
  bottom: 18px;
  z-index: 500;
  display: grid;
  gap: 4px;
  width: 164px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  cursor: pointer;
}

.map-legend[hidden] {
  display: none;
}

.map-legend-toggle {
  position: absolute;
  right: 12px;
  bottom: 18px;
  z-index: 500;
  min-width: 54px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.map-legend-toggle[hidden] {
  display: none;
}

.map-layer-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 500;
  display: grid;
  gap: 6px;
  width: 280px;
  max-height: calc(100% - 112px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
}

.map-layer-controls strong {
  font-size: 12px;
}

.map-layer-controls label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  width: 100%;
  line-height: 1.35;
}

.map-layer-controls label > span:first-child,
.map-layer-controls .layer-control-label {
  display: inline-flex;
  gap: 5px;
  min-width: 0;
  align-items: center;
}

.layer-label-icon {
  display: inline-block;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.layer-label-icon--env-wbgt {
  width: 14px;
  height: 14px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #f97316;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.28);
}

.layer-label-icon--iot-wbgt {
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.28);
}

.layer-label-icon--wbgt-delta {
  width: 22px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #f8fafc 48%, #dc2626 100%);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.24);
}

.layer-label-icon--amedas {
  width: 16px;
  height: 16px;
  background: #2563eb;
  clip-path: polygon(50% 4%, 84% 84%, 50% 66%, 16% 84%);
  opacity: 0.7;
}

.layer-label-icon--env-globe,
.layer-label-icon--globe,
.layer-label-icon--temp,
.layer-label-icon--humidity {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.layer-label-icon--env-globe {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: #7c2d12;
}

.layer-label-icon--globe {
  background: #7c2d12;
}

.layer-label-icon--temp {
  background: #b45309;
}

.layer-label-icon--humidity {
  background: #0369a1;
}


.layer-label-icon--soramame {
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--wind-color, #0f766e);
  background: transparent;
  filter: drop-shadow(0 0 1px rgba(15, 23, 42, 0.65));
}

.layer-label-icon--soramame::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.layer-label-icon--soramame::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid currentColor;
}

.layer-label-icon--soramame.wind-speed-0,
.layer-label-icon--soramame.wind-speed-1,
.layer-label-icon--soramame.wind-speed-2,
.layer-label-icon--soramame.wind-speed-3,
.layer-label-icon--soramame.wind-speed-4,
.layer-label-icon--soramame.wind-speed-5 {
  background-color: transparent;
}

.layer-control-time {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  text-align: right;
}

.layer-control-time.is-hidden-layer {
  color: #94a3b8;
}

.map-layer-controls input {
  margin-top: 1px;
}

.map-legend strong {
  font-size: 12px;
}

.legend-section {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.legend-section--primary {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.map-legend i.legend-box {
  border: 1px solid #000;
  border-radius: 0;
}

.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--level-color);
  color: var(--level-text, var(--text));
  font-weight: 700;
}

.level-chip.is-missing {
  border: 1px dashed #64748b;
}

.delta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--delta-color);
  color: var(--delta-text, var(--text));
  font-weight: 700;
}

.delta-chip.is-missing,
.delta-chip.is-unavailable {
  border: 1px dashed #64748b;
}

.globe-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  font-weight: 700;
}

.globe-chip.is-missing {
  border: 1px dashed #64748b;
  background: #f8fafc;
}

.observed-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.level-chip::before,
.level-dot {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--level-color);
}

.level-chip::before {
  background: currentColor;
  opacity: 0.75;
}

.wbgt-value-cell {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--wbgt-cell-bg);
  color: var(--wbgt-cell-text, var(--text));
  font-weight: 700;
}

.wbgt-value-cell.is-missing {
  border: 1px dashed #64748b;
}

.delta-cell {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--delta-cell-bg, #e2e8f0);
  color: var(--delta-cell-text, var(--text));
  font-weight: 700;
}

.delta-cell.is-missing,
.delta-cell.is-unavailable {
  border: 1px dashed #64748b;
}

.nearby-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: var(--nearby-panel-height);
  min-height: var(--nearby-panel-height);
  max-height: var(--nearby-panel-height);
}

#nearbyContent {
  min-height: 0;
  overflow: auto;
}

.nearby-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nearby-panel__header h2 {
  margin: 0;
  font-size: 14px;
}

.nearby-panel__header button:not(.nearby-panel__tab) {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nearby-panel__close {
  display: none;
}

.nearby-panel.is-mobile-modal .nearby-panel__close {
  display: inline-grid;
  place-items: center;
}


.nearby-consent-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.nearby-consent-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.nearby-consent-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nearby-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 13px;
}

.nearby-summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.nearby-table th,
.nearby-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  line-height: 1.25;
}

.nearby-table th {
  color: var(--muted);
  font-weight: 600;
  background: #f8fafc;
}

.nearby-table button {
  padding: 3px 6px;
  line-height: 1.2;
}

.nearby-table tr.is-selected {
  background: #eff6ff;
}

.nearby-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.15;
}

.empty-text {
  margin: 0;
  padding: 16px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .app-shell {
    min-height: 100vh;
  }

  .notice-bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(360px, 58vh) minmax(320px, 42vh);
  }

  .side-column {
    --nearby-panel-height: 320px;
    --chart-panel-height: 260px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .side-panel {
    grid-template-columns: 1fr;
    grid-template-rows: max-content minmax(var(--chart-panel-height), 1fr);
    align-content: start;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .slider-wrap {
    width: 100%;
  }

  .slider-calendar-button {
    min-width: 78px;
    font-size: 12px;
    padding-inline: 8px;
  }

  .slider-current-button {
    width: 30px;
    height: 30px;
  }

  .time-slider-stack {
    --time-slider-inline-padding: 6px;
  }

  .time-slider {
    /* モバイルでもスライダー領域が太く見えないよう、通常時と同じ比率で抑える。 */
    padding: 4px var(--time-slider-inline-padding) 6px;
  }

  .noUi-tooltip {
    font-size: 10px;
    padding: 3px 6px;
  }

  .noUi-value {
    font-size: 9px;
  }

  .nearby-panel {
    display: none;
  }

  .nearby-panel.is-mobile-modal {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 50%;
    z-index: 3000;
    display: grid;
    height: min(72vh, 520px);
    min-height: 280px;
    max-height: calc(100vh - 32px);
    transform: translateY(-50%);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.32);
  }

  .nearby-panel.is-mobile-modal #nearbyContent {
    background: var(--surface);
  }

  .nearby-panel.is-mobile-modal::before {
    content: '';
    position: fixed;
    inset: -100vh -100vw;
    z-index: -1;
    background: rgba(15, 23, 42, 0.35);
  }

  .nearby-panel.is-mobile-modal .nearby-panel__header,
  .chart-panel.is-mobile-modal .chart-panel__header {
    background: var(--surface);
  }

  .chart-panel {
    display: none;
  }

  .chart-panel.is-mobile-modal {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 50%;
    z-index: 3000;
    display: grid;
    height: min(72vh, 520px);
    min-height: 280px;
    max-height: calc(100vh - 32px);
    transform: translateY(-50%);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.32);
  }

  .chart-panel.is-mobile-modal .chart {
    min-height: 220px;
    background: var(--surface);
  }

  .chart-panel.is-mobile-modal::before {
    content: '';
    position: fixed;
    inset: -100vh -100vw;
    z-index: -1;
    background: rgba(15, 23, 42, 0.35);
  }

  .chart-panel.is-mobile-modal .chart-panel__close {
    display: inline-grid;
    place-items: center;
  }

  .map-display-time {
    top: 8px;
    left: 8px;
    transform: none;
  }

  .map-layer-controls {
    top: 44px;
    right: 8px;
    width: min(280px, calc(100% - 16px));
    max-height: 44%;
  }

  .map-legend {
    right: 8px;
    bottom: 8px;
    width: 148px;
  }

  .map-legend-toggle {
    right: 8px;
    bottom: 8px;
  }
}


@media (max-width: 860px) {
  .map-nearby-button {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 800;
    display: grid;
  }

  .map-chart-button {
    left: 12px;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    z-index: 800;
    display: grid;
  }
}

/* AMeDAS wind is shown as a filled arrow. Color still follows m/s legend. */
.amedas-marker {
  width: 29px;
  height: 29px;
  transform-origin: center;
  opacity: 1;
}

.amedas-marker .wind-arrow-svg {
  width: 29px;
  height: 29px;
  overflow: visible;
}

.amedas-marker .wind-arrow-fill {
  fill: currentColor;
  stroke: #111827;
  stroke-width: 0.55;
  stroke-linejoin: round;
}

.calendar-control-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.calendar-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 1200;
  width: 296px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  color: var(--text);
}

.calendar-popover::after {
  content: '';
  position: absolute;
  right: 30px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.calendar-popover__head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 13px;
}

.calendar-popover__nav,
.calendar-popover__day {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.calendar-popover__nav {
  width: 28px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
}

.calendar-popover__weekdays,
.calendar-popover__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-popover__weekdays {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.calendar-popover__empty,
.calendar-popover__day {
  width: 100%;
  height: 32px;
}

.calendar-popover__day:hover,
.calendar-popover__nav:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.calendar-popover__day.is-selected {
  border-color: #0f766e;
  background: #ccfbf1;
  font-weight: 700;
}

.calendar-popover__day.is-disabled,
.calendar-popover__day:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: #f8fafc;
}

.calendar-popover__day.is-disabled:hover,
.calendar-popover__day:disabled:hover {
  border-color: transparent;
  background: #f8fafc;
}

.slider-auto-refresh-button {
  min-width: 112px;
  white-space: nowrap;
}

.slider-auto-refresh-button.is-active {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f766e;
}

.slider-auto-refresh-button.is-running {
  cursor: progress;
}

/* Mobile combined nearby / graph modal tabs */
.nearby-panel__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nearby-panel__tab {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0;
  cursor: default;
}

#nearbyGraphTabButton {
  display: none;
}

@media (max-width: 860px) {
  #nearbyGraphTabButton {
    display: inline-flex;
  }

  .nearby-panel__tabs {
    gap: 6px;
  }

  .nearby-panel__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: max-content;
    max-width: none;
    height: auto;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
  }

  .nearby-panel__tab.is-active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  }

  .map-chart-button {
    display: none !important;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="nearby"] #chartPanel {
    display: none !important;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #nearbyContent {
    display: none !important;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel {
    position: static;
    display: grid !important;
    height: auto;
    min-height: 0;
    max-height: none;
    transform: none;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    overflow: hidden;
  }

  .nearby-panel.is-mobile-modal #chartPanel .chart-panel__header {
    display: none;
  }

  .nearby-panel.is-mobile-modal #chartPanel .chart {
    min-height: 360px;
    background: var(--surface);
  }
}

/* Mobile map-first layout with notice ticker and bottom time control */
.map-notice-ticker {
  display: none;
}

@media (max-width: 860px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .app-shell {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .main-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 0 0 var(--mobile-time-dock-height, 168px);
    overflow: hidden;
  }

  .map-area {
    position: absolute;
    inset: 0 0 var(--mobile-time-dock-height, 168px) 0;
    width: 100%;
    min-height: 0;
  }

  .side-column {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: block;
    min-height: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
  }

  .side-panel {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    pointer-events: none;
  }

  .side-panel > .notice-card,
  .side-panel > .link-card,
  .side-panel > .chart-panel:not(.is-mobile-modal) {
    display: none !important;
  }

  .time-control-dock {
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(248, 250, 252, 0.98), rgba(248, 250, 252, 0.84));
    pointer-events: auto;
  }

  .time-control-panel {
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.16);
  }

  .map-notice-ticker:not([hidden]) {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 780;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.96);
    color: #9a3412;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    overflow: hidden;
  }

  .notice-ticker__label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
  }

  .notice-ticker__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .notice-ticker__text {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    animation: noticeTickerScroll 14s linear infinite;
  }

  .map-notice-ticker:hover .notice-ticker__text,
  .map-notice-ticker:focus-visible .notice-ticker__text {
    animation-play-state: paused;
  }

  .map-notice-ticker.notice-ticker--alert:not([hidden]) {
    border-color: rgb(200 0 255);
    background: rgb(200 0 255);
    color: #000;
  }

  .map-notice-ticker.notice-ticker--alert .notice-ticker__label,
  .map-notice-ticker.notice-ticker--alert .notice-ticker__text {
    color: #000;
    text-shadow:
      -1px -1px 0 #fff,
       1px -1px 0 #fff,
      -1px  1px 0 #fff,
       1px  1px 0 #fff;
  }

  .map-notice-ticker.notice-ticker--special-alert:not([hidden]) {
    background: rgb(12 0 12);
    border-color: rgb(12 0 12);
    color: #fff;
  }

  .map-notice-ticker.notice-ticker--special-alert .notice-ticker__label,
  .map-notice-ticker.notice-ticker--special-alert .notice-ticker__text {
    color: #fff;
    text-shadow: none;
  }

  .map-display-time {
    top: 50px;
  }

  .map-layer-controls {
    top: 86px;
    max-height: calc(100% - 112px);
  }

  .nearby-panel.is-mobile-modal {
    pointer-events: auto;
  }
}

@keyframes noticeTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Mobile full-map layout refinements */
.map-admin-links {
  display: none;
}

@media (max-width: 860px) {
  .main-layout {
    padding: 0;
    background: transparent;
  }

  .map-area {
    inset: 0;
    height: 100dvh;
  }

  .side-column {
    top: auto;
    height: auto;
  }

  .side-panel {
    position: static;
    height: 0;
    overflow: visible;
  }

  body.site-admin .map-notice-ticker {
    display: none !important;
  }

  body.site-admin .map-admin-links {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 780;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: auto;
  }

  .map-admin-links__button {
    flex: 1 1 0;
    min-width: 0;
    max-width: 180px;
    padding: 8px 10px;
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  }

  body.site-admin .map-display-time {
    top: 54px;
  }

  body.site-admin .map-layer-controls {
    top: 90px;
    max-height: calc(100% - 116px);
  }

  body.site-public .map-display-time {
    top: 50px;
  }

  body.site-public .map-layer-controls {
    top: 86px;
    max-height: calc(100% - 112px);
  }
}

/* Mobile map overlay collision fixes */
.layer-controls-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.layer-controls-toggle__icon {
  line-height: 1;
  transition: transform 0.16s ease;
}

.map-layer-controls.is-collapsed .layer-controls-toggle__icon {
  transform: rotate(-90deg);
}

.map-layer-controls.is-collapsed {
  width: auto;
  min-width: 112px;
  max-height: 40px;
  overflow: hidden;
  padding: 8px 10px;
}

.map-layer-controls.is-collapsed label,
.map-layer-controls.is-collapsed .layer-alerts {
  display: none !important;
}

@media (max-width: 860px) {
  .map-layer-controls {
    z-index: 760;
    width: min(250px, calc(100% - 16px));
    max-height: min(42dvh, calc(100dvh - var(--mobile-time-dock-height, 168px) - 116px));
    overflow: auto;
  }

  .map-layer-controls.is-collapsed {
    width: auto;
    min-width: 112px;
    max-height: 40px;
    overflow: hidden;
    padding: 8px 10px;
  }

  .map-layer-controls.is-collapsed label,
  .map-layer-controls.is-collapsed .layer-alerts {
    display: none !important;
  }

  body.site-public .map-layer-controls,
  body.site-admin .map-layer-controls {
    top: 96px;
    right: 8px;
  }

  body.site-public .map-display-time,
  body.site-admin .map-display-time {
    top: 52px;
    left: 8px;
    right: auto;
    transform: none;
  }

  .map-legend {
    right: 8px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
    max-height: min(30dvh, 220px);
    overflow: auto;
  }

  .map-legend-toggle {
    right: 8px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
  }

  .map-nearby-button {
    left: 12px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
  }
}

/* Mobile map overlay placement: legend left, controls right, time centered */
@media (max-width: 860px) {
  body.site-public .map-display-time,
  body.site-admin .map-display-time,
  .map-display-time {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }

  .map-legend {
    left: 8px;
    right: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
    max-width: min(220px, calc(100% - 96px));
  }

  .map-legend-toggle {
    left: 8px;
    right: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
  }

  .map-nearby-button {
    left: auto;
    right: 12px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 12px);
  }

  .leaflet-top.leaflet-left {
    top: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 62px);
    left: auto;
    right: 12px;
  }

  .leaflet-top.leaflet-left .leaflet-control-zoom {
    margin: 0;
  }

  .leaflet-bottom.leaflet-right {
    top: 4px;
    left: 8px;
    right: auto;
    bottom: auto;
  }

  .leaflet-bottom.leaflet-right .leaflet-control-attribution {
    margin: 0;
    max-width: min(48vw, 190px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* Mobile overlay final placement: keep controls just above time card and reduce top collisions */
@media (max-width: 860px) {
  .map-legend,
  .map-legend-toggle {
    left: 8px;
    right: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 8px);
    max-width: min(220px, calc(100% - 96px));
  }

  .map-nearby-button {
    left: auto;
    right: 12px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 8px);
  }

  .leaflet-top.leaflet-left {
    top: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 58px);
    left: auto;
    right: 12px;
  }

  .leaflet-top.leaflet-left .leaflet-control-zoom {
    margin: 0;
  }

  .leaflet-bottom.leaflet-right {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 650;
  }

  .leaflet-bottom.leaflet-right .leaflet-control-attribution {
    margin: 0;
    max-width: min(52vw, 210px);
    border-radius: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.site-public .map-notice-ticker:not([hidden]),
  body.site-admin .map-admin-links {
    top: 22px;
  }

  body.site-public .map-display-time,
  body.site-admin .map-display-time,
  .map-display-time {
    top: 76px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }

  body.site-public .map-layer-controls,
  body.site-admin .map-layer-controls {
    top: 116px;
  }
}


/* Mobile modal stacking: keep Leaflet controls behind modal cards */
@media (max-width: 860px) {
  .leaflet-control-container .leaflet-top,
  .leaflet-control-container .leaflet-bottom,
  .leaflet-control-container .leaflet-control {
    z-index: 700;
  }

  .nearby-panel.is-mobile-modal,
  .chart-panel.is-mobile-modal {
    z-index: 3000;
  }
}

/* Mobile modal height refinement: keep graph modal only as tall as needed for the chart. */
@media (max-width: 860px) {
  .nearby-panel.is-mobile-modal {
    height: auto;
    max-height: min(calc(100vh - 150px), 460px);
    grid-template-rows: auto minmax(0, auto);
    overflow: hidden;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="nearby"] #nearbyContent {
    max-height: min(calc(100vh - 230px), 360px);
    overflow: auto;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] {
    max-height: min(calc(100vh - 150px), 430px);
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel {
    grid-template-rows: minmax(0, auto);
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart {
    height: min(300px, calc(100vh - 250px));
    min-height: 260px;
    max-height: 320px;
  }
}

/* Mobile nearby modal: keep the consent view visually aligned with the graph view. */
@media (max-width: 860px) {
  .nearby-panel.is-mobile-modal .nearby-panel__header {
    box-sizing: border-box;
    min-height: 58px;
    padding: 10px 12px;
  }

  .nearby-panel.is-mobile-modal.is-nearby-consent {
    max-height: min(calc(100vh - 150px), 430px);
  }

  .nearby-panel.is-mobile-modal.is-nearby-consent #nearbyContent {
    display: flex;
    align-items: flex-start;
    min-height: min(300px, calc(100vh - 250px));
    max-height: min(300px, calc(100vh - 250px));
    overflow: auto;
  }

  .nearby-panel.is-mobile-modal.is-nearby-consent .nearby-consent-card {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Desktop/tablet layout: nearby stations are requested from the card, not from a map floating button. */
@media (min-width: 861px) {
  .map-nearby-button {
    display: none !important;
  }
}

/* Nearby station accordion details */
.nearby-accordion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  font-size: 11px;
  white-space: nowrap;
}

.nearby-detail-row td {
  padding: 0 8px 8px;
  background: #f8fafc;
}

.nearby-detail-content {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.nearby-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.nearby-detail-table th,
.nearby-detail-table td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.nearby-detail-table th {
  color: var(--muted);
  font-weight: 600;
  background: #f8fafc;
}

.nearby-detail-loading {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .nearby-detail-row td {
    padding-inline: 4px;
  }

  .nearby-detail-content {
    overflow-x: auto;
  }
}

/* Nearby table: keep the accordion action as a dedicated rightmost column. */
.nearby-table .nearby-col-name {
  width: 30%;
}

.nearby-table .nearby-col-source {
  width: 22%;
}

.nearby-table .nearby-col-wbgt {
  width: 18%;
}

.nearby-table .nearby-col-delta {
  width: 18%;
}

.nearby-table .nearby-col-detail {
  width: 12%;
}

.nearby-detail-heading,
.nearby-detail-cell {
  text-align: right;
  white-space: nowrap;
}

.nearby-detail-cell .nearby-accordion-button {
  margin-top: 0;
}

@media (max-width: 860px) {
  .nearby-table .nearby-col-name {
    width: 29%;
  }

  .nearby-table .nearby-col-source {
    width: 21%;
  }

  .nearby-table .nearby-col-wbgt {
    width: 18%;
  }

  .nearby-table .nearby-col-delta {
    width: 18%;
  }

  .nearby-table .nearby-col-detail {
    width: 14%;
  }

  .nearby-table th,
  .nearby-table td {
    padding-left: 5px;
    padding-right: 5px;
  }

  .nearby-accordion-button {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 10px;
  }
}

.notice-modal-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.notice-modal-list-button {
  width: auto;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.notice-modal-list-button:hover,
.notice-modal-list-button:focus-visible,
.notice-admin-flags .text-button.is-active {
  background: #ffedd5;
  outline: none;
}

.notice-admin-flags .text-button.is-active {
  border-color: #f97316;
  color: #9a3412;
}

.notice-modal-card__header .notice-modal-list-button {
  width: auto;
  min-width: max-content;
  padding: 0 10px;
}

.current-location-marker {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2563eb;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35), 0 2px 8px rgba(15, 23, 42, 0.35);
}



/* Graph-selected station marker: map-side emphasis for the station currently shown in the graph. */
.selected-station-marker {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.58), 0 2px 8px rgba(15, 23, 42, 0.3);
  animation: selected-station-pop 1.8s ease-in-out infinite;
  pointer-events: none;
  box-sizing: border-box;
}

.selected-station-marker--env {
  border-radius: 0;
}

.selected-station-marker--iot {
  border-radius: 50%;
}

.selected-station-marker--compact {
  border-width: 2px;
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.62), 0 1px 4px rgba(15, 23, 42, 0.28);
}

.selected-station-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border: 2px solid rgba(37, 99, 235, 0.5);
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0.85;
  pointer-events: none;
  animation: selected-station-ring 1.8s ease-out infinite;
  box-sizing: border-box;
}

.selected-station-marker--env::after {
  border-radius: 0;
}

.selected-station-marker--iot::after {
  border-radius: 50%;
}

.selected-station-marker--compact::after {
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-width: 2px;
  border-radius: 3px;
}

@keyframes selected-station-pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes selected-station-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0.75;
  }
  70%, 100% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .selected-station-marker,
  .selected-station-marker::after {
    animation: none;
  }
}

/* Standalone admin tools should scroll normally even when the main app uses fixed mobile map layout. */
html.admin-tool-root,
html.admin-tool-root body,
body.admin-tool-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.admin-tool-page {
  min-height: 100vh;
  background: var(--panel);
}

@media (max-width: 860px) {
  html.admin-tool-root,
  html.admin-tool-root body,
  body.admin-tool-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

/* Emphasize the current-location marker with a soft pulse. */
.current-location-marker {
  position: relative;
  overflow: visible;
  animation: current-location-pop 1.8s ease-in-out infinite;
}

.current-location-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(37, 99, 235, 0.45);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0.9;
  pointer-events: none;
  animation: current-location-ring 1.8s ease-out infinite;
}

@keyframes current-location-pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes current-location-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0.75;
  }
  70%, 100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .current-location-marker,
  .current-location-marker::after {
    animation: none;
  }
}

/* 特別警戒アラートは通常の熱中症警戒アラート色より必ず優先する */
.notice-card.notice-card--special-alert .notice-card__button,
.notice-card.notice-card--special-alert .notice-card__button:hover,
.notice-card.notice-card--special-alert .notice-card__button:focus-visible {
  border-color: rgb(12 0 12) !important;
  background: rgb(12 0 12) !important;
  color: #fff !important;
  text-shadow: none !important;
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__header {
  background: rgb(12 0 12) !important;
  border-bottom-color: rgba(255, 255, 255, 0.45) !important;
}

.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__header h2,
.notice-modal-card.notice-modal-card--special-alert .notice-modal-card__actions button {
  color: #fff !important;
  text-shadow: none !important;
}

@media (max-width: 860px) {
  .map-notice-ticker.notice-ticker--special-alert:not([hidden]) {
    background: rgb(12 0 12) !important;
    border-color: rgb(12 0 12) !important;
    color: #fff !important;
  }

  .map-notice-ticker.notice-ticker--special-alert .notice-ticker__label,
  .map-notice-ticker.notice-ticker--special-alert .notice-ticker__text {
    color: #fff !important;
    text-shadow: none !important;
  }
}

.nearby-detail-wbgt-cell {
  min-width: 68px;
  padding: 3px 8px;
  font-size: 11px;
}


/* 管理系ページ専用スタイル: CSPで unsafe-inline を使わないためHTML内styleから移動 */
.notice-admin-page { max-width: 1080px; margin: 0 auto; padding: 20px; }
.notice-admin-grid { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 16px; align-items: start; }
.notice-admin-list, .notice-admin-form, .notice-admin-preview { padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.notice-admin-list__head, .notice-admin-actions, .notice-admin-flags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.notice-admin-list__title { margin: 0; font-size: 18px; }
.notice-admin-items { display: grid; gap: 8px; margin-top: 12px; }
.notice-admin-item { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.notice-admin-item.is-active { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.12); }
.notice-admin-item small { color: var(--muted); }
.notice-admin-form { display: grid; gap: 12px; }
.notice-admin-form textarea, .notice-admin-form input[type="text"] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; }
.notice-admin-form textarea { resize: vertical; }
.notice-admin-preview { margin-top: 16px; }
.notice-admin-status { font-size: 13px; color: var(--muted); }

.download-admin-page { max-width: 1040px; margin: 0 auto; padding: 20px; }
.download-form { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.download-form input, .download-form select { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.download-checks { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 6px; }
.download-checks label { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; white-space: nowrap; }
.download-checks input[type="checkbox"] { width: auto; margin: 0; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.download-status { color: var(--muted); font-size: 13px; line-height: 1.6; }
.download-preview { margin-top: 16px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: auto; }
.download-preview table { width: 100%; border-collapse: collapse; font-size: 12px; }
.download-preview th, .download-preview td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }

@media (max-width: 760px) { .notice-admin-grid { grid-template-columns: 1fr; } }

/* Map overlapping marker picker */
.map-overlap-picker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, calc(100% - 32px));
  max-height: min(360px, calc(100% - 64px));
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  z-index: 2500;
  color: #0f172a;
  font-size: 13px;
}

.map-overlap-picker__title {
  margin-bottom: 8px;
  font-weight: 700;
  color: #0f172a;
}

.map-overlap-picker__list {
  display: grid;
  gap: 6px;
}

.map-overlap-picker__item,
.map-overlap-picker__close {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.map-overlap-picker__item {
  padding: 8px 10px;
}

.map-overlap-picker__item:hover,
.map-overlap-picker__item:focus-visible {
  border-color: #16a34a;
  background: #f0fdf4;
  outline: none;
}

.map-overlap-picker__close {
  margin-top: 10px;
  padding: 7px 10px;
  text-align: center;
  background: #f8fafc;
}

.map-overlap-picker__close:hover,
.map-overlap-picker__close:focus-visible {
  border-color: #64748b;
  background: #e2e8f0;
  outline: none;
}

/* UI polish: keep icon-only buttons centered across mobile browsers. */
.icon-button,
.slider-step-button,
.map-nearby-button,
.map-chart-button,
.chart-panel__close,
.nearby-panel__close,
.notice-modal-card__header button {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.icon-button svg,
.map-nearby-button svg,
.map-chart-button svg {
  display: block;
  flex: 0 0 auto;
  margin: 0;
}

.slider-step-button {
  font-family: inherit;
}

@media (max-width: 860px) {
  body.site-public .map-display-time,
  body.site-admin .map-display-time,
  .map-display-time {
    top: 42px;
  }

  body.site-public .map-layer-controls,
  body.site-admin .map-layer-controls {
    top: 78px;
  }
}


/* Mobile viewport and graph stability fixes. */
@media (max-width: 860px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overscroll-behavior: none;
  }

  body,
  button,
  input,
  select,
  textarea,
  .app-shell,
  .time-control-dock,
  .map-layer-controls,
  .nearby-panel,
  .chart-panel,
  .modal-backdrop {
    touch-action: pan-x pan-y;
  }

  #map,
  .leaflet-container,
  .leaflet-container * {
    touch-action: auto;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] {
    display: grid;
    height: min(calc(100dvh - 150px), 430px);
    min-height: 360px;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart {
    box-sizing: border-box;
    width: 100%;
    height: clamp(260px, calc(100dvh - 250px), 320px);
    min-height: 260px;
    max-height: 320px;
  }
}


/* Desktop/tablet: these cards are always visible in the side column, so close buttons are unnecessary. */
@media (min-width: 861px) {
  .nearby-panel__close,
  .chart-panel__close {
    display: none !important;
  }
}

/* Mobile graph: keep the ECharts container at a stable card size while time changes trigger redraws. */
@media (max-width: 860px) {
  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel,
  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart {
    flex: none;
    contain: layout size;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart,
  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart > div,
  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart canvas {
    min-width: 100% !important;
  }

  .nearby-panel.is-mobile-modal[data-active-tab="graph"] #chartPanel .chart canvas {
    max-width: 100% !important;
  }
}

/* Mobile graph card: show it as a normal map overlay above the time control, not as a modal. */
@media (max-width: 860px) {
  .side-panel > .chart-panel.is-mobile-inline,
  .chart-panel.is-mobile-inline {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 10px + env(safe-area-inset-bottom, 0px));
    z-index: 1180;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    width: auto;
    height: clamp(292px, 36dvh, 332px);
    min-height: 292px;
    max-height: calc(100dvh - var(--mobile-time-dock-height, 168px) - 24px - env(safe-area-inset-top, 0px));
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    transform: none;
    overflow: hidden;
    pointer-events: auto;
  }

  .chart-panel.is-mobile-inline::before {
    content: none !important;
  }

  .chart-panel.is-mobile-inline .chart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    background: rgba(255, 255, 255, 0.98);
  }

  .chart-panel.is-mobile-inline .chart-panel__close {
    display: inline-grid;
    place-items: center;
  }

  .chart-panel.is-mobile-inline .chart {
    box-sizing: border-box;
    width: 100%;
    height: 100% !important;
    min-height: 230px;
    max-height: none;
    background: var(--surface);
    contain: layout size;
  }

  .chart-panel.is-mobile-inline .chart > div,
  .chart-panel.is-mobile-inline .chart canvas {
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile map top overlays: keep display time and layer controls below the ticker. */
@media (max-width: 860px) {
  body.site-public .map-display-time,
  body.site-admin .map-display-time,
  .map-display-time {
    top: 76px;
  }

  body.site-public .map-layer-controls,
  body.site-admin .map-layer-controls,
  .map-layer-controls {
    top: 116px;
  }
}

/* 表示要素のアイコン色は、現在表示中データの最高ランク色に合わせる。 */
.layer-label-icon.is-dynamic-wbgt {
  background-color: var(--marker-color, #94A3B8) !important;
  color: var(--marker-text, #172033);
}

.layer-label-icon.is-dynamic-delta {
  background-color: var(--delta-color, #94A3B8) !important;
  color: var(--delta-text, #172033);
}

.layer-label-icon.is-dynamic-wind {
  background-color: var(--wind-color, #f2f2ff) !important;
  color: var(--wind-color, #f2f2ff) !important;
}

/* 管理画面: そらまめくん風向風速の表示要素アイコンは、最高風速色を使いつつ地図上と同じ線付き矢印形状を維持する。 */
.layer-label-icon--soramame.is-dynamic-wind,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-0,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-1,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-2,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-3,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-4,
.layer-label-icon--soramame.is-dynamic-wind.wind-speed-5 {
  background-color: transparent !important;
  color: var(--wind-color, #0f766e) !important;
  clip-path: none !important;
}


/* AMeDAS wind markers that overlap WBGT icons are visually offset and connected by a dashed guide. */
.wind-offset-anchor {
  position: relative;
  width: 72px;
  height: 60px;
  pointer-events: none;
}

.wind-offset-anchor .amedas-marker {
  position: absolute;
  left: 34px;
  top: 4px;
  pointer-events: auto;
}

.wind-offset-guide-marker {
  position: relative;
  width: 72px;
  height: 60px;
  pointer-events: none;
}

.wind-offset-guide-marker::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 42px;
  width: 39px;
  border-top: 1.5px dashed rgba(17, 24, 39, 0.62);
  transform: rotate(-38deg);
  transform-origin: left center;
}

.leaflet-container.is-low-zoom:not(.is-amedas-only) .wind-offset-anchor .amedas-marker,
.leaflet-container.is-low-zoom:not(.is-amedas-only) .wind-offset-guide-marker {
  display: none;
  pointer-events: none;
}

.leaflet-container.is-low-zoom.is-amedas-only .wind-offset-anchor {
  width: 24px;
  height: 24px;
}

.leaflet-container.is-low-zoom.is-amedas-only .wind-offset-anchor .amedas-marker {
  left: 0;
  top: 0;
}

.leaflet-container.is-low-zoom.is-amedas-only .wind-offset-guide-marker {
  display: none;
}

/*
  カラーユニバーサルデザイン配色: 表示要素カードのチェックで凡例・地図アイコン・表セルを切り替える。
  参照元として説明しやすいよう、CUDO「カラーユニバーサルデザイン推奨配色セット」の
  画面用アクセントカラー（岡部・伊藤系パレット）を色名変数として定義し、用途別に割り当てる。
  暑さ指数・変化量・風速は色だけでなく、数値、記号、アイコン形状でも区別できる前提で使用する。
*/
:root {
  --cudo-black: #000000;
  --cudo-orange: #E69F00;
  --cudo-sky-blue: #56B4E9;
  --cudo-bluish-green: #009E73;
  --cudo-yellow: #F0E442;
  --cudo-blue: #0072B2;
  --cudo-vermillion: #D55E00;
  --cudo-reddish-purple: #CC79A7;
  --cudo-white: #FFFFFF;
  --cudo-light-gray: #E5E7EB;

  --cud-wbgt-danger35: var(--cudo-black);
  --cud-wbgt-danger33: var(--cudo-reddish-purple);
  --cud-wbgt-danger31: var(--cudo-vermillion);
  --cud-wbgt-severeWarning28: var(--cudo-orange);
  --cud-wbgt-warning25: var(--cudo-yellow);
  --cud-wbgt-caution21: var(--cudo-sky-blue);
  --cud-wbgt-safeUnder21: var(--cudo-blue);
  --cud-delta-strongRise: var(--cudo-vermillion);
  --cud-delta-rise: var(--cudo-orange);
  --cud-delta-stable: var(--cudo-light-gray);
  --cud-delta-drop: var(--cudo-sky-blue);
  --cud-delta-strongDrop: var(--cudo-blue);
  --cud-wind-0: var(--cudo-reddish-purple);
  --cud-wind-1: var(--cudo-vermillion);
  --cud-wind-2: var(--cudo-orange);
  --cud-wind-3: var(--cudo-yellow);
  --cud-wind-4: var(--cudo-blue);
  --cud-wind-5: var(--cudo-white);
}

.layer-color-mode-control {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

body.color-universal-mode .wbgt-level-danger35 {
  --marker-color: var(--cud-wbgt-danger35);
  --marker-text: #ffffff;
  --level-color: var(--cud-wbgt-danger35);
  --level-text: #ffffff;
  --wbgt-cell-bg: var(--cud-wbgt-danger35);
  --wbgt-cell-text: #ffffff;
  background-color: var(--cud-wbgt-danger35);
  color: #ffffff;
}
body.color-universal-mode .wbgt-level-danger33 {
  --marker-color: var(--cud-wbgt-danger33);
  --marker-text: #ffffff;
  --level-color: var(--cud-wbgt-danger33);
  --level-text: #ffffff;
  --wbgt-cell-bg: var(--cud-wbgt-danger33);
  --wbgt-cell-text: #ffffff;
  background-color: var(--cud-wbgt-danger33);
  color: #ffffff;
}
body.color-universal-mode .wbgt-level-danger31 {
  --marker-color: var(--cud-wbgt-danger31);
  --marker-text: #ffffff;
  --level-color: var(--cud-wbgt-danger31);
  --level-text: #ffffff;
  --wbgt-cell-bg: var(--cud-wbgt-danger31);
  --wbgt-cell-text: #ffffff;
  background-color: var(--cud-wbgt-danger31);
  color: #ffffff;
}
body.color-universal-mode .wbgt-level-severeWarning28 {
  --marker-color: var(--cud-wbgt-severeWarning28);
  --marker-text: #172033;
  --level-color: var(--cud-wbgt-severeWarning28);
  --level-text: #172033;
  --wbgt-cell-bg: var(--cud-wbgt-severeWarning28);
  --wbgt-cell-text: #172033;
  background-color: var(--cud-wbgt-severeWarning28);
  color: #172033;
}
body.color-universal-mode .wbgt-level-warning25 {
  --marker-color: var(--cud-wbgt-warning25);
  --marker-text: #172033;
  --level-color: var(--cud-wbgt-warning25);
  --level-text: #172033;
  --wbgt-cell-bg: var(--cud-wbgt-warning25);
  --wbgt-cell-text: #172033;
  background-color: var(--cud-wbgt-warning25);
  color: #172033;
}
body.color-universal-mode .wbgt-level-caution21 {
  --marker-color: var(--cud-wbgt-caution21);
  --marker-text: #172033;
  --level-color: var(--cud-wbgt-caution21);
  --level-text: #172033;
  --wbgt-cell-bg: var(--cud-wbgt-caution21);
  --wbgt-cell-text: #172033;
  background-color: var(--cud-wbgt-caution21);
  color: #172033;
}
body.color-universal-mode .wbgt-level-safeUnder21 {
  --marker-color: var(--cud-wbgt-safeUnder21);
  --marker-text: #ffffff;
  --level-color: var(--cud-wbgt-safeUnder21);
  --level-text: #ffffff;
  --wbgt-cell-bg: var(--cud-wbgt-safeUnder21);
  --wbgt-cell-text: #ffffff;
  background-color: var(--cud-wbgt-safeUnder21);
  color: #ffffff;
}

body.color-universal-mode .delta-level-strongRise {
  --delta-color: var(--cud-delta-strongRise);
  --delta-text: #ffffff;
  --delta-cell-bg: var(--cud-delta-strongRise);
  --delta-cell-text: #ffffff;
  background-color: var(--cud-delta-strongRise);
  color: #ffffff;
}
body.color-universal-mode .delta-level-rise {
  --delta-color: var(--cud-delta-rise);
  --delta-text: #172033;
  --delta-cell-bg: var(--cud-delta-rise);
  --delta-cell-text: #172033;
  background-color: var(--cud-delta-rise);
  color: #172033;
}
body.color-universal-mode .delta-level-stable {
  --delta-color: var(--cud-delta-stable);
  --delta-text: #172033;
  --delta-cell-bg: var(--cud-delta-stable);
  --delta-cell-text: #172033;
  background-color: var(--cud-delta-stable);
  color: #172033;
}
body.color-universal-mode .delta-level-drop {
  --delta-color: var(--cud-delta-drop);
  --delta-text: #172033;
  --delta-cell-bg: var(--cud-delta-drop);
  --delta-cell-text: #172033;
  background-color: var(--cud-delta-drop);
  color: #172033;
}
body.color-universal-mode .delta-level-strongDrop {
  --delta-color: var(--cud-delta-strongDrop);
  --delta-text: #ffffff;
  --delta-cell-bg: var(--cud-delta-strongDrop);
  --delta-cell-text: #ffffff;
  background-color: var(--cud-delta-strongDrop);
  color: #ffffff;
}

body.color-universal-mode .wind-speed-0 { --wind-color: var(--cud-wind-0); background-color: var(--cud-wind-0); }
body.color-universal-mode .wind-speed-1 { --wind-color: var(--cud-wind-1); background-color: var(--cud-wind-1); }
body.color-universal-mode .wind-speed-2 { --wind-color: var(--cud-wind-2); background-color: var(--cud-wind-2); }
body.color-universal-mode .wind-speed-3 { --wind-color: var(--cud-wind-3); background-color: var(--cud-wind-3); }
body.color-universal-mode .wind-speed-4 { --wind-color: var(--cud-wind-4); background-color: var(--cud-wind-4); }
body.color-universal-mode .wind-speed-5 { --wind-color: var(--cud-wind-5); background-color: var(--cud-wind-5); }
body.color-universal-mode .wind-marker.wind-speed-0,
body.color-universal-mode .wind-marker.wind-speed-1,
body.color-universal-mode .wind-marker.wind-speed-2,
body.color-universal-mode .wind-marker.wind-speed-3,
body.color-universal-mode .wind-marker.wind-speed-4,
body.color-universal-mode .wind-marker.wind-speed-5 {
  background-color: transparent;
}

/* Header banner added to match the linking SAI-PLAT site tone without changing map contents. */
.app-shell {
  grid-template-rows: auto 1fr;
}

.site-header-banner {
  --site-header-accent: #0f766e;
  --site-header-accent-dark: #075e57;
  position: relative;
  z-index: 3200;
  flex: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.28);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.97), rgba(14, 116, 144, 0.94)),
    #0f766e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}

.site-header-banner--admin {
  --site-header-accent: #b45309;
  --site-header-accent-dark: #92400e;
  border-bottom-color: rgba(180, 83, 9, 0.34);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.97), rgba(180, 83, 9, 0.92)),
    #0f766e;
}

.site-header-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  padding: 8px 18px;
}

.site-header-banner__brand {
  display: inline-grid;
  gap: 2px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-header-banner__brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-header-banner__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.site-header-banner__title {
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 86px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-header-banner__badge--admin {
  background: rgba(255, 255, 255, 0.24);
}

body.admin-tool-page .site-header-banner {
  position: sticky;
  top: 0;
}

@media (max-width: 860px) {
  .site-header-banner__inner {
    min-height: 46px;
    gap: 10px;
    padding: 7px 12px;
  }

  .site-header-banner__kicker {
    font-size: 10px;
  }

  .site-header-banner__title {
    font-size: 14px;
  }

  .site-header-banner__badge {
    min-width: 68px;
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  body.site-public .main-layout,
  body.site-admin .main-layout {
    height: calc(100dvh - 46px);
  }
}

@media (max-width: 420px) {
  .site-header-banner__kicker {
    display: none;
  }

  .site-header-banner__title {
    font-size: 13px;
  }
}

/* Header navigation refinements: remove public/admin badge and place admin tools in the header. */
.site-header-banner__nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

.site-header-banner__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header-banner__nav-link:hover,
.site-header-banner__nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

body.site-admin .map-admin-links {
  display: none !important;
}

@media (max-width: 860px) {
  .site-header-banner__inner {
    align-items: flex-start;
  }

  .site-header-banner__brand {
    flex: 1 1 auto;
  }

  .site-header-banner__nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    max-width: min(52vw, 260px);
  }

  .site-header-banner__nav-link {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .site-header-banner__inner {
    flex-wrap: wrap;
  }

  .site-header-banner__nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }
}

/* Mobile admin header: keep tool buttons on a single line. */
@media (max-width: 520px) {
  body.site-admin .site-header-banner__inner,
  body.admin-tool-page .site-header-banner__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
  }

  body.site-admin .site-header-banner__brand,
  body.admin-tool-page .site-header-banner__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.site-admin .site-header-banner__title,
  body.admin-tool-page .site-header-banner__title {
    font-size: 12px;
    line-height: 1.2;
  }

  body.site-admin .site-header-banner__nav,
  body.admin-tool-page .site-header-banner__nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    width: auto;
    max-width: 56vw;
    justify-content: flex-end;
    gap: 4px;
    overflow: visible;
  }

  body.site-admin .site-header-banner__nav-link,
  body.admin-tool-page .site-header-banner__nav-link {
    min-height: 24px;
    padding: 3px 6px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 380px) {
  body.site-admin .site-header-banner__title,
  body.admin-tool-page .site-header-banner__title {
    font-size: 11px;
  }

  body.site-admin .site-header-banner__nav,
  body.admin-tool-page .site-header-banner__nav {
    max-width: 58vw;
    gap: 3px;
  }

  body.site-admin .site-header-banner__nav-link,
  body.admin-tool-page .site-header-banner__nav-link {
    padding: 3px 5px;
    font-size: 9.5px;
  }
}

/* Resolution/DPI layout stabilization: keep map, side panels and bottom controls aligned across monitor scaling. */
body.site-public,
body.site-admin {
  overflow: hidden;
}

body.site-public .app-shell,
body.site-admin .app-shell {
  width: 100%;
  height: 100dvh;
  min-width: 320px;
  min-height: 0;
  overflow: hidden;
}

@supports (height: 100svh) {
  body.site-public .app-shell,
  body.site-admin .app-shell {
    height: 100svh;
  }
}

body.site-public .main-layout,
body.site-admin .main-layout {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 34vw, 620px);
}

body.site-public .map-area,
body.site-admin .map-area,
body.site-public .side-column,
body.site-admin .side-column {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

body.site-public .side-panel,
body.site-admin .side-panel {
  --nearby-panel-height: clamp(260px, 36dvh, 360px);
  --chart-panel-height: clamp(220px, 30dvh, 300px);
  min-height: 0;
}

body.site-public .chart,
body.site-admin .chart {
  min-width: 0;
  min-height: 180px;
}

body.site-public .time-control-dock,
body.site-admin .time-control-dock {
  min-width: 0;
}

body.site-public .time-control-panel,
body.site-admin .time-control-panel {
  min-width: 0;
}

body.site-public .time-control-actions,
body.site-admin .time-control-actions {
  min-width: 0;
  flex-wrap: nowrap;
}

body.site-public .slider-wrap,
body.site-admin .slider-wrap,
body.site-public .slider-wrap__body,
body.site-admin .slider-wrap__body {
  min-width: 0;
}

@media (min-width: 861px) and (max-width: 1280px) {
  body.site-public .main-layout,
  body.site-admin .main-layout {
    grid-template-columns: minmax(0, 1fr) clamp(360px, 33vw, 480px);
  }

  body.site-public .side-panel,
  body.site-admin .side-panel {
    --nearby-panel-height: clamp(230px, 34dvh, 330px);
    --chart-panel-height: clamp(200px, 28dvh, 270px);
    padding: 8px;
    gap: 8px;
  }

  body.site-public .section-head,
  body.site-admin .section-head {
    min-height: 36px;
    padding: 8px 10px;
  }

  body.site-public .time-control-actions,
  body.site-admin .time-control-actions {
    gap: 8px;
  }

  body.site-public .text-button,
  body.site-admin .text-button {
    padding-inline: 12px;
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  body.site-public .main-layout,
  body.site-admin .main-layout {
    grid-template-columns: minmax(0, 1fr) clamp(330px, 34vw, 420px);
  }

  body.site-public .time-control-actions,
  body.site-admin .time-control-actions {
    gap: 6px;
  }

  body.site-public .text-button,
  body.site-admin .text-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  body.site-public .side-panel,
  body.site-admin .side-panel {
    --nearby-panel-height: clamp(190px, 32dvh, 260px);
    --chart-panel-height: clamp(170px, 28dvh, 230px);
    gap: 8px;
    padding-block: 8px;
  }

  body.site-public .section-head,
  body.site-admin .section-head {
    min-height: 34px;
    padding-block: 7px;
  }

  body.site-public .chart,
  body.site-admin .chart {
    min-height: 150px;
  }
}

@media (max-width: 860px) {
  body.site-public .app-shell,
  body.site-admin .app-shell {
    height: 100dvh;
    min-height: 0;
  }

  body.site-public .main-layout,
  body.site-admin .main-layout {
    height: calc(100dvh - var(--site-header-height, 46px));
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body.site-public .time-control-dock,
  body.site-admin .time-control-dock {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 860px) and (max-height: 720px) {
  body.site-public,
  body.site-admin {
    --mobile-time-dock-height: 148px;
  }

  body.site-public .time-control-panel,
  body.site-admin .time-control-panel {
    padding: 10px;
  }

  body.site-public .map-legend,
  body.site-admin .map-legend {
    max-height: min(40dvh, calc(100dvh - var(--mobile-time-dock-height, 148px) - 116px));
    overflow: auto;
  }
}

body.admin-tool-page .app-shell {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

/* Compact desktop layout for low-resolution monitor settings such as 1024x768.
   Keep each card in its own grid row and prevent table/header contents from collapsing vertically. */
@media (min-width: 861px) and (max-width: 1100px), (min-width: 861px) and (max-height: 800px) {
  body.site-public .main-layout,
  body.site-admin .main-layout {
    grid-template-columns: minmax(0, 1fr) clamp(340px, 34vw, 390px);
  }

  body.site-public .side-column,
  body.site-admin .side-column {
    min-height: 0;
  }

  body.site-public .side-panel,
  body.site-admin .side-panel {
    --nearby-panel-height: clamp(166px, 27dvh, 214px);
    --chart-panel-height: clamp(230px, 32dvh, 260px);
    grid-template-rows: max-content minmax(0, var(--nearby-panel-height)) minmax(0, var(--chart-panel-height));
    gap: 6px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.site-public .panel-section,
  body.site-admin .panel-section {
    border-radius: 7px;
  }

  body.site-public .section-head,
  body.site-admin .section-head {
    min-height: 32px;
    padding: 6px 8px;
  }

  body.site-public .section-head h1,
  body.site-public .section-head h2,
  body.site-admin .section-head h1,
  body.site-admin .section-head h2 {
    font-size: 13px;
  }

  body.site-public .notice-card__button,
  body.site-admin .notice-card__button {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 12px;
    line-height: 1.25;
  }

  body.site-public .nearby-panel,
  body.site-admin .nearby-panel,
  body.site-public .chart-panel,
  body.site-admin .chart-panel {
    min-height: 0;
    overflow: hidden;
  }

  body.site-public #nearbyContent,
  body.site-admin #nearbyContent {
    overflow: auto;
  }

  body.site-public .nearby-table,
  body.site-admin .nearby-table {
    table-layout: fixed;
    font-size: 11px;
    line-height: 1.18;
  }

  body.site-public .nearby-table th,
  body.site-public .nearby-table td,
  body.site-admin .nearby-table th,
  body.site-admin .nearby-table td {
    padding: 4px 5px;
  }

  body.site-public .nearby-table th,
  body.site-admin .nearby-table th,
  body.site-public .nearby-table .nearby-col-source,
  body.site-admin .nearby-table .nearby-col-source,
  body.site-public .nearby-table .nearby-col-detail,
  body.site-admin .nearby-table .nearby-col-detail {
    white-space: nowrap;
  }

  body.site-public .nearby-table .nearby-col-name,
  body.site-admin .nearby-table .nearby-col-name {
    width: 24%;
  }

  body.site-public .nearby-table .nearby-col-source,
  body.site-admin .nearby-table .nearby-col-source {
    width: 17%;
  }

  body.site-public .nearby-table .nearby-col-wbgt,
  body.site-admin .nearby-table .nearby-col-wbgt {
    width: 24%;
  }

  body.site-public .nearby-table .nearby-col-delta,
  body.site-admin .nearby-table .nearby-col-delta {
    width: 22%;
  }

  body.site-public .nearby-table .nearby-col-detail,
  body.site-admin .nearby-table .nearby-col-detail {
    width: 13%;
  }

  body.site-public .nearby-table button,
  body.site-admin .nearby-table button {
    padding: 2px 5px;
    font-size: 10px;
    line-height: 1.15;
  }

  body.site-public .nearby-meta,
  body.site-admin .nearby-meta {
    font-size: 9px;
    line-height: 1.1;
  }

  body.site-public .wbgt-value,
  body.site-public .delta-value,
  body.site-admin .wbgt-value,
  body.site-admin .delta-value {
    min-width: 44px;
    padding: 4px 6px;
    font-size: 11px;
    line-height: 1.1;
  }



  body.site-public .chart-panel,
  body.site-admin .chart-panel {
    min-height: var(--chart-panel-height);
  }

  body.site-public .chart,
  body.site-admin .chart {
    min-height: 220px;
    height: 100%;
  }

  body.site-public .chart-panel .section-head,
  body.site-admin .chart-panel .section-head {
    padding-block: 6px;
  }

  body.site-public .time-control-dock,
  body.site-admin .time-control-dock {
    padding: 0 6px 6px;
  }

  body.site-public .time-control-panel .section-head,
  body.site-admin .time-control-panel .section-head {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  body.site-public .time-control-actions,
  body.site-admin .time-control-actions {
    gap: 5px;
  }

  body.site-public .text-button,
  body.site-admin .text-button,
  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    min-height: 30px;
    padding: 4px 8px;
    font-size: 12px;
  }

  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    min-width: 68px;
  }

  body.site-public .icon-button,
  body.site-admin .icon-button {
    width: 30px;
    height: 30px;
  }

  body.site-public .slider-wrap,
  body.site-admin .slider-wrap {
    gap: 6px;
    padding: 8px 10px 10px;
  }
}

/* 低ズーム時の選択中地点強調では、実アイコンが強調マーカーの下に隠れるため、
   強調マーカー内にも凡例色の小さい四角を表示して地点色を維持する。 */
.selected-station-marker--compact {
  display: grid;
  place-items: center;
  background: transparent;
}

.selected-station-marker__compact-core {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  background: var(--marker-color, var(--delta-color, #60a5fa));
  color: var(--marker-text, var(--delta-text, #172033));
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
  box-sizing: border-box;
}

.selected-station-marker--compact-env .selected-station-marker__compact-core {
  border-radius: 0;
}

.selected-station-marker--compact-iot .selected-station-marker__compact-core {
  border-radius: 3px;
}

/* Mobile height refinements: keep center name visible, avoid bottom-control overlap. */
@media (max-width: 420px) {
  .site-header-banner__kicker {
    display: block;
    overflow: hidden;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header-banner__title {
    font-size: 12px;
    line-height: 1.1;
  }

  .site-header-banner__brand {
    gap: 1px;
  }
}

@media (max-width: 860px) and (max-height: 720px) {
  body.site-public .map-legend,
  body.site-admin .map-legend,
  body.site-public .map-legend-toggle,
  body.site-admin .map-legend-toggle {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 24px + env(safe-area-inset-bottom, 0px));
  }

  body.site-public .map-nearby-button,
  body.site-admin .map-nearby-button {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 24px + env(safe-area-inset-bottom, 0px));
  }

  body.site-public .leaflet-top.leaflet-left,
  body.site-admin .leaflet-top.leaflet-left {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 74px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 860px) and (max-height: 500px) {
  body.site-public,
  body.site-admin {
    --site-header-height: 0px;
  }

  body.site-public .site-header-banner,
  body.site-admin .site-header-banner {
    display: none;
  }

  body.site-public .main-layout,
  body.site-admin .main-layout {
    height: 100dvh;
  }

  body.site-public .map-legend,
  body.site-admin .map-legend,
  body.site-public .map-legend-toggle,
  body.site-admin .map-legend-toggle,
  body.site-public .map-nearby-button,
  body.site-admin .map-nearby-button {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 22px + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile time controls compact adjustment based on frontend_mobile_header_short_height_fix. */
@media (max-width: 860px) {
  body.site-public .time-control-dock,
  body.site-admin .time-control-dock {
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  }

  body.site-public .panel-section.time-control-panel,
  body.site-admin .panel-section.time-control-panel,
  body.site-public .time-control-panel,
  body.site-admin .time-control-panel {
    border-radius: 9px 9px 0 0;
  }

  body.site-public .time-control-panel .section-head,
  body.site-admin .time-control-panel .section-head {
    min-height: 28px;
    padding: 5px 6px;
    gap: 4px;
  }

  body.site-public .time-control-panel .section-head h1,
  body.site-admin .time-control-panel .section-head h1,
  body.site-public .time-control-panel .section-head h2,
  body.site-admin .time-control-panel .section-head h2 {
    font-size: 13px;
    line-height: 1.2;
  }

  body.site-public .time-control-actions,
  body.site-admin .time-control-actions {
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
  }

  body.site-public .slider-auto-refresh-button,
  body.site-admin .slider-auto-refresh-button,
  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    min-height: 28px;
    padding: 3px 7px;
    font-size: 12px;
    line-height: 1.2;
  }

  body.site-public .slider-auto-refresh-button,
  body.site-admin .slider-auto-refresh-button {
    min-width: 0;
    flex: 0 1 auto;
  }

  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    min-width: 62px;
  }

  body.site-public .time-control-panel .icon-button,
  body.site-admin .time-control-panel .icon-button {
    width: 28px;
    height: 28px;
  }

  body.site-public .slider-wrap,
  body.site-admin .slider-wrap {
    gap: 4px;
    padding: 5px 4px 6px;
  }

  body.site-public .slider-wrap__body,
  body.site-admin .slider-wrap__body {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  body.site-public .slider-step-button,
  body.site-admin .slider-step-button {
    width: 30px;
    height: 30px;
  }

  body.site-public .time-slider-stack,
  body.site-admin .time-slider-stack {
    --time-slider-inline-padding: 4px;
  }

  body.site-public .time-slider,
  body.site-admin .time-slider {
    padding: 2px var(--time-slider-inline-padding) 5px;
  }
}

@media (max-width: 420px) {
  body.site-public .time-control-dock,
  body.site-admin .time-control-dock {
    padding-inline: 3px;
  }

  body.site-public .slider-auto-refresh-button,
  body.site-admin .slider-auto-refresh-button,
  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    padding-inline: 6px;
    font-size: 11px;
  }

  body.site-public .slider-calendar-button,
  body.site-admin .slider-calendar-button {
    min-width: 58px;
  }
}

/* Mobile top overlay order: show the display time above the notice ticker on public pages. */
@media (max-width: 860px) {
  body.site-public .map-display-time {
    top: 22px;
  }

  body.site-public .map-notice-ticker:not([hidden]) {
    top: 76px;
  }

  body.site-public .map-layer-controls {
    top: 116px;
  }
}

/* Mobile landscape overlay placement: stack top controls and keep bottom controls above the time dock. */
@media (max-width: 860px) {
  body.site-public .map-display-time {
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 790;
  }

  body.site-public .map-notice-ticker:not([hidden]) {
    top: 44px;
    left: 8px;
    right: 8px;
    z-index: 780;
  }

  body.site-public .map-layer-controls {
    top: 86px;
    right: 8px;
    z-index: 760;
    max-height: min(34dvh, calc(100dvh - var(--mobile-time-dock-height, 168px) - 98px));
  }

  body.site-public .map-layer-controls.is-collapsed {
    max-height: 40px;
  }

  body.site-public .leaflet-top.leaflet-left {
    top: 130px;
    right: 12px;
    bottom: auto;
    left: auto;
  }

  body.site-public .map-legend,
  body.site-public .map-legend-toggle {
    left: 8px;
    right: auto;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 8px + env(safe-area-inset-bottom, 0px));
    z-index: 720;
    max-height: min(32dvh, calc(100dvh - var(--mobile-time-dock-height, 168px) - 104px));
    overflow: auto;
  }

  body.site-public .map-nearby-button {
    left: auto;
    right: 12px;
    bottom: calc(var(--mobile-time-dock-height, 168px) + 8px + env(safe-area-inset-bottom, 0px));
    z-index: 720;
  }
}

@media (max-width: 860px) and (max-height: 500px) {
  body.site-public,
  body.site-admin {
    --mobile-time-dock-height: 148px;
  }

  body.site-public .map-display-time {
    top: 6px;
  }

  body.site-public .map-notice-ticker:not([hidden]) {
    top: 38px;
    min-height: 30px;
    padding-block: 4px;
  }

  body.site-public .map-layer-controls {
    top: 76px;
    max-height: min(32dvh, calc(100dvh - var(--mobile-time-dock-height, 148px) - 88px));
  }

  body.site-public .map-layer-controls.is-collapsed {
    max-height: 36px;
    padding-block: 7px;
  }

  body.site-public .leaflet-top.leaflet-left {
    top: 118px;
    right: 12px;
    bottom: auto;
    left: auto;
  }

  body.site-public .map-legend,
  body.site-public .map-legend-toggle {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 6px + env(safe-area-inset-bottom, 0px));
    max-height: min(28dvh, calc(100dvh - var(--mobile-time-dock-height, 148px) - 96px));
  }

  body.site-public .map-nearby-button {
    bottom: calc(var(--mobile-time-dock-height, 148px) + 6px + env(safe-area-inset-bottom, 0px));
  }
}


/* Mobile landscape final adjustment: keep top overlays below Leaflet attribution. */
@media (max-width: 860px) {
  body.site-public .map-display-time {
    top: 22px;
  }

  body.site-public .map-notice-ticker:not([hidden]) {
    top: 56px;
  }

  body.site-public .map-layer-controls {
    top: 100px;
  }

  body.site-public .leaflet-top.leaflet-left {
    top: 144px;
  }
}

@media (max-width: 860px) and (max-height: 500px) {
  body.site-public .map-display-time {
    top: 18px;
  }

  body.site-public .map-notice-ticker:not([hidden]) {
    top: 50px;
  }

  body.site-public .map-layer-controls {
    top: 88px;
  }

  body.site-public .leaflet-top.leaflet-left {
    top: 132px;
  }
}

/* Mobile very-short viewport: hide zoom buttons to avoid overlay collisions. */
@media (max-width: 860px) and (max-height: 390px) {
  .leaflet-top.leaflet-left .leaflet-control-zoom {
    display: none !important;
  }
}

/* Calendar popover stacking fix: keep the date picker above the map on mobile. */
body.site-public .time-control-panel,
body.site-admin .time-control-panel,
body.site-public .time-control-dock,
body.site-admin .time-control-dock {
  overflow: visible;
}

.calendar-popover {
  z-index: 4200;
}

@media (max-width: 860px) {
  body.site-public .side-column,
  body.site-admin .side-column,
  body.site-public .side-panel,
  body.site-admin .side-panel {
    overflow: visible;
  }

  body.site-public .time-control-dock,
  body.site-admin .time-control-dock {
    position: relative;
    z-index: 4100;
  }
}

/* Nearby modal stacking and height fix: keep it above the mobile time panel and scrollable on short viewports. */
@media (max-width: 860px) {
  body.site-public .nearby-panel.is-mobile-modal,
  body.site-admin .nearby-panel.is-mobile-modal {
    z-index: 4300;
    height: auto;
    min-height: min(280px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  body.site-public .nearby-panel.is-mobile-modal[data-active-tab="nearby"] #nearbyContent,
  body.site-admin .nearby-panel.is-mobile-modal[data-active-tab="nearby"] #nearbyContent {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile time-control spacing fix: lower the slider-wrap controls slightly to avoid overlap inside the card. */
@media (max-width: 860px) {
  body.site-public .time-control-panel .slider-wrap__body,
  body.site-admin .time-control-panel .slider-wrap__body {
    margin-top: 4px;
  }
}

@media (max-width: 860px) and (max-height: 500px) {
  body.site-public .time-control-panel .slider-wrap__body,
  body.site-admin .time-control-panel .slider-wrap__body {
    margin-top: 3px;
  }
}

/* Mobile graph panel position fix: align the graph card vertically with the nearby-station card. */
@media (max-width: 860px) {
  body.site-public .chart-panel.is-mobile-inline,
  body.site-admin .chart-panel.is-mobile-inline,
  body.site-public .side-panel > .chart-panel.is-mobile-inline,
  body.site-admin .side-panel > .chart-panel.is-mobile-inline {
    top: 50%;
    bottom: auto;
    z-index: 4300;
    height: min(292px, calc(100dvh - 24px));
    min-height: min(292px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    transform: translateY(-50%);
  }
}

/* Mobile nearby consent: keep the unused content area white instead of gray. */
@media (max-width: 860px) {
  body.site-public .nearby-panel.is-mobile-modal.is-nearby-consent,
  body.site-admin .nearby-panel.is-mobile-modal.is-nearby-consent,
  body.site-public .nearby-panel.is-mobile-modal.is-nearby-consent #nearbyContent,
  body.site-admin .nearby-panel.is-mobile-modal.is-nearby-consent #nearbyContent {
    background: #fff;
  }
}
