/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #081319;
  --card: #1a1410;
  --card-light: #2a1e16;
  --purple: #D55F2D;
  --purple-dark: #b34d22;
  --green: #d4a01c;
  --red: #FF5252;
  --gold: #FCC342;
  --text: #f5e8d3;
  --text-dim: #b0a08a;
  --text-muted: #6a5a48;
  --radius: 12px;
  --max-w: 480px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.greek { font-family: 'Noto Serif', serif; }

/* ===== Home Screen ===== */
.home-header {
  text-align: center;
  padding: 12px 16px 8px;
}
.home-header::before {
  content: '';
  display: block;
  width: 100%;
  height: 28px;
  background: url('../BordersCropped2.png') repeat-x center;
  background-size: auto 100%;
  margin-bottom: 12px;
}
.home-header h1 {
  font-family: 'Caesar Dressing', cursive;
  font-size: min(10vw, 44px);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--purple);
  cursor: default;
  user-select: none;
}
.home-header .subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}
.home-header .subtitle-hint {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 4px;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 16px;
  margin: 8px 16px;
  background: var(--card);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Continue Button (Home) ===== */
.btn-continue-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 32px);
  max-width: var(--max-w);
  margin: 8px 16px;
  padding: 14px 20px;
  background: var(--purple);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-continue-home:active {
  transform: scale(0.97);
  background: var(--purple-dark);
}
.btn-continue-home .continue-label {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  font-family: inherit;
}
.btn-continue-home .continue-lesson {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
  font-family: inherit;
}

/* ===== Lesson Path ===== */
.lesson-path {
  flex: 1;
  padding: 16px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  margin: 24px 0 8px;
  padding: 6px 16px;
  background: var(--card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  width: 100%;
  max-width: var(--max-w);
}
.section-label.clickable {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.section-label.clickable:active {
  background: var(--card-light);
}

.section-arrow {
  font-size: 12px;
  transition: transform 0.2s;
  display: inline-block;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}

.section-count {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 4px;
  flex-shrink: 0;
}

.section-lessons {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  max-height: 5000px;
  opacity: 1;
}
.section-lessons.collapsed {
  max-height: 0;
  opacity: 0;
}

.lesson-node {
  width: 200px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px solid var(--text-muted);
  background: var(--card);
  padding: 10px 16px;
  margin: 8px 0;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  position: relative;
}
.lesson-node:active { transform: scale(0.97); }
.lesson-node .lesson-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.lesson-node .lesson-subtitle {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
  text-align: center;
}

.lesson-node.locked {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #444;
}
.lesson-node.available {
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(213, 95, 45, 0.3);
}
.lesson-node.available .lesson-title { color: var(--purple); }
.lesson-node.completed {
  border-color: var(--green);
  background: rgba(212, 160, 28, 0.08);
}
.lesson-node.completed .lesson-title { color: var(--green); }

.lesson-stars {
  position: absolute;
  bottom: -8px;
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.star-filled { color: var(--gold); }
.star-empty { color: var(--text-muted); }

.connector {
  width: 3px;
  height: 20px;
  background: var(--text-muted);
  opacity: 0.3;
}
.connector.active { background: var(--green); opacity: 0.6; }

/* ===== Lesson Screen ===== */
.lesson-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background-repeat: no-repeat;
  position: relative;
}
.lesson-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,19,25,0);
  pointer-events: none;
}
.lesson-screen > * {
  position: relative;
  z-index: 1;
}

.lesson-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.btn-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.btn-close:hover { color: var(--text); }

.progress-track {
  flex: 1;
  height: 10px;
  background: var(--card);
  border-radius: 5px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--purple);
  border-radius: 5px;
  transition: width 0.4s ease;
}

.hearts {
  display: flex;
  gap: 4px;
  font-size: 20px;
}
.heart {
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
}
.heart.lost { opacity: 0.2; }

/* ===== Exercise Area ===== */
.exercise-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  animation: fadeIn 0.3s ease;
}

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

.exercise-prompt {
  text-align: center;
  padding: 24px 8px;
  flex-shrink: 0;
}
.prompt-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.prompt-text {
  font-size: min(7vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}
.prompt-text.greek {
  font-size: min(10vw, 48px);
}
.prompt-text.small {
  font-size: min(5vw, 22px);
}

/* ===== MC Options ===== */
.mc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 8px;
}
.mc-btn {
  width: 100%;
  padding: 14px 16px;
  background: var(--card);
  border: 2px solid var(--card-light);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 17px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
  line-height: 1.3;
}
.mc-btn:active { background: var(--card-light); }
.mc-btn.greek { font-family: 'Noto Serif', serif; font-size: 20px; }
.mc-btn.medium { font-size: 15px; }
.mc-btn.small { font-size: 13px; }

