/* =============================================
   IndexPulse — Main Stylesheet
   Covers: Homepage + World Tension page
   Add-ons: Gold, Crypto, News will reuse this
   ============================================= */

:root {
  --brand: #185FA5;
  --brand-light: #E6F1FB;
  --danger: #E24B4A;
  --danger-light: #FCEBEB;
  --warning: #854F0B;
  --warning-light: #FAEEDA;
  --success: #1D9E75;
  --success-light: #E1F5EE;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #666;
  --border: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.13);
  --surface: #fff;
  --surface-2: #f7f7f5;
  --surface-3: #f0efe9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { text-decoration: none; color: inherit; }

/* =============================================
   HEADER — fully responsive, auto-adjusting
   Desktop: logo + nav + live + score pill
   Mobile:  logo + live + score + hamburger
   ============================================= */

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  /* overflow visible — required for dropdown menus */
}

/* Inner wrapper */
.hdr-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  gap: 1.5rem;
}

/* ---- LOGO ---- */
.hdr-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  color: inherit;
}
.hdr-globe svg {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.hdr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hdr-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hdr-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  white-space: nowrap;
  line-height: 1;
}
.hdr-badge {
  background: #185FA5;
  color: #fff;
  font-family: sans-serif;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}
.hdr-sub {
  font-size: 11px;
  color: #666;
  font-family: sans-serif;
  white-space: nowrap;
  line-height: 1;
}

/* ---- DESKTOP NAV ---- */
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.hdr-nav > a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 6px 10px;
  border-radius: 6px;
}
.hdr-nav > a:hover { color: #1a1a1a; background: var(--surface-2); }

/* Dropdown group */
.nav-group {
  position: relative;
}
.nav-group-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  background: none;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
  user-select: none;
}
.nav-group-btn:hover { color: #1a1a1a; background: var(--surface-2); }
.nav-group-btn .nav-chevron {
  font-size: 9px;
  color: #aaa;
  transition: transform 0.2s;
  margin-top: 1px;
}
.nav-group.open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 200;
  padding: 6px;
  animation: ddFadeIn 0.15s ease;
}
@keyframes ddFadeIn {
  from { opacity:0; transform:translateY(-4px); }
  to   { opacity:1; transform:translateY(0); }
}
.nav-group.open .nav-dropdown { display: block; }
.nav-group:hover .nav-dropdown { display: block; }
.nav-group:hover .nav-chevron  { transform: rotate(180deg); }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--surface-2); color: var(--text-primary); }
.nav-dropdown .dd-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.nav-dropdown .dd-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.hdr-sep {
  color: rgba(0,0,0,0.15);
  font-size: 13px;
  user-select: none;
}

/* ---- RIGHT SIDE ---- */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Live pill */
.hdr-live {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #E1F5EE;
  border: 1px solid rgba(29,158,117,0.25);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 500;
  color: #0F6E56;
  font-family: sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.hdr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1D9E75;
  flex-shrink: 0;
  animation: hdrdot 2s infinite;
}
@keyframes hdrdot {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* Score pill */
.hdr-score {
  display: flex;
  align-items: center;
  background: #FCEBEB;
  border: 1px solid rgba(226,75,74,0.25);
  border-radius: 20px;
  padding: 5px 13px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.hdr-score-num {
  font-size: 14px;
  font-weight: 500;
  color: #991B1B;
  font-family: sans-serif;
}
.hdr-score-zone {
  font-size: 11px;
  color: #A32D2D;
  font-family: sans-serif;
}

/* Hamburger — hidden on desktop, shown by JS on mobile */
.hdr-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  cursor: pointer;
  padding: 7px;
  flex-shrink: 0;
}
.hdr-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.2s;
}
.hdr-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-burger.active span:nth-child(2) { opacity: 0; }
.hdr-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .hdr-inner {
    height: 60px;
    padding: 0 1rem;
    gap: 0;
  }
  /* Logo shrinks slightly */
  .hdr-globe svg { width: 26px; height: 26px; }
  .hdr-title { font-size: 12px; }
  .hdr-badge { font-size: 7px; padding: 2px 5px; }
  .hdr-sub { font-size: 8px; }
  .hdr-logo { gap: 7px; }
  .hdr-name { gap: 5px; }
  /* Nav hidden — drawer used instead */
  .hdr-nav { display: none !important; }
  /* Right side tighter */
  .hdr-right { gap: 5px; }
  .hdr-live { padding: 4px 9px; font-size: 10px; gap: 4px; }
  .hdr-dot { width: 6px; height: 6px; }
  .hdr-score { padding: 4px 10px; }
  .hdr-score-num { font-size: 13px; }
  .hdr-score-zone { display: none; }
  /* Show hamburger */
  .hdr-burger { display: flex; }
}

