@charset "utf-8";



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

.wx-hub-page {
  --page-bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --text-primary: #17324d;
  --text-secondary: #536b82;
  --text-tertiary: #8799aa;
  --border: #dfe8f1;
  --divider: #e8eef4;
  --brand-primary: #176fd1;
  --brand-hover: #0e5fba;
  --brand-accent: #e8872a;
  --shadow-card: 0 8px 24px rgba(28, 53, 77, 0.07);

  --hub-bg-base: var(--page-bg);
  --hub-text-primary: var(--text-primary);
  --hub-text-secondary: var(--text-secondary);
  --hub-text-tertiary: var(--text-tertiary);
  --hub-glass-bg: var(--surface);
  --hub-glass-border: var(--border);
  --hub-glass-shadow: var(--shadow-card);
  --brand-dark: var(--text-primary);
  --brand-deep: var(--brand-primary);
  --wx-accent: var(--brand-primary);
  --wx-text: var(--text-primary);
  --wx-muted: var(--text-secondary);
  --wx-radius: 14px;

  background-color: var(--page-bg) !important;
  color: var(--text-primary);
  font-feature-settings: 'tnum';
}

.wx-hub-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

.wx-hub-atmosphere .wx-hero-canvas {
  width: 100%;
  height: 100%;
}

.wx-hub-main {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.wx-hub-hero-banner {
  background: linear-gradient(180deg, #e8eef6 0%, var(--page-bg) 100%);
  padding: 36px 24px 28px;
  border-bottom: 1px solid var(--divider);
}

.wx-hub-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wx-hub-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.wx-hub-updated {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.wx-hub-updated-tz {
  color: var(--text-tertiary);
}

.wx-hub-hero-intro {
  margin: 0 0 20px;
}

.wx-hub-tagline {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

.wx-hub-feature-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wx-hub-feature-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.wx-hub-badge-icon {
  font-size: 13px;
  line-height: 1;
}

.wx-lang-toggle {
  display: inline-flex;
  padding: 2px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.wx-lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.wx-lang-btn.active {
  background: rgba(23, 111, 209, 0.1);
  color: var(--brand-primary);
  font-weight: 600;
}


.wx-hub-search-container {
  position: relative;
  z-index: 40;
  max-width: 680px;
  margin: 0 auto;
}

.wx-hub-search-form {
  position: relative;
}

.wx-hub-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  box-shadow: var(--shadow-card);
}

.wx-hub-search-input-wrap:focus-within {
  border-color: rgba(23, 111, 209, 0.45);
  box-shadow: 0 0 0 3px rgba(23, 111, 209, 0.1);
}

.wx-hub-search-tools-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 2px;
  flex-shrink: 0;
}

.wx-hub-lang-inset {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: #eef2f7;
  border: none;
  flex-shrink: 0;
  cursor: default;
}

.wx-hub-lang-inset:hover {
  background: #e8edf4;
}

.wx-hub-lang-globe {
  display: inline-flex;
  align-items: center;
  padding: 0 2px 0 4px;
  color: var(--text-tertiary);
  line-height: 0;
}

.wx-hub-lang-inset .wx-lang-btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  min-width: 30px;
  letter-spacing: 0.02em;
}

.wx-hub-lang-inset .wx-lang-btn:not(.active) {
  color: var(--text-tertiary);
  background: transparent;
}

.wx-hub-lang-inset .wx-lang-btn.active {
  background: var(--surface);
  color: var(--brand-primary);
  box-shadow: 0 1px 2px rgba(28, 53, 77, 0.08);
}

.wx-hub-search-input-wrap .wx-hub-search-btn {
  flex-shrink: 0;
}

#wx-hub-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  min-width: 0;
}

.wx-hub-search-btn {
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-primary);
  cursor: pointer;
}

.wx-hub-search-btn:hover {
  background: var(--brand-hover);
}

.wx-hub-hot-cities {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.8;
}

.wx-hub-hot-cities a {
  color: var(--brand-primary);
  text-decoration: none;
  margin: 0 6px;
}

.wx-hub-hot-cities a:hover {
  text-decoration: underline;
}

.wx-hub-suggest-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(28, 53, 77, 0.12);
  z-index: 41;
}

.wx-hub-suggest-list[hidden] {
  display: none !important;
}

