/*
 * Primer Systems — v2 stylesheet
 * ───────────────────────────────────────────────────────────
 * Single source of truth for the blueprint aesthetic.
 *
 * Sections:
 *   1.  Design tokens                            (:root)
 *   2.  Reset & base                             (*, html, body)
 *   3.  Layout primitives                        (.page, .main-content)
 *   4.  Header & top nav                         (.net-header, .net-nav)
 *   5.  Hero / intro                             (.intro)
 *   6.  Sidebar menu                             (.modules-sidebar, .menu-item)
 *   7.  Content area                             (.content-area, .major-section)
 *   8.  Tabs & subsections                       (.tabs, .tab, .subsection)
 *   9.  Section labels & legends                 (.section-label, .legend)
 *  10.  Diagram primitives                       (.diagram, .zone, .node, .conn)
 *  11.  Notes block                              (.notes)
 *  12.  Buttons & links                          (.btn, .app-cta, .inline-link)
 *  13.  Panels: x402, code, tables               (.x402-panel, .code-block, .api-table)
 *  14.  Apps section                             (.apps-platforms, .apps-list, .app-section)
 *  15.  Tokenomics                               (.tokenomics-grid, .principle, .supply-chart)
 *  16.  Activity feed                            (.feed-section, .tx-chart)
 *  17.  Updates console                          (.updates-console, .update-item)
 *  18.  Subpage chrome                           (.back-link)
 *  19.  Footer                                   (.net-footer)
 *  20.  Responsive
 */


/* ============================================================
 * 1.  DESIGN TOKENS
 * ============================================================ */
:root {
  /* Brand palette */
  --lime:           #baea2a;
  --lime-dim:       #7a9a1a;
  --lime-glow:      rgba(186, 234, 42, 0.4);
  --rust:           #B7410E;
  --rust-bright:    #E84536;

  /* Neutral palette */
  --black:          #09090b;
  --black-light:    #121214;
  --charcoal:       #4A4543;
  --charcoal-light: #5a5553;
  --white:          #fafafa;
  --white-dim:      rgba(250, 250, 250, 0.5);

  /* Blueprint surfaces */
  --grid:             rgba(186, 234, 42, 0.04);
  --node-bg:          #1a1a1c;
  --node-border:      #6a6560;
  --node-border-dim:  #3a3735;

  /* Diagram flow */
  --conn:        rgba(186, 234, 42, 0.35);
  --conn-flow:   rgba(186, 234, 42, 0.95);
  --zone-border: rgba(186, 234, 42, 0.25);
  --zone-label:  rgba(250, 250, 250, 0.6);

  /* Layout */
  --page-max:    1400px;
  --sidebar-w:   260px;
}


/* ============================================================
 * 2.  RESET & BASE
 * ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 100vh;
  padding: 1.5rem;
  overflow-x: hidden;
}


/* ============================================================
 * 3.  LAYOUT PRIMITIVES
 * ============================================================ */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.main-content {
  display: flex;
  gap: 2.5rem;
}

.content-area {
  flex: 1;
  min-width: 0;
}


/* ============================================================
 * 4.  HEADER & TOP NAV
 * ============================================================ */
.net-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
}

.net-logo img { height: 24px; }

.net-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-dim);
}

.net-nav a {
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.net-nav a:hover { color: var(--lime); }


/* ============================================================
 * 5.  HERO / INTRO
 * ============================================================ */
.intro {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.intro-headline {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--white);
  max-width: 480px;
  letter-spacing: -0.01em;
}

.intro-headline .accent { color: var(--lime); }

.intro-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 480px;
}
.intro-text strong { color: var(--white); font-weight: 500; }


/* ============================================================
 * 6.  SIDEBAR MENU
 * ============================================================ */
.modules-sidebar {
  flex: 0 0 var(--sidebar-w);
  /* Aligns top of menu items with the horizontal line beneath the subtabs row.
     Equals .tab vertical padding (0.75rem × 2) + tab font-size (12px) + 1px border ≈ 37px. */
  padding-top: calc(1.5rem + 13px);
}

