/* ═══════════════════════════════════════════════════════════
   PALM OIL PROJECT — iOS 26 Liquid Glass · Readable Edition
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --lg-text:      rgba(255,255,255,0.95);
  --lg-text-mid:  rgba(255,255,255,0.68);
  --lg-text-dim:  rgba(255,255,255,0.42);
  --lg-border:    rgba(255,255,255,0.18);
  --lg-blur-nav:  blur(44px) saturate(180%);
  --lg-blur-card: blur(18px) saturate(145%);
}

/* ── Warmer, brighter background (green-gold tropical) ── */
html { background: #122218; }
body {
  background:
    radial-gradient(ellipse 70% 50% at 90% 5%,   rgba(210,155,50,0.28)  0%, transparent 52%),
    radial-gradient(ellipse 55% 65% at 5%  68%,   rgba(40,150,75,0.26)   0%, transparent 56%),
    radial-gradient(ellipse 50% 40% at 55% 92%,   rgba(26,100,48,0.22)   0%, transparent 52%),
    radial-gradient(ellipse 35% 30% at 70% 50%,   rgba(210,155,50,0.10)  0%, transparent 45%),
    linear-gradient(158deg, #111e16 0%, #172d1e 38%, #1c3622 65%, #111e16 100%) !important;
  background-attachment: fixed !important;
  color: var(--lg-text) !important;

  /* Override original light-mode CSS vars */
  --text:       rgba(255,255,255,0.95) !important;
  --text-mid:   rgba(255,255,255,0.68) !important;
  --text-light: rgba(255,255,255,0.42) !important;
  --border:     rgba(255,255,255,0.15) !important;
}

/* ── Base typography for readability ── */
body, .card, .bcard, section { font-size: 14px; line-height: 1.7; }
p, li, td, .card-desc { line-height: 1.75; }

/* ── Page width control — never overflow viewport ── */
html, body { overflow-x: hidden !important; max-width: 100% !important; }
.section-inner { max-width: 1040px !important; margin: 0 auto !important; }
section { padding-left: 24px !important; padding-right: 24px !important; }
/* Stat grids: auto-fit so boxes wrap gracefully instead of overflowing */
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; }
/* Any element with an explicit width can't push past its container */
.section-inner > *, .card, .grid-4 > *, .grid-3 > *, .grid-2 > * { max-width: 100%; }

/* ── Navigation glass (only blur here) ── */
#nav, nav#nav {
  background: rgba(12,26,18,0.82) !important;
  backdrop-filter: var(--lg-blur-nav) !important;
  -webkit-backdrop-filter: var(--lg-blur-nav) !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.40) !important;
}
#nav a, nav#nav a { color: rgba(255,255,255,0.78) !important; font-size: 13px; }
#nav a:hover { color: #fff !important; }

/* ── Section backgrounds ── */
section, .mid-section { background: transparent !important; }

/* ── Glass cards ── */
.card {
  background: rgba(255,255,255,0.09) !important;
  backdrop-filter: var(--lg-blur-card) !important;
  -webkit-backdrop-filter: var(--lg-blur-card) !important;
  border: 0.5px solid rgba(255,255,255,0.20) !important;
  border-radius: 20px !important;
  box-shadow:
    0 6px 32px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
  color: var(--lg-text) !important;
}

