.tropics-main {
  width: min(1448px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 36px);
}

.tropics-product {
  color: #172333;
}

.tropics-product-header,
.tropics-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tropics-product-header {
  margin-bottom: 14px;
}

.tropics-product-header span {
  color: #607087;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tropics-product-header h1 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.05;
}

.tropics-outlook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.tropics-basin-card { min-width: 0; }
.tropics-basin-card h2 { margin: 0 0 9px; color: #26364a; font-size: 1rem; }
.tropics-basin-card footer { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px 0; color: #647287; font-size: .76rem; }
.tropics-basin-card footer a { color: #164f7e; font-weight: 750; }
.tropics-status { margin-top: 11px; padding: 12px; border: 1px solid #d6e0e8; border-radius: 10px; background: #f8fbfd; }
.tropics-status h3 { margin: 0 0 9px; color: #334155; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.tropics-status>p,.tropics-none { margin: 0; color: #64748b; font-size: .76rem; }
.tropics-system-list { display: grid; gap: 8px; }
.tropics-system { padding: 9px; border: 1px solid #dce5eb; border-left: 4px solid #2477a7; border-radius: 7px; background: #fff; }
.tropics-system-area.tropics-risk-low { border-left-color: #f2cf24; }
.tropics-system-area.tropics-risk-medium { border-left-color: #f28c28; }
.tropics-system-area.tropics-risk-high { border-left-color: #d62828; }
.tropics-system-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tropics-system-title strong,.tropics-system-title a { color: #172f47; font-size: .78rem; font-weight: 850; text-decoration: none; }
.tropics-system-title a:hover { text-decoration: underline; }
.tropics-system-badge { flex: 0 0 auto; padding: 3px 5px; border-radius: 4px; color: #fff; background: #2477a7; font-size: .49rem; font-weight: 900; letter-spacing: .06em; }
.tropics-system-area .tropics-system-badge { color: #533500; background: #f8d37d; }
.tropics-system-name { margin: 4px 0 0; color: #64748b; font-size: .68rem; }
.tropics-system-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 8px 0 0; }
.tropics-system-facts div { min-width: 0; }
.tropics-system-facts dt { color: #718096; font-size: .51rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tropics-system-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; color: #26384a; font-size: .68rem; font-weight: 750; }

.tropics-basin-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #edf2f6;
  border-radius: 9px;
}

.tropics-basin-tabs button {
  padding: 9px 13px;
  color: #435165;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.tropics-basin-tabs button.active {
  color: #fff;
  background: #0b2948;
}

.tropics-outlook {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e0e7;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(15 35 55 / 10%);
}

.tropics-outlook img {
  display: block;
  width: 100%;
  height: auto;
}

.tropics-enlarge { width: 100%; padding: 0; color: inherit; text-align: left; cursor: zoom-in; }

.tropics-lightbox { position: fixed; z-index: 10000; inset: 0; width: min(96vw, 1500px); height: min(94vh, 1125px); margin: auto; padding: 0; overflow: hidden; background: #f6f8fb; border: 1px solid #8da0b2; border-radius: 12px; box-shadow: 0 0 0 100vmax rgb(4 15 27 / 82%), 0 28px 90px rgb(0 0 0 / 45%); }
.tropics-lightbox[hidden] { display: none; }
.tropics-lightbox-open { overflow: hidden; }
.tropics-lightbox header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: #fff; background: #0b2942; }
.tropics-lightbox h2 { margin: 0; font-size: 1rem; }
.tropics-lightbox header button { width: 36px; height: 36px; color: #fff; font: 300 2rem/1 sans-serif; background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.tropics-lightbox header button:hover { background: rgb(255 255 255 / 12%); }
.tropics-lightbox > div { display: grid; height: calc(100% - 56px); overflow: auto; place-items: center; }
.tropics-lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }

.tropics-graphic-status {
  display: grid;
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: min(72vw, 780px);
  place-items: center;
  color: #526174;
  font-weight: 700;
  background: #f7f9fb;
}

.tropics-graphic-status[hidden] {
  display: none;
}

.tropics-graphic-status.is-error {
  color: #9e2f2f;
}

.tropics-product-footer {
  padding: 12px 2px 0;
  color: #647287;
  font-size: 0.78rem;
}

.tropics-product-footer > div {
  display: flex;
  gap: 12px;
}

.tropics-product-footer strong {
  color: #26364a;
}

.tropics-product-footer a {
  color: #164f7e;
  font-weight: 750;
}

@media (max-width: 640px) {
  .tropics-main {
    padding: 10px;
  }

  .tropics-outlook {
    border-radius: 8px;
  }

  .tropics-product-header,
  .tropics-product-footer,
  .tropics-product-footer > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .tropics-basin-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .tropics-basin-tabs button {
    flex: 1 0 auto;
  }
}

@media (max-width: 560px) {
  .tropics-outlook-grid { grid-template-columns: 1fr; }
}
