:root {
  --ink: #123039;
  --deep: #0b252c;
  --deep-soft: #143940;
  --teal: #1b8e8a;
  --teal-light: #91d9cf;
  --aqua: #dff3ef;
  --sand: #f2eee5;
  --paper: #fbfaf6;
  --white: #ffffff;
  --muted: #60777d;
  --line: #cfddd9;
  --sun: #e9a95f;
  --coral: #d9776c;
  --green: #397c61;
  --shell: min(1760px, calc(100% - 8vw));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.content-shell { width: var(--shell); margin: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
}
.eyebrow.light { color: var(--teal-light); }

.forecast-hero {
  min-height: 860px;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--deep);
}
.hero-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
  animation: photoBreath 22s ease-in-out infinite alternate;
}
.hero-tone {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 30, 37, .88) 0%, rgba(5, 30, 37, .65) 43%, rgba(5, 30, 37, .11) 78%),
    linear-gradient(0deg, rgba(4, 25, 31, .72) 0%, transparent 48%, rgba(4, 25, 31, .22) 100%);
  transition: background .6s;
}
.weather-cloud .hero-tone {
  background:
    linear-gradient(90deg, rgba(7, 29, 36, .9) 0%, rgba(7, 36, 43, .69) 48%, rgba(8, 42, 48, .25) 100%),
    linear-gradient(0deg, rgba(4, 25, 31, .75) 0%, transparent 45%, rgba(4, 25, 31, .28) 100%);
}
.weather-rain .hero-tone {
  background:
    linear-gradient(90deg, rgba(5, 22, 30, .94) 0%, rgba(7, 31, 39, .78) 52%, rgba(9, 39, 46, .46) 100%),
    linear-gradient(0deg, rgba(4, 19, 25, .82), transparent 50%);
}
.weather-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .5s; }
.weather-rain .weather-atmosphere { opacity: .8; }
.weather-atmosphere i {
  width: 1px;
  height: 80px;
  position: absolute;
  top: -100px;
  left: 18%;
  background: linear-gradient(transparent, rgba(220, 246, 246, .72));
  transform: rotate(13deg);
  animation: rainFall 1.1s linear infinite;
}
.weather-atmosphere i:nth-child(2) { left: 54%; animation-delay: -.5s; animation-duration: .9s; }
.weather-atmosphere i:nth-child(3) { left: 84%; animation-delay: -.8s; animation-duration: 1.3s; }

