.anima-e2ec-shell {
  --e2ec-bg: linear-gradient(180deg, #f8f5ff 0%, #f2f4fb 42%, #eef4ff 100%);
  --e2ec-card: rgba(255,255,255,.72);
  --e2ec-card-strong: rgba(255,255,255,.84);
  --e2ec-border: rgba(148,163,184,.16);
  --e2ec-text: #0f172a;
  --e2ec-muted: #64748b;
  --e2ec-shadow: 0 28px 80px rgba(15,23,42,.10);
  --e2ec-shadow-soft: 0 16px 40px rgba(15,23,42,.08);
  background: var(--e2ec-bg);
  color: var(--e2ec-text);
  border: 1px solid var(--e2ec-border);
  border-radius: 34px;
  padding: 22px;
  box-shadow: var(--e2ec-shadow);
  position: relative;
  overflow: clip;
}

.anima-e2ec-shell,
.anima-e2ec-shell * {
  box-sizing: border-box;
}

.anima-e2ec-shell::before {
  content: "🕎";
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 2rem;
  opacity: .10;
  pointer-events: none;
}

.anima-e2ec-topbar,
.anima-e2ec-body,
.anima-e2ec-breadcrumbs,
.anima-e2ec-dock-grid,
.anima-e2ec-guided-bar,
.anima-e2ec-chip-row,
.anima-e2ec-tax-group,
.anima-e2ec-mode-switch,
.anima-e2ec-hud-minirow,
.anima-e2ec-article-foot,
.anima-e2ec-utility-bar,
.anima-e2ec-focus-badges,
.anima-e2ec-focus-meta,
.anima-e2ec-hud-head,
.anima-e2ec-hud-actions {
  display: flex;
}

.anima-e2ec-topbar,
.anima-e2ec-body,
.anima-e2ec-dock-grid {
  gap: 18px;
}

.anima-e2ec-topbar {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.anima-e2ec-intro h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 1.02;
  margin: 6px 0 10px;
  max-width: 780px;
}

.anima-e2ec-intro p,
.anima-e2ec-search-result span,
.anima-e2ec-search-empty,
.anima-e2ec-focus-copy p,
.anima-e2ec-article-copy p,
.anima-e2ec-empty-card,
.anima-e2ec-trail-card span,
.anima-e2ec-side-article span,
.anima-e2ec-hud-card p,
.anima-e2ec-guided-info span,
.anima-e2ec-node-copy small,
.anima-e2ec-focus-meta,
.anima-e2ec-side-block ul,
.anima-e2ec-side-block li {
  color: var(--e2ec-muted);
}

.anima-e2ec-kicker,
.anima-e2ec-section-kicker,
.anima-e2ec-mini-label {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
}

.anima-e2ec-kicker,
.anima-e2ec-section-kicker {
  font-size: .78rem;
  color: #7c3aed;
}

.anima-e2ec-mini-label {
  font-size: .72rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.anima-e2ec-tools {
  min-width: min(100%, 420px);
  display: grid;
  gap: 12px;
}

.anima-e2ec-mode-switch,
.anima-e2ec-search,
.anima-e2ec-search-results,
.anima-e2ec-canvas-card,
.anima-e2ec-sidepanel,
.anima-e2ec-focus-strip,
.anima-e2ec-dock-card,
.anima-e2ec-chip,
.anima-e2ec-tax-pill,
.anima-e2ec-crumb,
.anima-e2ec-guided-btn,
.anima-e2ec-guided-info,
.anima-e2ec-upstream,
.anima-e2ec-text-link,
.anima-e2ec-trail-card,
.anima-e2ec-article-card,
.anima-e2ec-empty-card,
.anima-e2ec-focus-pill,
.anima-e2ec-util-btn,
.anima-e2ec-side-block,
.anima-e2ec-hud-card,
.anima-e2ec-hud-peek,
.anima-e2ec-era-pill {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.anima-e2ec-mode-switch {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.18);
}

.anima-e2ec-mode-switch button,
.anima-e2ec-chip,
.anima-e2ec-tax-pill,
.anima-e2ec-guided-btn,
.anima-e2ec-upstream,
.anima-e2ec-text-link,
.anima-e2ec-trail-card,
.anima-e2ec-crumb,
.anima-e2ec-focus-pill.is-clickable,
.anima-e2ec-search-result,
.anima-e2ec-era-pill,
.anima-e2ec-util-btn,
.anima-e2ec-hud-peek,
.anima-e2ec-hud-close {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.anima-e2ec-mode-switch button {
  flex: 1;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  padding: 11px 14px;
  color: #475569;
}

.anima-e2ec-mode-switch button.is-active {
  background: linear-gradient(135deg, #111827, #334155);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.18);
}

.anima-e2ec-search-wrap {
  position: relative;
}

.anima-e2ec-search {
  width: 100%;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  padding: 15px 18px;
  background: rgba(255,255,255,.9);
}

.anima-e2ec-search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 22px;
  overflow: auto;
  max-height: 360px;
  box-shadow: var(--e2ec-shadow);
}

.anima-e2ec-search-result,
.anima-e2ec-search-empty {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226,232,240,.85);
  background: transparent;
}

.anima-e2ec-search-result strong {
  display: block;
  color: #0f172a;
}

.anima-e2ec-body {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr);
}

.anima-e2ec-main {
  min-width: 0;
}

.anima-e2ec-breadcrumbs {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.anima-e2ec-crumb {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
  color: #334155;
  font-weight: 700;
}

.anima-e2ec-crumb-sep {
  align-self: center;
  color: #94a3b8;
}

.anima-e2ec-focus-strip,
.anima-e2ec-sidepanel,
.anima-e2ec-canvas-card,
.anima-e2ec-dock-card {
  border-radius: 30px;
  background: var(--e2ec-card);
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: var(--e2ec-shadow-soft);
}

.anima-e2ec-focus-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  gap: 20px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.anima-e2ec-focus-copy h3,
.anima-e2ec-side-block h4,
.anima-e2ec-hud-card h4 {
  margin: 4px 0 10px;
}

.anima-e2ec-focus-meta,
.anima-e2ec-focus-badges,
.anima-e2ec-chip-row {
  flex-wrap: wrap;
  gap: 8px;
}

.anima-e2ec-focus-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.anima-e2ec-focus-thumb {
  min-height: 132px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.anima-e2ec-focus-thumb.is-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(14,165,233,.18));
  font-size: 2.2rem;
}

.anima-e2ec-focus-pill,
.anima-e2ec-chip,
.anima-e2ec-tax-pill,
.anima-e2ec-guided-btn,
.anima-e2ec-guided-info,
.anima-e2ec-upstream,
.anima-e2ec-text-link,
.anima-e2ec-util-btn,
.anima-e2ec-era-pill,
.anima-e2ec-mini-pill {
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.anima-e2ec-mini-pill {
  background: rgba(226,232,240,.66);
  font-size: .78rem;
  font-weight: 700;
  color: #475569;
  padding: 7px 10px;
}

.anima-e2ec-focus-pill {
  background: var(--pill-bg, rgba(255,255,255,.85));
  color: var(--pill-text, #334155);
  font-weight: 700;
}

.anima-e2ec-focus-pill.is-soft {
  background: rgba(241,245,249,.88);
  color: #334155;
}

.anima-e2ec-focus-pill.is-clickable,
.anima-e2ec-util-btn.is-accent {
  background: rgba(237,233,254,.92);
  color: #5b21b6;
}

.anima-e2ec-utility-bar {
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.anima-e2ec-util-btn {
  background: rgba(255,255,255,.84);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
  font-weight: 700;
  color: #334155;
}

.anima-e2ec-era-rail {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.anima-e2ec-era-rail-label {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7c3aed;
  font-weight: 800;
}

.anima-e2ec-era-rail-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.anima-e2ec-era-pill {
  white-space: nowrap;
  background: rgba(255,255,255,.86);
  color: #334155;
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
  font-weight: 700;
}

.anima-e2ec-era-pill.is-active {
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(14,165,233,.18));
  color: #3b0764;
  box-shadow: inset 0 0 0 2px rgba(124,58,237,.26);
}

.anima-e2ec-canvas-card {
  padding: 16px;
  overflow: hidden;
}

.anima-e2ec-canvas-wrap {
  position: relative;
  min-height: 860px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  cursor: grab;
}

.anima-e2ec-canvas-wrap.is-dragging {
  cursor: grabbing;
}

.anima-e2ec-canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,33,.18), rgba(255,255,255,.28) 32%, rgba(255,255,255,.08) 100%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), transparent 34%),
    url('yahawashi-bg.jpg') center/cover no-repeat;
  filter: saturate(1.08);
}

