/* The Company — neon-green cyberpunk dashboard.
   Layout:
     [topbar with countdown] → [hero with big logo] → [grid: main column + tweet sidebar]
*/

:root {
  --bg:           #000;
  --bg-2:         #050a05;
  --surface:      #0a110a;
  --hairline:     #142214;
  --accent:       #4ade80;
  --accent-bright:#86efac;
  --accent-dim:   #166534;
  --text:         #e8fce8;
  --text-2:       #a4cfa4;
  --text-3:       #5a7d5a;
  --red:          #ef4444;
  --shadow-glow:  0 0 24px rgba(74, 222, 128, 0.45);
  --shadow-glow-soft: 0 0 12px rgba(74, 222, 128, 0.20);

  --font-display: "Orbitron", "Inter", sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: #000; }                     /* hard floor: pure black */
html, body { margin: 0; padding: 0; }

/* The page bg is the green-glow scene itself — directly on body so
   nothing in z-index/stacking-context can hide it. background-attachment
   fixed = scrolling doesn't drag the glow with the content. */
body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 900px 700px at 12% 18%, rgba(74, 222, 128, 0.55), transparent 65%),
    radial-gradient(ellipse 800px 600px at 88% 75%, rgba(34, 197, 94, 0.45), transparent 65%),
    radial-gradient(ellipse 700px 500px at 55% 110%, rgba(134, 239, 172, 0.35), transparent 65%),
    radial-gradient(ellipse 600px 500px at 75% 5%,  rgba(74, 222, 128, 0.30), transparent 65%),
    #000;
  background-attachment: fixed;
}

/* Grid lines on top of the glow (subtle structure). */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,  transparent 0 39px, rgba(74,222,128,0.05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(74,222,128,0.05) 39px 40px);
}

/* Animated drift overlay — extra moving glow on top of the static
   gradient so the scene "breathes". 20s ease loop, low alpha so it
   doesn't compete with the base glow. */
@keyframes neon-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-3%, 2%) scale(1.04); }
  66%      { transform: translate(2%, -2%) scale(1.06); }
}
body::before {
  content: ""; position: fixed; inset: -15%; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 500px at 30% 70%, rgba(74, 222, 128, 0.30), transparent 60%),
    radial-gradient(circle 400px at 70% 30%, rgba(134, 239, 172, 0.22), transparent 60%);
  filter: blur(40px);
  animation: neon-drift 20s ease-in-out infinite;
}

/* Make sure all real content sits ABOVE the bg layers. */
.topbar, .main { position: relative; z-index: 1; }

/* ── Topbar ───────────────────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, var(--hairline));
  background: rgba(8, 14, 8, 0.32);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.6));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.55);
}
.brand-sub {
  font-size: 11px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.topbar-right {
  display: flex; align-items: center; gap: 14px;
}

/* Cycle countdown — naked digits on the right of the hero. No frame,
   no background, no shadow — let the glow do the talking. */
.cycle-timer {
  margin-left: auto;
  display: inline-flex; flex-direction: column; align-items: flex-end;
  gap: 6px;
  padding: 0; border: 0; background: none; box-shadow: none;
}
.cycle-timer-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.32em;
}
.cycle-timer-value {
  font-family: var(--font-mono);
  font-size: 64px; font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 28px rgba(74, 222, 128, 0.65);
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.topbar-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  transition: all 0.18s ease;
}
.topbar-link:hover {
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: var(--shadow-glow-soft);
}

/* ── Main + hero ─────────────────────────────────────────────────── */
.main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 28px 40px;
  display: flex; flex-direction: column;
  gap: 28px;
}

