/**
 * Thoitietnhanh.edu.vn — Meteorological Tools & Specialized Subpages Stylesheet
 * Brand design system variables & dual selector support (ttn-* and tt-*)
 */

:root {
  --ttn-text-main: var(--ttn-slate-900, #0f172a);
  --ttn-text-muted: var(--ttn-slate-500, #64748b);
  --ttn-text-subtle: var(--ttn-slate-400, #94a3b8);
  --ttn-text-dim: var(--ttn-slate-400, #94a3b8);
  --ttn-border-card: var(--ttn-slate-200, #e2e8f0);
  --ttn-border-light: var(--ttn-slate-200, #e2e8f0);
  --ttn-card-shadow: var(--ttn-shadow-card, 0 4px 16px -4px rgba(15, 23, 42, 0.05));
  --ttn-card-shadow-hover: var(--ttn-shadow-hover, 0 10px 24px -6px rgba(var(--ttn-primary-rgb), 0.12));
  --ttn-primary-bg: var(--ttn-primary-subtle);
  --ttn-primary-hover: var(--ttn-primary-dark);
  --ttn-radius-card: 16px;
  --ttn-radius-pill: 9999px;
  --ttn-secondary: var(--ttn-accent, #06b6d4);
  --ttn-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --moment: #0284c7;
  --moment-soft: #f0f9ff;
  --nom-bg: #f0fdf4;
  --nom-color: #0d9488;
  --sun-gold: #f59e0b;
  --tt24-sun-bg: #fffbeb;
  /* Legacy alias mappings */
  --tt-text-main: var(--ttn-text-main);
  --tt-text-muted: var(--ttn-text-muted);
  --tt-text-subtle: var(--ttn-text-subtle);
  --tt-text-dim: var(--ttn-text-dim);
  --tt-border-card: var(--ttn-border-card);
  --tt-border-light: var(--ttn-border-light);
  --tt-card-shadow: var(--ttn-card-shadow);
  --tt-card-shadow-hover: var(--ttn-card-shadow-hover);
  --tt-primary-bg: var(--ttn-primary-bg);
  --tt-primary-border: var(--ttn-primary-border);
  --tt-primary-hover: var(--ttn-primary-hover);
  --tt-radius-card: var(--ttn-radius-card);
  --tt-radius-pill: var(--ttn-radius-pill);
  --tt-secondary: var(--ttn-secondary);
  --tt-transition: var(--ttn-transition);
}

/* ==========================================================================
   INTERNATIONAL WEATHER PAGE (.ttn-intl-*)
   ========================================================================== */

/* ==========================================================================
   INTERNATIONAL WEATHER PAGE (.ttn-intl-*)
   ========================================================================== */

.ttn-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.ttn-intl-page {
  position: relative;
  overflow: hidden;
  padding: 4px 0 60px;
  z-index: 2;
}

.ttn-intl-hero {
  margin-bottom: 36px;
}

.ttn-intl-hero__title {
  margin: 18px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tt-text-main);
  line-height: 1.2;
}

.ttn-intl-hero__desc {
  margin: 12px 0 0;
  max-width: 860px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--tt-text-muted);
}

.ttn-intl-ref {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-radius: 22px;
  padding: 14px 22px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  box-sizing: border-box;
}

.ttn-intl-ref__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #15803d;
}

.ttn-intl-ref__city {
  font-size: 14.5px;
  color: #4a4266;
}

.ttn-intl-ref__city strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--tt-text-main);
  margin-left: 2px;
}

.ttn-intl-ref__link {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ttn-primary);
  transition: color var(--tt-transition);
}

.ttn-intl-ref__link:hover {
  color: var(--tt-secondary);
}

.ttn-intl-chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ttn-chip {
  border: 1px solid rgba(26, 22, 38, 0.10);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #565073;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  user-select: none;
}

.ttn-chip:hover {
  border-color: rgba(22, 163, 74, 0.35);
  color: #15803d;
  transform: translateY(-2px);
}

.ttn-chip.is-active {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
  color: #15803d;
  font-weight: 600;
}

.ttn-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b7bff;
  flex-shrink: 0;
}

.ttn-intl-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
  height: 48px;
  margin-top: 20px;
  background: #ffffff;
  border: 1.5px solid rgba(26, 22, 38, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.ttn-intl-search-box:hover {
  border-color: rgba(26, 22, 38, 0.25);
}

.ttn-intl-search-box:focus-within {
  background: #ffffff;
  border-color: var(--ttn-primary);
  box-shadow: 0 0 0 4px rgba(var(--ttn-primary-rgb), 0.15);
}

.ttn-intl-search-box__icon {
  flex-shrink: 0;
  color: #64748b;
  margin-right: 10px;
  pointer-events: none;
  transition: color 0.2s;
}

.ttn-intl-search-box:focus-within .ttn-intl-search-box__icon {
  color: var(--ttn-primary);
}

.ttn-intl-search-box input,
.ttn-intl-search-box input[type="text"],
.ttn-intl-search-box .ttn-intl-search-box__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  color: #1e293b !important;
  line-height: normal !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.ttn-intl-search-box input:focus,
.ttn-intl-search-box input[type="text"]:focus,
.ttn-intl-search-box .ttn-intl-search-box__input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ttn-intl-search-box__clear {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  transition: all 0.15s ease;
}

.ttn-intl-search-box__clear:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.ttn-intl-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ttn-intl-region__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ttn-intl-region__title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tt-text-main);
}

.ttn-intl-region__count {
  font-size: 13.5px;
  color: var(--tt-text-subtle);
}

.ttn-intl-region__more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ttn-primary);
  cursor: pointer;
  margin-left: auto;
}

.ttn-intl-region__more:hover {
  color: var(--tt-secondary);
}

.ttn-intl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.ttn-intl-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(26, 22, 38, 0.08);
  box-shadow: 0 14px 30px -28px rgba(15, 23, 42, 0.7);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

.ttn-intl-card:hover {
  border-color: rgba(22, 163, 74, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -24px rgba(22, 163, 74, 0.6);
}

.ttn-intl-card__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ttn-intl-card__icon svg {
  width: 38px;
  height: 38px;
  display: block;
  overflow: visible;
}

.ttn-intl-card__info {
  min-width: 0;
  flex: 1;
}

.ttn-intl-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tt-text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.ttn-intl-card__cities {
  font-size: 12.5px;
  color: var(--tt-text-subtle);
  margin-top: 2px;
}

.ttn-intl-card__temp {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #15803d;
  flex: none;
  text-align: right;
  min-width: 38px;
}

.ttn-intl-empty {
  border-radius: 26px;
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(26, 22, 38, 0.16);
  color: var(--tt-text-muted);
  font-size: 15.5px;
}

.ttn-intl-seo-card {
  padding: 32px 28px;
  box-sizing: border-box;
}

.ttn-breadcrumb__sep {
  color: var(--tt-text-subtle);
  margin: 0 2px;
}

.ttn-breadcrumb__current {
  color: var(--tt-text-main);
  font-weight: 500;
}

/* Responsive adjustments for International Weather Page */

@media (max-width: 900px) {
  .ttn-container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .ttn-intl-hero__title {
    font-size: 28px;
  }
  .ttn-intl-hero__desc {
    font-size: 14.5px;
    line-height: 1.65;
  }
  .ttn-intl-ref {
    padding: 12px 16px;
    gap: 10px 14px;
    border-radius: 18px;
  }
  .ttn-intl-ref__link {
    margin-left: 0;
    width: 100%;
    margin-top: 2px;
  }
  .ttn-intl-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
    gap: 8px;
  }
  .ttn-intl-chips::-webkit-scrollbar {
    display: none;
  }
  .ttn-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 13px;
  }
  .ttn-intl-search-box {
    max-width: 100%;
    width: 100%;
  }
  .ttn-intl-region__head {
    margin-bottom: 12px;
  }
  .ttn-intl-region__title {
    font-size: 20px;
  }
  .ttn-intl-region__more {
    margin-left: 0;
    width: 100%;
    margin-top: 2px;
  }
  .ttn-intl-seo-card {
    padding: 22px 16px;
  }
}

@media (max-width: 580px) {
  .ttn-intl-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Details and FAQ Styles */

/* Details and FAQ Styles */

.ttn-faq-list details {
  border-bottom: 1px solid var(--tt-border-card);
  padding: 14px 0;
}

.ttn-faq-list summary {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--tt-text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ttn-faq-list summary::-webkit-details-marker {
  display: none;
}

.ttn-faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--ttn-primary);
  transition: transform 0.2s ease;
}

.ttn-faq-list details[open] summary::after {
  content: "−";
  color: var(--tt-secondary);
}

.ttn-faq-item__a {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tt-text-muted);
}

/* ==========================================================================
   DETAIL MULTI-DAY & HOURLY SUBVIEWS (.tt24-*)
   ========================================================================== */

.tt24-detail {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px 60px;
}

.tt24-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tt-text-subtle);
  margin-bottom: 18px;
}

.tt24-breadcrumb a {
  color: var(--tt-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tt24-breadcrumb a:hover {
  color: var(--ttn-primary);
}

/* Detail Grid (X ngày tới, Theo giờ, v.v.) */

.tt24-detail-grid,
.ttn-detail-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  .tt24-detail-grid,
  .ttn-detail-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.tt24-col,
.ttn-detail-main-col,
.ttn-detail-side-col {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Detail Cards */

.tt24-card {
  background: #ffffff !important;
  border: 1px solid var(--tt-border-card) !important;
  border-radius: var(--tt-radius-card) !important;
  box-shadow: var(--tt-card-shadow) !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.tt24-card:hover {
  box-shadow: var(--tt-card-shadow-hover) !important;
  border-color: rgba(22, 163, 74, 0.22) !important;
}

.tt24-card__title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--tt-text-main) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

/* Image resets inside detail pages to fix Flatsome's 100% height override */

.ttn-detail-wrap img,
.tt24-card img,
.tt24-day-table img,
.tt24-metrics img {
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.tt24-day-summary__icon {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Overview Table */

.tt24-day-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border: none !important;
}

.tt24-day-table th {
  background: rgba(26, 22, 38, 0.03) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--tt-text-muted) !important;
  padding: 12px 18px !important;
  text-align: left !important;
  border: none !important;
  border-bottom: 1px solid var(--tt-border-card) !important;
  white-space: nowrap !important;
}

.tt24-day-table td {
  padding: 13px 18px !important;
  border: none !important;
  border-bottom: 1px solid var(--tt-border-light) !important;
  font-size: 14px !important;
  color: var(--tt-text-main) !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.tt24-day-table tr:last-child td {
  border-bottom: none !important;
}

.tt24-day-table tr:hover td {
  background: rgba(22, 163, 74, 0.03) !important;
}

.tt24-day-table__today td {
  background: rgba(22, 163, 74, 0.06) !important;
  font-weight: 600 !important;
}

.tt24-day-table td img {
  vertical-align: middle !important;
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  margin-right: 6px !important;
  display: inline-block !important;
}

.tt24-day-table__label {
  font-weight: 600 !important;
  color: var(--tt-text-main) !important;
}

.tt24-day-table__hilo {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ttn-primary) !important;
}

/* 6-Metrics Grid */

.tt24-metrics {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 10px !important;
  border-top: 1px solid var(--tt-border-card) !important;
}

@media (max-width: 1200px) {
  .tt24-metrics {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .tt24-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.tt24-metrics__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 12px 6px !important;
  border-radius: 14px !important;
  background: rgba(26, 22, 38, 0.02) !important;
  border: 1px solid var(--tt-border-card) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.tt24-metrics__item:hover {
  background: rgba(22, 163, 74, 0.04) !important;
  transform: translateY(-1px) !important;
}

.tt24-metrics__ico,
.tt24-metrics__item img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block !important;
  object-fit: contain !important;
  margin: 0 auto 6px !important;
}

.tt24-metrics__val {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--tt-text-main) !important;
  line-height: 1.2 !important;
}

.tt24-metrics__label {
  font-size: 11.5px !important;
  color: var(--tt-text-subtle) !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
}

/* Day Parts Grid (Ngày / Đêm / Sáng / Tối) */

.tt24-parts-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--tt-border-card) !important;
}

@media (max-width: 580px) {
  .tt24-parts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.tt24-parts-grid__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 10px 8px !important;
  border-radius: 12px !important;
  background: rgba(26, 22, 38, 0.015) !important;
  border: 1px solid rgba(26, 22, 38, 0.06) !important;
}

.tt24-parts-grid__label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--tt-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.tt24-parts-grid__ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 6px 0 !important;
}

