/* 河洛天枢 — P0 world situation module
   The old Power Atlas keeps its own light/dark system; this layer is a dark
   operations surface that reuses the same typography and geometric language. */

body[data-route="world"] {
  --hj-bg: var(--bezel);
  --hj-panel: var(--panel);
  --hj-panel-2: var(--panel-2);
  --hj-well: var(--well);
  --hj-ink: var(--ink);
  --hj-muted: var(--muted);
  --hj-faint: var(--faint);
  --hj-line: var(--line);
  --hj-line-strong: var(--line-strong);
  --hj-accent: var(--accent);
  --hj-accent-2: var(--accent-2);
  background: var(--bezel);
  color: var(--ink);
}

body[data-route="world"] .site-header {
  background: rgba(var(--bezel-rgb), .94);
  border-bottom-color: var(--line);
  color: var(--ink);
}

body[data-route="world"] .brand__frame,
body[data-route="world"] .brand__ticks,
body[data-route="world"] .brand__tail {
  stroke: var(--muted);
}

body[data-route="world"] .brand__arc {
  stroke: var(--accent);
}

body[data-route="world"] .brand__dot {
  fill: #ff5a4e;
}

body[data-route="world"] .brand__text strong {
  color: var(--ink);
}

body[data-route="world"] .brand__text span {
  color: var(--faint);
}

body[data-route="world"] .top-nav a {
  color: #91a096;
}

body[data-route="world"] .top-nav a:hover,
body[data-route="world"] .top-nav a.is-active {
  color: var(--ink);
}

body[data-route="world"] .top-nav a.is-active::after {
  background: var(--accent);
}

body[data-route="world"] .icon-btn {
  color: var(--muted);
  border-color: var(--line-strong);
}

body[data-route="world"] .icon-btn:hover {
  color: var(--bezel);
  background: var(--accent);
  border-color: var(--accent);
}

body[data-route="world"] .site-footer {
  background: var(--bezel);
  border-top-color: var(--line);
  color: var(--faint);
}

body[data-route="world"] .site-footer a {
  color: var(--muted);
}

body[data-route="world"] #view {
  min-height: calc(100vh - var(--header-h));
  background:
    radial-gradient(ellipse 60% 36% at 50% 0%, rgba(var(--accent-rgb), .07), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--line) 47px 48px),
    repeating-linear-gradient(0deg, transparent 0 47px, var(--line) 47px 48px),
    var(--bezel);
}

.hj {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 0 30px 84px;
  color: var(--ink);
}

.hj a {
  color: inherit;
}

.hj button,
.hj a {
  -webkit-tap-highlight-color: transparent;
}

.hj .eyebrow {
  margin: 0 0 14px;
  color: var(--faint);
  letter-spacing: .18em;
}

.hj-crumbbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-live {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.hj-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .8);
}

.hj-live b {
  padding: 3px 6px;
  border: 1px solid rgba(var(--accent-2-rgb), .4);
  color: var(--accent-2);
  font-weight: 500;
}

.hj-conf {
  color: var(--faint);
}

.hj-crumbbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hj-mini-link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.hj-mini-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.hj-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
}

.hj-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.hj-btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  filter: brightness(1.12);
}

.hj-btn--ghost {
  background: rgba(var(--panel-rgb), .6);
}

.hj-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(var(--bezel-rgb), .92);
  backdrop-filter: blur(14px);
}

.hj-tabs::-webkit-scrollbar { display: none; }

.hj-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid transparent;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hj-tabs a:hover {
  color: var(--ink);
}

.hj-tabs a.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.hj-tabs a.is-active::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .8);
}

.hj-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(40px, 7vw, 92px) 0 clamp(30px, 4vw, 54px);
  align-items: end;
}

.hj-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 118px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 650;
}

.hj-hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-2-rgb), .62);
}

.hj-hero__lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hj-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hj-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hj-kpi {
  min-height: 122px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .48);
}

.hj-kpi strong {
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 550;
  letter-spacing: -.04em;
}

.hj-kpi span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-kpi em {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-style: normal;
  font-size: 10px;
}

.hj-kpi.hot strong { color: #ff6d5f; }

.hj-globe-wrap {
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .74);
  overflow: hidden;
}