.modules-intro {
  font-size: 10px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modules-intro::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--charcoal);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(186, 234, 42, 0.03);
  border-left: 3px solid var(--charcoal);
  text-decoration: none;
  color: var(--lime);
  cursor: pointer;
  transition: all 0.15s ease;
}
.menu-item:hover {
  background: rgba(186, 234, 42, 0.1);
  border-left-color: var(--lime);
  padding-left: 20px;
}
.menu-item.active {
  background: rgba(186, 234, 42, 0.1);
  border-left-color: var(--lime);
}
.menu-item .key  { color: var(--rust); font-weight: 600; min-width: 30px; }
.menu-item .name { font-weight: 500; min-width: 160px; }
.menu-item .desc { color: var(--white-dim); font-size: 12px; }


/* ============================================================
 * 7.  CONTENT: MAJOR SECTIONS
 * ============================================================ */
.major-section { display: none; }
.major-section.active { display: block; }


/* ============================================================
 * 8.  TABS & SUBSECTIONS
 * ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--charcoal);
}

.tab {
  padding: 0.75rem 1.5rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  position: relative;
  transition: color 0.15s ease;
}
.tab:hover { color: var(--white); }
.tab.active { color: var(--lime); }
.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}
.tab .tab-num {
  font-weight: 500;
  margin-right: 0.5rem;
  color: var(--charcoal-light);
}
.tab.active .tab-num { color: var(--lime-dim); }

.subsection,
.x402-subsection,
.sdk-subsection,
.facilitator-subsection { display: none; }
.subsection.active,
.x402-subsection.active,
.sdk-subsection.active,
.facilitator-subsection.active { display: block; }


/* ============================================================
 * 9.  SECTION LABELS & LEGENDS
 * ============================================================ */
.section-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--white-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--charcoal);
}

.legend {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 9px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legend-box {
  width: 12px;
  height: 12px;
  border: 1px solid var(--node-border);
  background: var(--node-bg);
}
.legend-box.offchain { border-color: #888; background: var(--node-bg); }
.legend-box.dashed   { border-style: dashed; border-color: #888; }
.legend-box.onchain  { background: var(--node-bg); border: 2px solid var(--lime); }
.legend-line {
  width: 20px;
  height: 2px;
  background: var(--lime);
  opacity: 0.5;
}


/* ============================================================
 * 10. DIAGRAM PRIMITIVES
 * ============================================================ */
.carousel-container { overflow: hidden; position: relative; }
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.module-panel {
  min-width: 100%;
  flex-shrink: 0;
}

.diagram {
  position: relative;
  height: 460px;
  margin-bottom: 1rem;
}

.connections {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.conn {
  stroke: var(--conn);
  stroke-width: 1.5;
  fill: none;
}

.conn-flow {
  stroke: var(--conn-flow);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 8;
  opacity: 0.85;
  animation: flow 2.5s linear infinite;
  filter: drop-shadow(0 0 6px var(--lime-glow));
}

.conn-data {
  stroke: #888;
  stroke-width: 1.5;
  fill: none;
}

.conn-money {
  stroke: var(--lime);
  stroke-width: 2;
  fill: none;
  opacity: 0.7;
}

.conn-money-flow {
  stroke: var(--conn-flow);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 8 6;
  opacity: 0.9;
  animation: flow 2s linear infinite;
  filter: drop-shadow(0 0 8px var(--lime-glow));
}

.conn-encrypted {
  stroke: #a855f7;
  stroke-width: 2;
  fill: none;
  opacity: 0.8;
  stroke-dasharray: 4 4;
  animation: flow 1.5s linear infinite;
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5));
}

@keyframes flow { to { stroke-dashoffset: -28; } }

.zone {
  position: absolute;
  border: 1px dashed var(--zone-border);
  border-radius: 2px;
}
.zone-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: var(--black);
  padding: 0 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--zone-label);
}
.zone-net {
  border-color: rgba(186, 234, 42, 0.25);
  background: rgba(186, 234, 42, 0.02);
}
.zone-net .zone-label { color: var(--lime-dim); }

/* Toastrack slot dividers — visualises N stake-weighted slots inside a zone */
.zone-slots {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 0;
}
.zone-slots > div {
  flex: 1;
  border-right: 1px solid rgba(186, 234, 42, 0.10);
}
.zone-slots > div:last-child { border-right: none; }

/* Centered label variant — for toastrack zones, label sits on top of the slot lines */
.zone-label.centered {
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  z-index: 2;
}