.mc-btn.correct {
  border-color: var(--green);
  background: #272819;
  color: var(--green);
}
.mc-btn.wrong {
  border-color: var(--red);
  background: rgba(255, 82, 82, 0.15);
  color: var(--red);
}

/* ===== Word Bank ===== */
.wb-answer-zone {
  min-height: 56px;
  background: var(--card);
  border: 2px dashed var(--card-light);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  margin-bottom: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.wb-answer-zone.correct {
  border-color: var(--green);
  background: rgba(212, 160, 28, 0.08);
}
.wb-answer-zone.wrong {
  border-color: var(--red);
  background: rgba(255, 82, 82, 0.08);
}
.wb-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}
.wb-answer-tile {
  padding: 6px 12px;
  background: var(--purple);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.1s;
}
.wb-answer-tile:active { transform: scale(0.95); }
.wb-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg);
  padding: 12px;
  border-radius: var(--radius);
}
.wb-tile {
  padding: 8px 14px;
  background: var(--card);
  border: 2px solid var(--card-light);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, border-color 0.15s;
}
.wb-tile:active { transform: scale(0.95); border-color: var(--purple); }
.wb-tile.used {
  opacity: 0.25;
  pointer-events: none;
}
.wb-check {
  opacity: 1;
}
.wb-correct-answer {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 15px;
  line-height: 1.4;
}

/* ===== Spelling ===== */
.sp-answer-zone {
  min-height: 56px;
  background: var(--card);
  border: 2px dashed var(--card-light);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: 1px;
  transition: border-color 0.2s, background 0.2s;
}
.sp-answer-zone.correct {
  border-color: var(--green);
  background: rgba(212, 160, 28, 0.08);
}
.sp-answer-zone.wrong {
  border-color: var(--red);
  background: rgba(255, 82, 82, 0.08);
}
.sp-letter-tile {
  font-size: 26px;
}
.sp-space-tile {
  display: inline-block;
  width: 18px;
  height: 4px;
  background: var(--purple);
  opacity: 0.4;
  border-radius: 2px;
  align-self: flex-end;
  margin: 0 2px 8px;
}
.sp-key.pressed {
  transform: scale(0.9) translateY(2px);
  box-shadow: none;
  background: rgba(123, 97, 255, 0.3);
}
.sp-space-key.pressed {
  background: rgba(123, 97, 255, 0.35);
}
.sp-keyboard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 8px 4px;
}
.sp-kb-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.sp-key {
  flex: 0 0 auto;
  width: 32px;
  height: 42px;
  background: var(--card);
  border: 1px solid var(--card-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.15s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.3);
  position: relative;
}
.sp-key:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3);
  background: rgba(123, 97, 255, 0.2);
}
.sp-backspace-key {
  width: 48px;
  font-size: 18px;
  font-family: inherit;
}
.sp-backspace-key:active {
  background: rgba(255, 82, 82, 0.2);
}
.sp-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.sp-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-style: italic;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 8px;
}
.sp-key.has-variants::after {
  content: '·';
  position: absolute;
  bottom: 1px;
  right: 3px;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1;
}
.sp-variant-popup {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border: 2px solid var(--purple);
  border-radius: 10px;
  padding: 6px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.sp-vgrid-row {
  display: flex;
  gap: 2px;
  align-items: center;
}
.sp-vgrid-label {
  width: 20px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}
.sp-vgrid-header {
  width: 34px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}
.sp-variant-key {
  width: 34px;
  height: 34px;
  background: var(--card);
  border: 1px solid var(--card-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
}
.sp-variant-key:active {
  background: var(--purple);
  color: #fff;
}
.sp-space-key {
  flex: 1;
  width: auto;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 2px;
}

/* ===== Matching ===== */
.match-area {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-bottom: 8px;
}
.match-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-tile {
  padding: 12px 8px;
  background: var(--card);
  border: 2px solid var(--card-light);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, opacity 0.3s, transform 0.15s;
  line-height: 1.3;
}
.match-tile:active { transform: scale(0.96); }
.match-tile.greek { font-family: 'Noto Serif', serif; font-size: 18px; }
.match-tile.selected {
  border-color: var(--purple);
  background: #271e16;
}
.match-tile.matched {
  opacity: 0.2;
  pointer-events: none;
  border-color: var(--green);
}
.match-tile.wrong-match {
  border-color: var(--red);
  animation: shake 0.3s;
}
.match-tile.medium { font-size: 14px; }
.match-tile.small { font-size: 12px; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ===== Intro Cards ===== */
.intro-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  background: var(--bg);
  border-radius: 0;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 32px;
  padding-right: 32px;
}
.intro-card h2 {
  font-size: min(6vw, 26px);
  color: var(--purple);
  margin-bottom: 16px;
}
.intro-card .intro-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 400px;
}
.intro-card .intro-body .greek {
  font-size: 22px;
}

.intro-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.intro-table th {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  padding: 5px 6px;
  border-bottom: 1px solid var(--card-light);
  white-space: nowrap;
}
.intro-table td {
  padding: 5px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  white-space: nowrap;
}
.intro-table td:first-child {
  text-align: left;
  font-size: 11px;
  color: var(--text-dim);
}
.intro-table td.greek {
  font-family: 'Noto Serif', serif;
  font-size: 14px;
}
.intro-table th.greek {
  font-family: 'Noto Serif', serif;
  font-size: 13px;
}

.intro-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.intro-dots {
  display: flex;
  gap: 6px;
}
.intro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background 0.2s;
}
.intro-dot.active { background: var(--purple); }