.hj-globe-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-label {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hj-hint {
  color: var(--faint);
}

.hj-globe-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 560px;
}

.hj-map {
  position: relative;
  width: 100%;
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), .12), transparent 42%),
    radial-gradient(circle at 50% 50%, var(--panel-2) 0%, var(--bezel) 60%, var(--bezel) 100%);
  overflow: hidden;
}

.hj-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 48%, rgba(var(--bezel-rgb), .62) 100%);
  z-index: 1;
}

.hj-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

.hj-map canvas {
  outline: none;
}

.hj-map .maplibregl-ctrl-group {
  background: rgba(var(--panel-rgb), .86);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.hj-map .maplibregl-ctrl-group button {
  background: transparent;
}

.hj-map .maplibregl-ctrl-group button + button {
  border-top-color: var(--line);
}

.hj-map .maplibregl-ctrl-icon {
  filter: invert(1) brightness(.8);
}

.hj-map .maplibregl-ctrl-scale {
  border-color: var(--line-strong);
  color: var(--muted);
  background: rgba(var(--bezel-rgb), .5);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hj-map-tip {
  position: absolute;
  z-index: 5;
  max-width: 280px;
  padding: 9px 11px;
  border: 1px solid rgba(var(--accent-2-rgb), .35);
  background: rgba(var(--bezel-rgb), .96);
  color: var(--ink);
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.hj-map-tip strong {
  display: block;
  font-size: 12px;
}

.hj-map-tip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
}

.hj-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.hj-globe-aside {
  border-left: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .7);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hj-globe-aside__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-globe-aside__head b {
  color: var(--faint);
  font-weight: 400;
}

.hj-event-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hj-event-row:hover strong {
  color: var(--accent);
}

.hj-event-row__no {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hj-event-row__body strong {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  transition: color .2s;
}

.hj-event-row__body em {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
}

.hj-event-row__delta,
.hj-delta {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.hj-event-row__delta.is-hot {
  color: #ff6d5f;
}

.hj-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-more:hover { color: var(--accent); }

.hj-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr) minmax(240px, .8fr);
  gap: 14px;
  margin-top: 14px;
}

.hj-panel {
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .72);
  padding: 18px;
}

.hj-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hj-panel__head span { color: var(--accent-2); }

.hj-panel__head a,
.hj-panel__head em {
  color: var(--faint);
  font-style: normal;
  font-size: 8px;
}

.hj-panel__head a:hover { color: var(--accent); }

.hj-bars {
  display: grid;
  gap: 10px;
}

.hj-bar-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 22px;
  font-size: 11px;
}

.hj-bar-row span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hj-bar {
  height: 4px;
  background: var(--line);
  overflow: hidden;
}

.hj-bar i {
  display: block;
  height: 100%;
  transition: width .5s var(--ease-arrive);
}

.hj-bar-row b {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
}

.hj-actor-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hj-actor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: #c1d1c4;
  font-size: 10px;
}

.hj-actor-pill i,
.hj-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 8px var(--c, var(--accent));
}

.hj-actor-pill b {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.7;
}

.hj-spark {
  height: 80px;
  border-bottom: 1px solid var(--line);
}

.hj-spark-svg {
  width: 100%;
  height: 78px;
}

.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.spark-area {
  fill: rgba(var(--accent-rgb), .12);
}

.hj-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.hj-module {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 6px 12px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .5);
  transition: border-color .2s, background .2s, transform .2s;
}

.hj-module:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .42);
  background: rgba(var(--panel-rgb), .8);
}

.hj-module b {
  grid-row: span 2;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.hj-module strong {
  font-size: 20px;
  font-weight: 500;
}

.hj-module span {
  color: var(--faint);
  font-size: 11px;
}

.hj-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 0 30px;
}

.hj-page-head h1,
.hj-detail-head h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .94;
  letter-spacing: -.045em;
  font-weight: 600;
}