.node {
  position: absolute;
  background: var(--node-bg);
  border: 1px solid #888;
  padding: 9px 12px;
  min-width: 88px;
  text-align: center;
  transition: all 0.2s ease;
  z-index: 1;
}
.node:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 12px rgba(255, 255, 255, 0.1);
}
.node:hover .node-name { color: var(--white); }

.node-id {
  font-size: 8px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 3px;
  font-weight: 500;
}
.node-name {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 0.2s;
}
.node-desc {
  font-size: 9px;
  color: var(--white-dim);
  margin-top: 4px;
  line-height: 1.4;
}

.node-onchain {
  border: 2px solid var(--lime);
  box-shadow: 0 0 8px rgba(186, 234, 42, 0.1);
}
.node-onchain .node-name { color: var(--lime); }
.node-onchain .node-id   { color: var(--lime-dim); }
.node-onchain:hover {
  border-color: var(--lime);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 16px rgba(186, 234, 42, 0.2);
}

.node-external {
  border-style: dashed;
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
  opacity: 1;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}


/* ============================================================
 * 11. NOTES BLOCK
 * ============================================================ */
.notes {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--lime-dim);
  background: rgba(186, 234, 42, 0.025);
  font-size: 11px;
  color: var(--white-dim);
  line-height: 1.7;
}
.notes strong { color: var(--white); font-weight: 600; }
.notes .lime-accent { color: var(--lime); }


/* ============================================================
 * 12. BUTTONS & LINKS
 * ============================================================ */
.inline-link {
  color: var(--lime);
  text-decoration: none;
}
.inline-link:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  border: 1px solid var(--node-border);
  color: var(--white);
  background: transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn:hover { border-color: var(--lime); color: var(--lime); }

.btn-primary {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(186, 234, 42, 0.08);
}
.btn-primary:hover { background: var(--lime); color: var(--black); }

.btn-ghost {
  border-color: var(--node-border-dim);
  color: var(--white-dim);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--charcoal-light);
}


/* ============================================================
 * 13. PANELS: x402, code, tables
 * ============================================================ */
.x402-content { max-width: 900px; }

.x402-panel {
  background: var(--node-bg);
  border: 1px solid var(--charcoal);
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.x402-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--charcoal);
}
.x402-panel-header .num  { color: var(--lime-dim); font-size: 10px; }
.x402-panel-header .icon { color: var(--lime);     font-size: 14px; }
.x402-panel-header .name {
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.x402-panel-header .panel-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--white-dim);
}
.x402-panel-header .panel-status .dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.x402-panel-body {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.7;
}
.x402-panel-body p      { margin-bottom: 12px; }
.x402-panel-body strong { color: var(--white); }