.anima-e2ec-canvas-wrap::after {
  content: "Yahawah bahasham Yahawashi";
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(255,255,255,.72);
}

.anima-e2ec-canvas-glow,
.anima-e2ec-canvas-hud,
.anima-e2ec-zoom-controls,
.anima-e2ec-trails-panel,
.anima-e2ec-lines,
.anima-e2ec-canvas,
.anima-e2ec-viewport {
  position: absolute;
}

.anima-e2ec-canvas-glow,
.anima-e2ec-canvas-hud,
.anima-e2ec-zoom-controls,
.anima-e2ec-trails-panel {
  z-index: 3;
}

.anima-e2ec-canvas-glow {
  inset: 0;
  pointer-events: none;
}

.anima-e2ec-canvas-glow::before {
  content: "";
  position: absolute;
  inset: 18% 24% 18% 24%;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow-color, #7c3aed) 24%, transparent 76%), transparent 68%);
  filter: blur(40px);
  opacity: .9;
}

.anima-e2ec-viewport {
  left: 0;
  top: 0;
  width: 1600px;
  height: 1050px;
  transform-origin: 0 0;
  z-index: 2;
}

.anima-e2ec-lines,
.anima-e2ec-canvas {
  inset: 0;
}

.anima-e2ec-lines line {
  stroke: rgba(255,255,255,.48);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.18));
}