.hj-page-head p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.hj-stat-pair {
  display: flex;
  gap: 18px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.hj-stat-pair div { min-width: 66px; }

.hj-stat-pair b {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.hj-stat-pair span {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hj-map-modes,
.hj-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hj-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: rgba(var(--panel-rgb), .5);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hj-chip:hover {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), .5);
}

.hj-chip.is-active {
  color: var(--bezel);
  background: var(--accent);
  border-color: var(--accent);
}

.hj-map-shell,
.hj-influence-layout {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr) 224px;
  gap: 0;
  min-height: 650px;
  border: 1px solid var(--line);
  background: rgba(var(--bezel-rgb), .8);
}

.hj-map-side,
.hj-map-legend,
.hj-influence-side {
  padding: 18px;
  background: rgba(var(--panel-rgb), .7);
}

.hj-map-side,
.hj-influence-side {
  border-right: 1px solid var(--line);
}

.hj-map-legend {
  border-left: 1px solid var(--line);
}

.hj-side-block + .hj-side-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hj-side-block p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.hj-actor-list {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  max-height: 330px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.hj-actor-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #a9bbac;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.hj-actor-btn i,
.hj-bloc-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 8px var(--c, var(--accent));
}

.hj-actor-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.hj-actor-btn.is-active {
  border-color: var(--c, var(--accent));
  color: var(--ink);
  background: rgba(var(--accent-rgb), .07);
}

.hj-map-main {
  position: relative;
  min-width: 0;
  background: var(--bezel);
}

.hj-map-main .hj-map {
  height: 100%;
  min-height: 650px;
}

.hj-map-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}

.hj-map-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(var(--accent-2-rgb), .32);
  background: rgba(var(--bezel-rgb), .8);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hj-map-badge--muted {
  border-color: var(--line-strong);
  color: var(--faint);
}

.hj-rank-list {
  display: grid;
  gap: 1px;
  margin-top: 10px;
}

.hj-rank-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.hj-rank-row span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-rank-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 400;
}

.hj-rank-row em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
}

.hj-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-scale i {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, #1e4a33, var(--accent-2), #ff5a4e);
}

.hj-legend {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hj-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a9bbac;
  font-size: 10px;
}

.hj-legend i {
  width: 10px;
  height: 10px;
  flex: none;
}

.hj-legend--small span {
  font-size: 9px;
}

.hj-more {
  margin-top: auto;
}

.hj-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hj-event-grid--compact {
  grid-template-columns: 1fr;
  margin-top: 10px;
}

.hj-event-card {
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .65);
  transition: border-color .2s, transform .2s, background .2s;
}

.hj-event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--panel-rgb), .82);
}