.wx-hub-suggest-group-label {
  padding: 10px 16px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.wx-hub-suggest-item {
  display: block;
  min-height: 0;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--divider);
}

.wx-hub-suggest-item .wx-suggest-line {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-primary);
  white-space: normal;
  word-break: break-word;
}

.wx-hub-suggest-item:last-child {
  border-bottom: none;
}

.wx-hub-suggest-item:hover,
.wx-hub-suggest-item.is-active {
  background: #f0f6fd;
}

.wx-hub-suggest-item .wx-suggest-mark {
  font-weight: 700;
  color: var(--brand-primary);
}

.wx-hub-suggest-item.empty {
  display: block;
  padding: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: default;
}


.wx-hub-body {
  padding-top: 4px;
}

.wx-hub-overview {
  margin: 24px 0 20px;
  padding: 14px 18px;
  border-radius: var(--wx-radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.wx-hub-overview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.wx-hub-overview-list strong {
  color: var(--text-primary);
  margin-right: 4px;
  font-weight: 600;
}


.wx-hub-alerts {
  margin: 0 0 28px;
}

.wx-hub-alerts-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.wx-hub-alerts h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-alerts-meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-alerts-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--wx-radius);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.wx-hub-alerts-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.wx-hub-alerts-lead a {
  color: var(--brand-primary);
  font-weight: 600;
}

.wx-hub-alerts-compact {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--wx-radius);
  background: var(--surface);
  overflow: hidden;
}

.wx-hub-alerts-compact li {
  border-bottom: 1px solid var(--divider);
}

.wx-hub-alerts-compact li:last-child {
  border-bottom: none;
}

.wx-hub-alerts-compact a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

.wx-hub-alerts-compact a:hover {
  background: #f0f6fd;
}

.wx-hub-alert-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--surface-muted);
}