.tt24-parts-grid__ico svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

.tt24-parts-grid__hilo {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--tt-text-main) !important;
}

/* Sidebar Sun & Moon Cards */

.tt24-sunmoon-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}

.tt24-sun {
  position: relative !important;
  border-radius: var(--tt-radius-card) !important;
  overflow: hidden !important;
  box-shadow: var(--tt-card-shadow) !important;
  border: 1px solid var(--tt-border-card) !important;
}

.tt24-sun--feature {
  background-color: #f7a048 !important;
  background-image: linear-gradient(135deg, rgba(239, 122, 61, 0.94), rgba(245, 166, 35, 0.90)), var(--tt24-sun-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  color: #ffffff !important;
}

.tt24-sun--compact {
  padding: 16px 18px !important;
}

.tt24-sun__panel {
  position: relative !important;
  z-index: 1 !important;
}

.tt24-sun__title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.tt24-sun__title a,
.tt24-sun__title-link {
  color: #ffffff !important;
  text-decoration: none !important;
}

.tt24-sun__title-icon {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  stroke: #ffffff !important;
}

.tt24-sun__arc {
  width: 100% !important;
  height: 60px !important;
  margin: 4px 0 8px !important;
}

.tt24-sun__arc svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.tt24-sun__times {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}

.tt24-sun__time-item {
  text-align: left !important;
}

.tt24-sun__time-item--set {
  text-align: right !important;
}

.tt24-sun__time {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.tt24-sun__direction {
  width: 16px !important;
  height: 16px !important;
  stroke: #ffffff !important;
  flex-shrink: 0 !important;
}

.tt24-sun__label {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 2px !important;
}

/* Moon Card */

.tt24-moon {
  border-radius: var(--tt-radius-card) !important;
  padding: 16px 18px !important;
  background: linear-gradient(135deg, #1e1b38, #2a2450) !important;
  border: 1px solid rgba(22, 163, 74, 0.3) !important;
  box-shadow: var(--tt-card-shadow) !important;
  color: #ffffff !important;
}

.tt24-moon .tt24-sun__title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
}

.tt24-moon .tt24-sun__arc {
  width: 100% !important;
  height: 52px !important;
  margin: 4px 0 6px !important;
}

.tt24-moon .tt24-sun__arc svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.tt24-moon .tt24-sun__row {
  display: flex !important;
  justify-content: space-between !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.tt24-moon .tt24-sun__row span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.tt24-moon .tt24-sun__direction {
  width: 15px !important;
  height: 15px !important;
  stroke: #ffffff !important;
}

/* Sidebar Related Locations List */

.tt24-others-scroll {
  max-height: 380px !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #c1c7d0 #ffffff !important;
}

.tt24-others-scroll::-webkit-scrollbar {
  width: 6px;
}

.tt24-others-scroll::-webkit-scrollbar-track {
  background: #ffffff;
}

.tt24-others-scroll::-webkit-scrollbar-thumb {
  background-color: #c1c7d0;
  border-radius: 999px;
}

.tt24-others-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

.tt24-others-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: var(--tt-text-main) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-bottom: 1px solid var(--tt-border-light) !important;
}

.tt24-others-link:last-child {
  border-bottom: none !important;
}

.tt24-others-link:hover {
  background: rgba(22, 163, 74, 0.06) !important;
  color: var(--ttn-primary) !important;
  transform: translateX(3px) !important;
}

.tt24-others-link span {
  color: var(--tt-text-muted) !important;
  font-size: 15px !important;
}

.tt24-others-link:hover span {
  color: var(--ttn-primary) !important;
}

/* Hourly Forecast Table */

.tt24-hourly-scroll {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 8px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #c1c7d0 #ffffff !important;
}

.tt24-hourly-table {
  width: 100% !important;
  border-collapse: collapse !important;
  min-width: 860px !important;
  margin: 0 !important;
  border: none !important;
}

.tt24-hourly-table td {
  padding: 10px 12px !important;
  text-align: center !important;
  font-size: 13.5px !important;
  border: none !important;
  border-bottom: 1px solid var(--tt-border-card) !important;
  white-space: nowrap !important;
}

.tt24-hourly-rowlabel td:first-child {
  font-weight: 600 !important;
  text-align: left !important;
  background: rgba(26, 22, 38, 0.03) !important;
  position: sticky !important;
  left: 0 !important;
  z-index: 2 !important;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.04) !important;
}

.tt24-hourly-table td img {
  width: 26px !important;
  height: 26px !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

.tt24-hourly-temp {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #15803d !important;
}

/* ==========================================================================
   TREKKING & SĂN MÂY SHOWCASE (HOMEPAGE) — COHESIVE PALETTE & STYLES
   ========================================================================== */

/* ==========================================================================
   TREKKING & SĂN MÂY SHOWCASE (HOMEPAGE) — COHESIVE PALETTE & STYLES
   ========================================================================== */

.ttn-trek-section {
  margin-top: 28px;
  background: #ffffff;
  border-radius: var(--tt-radius-card);
  border: 1px solid var(--tt-border-card);
  box-shadow: 0 22px 50px -34px rgba(15, 23, 42, 0.7);
  overflow: hidden;
}

.ttn-trek-head {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #f8fafc;
  border-bottom: 1px solid var(--tt-border-card);
}

.ttn-trek-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ttn-trek-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ttn-primary);
}

.ttn-trek-tabs {
  display: inline-flex;
  background: var(--tt-primary-bg);
  padding: 4px;
  border-radius: var(--tt-radius-pill);
  gap: 4px;
}

.ttn-trek-tab-btn {
  padding: 6px 16px;
  border-radius: var(--tt-radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--tt-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ttn-trek-tab-btn.is-active {
  background: var(--ttn-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.24);
}

.ttn-trek-tab-btn:not(.is-active):hover {
  color: var(--tt-primary-hover);
  background: rgba(22, 163, 74, 0.07);
}

.ttn-trek-grid {
  padding: 24px 26px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ttn-trek-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--tt-border-card);
  border-radius: 24px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 14px 30px -26px rgba(15, 23, 42, 0.6);
  transition: all 0.3s ease;
  overflow: hidden;
}

.ttn-trek-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 163, 74, 0.3);
  box-shadow: 0 22px 40px -26px rgba(22, 163, 74, 0.5);
  color: inherit;
}

.ttn-trek-card--cloud:hover {
  border-color: rgba(22, 163, 74, 0.3);
  box-shadow: 0 22px 40px -26px rgba(22, 163, 74, 0.5);
}

.ttn-trek-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ttn-trek-elev-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--tt-radius-pill);
  background: rgba(22, 163, 74, 0.08);
  color: var(--ttn-primary);
  border: 1px solid rgba(22, 163, 74, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ttn-trek-card--cloud .ttn-trek-elev-pill {
  background: var(--tt-primary-bg);
  color: var(--ttn-primary);
  border-color: var(--tt-primary-border);
}

.ttn-trek-status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--tt-radius-pill);
  background: rgba(15, 23, 42, 0.05);
  color: var(--tt-text-muted);
}

.ttn-trek-name {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--tt-text-main);
  line-height: 1.3;
}

.ttn-trek-region {
  font-size: 13px;
  color: var(--tt-text-subtle);
  margin-top: 2px;
}

.ttn-trek-weather-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.ttn-trek-temp-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--tt-text-main);
  line-height: 1;
}

.ttn-trek-condition-text {
  font-size: 13px;
  color: var(--tt-text-dim);
  margin-top: 3px;
}

.ttn-trek-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 12px;
}

.ttn-trek-stat-cell {
  background: rgba(15, 23, 42, 0.025);
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 6px 8px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ttn-trek-stat-label {
  color: var(--tt-text-subtle);
  font-size: 11px;
}

.ttn-trek-stat-val {
  font-weight: 600;
  color: var(--tt-text-main);
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 2px;
}

.ttn-trek-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ttn-primary);
  border-top: 1px solid var(--tt-border-card);
  padding-top: 10px;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.ttn-trek-card:hover .ttn-trek-footer {
  color: var(--tt-primary-hover);
}

.ttn-trek-card--cloud .ttn-trek-footer {
  color: var(--ttn-primary);
}

.ttn-trek-card--cloud:hover .ttn-trek-footer {
  color: var(--tt-primary-hover);
}

/* Sidebar Trekking & Săn Mây Widget (styled uniformly as .ttn-aside-widget) */

/* Sidebar Trekking & Săn Mây Widget (styled uniformly as .ttn-aside-widget) */

.ttn-sidebar-trek-item {
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--tt-border-card);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.ttn-sidebar-trek-item:last-child {
  border-bottom: none;
}

.ttn-sidebar-trek-item:hover {
  background: rgba(22, 163, 74, 0.05);
  padding-left: 24px;
}

.ttn-sidebar-trek-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tt-text-main);
}

.ttn-sidebar-trek-sub {
  font-size: 12px;
  color: var(--tt-text-subtle);
  margin-top: 2px;
}

.ttn-sidebar-trek-temp {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ttn-primary);
  padding: 3px 9px;
  border-radius: var(--tt-radius-pill);
  background: rgba(22, 163, 74, 0.08);
  white-space: nowrap;
}

.ttn-sidebar-trek-item--cloud .ttn-sidebar-trek-temp {
  color: var(--ttn-primary);
  background: var(--tt-primary-bg);
}

/* Trekking Load More / Collapse Button */

/* Trekking Load More / Collapse Button */

.ttn-trek-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 24px 24px;
}

.ttn-trek-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ttn-primary);
  background: rgba(22, 163, 74, 0.06);
  border: 1.5px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--tt-radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.05);
  user-select: none;
  outline: none;
}