.hj-event-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hj-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hj-verify {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.hj-verify.ok { color: var(--accent); border-color: rgba(var(--accent-rgb), .4); }
.hj-verify.warn { color: var(--accent-2); border-color: rgba(var(--accent-2-rgb), .4); }
.hj-verify.bad { color: #ff6d5f; border-color: rgba(255, 109, 95, .4); }
.hj-verify.muted { color: var(--faint); }

.hj-event-card .hj-conf {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-event-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.hj-event-card p {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.7;
}

.hj-event-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.hj-detail-head {
  padding: 38px 0 28px;
  border-bottom: 1px solid var(--line);
}

.hj-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hj-back:hover { color: var(--accent); }

.hj-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hj-detail-lede {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hj-detail-kpis {
  display: flex;
  gap: 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hj-detail-kpis b {
  display: block;
  font-size: 20px;
  font-weight: 500;
}

.hj-detail-kpis span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hj-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hj-detail-grid .hj-panel--wide {
  grid-column: 1 / -1;
}

.hj-detail-grid .hj-panel p {
  margin: 0;
  color: #a9bbac;
  font-size: 12px;
  line-height: 1.85;
}

.hj-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.hj-source-list {
  display: grid;
  gap: 1px;
}

.hj-source {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.hj-source:hover { color: var(--accent); }

.hj-source em {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--faint);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-tension-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: 10px;
}

.hj-tension-grid .hj-panel--wide {
  grid-column: 1 / -1;
}

.hj-gauge-panel {
  display: grid;
  place-items: center;
  padding: 28px;
}

.hj-gauge {
  position: relative;
  width: 210px;
  height: 210px;
}

.hj-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hj-gauge__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 7;
}

.hj-gauge__value {
  fill: none;
  stroke-width: 7;
  stroke-linecap: butt;
  transition: stroke-dashoffset .8s var(--ease-arrive);
}

.hj-gauge__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.hj-gauge__text strong {
  font-size: 66px;
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.07em;
}

.hj-gauge__text span {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hj-gauge__text em {
  margin-top: 4px;
  color: var(--faint);
  font-style: normal;
  font-size: 9px;
}

.hj-scale-note {
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
}

.hj-dim-list {
  width: 100%;
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.hj-dim {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}

.hj-dim b {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
}

.hj-bars--large .hj-bar-row {
  min-height: 30px;
  grid-template-columns: 80px minmax(0, 1fr) 30px;
  font-size: 12px;
}

.hj-country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.hj-country-tile {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 0 10px;
  background: var(--panel);
}

.hj-country-tile:hover { background: var(--panel-2); }

.hj-country-tile b {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-country-tile strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
}

.hj-country-tile span {
  font-family: var(--font-mono);
  font-size: 10px;
}

.hj-influence-layout {
  min-height: 620px;
}

.hj-influence-layout .hj-map-main .hj-map {
  min-height: 620px;
}

.hj-matrix-wrap {
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .7);
  padding: 18px;
}

.hj-matrix-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.hj-matrix-head p {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 11px;
}

.hj-matrix-head .hj-scale {
  min-width: 180px;
}

.hj-matrix-scroll {
  overflow: auto;
  max-height: 68vh;
  border: 1px solid var(--line);
}

.hj-matrix {
  border-collapse: collapse;
  width: 100%;
  min-width: 1050px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-matrix th,
.hj-matrix td {
  border: 1px solid var(--line);
  padding: 0;
  text-align: center;
  min-width: 38px;
  height: 31px;
}

.hj-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel);
  color: var(--muted);
  font-weight: 400;
  writing-mode: vertical-rl;
  height: 92px;
  padding: 6px 0;
}

.hj-matrix tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--panel);
  text-align: left;
  padding: 0 8px;
  min-width: 112px;
}

.hj-matrix-actor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}

.hj-matrix-actor i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.hj-matrix td span {
  color: var(--ink);
  opacity: .86;
  font-size: 8px;
}

.hj-matrix td.is-home {
  background: repeating-linear-gradient(45deg, transparent 0 3px, var(--line) 3px 6px);
}

.hj-matrix td.is-home span { color: var(--faint); }

.hj-bloc-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hj-bloc-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  font-size: 10px;
  color: var(--muted);
}

.hj-bloc-row b {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
}

.hj-trend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .7fr);
  gap: 10px;
}

.hj-trend-grid .hj-panel--wide {
  grid-column: 1 / -1;
}

