/* ============================================================
   BATONICAL · Mission Control stylesheet
   Dark greenhouse aesthetic. Amber for warnings. Lime for live.
   ============================================================ */

:root {
  --bg-0: #07110d;
  --bg-1: #0a1410;
  --bg-2: #0f1f18;
  --bg-3: #142a22;
  --line: #1d352c;
  --line-bright: #2c5446;
  --text-0: #d8f3e6;
  --text-1: #98c4ad;
  --text-2: #5b8975;
  --text-3: #355247;
  --accent: #00ff88;
  --accent-soft: #00ff8830;
  --warn: #ffb648;
  --warn-soft: #ffb64830;
  --crit: #ff4d6d;
  --crit-soft: #ff4d6d30;
  --info: #4cc9f0;
  --info-soft: #4cc9f030;
  --purple: #b794f4;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --shadow-1: 0 0 0 1px var(--line), 0 6px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 0 0 1px var(--line-bright), 0 0 40px -8px var(--accent-soft);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #0e2620 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, #122823 0%, transparent 50%),
    var(--bg-0);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-0);
  border: 1px solid var(--line);
}

::selection { background: var(--accent); color: var(--bg-0); }

/* ============== TOP BAR ============== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(7, 17, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}
.logo svg { filter: drop-shadow(0 0 6px var(--accent-soft)); }
.logo__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
}
.logo__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
  letter-spacing: 0.2em;
  margin-left: 4px;
}

.topbar__nav {
  display: flex;
  gap: 4px;
}
.topbar__nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
}
.topbar__nav a:hover {
  color: var(--accent);
  border-color: var(--line-bright);
  background: var(--bg-2);
}
.topbar__nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.operator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
}
.operator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.operator__btn {
  background: transparent;
  border: 1px solid var(--line-bright);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.operator__btn:hover { color: var(--accent); border-color: var(--accent); }

.clock {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-1);
  letter-spacing: 0.1em;
  min-width: 80px;
  text-align: right;
}

/* ============== ACT LAYOUT ============== */

.act {
  padding: 80px 28px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.act__header {
  max-width: 720px;
  margin-bottom: 48px;
}
.act__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--accent-soft);
}
.act__header h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.act__header p {
  font-size: 17px;
  color: var(--text-1);
  margin: 0;
  max-width: 580px;
}

/* ============== GRID ============== */

.grid {
  display: grid;
  gap: 18px;
}
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .topbar__nav { display: none; }
  .topbar { padding: 12px 16px; }
  .act { padding: 56px 16px; }
}

/* ============== CARD ============== */

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-1);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--line-bright); }

.card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card__big {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-0);
}
.card__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-1);
  margin-bottom: 14px;
  min-height: 18px;
}
.card__foot {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

.card--sensor { position: relative; overflow: hidden; }
.card--sensor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, var(--accent-soft));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card--sensor.live::before { opacity: 0.5; }

.card--spike {
  min-height: 240px;
}
.card--routing { padding: 22px 18px; }

/* ============== BAR ============== */

.bar {
  height: 4px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--info));
  width: 0%;
  transition: width 0.4s ease-out;
  box-shadow: 0 0 8px var(--accent-soft);
}

/* ============== HERO (ACT 00) ============== */

.act--hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 28px 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(0, 255, 136, 0.08), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(76, 201, 240, 0.05), transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 900px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.2s forwards;
}
.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.4s forwards;
}
.grad {
  background: linear-gradient(135deg, var(--accent), var(--info));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__lede {
  font-size: 18px;
  color: var(--text-1);
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.6s forwards;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.8s forwards;
}
.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s 1s forwards;
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__stats .num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero__stats span:not(.num) {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-2);
  margin-top: 4px;
  text-transform: uppercase;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-0);
  font-weight: 600;
  box-shadow: 0 0 24px -6px var(--accent);
}
.btn--primary:hover {
  background: #4dffae;
  box-shadow: 0 0 32px -4px var(--accent);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--line-bright);
}
.btn--ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* ============== PLANT STAGE ============== */