.ttn-trek-more-btn:hover {
  background: var(--ttn-primary);
  color: #ffffff;
  border-color: var(--ttn-primary);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
  transform: translateY(-1px);
}

.ttn-trek-more-btn:active {
  transform: translateY(0);
}

.ttn-trek-more-icon {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ttn-trek-more-btn.is-expanded .ttn-trek-more-icon {
  transform: rotate(180deg);
}

.ttn-trek-card-extra {
  display: none;
}

@media (max-width: 640px) {
  .ttn-trek-head {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ttn-trek-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .ttn-trek-tab-btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;
  }
  .ttn-trek-grid {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ttn-trek-more-wrap {
    padding: 0 14px 18px;
  }
  .ttn-trek-more-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   BẢN ĐỒ MƯA & RA-ĐA THỜI TIẾT (RAIN RADAR MAP)
   ========================================================================== */

/* ==========================================================================
   BẢN ĐỒ MƯA & RA-ĐA THỜI TIẾT (RAIN RADAR MAP)
   ========================================================================== */

.ttn-rainmap-page {
  position: relative;
  padding: 10px 0 60px;
  z-index: 2;
}

.ttn-rainmap-page .ttn-container {
  max-width: 1360px;
}

.ttn-rainmap-hero {
  margin-bottom: 22px;
}

.ttn-rainmap-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ttn-rainmap-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 999px;
  color: #16a34a;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 0;
}

.ttn-rainmap-hero__title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ttn-rainmap-hero__desc {
  margin: 0;
  max-width: 880px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   2-COLUMN COCKPIT DASHBOARD (.ttn-rainmap-dashboard)
   ========================================================================== */

.ttn-rainmap-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  margin-bottom: 44px;
}

.ttn-rainmap-main {
  min-width: 0;
}

/* Map Card */

.ttn-rainmap-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 16px 36px -18px rgba(22, 163, 74, 0.1);
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.ttn-rainmap-card:hover {
  box-shadow: 0 14px 38px -10px rgba(15, 23, 42, 0.1), 0 20px 42px -18px rgba(22, 163, 74, 0.14);
}

/* Controls Header */

.ttn-rainmap-controls {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ttn-rainmap-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ttn-rainmap-row-layers {
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.ttn-rainmap-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ttn-rainmap-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ttn-rainmap-control-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Layer Tabs */

.ttn-rainmap-layer-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.ttn-rainmap-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ttn-rainmap-tab:hover {
  border-color: var(--ttn-primary);
  color: var(--ttn-primary);
  background: rgba(22, 163, 74, 0.04);
  transform: translateY(-1px);
}

.ttn-rainmap-tab.is-active {
  background: var(--ttn-primary);
  border-color: var(--ttn-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 10px -2px rgba(22, 163, 74, 0.35);
}

.ttn-rainmap-tab svg {
  flex-shrink: 0;
}

/* Region Pills */

.ttn-rainmap-region-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.ttn-rainmap-region-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ttn-rainmap-region-pill:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #0f172a;
}

.ttn-rainmap-region-pill.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
}

/* Action Buttons */

.ttn-rainmap-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ttn-rainmap-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ttn-rainmap-btn-action:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Status Indicator Inline */

.ttn-rainmap-status-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
}

.ttn-rainmap-status-inline strong {
  color: #0f172a;
  font-weight: 600;
}

.ttn-status-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ttn-status-label {
  color: #94a3b8;
}

.ttn-status-sep {
  color: #cbd5e1;
}

.ttn-radar-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.ttn-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: ttPulse 1.8s infinite;
}

/* Map Viewport */

.ttn-rainmap-viewport {
  position: relative;
  width: 100%;
  height: 600px;
  background: #0f172a;
}

/* Radar Rain Scale Legend */

.ttn-rainmap-legend {
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ttn-legend-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.ttn-legend-title svg {
  color: var(--ttn-primary);
  flex-shrink: 0;
}

.ttn-legend-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ttn-legend-gradient-bar {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4ade80 0%, #38bdf8 25%, #eab308 50%, #f97316 75%, #ef4444 90%, #a855f7 100%);
}

.ttn-legend-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}

.ttn-legend-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ttn-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ttn-legend-step strong {
  color: #1e293b;
}

/* Fullscreen Mode */

/* Fullscreen Mode */

.ttn-rainmap-card.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  border-radius: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  max-width: 100vw !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #0f172a !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-controls {
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
  padding: 10px 16px !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-row-layers {
  border-bottom-color: #334155 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-control-title {
  color: #94a3b8 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-tab {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-tab.is-active {
  background: var(--ttn-primary) !important;
  border-color: var(--ttn-primary) !important;
  color: #ffffff !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-region-pill {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-region-pill.is-active {
  background: var(--ttn-primary-light) !important;
  border-color: var(--ttn-primary-light) !important;
  color: #0f172a !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-select {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-btn-action {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-btn-action:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-status-bar {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
  color: #e2e8f0 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-status-left strong {
  color: #60a5fa !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-legend {
  background: #1e293b !important;
  border-top: 1px solid #334155 !important;
  color: #cbd5e1 !important;
  padding: 10px 16px !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-legend-title {
  color: #e2e8f0 !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-legend-step strong {
  color: #ffffff !important;
}

.ttn-rainmap-card.is-fullscreen .ttn-rainmap-viewport {
  flex: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

body.ttn-has-fullscreen-map {
  overflow: hidden !important;
}

/* ==========================================================================
   SIDEBAR COLUMN (.ttn-rainmap-sidebar)
   ========================================================================== */

.ttn-rainmap-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ttn-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05);
}

.ttn-sidebar-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.ttn-sidebar-card__head svg {
  color: var(--ttn-primary);
  flex-shrink: 0;
}

/* Province Selector */

.ttn-sidebar-select-wrap {
  position: relative;
  width: 100%;
}

.ttn-sidebar-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  height: 38px;
  width: 100%;
  padding: 0 34px 0 12px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ttn-sidebar-select:focus {
  border-color: var(--ttn-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Major Cities Radar Widget */

.ttn-sidebar-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ttn-sidebar-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.ttn-sidebar-card__sub {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #64748b;
  margin: 2px 0 0;
}

.ttn-sidebar-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.ttn-city-radar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ttn-city-radar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.ttn-city-radar-item:hover {
  background: #ffffff;
  border-color: var(--ttn-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(22, 163, 74, 0.12);
}

.ttn-city-radar-item.is-selected {
  background: rgba(22, 163, 74, 0.06);
  border-color: var(--ttn-primary);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
}

.ttn-city-radar-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ttn-city-radar-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ttn-city-radar-info {
  min-width: 0;
}

.ttn-city-radar-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ttn-city-radar-cond {
  font-size: 11.5px;
  color: #64748b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttn-city-radar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ttn-city-radar-temp {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-city-rain-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ttn-city-rain-badge.is-low {
  background: #dcfce7;
  color: #15803d;
}

.ttn-city-rain-badge.is-med {
  background: #fef3c7;
  color: #b45309;
}

.ttn-city-rain-badge.is-high {
  background: #fee2e2;
  color: #b91c1c;
}

.ttn-city-radar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #94a3b8;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ttn-city-radar-link:hover {
  color: var(--ttn-primary);
  background: #f1f5f9;
}

/* Tips Card */

.ttn-radar-quicktips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
}

.ttn-radar-quicktips-list li {
  position: relative;
  padding-left: 14px;
}

.ttn-radar-quicktips-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ttn-primary);
  font-weight: bold;
}

/* Radar Guide Grid */

/* Radar Guide Grid */

.ttn-rainmap-guide-section {
  margin-bottom: 48px;
}

.ttn-rainmap-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ttn-guide-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.ttn-guide-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ttn-guide-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.ttn-guide-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* FAQ Accordion Section */

/* FAQ Accordion Section */

.ttn-rainmap-faq-section {
  margin-bottom: 48px;
}

.ttn-rainmap-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ttn-rainmap-faq-list .ttn-faq-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ttn-rainmap-faq-list .ttn-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
}

.ttn-rainmap-faq-list .ttn-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.ttn-rainmap-faq-list .ttn-faq-chevron {
  transition: transform 0.25s ease;
  color: #94a3b8;
  flex-shrink: 0;
}

.ttn-rainmap-faq-list .ttn-faq-item.is-open .ttn-faq-chevron,
.ttn-rainmap-faq-list .ttn-faq-question.is-active .ttn-faq-chevron {
  transform: rotate(180deg);
  color: #16a34a;
}

.ttn-rainmap-faq-list .ttn-faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

.ttn-rainmap-faq-list .ttn-faq-answer p {
  margin: 0;
}

.ttn-rainmap-faq-list .ttn-faq-item.is-open .ttn-faq-answer,
.ttn-rainmap-faq-list .ttn-faq-question.is-active + .ttn-faq-answer {
  display: block;
}

/* Responsive Breakpoints */

@media (max-width: 1120px) {
  .ttn-rainmap-dashboard {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ttn-rainmap-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ttn-sidebar-search-card {
    grid-column: 1 / -1;
  }
  .ttn-rainmap-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .ttn-rainmap-sidebar {
    grid-template-columns: 1fr;
  }
  .ttn-rainmap-viewport {
    height: 520px;
  }
  .ttn-legend-labels {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 10px;
  }
}

@media (max-width: 768px) {
  .ttn-rainmap-hero__title {
    font-size: 24px;
  }
  .ttn-rainmap-viewport {
    height: 480px;
  }
  .ttn-rainmap-controls {
    padding: 12px 14px;
    gap: 10px;
  }
  .ttn-rainmap-row-layers,
  .ttn-rainmap-row-sub {
    flex-direction: column;
    align-items: stretch;
  }
  .ttn-rainmap-actions {
    width: 100%;
    margin-top: 4px;
  }
  .ttn-rainmap-btn-action {
    flex: 1;
    justify-content: center;
  }
  .ttn-rainmap-layer-tabs,
  .ttn-rainmap-region-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ttn-rainmap-layer-tabs::-webkit-scrollbar,
  .ttn-rainmap-region-pills::-webkit-scrollbar {
    display: none;
  }
  .ttn-rainmap-tab,
  .ttn-rainmap-region-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .ttn-rainmap-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .ttn-rainmap-hero__title {
    font-size: 22px;
  }
  .ttn-rainmap-viewport {
    height: 400px;
  }
  .ttn-legend-labels {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 8px;
  }
}

@media (max-width: 420px) {
  .ttn-legend-labels {
    grid-template-columns: 1fr;
  }
  .ttn-city-radar-item {
    padding: 8px 10px;
  }
}

/* ==========================================================================
   WEATHER TOOLS PAGES (AQI, UV, TRỜI NỒM)
   ========================================================================== */

.ttn-tool-page {
  position: relative;
  padding: 4px 0 60px;
  z-index: 2;
}

.ttn-tool-hero {
  margin-bottom: 24px;
}

.ttn-tool-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 999px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ttn-tool-hero__title {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ttn-tool-hero__desc {
  margin: 0;
  max-width: 860px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

/* Stats Strip */

/* Stats Strip */

.ttn-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.ttn-stat-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ttn-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.08);
}

.ttn-stat-box__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ttn-stat-box__val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.ttn-stat-box__val small {
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
}

.ttn-stat-box__sub {
  font-size: 12px;
  color: #94a3b8;
}

/* Scale Reference Card */

/* Scale Reference Card */

.ttn-scale-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  margin-bottom: 36px;
}