.site-header {
  width: var(--shell);
  min-height: 88px;
  margin: auto;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand { display: flex; align-items: center; gap: 13px; color: white; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  font: 600 20px Georgia, serif;
}
.brand b, .brand small { display: block; }
.brand b { font-size: 14px; letter-spacing: .09em; }
.brand small { margin-top: 3px; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .14em; }
.header-meta { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.72); font-size: 11px; }
.model-status { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; letter-spacing: .1em; }
.model-status i { width: 6px; height: 6px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #68e0a4; box-shadow: 0 0 0 5px rgba(104,224,164,.12); }
.maldives-time b { margin-left: 8px; color: white; font-variant-numeric: tabular-nums; }

.hero-inner {
  width: var(--shell);
  margin: auto;
  position: relative;
  z-index: 3;
  padding: 105px 0 210px;
}
.hero-labels { display: flex; align-items: center; gap: 12px; color: #b5e7e0; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
#data-mode-badge { padding: 4px 7px; color: #fff0dc; border: 1px solid rgba(255,222,180,.5); border-radius: 4px; background: rgba(120,74,28,.32); font-size: 9px; letter-spacing: .08em; }
.hero-location h1 {
  max-width: 1050px;
  margin: 19px 0 0;
  font: 500 clamp(58px, 6.4vw, 112px)/.98 "Iowan Old Style", "Palatino Linotype", "Songti SC", Georgia, serif;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.hero-location > p { margin: 17px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }
.hero-weather { display: flex; align-items: end; gap: 24px; margin-top: 45px; }
.hero-weather > strong {
  font: 400 clamp(86px, 9.5vw, 150px)/.72 "Iowan Old Style", Georgia, serif;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}
.hero-condition { padding-bottom: 1px; }
.hero-condition b, .hero-condition span { display: block; }
.hero-condition b { font-size: 21px; font-weight: 600; }
.hero-condition span { margin-top: 9px; color: rgba(255,255,255,.7); font-size: 13px; }
.hero-brief { max-width: 710px; margin: 36px 0 0; color: rgba(255,255,255,.82); font: 400 17px/1.8 "Iowan Old Style", "Songti SC", Georgia, serif; }
.hero-signals { max-width: 800px; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-signals > div { padding: 16px 14px 0 0; }
.hero-signals span, .hero-signals b { display: block; }
.hero-signals span { color: rgba(255,255,255,.55); font-size: 11px; }
.hero-signals b { margin-top: 7px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.destination-dock {
  width: min(1280px, calc(100% - 8vw));
  min-height: 92px;
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(340px, 1fr) 180px;
  gap: 10px;
  padding: 10px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 16px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 24px 70px rgba(5,30,37,.24);
  backdrop-filter: blur(22px);
}
.type-switch { display: flex; padding: 5px; border-radius: 11px; background: #e9efec; }
.type-switch button {
  min-width: 108px;
  padding: 0 15px;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.type-switch button.active { color: white; background: var(--deep); box-shadow: 0 5px 16px rgba(11,37,44,.14); }
.destination-picker { min-width: 0; position: relative; }
.destination-trigger {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  text-align: left;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}
.destination-trigger > span { min-width: 0; }
.destination-trigger small, .destination-trigger b, .destination-trigger em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destination-trigger small { color: var(--muted); font-size: 10px; }
.destination-trigger b { margin-top: 3px; font-size: 15px; }
.destination-trigger em { margin-top: 2px; color: var(--muted); font-size: 11px; font-style: normal; }
.destination-trigger > i { font-size: 24px; font-style: normal; transition: transform .2s; }
.destination-trigger[aria-expanded="true"] > i { transform: rotate(180deg); }
.destination-popover {
  width: 100%;
  max-height: 430px;
  position: absolute;
  z-index: 30;
  left: 0;
  bottom: calc(100% + 14px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 25px 80px rgba(4,30,37,.22);
}
.destination-search { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.destination-search span { color: var(--teal); font-size: 20px; }
.destination-search input { width: 100%; padding: 7px 0; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 14px; }
.destination-options { max-height: 340px; overflow-y: auto; padding: 7px; }
.empty-options { padding: 28px 18px; color: var(--muted); text-align: center; }
.destination-option {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 6px 15px;
  padding: 13px 12px;
  text-align: left;
  color: var(--ink);
  border: 0;
  border-radius: 9px;
  background: transparent;
}
.destination-option:hover, .destination-option:focus-visible, .destination-option.selected { outline: 0; background: var(--aqua); }
.destination-option b, .destination-option em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destination-option b { font-size: 14px; }
.destination-option em { color: var(--muted); font-size: 11px; font-style: normal; }
.destination-option span { grid-row: 1 / 3; grid-column: 2; align-self: center; padding: 5px 7px; color: var(--teal); border-radius: 999px; background: #edf7f4; font-size: 10px; }
.share-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: white;
  border: 0;
  border-radius: 11px;
  background: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.share-button:hover { background: var(--deep); }
.share-button i { font-size: 19px; font-style: normal; }
.test-banner {
  position: absolute;
  z-index: 6;
  left: 4vw;
  bottom: 10px;
  color: rgba(255,255,255,.66);
  font-size: 10px;
}
.photo-credit {
  position: absolute;
  z-index: 6;
  right: 4vw;
  bottom: 10px;
  color: rgba(255,255,255,.66);
  font-size: 10px;
  text-decoration: none;
}

.loading-state {
  width: var(--shell);
  min-height: 150px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.loading-state b, .loading-state small { display: block; }
.loading-state b { font: 500 21px "Iowan Old Style", "Songti SC", Georgia, serif; }
.loading-state small { margin-top: 5px; color: var(--muted); }
.loader { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--teal); border-radius: 50%; animation: spin .85s linear infinite; }

.journey-section { padding: 105px 0 90px; background: var(--paper); }
.point-tabs { display: flex; gap: 8px; margin-bottom: 34px; overflow-x: auto; }
.point-tabs:empty { display: none; }
.point-tabs button { padding: 9px 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: transparent; }
.point-tabs button.active { color: white; border-color: var(--deep); background: var(--deep); }
.journey-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: end; }
.journey-copy h2, .section-heading h2, .detail-heading h2, .method-layout h2 {
  margin: 0;
  font: 500 clamp(40px, 4.3vw, 72px)/1.08 "Iowan Old Style", "Palatino Linotype", "Songti SC", Georgia, serif;
  letter-spacing: -.04em;
}
.journey-copy > p:last-of-type { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.journey-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.journey-actions span { padding: 9px 13px; color: var(--deep); border-radius: 999px; background: var(--aqua); font-size: 12px; }
.condition-index { display: flex; align-items: center; gap: 24px; padding: 25px 0 5px; border-top: 1px solid var(--line); }
.condition-ring {
  --score: 0;
  width: 94px;
  height: 94px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--score) * 1%), #dfe9e6 0);
}
.condition-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--paper); }
.condition-ring strong { position: relative; z-index: 1; font: 500 31px Georgia, serif; font-variant-numeric: tabular-nums; }
.condition-index span, .condition-index b, .condition-index small { display: block; }
.condition-index span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.condition-index b { margin-top: 5px; font-size: 18px; }
.condition-index small { max-width: 330px; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.journey-factors { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-factors article { padding: 24px 28px 26px 0; border-right: 1px solid var(--line); }
.journey-factors article:not(:first-child) { padding-left: 28px; }
.journey-factors article:last-child { border-right: 0; }
.journey-factors span, .journey-factors b, .journey-factors small { display: block; }
.journey-factors span { color: var(--muted); font-size: 11px; }
.journey-factors b { margin-top: 9px; font: 500 25px "Iowan Old Style", Georgia, serif; font-variant-numeric: tabular-nums; }
.journey-factors small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.week-section { padding: 95px 0; background: var(--sand); }
.hours-section, .activities-section, .trend-section, .detail-section { padding: 95px 0; }
.hours-section, .trend-section { background: var(--paper); }
.activities-section, .detail-section { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: right; }
.section-heading h2, .detail-heading h2 { font-size: clamp(36px, 3.4vw, 58px); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #bdccc7; border-bottom: 1px solid #bdccc7; }
.day {
  min-width: 0;
  position: relative;
  padding: 25px 18px 28px;
  text-align: left;
  color: var(--ink);
  border: 0;
  border-right: 1px solid #bdccc7;
  background: transparent;
  transition: color .25s, background .25s;
}
.day:last-child { border-right: 0; }
.day:hover { background: rgba(255,255,255,.55); }
.day.active { color: white; background: var(--deep); }
.day time, .day strong, .day span, .day small { display: block; }
.day time { font-size: 12px; font-weight: 700; }
.day .day-symbol { margin: 30px 0 18px; color: var(--teal); font-size: 31px; }
.day.active .day-symbol { color: var(--teal-light); }
.day strong { font: 500 28px Georgia, serif; font-variant-numeric: tabular-nums; }
.day > span:not(.day-symbol) { margin-top: 8px; color: var(--muted); font-size: 12px; }
.day small { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.day.active > span, .day.active small { color: rgba(255,255,255,.66); }
.day em { position: absolute; right: 15px; top: 22px; padding: 3px 7px; color: var(--green); border-radius: 999px; background: #ddefe6; font-size: 9px; font-style: normal; }

.window-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.window-list::-webkit-scrollbar { display: none; }
.weather-window { min-height: 222px; position: relative; padding: 23px 18px; border-right: 1px solid var(--line); scroll-snap-align: start; }
.weather-window time, .weather-window b, .weather-window span, .weather-window small { display: block; }
.weather-window time { color: var(--muted); font-size: 11px; }
.weather-window time b { margin-top: 5px; color: var(--ink); font: 500 25px Georgia, serif; }
.weather-symbol { margin: 25px 0 10px; color: var(--sun); font-size: 29px; }
.weather-window > b { font-size: 13px; }
.weather-window > span:not(.weather-symbol) { margin-top: 6px; color: var(--teal); font: 500 23px Georgia, serif; }
.weather-window small { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.activity-list { border-top: 1px solid var(--line); }
.activity-item {
  display: grid;
  grid-template-columns: 90px minmax(170px,.8fr) minmax(240px,1.2fr) 1.5fr;
  align-items: center;
  gap: 25px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.activity-score { font: 500 38px Georgia, serif; font-variant-numeric: tabular-nums; }
.activity-score small { color: var(--muted); font: 400 12px system-ui; }
.activity-name span, .activity-name b { display: block; }
.activity-name span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.activity-name b { margin-top: 5px; font-size: 16px; }
.activity-status { color: var(--muted); font-size: 12px; line-height: 1.6; }
.activity-bar { height: 5px; position: relative; border-radius: 9px; background: #e4ecea; }
.activity-bar i { width: var(--score); height: 100%; display: block; border-radius: inherit; background: var(--teal); transition: width .8s; }
.activity-item.medium .activity-bar i { background: var(--sun); }
.activity-item.high .activity-bar i { background: var(--coral); }
.activity-bar span { position: absolute; right: 0; top: 13px; color: var(--muted); font-size: 10px; }

.trend-heading { align-items: end; }
.chart-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #e5ecea; }
.chart-tabs button { padding: 9px 15px; color: var(--muted); border: 0; border-radius: 7px; background: transparent; font-size: 12px; }
.chart-tabs button.active { color: var(--deep); background: white; box-shadow: 0 2px 10px rgba(11,37,44,.08); }
.chart-tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chart-wrap { padding: 30px 0 0; border-top: 1px solid var(--line); }
.chart-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.chart-topline div { display: flex; align-items: baseline; gap: 14px; }
.chart-topline span { color: var(--muted); font-size: 12px; }
.chart-topline b { font: 500 26px Georgia, serif; font-variant-numeric: tabular-nums; }
.chart-topline small { color: var(--muted); font-size: 11px; }
.chart-stage { height: 420px; position: relative; margin-top: 20px; }
.chart-stage canvas { width: 100%; height: 100%; display: block; }
.chart-empty {
  position: absolute;
  inset: 55px 0 45px 45px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: rgba(251,250,246,.9);
}
.chart-empty b, .chart-empty span { display: block; }
.chart-empty b { font: 500 23px "Iowan Old Style", "Songti SC", Georgia, serif; }
.chart-empty span { max-width: 470px; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.chart-tooltip { min-width: 135px; position: absolute; z-index: 5; padding: 10px 12px; pointer-events: none; color: white; border-radius: 8px; background: rgba(11,37,44,.94); font-size: 11px; }
.chart-tooltip b, .chart-tooltip span { display: block; }
.chart-tooltip span { margin-top: 4px; color: rgba(255,255,255,.65); }
.chart-reader { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.chart-reader input { flex: 1; accent-color: var(--teal); }
.chart-reader output { min-width: 260px; color: var(--muted); font-size: 11px; text-align: right; }

.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.data-provenance { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.data-provenance span { padding: 6px 9px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.day-insight { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day-insight article { min-height: 115px; padding: 22px 22px 22px 0; border-right: 1px solid var(--line); }
.day-insight article:not(:first-child) { padding-left: 22px; }
.day-insight article:last-child { border-right: 0; }
.day-insight span, .day-insight b, .day-insight small { display: block; }
.day-insight span { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.day-insight b { margin-top: 8px; font-size: 14px; }
.day-insight small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.desktop-table { margin-top: 38px; overflow-x: auto; }
table { width: 100%; min-width: 1300px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 15px 16px; text-align: left; border-bottom: 1px solid #e0e8e6; font-size: 12px; white-space: nowrap; }
th { color: var(--muted); background: #f6f8f7; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
td small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
tbody tr:hover { background: #f5faf8; }
.mobile-slots { display: none; }

.method-section { padding: 100px 0; color: white; background: var(--deep); }
.method-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; }
.method-layout h2 { font-size: clamp(38px, 4vw, 65px); }
.method-copy p { margin: 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.method-copy b, .method-copy span { display: block; }
.method-copy b { font-size: 15px; }
.method-copy span { margin-top: 9px; color: #9db3b7; font-size: 12px; line-height: 1.7; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 18px; color: white; border-radius: 999px; background: var(--deep); box-shadow: 0 12px 35px rgba(0,0,0,.18); font-size: 12px; }
footer { width: var(--shell); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
footer button { padding: 4px 0; color: inherit; border: 0; border-bottom: 1px dotted transparent; background: transparent; font: inherit; cursor: pointer; }
footer button:hover, footer button:focus-visible { color: var(--ink); border-bottom-color: currentColor; outline: 0; }

.data-source-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 34px;
  color: var(--ink);
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(3,24,30,.35);
}
.data-source-dialog::backdrop { background: rgba(3,24,30,.62); backdrop-filter: blur(5px); }
.data-source-dialog h2 { margin: 8px 0 26px; font-size: 31px; }
.data-source-dialog > p:not(.eyebrow) { margin: 22px 0 8px; font-size: 12px; }
.data-source-dialog > small { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; }
.dialog-close { width: 38px; height: 38px; position: absolute; top: 15px; right: 15px; color: var(--muted); border: 0; border-radius: 50%; background: var(--aqua); font-size: 24px; cursor: pointer; }
.dialog-windy-logo { width: 157px; display: block; padding: 13px 15px; border-radius: 8px; background: var(--deep); line-height: 0; }
.dialog-windy-logo img { width: 100%; height: auto; display: block; opacity: 1; }

@keyframes photoBreath { to { transform: scale(1.065); } }
@keyframes rainFall { to { transform: translate(180px, 1000px) rotate(13deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  :root { --shell: min(calc(100% - 56px), 1760px); }
  .forecast-hero { min-height: 820px; }
  .journey-layout { gap: 6vw; }
  .destination-dock { grid-template-columns: auto minmax(270px,1fr) 155px; }
  .days { grid-template-columns: repeat(7, 180px); overflow-x: auto; scroll-snap-type: x proximity; }
  .day { scroll-snap-align: start; }
  .journey-factors { grid-template-columns: 1fr 1fr; }
  .journey-factors article:nth-child(2) { border-right: 0; }
  .journey-factors article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .day-insight { grid-template-columns: 1fr 1fr; }
  .day-insight article:first-child { grid-column: 1 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 36px); }
  .forecast-hero { min-height: 900px; }
  .site-header { min-height: 76px; }
  .model-status { display: none; }
  .hero-inner { padding: 82px 0 280px; }
  .hero-location h1 { font-size: clamp(49px, 12vw, 78px); }
  .hero-brief { font-size: 15px; }
  .hero-signals { grid-template-columns: 1fr 1fr; }
  .hero-signals > div { padding-bottom: 12px; }
  .destination-dock { width: calc(100% - 36px); bottom: 48px; grid-template-columns: 1fr; }
  .type-switch { min-height: 48px; }
  .type-switch button { flex: 1; }
  .destination-trigger { min-height: 70px; }
  .share-button { min-height: 48px; }
  .destination-popover { bottom: calc(100% + 8px); }
  .test-banner { right: 18px; left: 18px; bottom: 15px; text-align: center; }
  .photo-credit { display: none; }
  .journey-section, .week-section, .hours-section, .activities-section, .trend-section, .detail-section { padding: 72px 0; }
  .journey-layout, .method-layout { grid-template-columns: 1fr; gap: 45px; }
  .section-heading, .detail-heading { align-items: start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .condition-index { max-width: 560px; }
  .trend-heading { align-items: start; }
  .chart-tabs { max-width: 100%; overflow-x: auto; }
  .activity-item { grid-template-columns: 70px 1fr; gap: 12px 20px; }
  .activity-status, .activity-bar { grid-column: 2; }
  .chart-stage { height: 350px; }
  .desktop-table { display: none; }
  .mobile-slots { display: grid; gap: 10px; margin-top: 30px; }
  .slot-card { border-top: 1px solid var(--line); }
  .slot-card summary { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer; }
  .slot-card summary::-webkit-details-marker { display: none; }
  .slot-card summary time { font: 500 20px Georgia, serif; }
  .slot-card summary b { font-size: 13px; }
  .slot-card summary span { color: var(--teal); font-size: 17px; }
  .slot-data { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding-bottom: 15px; background: var(--line); }
  .slot-data div { padding: 12px; background: #f7faf9; }
  .slot-data span, .slot-data b { display: block; }
  .slot-data span { color: var(--muted); font-size: 10px; }
  .slot-data b { margin-top: 4px; font-size: 12px; }
  .method-layout { gap: 50px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .forecast-hero { min-height: 920px; }
  .brand small, .maldives-time { display: none; }
  .hero-inner { padding-top: 66px; }
  .hero-labels { align-items: start; flex-direction: column; gap: 8px; }
  .hero-location h1 { font-size: 48px; overflow-wrap: anywhere; }
  .hero-weather { margin-top: 38px; gap: 15px; }
  .hero-weather > strong { font-size: 88px; }
  .hero-condition b { font-size: 17px; }
  .hero-signals { margin-top: 30px; }
  .destination-dock { width: calc(100% - 24px); }
  .destination-option { grid-template-columns: minmax(0,1fr); }
  .destination-option span { grid-row: auto; grid-column: auto; justify-self: start; }
  .journey-copy h2 { font-size: 41px; }
  .journey-copy > p:last-of-type { font-size: 14px; }
  .condition-index { align-items: start; flex-direction: column; }
  .journey-factors { grid-template-columns: 1fr; }
  .journey-factors article, .journey-factors article:not(:first-child) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .journey-factors article:last-child { border-bottom: 0; }
  .section-heading h2, .detail-heading h2 { font-size: 37px; }
  .section-heading { margin-bottom: 28px; }
  .window-list { grid-auto-columns: 145px; }
  .activity-item { grid-template-columns: 60px 1fr; }
  .activity-score { font-size: 31px; }
  .chart-topline { align-items: start; flex-direction: column; }
  .chart-stage { height: 320px; }
  .chart-reader { align-items: start; flex-direction: column; }
  .chart-reader input { width: 100%; }
  .chart-reader output { min-width: 0; text-align: left; }
  .day-insight { grid-template-columns: 1fr; }
  .day-insight article, .day-insight article:first-child, .day-insight article:not(:first-child) { grid-column: auto; min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .data-provenance { justify-content: flex-start; }
  .method-section { padding: 75px 0; }
  .method-layout h2 { font-size: 38px; }
  footer { align-items: start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