.wx-hub-alert-tag--red { border-color: #fecaca; color: #b91c1c; background: #fef2f2; }
.wx-hub-alert-tag--orange { border-color: #fed7aa; color: #c2410c; background: #fff7ed; }
.wx-hub-alert-tag--yellow { border-color: #fde68a; color: #a16207; background: #fefce8; }
.wx-hub-alert-tag--blue { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.wx-hub-alert-tag--white { border-color: #e2e8f0; color: #64748b; background: #f8fafc; }

.wx-hub-alert-line-city {
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-alert-line-desc {
  color: var(--text-secondary);
}

.wx-hub-alerts-compact time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.wx-hub-alert-line-time {
  flex: 1 1 100%;
  padding-left: calc(11px + 8px + 2.5em);
  font-size: 12px;
  color: var(--text-tertiary);
}

@media (min-width: 640px) {
  .wx-hub-alerts-compact a {
    flex-wrap: wrap;
  }

  .wx-hub-alert-line-time {
    flex: 1 1 auto;
    padding-left: 0;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
  }
}

.wx-hub-alerts-foot {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.wx-hub-alerts-all-link {
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.wx-hub-alerts-all-link:hover {
  text-decoration: underline;
}


.wx-hub-section {
  margin-bottom: 36px;
}

.wx-hub-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--brand-primary);
}

.wx-hub-section-title-overseas::before {
  background: var(--brand-accent);
}

.wx-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px;
}

.wx-hub-card-article {
  margin: 0;
}

.wx-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 172px;
  padding: 14px 14px 12px;
  border-radius: var(--wx-radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wx-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 53, 77, 0.1);
  border-color: rgba(23, 111, 209, 0.25);
}

.wx-hub-card-header {
  margin: 0;
}

.wx-hub-card-zh {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.wx-hub-card-en {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--text-tertiary);
}

.wx-hub-card-temp {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-primary);
}

.wx-hub-card-phrase {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.wx-hub-card-range,
.wx-hub-card-aqi-line {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.wx-hub-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.wx-hub-card-icon .wx-weather-icon {
  width: 28px;
  height: 28px;
}

.wx-hub-aqi {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--aqi-color, #94a3b8) 14%, white);
  color: color-mix(in srgb, var(--aqi-color, #94a3b8) 72%, #111);
  border: 1px solid color-mix(in srgb, var(--aqi-color, #94a3b8) 28%, white);
}

.wx-hub-card-alert {
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  padding: 2px 7px;
}


.wx-hub-rankings {
  margin: 8px 0 32px;
}

.wx-hub-rankings > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-rankings-lead {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-rankings-more {
  margin: 10px 0 0;
  font-size: 13px;
}

.wx-hub-rankings-more a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.wx-hub-rankings-more a:hover {
  text-decoration: underline;
}

.wx-hub-rankings-region-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-rankings-region {
  margin-bottom: 28px;
}

.wx-hub-rankings-region-head {
  margin-bottom: 14px;
}

.wx-hub-rankings-region-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-rankings-region-head p {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-rankings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wx-hub-rank-block {
  padding: 16px 18px;
  border-radius: var(--wx-radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.wx-hub-rank-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.wx-hub-rank-block-head h4,
.wx-hub-rank-block-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-rank-unit-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-right: auto;
}

.wx-hub-rank-scale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  max-width: 100%;
  flex: 1 1 140px;
}

.wx-hub-rank-scale-bar {
  flex: 1 1 auto;
  height: 8px;
  min-width: 72px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.wx-hub-rank-scale-min,
.wx-hub-rank-scale-max {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
  line-height: 1;
}

.wx-hub-rank-ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-hub-rank-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
}

.wx-hub-rank-item.is-compact {
  padding: 5px 0;
}

.wx-hub-rank-item.is-compact .wx-hub-rank-bar {
  height: 2px;
  margin-top: 4px;
}

.wx-hub-rank-item:last-child {
  border-bottom: none;
}

.wx-hub-rank-item.is-first .wx-hub-rank-num {
  color: var(--brand-accent);
  font-weight: 800;
}

.wx-hub-rank-num {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.wx-hub-rank-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #94a3b8;
}

.wx-hub-subpage .wx-hub-rank-bar {
  height: 4px;
}

.wx-hub-rank-body {
  min-width: 0;
}

.wx-hub-rank-body a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  margin-bottom: 5px;
}

.wx-hub-rank-body a:hover {
  text-decoration: underline;
}

.wx-hub-rank-bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #e8eef4;
  position: relative;
  overflow: hidden;
}

.wx-hub-rank-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 50%);
  background: var(
    --rank-bar-bg,
    linear-gradient(90deg, rgba(23, 111, 209, 0.35), rgba(23, 111, 209, 0.75))
  );
  box-shadow: var(--rank-bar-shadow, none);
  border-radius: inherit;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.wx-hub-rank-item data {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  padding-top: 2px;
}

.wx-hub-rank-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
}


.wx-hub-brief {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: var(--wx-radius);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.wx-hub-brief-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.wx-hub-brief h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-brief-head time {
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-brief-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.wx-hub-brief-source {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.wx-hub-brief-headline {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.45;
}

.wx-hub-brief-more {
  margin: 4px 0 0;
  font-size: 13px;
}

.wx-hub-brief-more a {
  color: var(--accent, #2563eb);
  text-decoration: none;
  font-weight: 600;
}

.wx-hub-brief-more a:hover {
  text-decoration: underline;
}

.wx-hub-brief-block {
  margin-bottom: 18px;
}

.wx-hub-brief-block:last-child {
  margin-bottom: 0;
}

.wx-hub-brief-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-brief-paragraph {
  margin: 0;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  text-align: justify;
  text-justify: inter-ideograph;
}

.wx-hub-brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}

.wx-hub-brief-main p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.wx-hub-brief-meta {
  margin: 0 0 24px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.55;
}

.wx-hub-brief + .wx-hub-brief {
  margin-top: 16px;
}

.wx-hub-brief-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wx-hub-brief-stat {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--divider);
}

.wx-hub-brief-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.wx-hub-brief-stat strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}


.wx-hub-capabilities {
  margin: 0 0 28px;
}

.wx-hub-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wx-hub-cap-item {
  padding: 18px 20px;
  border-radius: var(--wx-radius);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.wx-hub-cap-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-cap-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}


.wx-hub-cta {
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.wx-hub-cta-inner {
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid #dce6f2;
  border-left: 4px solid var(--brand-primary);
  box-shadow: 0 12px 32px rgba(31, 56, 82, 0.08);
}

.wx-hub-cta-inner h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.wx-hub-cta-desc {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.wx-hub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wx-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.wx-cta-primary {
  background: var(--brand-primary);
  color: #fff;
}

.wx-cta-primary:hover {
  background: var(--brand-hover);
}

.wx-cta-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.wx-cta-secondary:hover {
  border-color: rgba(23, 111, 209, 0.35);
  color: var(--brand-primary);
}

.wx-hub-cta-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.wx-hub-disclaimer {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

.wx-hub-seo-nav.visually-hidden {
  position: absolute;
}


.wx-hub-subpage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

.wx-hub-subpage-top .wx-hub-breadcrumb {
  margin: 0;
}

.wx-hub-breadcrumb {
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.wx-hub-breadcrumb a {
  color: var(--brand-primary);
  text-decoration: none;
}

.wx-hub-breadcrumb a:hover {
  text-decoration: underline;
}

.wx-hub-subpage-head {
  margin-bottom: 20px;
}

.wx-hub-subpage-head h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}

.wx-hub-subpage-meta,
.wx-hub-subpage-lead {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.wx-hub-subpage-back {
  margin: 24px 0 0;
  font-size: 14px;
}

.wx-hub-subpage-back a {
  color: var(--brand-primary);
  text-decoration: none;
}

.wx-hub-warnings-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--wx-radius);
  background: var(--surface);
}

.wx-hub-warnings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.wx-hub-warnings-table th,
.wx-hub-warnings-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--divider);
}

.wx-hub-warnings-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--surface-muted);
}

.wx-hub-warnings-table a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.wx-hub-warnings-table a:hover {
  text-decoration: underline;
}

.wx-hub-alert-area[title] {
  cursor: help;
  border-bottom: 1px dotted var(--text-tertiary);
}

.wx-hub-alert-type {
  color: var(--text-secondary);
  font-size: 13px;
}

.wx-hub-alert-source {
  color: var(--text-tertiary);
  font-size: 13px;
  white-space: nowrap;
}

.wx-hub-alert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.wx-hub-alert-status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.wx-hub-alert-status--new .wx-hub-alert-status-dot {
  background: #22c55e;
}

.wx-hub-alert-status--update .wx-hub-alert-status-dot {
  background: #3b82f6;
}

.wx-hub-alert-status--cancel .wx-hub-alert-status-dot {
  background: #94a3b8;
}

.wx-hub-alert-status--unknown .wx-hub-alert-status-dot {
  background: #cbd5e1;
}

.wx-hub-warnings-table time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}


.wx-warnings-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  margin: 16px 0 8px;
  padding: 14px 4px 4px;
}

.wx-warnings-page-meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.wx-warnings-page-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.wx-warnings-page-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  box-shadow: 0 1px 2px rgba(28, 53, 77, 0.04);
}

.wx-warnings-page-btn--nav {
  min-width: 72px;
  padding: 0 14px;
}

.wx-warnings-page-btn:hover:not(:disabled) {
  background: var(--surface-muted);
  color: var(--brand-primary);
  border-color: #bfdcff;
}

.wx-warnings-page-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 6px 14px rgba(23, 111, 209, 0.22);
}

.wx-warnings-page-btn:disabled {
  cursor: not-allowed;
  background: var(--surface-muted);
  border-color: var(--divider);
  color: #c0c7d2;
  box-shadow: none;
}

.wx-warnings-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  color: var(--text-tertiary);
  font-size: 14px;
  letter-spacing: 1px;
  user-select: none;
}

@media (max-width: 560px) {
  .wx-warnings-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .wx-warnings-page-meta {
    text-align: center;
  }

  .wx-warnings-page-controls {
    justify-content: center;
  }

  .wx-warnings-page-btn--nav {
    min-width: 64px;
    padding: 0 10px;
  }
}

@media (max-width: 960px) {
  .wx-hub-brief-layout {
    grid-template-columns: 1fr;
  }

  .wx-hub-cap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wx-hub-rankings-grid {
    grid-template-columns: 1fr;
  }

  .wx-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wx-hub-feature-badges {
    gap: 6px 8px;
  }

  .wx-hub-feature-badges li {
    font-size: 11px;
    padding: 5px 10px;
  }

  .wx-hub-search-input-wrap {
    gap: 6px;
    padding-right: 6px;
  }

  .wx-hub-lang-inset .wx-lang-btn {
    padding: 5px 8px;
    min-width: 26px;
  }

  .wx-hub-search-btn {
    padding: 9px 14px;
  }
}

  .wx-hub-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-hub-atmosphere {
    display: none;
  }

  .wx-hub-card {
    transition: none;
  }
}