.ttn-scale-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.ttn-scale-card__title svg {
  color: var(--ttn-primary);
}

.ttn-aqi-scale-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ttn-uv-scale-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ttn-nom-scale-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ttn-aqi-scale-col,
.ttn-uv-scale-col,
.ttn-nom-scale-col {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  border-top: 3px solid var(--aqi-color, var(--uv-color, var(--nom-color, #16a34a)));
}

.ttn-aqi-scale-col p,
.ttn-uv-scale-col p,
.ttn-nom-scale-col p {
  margin: 0;
}

.ttn-aqi-scale-head,
.ttn-uv-scale-head,
.ttn-nom-scale-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ttn-aqi-badge,
.ttn-uv-badge,
.ttn-nom-badge {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--aqi-color, var(--uv-color, var(--nom-color)));
  background: var(--aqi-bg, var(--uv-bg, var(--nom-bg)));
}

/* Tool Sections */

/* Tool Sections */

.ttn-tool-section {
  margin-bottom: 44px;
}

.ttn-tool-section__head {
  margin-bottom: 18px;
}

.ttn-tool-section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.ttn-tool-section__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Metros Grids */

/* Metros Grids */

.ttn-aqi-metros-grid,
.ttn-uv-metros-grid,
.ttn-nom-metros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ttn-aqi-metro-card,
.ttn-uv-metro-card,
.ttn-nom-metro-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ttn-aqi-metro-card:hover,
.ttn-uv-metro-card:hover,
.ttn-nom-metro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
}

.ttn-aqi-metro-top,
.ttn-uv-metro-top,
.ttn-nom-metro-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ttn-aqi-metro-name,
.ttn-uv-metro-name,
.ttn-nom-metro-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.25;
}

.ttn-aqi-metro-badge,
.ttn-uv-metro-badge,
.ttn-nom-metro-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ttn-aqi-score-box,
.ttn-uv-score-box,
.ttn-nom-humidity-box {
  border-radius: 12px;
  padding: 8px 14px;
  color: #ffffff;
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}

.ttn-nom-humidity-box {
  background: #0284c7;
}

.ttn-aqi-score-num,
.ttn-uv-score-num,
.ttn-nom-humidity-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.ttn-aqi-score-txt,
.ttn-uv-score-txt,
.ttn-nom-humidity-txt {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.ttn-aqi-metro-desc,
.ttn-nom-metro-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.ttn-uv-metro-tips {
  font-size: 12.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 10px;
}

/* AQI Pollutants Row */

/* AQI Pollutants Row */

.ttn-aqi-pollutants-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}

.ttn-pollutant-pill {
  flex: 1;
  min-width: 55px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ttn-pollutant-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
}

.ttn-pollutant-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.ttn-pollutant-val small {
  font-size: 9px;
  font-weight: normal;
  color: #64748b;
}

/* UV Stats & Hourly Bars */

/* UV Stats & Hourly Bars */

.ttn-uv-stat-strip {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 12.5px;
}

.ttn-uv-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ttn-uv-stat-lbl {
  font-size: 11px;
  color: #94a3b8;
}

.ttn-uv-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #0f172a;
}

.ttn-uv-hourly-wrap {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
}

.ttn-uv-hourly-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  display: block;
  margin-bottom: 8px;
}

.ttn-uv-bars-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.ttn-uv-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.ttn-uv-bar-track {
  width: 14px;
  height: 48px;
  background: #e2e8f0;
  border-radius: 7px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ttn-uv-bar-fill {
  width: 100%;
  border-radius: 7px;
  transition: height 0.3s ease;
}

.ttn-uv-bar-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-uv-bar-time {
  font-size: 9.5px;
  color: #94a3b8;
}

/* Nồm Param Grid */

/* Nồm Param Grid */

.ttn-nom-param-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  text-align: center;
}

.ttn-nom-param-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ttn-nom-param-lbl {
  font-size: 11px;
  color: #94a3b8;
}

.ttn-nom-param-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* Footers */

/* Footers */

.ttn-aqi-metro-footer,
.ttn-uv-metro-footer,
.ttn-nom-metro-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.ttn-aqi-action-txt,
.ttn-nom-tips-txt {
  font-size: 12px;
  color: #64748b;
  flex: 1;
}