/* ── Headings ── */
h2.section-title, .section-title { color: #fff !important; font-size: 22px; line-height: 1.35; }
.section-sub  { color: var(--lg-text-mid) !important; font-size: 14px; line-height: 1.75; }
.section-tag  {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.18) !important;
  font-size: 10px !important;
  letter-spacing: 1.4px !important;
}
.section-tag.green { color: #4ade80 !important; }
.section-tag.gold  { color: #fbbf24 !important; }
.section-tag.blue  { color: #60a5fa !important; }

/* ── Dark inline text → white ── */
.card [style*="color:#1a1a2e"], .card [style*="color: #1a1a2e"],
.card [style*="color:#374151"], .card [style*="color: #374151"],
.card [style*="color:#111827"], .card [style*="color: #111827"],
.card [style*="color:#1f2937"], .card [style*="color: #1f2937"],
.card [style*="color:#4b5563"], .card [style*="color: #4b5563"],
.card [style*="color:var(--text)"],
.card [style*="color:var(--text-mid)"] { color: var(--lg-text) !important; }
.card [style*="color:#9ca3af"], .card [style*="color: #9ca3af"],
.card [style*="color:#6b7280"], .card [style*="color: #6b7280"],
.card [style*="color:#8e8e93"], .card [style*="color: #8e8e93"] { color: var(--lg-text-mid) !important; }

/* ── White/light inline boxes → tinted glass ── */
.card [style*="background:white"],
.card [style*="background: white"],
.card [style*="background:#ffffff"],
.grid-4 > [style*="background:white"],
.grid-4 > [style*="background: white"] {
  background: rgba(255,255,255,0.12) !important;
  color: var(--lg-text) !important;
  border: 0.5px solid rgba(255,255,255,0.16) !important;
  border-radius: 14px !important;
}

/* Coloured metric boxes */
[class*="grid"] > [style*="background:#f0fdf4"],
.card [style*="background:#f0fdf4"] { background: rgba(26,100,45,0.42) !important; color: var(--lg-text) !important; }
[class*="grid"] > [style*="background:#fef3c7"],
.card [style*="background:#fef3c7"] { background: rgba(140,90,10,0.42) !important; color: var(--lg-text) !important; }
[class*="grid"] > [style*="background:#dbeafe"],
.card [style*="background:#dbeafe"] { background: rgba(20,55,130,0.42) !important; color: var(--lg-text) !important; }
[class*="grid"] > [style*="background:#d1fae5"],
.card [style*="background:#d1fae5"] { background: rgba(15,80,45,0.42) !important; color: var(--lg-text) !important; }
[class*="grid"] > [style*="background:#fce7f3"],
.card [style*="background:#fce7f3"] { background: rgba(100,20,60,0.42) !important; color: var(--lg-text) !important; }
[class*="grid"] > [style*="background:#ede9fe"],
.card [style*="background:#ede9fe"] { background: rgba(60,20,120,0.42) !important; color: var(--lg-text) !important; }

/* ── Tables — taller rows, readable ── */
.tbl { border-collapse: separate !important; border-spacing: 0 !important; font-size: 13.5px; }
.tbl thead tr th {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.88) !important;
  font-size: 11.5px !important;
  letter-spacing: 0.4px !important;
  padding: 12px 16px !important;        /* taller header */
  border-bottom: 0.5px solid rgba(255,255,255,0.20) !important;
  white-space: nowrap;
}
.tbl tbody tr td {
  color: var(--lg-text) !important;
  padding: 13px 16px !important;        /* taller rows */
  line-height: 1.65 !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.07) !important;
  vertical-align: middle !important;
}
/* Strip inline row bg, use subtle alternating instead */
.tbl tbody tr { background: transparent !important; }
.tbl tr[style*="background"] td { background: transparent !important; }
.tbl tbody tr:nth-child(odd)  td { background: rgba(255,255,255,0.04) !important; }
.tbl tbody tr:hover            td { background: rgba(255,255,255,0.09) !important; transition: background 0.15s; }

/* Semantic colour overrides for dark bg */
.tbl td[style*="color:#059669"],
strong[style*="color:#059669"]                { color: #4ade80 !important; }
.tbl td[style*="color:#dc2626"]               { color: #f87171 !important; }
.tbl td[style*="color:#92400e"]               { color: #fbbf24 !important; }
.tbl td[style*="color:#1d4ed8"]               { color: #93c5fd !important; }
.tbl td[style*="color:#166534"]               { color: #4ade80 !important; }
.tbl td[style*="color:#374151"],
.tbl td[style*="color:#1f2937"],
.tbl td[style*="color:#111827"]               { color: var(--lg-text) !important; }
.tbl td[style*="color:#d97706"],
.tbl td[style*="color:#f59e0b"]               { color: #fcd34d !important; }

/* Second table class used in 加工厂对比.html */
table.t {
  font-size: 13.5px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
table.t th {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.88) !important;
  padding: 12px 16px !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.20) !important;
}
table.t td {
  color: var(--lg-text) !important;
  padding: 13px 16px !important;
  line-height: 1.65 !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.07) !important;
  vertical-align: middle !important;
}
table.t tr:nth-child(odd) td  { background: rgba(255,255,255,0.04) !important; }
table.t tr:hover           td  { background: rgba(255,255,255,0.09) !important; }
table.t tr[style*="background"] td { background: transparent !important; }

/* ── Tax tables (印尼经营税务专项分析) ── */
.tax-table { border-collapse: separate !important; border-spacing: 0 !important; }
.tax-table th {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.82) !important;
  padding: 11px 14px !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.18) !important;
}
.tax-table td {
  color: var(--lg-text) !important;
  padding: 12px 14px !important;
  line-height: 1.6 !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.07) !important;
}
.tax-table tr { background: transparent !important; }
.tax-table tr:nth-child(odd) td { background: rgba(255,255,255,0.04) !important; }
.tax-table tr:hover td          { background: rgba(255,255,255,0.09) !important; }
/* highlighted rows → tinted glass instead of light pastel */
.tax-table tr[style*="background:#fffbeb"] td,
.tax-table tr[style*="background: #fffbeb"] td { background: rgba(180,130,20,0.22) !important; }
.tax-table tr[style*="background:#f0fdf4"] td,
.tax-table tr[style*="background: #f0fdf4"] td { background: rgba(26,100,45,0.28)  !important; }
.tax-table tr[style*="background:#fee2e2"] td,
.tax-table tr[style*="background: #fee2e2"] td { background: rgba(150,40,40,0.28)   !important; }
/* semantic cell text colours visible on dark */
.tax-table td[style*="color:#dc2626"] { color: #f87171 !important; }
.tax-table td[style*="color:#92400e"] { color: #fbbf24 !important; }
.tax-table td[style*="color:#059669"] { color: #4ade80 !important; }

/* tax section coloured headers — keep vivid, slightly translucent */
.tax-section-head { color: #fff !important; }
.ts-red    { background: rgba(220,38,38,0.85)  !important; }
.ts-blue   { background: rgba(29,78,216,0.85)  !important; }
.ts-purple { background: rgba(124,58,237,0.85) !important; }

/* ── Badges ── */
.badge {
  font-size: 11px !important;
  padding: 3px 9px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  display: inline-block;
}
.badge.b-green  { background: rgba(52,199,89,0.20)  !important; color: #4ade80 !important; border: 0.5px solid rgba(52,199,89,0.40)  !important; }
.badge.b-gold,
.badge.b-orange { background: rgba(232,176,51,0.20) !important; color: #fcd34d !important; border: 0.5px solid rgba(232,176,51,0.40) !important; }
.badge.b-blue   { background: rgba(10,132,255,0.20) !important; color: #93c5fd !important; border: 0.5px solid rgba(10,132,255,0.40) !important; }
.badge.b-gray   { background: rgba(200,200,200,0.12)!important; color: rgba(255,255,255,0.58) !important; border: 0.5px solid rgba(255,255,255,0.20) !important; }

/* ── Sum boxes ── */
.sum-box {
  border: 0.5px solid rgba(255,255,255,0.22) !important;
  border-radius: 20px !important;
  padding: 22px 18px !important;
  box-shadow: 0 4px 22px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.20) !important;
}
.sum-box[style*="background:var(--green-dark)"] { background: rgba(26,92,42,0.58)    !important; }
.sum-box[style*="background:var(--green)"]      { background: rgba(34,140,65,0.58)   !important; }
.sum-box[style*="background:#1e40af"]           { background: rgba(30,64,175,0.58)   !important; }
.sum-box[style*="background:#7c3aed"]           { background: rgba(124,58,237,0.58)  !important; }
.sum-box .sb-label  { color: rgba(255,255,255,0.78) !important; font-size: 12px !important; margin-bottom: 6px; }
.sum-box .sb-val    { color: #fff !important; font-size: 26px !important; font-weight: 900 !important; margin-bottom: 4px; }
.sum-box .sb-sub    { color: rgba(255,255,255,0.62) !important; font-size: 12px !important; }

/* ── Note / info boxes ── */
.note { border-radius: 12px !important; padding: 12px 16px !important; font-size: 13.5px !important; line-height: 1.72 !important; }
.note.info { background: rgba(10,132,255,0.14) !important; border-color: rgba(10,132,255,0.30) !important; color: rgba(210,230,255,0.95) !important; }
.note.warn { background: rgba(255,159,10,0.14) !important; border-color: rgba(255,159,10,0.30) !important; color: rgba(255,235,170,0.95) !important; }
.note.ok   { background: rgba(52,199,89,0.14)  !important; border-color: rgba(52,199,89,0.30)  !important; color: rgba(180,245,195,0.95) !important; }

/* ── Buttons ── */
.btn-gold {
  background: rgba(205,145,40,0.42) !important;
  border: 0.5px solid rgba(232,176,51,0.52) !important;
  box-shadow: 0 3px 16px rgba(205,145,40,0.30), inset 0 1px 0 rgba(255,255,255,0.20) !important;
  color: #fef3c7 !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  padding: 10px 22px !important;
}
.btn-gold:hover { background: rgba(205,145,40,0.60) !important; }
.btn-outline {
  background: rgba(255,255,255,0.10) !important;
  border: 0.5px solid rgba(255,255,255,0.30) !important;
  color: rgba(255,255,255,0.88) !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  padding: 10px 22px !important;
}
.btn-outline:hover { background: rgba(255,255,255,0.18) !important; }

/* ── Currency buttons ── */
.cur-btn {
  background: rgba(255,255,255,0.10) !important;
  border: 0.5px solid rgba(255,255,255,0.22) !important;
  color: rgba(255,255,255,0.72) !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}
.cur-btn.active {
  background: rgba(52,199,89,0.34) !important;
  border-color: rgba(52,199,89,0.56) !important;
  color: #fff !important;
}

/* ── Tab buttons ── */
.tab-btn {
  background: rgba(255,255,255,0.08) !important;
  border: 0.5px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.62) !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
}
.tab-btn.active,
.tab-btn[style*="background:var(--green)"] {
  background: rgba(52,199,89,0.34) !important;
  border-color: rgba(52,199,89,0.52) !important;
  color: #fff !important;
}

/* ── Filter bar (中国采购方) ── */
#filters {
  background: rgba(10,22,16,0.78) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30) !important;
}
.filter-label { color: rgba(255,255,255,0.55) !important; }
.f-btn {
  background: rgba(255,255,255,0.08) !important;
  border: 0.5px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.70) !important;
  padding: 5px 12px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.f-btn:hover { background: rgba(255,255,255,0.16) !important; color: #fff !important; }
.f-btn.active,
.f-btn.on {
  background: rgba(52,199,89,0.32) !important;
  border-color: rgba(52,199,89,0.55) !important;
  color: #fff !important;
}
.f-btn.prod-filter.on {
  background: rgba(10,132,255,0.34) !important;
  border-color: rgba(96,165,250,0.55) !important;
  color: #fff !important;
}
/* legend + use-box + buyer card logos on glass */
.prod-legend {
  background: rgba(255,255,255,0.06) !important;
  border: 0.5px solid rgba(255,255,255,0.14) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: rgba(255,255,255,0.8) !important;
}
.prod-legend, .prod-legend * { color: rgba(255,255,255,0.78) !important; }
.use-box {
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.7) !important;
  border: 0.5px solid rgba(255,255,255,0.10) !important;
}
.leg { color: rgba(255,255,255,0.7) !important; }

/* ── Buyer cards (中国采购方) ── */
.bcard {
  background: rgba(255,255,255,0.09) !important;
  border: 0.5px solid rgba(255,255,255,0.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.24) !important;
  color: var(--lg-text) !important;
  padding: 18px !important;
}
.bcard .bc-name { color: #fff !important; font-size: 15px !important; font-weight: 700; line-height: 1.4; }
.bcard .bc-meta { color: var(--lg-text-mid) !important; font-size: 12.5px !important; line-height: 1.65; }
.bcard .bc-sub  { color: var(--lg-text-dim)  !important; font-size: 12px !important; }

/* ── Score bars ── */
.sbar     { background: rgba(255,255,255,0.14) !important; height: 6px !important; border-radius: 4px !important; }
.sbar-fill { height: 6px !important; border-radius: 4px !important; }
.sbar-num { color: rgba(255,255,255,0.82) !important; font-size: 12px !important; font-weight: 700 !important; }

/* ── Distance timeline ── */
[style*="background:linear-gradient(to bottom,#34c759,#f59e0b,#dc2626)"] { opacity: 0.75; }

/* ── Footer ── */
footer {
  background: rgba(8,18,12,0.90) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 0.5px solid rgba(255,255,255,0.10) !important;
  color: var(--lg-text-mid) !important;
  padding: 32px 0 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

/* ── SVG text ── */
/* SVG — do NOT override fill globally; each diagram has its own colours.
   Only override in SVG containers that explicitly sit on dark glass. */

/* ── Business structure diagram: keep light glass so dark SVG text stays readable ── */
.struct-wrap {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 0.5px solid rgba(255,255,255,0.30) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.20) !important;
}
/* The flow-node boxes (.fn) use light pastel colours — force dark text so body's white doesn't cascade */
.fn, .fn * { color: #1a1a2e !important; }
.fn-sub { color: #6b7280 !important; }   /* keep original grey */
.fn-raw  { background: #fef9c3 !important; border-color: #fde68a !important; }
.fn-proc { background: #eff6ff !important; border-color: #bfdbfe !important; }
.fn-prod { background: #f0fdf4 !important; border-color: #a7f3d0 !important; }
.fn-raw.active  { border-color: #f59e0b !important; box-shadow: 0 0 0 3px rgba(245,158,11,0.20) !important; }
.fn-proc.active { border-color: #3b82f6 !important; box-shadow: 0 0 0 3px rgba(59,130,246,0.20) !important; }
.fn-prod.active { border-color: #34c759 !important; box-shadow: 0 0 0 3px rgba(52,199,89,0.22)  !important; }
.fn-name { color: #1a1a2e !important; }
/* World map SVG — white text for dark background map */
.world-wrap svg text { fill: rgba(255,255,255,0.88) !important; }

/* ── Universal white-on-white fix ──────────────────────────────
   ANY element whose inline style has a light/grey background
   will inherit white text from body — force dark text here.   */
[style*="background:#f2f2f7"],  [style*="background: #f2f2f7"],
[style*="background:#f9fafb"],  [style*="background: #f9fafb"],
[style*="background:#f5f5f7"],  [style*="background: #f5f5f7"],
[style*="background:#e5e7eb"],  [style*="background: #e5e7eb"],
[style*="background:#fffbeb"],  [style*="background: #fffbeb"],
[style*="background:#fff7ed"],  [style*="background: #fff7ed"],
[style*="background:#fef9c3"],  [style*="background: #fef9c3"],
[style*="background:#fef3c7"],  [style*="background: #fef3c7"],
[style*="background:#eff6ff"],  [style*="background: #eff6ff"],
[style*="background:#f0fdf4"],  [style*="background: #f0fdf4"],
[style*="background:#d1fae5"],  [style*="background: #d1fae5"],
[style*="background:#dbeafe"],  [style*="background: #dbeafe"],
[style*="background:#ede9fe"],  [style*="background: #ede9fe"],
[style*="background:#fce7f3"],  [style*="background: #fce7f3"] {
  color: #1a1a2e !important;
}
/* …but restore white text if the element or a close ancestor
   is one we explicitly converted to dark glass               */
.card [style*="background:#f0fdf4"],
.card [style*="background:#fef3c7"],
.card [style*="background:#dbeafe"],
.card [style*="background:#d1fae5"],
.card [style*="background:#ede9fe"],
.card [style*="background:#fce7f3"] { color: var(--lg-text) !important; }
/* table headers styled with #f2f2f7 → dark glass + white text */
th[style*="background:#f2f2f7"],
th[style*="background: #f2f2f7"] {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.88) !important;
}

/* ── Price table (no .tbl class — uses inline styles) ── */
#price-tbody td {
  color: var(--lg-text) !important;
  padding: 14px 16px !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.08) !important;
  line-height: 1.65 !important;
}
#price-tbody tr { background: transparent !important; }
#price-tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.04) !important; }
#price-tbody tr[style*="background"] td { background: rgba(26,80,45,0.30) !important; }
#price-tbody strong[style*="color:#059669"] { color: #4ade80 !important; }

/* ── Leaflet map integration ── */
.leaflet-container { background: #0b1e2e; }
.leaflet-pane svg { overflow: visible; }
/* Animated shipping routes */
@keyframes dash-flow { to { stroke-dashoffset: -40; } }
.route-china   path { animation: dash-flow 3s linear infinite; }
.route-india   path { animation: dash-flow 3.5s linear infinite 0.6s; }
.route-europe  path { animation: dash-flow 4.5s linear infinite 1.2s; }
/* Port pulse icons */
@keyframes port-pulse {
  0%, 100% { box-shadow: 0 0 0 3px currentColor; opacity: 0.9; }
  50%       { box-shadow: 0 0 0 8px currentColor; opacity: 1;   }
}
.port-dot { animation: port-pulse 2s ease-in-out infinite; border-radius: 50%; }
/* Hide Leaflet attribution (we show it in map via tileLayer) */
.leaflet-control-attribution { font-size: 9px !important; opacity: 0.45 !important; background: transparent !important; }
/* Zoom control — glass pill buttons */
.leaflet-control-zoom {
  margin: 0 14px 14px 0 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.leaflet-control-zoom a {
  background: rgba(18,34,24,0.78) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  color: rgba(255,255,255,0.88) !important;
  border: 0.5px solid rgba(255,255,255,0.16) !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 32px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}
.leaflet-control-zoom a:first-child { border-bottom: none !important; }
.leaflet-control-zoom a:hover {
  background: rgba(40,80,52,0.85) !important;
  color: #fff !important;
}
.leaflet-control-zoom a.leaflet-disabled {
  background: rgba(18,34,24,0.50) !important;
  color: rgba(255,255,255,0.30) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.36); }

/* ── Reveal animation ── */
.reveal { transform: translateY(16px); opacity: 0; transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), opacity 0.45s ease; }
.reveal.in { transform: translateY(0); opacity: 1; }