/* Keep old class names working for drawer */
.live-tag { display:none; }
.live-dot { display:none; }
.score-pill { display:none; }
.mob-score-pill { display:none; }
.nav-toggle { display:none; }
.main-nav { display:none; }


/* ---- HERO ---- */
.hero-section {
  background: var(--surface);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- INDEXES GRID ---- */
.indexes-section { padding: 2.5rem 0; }
.indexes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.index-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.index-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}
.active-card { cursor: pointer; }
.soon-card { opacity: 0.7; cursor: default; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.live-badge { background: #E1F5EE; color: #0F6E56; }
.soon-badge { background: var(--surface-3); color: var(--text-tertiary); }

.card-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 24px; height: 24px; }
.tension-icon { color: var(--danger); }
.gold-icon { color: var(--warning); }
.crypto-icon { color: var(--brand); }
.news-icon { color: #0F6E56; }

.card-name { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; flex: 1; }

.card-score-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gauge-mini { flex-shrink: 0; }
.score-info { display: flex; flex-direction: column; }
.score-big { font-size: 28px; font-weight: 500; color: #E24B4A; line-height: 1; }
.score-status { font-size: 11px; color: var(--text-secondary); margin-top: 3px; }

.soon-placeholder {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.soon-bar {
  height: 8px;
  background: var(--surface-3);
  border-radius: 4px;
  width: 100%;
  animation: shimmer 1.5s infinite;
}
.soon-bar.short { width: 60%; }
@keyframes shimmer {
  0%,100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.updated-time { font-size: 11px; color: #666; }
.arrow-link { font-size: 12px; color: var(--brand); }

/* ---- HOW IT WORKS ---- */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.how-step { display: flex; flex-direction: column; gap: 0.5rem; }
.step-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 1px;
}
.how-step h3 { font-size: 14px; font-weight: 500; }
.how-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ---- AD SLOT ---- */
.ad-slot {
  min-height: 90px;
  background: var(--surface-3);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-mid);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- FOOTER ---- */
/* ---- FOOTER ---- */
/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 2rem 0 0;
}
.ftr-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Top row */
.ftr-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.75rem;
}

/* Logo block */
.ftr-logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ftr-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ftr-logo-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ftr-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  white-space: nowrap;
}
.ftr-badge {
  background: #185FA5;
  color: #fff;
  font-family: sans-serif;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ftr-sub {
  font-size: 10px;
  color: #666;
  font-family: sans-serif;
  white-space: nowrap;
  line-height: 1.4;
}

/* Nav columns */
.ftr-nav-cols {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}
.ftr-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ftr-col-heading {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  font-family: sans-serif;
  margin-bottom: 2px;
}
.ftr-col a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  font-family: sans-serif;
  transition: color 0.2s;
}
.ftr-col a:hover { color: #185FA5; }
.ftr-col a.ftr-dim { color: #767676; }

/* Bottom bar */
.ftr-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0.75rem 0;
  font-size: 11px;
  color: #595959;
  font-family: sans-serif;
  gap: 1rem;
}
.ftr-bottom strong {
  color: #185FA5;
  font-weight: 600;
}

/* ---- MOBILE FOOTER ---- */
@media (max-width: 768px) {
  .ftr-top {
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
  }
  /* Logo full width on mobile */
  .ftr-logo-block {
    width: 100%;
    gap: 10px;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .ftr-logo-text { flex: 1; }
  .ftr-title { font-size: 13px; }
  /* Nav columns side by side on mobile */
  .ftr-nav-cols {
    width: 100%;
    gap: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }
  .ftr-col { gap: 10px; }
  /* Bottom bar stacked on mobile */
  .ftr-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
}


/* =============================================
   WORLD TENSION METER — Page styles
   ============================================= */

.wt-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.wt-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.wt-hero-left h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
}
.wt-hero-left p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.wt-main { padding: 2rem 0; }
.wt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.wt-grid-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.panel-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

/* Gauge */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; }
.gauge-svg-main { width: 100%; max-width: 300px; }
.gauge-score-display { text-align: center; margin-top: 0.5rem; }
.gauge-score-num { font-size: 52px; font-weight: 500; line-height: 1; }
.gauge-score-lbl { font-size: 14px; font-weight: 500; margin-top: 4px; }
.gauge-score-sub { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }

/* Factors */
.factor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.factor-name { font-size: 12px; color: var(--text-secondary); width: 130px; flex-shrink: 0; }
.factor-track {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}
.factor-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.factor-score { font-size: 12px; font-weight: 500; color: var(--text-primary); width: 26px; text-align: right; }

/* Zone legend */
.zone-legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.zone-pill { font-size: 10px; padding: 3px 8px; border-radius: 20px; }

/* Metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.metric-lbl { font-size: 11px; color: var(--text-tertiary); margin-bottom: 6px; }
.metric-val { font-size: 22px; font-weight: 500; color: var(--text-primary); }
.metric-chg { font-size: 11px; margin-top: 3px; }
.chg-up { color: var(--danger); }
.chg-dn { color: #0F6E56; }
.chg-neu { color: var(--text-tertiary); }

/* Chart */
.chart-wrap { position: relative; height: 200px; }

/* Events */
.event-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.event-item:last-child { border-bottom: none; }
.event-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 4px;
}
.tag-conflict { background: var(--danger-light); color: #A32D2D; }
.tag-energy { background: var(--warning-light); color: var(--warning); }
.tag-trade { background: var(--brand-light); color: var(--brand); }
.tag-finance { background: var(--success-light); color: #0F6E56; }
.event-text { font-size: 12px; color: var(--text-primary); line-height: 1.5; }
.event-time { font-size: 10px; color: var(--text-tertiary); margin-top: 3px; }

/* Methodology box */
.method-box {
  background: var(--brand-light);
  border: 1px solid rgba(24,95,165,0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 12px;
  color: var(--brand);
  line-height: 1.7;
  margin-top: 1rem;
}

/* =============================================
   RESPONSIVE — MOBILE MENU
   ============================================= */

.nav-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 7px 8px;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 99;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  padding: 14px 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.nav-drawer a:active { background: var(--surface-2); }
.nav-drawer a.coming { color: var(--text-tertiary); }
.nav-drawer a.coming:active { background: var(--surface-2); }
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer a:not(.coming):not(.drawer-home)::after {
  content: '→';
  font-size: 14px;
  color: var(--brand);
}
.nav-drawer .drawer-acc-body a::after {
  font-size: 12px;
  color: var(--brand);
  opacity: 0.5;
}
.nav-drawer a.coming::after { content: ''; }

/* Accordion section */
.drawer-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 1.5rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.drawer-acc-header .acc-arrow {
  font-size: 11px;
  color: #aaa;
  transition: transform 0.2s;
}
.drawer-acc-header.open .acc-arrow { transform: rotate(180deg); }
.drawer-acc-body {
  display: none;
  background: var(--surface);
}
.drawer-acc-body.open { display: block; }
.drawer-acc-body a {
  padding-left: 2rem;
  font-size: 15px;
  color: var(--text-secondary);
}
.drawer-acc-body a:last-of-type { border-bottom: 1px solid var(--border); }

.drawer-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  padding: 20px 1.5rem 8px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.drawer-tag {
  font-size: 10px;
  background: var(--surface-3);
  color: var(--text-tertiary);
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.drawer-score-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 1.5rem;
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
}
.drawer-score-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.drawer-score-zone  { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.drawer-score-num   { font-size: 24px; font-weight: 500; color: #E24B4A; }

@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  .wt-grid { grid-template-columns: 1fr; }
  .wt-grid-bottom { grid-template-columns: 1fr; gap: 12px; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 1rem; box-sizing: border-box; }
  .panel { padding: 1rem; }
  .wt-hero-left p { font-size: 12px; }
  .wt-hero-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hide-mobile { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.875rem; }
  .panel { padding: 0.875rem; border-radius: 10px; }
  .wt-grid-bottom { gap: 10px; margin-bottom: 12px; }
  .wt-main { padding: 1rem 0; }
  .metrics-row { gap: 8px; margin-bottom: 12px; }
}