.hj-trend-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hj-grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.hj-axis-line {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.hj-axis {
  fill: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hj-trend-line {
  fill: none;
  stroke-width: 2;
}

.hj-trend-line--base { stroke: var(--accent-2); }
.hj-trend-line--esc { stroke: #ff5a4e; stroke-dasharray: 7 5; }
.hj-trend-line--de { stroke: var(--accent); stroke-dasharray: 7 5; }

.hj-trend-point {
  fill: var(--ink);
  stroke: var(--bezel);
  stroke-width: 3;
}

.hj-trend-label {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hj-trend-label--esc { fill: #ff6d5f; }
.hj-trend-label--de { fill: var(--accent); }
.hj-trend-label--base { fill: var(--accent-2); }

.hj-chart-legend {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.hj-chart-legend i {
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.hj-chart-legend i.is-base { background: var(--accent-2); }
.hj-chart-legend i.is-esc { background: #ff5a4e; }
.hj-chart-legend i.is-de { background: var(--accent); }

.hj-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.hj-list li {
  position: relative;
  padding-left: 14px;
  color: #a9bbac;
  font-size: 11px;
  line-height: 1.7;
}

.hj-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 4px;
  height: 4px;
  background: var(--accent-2);
}

.hj-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.hj-scenario {
  padding: 16px;
  background: var(--panel);
}

.hj-scenario__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.hj-scenario__top strong {
  font-size: 12px;
  font-weight: 500;
}

.hj-scenario__top b {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
}

.hj-scenario p {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.7;
}

.hj-watchlist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.hj-watchlist span {
  min-height: 72px;
  padding: 10px;
  background: var(--panel);
  color: #a9bbac;
  font-size: 10px;
  line-height: 1.5;
}

.hj-watchlist b {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hj-formula {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hj-formula span {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 16px;
}

.hj-formula em {
  color: var(--faint);
  font-style: normal;
  font-size: 10px;
}

.hj-power-section {
  margin-top: 26px;
}

.hj-power-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hj-power-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .65);
  transition: border-color .2s, transform .2s, background .2s;
}

.hj-power-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--panel-rgb), .82);
}

.hj-power-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hj-power-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.hj-power-card p {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.7;
}

.hj-power-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.hj-power-card li {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.hj-power-card li::before {
  content: "—";
  margin-right: 6px;
  color: var(--faint);
}

.hj-power-card .hj-more {
  margin-top: auto;
}

.hj-detail-grid .hj-gauge {
  margin: 0 auto;
}

.hj-empty {
  padding: 80px 0;
  color: var(--muted);
  text-align: center;
}

.hj-footnote {
  margin-top: 42px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #526357;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  line-height: 1.7;
}

.hj :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .hj-globe-stage { grid-template-columns: minmax(0, 1fr) 300px; }
  .hj-grid { grid-template-columns: 1fr 1fr; }
  .hj-grid .hj-panel--wide { grid-column: 1 / -1; }
  .hj-map-shell, .hj-influence-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .hj-map-legend { display: none; }
  .hj-power-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hj { padding: 0 20px 60px; }
  .hj-hero { grid-template-columns: 1fr; align-items: start; }
  .hj-kpis { max-width: 560px; }
  .hj-globe-stage { grid-template-columns: 1fr; }
  .hj-globe-aside { border-left: 0; border-top: 1px solid var(--line); }
  .hj-map { min-height: 460px; }
  .hj-map-shell, .hj-influence-layout { grid-template-columns: 1fr; }
  .hj-map-side, .hj-influence-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .hj-map-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hj-map-side .hj-side-block + .hj-side-block { margin: 0; padding: 0; border: 0; }
  .hj-map-main .hj-map { min-height: 480px; }
  .hj-map-legend { display: block; border-left: 0; border-top: 1px solid var(--line); }
  .hj-event-grid { grid-template-columns: 1fr; }
  .hj-detail-grid, .hj-tension-grid, .hj-trend-grid { grid-template-columns: 1fr; }
  .hj-tension-grid .hj-panel--wide, .hj-trend-grid .hj-panel--wide { grid-column: auto; }
  .hj-modules { grid-template-columns: 1fr 1fr; }
  .hj-watchlist { grid-template-columns: 1fr 1fr; }
  .hj-scenario-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hj { padding: 0 14px 48px; }
  .hj-crumbbar { min-height: 50px; gap: 8px; }
  .hj-live { gap: 6px; font-size: 8px; }
  .hj-live .hj-conf { display: none; }
  .hj-crumbbar__actions .hj-mini-link { display: none; }
  .hj-btn { padding: 0 12px; font-size: 9px; }
  .hj-tabs a { min-height: 44px; padding: 0 12px; font-size: 9px; }
  .hj-hero { padding: 34px 0 24px; }
  .hj-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hj-hero__lede { font-size: 13px; }
  .hj-kpi { min-height: 102px; padding: 12px; }
  .hj-kpi strong { font-size: 32px; }
  .hj-globe-head { flex-direction: column; gap: 4px; }
  .hj-map { min-height: 380px; }
  .hj-map-main .hj-map { min-height: 420px; }
  .hj-globe-stage { min-height: 0; }
  .hj-globe-aside { padding: 12px; }
  .hj-grid { grid-template-columns: 1fr; }
  .hj-grid .hj-panel--wide { grid-column: auto; }
  .hj-modules { grid-template-columns: 1fr; margin-top: 28px; }
  .hj-module { min-height: 94px; }
  .hj-page-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 0 20px; }
  .hj-page-head h1, .hj-detail-head h1 { font-size: 38px; }
  .hj-stat-pair { border-left: 0; padding-left: 0; }
  .hj-map-side { grid-template-columns: 1fr; gap: 0; }
  .hj-map-side .hj-side-block + .hj-side-block { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
  .hj-map-main .hj-map { min-height: 380px; }
  .hj-country-grid { grid-template-columns: 1fr 1fr; }
  .hj-country-tile { min-height: 48px; }
  .hj-power-grid { grid-template-columns: 1fr; }
  .hj-power-card { min-height: 0; }
  .hj-watchlist { grid-template-columns: 1fr; }
  .hj-detail-kpis { gap: 16px; flex-wrap: wrap; }
  .hj-source { flex-direction: column; gap: 4px; }
  .hj-source em { max-width: 100%; }
  .hj-formula { gap: 8px; }
  .hj-formula span { font-size: 13px; }
  .hj-gauge { width: 180px; height: 180px; }
  .hj-gauge__text strong { font-size: 54px; }
  .hj-legend { grid-template-columns: 1fr 1fr; }
  .hj-tension-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hj *,
  .hj *::before,
  .hj *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

.hj-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(var(--accent-2-rgb), .42);
  background: rgba(var(--bezel-rgb), .96);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

.hj-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hj-news {
  margin-top: 40px;
}

.hj-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hj-news__head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 500;
}

.hj-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hj-event-card__media {
  display: block;
  height: 138px;
  margin: -18px -18px 14px;
  overflow: hidden;
  background: var(--well);
}

.hj-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.02);
  transition: transform .5s var(--ease-arrive), filter .3s;
}

.hj-event-card:hover .hj-event-card__media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.hj-event-card:has(.hj-event-card__media) {
  min-height: 0;
}

.hj-event-grid--compact .hj-event-card__media {
  height: 118px;
}

@media (max-width: 1120px) {
  .hj-news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hj-news-grid { grid-template-columns: 1fr; }
  .hj-news__head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

.hj-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  display: flex;
  gap: 4px;
}

.hj-map-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(var(--bezel-rgb), .82);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hj-map-controls button:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.hj-map-hint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 6;
  max-width: calc(100% - 70px);
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: rgba(var(--bezel-rgb), .78);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  line-height: 1.5;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.hj-map-hint.is-active {
  border-color: rgba(var(--accent-rgb), .45);
  color: var(--accent);
}

.hj-map:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  background: var(--bezel);
}

.hj-map:fullscreen .hj-map-controls {
  top: 18px;
  right: 18px;
}

.hj-map:fullscreen .hj-map-hint {
  left: 20px;
  bottom: 18px;
}

@media (max-width: 620px) {
  .hj-map-controls button {
    width: 40px;
    height: 40px;
  }

  .hj-map-hint {
    font-size: 7px;
    max-width: calc(100% - 24px);
  }
}


/* Phone landscape: collapse the editorial hero into a usable dashboard */
@media (orientation: landscape) and (max-width: 900px) and (max-height: 560px) {
  .hj { padding: 0 9px 18px; }
  .hj-crumbbar, .hj-hero, .hj-kpis, .hj-page-head, .hj-globe-head { display: none; }
  .hj-globe-stage {
    position: fixed;
    top: 132px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    margin: 0;
    grid-template-columns: 1fr;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden;
    z-index: 1;
  }
  .hj-globe-stage .hj-map--globe { height: 100% !important; min-height: 0 !important; }
  .hj-globe-aside { display: none; }
  .hj-grid { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
  .hj-panel { padding: 10px; }
  .hj-news { margin-top: 8px; }
  .hj-news-grid { grid-template-columns: 1fr 1fr; }
  .hj-event-card__media { height: 100px; }
  .hj-map-shell, .hj-influence-layout { grid-template-columns: 1fr; }
  .hj-map-side, .hj-map-legend, .hj-influence-side { display: none; }
  .hj-map-main .hj-map { min-height: 200px; height: 200px; }
  .hj-map-controls { top: 8px; right: 8px; }
  .hj-map-controls button { width: 32px; height: 32px; }
  .hj-map-hint { bottom: 8px; left: 8px; }
  .hj-tension-grid, .hj-trend-grid, .hj-detail-grid { grid-template-columns: 1fr; }
  .hj-scenario-grid { grid-template-columns: 1fr; }
  .hj-watchlist { grid-template-columns: 1fr 1fr; }
  .hj-power-grid { grid-template-columns: 1fr 1fr; }
}


/* Short desktop / ultra-wide: keep the KPI pane visible instead of falling into phone layout */
@media (min-width: 901px) and (max-height: 620px) {
  .hj { padding-top: 0; }
  .hj-crumbbar { display: none; }
  .hj-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: start;
    gap: 24px;
    padding: 16px 0 10px;
  }
  .hj-hero h1 { font-size: clamp(40px, 2.6vw, 58px); line-height: .95; }
  .hj-hero p { display: none; }
  .hj-hero__actions { margin-top: 10px; }
  .hj-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-self: start;
    max-width: none;
  }
  .hj-kpi { min-height: 0; padding: 10px 12px; }
  .hj-kpi strong { font-size: 34px; }
  .hj-kpi span { font-size: 9px; }
  .hj-kpi em { font-size: 8px; }
  .hj-globe-wrap { margin-top: 14px; }
}