.hero {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 32px 36px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(74,222,128,0.10), transparent),
    rgba(8, 14, 8, 0.28);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--hairline));
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(74, 222, 128, 0.08);
}
.hero-logo {
  width: 130px; height: 130px;
  filter: drop-shadow(0 0 28px rgba(74, 222, 128, 0.7));
  flex-shrink: 0;
}
.hero-text { display: flex; flex-direction: column; gap: 8px; }
.hero-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.6);
  margin: 0;
  line-height: 1;
}
.hero-tag {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ── 3-column layout: HOW TO (left) + main + TOP 3/feed (right) ──── */
.layout {
  display: grid;
  grid-template-columns: 300px 1fr 320px;
  gap: 24px;
  align-items: start;
}
.layout-main {
  display: flex; flex-direction: column;
  gap: 24px;
  min-width: 0;
}
/* Both rails follow scroll as one unit. Explicit `height` + overflow
   keeps them inside the viewport budget; inner cards use `flex: 1 1 0`
   when they need to take the leftover space and scroll internally. */
.layout-left, .layout-side {
  position: sticky; top: 84px;
  display: flex; flex-direction: column;
  gap: 16px;
  height: calc(100vh - 110px);
  overflow: hidden;
}

/* ── Stat cards ──────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: rgba(8, 14, 8, 0.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--hairline));
  border-radius: 10px;
  padding: 18px 22px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(74, 222, 128, 0.06);
}
.stat-card:hover {
  border-color: var(--accent-dim);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(74, 222, 128, 0.20),
    inset 0 1px 0 rgba(74, 222, 128, 0.10);
}
.stat-label {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.16em;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(74,222,128,0.5);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

/* ── HOW TO GET HIRED (left rail) ───────────────────────────────── */
.howto-card {
  /* Fills the left rail; internal scroll if content > rail height. */
  flex: 1 1 0; min-height: 0;
  overflow-y: auto;
  background: rgba(8, 14, 8, 0.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--hairline));
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(74, 222, 128, 0.06);
}
.howto-card::-webkit-scrollbar { width: 4px; }
.howto-card::-webkit-scrollbar-thumb {
  background: var(--accent-dim); border-radius: 3px;
}
.howto-steps {
  list-style: none;
  counter-reset: howto;
  margin: 12px 0 18px 0;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.howto-steps li {
  counter-increment: howto;
  position: relative;
  padding: 8px 10px 8px 36px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 32%, transparent);
  color: var(--text-2);
  font-size: 12.5px; line-height: 1.55;
}
.howto-steps li::before {
  content: counter(howto);
  position: absolute; left: 8px; top: 8px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  color: var(--accent);
  background: rgba(74, 222, 128, 0.06);
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}
.howto-steps li a { color: var(--accent); text-decoration: none; }
.howto-steps li a:hover { text-decoration: underline; }
.howto-steps li em {
  font-style: normal;
  color: var(--accent-bright);
  font-weight: 600;
}
.howto-example {
  border-top: 1px solid color-mix(in srgb, var(--accent) 14%, var(--hairline));
  padding-top: 14px;
}
.howto-example-label {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.howto-example-tweet {
  font-family: var(--font-mono);
  font-size: 13px; line-height: 1.55;
  color: var(--text-2);
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.howto-example-tweet .ex-handle { color: var(--accent); font-weight: 600; }
.howto-example-tweet .ex-ca {
  color: var(--accent-bright);
  font-weight: 500;
  text-shadow: 0 0 6px rgba(134, 239, 172, 0.3);
}
.howto-example-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-3);
  font-style: italic;
  line-height: 1.5;
}

/* ── Pie chart section ──────────────────────────────────────────── */
.pie-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(8, 14, 8, 0.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--hairline));
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(74, 222, 128, 0.06);
}
.pie-wrap {
  position: relative;
  width: 220px; height: 220px;
}
.pie-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.35));
}
.pie-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.pie-center-value {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.6);
  line-height: 1;
}
.pie-center-label {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  margin-top: 4px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin: 0 0 8px 0;
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}
.section-count {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
  font-weight: 500;
}
.section-desc {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px 0;
  max-width: 480px;
}
/* ── Tables ──────────────────────────────────────────────────────── */
.table-section {
  background: rgba(8, 14, 8, 0.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--hairline));
  border-radius: 14px;
  padding: 22px 26px 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(74, 222, 128, 0.06);
}
.table-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.table-search {
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  min-width: 200px;
  transition: border-color 0.15s, background 0.15s;
}
.table-search::placeholder { color: var(--text-3); }
.table-search:focus {
  outline: none;
  border-color: var(--accent-dim);
  background: rgba(74, 222, 128, 0.08);
}
.table-wrap {
  overflow-x: auto; overflow-y: auto;
  margin-top: 10px;
  /* Fixed height — both ACTIVE and FIRED panels are the same size
     regardless of row count. With 100+ workers the rest scrolls
     internally; with 0 rows the panel still occupies its slot so the
     page layout stays predictable. Sticky thead keeps headers in view. */
  height: 480px;
}
.table-wrap::-webkit-scrollbar { width: 6px; height: 6px; }
.table-wrap::-webkit-scrollbar-thumb {
  background: var(--accent-dim); border-radius: 3px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead th {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 1;
  /* Solid bg so scrolling rows don't bleed through the sticky header. */
  background: rgba(10, 17, 10, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.data-table tbody tr.hidden { display: none; }
.data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--hairline) 50%, transparent);
  font-variant-numeric: tabular-nums;
}
.data-table tbody tr:hover { background: rgba(74, 222, 128, 0.04); }
.data-table tbody tr.empty td {
  text-align: center; color: var(--text-3); font-style: italic;
  padding: 28px 12px;
}
.col-rank   { width: 38px; text-align: center; color: var(--text-3); font-family: var(--font-mono); }
.col-handle { color: var(--accent); font-weight: 500; }
.col-wallet { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.col-share  { color: var(--accent-bright); font-weight: 600; text-align: right; width: 80px; }
.col-received{ color: var(--text); text-align: right; width: 120px; font-family: var(--font-mono); }
.col-tenure { color: var(--text-2); text-align: right; width: 80px; font-family: var(--font-mono); }
.col-holding{ color: var(--accent-bright); text-align: right; width: 90px; font-family: var(--font-mono); font-weight: 500; }
.col-fired  { color: var(--text-2); width: 110px; font-family: var(--font-mono); font-size: 12px; }
.col-last   { color: var(--text-2); text-align: right; width: 90px; font-family: var(--font-mono); font-size: 12px; }
/* Last-active recency tint: green = fresh, amber = warning (close to
   the 10-min fire threshold). Driven by data-state on the cell. */
.col-last[data-state="fresh"] { color: var(--accent-bright); }
.col-last[data-state="warn"]  { color: #facc15; text-shadow: 0 0 6px rgba(250, 204, 21, 0.35); }

.wallet-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  transition: all 0.14s ease;
}
.wallet-pill:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
}
.wallet-pill.copied {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(74, 222, 128, 0.12);
}