/* Partners section (About Primer) */
.partner-divider {
  border: 0;
  border-top: 1px solid var(--charcoal);
  margin: 16px 0 20px;
}
.partner-block {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.partner-logo {
  flex: 0 0 160px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.partner-logo img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.partner-info {
  flex: 1;
  min-width: 0;
}
.partner-name {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.partner-desc {
  color: var(--white-dim);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Facilitator status panel */
.facilitator-status {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--charcoal);
}
.status-dot.online {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(186, 234, 42, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.status-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.05em;
}
.status-version {
  font-size: 11px;
  color: var(--charcoal-light);
}
.status-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.status-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.status-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.status-stat-value.error {
  color: var(--rust);
}
.status-stat-label {
  font-size: 10px;
  color: var(--charcoal-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section headline — sits at top of each subtab content area */
.section-headline {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.section-headline .accent { color: var(--lime); }

.facilitator-pitch {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 1rem;
}
.facilitator-url {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--black);
  border: 1px solid var(--charcoal);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.facilitator-url code {
  flex: 1;
  font-size: 13px;
  color: var(--lime);
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--charcoal);
  padding: 0.35rem 0.6rem;
  color: var(--charcoal-light);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.copy-btn .copy-icon {
  font-size: 12px;
}
.facilitator-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.facilitator-links a {
  font-size: 11px;
  color: var(--lime-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.facilitator-links a:hover {
  color: var(--lime);
}

/* Facilitator features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.feature-label {
  font-size: 10px;
  color: var(--lime-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.feature-value {
  font-size: 12px;
  color: var(--white);
}

/* Sparkline chart (Style A) */
.sparkline-chart {
  padding: 0.5rem 0;
}
.sparkline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.sparkline-label {
  font-size: 11px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.sparkline-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--lime);
}
.sparkline-svg {
  width: 100%;
  height: 80px;
  display: block;
}
.sparkline-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--white-dim);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Facilitator status grid — 3 columns: metrics | metrics | chart */
.facilitator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 2rem;
  padding: 1.25rem;
  align-items: center;
}
.facilitator-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.facilitator-url-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.facilitator-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--lime);
  text-decoration: none;
}
.facilitator-link:hover {
  text-decoration: underline;
}
.copy-btn.small {
  padding: 0.25rem 0.5rem;
  font-size: 12px;
}
.copy-text {
  color: var(--charcoal-light);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s;
}
.copy-text:hover {
  color: var(--lime);
}

/* URL code block with integrated copy */
.url-code-block {
  display: inline-flex;
  align-items: center;
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
}
.url-code-block code {
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  color: var(--lime);
  background: transparent;
}
.url-code-block code a {
  color: inherit;
  text-decoration: none;
}
.url-code-block code a:hover {
  text-decoration: underline;
}
.copy-icon-btn {
  padding: 0.5rem 0.65rem;
  background: transparent;
  border: none;
  border-left: 1px solid var(--bg);
  color: var(--white-dim);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.copy-icon-btn:hover {
  color: var(--lime);
  background: rgba(255,255,255,0.05);
}

.facilitator-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fac-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fac-metric-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--lime);
}
.fac-metric-label {
  font-size: 11px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.facilitator-links-row {
  display: flex;
  gap: 1.5rem;
}
.facilitator-links-row a {
  font-size: 11px;
  color: var(--white-dim);
  text-decoration: none;
}
.facilitator-links-row a:hover {
  color: var(--lime);
}
.facilitator-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hourly bar chart (Style B) */
.hourly-chart {
  padding: 0.5rem 0;
}
.hourly-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.hourly-label {
  font-size: 10px;
  color: var(--charcoal-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hourly-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--lime);
}
.hourly-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 50px;
  border-bottom: 1px solid var(--charcoal);
}
.hourly-bar {
  flex: 1;
  background: var(--lime);
  min-height: 2px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.hourly-bar:hover {
  opacity: 1;
}
.hourly-bar.empty {
  background: var(--charcoal);
  opacity: 0.3;
}
.hourly-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--charcoal-light);
  margin-top: 0.5rem;
}

.code-block {
  background: var(--black);
  border: 1px solid var(--charcoal);
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  overflow-x: auto;
}
.code-block .keyword { color: var(--lime); }
.code-block .string  { color: #f9a825; }
.code-block .comment { color: var(--charcoal-light); }

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.api-table th {
  text-align: left;
  color: var(--white-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--charcoal);
}
.api-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--node-border-dim);
  color: var(--white-dim);
}
.api-table code { color: var(--lime); font-size: 10px; }

.method-post {
  background: rgba(186, 234, 42, 0.15);
  color: var(--lime);
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
}
.method-get {
  background: rgba(79, 195, 247, 0.15);
  color: #4fc3f7;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
}


/* ============================================================
 * 14. APPS SECTION
 * ============================================================ */
/* Platform-logos strip */
.apps-platforms {
  background: var(--node-bg);
  border: 1px solid var(--charcoal);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.apps-platforms-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--lime);
  font-weight: 600;
  white-space: nowrap;
}
.apps-platforms-row {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white-dim);
  font-size: 11px;
  transition: color 0.15s ease, opacity 0.15s ease;
  opacity: 0.85;
}
.platform-logo:hover { color: var(--lime); opacity: 1; }
.platform-logo img   { width: 20px; height: 20px; display: block; }

.platform-desktop { opacity: 0.85; cursor: default; }
.os-icons {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--lime);
}
.os-icon {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}
.os-icon-img {
  width: 14px;
  height: 14px;
  display: block;
}

/* Apps list with subheadings */
.apps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-section {
  background: var(--node-bg);
  border: 1px solid var(--charcoal);
}

.app-subheading {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--charcoal);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.app-subheading .rust { color: var(--rust); }
.app-tag {
  font-size: 11px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  margin-left: auto;
}

