/*
====================================================
NÉV: GázMost felületi stílus
PROJEKT: GázMost Labs
TÍPUS: CSS
VERZIÓ: v0.6.1
UTOLSÓ FRISSÍTÉS: 2026-09-09

LEÍRÁS:
Sötét NextSheet információs felület térképpel, összehasonlítható chartokkal és mobil országpanellel.

FEJLESZTŐ:
Balázs Bakos
NextSheet Innovations
https://www.nextsheet.hu

CHANGELOG:
v0.6.1 - 2026-09-09
- A LABS lábléc linkjei biztos térközt, elválasztást és köztes szélességen külön sort kaptak.

v0.6.0 - 2026-09-09
- LABS lábléc, adatforrásoldal és részletes hozzájárulási panel.

====================================================
*/

:root {
  --bg: #08090d;
  --panel: #10121a;
  --panel2: #151822;
  --line: #292d3c;
  --text: #f5f2f7;
  --muted: #999cab;
  --pink: #ff4e9a;
  --pink2: #ff86bd;
  --cyan: #42d7c5;
  --amber: #f2b84b;
  --red: #e9536d;
  --ink: #05060a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 72% 8%, rgba(255, 78, 154, .08), transparent 28%), var(--bg);
}
button { font: inherit; }
a { color: inherit; }
button:focus-visible, [tabindex]:focus-visible, input:focus-visible { outline: 2px solid var(--pink2); outline-offset: 3px; }
[hidden] { display: none !important; }

.chart-line.dimmed { opacity: .16; }
.chart-line.highlighted { opacity: 1; stroke-width: 4.5; }
.country-shape.quality-e { stroke-dasharray: 5 3; }

.country-lng-details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.country-lng-details summary { padding: 14px 0 8px; cursor: pointer; color: var(--text); font-weight: 700; }
.country-lng-details article { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); }
.country-lng-details span, .country-lng-details small { font-size: 12px; }