.plant-stage {
  margin-top: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  justify-content: center;
}
.plant {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ============== HYPERSPHERE ============== */

.manifold {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  min-height: 480px;
}
@media (max-width: 860px) {
  .manifold { grid-template-columns: 1fr; }
}
#hypersphereCanvas {
  width: 100%;
  height: 480px;
  border-radius: var(--r-md);
  background: radial-gradient(ellipse at center, #0a1c16 0%, #050a08 100%);
  cursor: grab;
}
#hypersphereCanvas:active { cursor: grabbing; }
.manifold__legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
  padding: 12px 0;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot--ms { background: var(--info); box-shadow: 0 0 8px var(--info); }
.dot--soil { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.dot--rgb { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.dot--fused { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.dot--ltm { background: var(--text-2); box-shadow: 0 0 4px var(--text-2); }
.dot--off { background: var(--text-3); box-shadow: none; }

/* ============== LTM ============== */

.ltm { display: grid; gap: 18px; }
.ltm__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ltm__stat {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
}
.ltm__num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.ltm__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}
.ltm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ltm__entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 13px;
}
.ltm__entry__sim { color: var(--accent); }
.ltm__entry__ctx { color: var(--text-1); }
.ltm__entry__day { color: var(--text-2); }
.ltm__empty {
  padding: 18px;
  text-align: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: italic;
}

/* ============== MEMBRANE BARS ============== */

.membrane {
  display: grid;
  gap: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.membrane__row {
  display: grid;
  grid-template-columns: 180px 1fr 80px;
  align-items: center;
  gap: 14px;
}
.membrane__name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-1);
  letter-spacing: 0.05em;
}
.membrane__track {
  position: relative;
  height: 26px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.membrane__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 85%;
  width: 1px;
  background: var(--warn);
  opacity: 0.6;
}
.membrane__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--info) 0%, var(--accent) 70%, var(--warn) 100%);
  width: 0%;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 12px var(--accent-soft);
}
.membrane__fill.firing {
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
  animation: flash 0.6s ease-out;
}
@keyframes flash {
  0%   { background: white; box-shadow: 0 0 60px white; }
  100% { background: var(--accent); }
}
.membrane__val {
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: right;
  color: var(--text-1);
}
.membrane__val.firing {
  color: var(--accent);
  font-weight: 700;
}

/* ============== SPIKE FEED ============== */

.spike-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}
.spike-feed__item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  animation: slideIn 0.4s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.spike-feed__tick { color: var(--text-2); }
.spike-feed__action { color: var(--text-0); font-weight: 500; }
.spike-feed__time { color: var(--text-2); }
.spike-feed__empty {
  text-align: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: italic;
  padding: 24px;
}

/* ============== ROUTING TABLE ============== */

.routing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
.routing-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}
.routing-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--text-1);
}
.routing-table tr.fired { background: var(--accent-soft); }
.routing-table tr.fired td { color: var(--text-0); }

/* ============== FACE-OFF ============== */

.faceoff {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .faceoff { grid-template-columns: 1fr; }
  .faceoff__vs { padding: 20px 0; }
}
.faceoff__col {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.faceoff__col--teacher { border-color: rgba(76, 201, 240, 0.3); }
.faceoff__col--student { border-color: var(--accent); box-shadow: 0 0 24px -8px var(--accent); }

.faceoff__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-2);
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
}
.faceoff__col--student .faceoff__badge { color: var(--accent); border-color: var(--accent); }
.faceoff__model { font-size: 20px; font-weight: 600; color: var(--text-0); }
.faceoff__size { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.faceoff__bar {
  margin-top: 12px;
  height: 8px;
  background: var(--bg-0);
  border-radius: 999px;
  overflow: hidden;
}
.faceoff__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--info), var(--accent));
  width: 0%;
  transition: width 0.5s ease-out;
}
.faceoff__col--teacher .faceoff__bar-fill { background: linear-gradient(90deg, var(--info), var(--purple)); }
.faceoff__action {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-0);
  margin-top: 8px;
  min-height: 28px;
}
.faceoff__note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.faceoff__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.3em;
}

/* ============== EDGE TILES ============== */

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .edge-grid { grid-template-columns: 1fr; } }
.edge-tile {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.edge-tile--dim { opacity: 0.5; }
.edge-tile__title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-0);
  margin-bottom: 6px;
}
.edge-tile__size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.edge-tile__live {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.edge-tile__live--off { color: var(--crit); }
.edge-tile__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
}
.edge-tile__lbl span { color: var(--accent); font-weight: 600; }

/* ============== CHARTS ============== */

.chart {
  width: 100%;
  height: 200px;
  display: block;
}

/* ============== STAT BLOCKS ============== */

.stat-block {
  text-align: center;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.stat-block__num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-block__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============== CLOSER ============== */

.act--closer { padding-bottom: 140px; }
.closer-line {
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-align: center;
  font-style: italic;
}

/* ============== FOOTER ============== */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__status.ok { color: var(--accent); }

/* ============== CONTROLS ============== */

.controls {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 50;
}
.controls__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-1);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
}
.controls__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.controls__btn.playing { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.controls__progress {
  width: 200px;
  height: 4px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.controls__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--info), var(--accent));
  width: 0%;
  transition: width 0.2s;
}
.controls__tick {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
  letter-spacing: 0.1em;
  padding: 0 8px;
  min-width: 90px;
}
.controls__tick span { color: var(--accent); }
.controls__select {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}
.controls__select select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-0);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.controls__select select:focus { outline: 1px solid var(--accent); }

@media (max-width: 720px) {
  .controls { padding: 6px 8px; gap: 6px; }
  .controls__progress { width: 100px; }
  .controls__select label { display: none; }
}

/* ============== SCROLL REVEAL ============== */

.act { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.act.in-view { opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE FINE TUNES ============== */

@media (max-width: 540px) {
  .topbar__right .operator__label { display: none; }
  .topbar__right .clock { display: none; }
  .faceoff__col { padding: 18px; }
  .ltm__stats { grid-template-columns: 1fr; }
}