.anima-e2ec-lines line[data-intensity="strong"] {
  stroke: rgba(255,255,255,.88);
  stroke-width: 3;
}

.anima-e2ec-lines line[data-intensity="soft"] {
  stroke: rgba(255,255,255,.42);
  stroke-width: 2;
}

.anima-e2ec-lines line[data-intensity="trail"] {
  stroke: rgba(196,181,253,.96);
  stroke-width: 2.4;
  stroke-dasharray: 8 6;
}

.anima-e2ec-lines line[data-intensity="web"] {
  stroke: rgba(191,219,254,.52);
  stroke-width: 1.6;
}

.anima-e2ec-hud-card,
.anima-e2ec-hud-peek {
  position: absolute;
  left: 18px;
  top: 18px;
  width: min(360px, calc(100% - 36px));
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(148,163,184,.16);
  padding: 16px;
  box-shadow: 0 18px 34px rgba(15,23,42,.08);
}

.anima-e2ec-hud-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.anima-e2ec-hud-close {
  background: rgba(241,245,249,.92);
  color: #64748b;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
}

.anima-e2ec-hud-minirow,
.anima-e2ec-hud-actions {
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.anima-e2ec-guided-btn,
.anima-e2ec-guided-info,
.anima-e2ec-upstream,
.anima-e2ec-text-link,
.anima-e2ec-tax-pill,
.anima-e2ec-chip {
  background: rgba(255,255,255,.84);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
  color: #334155;
  font-weight: 700;
}

.anima-e2ec-guided-info {
  cursor: default;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.anima-e2ec-guided-nav {
  margin-top: 14px;
}

.anima-e2ec-guided-bar {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.anima-e2ec-trails-panel {
  top: 18px;
  right: 18px;
  max-width: min(380px, calc(100% - 36px));
}

.anima-e2ec-trail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.anima-e2ec-trail-card {
  padding: 14px;
  border-radius: 22px;
  text-align: left;
  background: rgba(255,255,255,.84);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
}

.anima-e2ec-trail-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.anima-e2ec-trail-card.is-active {
  box-shadow: inset 0 0 0 2px rgba(124,58,237,.35), 0 16px 30px rgba(124,58,237,.12);
}

.anima-e2ec-trail-card.is-relevant {
  background: rgba(245,243,255,.92);
}

.anima-e2ec-zoom-controls {
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 18px 34px rgba(15,23,42,.08);
}

.anima-e2ec-zoom-controls button,
.anima-e2ec-zoom-readout {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: rgba(241,245,249,.92);
  color: #334155;
  font-weight: 800;
}

.anima-e2ec-zoom-readout {
  min-width: 58px;
  width: auto;
  padding: 0 12px;
}

.anima-e2ec-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: color-mix(in srgb, var(--node-fill) 16%, rgba(255,255,255,.90));
  box-shadow: 0 24px 45px rgba(15,23,42,.14), inset 0 0 0 1px rgba(255,255,255,.62), 0 0 0 10px var(--node-ring);
  color: var(--node-text);
  padding: 12px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}

.anima-e2ec-node:hover {
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 28px 60px rgba(15,23,42,.18), inset 0 0 0 1px rgba(255,255,255,.72), 0 0 0 12px var(--node-ring);
}

.anima-e2ec-node-badge {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 20px rgba(15,23,42,.10);
  font-size: 1rem;
}

.anima-e2ec-node-thumb {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.anima-e2ec-node-thumb.is-fallback {
  background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(14,165,233,.22));
}

.anima-e2ec-node-title {
  display: block;
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 800;
  color: #0f172a;
}

.anima-e2ec-node-copy small {
  display: block;
  font-size: .78rem;
  line-height: 1.18;
  margin-top: 4px;
}

.anima-e2ec-node-meta {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.84);
  font-weight: 800;
  font-size: .78rem;
}

.anima-e2ec-node--center {
  background: linear-gradient(135deg, color-mix(in srgb, var(--node-fill) 72%, #ffffff 28%), color-mix(in srgb, var(--node-fill) 58%, #111827 42%));
  box-shadow: 0 38px 70px rgba(15,23,42,.20), 0 0 0 14px var(--node-ring), inset 0 1px 0 rgba(255,255,255,.34);
}

.anima-e2ec-node--center .anima-e2ec-node-title,
.anima-e2ec-node--center .anima-e2ec-node-copy small {
  color: #fff;
}

.anima-e2ec-node--center .anima-e2ec-node-meta {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.anima-e2ec-dock-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anima-e2ec-dock-card,
.anima-e2ec-sidepanel {
  padding: 16px;
}

.anima-e2ec-article-rail {
  display: grid;
  gap: 12px;
}

.anima-e2ec-article-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  background: rgba(255,255,255,.84);
  border-radius: 24px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
  color: inherit;
}

.anima-e2ec-article-card.is-featured {
  box-shadow: inset 0 0 0 2px rgba(124,58,237,.20), 0 16px 30px rgba(124,58,237,.08);
}

.anima-e2ec-article-thumb,
.anima-e2ec-side-hero {
  background-size: cover;
  background-position: center;
}

.anima-e2ec-article-thumb {
  min-height: 92px;
  border-radius: 18px;
}

.anima-e2ec-article-thumb.is-fallback,
.anima-e2ec-side-hero.is-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(14,165,233,.18));
  font-size: 1.6rem;
}

.anima-e2ec-article-copy strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.1;
}