.app-section-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  padding: 1.5rem;
}

.app-section-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.app-section-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border: 1px solid var(--node-border-dim);
  cursor: zoom-in;
  transition: border-color 0.15s ease;
}
.app-section-visual img:hover { border-color: var(--lime); }

.app-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.app-section-content p {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

.app-section-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Lightbox — click any app screenshot to view full-size */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 96vw;
  max-height: 96vh;
  display: block;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--white-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--node-border-dim);
  background: transparent;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lightbox-close:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.app-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  border: 1px solid var(--lime);
  color: var(--lime);
  background: rgba(186, 234, 42, 0.08);
  transition: all 0.15s ease;
}
.app-cta:hover { background: var(--lime); color: var(--black); }

.app-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: 1px solid var(--node-border-dim);
  color: var(--white-dim);
  background: transparent;
  transition: all 0.15s ease;
}
.app-cta-ghost:hover { color: var(--white); border-color: var(--charcoal-light); }
.app-cta-ghost img   { width: 14px; height: 14px; display: block; }

/* Card grid (alternate apps display, not currently used) */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
}
.app-card {
  background: var(--node-bg);
  border: 1px solid var(--charcoal);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}
.app-card:hover { border-color: var(--lime); transform: translateY(-2px); }
.app-card-icon  { font-size: 24px; margin-bottom: 1rem; color: var(--lime); }
.app-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-card-desc {
  font-size: 11px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.app-card-link {
  font-size: 10px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ============================================================
 * 15. TOKENOMICS
 * ============================================================ */
.tokenomics-panel { padding: 1rem 0; }

.tokenomics-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 800px;
}
.tokenomics-left {
  padding-right: 2rem;
  border-right: 1px solid var(--charcoal);
}
.tokenomics-right { max-width: 400px; }

.token-header { margin-bottom: 2rem; }
.token-symbol {
  font-size: 36px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px var(--lime-glow);
}
.token-name {
  font-size: 11px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.35rem;
}
.token-contract {
  display: block;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--white-dim);
  margin-top: 0.6rem;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
.token-contract:hover { color: var(--lime); }

.token-stats { display: grid; gap: 1.1rem; }
.token-stat  {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--node-border-dim);
}
.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.stat-value.lime { color: var(--lime); }
.stat-label {
  font-size: 9px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
}

.principles-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime-dim);
  margin-bottom: 1rem;
}
.principle {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--node-border-dim);
  align-items: start;
}
.principle-mark {
  font-size: 14px;
  color: var(--lime);
  line-height: 1;
  padding-top: 1px;
}
.principle-body strong {
  display: block;
  font-size: 12px;
  color: var(--white);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.principle-body span {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.6;
}

.read-more {
  margin-top: 0.75rem;
  font-size: 11px;
}
.read-more a {
  color: var(--lime-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.read-more a:hover {
  color: var(--lime);
}

.burn-info {
  margin-top: 1.5rem;
  background: rgba(186, 234, 42, 0.03);
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--lime);
  font-size: 10px;
  color: var(--white-dim);
  line-height: 1.7;
}
.burn-info strong { color: var(--lime); font-weight: 500; }

/* Supply chart */
.supply-chart { margin-top: 0.5rem; }
.supply-bar {
  display: flex;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--charcoal);
}
.supply-circulating {
  background: var(--lime);
  height: 100%;
  transition: width 0.3s ease;
}
.supply-burned {
  background: var(--rust);
  height: 100%;
  transition: width 0.3s ease;
}
.supply-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--white-dim);
}

/* 14-day burns chart */
.burn-chart-container {
  border: 1px solid var(--charcoal);
  padding: 12px 14px;
  margin-top: 1.5rem;
  margin-left: calc(24px + 0.75rem);
  background: var(--node-bg);
  max-width: 280px;
}
.burn-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.burn-chart-label { color: var(--white-dim); }
.burn-chart-value { color: var(--lime); font-weight: 600; font-size: 11px; }
.burn-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
}
.burn-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 8px;
  color: var(--charcoal-light);
}


/* ============================================================
 * 16. ACTIVITY FEED & TRANSACTION CHART
 * ============================================================ */