.market-context {
  margin: 0 clamp(20px, 4vw, 64px) 34px;
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1.1fr auto 1.4fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  background: linear-gradient(120deg, rgba(255,78,154,.09), rgba(66,215,197,.03));
}
.market-context h2 { margin: 5px 0 0; font-size: clamp(20px, 2vw, 30px); }
.market-context p { margin: 0; color: var(--muted); line-height: 1.55; }
.market-context a { color: var(--pink2); }
.market-values { display: grid; gap: 5px; min-width: 190px; }
.market-values strong { font-size: clamp(25px, 3vw, 38px); }
.market-values span, .history-loading { color: var(--muted); font-size: 12px; }
.internal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.internal-links a { padding: 9px 12px; border: 1px solid var(--line); color: var(--pink2); text-decoration: none; }
.country-directory { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.country-directory a { color: var(--muted); font-size: 12px; text-decoration: none; border-bottom: 1px solid transparent; }
.country-directory a:hover { color: var(--text); border-bottom-color: var(--pink); }
.rank-switch { flex-wrap: wrap; justify-content: flex-end; }
.content-page { width: min(900px, calc(100% - 40px)); margin: 70px auto 100px; }
.content-page h1 { margin: 8px 0 20px; font-size: clamp(38px, 7vw, 72px); line-height: 1; }
.content-page article { margin-top: 28px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.content-page article h2 { margin-top: 0; }
.content-page article p { color: var(--muted); line-height: 1.7; }

@media (max-width: 840px) {
  .market-context { grid-template-columns: 1fr; }
  .market-values { min-width: 0; }
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 4px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 13, .93);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-size: 23px;
  font-weight: 900;
  transform: skew(-7deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.header-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font: 12px/1.2 ui-monospace, Consolas, monospace; }
.mode-badge { padding: 7px 9px; border: 1px solid rgba(255, 78, 154, .35); color: var(--pink2); }
.data-mode-banner { padding: 9px 20px; background: var(--amber); color: var(--ink); text-align: center; font-size: 12px; font-weight: 800; }

main { width: min(1500px, 100%); margin: 0 auto; padding: 0 clamp(16px, 3vw, 44px); }
.eyebrow { margin: 0 0 14px; color: var(--pink2); font: 700 11px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .15em; }

.hero-grid {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .68fr) minmax(240px, .68fr);
  border-inline: 1px solid var(--line);
}
.hero-copy, .hero-number, .hero-rail { min-width: 0; padding: clamp(28px, 5vw, 68px); }
.hero-number, .hero-rail { border-left: 1px solid var(--line); }
.hero-copy h1 { max-width: 850px; margin: 0; font-size: clamp(42px, 6vw, 86px); line-height: .93; letter-spacing: -.06em; }
.meaning { max-width: 800px; margin: 26px 0 18px; color: #d2d0d7; font-size: clamp(16px, 2vw, 22px); line-height: 1.45; }
.quality-line { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.quality-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px currentColor; }
.hu-pulse {
  width: min(420px, 100%);
  margin-top: 24px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.018);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.hu-pulse span { color: var(--pink2); font: 700 11px ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.hu-pulse strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 800 26px ui-monospace, Consolas, monospace; }
.hu-pulse small { color: var(--muted); }
.metric-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-number { padding-inline: clamp(28px, 3vw, 48px); overflow: hidden; }
.hero-number > strong { display: flex; align-items: flex-start; width: 100%; margin: 24px 0; color: var(--pink2); font-size: clamp(60px, 5.4vw, 86px); line-height: .95; letter-spacing: -.065em; white-space: nowrap; }
.hero-percent { margin: .08em 0 0 .08em; font-size: .52em; line-height: 1; letter-spacing: -.03em; }
.number-foot { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font: 12px ui-monospace, Consolas, monospace; }
.number-foot b { color: var(--text); }
.hero-rail { display: flex; flex-direction: column; justify-content: center; }
.hero-rail > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.hero-rail span, .hero-rail small { display: block; color: var(--muted); font-size: 11px; }
.hero-rail strong { display: block; margin-top: 8px; font: 700 23px ui-monospace, Consolas, monospace; }
.hero-method small { margin-top: 6px; }

.insights-section, .map-shell, .timeline-section, .evidence-grid, .freshness-section, .source-section { margin-bottom: 28px; border: 1px solid var(--line); }
.section-head, .map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}
.section-head.compact { padding: 22px 24px; }
.section-head h2, .map-head h2, .freshness-section h2, .source-section h2 { margin: 0; font-size: clamp(22px, 3vw, 38px); letter-spacing: -.035em; }
.section-head > p { max-width: 590px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.insight-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.insight {
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.insight:last-child { border-right: 0; }
.insight:hover { background: #13151d; }
.insight::before { content: ""; width: 34px; height: 3px; background: var(--amber); }
.insight.riasztás::before { background: var(--red); }
.insight.pozitív::before { background: var(--cyan); }
.insight-rank { margin-left: auto; color: #555968; font: 700 11px ui-monospace, Consolas, monospace; }
.insight b { color: var(--pink2); font-size: 15px; line-height: 1.35; }
.insight > span:not(.insight-rank) { color: #ccc9d2; font-size: 13px; line-height: 1.5; }
.insight small { margin-top: auto; color: var(--muted); font: 10px ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }

.metric-switch, .rank-switch { display: flex; border: 1px solid var(--line); }
.metric-switch button, .rank-switch button {
  padding: 11px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.metric-switch button:last-child, .rank-switch button:last-child { border-right: 0; }
.metric-switch button.active, .rank-switch button.active { background: var(--pink); color: var(--ink); font-weight: 800; }
.map-layout { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; }
.map-stage { position: relative; min-width: 0; overflow: hidden; background: linear-gradient(135deg, #0c0e14, #090a0f); }
#gasMap { display: block; width: 100%; height: 100%; min-height: 660px; }
.country-shape { stroke: #3b3f4e; stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; transition: filter .15s, opacity .15s, stroke .15s; }
.country-shape:hover, .country-shape.selected { stroke: #fff; stroke-width: 2; filter: brightness(1.18); }
.country-shape.no-data { fill: #171a23; }
.country-label { fill: #d4d4da; font: 700 11px ui-monospace, Consolas, monospace; text-anchor: middle; pointer-events: none; text-shadow: 0 1px 3px #000; }
.flow-line { fill: none; stroke: var(--pink); stroke-opacity: .56; marker-end: url(#arrow); filter: url(#glow); pointer-events: none; vector-effect: non-scaling-stroke; }
.flow-group.selected .flow-line { stroke: #fff; stroke-opacity: .95; }
.flow-hit { fill: none; stroke: transparent; pointer-events: stroke; cursor: pointer; vector-effect: non-scaling-stroke; }
.lng-summary { fill: var(--cyan); stroke: #07110f; stroke-width: 2; cursor: pointer; filter: url(#glow); vector-effect: non-scaling-stroke; }
.map-tooltip {
  position: fixed;
  z-index: 30;
  width: 280px;
  padding: 13px 14px;
  background: #f3eff4;
  color: #0b0b0d;
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
  box-shadow: 8px 8px 0 rgba(255, 78, 154, .25);
}
.map-tooltip strong, .map-tooltip span, .map-tooltip em, .map-tooltip small { display: block; }
.map-tooltip strong { font-size: 15px; }
.map-tooltip .tooltip-value { margin: 7px 0; color: #c11f68; font-size: 23px; }
.map-tooltip .tooltip-delta { color: #c11f68; font-weight: 800; }
.map-tooltip em { margin-top: 8px; font-style: normal; font-weight: 700; }
.map-tooltip small { margin-top: 8px; color: #555967; }
.map-legend { position: absolute; left: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(8,9,13,.86); color: var(--muted); font-size: 10px; }
.map-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; }
.legend-risk { background: var(--red); }
.legend-mid { background: var(--amber); }
.legend-good { background: var(--cyan); }
.legend-none { background: #242733; }
.layer-toggles { position: absolute; top: 18px; left: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.layer-toggles label { padding: 9px 10px; border: 1px solid var(--line); background: rgba(8,9,13,.88); color: #d2d0d8; font-size: 11px; }
.layer-toggles input { accent-color: var(--pink); }
.layer-toggles label:has(input:disabled) { opacity: .38; }
.map-date-badge { position: absolute; top: 18px; right: 18px; padding: 8px 10px; border: 1px solid var(--line); background: rgba(8,9,13,.88); color: var(--pink2); font: 10px ui-monospace, Consolas, monospace; }

.country-panel { min-width: 0; padding: 28px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--panel); }
.panel-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--pink2); font: 700 11px ui-monospace, Consolas, monospace; }
.country-panel h2 { margin: 12px 0 22px; font-size: 32px; }
.panel-primary strong { display: block; font: 800 62px/1 ui-monospace, Consolas, monospace; letter-spacing: -.06em; }
.panel-primary span { color: var(--muted); font-size: 12px; }
.country-meaning { margin: 20px 0 6px; padding-left: 12px; border-left: 2px solid var(--pink); color: #e0dde4; font-size: 13px; line-height: 1.5; }
.metric-list { margin: 18px 0; }
.metric-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.metric-list dt { color: var(--muted); font-size: 11px; }
.metric-list dd { margin: 0; color: var(--text); font: 700 11px ui-monospace, Consolas, monospace; text-align: right; }
.country-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.country-flows > p { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.45; }
.country-flows b { display: block; margin-bottom: 5px; color: var(--muted); font: 700 9px ui-monospace, Consolas, monospace; text-transform: uppercase; }
.country-flows button { width: 100%; margin-top: 4px; padding: 7px; border: 1px solid var(--line); background: transparent; color: #ccc9d2; font-size: 9px; text-align: left; cursor: pointer; }
.country-flows button strong { float: right; color: var(--pink2); }
.quality-explainer { padding: 10px 12px; border: 1px solid var(--line); background: #0b0d13; }
.quality-explainer b, .quality-explainer span { display: block; }
.quality-explainer b { color: var(--amber); font-size: 11px; }
.quality-explainer span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.panel-note { margin-top: 14px; color: #858896; font-size: 10px; line-height: 1.45; }

.country-chart-card, .seasonal-chart-card { padding: 26px 28px; border-top: 1px solid var(--line); }
.chart-title { display: flex; justify-content: space-between; gap: 20px; }
.chart-title > div { display: flex; flex-direction: column; gap: 5px; }
.chart-title span { color: var(--muted); font-size: 11px; }
.chart-frame { position: relative; min-width: 0; }
#countryChart, #seasonalChart { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.chart-grid { stroke: #272a36; stroke-width: 1; }
.chart-line { fill: none; stroke-width: 2; opacity: .86; vector-effect: non-scaling-stroke; }
.chart-line.current { stroke-width: 3.3; opacity: 1; filter: drop-shadow(0 0 4px rgba(255,78,154,.28)); }
.chart-average { fill: none; stroke: #e7e3e9; stroke-width: 1.6; stroke-dasharray: 7 7; opacity: .72; vector-effect: non-scaling-stroke; }
.chart-axis { fill: #858896; font: 10px ui-monospace, Consolas, monospace; }
.chart-end { fill: #a5a8b2; font: 700 10px ui-monospace, Consolas, monospace; }
.chart-end.current { fill: var(--pink2); font-size: 12px; }
.chart-end.average { fill: #e7e3e9; font-size: 9px; }
.chart-crosshair { stroke: #fff; stroke-width: 1; stroke-dasharray: 3 4; opacity: .65; pointer-events: none; }
.chart-marker { stroke: #08090d; stroke-width: 2; pointer-events: none; }
.chart-hit { fill: transparent; pointer-events: all; cursor: crosshair; touch-action: none; }
.chart-empty { fill: var(--muted); font: 13px ui-monospace, Consolas, monospace; }
.chart-tooltip { position: absolute; z-index: 6; width: 238px; padding: 12px; border: 1px solid #4a4e5c; background: rgba(10,11,16,.97); box-shadow: 8px 8px 0 rgba(255,78,154,.14); pointer-events: none; }
.chart-tooltip strong { display: block; margin-bottom: 9px; color: var(--pink2); font-size: 13px; }
.chart-tooltip span { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 7px; padding: 3px 0; color: #c9c7cf; font: 11px ui-monospace, Consolas, monospace; }
.chart-tooltip span i { width: 7px; height: 7px; border-radius: 50%; }
.chart-tooltip span b { color: var(--text); }
.chart-tooltip .average-row { margin-top: 5px; padding-top: 7px; border-top: 1px solid var(--line); }
.chart-tooltip .average-row i { height: 1px; border-radius: 0; background: #fff; }
.chart-tooltip em { display: block; margin-top: 7px; color: var(--pink2); font: 700 11px ui-monospace, Consolas, monospace; font-style: normal; }

.time-machine { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr); border-bottom: 1px solid var(--line); }
.time-control { min-width: 0; padding: 28px; border-right: 1px solid var(--line); }
.time-control label { display: block; margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.time-control input { width: 100%; margin-top: 10px; accent-color: var(--pink); }
.time-control > div:last-child { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.time-control > div:last-child strong { font: 700 23px ui-monospace, Consolas, monospace; }
.time-control > div:last-child span { color: var(--pink2); font: 800 38px ui-monospace, Consolas, monospace; }
.time-quick { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 24px; }
.time-quick button { padding: 9px 4px; border: 1px solid var(--line); border-right: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.time-quick button:last-child { border-right: 1px solid var(--line); }
.time-quick button.active { background: var(--pink); color: var(--ink); font-weight: 800; }
.year-compare { min-width: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 28px; }
.year-compare button { min-width: 0; min-height: 108px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.year-compare button:hover, .year-compare button.active { background: #141720; }
.year-compare span, .year-compare small { color: var(--muted); font: 10px ui-monospace, Consolas, monospace; }
.year-compare strong { margin: 6px 0; font: 800 25px ui-monospace, Consolas, monospace; }
.year-compare i { display: block; height: 4px; background: var(--pink); opacity: .72; }

.evidence-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.ranking-card, .flow-card { min-width: 0; }
.ranking-card { border-right: 1px solid var(--line); }
.ranking-head { align-items: center; }
.rank-switch { flex: 0 1 auto; }
.rank-switch button { padding: 9px 10px; font-size: 10px; }
.table-wrap { width: 100%; max-height: 500px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 20px; border-top: 1px solid var(--line); font-size: 11px; text-align: left; }
th { position: sticky; top: 0; z-index: 2; background: #0d0f16; color: var(--muted); font: 700 9px ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
td:nth-child(n+2) { font-family: ui-monospace, Consolas, monospace; }
.country-row { cursor: pointer; }
.country-row:hover, .country-row:focus { background: #171923; }
.country-row td:first-child { white-space: nowrap; }
.country-row td:nth-child(3) { min-width: 190px; color: #b9b7c0; }
.status-pill { display: inline-block; padding: 4px 6px; border: 1px solid var(--line); white-space: nowrap; }
.flow-list { margin: 0; padding: 0 24px; list-style: none; }
.flow-list li { border-top: 1px solid var(--line); }
.flow-list button { width: 100%; padding: 13px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.flow-list button:hover { color: var(--pink2); }
.flow-list span, .flow-list span small { display: block; }
.flow-list span { font-size: 12px; }
.flow-list span small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.flow-list strong { color: var(--pink2); font: 700 11px ui-monospace, Consolas, monospace; }
.method-hint { margin: 22px 24px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.freshness-section, .source-section { padding: 30px; }
.freshness-section > div:first-child, .source-section > div:first-child { display: flex; align-items: flex-end; justify-content: space-between; }
.freshness-intro { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.freshness-grid, .source-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); }
.freshness-grid article, .source-grid a { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.freshness-grid article:last-child, .source-grid a:last-child { border-right: 0; }
.freshness-grid span, .freshness-grid strong, .freshness-grid small, .source-grid strong, .source-grid span { display: block; }
.freshness-grid span, .source-grid strong { margin-bottom: 8px; color: var(--pink2); font-size: 12px; }
.freshness-grid strong { overflow-wrap: anywhere; font: 700 11px/1.45 ui-monospace, Consolas, monospace; }
.freshness-grid small, .source-grid span { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.source-grid a { color: var(--text); text-decoration: none; }
.legal-note { margin: 18px 0 0; color: #858896; font-size: 10px; line-height: 1.5; }
footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 24px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); color: #6e7180; font: 10px ui-monospace, Consolas, monospace; }
.footer-by { color: var(--pink); font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.footer-by:hover, .footer-by:focus-visible { color: var(--pink2); text-decoration: underline; }
.footer-links { display: flex; min-width: 0; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 0; }
.footer-links a, .footer-links button { display: inline-flex; min-height: 30px; align-items: center; padding: 0 13px; border: 0; color: #a7a9b5; background: transparent; font: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; }
.footer-links > * + a, .footer-links > * + button { border-left: 1px solid #3a3e50; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-links button:hover, .footer-links button:focus-visible { color: var(--pink2); text-decoration: underline; }
.analytics-consent { position: fixed; z-index: 50; right: 18px; bottom: 18px; max-width: 410px; padding: 18px; border: 1px solid var(--pink); background: #10121af5; box-shadow: 0 18px 60px #000a; }
.analytics-consent p { margin: 0 0 14px; color: var(--text); font-size: 12px; line-height: 1.5; }
.analytics-consent p strong, .analytics-consent p span, .analytics-consent p a { display: block; }
.analytics-consent p strong { margin-bottom: 5px; }
.analytics-consent p span { color: var(--muted); }
.analytics-consent p a { width: fit-content; margin-top: 8px; color: var(--pink2); }
.analytics-consent div { display: flex; justify-content: flex-end; gap: 8px; }
.analytics-consent button { padding: 9px 12px; border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer; }
.analytics-consent button:last-child { border-color: var(--pink); color: var(--pink2); }
.fatal-error { padding: 48px; }

.transparency-page main { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 0 0 80px; }
.transparency-hero { padding: clamp(70px, 10vw, 132px) 0 60px; border-bottom: 1px solid var(--line); }
.transparency-hero h1 { max-width: 880px; margin: 12px 0 20px; font-size: clamp(52px, 9vw, 112px); line-height: .86; letter-spacing: -.075em; }
.transparency-hero > p:not(.eyebrow) { max-width: 720px; margin: 0; color: #c4c3ca; font-size: 17px; line-height: 1.7; }
.transparency-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.transparency-jump a { padding: 9px 13px; border: 1px solid var(--line); color: var(--text); font: 700 10px ui-monospace, Consolas, monospace; text-decoration: none; text-transform: uppercase; }
.transparency-jump a:hover { border-color: var(--pink); color: var(--pink2); }
.transparency-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: 0; }
.transparency-split article { padding: 30px; }
.transparency-split article + article { border-left: 1px solid var(--line); }
.transparency-split span, .source-ledger > article > span, .method-list article > span { color: var(--pink); font: 800 10px ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.transparency-split h2 { margin: 10px 0; font-size: 25px; }
.transparency-split p, .source-ledger p, .method-list p, .accuracy-note p { margin: 0; color: var(--muted); line-height: 1.65; }
.transparency-section { padding-top: 74px; }
.transparency-section-heading { display: grid; grid-template-columns: minmax(160px, .34fr) 1fr; gap: 34px; margin-bottom: 28px; }
.transparency-section-heading h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; }
.transparency-section-heading p { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.65; }
.source-ledger { border-top: 1px solid var(--line); }
.source-ledger article { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.source-ledger h3, .method-list h3 { margin: 0 0 7px; font-size: 17px; }
.source-ledger a { color: var(--pink2); font: 700 10px ui-monospace, Consolas, monospace; text-decoration: none; white-space: nowrap; }
.method-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-list article { min-height: 190px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-list h3 { margin-top: 10px; }
.accuracy-note { padding: 24px; border-left: 3px solid var(--pink); background: #11131b; }
.contact-row { display: flex; justify-content: space-between; gap: 18px; margin-top: 70px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-row a { color: var(--pink2); }

@media (max-width: 1050px) {
  footer { grid-template-columns: 1fr auto; align-items: start; }
  footer > .footer-links { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; padding-top: 10px; border-top: 1px solid var(--line); }
  footer > .footer-links > :first-child { padding-left: 0; }
  footer > :last-child { grid-row: 1; grid-column: 2; text-align: right; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .hero-number { border-left: 0; }
  .map-layout { grid-template-columns: 1fr; }
  .country-panel { min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .country-flows { grid-template-columns: 1fr 1fr; }
  .time-machine { grid-template-columns: 1fr; }
  .time-control { border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-grid { grid-template-columns: 1fr; }
  .ranking-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .freshness-grid, .source-grid { grid-template-columns: 1fr 1fr; }
  .freshness-grid article:nth-child(2), .source-grid a:nth-child(2) { border-right: 0; }
  .freshness-grid article:nth-child(-n+2), .source-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .analytics-consent { right: 10px; bottom: 10px; left: 10px; max-width: none; }
  .analytics-consent div { flex-direction: column-reverse; }
}

@media (max-width: 680px) {
  .site-header { height: auto; min-height: 70px; padding: 12px 16px; }
  .header-meta { display: none; }
  main { padding: 0; }
  .hero-grid { grid-template-columns: 1fr; border-inline: 0; }
  .hero-copy { grid-column: auto; }
  .hero-copy, .hero-number, .hero-rail { padding: 27px 20px; }
  .hero-number, .hero-rail { border-top: 1px solid var(--line); border-left: 0; }
  .hero-copy h1 { font-size: 47px; }
  .hero-number > strong { font-size: 72px; }
  .insights-section, .map-shell, .timeline-section, .evidence-grid, .freshness-section, .source-section { margin-bottom: 14px; border-inline: 0; }
  .section-head, .map-head { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
  .insight-strip { grid-template-columns: 1fr; }
  .insight { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-switch, .rank-switch { width: 100%; overflow-x: auto; }
  .metric-switch button { flex: 1; min-width: 115px; padding: 10px 8px; }
  .map-stage { min-height: 470px; }
  #gasMap { min-height: 470px; }
  .map-date-badge { top: 66px; right: 12px; }
  .layer-toggles { top: 12px; left: 12px; }
  .map-legend { right: 12px; bottom: 12px; left: 12px; }
  .country-panel { position: relative; z-index: 3; margin-top: -18px; padding: 27px 20px 24px; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px rgba(0,0,0,.32); }
  .country-flows { grid-template-columns: 1fr; }
  .country-chart-card, .seasonal-chart-card { padding: 22px 12px; }
  .chart-title { padding-inline: 6px; }
  #countryChart, #seasonalChart { min-width: 620px; }
  .chart-frame { overflow-x: auto; overflow-y: hidden; }
  .chart-tooltip { position: sticky; left: 8px !important; top: 8px; margin-bottom: -132px; }
  .time-control { padding: 22px 18px; }
  .time-quick { grid-template-columns: repeat(5, minmax(58px, 1fr)); overflow-x: auto; }
  .year-compare { grid-template-columns: repeat(5, minmax(105px, 1fr)); padding: 18px; overflow-x: auto; }
  .ranking-head { align-items: stretch; }
  .rank-switch button { min-width: 145px; }
  th, td { padding: 12px 15px; }
  .freshness-section, .source-section { padding: 24px 18px; }
  .freshness-section > div:first-child, .source-section > div:first-child { display: block; }
  .freshness-grid, .source-grid { grid-template-columns: 1fr; }
  .freshness-grid article, .source-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 14px; padding: 22px 16px; }
  footer > .footer-links { grid-row: auto; grid-column: 1; width: 100%; padding-top: 0; border-top: 0; }
  footer > :last-child { grid-row: auto; grid-column: 1; text-align: left; }
  .footer-links { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-links a, .footer-links button { width: 100%; min-height: 36px; padding: 7px 0; }
  .footer-links > * + a, .footer-links > * + button { border-top: 1px solid #3a3e50; border-left: 0; }
  .transparency-page main { width: min(100% - 28px, 1160px); }
  .transparency-split, .method-list { grid-template-columns: 1fr; }
  .transparency-split article + article { border-top: 1px solid var(--line); border-left: 0; }
  .transparency-section-heading { grid-template-columns: 1fr; gap: 10px; }
  .source-ledger article { grid-template-columns: 34px 1fr; }
  .source-ledger a { grid-column: 2; }
}