.anima-e2ec-article-foot {
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.anima-e2ec-tax-group {
  flex-direction: column;
  gap: 10px;
}

.anima-e2ec-chip-row.is-wrap,
.anima-e2ec-linkgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anima-e2ec-sidepanel-inner {
  display: grid;
  gap: 12px;
}

.anima-e2ec-side-block {
  background: rgba(255,255,255,.84);
  border-radius: 24px;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
}

.anima-e2ec-side-hero {
  min-height: 140px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.anima-e2ec-side-hero span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.42);
  color: #fff;
  font-weight: 800;
}

.anima-e2ec-plain-list {
  margin: 0;
  padding-left: 1rem;
}

.anima-e2ec-empty-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
}

.anima-e2ec-shell.is-map-only .anima-e2ec-focus-strip,
.anima-e2ec-shell.is-map-only .anima-e2ec-dock-grid,
.anima-e2ec-shell.is-map-only .anima-e2ec-sidepanel,
.anima-e2ec-shell.is-map-only .anima-e2ec-breadcrumbs,
.anima-e2ec-shell.is-map-only .anima-e2ec-era-rail {
  display: none !important;
}

.anima-e2ec-shell.is-map-only .anima-e2ec-body {
  grid-template-columns: 1fr;
}

.anima-e2ec-shell.is-details-hidden .anima-e2ec-sidepanel {
  display: none;
}

.anima-e2ec-shell.is-details-hidden .anima-e2ec-body {
  grid-template-columns: 1fr;
}

.anima-e2ec-shell.is-bridge-hidden .anima-e2ec-dock-grid {
  display: none;
}