/* Mobile density and scroll-safe 2D maps */
@media (max-width: 760px) {
  .hj { padding: 0 10px 42px; }
  .hj-hero { grid-template-columns: 1fr; gap: 12px; padding: 22px 0 16px; }
  .hj-hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.06; letter-spacing: -.02em; }
  .hj-hero h1 em { color: rgba(var(--accent-rgb), .86); -webkit-text-stroke: 0; }
  .hj-hero__lede { max-width: none; margin-top: 10px; font-size: 12px; line-height: 1.65; }
  .hj-hero__actions { margin-top: 12px; }
  .hj-hero__actions .hj-btn { min-height: 36px; padding: 0 12px; font-size: 9px; }
  .hj-kpis { max-width: none; gap: 0; }
  .hj-kpi { min-height: 78px; padding: 8px 9px; }
  .hj-kpi strong { font-size: 24px; }
  .hj-kpi span { font-size: 8px; }
  .hj-kpi em { font-size: 7px; }
  .hj-page-head { padding: 18px 0 12px; }
  .hj-page-head h1 { font-size: 34px; }
  .hj-page-head p { font-size: 11px; }
  .hj-section__head h2 { font-size: 18px; }
  .hj-news { margin-top: 22px; }
  .hj-event-card__media { height: 118px; }
  .hj-event-card { padding: 12px; }
  .hj-event-card h3 { font-size: 15px; }
  .hj-event-card p { font-size: 10px; }
  .hj-map-controls button { width: 36px; height: 36px; }
}