.tx-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chart-label {
  width: 50px;
  font-size: 11px;
  color: var(--white-dim);
  text-transform: uppercase;
}
.chart-bar {
  flex: 1;
  height: 24px;
  background: transparent;
  border-radius: 2px;
  display: flex;
  overflow: hidden;
}
.bar-settled {
  background-color: var(--lime);
  height: 100%;
  width: 0;
  flex-shrink: 0;
  transition: width 0.3s ease;
}
.bar-rejected {
  background-color: var(--rust);
  height: 100%;
  width: 0;
  flex-shrink: 0;
  transition: width 0.3s ease;
}
.chart-total {
  width: 50px;
  font-size: 12px;
  color: var(--white);
  text-align: right;
  font-weight: 600;
}
.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--charcoal);
}
.chart-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--white-dim);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.legend-dot.settled  { background: var(--lime); }
.legend-dot.rejected { background: var(--rust); }

.feed-section { margin-top: 1.5rem; }
.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.feed-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-dim);
}
.feed-title .dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.feed-stats {
  display: flex;
  gap: 16px;
  font-size: 11px;
}
.feed-stats.fac-stats {
  font-size: 13px;
  gap: 24px;
}
.feed-stats.fac-stats .value {
  font-size: 15px;
}
.feed-stat .value         { color: var(--lime); font-weight: 600; }
.feed-stat .value.error   { color: var(--rust); }
.feed-table {
  background: var(--node-bg);
  border: 1px solid var(--charcoal);
}
.feed-row {
  display: grid;
  grid-template-columns: 24px 1fr 80px 60px 80px 70px;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--charcoal);
  font-size: 11px;
  align-items: center;
}
.feed-row:last-child { border-bottom: none; }
.feed-row .icon      { text-align: center; }
.feed-row .addresses {
  color: var(--white-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-row .addresses span { color: var(--charcoal-light); margin: 0 4px; }
.feed-row .amount  { color: var(--white);     text-align: right; font-weight: 500; }
.feed-row .token   { color: var(--lime);      text-align: center; }
.feed-row .network { color: var(--white-dim); text-align: center; }
.feed-row .time    { color: var(--charcoal-light); text-align: right; }


/* ============================================================
 * 17. UPDATES CONSOLE
 * ============================================================ */
.updates-console {
  border: 1px solid var(--charcoal);
  background: rgba(0, 0, 0, 0.3);
  max-height: 376px;
  display: flex;
  flex-direction: column;
}
.updates-header {
  padding: 8px 12px;
  border-bottom: 1px solid var(--charcoal);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--white-dim);
}
.updates-list {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}
.update-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--charcoal);
}
.update-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.update-date {
  font-size: 10px;
  color: var(--white-dim);
  display: block;
  margin-bottom: 4px;
}
.update-title {
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.update-title:hover { text-decoration: underline; }
.update-content p {
  font-size: 11px;
  color: var(--white-dim);
  line-height: 1.5;
  margin: 0;
}
.update-content a {
  color: var(--lime);
  text-decoration: none;
}
.update-content a:hover { text-decoration: underline; }


/* ============================================================
 * 18. SUBPAGE CHROME — back-link, page header
 * ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--node-border-dim);
  background: transparent;
  transition: all 0.15s ease;
  margin-bottom: 2rem;
}
.back-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.back-link .arrow { font-size: 12px; }

.subpage-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: end;
}
.subpage-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--lime);
  margin-bottom: 1rem;
}
.subpage-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.subpage-title .accent { color: var(--lime); }
.subpage-title .rust   { color: var(--rust); }
.subpage-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 540px;
}
.subpage-lead strong { color: var(--white); font-weight: 500; }

.subpage-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.subpage-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--white-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.subpage-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--charcoal);
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 1px solid var(--charcoal);
  background: var(--node-bg);
  margin-bottom: 1.5rem;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--node-border-dim);
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.55;
  align-items: start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '>';
  color: var(--lime);
  font-weight: 600;
}
.feature-list strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}


/* ============================================================
 * 19. FOOTER
 * ============================================================ */
.net-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--charcoal);
}
.net-footer a {
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.net-footer a:hover { color: var(--lime); }


/* ============================================================
 * 20. RESPONSIVE
 * ============================================================ */
@media (max-width: 1180px) {
  .app-section-inner { grid-template-columns: 360px 1fr; gap: 1.5rem; }
}

@media (max-width: 1100px) {
  .intro-headline { font-size: 22px; }
  .section-headline { font-size: 22px; }
  .subpage-title  { font-size: 28px; }
  .main-content { flex-direction: column; }
  .modules-sidebar { flex: none; }
  .menu-items { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .menu-item { flex: 1; min-width: 140px; }
  .tokenomics-grid { grid-template-columns: 1fr; }
  .tokenomics-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 2rem;
  }
  .subpage-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .subpage-body { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .apps-platforms { grid-template-columns: 1fr; gap: 1rem; }
  .app-section-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .app-subheading { font-size: 16px; padding: 0.875rem 1.25rem; }
  .app-section-visual img { max-width: 100%; }
}

@media (max-width: 768px) {
  body { padding: 1rem; }
  .page { padding-left: 0; padding-right: 0; }

  /* Header & nav */
  .net-header { flex-wrap: wrap; gap: 0.75rem; }
  .net-nav { gap: 1rem; font-size: 10px; }

  /* Intro */
  .intro { flex-direction: column; gap: 1.5rem; }
  .intro-headline { font-size: 20px; max-width: 100%; }
  .intro-text { font-size: 13px; }
  .section-headline { font-size: 20px; max-width: 100%; }
  .subpage-title { font-size: 24px; }

  /* Tabs - allow wrapping */
  .tabs { flex-wrap: wrap; gap: 0; }
  .tab {
    padding: 0.6rem 0.9rem;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .tab .tab-num { display: none; }

  /* Sidebar menu */
  .modules-sidebar { padding-top: 0.5rem; }
  .menu-items { flex-direction: column; gap: 4px; }
  .menu-item {
    min-width: 100%;
    padding: 8px 12px;
    gap: 10px;
  }
  .menu-item .key { min-width: 24px; font-size: 11px; }
  .menu-item .name { font-size: 11px; min-width: auto; }
  .menu-item .desc { display: none; }

  /* Diagrams & sidebar extras */
  .diagram { display: none; }
  .legend { display: none; }
  .updates-console { display: none; }

  /* Panels */
  .x402-panel { padding: 1rem; }
  .x402-panel-header { flex-wrap: wrap; gap: 0.5rem; }
  .x402-panel-header .panel-status { margin-left: 0; width: 100%; margin-top: 0.5rem; }

  /* Facilitator */
  .facilitator-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .facilitator-url-block { flex-wrap: wrap; }
  .url-code-block code { font-size: 12px; }
  .fac-metric-value { font-size: 20px; }

  /* Apps section */
  .app-subheading { font-size: 15px; flex-wrap: wrap; gap: 0.5rem; }
  .app-tag { font-size: 9px; margin-left: 0; }
  .app-section-content p { font-size: 12px; }
  .app-section-actions { flex-direction: column; }
  .app-section-actions .app-cta,
  .app-section-actions .app-cta-ghost { width: 100%; justify-content: center; }

  /* Buttons */
  .btn { padding: 0.65rem 1rem; font-size: 10px; }

  /* Feed table */
  .feed-row {
    grid-template-columns: 20px 1fr 60px;
    font-size: 10px;
    padding: 8px 10px;
  }
  .feed-row .token,
  .feed-row .network,
  .feed-row .time { display: none; }
  .feed-stats { flex-wrap: wrap; gap: 10px; }

  /* Tokenomics */
  .token-symbol { font-size: 28px; }
  .token-contract { font-size: 9px; }
  .stat-value { font-size: 16px; }
  .principle { grid-template-columns: 20px 1fr; gap: 0.5rem; }
  .burn-chart-container { margin-left: 0; max-width: 100%; }

  /* Footer */
  .net-footer { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* Extra small screens */
@media (max-width: 480px) {
  body { padding: 0.75rem; }
  .intro-headline { font-size: 18px; }
  .section-headline { font-size: 18px; }
  .net-nav { gap: 0.75rem; font-size: 9px; letter-spacing: 0.08em; }
  .tab { padding: 0.5rem 0.7rem; font-size: 9px; }
  .app-subheading { font-size: 14px; padding: 0.75rem 1rem; }
  .app-section-inner { padding: 1rem; }
  .menu-item { padding: 6px 10px; }
  .menu-item .name { font-size: 10px; }
}