.ttn-tool-link {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ttn-tool-link:hover {
  color: #15803d;
}

/* Search Box & Filters */

/* Search Box & Filters */

.ttn-tool-search-wrap {
  position: relative;
  min-width: 260px;
}

.ttn-tool-search-input {
  width: 100%;
  padding: 9px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ttn-tool-search-input:focus {
  border-color: var(--ttn-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.ttn-tool-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ttn-tool-filter-tab {
  padding: 7px 15px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ttn-tool-filter-tab:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.ttn-tool-filter-tab.is-active {
  background: var(--ttn-primary);
  border-color: var(--ttn-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px -2px rgba(22, 163, 74, 0.3);
}

/* Data Table Card */

/* Data Table Card */

.ttn-table-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
}

.ttn-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ttn-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.ttn-data-table th {
  background: #f8fafc;
  padding: 14px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.ttn-data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
  white-space: nowrap;
}

.ttn-data-table tr:hover td {
  background: #f8fafc;
}

.ttn-td-name a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ttn-td-name a:hover {
  color: var(--ttn-primary);
}

.ttn-table-score-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  min-width: 32px;
  text-align: center;
}

.ttn-table-level-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ttn-table-hum-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}

.ttn-data-table td.ttn-td-action,
.ttn-data-table th.ttn-th-action,
.ttn-td-action {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  min-width: 250px;
  max-width: 360px;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.ttn-data-table th:last-child,
.ttn-data-table td:last-child {
  width: 90px;
  min-width: 85px;
  text-align: right;
  white-space: nowrap !important;
}

.ttn-table-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  white-space: nowrap;
}

.ttn-table-link:hover {
  color: #15803d;
  text-decoration: underline;
}

/* Guide Grid */

/* Guide Grid */

.ttn-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Responsive Rules */

@media (max-width: 1200px) {
  .ttn-aqi-scale-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ttn-uv-scale-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ttn-nom-scale-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .ttn-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .ttn-aqi-metros-grid,
  .ttn-uv-metros-grid,
  .ttn-nom-metros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ttn-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ttn-tool-hero__title {
    font-size: 26px;
  }
  .ttn-aqi-metros-grid,
  .ttn-uv-metros-grid,
  .ttn-nom-metros-grid {
    grid-template-columns: 1fr;
  }
  .ttn-tool-search-wrap {
    width: 100%;
  }
  .ttn-tool-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ttn-tool-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .ttn-tool-filter-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  .ttn-stats-strip {
    grid-template-columns: 1fr;
  }
  .ttn-aqi-scale-grid,
  .ttn-uv-scale-grid,
  .ttn-nom-scale-grid {
    grid-template-columns: 1fr;
  }
  .ttn-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   METEOROLOGICAL COCKPIT DASHBOARD (AQI, UV, Trời Nồm)
   ========================================================================== */

.ttn-cockpit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.ttn-cockpit-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ttn-cockpit-sidebar {
  min-width: 0;
  position: sticky;
  top: 85px;
}

/* Spotlight Card */
.ttn-spotlight-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 16px 36px -18px rgba(22, 163, 74, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ttn-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--spot-color, #16a34a);
  transition: background 0.3s ease;
}

.ttn-spotlight-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.ttn-spotlight-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ttn-spotlight-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ttn-spotlight-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.ttn-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: var(--spot-bg, #dcfce7);
  color: var(--spot-color, #16a34a);
  border: 1px solid var(--spot-border, rgba(22, 163, 74, 0.3));
}

.ttn-spotlight-meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ttn-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  background: rgba(22, 163, 74, 0.08);
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ttn-spotlight-link:hover {
  background: #16a34a;
  color: #ffffff;
}

/* Spotlight Hero Display (Gauge & Score) */
.ttn-spotlight-hero-display {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
}

.ttn-spotlight-score-block {
  text-align: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--spot-color, #16a34a);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px -6px var(--spot-glow, rgba(22, 163, 74, 0.4));
  transition: all 0.3s ease;
}

.ttn-spotlight-score-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ttn-spotlight-score-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.95;
  margin-top: 4px;
}

.ttn-spotlight-gauge-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ttn-spotlight-gauge-title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  display: flex;
  justify-content: space-between;
}

.ttn-gauge-bar-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a 0%, #ca8a04 20%, #ea580c 40%, #dc2626 60%, #7c3aed 80%, #78350f 100%);
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ttn-gauge-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ttn-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* Spotlight Bento Parameters */
.ttn-spotlight-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ttn-bento-param {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.ttn-bento-param:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.ttn-bento-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.ttn-bento-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ttn-bento-val small {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}

/* Spotlight Advice Callout */
.ttn-spotlight-advice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--spot-bg, #f0fdf4);
  border: 1px solid var(--spot-border, #bbf7d0);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1e293b;
}

.ttn-spotlight-advice-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--spot-color, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ttn-spotlight-advice strong {
  color: var(--spot-color, #15803d);
}

/* Sidebar Finder Card */
.ttn-finder-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ttn-finder-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.ttn-finder-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.ttn-finder-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.ttn-finder-filter-box {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ttn-finder-search-wrap {
  position: relative;
}

.ttn-finder-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.ttn-finder-search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.ttn-finder-search-input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.ttn-finder-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.ttn-finder-pills::-webkit-scrollbar {
  display: none;
}

.ttn-finder-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ttn-finder-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.ttn-finder-pill.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Finder List */
.ttn-finder-list {
  max-height: 520px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ttn-finder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.ttn-finder-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.ttn-finder-item.is-selected {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 2px 8px -2px rgba(22, 163, 74, 0.2);
}

.ttn-finder-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ttn-finder-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.ttn-finder-item.is-selected .ttn-finder-rank {
  color: #16a34a;
}

.ttn-finder-name {
  font-weight: 600;
  font-size: 13.5px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttn-finder-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ttn-finder-subval {
  font-size: 11.5px;
  color: #64748b;
  font-family: 'Space Grotesk', sans-serif;
}

.ttn-finder-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  min-width: 38px;
  text-align: center;
}

@media (max-width: 1080px) {
  .ttn-cockpit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ttn-cockpit-sidebar {
    position: static;
  }
  .ttn-finder-list {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .ttn-spotlight-hero-display {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ttn-spotlight-score-block {
    width: 100%;
  }
  .ttn-spotlight-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Trang Giờ Mặt Trời Mọc & Lặn (.tt24-sun-page)
   ========================================================================== */

.tt24-sun-page {
  --sun-ink: #0f172a;
  --sun-muted: #64748b;
  --sun-orange: #f97316;
  --sun-gold: #f59e0b;
  --sun-blue: #3b82f6;
  padding-bottom: 34px;
}

.tt24-sun-page__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  align-items: center;
  min-height: 440px;
  margin-bottom: 24px;
  padding: 44px 44px 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background:
  radial-gradient(circle at 87% 8%, rgba(255, 214, 116, .35), transparent 28%),
  radial-gradient(circle at 69% 112%, rgba(255, 130, 94, .35), transparent 36%),
  linear-gradient(135deg, #071c3c 0%, #11375f 43%, #384e72 68%, #854836 100%);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, .2);
  isolation: isolate;
}

.tt24-sun-page__hero.is-night {
  background:
  radial-gradient(circle at 86% 18%, rgba(110, 140, 245, .25), transparent 28%),
  linear-gradient(135deg, #06152f, #14234d 58%, #282a52 100%);
}

.tt24-sun-page__hero::before,
.tt24-sun-page__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.tt24-sun-page__hero::before {
  width: 390px;
  height: 390px;
  left: -210px;
  top: -200px;
  border: 70px solid rgba(255, 255, 255, .035);
}

.tt24-sun-page__hero::after {
  width: 520px;
  height: 120px;
  right: -80px;
  bottom: -75px;
  background: rgba(6, 26, 54, .25);
  filter: blur(2px);
}

.tt24-sun-page__hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 0 1px, transparent 1.5px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  opacity: .12;
}

.tt24-sun-page__hero-copy {
  position: relative; z-index: 2; max-width: 500px;
}

.tt24-sun-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tt24-sun-page__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun-gold);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, .2), 0 0 16px var(--sun-gold);
}

.tt24-sun-page__hero h1 {
  margin: 0;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.tt24-sun-page__hero h1 span {
  color: #fde047;
}

.tt24-sun-page__hero-copy > p {
  max-width: 460px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.6;
}

.tt24-sun-page__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.tt24-sun-page__status-icon {
  display: flex; color: #fde047;
}

.tt24-sun-page__status-icon svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

.tt24-sun-page .tt24-sun-page__picker {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tt24-sun-page .tt24-sun-page__picker-form {
  display: block;
}

.tt24-sun-page .tt24-sun-page__picker-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,.65);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.tt24-sun-page .tt24-sun-page__picker-form select {
  min-width: 200px;
  height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  outline: none;
  cursor: pointer;
}

.tt24-sun-page .tt24-sun-page__picker-form select option {
  color: #0f172a; background: #fff;
}

.tt24-sun-page .tt24-sun-page__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: background 0.2s, transform 0.2s;
}

.tt24-sun-page .tt24-sun-page__btn:hover {
  background: #fff; transform: translateY(-1px);
}

.tt24-sun-page .tt24-sun-page__btn svg {
  width: 16px; height: 16px; flex: 0 0 auto;
}

.tt24-sun-page__sky {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 20px 0 0 24px;
}

.tt24-sun-page__sky-label {
  align-self: center;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(2, 20, 46, .2);
  color: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tt24-sun-page__orbit {
  display: block; width: 100%; height: 260px; overflow: visible;
}

.tt24-sun-page__orbit-fill {
  fill: url(#tt24-orbit-gradient); opacity: .12;
}

.tt24-sun-page__orbit-path {
  fill: none; stroke: url(#tt24-orbit-gradient); stroke-width: 2.5; stroke-linecap: round;
}

.tt24-sun-page__horizon {
  stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-dasharray: 4 7;
}

.tt24-sun-page__sky-times {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  margin: -15px 18px 0;
  color: #fff;
}

.tt24-sun-page__sky-times > div:last-child {
  text-align: right;
}

.tt24-sun-page__sky-times span {
  display: block; margin-bottom: 2px; color: rgba(255,255,255,.6); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}

.tt24-sun-page__sky-times strong {
  color: #fff; font-size: 24px; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.02em;
}

.tt24-sun-page__sky-times .tt24-sun-page__day-length {
  text-align: center;
}

.tt24-sun-page__sky-times .tt24-sun-page__day-length strong {
  font-size: 13px; font-family: inherit;
}

.tt24-sun-page__moments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tt24-sun-page__moment {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, .04);
}

.tt24-sun-page__moment::after {
  content: ""; position: absolute; inset: auto -20px -35px auto; width: 86px; height: 86px; border-radius: 50%; background: var(--moment-soft); opacity: .7;
}

.tt24-sun-page__moment--dawn {
  --moment: #ea580c; --moment-soft: #ffedd5;
}

.tt24-sun-page__moment--blue {
  --moment: #2563eb; --moment-soft: #dbeafe;
}

.tt24-sun-page__moment--golden {
  --moment: #d97706; --moment-soft: #fef3c7;
}

.tt24-sun-page__moment--sunset {
  --moment: #7c3aed; --moment-soft: #ede9fe;
}

.tt24-sun-page__moment-icon {
  position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; color: var(--moment); background: var(--moment-soft);
}

.tt24-sun-page__moment-icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.tt24-sun-page__moment > div {
  position: relative; z-index: 1; min-width: 0;
}

.tt24-sun-page__moment span:not(.tt24-sun-page__moment-icon) {
  display: block; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.tt24-sun-page__moment strong {
  display: block; margin-top: 2px; color: #0f172a; font-size: 18px; font-weight: 700; white-space: nowrap;
}

.tt24-sun-page__moment small {
  display: block; margin-top: 2px; color: #94a3b8; font-size: 11px; white-space: nowrap;
}

.tt24-sun-page__tomorrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px 28px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  background: linear-gradient(105deg, #fff7ed, #ffffff 55%, #f0f9ff);
  box-shadow: 0 6px 20px -4px rgba(249, 115, 22, .08);
}

.tt24-sun-page__tomorrow-mark {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #ea580c; background: #fff; box-shadow: 0 6px 16px rgba(234, 88, 12, .12); border: 1px solid #ffedd5;
}

.tt24-sun-page__tomorrow-mark svg {
  width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

.tt24-sun-page__tomorrow-copy span,
.tt24-sun-page__tomorrow-length span {
  color: #c2410c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.tt24-sun-page__tomorrow-copy h2 {
  margin: 4px 0 2px; color: #0f172a; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}

.tt24-sun-page__tomorrow-copy p {
  margin: 0; color: #64748b; font-size: 13px;
}

.tt24-sun-page__tomorrow-length {
  min-width: 140px; padding-left: 24px; border-left: 1px solid #fed7aa;
}

.tt24-sun-page__tomorrow-length strong {
  display: block; margin-top: 2px; color: #0f172a; font-size: 18px; font-weight: 700;
}

.tt24-sun-page__section {
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, .04);
}

.tt24-sun-page__section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px;
}

.tt24-sun-page__section-kicker {
  display: block; margin-bottom: 4px; color: #f97316; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.tt24-sun-page__section-head h2 {
  margin: 0; color: #0f172a; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.02em;
}

.tt24-sun-page__section-head > p {
  max-width: 380px; margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; text-align: right;
}

.tt24-sun-page__week {
  display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 10px;
}

.tt24-sun-page__week-card {
  position: relative;
  min-width: 0;
  padding: 14px 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tt24-sun-page__week-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 18px -4px rgba(15, 23, 42, .08);
}

.tt24-sun-page__week-card.is-today {
  border-color: transparent; background: linear-gradient(145deg, #1e293b, #334155); box-shadow: 0 10px 22px rgba(30, 41, 59, .25); color: #fff;
}

.tt24-sun-page__today-tag {
  display: inline-block; margin-bottom: 6px; padding: 2px 7px; border-radius: 999px; background: #fbbf24; color: #78350f; font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}

.tt24-sun-page__week-date {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
}

.tt24-sun-page__week-date strong {
  color: #0f172a; font-size: 14px; font-weight: 700;
}

.tt24-sun-page__week-date span {
  color: #64748b; font-size: 11px;
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-date strong {
  color: #fff;
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-date span {
  color: rgba(255,255,255,.65);
}

.tt24-sun-page__week-sun {
  position: relative; height: 28px; margin: 10px 0 8px; overflow: hidden; border-bottom: 1px solid #cbd5e1;
}

.tt24-sun-page__week-sun::before {
  content: ""; position: absolute; width: 40px; height: 40px; left: 50%; top: 8px; transform: translateX(-50%); border: 1px solid #fde047; border-radius: 50%;
}

.tt24-sun-page__week-sun span {
  position: absolute; z-index: 1; left: 50%; bottom: -5px; width: 15px; height: 15px; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(145deg, #fef08a, #f59e0b); box-shadow: 0 0 12px rgba(245, 158, 11, .5);
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-sun {
  border-color: rgba(255,255,255,.2);
}

.tt24-sun-page__week-time {
  display: flex; align-items: center; justify-content: space-between; margin-top: 5px;
}

.tt24-sun-page__week-time span {
  color: #64748b; font-size: 9px; text-transform: uppercase; font-weight: 600;
}

.tt24-sun-page__week-time strong {
  color: #0f172a; font-size: 12px; font-weight: 700;
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-time span {
  color: rgba(255,255,255,.6);
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-time strong {
  color: #fff;
}

.tt24-sun-page__week-length {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #e2e8f0; color: #94a3b8; font-size: 10px; text-align: center;
}

.tt24-sun-page__week-card.is-today .tt24-sun-page__week-length {
  border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7);
}

.tt24-sun-page__section-head--directory {
  align-items: center;
}

.tt24-sun-page__search {
  display: flex; align-items: center; gap: 8px; width: min(320px, 100%); height: 42px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; color: #64748b;
}

.tt24-sun-page__search:focus-within {
  border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, .1);
}

.tt24-sun-page__search svg {
  width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

.tt24-sun-page__search input {
  width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #0f172a; font: inherit; font-size: 13px; box-shadow: none;
}

.tt24-sun-page__province-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}

.tt24-sun-page__province {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tt24-sun-page__province:hover {
  color: #0f172a; transform: translateY(-2px); border-color: #93c5fd; background: #fff; box-shadow: 0 8px 18px -4px rgba(15, 23, 42, .08);
}

.tt24-sun-page__province.is-current {
  border-color: #60a5fa; background: #eff6ff;
}

.tt24-sun-page__province-grid:not(.is-expanded):not(.is-searching) .tt24-sun-page__province.is-extra:not(.is-current) {
  display: none;
}

.tt24-sun-page__province-name {
  min-width: 0; overflow: hidden; color: #0f172a; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap;
}

.tt24-sun-page__province-name small {
  display: block; margin-top: 1px; color: #2563eb; font-size: 9px; font-weight: 800; text-transform: uppercase;
}

.tt24-sun-page__province-times {
  display: flex; gap: 10px; color: #64748b; font-size: 11px; font-weight: 600;
}

.tt24-sun-page__province-times > span {
  display: flex; align-items: center; gap: 4px;
}

.tt24-sun-page__province-times i {
  width: 7px; height: 7px; border-radius: 50%;
}

.tt24-sun-page__province-times .is-rise {
  background: #f59e0b; box-shadow: 0 0 0 2px #fef3c7;
}

.tt24-sun-page__province-times .is-set {
  background: #8b5cf6; box-shadow: 0 0 0 2px #ede9fe;
}

.tt24-sun-page__province-arrow {
  width: 15px; height: 15px; fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.tt24-sun-page__show-all {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px auto 0; padding: 9px 18px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}

.tt24-sun-page__show-all:hover {
  border-color: #3b82f6; color: #2563eb;
}

.tt24-sun-page__show-all svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease;
}

.tt24-sun-page__show-all.is-expanded svg {
  transform: rotate(180deg);
}

.tt24-sun-page__no-results {
  margin: 20px 0 4px; color: #64748b; text-align: center;
}

.tt24-sun-page__article {
  display: grid; grid-template-columns: .65fr 1.35fr; gap: 0; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; box-shadow: 0 4px 16px -2px rgba(15, 23, 42, .04);
}

.tt24-sun-page__article-intro {
  position: relative; padding: 36px 32px; overflow: hidden; background: linear-gradient(145deg, #0f172a, #1e293b); color: #fff;
}

.tt24-sun-page__article-intro::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; border: 35px solid rgba(255,255,255,.05); border-radius: 50%;
}

.tt24-sun-page__article-intro span {
  color: #fde047; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.tt24-sun-page__article-intro h2 {
  margin: 8px 0 10px; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.02em;
}

.tt24-sun-page__article-intro p {
  margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.6;
}

.tt24-sun-page__article-body {
  padding: 32px 34px;
}

.tt24-sun-page__article-body h2 {
  margin: 0 0 6px; color: #0f172a; font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700;
}

.tt24-sun-page__article-body h2:not(:first-child) {
  margin-top: 22px;
}

.tt24-sun-page__article-body p {
  margin: 0; color: #475569; font-size: 13.5px; line-height: 1.7;
}

@media screen and (max-width: 1180px) {
  .tt24-sun-page__hero {
    grid-template-columns: .95fr 1.05fr; padding: 36px 32px;
  }
  .tt24-sun-page__moments {
    grid-template-columns: repeat(2, 1fr);
  }
  .tt24-sun-page__week {
    overflow-x: auto; grid-template-columns: repeat(7, 140px); padding-bottom: 8px;
  }
  .tt24-sun-page__province-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 820px) {
  .tt24-sun-page__hero {
    grid-template-columns: 1fr; padding: 32px 24px 28px;
  }
  .tt24-sun-page__hero-copy {
    max-width: 100%;
  }
  .tt24-sun-page__sky {
    min-height: 300px; padding: 24px 0 0;
  }
  .tt24-sun-page__orbit {
    height: 230px;
  }
  .tt24-sun-page__tomorrow {
    grid-template-columns: auto 1fr;
  }
  .tt24-sun-page__tomorrow-length {
    grid-column: 2; padding: 12px 0 0; border-top: 1px solid #fed7aa; border-left: 0;
  }
  .tt24-sun-page__section-head {
    align-items: flex-start; flex-direction: column;
  }
  .tt24-sun-page__section-head > p {
    text-align: left;
  }
  .tt24-sun-page__section-head--directory {
    align-items: stretch;
  }
  .tt24-sun-page__search {
    width: 100%;
  }
  .tt24-sun-page__article {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .tt24-sun-page__hero {
    padding: 24px 18px 20px; border-radius: 18px;
  }
  .tt24-sun-page__hero h1 {
    font-size: 28px;
  }
  .tt24-sun-page .tt24-sun-page__picker {
    align-items: stretch; flex-direction: column;
  }
  .tt24-sun-page .tt24-sun-page__picker-form,
  .tt24-sun-page .tt24-sun-page__picker-form label,
  .tt24-sun-page .tt24-sun-page__picker-form select,
  .tt24-sun-page .tt24-sun-page__btn {
    width: 100%;
  }
  .tt24-sun-page__sky {
    min-height: 260px; margin: 10px -4px 0; padding-top: 18px;
  }
  .tt24-sun-page__orbit {
    height: 190px;
  }
  .tt24-sun-page__sky-times {
    margin-inline: 4px;
  }
  .tt24-sun-page__sky-times strong {
    font-size: 19px;
  }
  .tt24-sun-page__sky-times .tt24-sun-page__day-length {
    display: none;
  }
  .tt24-sun-page__sky-times {
    grid-template-columns: 1fr 1fr;
  }
  .tt24-sun-page__moments {
    grid-template-columns: 1fr; gap: 10px;
  }
  .tt24-sun-page__tomorrow {
    grid-template-columns: 1fr; gap: 14px; padding: 18px;
  }
  .tt24-sun-page__tomorrow-length {
    grid-column: auto;
  }
  .tt24-sun-page__section {
    padding: 18px 16px; border-radius: 16px;
  }
  .tt24-sun-page__province-grid {
    grid-template-columns: 1fr;
  }
  .tt24-sun-page__article-intro,
  .tt24-sun-page__article-body {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   Tool: Có mưa không? (.ttn-rain-page)
   ========================================================================== */

/* ==========================================================================
   Tool: Có mưa không? (.ttn-rain-page)
   ========================================================================== */

.ttn-rain-verdict-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.ttn-rain-verdict-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}

.ttn-rain-verdict-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  margin-bottom: 10px;
}

.ttn-rain-verdict-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-rain-main-prob {
  text-align: right;
  flex-shrink: 0;
}

.ttn-rain-prob-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.ttn-rain-prob-num span {
  font-size: 24px; font-weight: 600;
}

.ttn-rain-prob-lbl {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

.ttn-rain-verdict-advice {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.ttn-rain-advice-section {
  margin-bottom: 28px;
}

.ttn-advice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.ttn-advice-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.ttn-advice-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ttn-advice-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.ttn-advice-card__header strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
}

.ttn-advice-card__header span {
  font-size: 11px;
  color: #64748b;
}

.ttn-advice-card__val {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.ttn-rain-hourly-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-hourly-timeline {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0 10px;
  -webkit-overflow-scrolling: touch;
}

.ttn-hourly-col {
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}

.ttn-hourly-time {
  font-size: 11.5px; font-weight: 700; color: #475569;
}

.ttn-hourly-temp {
  font-size: 13px; font-weight: 800; color: #0f172a;
}

.ttn-hourly-bar-wrap {
  width: 12px;
  height: 60px;
  background: #e2e8f0;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.ttn-hourly-bar {
  width: 100%;
  border-radius: 999px;
  transition: height 0.3s ease;
}

.ttn-hourly-chance {
  font-size: 11px; font-weight: 800;
}

.ttn-hourly-precip {
  font-size: 10px; color: #94a3b8;
}

.ttn-rain-radar-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  margin-bottom: 28px;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.2);
}

.ttn-radar-banner-copy h3 {
  margin: 0 0 6px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
}

.ttn-radar-banner-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13.5px;
  max-width: 580px;
}

.ttn-btn-radar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ttn-primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.ttn-btn-radar-link:hover {
  background: var(--tt-primary-hover);
  transform: translateY(-1px);
  color: #fff;
}

/* ==========================================================================
   Tool: Ngày này năm xưa (.ttn-history-page)
   ========================================================================== */

/* ==========================================================================
   Tool: Ngày này năm xưa (.ttn-history-page)
   ========================================================================== */

.ttn-tool-form--multi {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ttn-tool-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ttn-tool-select-group label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}

.ttn-tool-select-group select {
  height: 42px;
  padding: 0 32px 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  cursor: pointer;
}

.ttn-records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.ttn-record-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
}

.ttn-record-card--high {
  border-left: 5px solid #ef4444;
}

.ttn-record-card--low {
  border-left: 5px solid #06b6d4;
}

.ttn-record-card--rain {
  border-left: 5px solid #3b82f6;
}

.ttn-record-card__mark {
  font-size: 28px;
}

.ttn-record-card__tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 2px;
}

.ttn-record-card__val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.ttn-record-card__sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 3px;
}

.ttn-history-years-section {
  margin-bottom: 32px;
}

.ttn-history-years-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.ttn-history-year-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, border-color 0.2s;
}

.ttn-history-year-card:hover {
  transform: translateY(-2px); border-color: #cbd5e1;
}

.ttn-history-year-card.is-today {
  border-color: var(--ttn-primary-mid);
  background: linear-gradient(180deg, var(--ttn-primary-subtle) 0%, #fff 40%);
  box-shadow: 0 8px 20px -4px rgba(var(--ttn-primary-rgb), 0.15);
}

.ttn-history-year-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.ttn-history-year-card.is-today .ttn-history-year-badge {
  color: var(--ttn-primary);
}

.ttn-history-year-temp {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 12px;
}

.ttn-history-year-metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 10px;
}

.ttn-history-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
}

.ttn-history-metric-row strong {
  color: #1e293b;
}

.ttn-history-year-cond {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475569;
}

.ttn-events-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.ttn-event-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ttn-event-item:last-child {
  border-bottom: 0; padding-bottom: 0;
}

.ttn-event-year {
  flex-shrink: 0;
  background: #f1f5f9;
  color: #334155;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
}

.ttn-event-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-event-desc {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   Tool: Thuỷ triều (.ttn-tide-page)
   ========================================================================== */

/* ==========================================================================
   Tool: Thuỷ triều (.ttn-tide-page)
   ========================================================================== */

.ttn-tide-hero-card {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 60%, #0284c7 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.3);
}

.ttn-tide-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.ttn-tide-cur-name {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
}

.ttn-tide-cur-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 6px 0 8px;
}

.ttn-tide-cur-num .unit {
  font-size: 24px; font-weight: 600; color: #bae6fd;
}

.ttn-tide-cur-num .sub {
  font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.7); margin-left: 8px;
}

.ttn-tide-cur-sub {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.ttn-tide-cur-sub strong {
  color: #fff;
}

.ttn-tide-warning {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
}

.ttn-tide-milestones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ttn-tide-milestone {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}

.ttn-tide-ms-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bae6fd;
  margin-bottom: 8px;
}

.ttn-tide-ms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 4px;
}

.ttn-tide-ms-row strong {
  font-size: 18px; font-family: 'Space Grotesk', sans-serif; color: #fff;
}

.ttn-tide-curve-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-tide-curve-container {
  overflow-x: auto;
  padding: 18px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.ttn-tide-hours-strip {
  display: flex;
  gap: 8px;
  min-width: 900px;
}

.ttn-tide-hour-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ttn-tide-bar-box {
  position: relative;
  width: 18px;
  height: 90px;
  background: #f1f5f9;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.ttn-tide-wave-fill {
  width: 100%;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  border-radius: 999px;
}

.ttn-tide-now-dot {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.ttn-tide-time-lbl {
  font-size: 10.5px; color: #64748b; font-weight: 600;
}

.ttn-tide-m-lbl {
  font-size: 11px; font-weight: 700; color: #0f172a;
}

.ttn-tide-week-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-tide-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.ttn-tide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ttn-tide-table th {
  text-align: left;
  padding: 12px 16px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
}

.ttn-tide-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.ttn-tide-table tr.is-today-row {
  background: #f0f9ff;
}

.date-sub {
  display: block; font-size: 11px; color: #64748b;
}

.tide-val.high {
  color: #0284c7; font-weight: 700;
}

.tide-val.low {
  color: #d97706; font-weight: 700;
}

.tide-m {
  font-size: 12px; color: #64748b; margin-left: 4px;
}

.tide-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tide-pill.is-spring {
  background: #fee2e2; color: #dc2626;
}

.tide-pill.is-neap {
  background: #f1f5f9; color: #475569;
}

/* ==========================================================================
   Tool: Bầu trời đêm (.ttn-nightsky-page)
   ========================================================================== */

/* ==========================================================================
   Tool: Bầu trời đêm (.ttn-nightsky-page)
   ========================================================================== */

.ttn-nightsky-hero {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 55%, #1e1b4b 100%);
  border-radius: 24px;
  padding: 44px 44px 38px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.4);
}

.ttn-nightsky-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 40%),
  radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.ttn-nightsky-hero__copy {
  position: relative; z-index: 2;
}

.ttn-nightsky-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  margin-bottom: 14px;
}

.ttn-nightsky-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 12px #818cf8;
}

.ttn-nightsky-title {
  margin: 0;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}

.ttn-nightsky-title span {
  color: #fde047;
}

.ttn-nightsky-desc {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.ttn-nightsky-picker {
  margin-top: 20px;
}

.ttn-tool-select-wrap--night select {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  height: 42px;
  padding: 0 36px 0 14px;
}

.ttn-tool-select-wrap--night select option {
  color: #0f172a; background: #fff;
}

.ttn-nightsky-score-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 26px 28px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.ttn-nightsky-score-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ttn-nightsky-score-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.ttn-nightsky-score-num .max {
  font-size: 24px; font-weight: 600; color: rgba(255, 255, 255, 0.5);
}

.ttn-nightsky-score-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  font-weight: 600;
}

.ttn-nightsky-metrics-mini {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
}

.ttn-nightsky-metrics-mini strong {
  color: #fff; margin-left: 4px;
}

.ttn-moon-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-moon-visual {
  text-align: center;
}

.ttn-moon-disc {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf0 0%, #e2d9b5 60%, #b8ab80 100%);
  box-shadow: 0 0 30px rgba(254, 240, 138, 0.4), inset -10px -10px 20px rgba(0, 0, 0, 0.15);
  margin: 0 auto 12px;
  overflow: hidden;
}

.ttn-moon-crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 153, 116, 0.25);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.ttn-moon-crater.c1 {
  width: 26px; height: 26px; top: 25px; left: 45px;
}

.ttn-moon-crater.c2 {
  width: 18px; height: 18px; top: 65px; left: 25px;
}

.ttn-moon-crater.c3 {
  width: 22px; height: 22px; top: 75px; left: 75px;
}

.ttn-moon-illum-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.ttn-moon-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d97706;
  margin-bottom: 4px;
}

.ttn-moon-name {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-moon-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.ttn-moon-meta-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.ttn-moon-meta-item .lbl {
  display: block; font-size: 11px; color: #64748b;
}

.ttn-moon-meta-item .val {
  font-size: 14px; font-weight: 700; color: #0f172a;
}

.ttn-lunar-phases-section {
  margin-bottom: 28px;
}

.ttn-lunar-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.ttn-lunar-phase-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.ttn-lunar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 1px solid #cbd5e1;
}

.ttn-lunar-icon.new-moon {
  background: #0f172a;
}

.ttn-lunar-icon.first-qtr {
  background: linear-gradient(90deg, #0f172a 50%, #fef08a 50%);
}

.ttn-lunar-icon.full-moon {
  background: #fef08a; box-shadow: 0 0 14px rgba(254, 240, 138, 0.5);
}

.ttn-lunar-icon.last-qtr {
  background: linear-gradient(90deg, #fef08a 50%, #0f172a 50%);
}

.ttn-lunar-phase-card strong {
  display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px;
}

.ttn-lunar-phase-card span {
  display: block; font-size: 11.5px; color: #64748b; margin-bottom: 4px;
}

.ttn-lunar-phase-card small {
  display: block; font-size: 10.5px; color: #94a3b8;
}

.ttn-astro-events-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-event-item--astro {
  align-items: center;
}

.ttn-event-astro-badge {
  flex-shrink: 0;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
}

.ttn-event-time-tag {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ==========================================================================
   Tool: So sánh thời tiết (.ttn-compare-page)
   ========================================================================== */

/* ==========================================================================
   Tool: So sánh thời tiết (.ttn-compare-page)
   ========================================================================== */

.ttn-compare-selector-bar {
  margin-top: 24px;
}

.ttn-compare-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ttn-compare-pick {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ttn-compare-pick label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}

.ttn-compare-pick select {
  height: 44px;
  min-width: 180px;
  padding: 0 34px 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.ttn-compare-swap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  color: #334155;
  transition: background 0.2s, transform 0.2s;
}

.ttn-compare-swap:hover {
  background: #e2e8f0;
  transform: rotate(180deg);
}

.ttn-compare-presets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ttn-compare-presets .lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.ttn-preset-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ttn-preset-pill:hover {
  background: #e2e8f0; color: #0f172a;
}

.ttn-preset-pill.is-active {
  background: var(--ttn-primary); color: #fff;
}

.ttn-compare-verdict {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.ttn-verdict-col {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
}

.ttn-verdict-icon {
  font-size: 24px; flex-shrink: 0;
}

.ttn-verdict-title,
.ttn-verdict-content strong {
  display: block; font-weight: 700; font-size: 13.5px; color: #0f172a; margin-bottom: 3px;
}

.ttn-verdict-text,
.ttn-verdict-content span {
  margin: 0; font-size: 13px; color: #475569; line-height: 1.5;
}

.ttn-compare-head-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.ttn-compare-hero-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.ttn-compare-hero-card.side-a {
  border-top: 5px solid #3b82f6;
}

.ttn-compare-hero-card.side-b {
  border-top: 5px solid #f97316;
}

.ttn-compare-side-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.ttn-compare-hero-name {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}

.ttn-compare-hero-temp {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0;
}

.ttn-compare-hero-temp .cond {
  font-size: 15px; font-weight: 600; color: #64748b; margin-left: 8px;
}

.ttn-compare-hero-feels {
  font-size: 13px; color: #64748b;
}

.ttn-compare-hero-feels strong {
  color: #0f172a;
}

.ttn-compare-vs-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.ttn-compare-matrix-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.ttn-matrix-table-wrap {
  overflow-x: auto; margin-top: 16px;
}

.ttn-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ttn-matrix-table th {
  text-align: left;
  padding: 12px 16px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
}

.ttn-matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.val-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
}

.ttn-aqi-indicator {
  font-weight: 800; font-size: 15px;
}

/* Responsive adjustments for 5 tools */

@media (max-width: 900px) {
  .ttn-advice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ttn-history-years-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ttn-tide-hero-card {
    grid-template-columns: 1fr; padding: 28px 24px;
  }
  .ttn-nightsky-hero {
    grid-template-columns: 1fr; padding: 32px 24px;
  }
  .ttn-moon-feature-card {
    grid-template-columns: 1fr; text-align: center;
  }
  .ttn-moon-meta-grid {
    justify-content: center;
  }
  .ttn-compare-head-grid {
    grid-template-columns: 1fr;
  }
  .ttn-compare-vs-badge {
    margin: 0 auto;
  }
  .ttn-compare-verdict {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ttn-rain-verdict-header {
    flex-direction: column; align-items: flex-start;
  }
  .ttn-rain-main-prob {
    text-align: left;
  }
  .ttn-advice-grid {
    grid-template-columns: 1fr;
  }
  .ttn-records-grid {
    grid-template-columns: 1fr;
  }
  .ttn-history-years-grid {
    grid-template-columns: 1fr;
  }
  .ttn-lunar-phases-grid {
    grid-template-columns: 1fr;
  }
  .ttn-rain-radar-banner {
    flex-direction: column; text-align: center; align-items: stretch;
  }
  .ttn-btn-radar-link {
    justify-content: center;
  }
}

/* Generic Tool Layout Elements */

/* Generic Tool Layout Elements */

.ttn-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.ttn-section-title {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.ttn-section-sub {
  margin: 0 0 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

.ttn-tool-selector-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ttn-tool-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.ttn-tool-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ttn-tool-select-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.ttn-tool-select-wrap select {
  height: 42px;
  min-width: 220px;
  padding: 0 34px 0 36px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ttn-btn-geo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #334155;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ttn-btn-geo:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ttn-btn-submit {
  height: 42px;
  padding: 0 16px;
  background: var(--ttn-primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ttn-btn-submit:hover {
  background: var(--tt-primary-hover);
}

/* Tool Province Directory & Grid */

/* Tool Province Directory & Grid */

.ttn-tool-provinces-section {
  margin-top: 48px;
  margin-bottom: 40px;
}

.ttn-tool-provinces-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ttn-tool-search-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.ttn-tool-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #94a3b8;
  pointer-events: none;
}

.ttn-tool-search-wrap input,
.ttn-tool-search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ttn-tool-search-wrap input:focus,
.ttn-tool-search-input:focus {
  border-color: var(--ttn-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.ttn-tool-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ttn-tool-filter-tab {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ttn-tool-filter-tab:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.ttn-tool-filter-tab.is-active {
  background: var(--ttn-primary);
  color: #ffffff;
  border-color: var(--ttn-primary);
  box-shadow: 0 2px 8px -2px rgba(22, 163, 74, 0.35);
}

.ttn-provinces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.ttn-province-tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ttn-province-tool-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.ttn-province-tool-card.is-active {
  border-color: var(--ttn-primary);
  background: #f0fdf4;
}

.ttn-province-tool-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ttn-province-tool-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttn-province-tool-card__meta {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttn-province-tool-card__badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Educational Guide Section */

/* Educational Guide Section */

.ttn-tool-guide {
  margin-top: 48px;
  margin-bottom: 48px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}

.ttn-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ttn-guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
}

.ttn-guide-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.ttn-guide-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   ABOUT US PAGE (.ttn-about-*)
   ========================================================================== */

/* ==========================================================================
   ABOUT US PAGE (.ttn-about-*)
   ========================================================================== */

.ttn-about-page {
  padding: 8px 0 64px;
}

.ttn-about-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 45%, var(--ttn-primary-subtle) 100%);
  border: 1px solid var(--tt-border-light);
  border-radius: 24px;
  padding: 44px 36px 36px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.ttn-about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--tt-border-light);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ttn-about-hero__title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.ttn-about-hero__desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 860px;
  margin: 0 0 28px;
}

.ttn-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.ttn-about-stat-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
}

.ttn-about-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.1;
  margin-bottom: 4px;
}

.ttn-about-stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* Two-column Narrative */

/* Two-column Narrative */

.ttn-about-narrative {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.ttn-about-prose {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03);
}

.ttn-about-prose h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.ttn-about-prose p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.ttn-about-prose ul {
  margin: 16px 0 20px 20px;
  padding: 0;
}

.ttn-about-prose li {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 10px;
}

.ttn-about-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03);
}

.ttn-quote-box {
  background: #f8fafc;
  border-left: 4px solid #16a34a;
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  font-size: 14.5px;
  font-style: italic;
  color: #334155;
  line-height: 1.65;
}

/* Feature Value Grid */

/* Feature Value Grid */

.ttn-about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.ttn-about-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ttn-about-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.ttn-value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ttn-value-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.ttn-value-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* Tools Directory Grid */

/* Tools Directory Grid */

.ttn-about-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ttn-about-tool-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ttn-about-tool-item:hover {
  border-color: var(--ttn-primary);
  background: #f8faff;
  transform: translateY(-1px);
}

.ttn-about-tool-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ttn-about-tool-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 3px;
}

.ttn-about-tool-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

/* Call to action */

/* Call to action */

.ttn-about-cta {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 22px;
  padding: 38px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
}

.ttn-about-cta__text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.ttn-about-cta__text p {
  font-size: 14.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.ttn-about-cta__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ttn-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ttn-about-btn--primary {
  background: #16a34a;
  color: #ffffff !important;
}

.ttn-about-btn--primary:hover {
  background: #15803d;
}

.ttn-about-btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ttn-about-btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .ttn-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ttn-about-narrative {
    grid-template-columns: 1fr;
  }
  .ttn-about-values-grid {
    grid-template-columns: 1fr;
  }
  .ttn-about-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .ttn-about-hero {
    padding: 28px 18px 24px;
  }
  .ttn-about-hero__title {
    font-size: 24px;
  }
  .ttn-about-hero__desc {
    font-size: 15px;
  }
  .ttn-about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ttn-about-stat-number {
    font-size: 22px;
  }
  .ttn-about-prose {
    padding: 24px 18px;
  }
  .ttn-about-cta {
    padding: 28px 20px;
  }
  .ttn-about-cta__actions {
    width: 100%;
    flex-direction: column;
  }
  .ttn-about-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PROVINCE OVERVIEW ARTICLE (.ttn-prov-article)
   ========================================================================== */

/* ==========================================================================
   PROVINCE OVERVIEW ARTICLE (.ttn-prov-article)
   ========================================================================== */

.ttn-prov-article {
  background: #ffffff;
  border: 1px solid var(--tt-border-light, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
}

.ttn-prov-article__header {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 60%, #f0fdf4 100%);
  padding: 28px 30px 22px;
  border-bottom: 1px solid #e2e8f0;
}

.ttn-prov-article__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.ttn-prov-article__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.ttn-prov-article__subtitle {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.ttn-prov-article__body {
  padding: 30px;
}

.ttn-prov-article__body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
  margin: 0 0 16px;
}

.ttn-prov-article__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ttn-prov-article__body h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #16a34a;
  border-radius: 2px;
}

.ttn-prov-article__body a {
  color: var(--ttn-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.ttn-prov-article__body a:hover {
  color: var(--ttn-primary-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ttn-prov-article__body ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.ttn-prov-article__body li {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 8px;
}

/* Trekking box */

/* Trekking box */

.ttn-prov-article__trek-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 24px;
}

.ttn-prov-trek-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ttn-prov-trek-desc {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.65;
  margin: 0 !important;
}

/* Quick Tools Interlink Bar */

/* Quick Tools Interlink Bar */

.ttn-prov-article__tools-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 28px;
}

.ttn-prov-tools-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ttn-prov-tools-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ttn-prov-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.ttn-prov-tool-chip:hover {
  border-color: var(--ttn-primary);
  color: var(--ttn-primary) !important;
  background: var(--ttn-primary-subtle);
  transform: translateY(-1px);
}

/* Siblings / Neighboring Provinces */

/* Siblings / Neighboring Provinces */

.ttn-prov-article__siblings {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 22px 30px;
}

.ttn-prov-siblings-head {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ttn-prov-siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.ttn-prov-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.ttn-prov-chip:hover {
  border-color: var(--ttn-primary);
  color: var(--ttn-primary) !important;
  background: #f8faff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ttn-prov-chip svg {
  opacity: 0.5;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ttn-prov-chip:hover svg {
  opacity: 1;
  transform: translateX(2px);
  stroke: var(--ttn-primary);
}

@media (max-width: 640px) {
  .ttn-prov-article__header {
    padding: 22px 18px 18px;
  }
  .ttn-prov-article__title {
    font-size: 20px;
  }
  .ttn-prov-article__body {
    padding: 20px 18px;
  }
  .ttn-prov-article__siblings {
    padding: 18px;
  }
  .ttn-prov-siblings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   WEATHER PEAK & DETAIL PAGES (.ttn-detail-*)
   ========================================================================== */

@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes dropfall {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.95; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes glow {
  0% { opacity: 0.45; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 215, 94, 0.8)); }
  100% { opacity: 0.45; }
}

.ttn-anim-floaty {
  animation: floaty 5s ease-in-out infinite;
}

.ttn-anim-dropfall-1 {
  animation: dropfall 1.4s linear 0s infinite;
}

.ttn-anim-dropfall-2 {
  animation: dropfall 1.4s linear 0.4s infinite;
}

.ttn-anim-dropfall-3 {
  animation: dropfall 1.4s linear 0.8s infinite;
}

.ttn-anim-glow {
  animation: glow 1.5s ease-in-out infinite;
}

.ttn-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.ttn-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.ttn-detail-main {
  flex: 3 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ttn-detail-aside {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ttn-hero-temp-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ttn-giant-temp {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
}

.ttn-giant-temp__num {
  font-family: var(--ttn-font-display, sans-serif);
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
  color: var(--ttn-slate-900, #0f172a);
  letter-spacing: -0.03em;
}

.ttn-giant-temp__deg {
  font-size: 28px;
  font-weight: 600;
  color: var(--ttn-primary);
  margin-top: 4px;
}

.ttn-temp-cond-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ttn-slate-800, #1e293b);
}

.ttn-temp-feels {
  font-size: 13.5px;
  color: var(--ttn-slate-500, #64748b);
  margin-top: 3px;
}

.ttn-temp-feels strong {
  color: #ea580c;
  font-weight: 600;
}

.ttn-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .ttn-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ttn-metric-item {
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--ttn-slate-50, #f8fafc);
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  transition: all 0.2s ease;
}

.ttn-metric-item:hover {
  background: #ffffff;
  border-color: var(--ttn-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--ttn-primary-rgb), 0.08);
}

.ttn-metric-item__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ttn-slate-500, #64748b);
  font-weight: 600;
}

.ttn-metric-item__val {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ttn-slate-900, #0f172a);
}

.ttn-dayparts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .ttn-dayparts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ttn-daypart-card {
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.ttn-daypart-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.ttn-rain-qa-card {
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ttn-rain-qa-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 12px;
}

.ttn-hourly-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
}

.ttn-hour-col {
  flex: 0 0 110px;
  border-radius: 14px;
  padding: 14px 10px;
  background: var(--ttn-slate-50, #f8fafc);
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  text-align: center;
  transition: all 0.2s ease;
}

.ttn-hour-col:hover {
  border-color: var(--ttn-primary);
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--ttn-primary-rgb), 0.1);
}

.ttn-day-row {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(84px, auto) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ttn-slate-200, #e2e8f0);
  transition: background 0.2s ease;
}

.ttn-day-row:hover {
  background: rgba(var(--ttn-primary-rgb), 0.04);
}

@media (max-width: 640px) {
  .ttn-day-row {
    grid-template-columns: 72px 64px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px 12px;
  }
  .ttn-day-row__wind {
    display: none !important;
  }
}

.ttn-aside-widget {
  background: #ffffff;
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ttn-aside-widget__head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ttn-slate-50, #f8fafc);
  border-bottom: 1px solid var(--ttn-slate-200, #e2e8f0);
}

.ttn-aside-widget__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ttn-slate-800, #1e293b);
}

.ttn-sidebar-trek-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--ttn-slate-100, #f1f5f9);
  text-decoration: none !important;
  color: var(--ttn-slate-700, #334155);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.ttn-sidebar-trek-link:hover {
  background: var(--ttn-slate-50, #f8fafc);
  color: var(--ttn-primary);
  padding-left: 20px;
}

.ttn-sidebar-trek-link:last-child {
  border-bottom: none;
}

/* Province Article Section */

.ttn-prov-article {
  background: #ffffff;
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ttn-prov-article__header {
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--ttn-slate-200, #e2e8f0);
  background: linear-gradient(180deg, var(--ttn-slate-50, #f8fafc) 0%, #ffffff 100%);
}

.ttn-prov-article__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ttn-primary);
  background: rgba(var(--ttn-primary-rgb), 0.08);
  border: 1px solid rgba(var(--ttn-primary-rgb), 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.ttn-prov-article__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ttn-slate-900, #0f172a);
  margin: 0 0 6px;
}

.ttn-prov-article__subtitle {
  font-size: 14px;
  color: var(--ttn-slate-500, #64748b);
  margin: 0;
  line-height: 1.5;
}

.ttn-prov-article__body {
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ttn-slate-700, #334155);
}

.ttn-prov-article__trek-box {
  background: rgba(var(--ttn-primary-rgb), 0.05);
  border: 1px solid rgba(var(--ttn-primary-rgb), 0.15);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}

.ttn-prov-trek-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ttn-primary);
  margin-bottom: 8px;
}

.ttn-prov-trek-desc {
  font-size: 13.5px;
  color: var(--ttn-slate-600, #475569);
  margin: 0;
  line-height: 1.6;
}

.ttn-prov-link-trek,
.ttn-prov-link-spot {
  color: var(--ttn-primary);
  font-weight: 600;
  text-decoration: underline;
}

.ttn-prov-article__tools-bar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--ttn-slate-200, #e2e8f0);
}

.ttn-prov-tools-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ttn-slate-800, #1e293b);
  margin-bottom: 12px;
}

.ttn-prov-tools-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ttn-prov-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--ttn-slate-50, #f8fafc);
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  font-size: 13px;
  font-weight: 500;
  color: var(--ttn-slate-700, #334155);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.ttn-prov-tool-chip:hover {
  background: #ffffff;
  border-color: var(--ttn-primary);
  color: var(--ttn-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(var(--ttn-primary-rgb), 0.12);
}

.ttn-prov-article__siblings {
  padding: 20px 28px 24px;
  background: var(--ttn-slate-50, #f8fafc);
  border-top: 1px solid var(--ttn-slate-200, #e2e8f0);
}

.ttn-prov-siblings-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ttn-slate-600, #475569);
  margin-bottom: 12px;
}

.ttn-prov-siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.ttn-prov-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ttn-slate-700, #334155);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.ttn-prov-chip:hover {
  border-color: var(--ttn-primary);
  color: var(--ttn-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Province Directory Grid (.ttn-prov-grid) */

.ttn-prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .ttn-prov-grid {
    grid-template-columns: 1fr;
  }
}

.ttn-prov-item {
  background: #ffffff;
  border: 1px solid var(--ttn-slate-200, #e2e8f0);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
}

.ttn-prov-item:hover {
  border-color: var(--ttn-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--ttn-primary-rgb), 0.1);
}

.ttn-prov-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ttn-slate-900, #0f172a);
}