/* ── Tweet feed sidebar ──────────────────────────────────────────── */
.feed-sidebar {
  /* `flex: 1 1 0` is deterministic: feed-sidebar takes the leftover
     height after TOP 3, regardless of its content size. min-height:0
     lets it shrink below content. overflow:hidden + child feed-body
     with `flex: 1 1 0` + `overflow-y: auto` gives the internal scroll. */
  flex: 1 1 0; min-height: 0;
  display: flex; flex-direction: column;
  background: rgba(8, 14, 8, 0.28);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--hairline));
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(74, 222, 128, 0.06),
    inset 0 1px 0 rgba(74, 222, 128, 0.08);
}
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  background: linear-gradient(180deg, rgba(74,222,128,0.10), transparent);
  flex-shrink: 0;
}
.feed-title {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.55);
}
.feed-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.feed-body {
  /* Take all remaining space inside the feed-sidebar, then scroll
     content overflow internally. `flex: 1 1 0` makes the body's size
     deterministic (parent-driven, not content-driven). */
  overflow-y: auto;
  padding: 4px 0;
  flex: 1 1 0;
  min-height: 0;
}
.feed-body::-webkit-scrollbar { width: 4px; }
.feed-body::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 3px;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}
.feed-empty {
  /* Fill the now-stretched feed-body and vertically center content. */
  min-height: 100%;
  padding: 32px 22px;
  color: var(--text-2);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.feed-empty::before {
  /* Pulsing dot — proves the feed is alive even with no tweets. */
  content: "●";
  color: var(--accent);
  font-size: 20px;
  text-shadow: 0 0 14px var(--accent);
  animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes feed-pop {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.feed-tweet {
  padding: 11px 18px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--hairline) 50%, transparent);
  display: flex; flex-direction: column;
  gap: 5px;
  transition: background 0.14s ease;
  animation: feed-pop 0.22s ease-out both;
}
.feed-tweet:hover { background: rgba(74, 222, 128, 0.05); }
.feed-tweet:last-child { border-bottom: none; }
.feed-tweet.dim   { opacity: 0.45; }
.feed-tweet-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.feed-tweet-handle {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}
.feed-tweet-handle:hover { text-decoration: underline; }
.feed-tweet-age {
  color: var(--text-3);
  font-size: 10px;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.feed-tweet-text {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
  /* Cap visible lines, use ellipsis. */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-tweet-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.feed-tweet-meta .tag-skipped { color: var(--red); }
.feed-tweet-meta .tag-meaningful { color: var(--accent); }
.feed-tweet-meta .tag-needs-wallet { color: #facc15; text-shadow: 0 0 8px rgba(250, 204, 21, 0.4); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  /* Below 1280px the 3-column rails get cramped — stack everything. */
  .layout { grid-template-columns: 1fr; }
  .layout-left, .layout-side {
    position: static;
    height: auto;
    overflow: visible;
  }
  .howto-card {
    flex: 0 0 auto;
    overflow-y: visible;
    max-height: none;
  }
  .feed-sidebar { height: 480px; flex: 0 0 480px; }
}
@media (max-width: 720px) {
  .main { padding: 16px 14px 30px; gap: 18px; }
  .topbar { padding: 12px 14px; gap: 10px; }
  .topbar-right { gap: 8px; }
  .hero { flex-direction: column; padding: 24px 20px; gap: 16px; text-align: center; }
  .hero-logo { width: 100px; height: 100px; }
  .hero-title { font-size: 32px; }
  .cycle-timer { margin-left: 0; align-items: center; padding: 12px 18px; }
  .cycle-timer-value { font-size: 30px; min-width: 100px; }
  .pie-section { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .pie-wrap { width: 200px; height: 200px; margin: 0 auto; }
  .stat-value { font-size: 24px; }
  .data-table { font-size: 12px; }
  .col-tenure, .col-fired, .col-holding { display: none; }
  .howto-card { padding: 18px 18px 20px; }
  .howto-steps li { font-size: 12px; padding-left: 34px; }
  .howto-example-tweet { font-size: 12px; padding: 10px 12px; }
  .cycle-timer-value { font-size: 44px; }
  .table-header { flex-direction: column; align-items: stretch; gap: 8px; }
  .table-search { min-width: 0; width: 100%; }
}