@media (max-width: 1120px) {
  .anima-e2ec-body,
  .anima-e2ec-dock-grid,
  .anima-e2ec-focus-strip {
    grid-template-columns: 1fr;
  }

  .anima-e2ec-canvas-wrap {
    min-height: 760px;
  }
}

@media (max-width: 782px) {
  .anima-e2ec-shell {
    border-radius: 24px;
    padding: 14px;
  }

  .anima-e2ec-topbar {
    flex-direction: column;
  }

  .anima-e2ec-tools {
    min-width: 100%;
  }

  .anima-e2ec-canvas-wrap {
    min-height: 620px;
  }

  .anima-e2ec-hud-card,
  .anima-e2ec-hud-peek,
  .anima-e2ec-trails-panel {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
  }

  .anima-e2ec-trails-panel {
    top: auto;
    bottom: 74px;
  }

  .anima-e2ec-zoom-controls {
    right: 12px;
    bottom: 12px;
  }

  .anima-e2ec-article-card {
    grid-template-columns: 74px 1fr;
  }
}

.anima-e2ec-shell.is-map-only .anima-e2ec-topbar {
  align-items: center;
}

.anima-e2ec-shell.is-map-only .anima-e2ec-intro p,
.anima-e2ec-shell.is-map-only .anima-e2ec-intro h2 {
  max-width: 520px;
}

.anima-e2ec-shell.is-map-only .anima-e2ec-intro p {
  display: none;
}

.anima-e2ec-node-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100% - 36px));
  z-index: 5;
  pointer-events: none;
}

.anima-e2ec-node-panel:empty {
  display: none;
}

.anima-e2ec-node-drawer {
  pointer-events: auto;
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 28px 80px rgba(15,23,42,.14);
  padding: 14px;
  max-height: min(70vh, 760px);
  overflow: auto;
}

.anima-e2ec-node-drawer-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(241,245,249,.94);
  color: #64748b;
  font-weight: 800;
  cursor: pointer;
}

.anima-e2ec-node-drawer-hero {
  min-height: 180px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.anima-e2ec-node-drawer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.58));
}

.anima-e2ec-node-drawer-hero span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.05;
}

.anima-e2ec-node-drawer-hero.is-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(14,165,233,.22));
}

.anima-e2ec-node-drawer-copy {
  padding: 12px 2px 2px;
}

.anima-e2ec-node-row + .anima-e2ec-node-row {
  margin-top: 12px;
}

.anima-e2ec-node-miniarticles {
  display: grid;
  gap: 10px;
}

.anima-e2ec-node-miniarticle {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 18px;
  background: rgba(248,250,252,.86);
}

.anima-e2ec-node-miniarticle strong {
  display: block;
  color: #0f172a;
  line-height: 1.1;
}

.anima-e2ec-node-miniarticle small {
  display: block;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.2;
}

.anima-e2ec-node-miniarticle-thumb {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

.anima-e2ec-loading-gate {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(12,16,30,.20), rgba(255,255,255,.10));
  transition: opacity .28s ease, visibility .28s ease;
}

.anima-e2ec-loading-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.anima-e2ec-loading-card {
  min-width: min(86vw, 320px);
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  background: rgba(255,255,255,.84);
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
}

.anima-e2ec-loading-card strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.anima-e2ec-loading-card span {
  display: block;
  color: #64748b;
  margin-top: 6px;
}

.anima-e2ec-loading-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 999px;
  border: 3px solid rgba(124,58,237,.18);
  border-top-color: #7c3aed;
  animation: anima-e2ec-spin .9s linear infinite;
}

@keyframes anima-e2ec-spin {
  to { transform: rotate(360deg); }
}

.anima-e2ec-launcher {
  position: fixed;
  z-index: 9998;
  left: max(12px, calc((100vw - 1240px) / 2 - 2px));
  top: 42vh;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,.88);
  color: #4c1d95;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
  border: 1px solid rgba(124,58,237,.18);
  font-weight: 800;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.anima-e2ec-launcher small {
  display: block;
  color: #64748b;
  font-weight: 700;
  font-size: .72rem;
}

@media (max-width: 782px) {
  .anima-e2ec-node-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }

  .anima-e2ec-node-drawer {
    max-height: 54vh;
  }

  .anima-e2ec-launcher {
    top: auto;
    left: 10px;
    bottom: 172px;
    transform: none;
    padding: 10px 12px;
    border-radius: 16px;
  }
}