/* Inactive 2D maps must not trap vertical page scroll. */
.hj-map--2d, .hj-map--influence { touch-action: pan-y; }
.hj-map--2d .hj-canvas, .hj-map--influence .hj-canvas { touch-action: pan-y; }
.hj-map--2d.is-map-active, .hj-map--influence.is-map-active { touch-action: none; }
.hj-map--2d.is-map-active .hj-canvas, .hj-map--influence.is-map-active .hj-canvas { touch-action: none; }

/* Compact sources page */
.hj-sources {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.hj-sources__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}
.hj-sources__summary b { color: var(--ink); font-size: 16px; font-weight: 500; margin-right: 3px; }
.hj-sources__tag { margin-left: auto; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .45); padding: 2px 5px; }
.hj-sources__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
}
.hj-sources__head em { color: var(--faint); font-style: normal; }
.hj-sources .hj-source { min-height: 34px; padding: 6px 0; font-size: 9px; }
.hj-source-details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.hj-source-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}
.hj-source-details summary::-webkit-details-marker { display: none; }
.hj-source-details summary::before { content: "+"; color: var(--accent); margin-right: 7px; }
.hj-source-details[open] summary::before { content: "−"; }
.hj-source-details summary em { margin-left: auto; color: var(--faint); font-style: normal; font-size: 8px; }
.hj-source-details .hj-list { margin: 4px 0 12px; }
.hj-source-details .hj-note { margin: 6px 0 10px; }
@media (max-width: 760px) {
  .hj-sources { padding: 12px 12px; }
  .hj-sources__summary { gap: 6px 12px; }
  .hj-sources__summary b { font-size: 14px; }
  .hj-sources__head { padding-top: 10px; }
}