/* ===== Vocab Intro Card ===== */
.vocab-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.vocab-card .vocab-greek {
  font-family: 'Noto Serif', serif;
  font-size: min(10vw, 42px);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.vocab-card .vocab-article {
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.vocab-card .vocab-english {
  font-size: 20px;
  color: var(--text);
  margin-top: 12px;
}
.vocab-card .vocab-gender {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===== Continue Button ===== */
.intro-btn-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}
.intro-btn-row .btn-continue {
  width: 100%;
  margin-top: 0;
}
.btn-back {
  padding: 16px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, border-color 0.15s, color 0.15s;
}
.btn-back:active { transform: scale(0.97); color: var(--text); border-color: var(--text); }
.btn-continue {
  width: 100%;
  padding: 16px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s, transform 0.1s;
}
.btn-continue:active { transform: scale(0.97); background: var(--purple-dark); }
.btn-continue:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== Results Screen ===== */
.results-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 16px 48px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  background: url('../Hesperides4.png') no-repeat center top;
  background-size: contain;
  position: relative;
}
/* TEMPORARILY DISABLED — previewing art without gradient
.results-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,19,25,0.75) 0%, rgba(8,19,25,0.65) 50%, rgba(8,19,25,0.2) 100%);
  pointer-events: none;
} */
.results-screen > * {
  position: relative;
  z-index: 1;
}
.results-title {
  font-size: min(8vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
}
.results-stars {
  font-size: 40px;
  margin: 16px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.results-stars .star-filled { color: var(--gold); }
.results-stars .star-empty { color: var(--text-muted); }
.results-stat {
  font-size: 16px;
  color: var(--text-dim);
  margin: 4px 0;
}
.results-stat strong { color: var(--gold); font-size: 20px; }

.results-screen .btn-continue {
  max-width: 300px;
  margin-top: 32px;
}

/* ===== Game Over ===== */
.game-over-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 16px 48px;
  text-align: center;
  background: url('../FinalJason3.png') no-repeat center top;
  background-size: contain;
  position: relative;
}
/* TEMPORARILY DISABLED — previewing art without gradient
.game-over-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,19,25,0.15) 0%, rgba(8,19,25,0.6) 45%, rgba(8,19,25,0.95) 70%);
  pointer-events: none;
} */
.game-over-screen > * {
  position: relative;
  z-index: 1;
}
.game-over-title {
  font-size: min(8vw, 36px);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}
.game-over-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ===== XP Toast ===== */
.xp-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1a2e;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  animation: toastUp 1.5s ease forwards;
  z-index: 100;
}
@keyframes toastUp {
  0%   { opacity: 0; transform: translateX(-50%) translateY(20px); }
  20%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* ===== Confetti ===== */
.confetti-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
  overflow: hidden;
}
.sparkle-star {
  position: absolute;
  top: -20px;
  animation: starFall 3s ease-in forwards;
  text-shadow: 0 0 6px currentColor;
}
@keyframes starFall {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  15%  { transform: translateY(10vh) scale(1.2); opacity: 1; }
  30%  { transform: translateY(20vh) scale(0.8); opacity: 1; }
  50%  { transform: translateY(40vh) scale(1.1); opacity: 0.8; }
  70%  { transform: translateY(60vh) scale(0.7); opacity: 0.6; }
  100% { transform: translateY(100vh) scale(0.3); opacity: 0; }
}

/* ===== Grammar info box ===== */
.info-box {
  background: var(--card);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.info-box .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 4px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 2px; }
