/* Design System */
:root {
  --bg-color: #fafafa;
  --surface-color: #ffffff;
  --border-color: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #0f172a;
  --accent-hover: #334155;
  --green: #10b981;
  --yellow: #f59e0b;
  --radius: 12px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
p { color: var(--text-muted); }
a { color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: 0.9em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Navbar */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.brand {
  text-decoration: none; display: flex; align-items: center;
}
.brand-logo { height: 32px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links button {
  background: none; border: none; font-size: 0.95rem; color: var(--text-muted);
  cursor: pointer; transition: color 0.2s; font-family: inherit; font-weight: 500;
}
.nav-links button:hover, .nav-links button.active { color: var(--text-main); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s ease; border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: var(--surface-color); color: var(--text-main); border-color: var(--border-color); }
.btn-outline:hover { background: var(--bg-color); border-color: #d1d5db; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Views */
.view { display: none; padding: 3rem 0 4rem; animation: fadeIn 0.3s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Home */
.hero { padding: 2rem 0; max-width: 1100px; margin: 0 auto; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 400px;
}
.hero-text { text-align: left; }
.hero-prompt-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #09090B;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.hero-bold { font-weight: 900; color: #09090B; }
.hero-light { font-weight: 400; color: #71717A; }
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 800;
  color: #09090B;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #D4D4D8;
}
.hero-tag-dark {
  background: #09090B;
  color: #fff;
  border-color: #09090B;
}
.hero-buttons { display: flex; gap: 1rem; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cube {
  width: 100%;
  max-width: 420px;
  height: auto;
}
.stats-row {
  display: flex; justify-content: center; gap: 3rem; margin-top: 3rem;
  border-top: 1px solid var(--border-color); padding-top: 3rem;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-val { font-size: 2rem; font-weight: 600; color: var(--text-main); }
.stat-label { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.5rem; }

/* Vote */
.prompt-box {
  background: var(--surface-color); border: 1px solid var(--border-color);
  padding: 1.5rem; border-radius: var(--radius); text-align: center;
  margin-bottom: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.prompt-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.5rem; }
.prompt-text { font-size: 1.25rem; font-weight: 500; color: var(--text-main); }

.arena-container { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }

.viewer-card {
  background: var(--surface-color); border: 2px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: border-color 0.3s;
}
.viewer-card.winner { border-color: var(--green); }
.viewer-card.loser { border-color: var(--border-color); }
.viewer-card.loser .canvas-container { opacity: 0.5; }
.viewer-card.loser .viewer-header { opacity: 0.6; }

.viewer-header {
  padding: 1rem; border-bottom: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-color);
}
.model-name { font-weight: 600; font-size: 1rem; transition: color 0.3s; }
.viewer-tag { color: var(--text-muted); font-size: 0.8rem; }

.canvas-container {
  height: 400px;
  background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}
.canvas-instruction {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; color: var(--text-muted);
  pointer-events: none; border: 1px solid rgba(0,0,0,0.05); z-index: 10;
}

.vote-controls { display: flex; justify-content: center; gap: 1rem; }
.vote-controls .btn { min-width: 160px; }

.vote-result { text-align: center; padding: 1.5rem; }
.vote-result-names {
  display: flex; justify-content: center; gap: 3rem; margin-bottom: 1rem;
  animation: popReveal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.vote-result-names .result-model { text-align: center; }
.vote-result-names .result-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.vote-result-names .result-name { font-size: 1.1rem; font-weight: 600; }

/* Loader */
.loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem 0; gap: 1rem;
}
.loader img { width: 56px; height: 56px; }
.loader span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.vote-loading, .vote-empty { text-align: center; padding: 4rem 0; }

@keyframes popReveal { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Leaderboard */
.section-header { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: flex-end; }
.table-container {
  background: var(--surface-color); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow-x: auto; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); }
th { background: var(--bg-color); font-size: 0.875rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-color); }
.rank-cell { font-weight: 600; width: 60px; }
.elo-cell { font-weight: 700; color: var(--accent); }
.badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; margin-left: 0.5rem;
}
.badge.high { background: #dbeafe; color: #1e40af; }
.badge.medium { background: #fef3c7; color: #92400e; }
.badge.low { background: #f3f4f6; color: #6b7280; }

/* Gallery */
.gallery-filters { display: flex; gap: 0.75rem; }
.gallery-filters select {
  padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--border-color);
  font-family: inherit; font-size: 0.9rem; background: var(--surface-color);
  cursor: pointer;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-card {
  background: var(--surface-color); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.gallery-card img {
  width: 100%; height: 200px; object-fit: cover;
  background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%);
}
.gallery-card-info { padding: 1rem; }
.gallery-card-prompt { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.gallery-card-model { font-size: 0.85rem; color: var(--text-muted); }

/* Gallery Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 2rem;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--surface-color); border-radius: var(--radius);
  max-width: 700px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  position: relative; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10;
  background: var(--surface-color); border: 1px solid var(--border-color);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.modal-close:hover { color: var(--text-main); background: var(--bg-color); }
.modal-viewer {
  height: 450px;
  background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%);
}
.modal-info {
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-prompt { font-weight: 600; font-size: 1.05rem; font-family: var(--font-mono); }
.modal-download { text-decoration: none; white-space: nowrap; font-size: 0.85rem; padding: 0.5rem 1rem; }

/* About */
.about-header { max-width: 1000px; margin: 0 auto 2rem; }
.about-header h2 { margin-bottom: 0; }
.about-cards { max-width: 1000px; margin: 0 auto 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-card {
  background: var(--surface-color); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.about-card-visual {
  background: var(--bg-color); border-right: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 200px;
}
.about-card-visual img { width: 100%; height: 100%; object-fit: contain; }
.about-card-info { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.about-card-info h3 { margin-bottom: 0.75rem; color: var(--text-main); }
.about-card-info p { color: var(--text-muted); margin: 0; line-height: 1.6; }
.about-card-info a { color: var(--accent); }

/* Pipeline cards */
.pipeline-section { max-width: 1000px; margin: 0 auto; }
.pipeline-section > h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pipeline-subtitle { color: var(--text-muted); margin-bottom: 2rem; }
.pipeline-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.pipeline-card {
  background: var(--surface-color); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s;
}
.pipeline-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.pipeline-card-visual {
  background: var(--bg-color); border-bottom: 1px solid var(--border-color);
  padding: 0; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pipeline-card-visual img { width: 100%; height: 100%; object-fit: contain; }
.pipeline-card-info { padding: 1.25rem; }
.pipeline-step {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); display: block; margin-bottom: 0.35rem;
}
.pipeline-card-info h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-main); }
.pipeline-card-info p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Support section */
.support-section { max-width: 1000px; margin: 3rem auto 0; }
.support-card {
  background: var(--surface-color); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: auto 1fr;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s;
}
.support-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.support-card-visual {
  width: 220px; background: var(--bg-color); border-right: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.support-card-visual img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.support-card-info { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.support-card-info h3 { margin-bottom: 0.75rem; color: var(--text-main); }
.support-card-info p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.bmc-btn { text-decoration: none; align-self: flex-start; }

/* Footer */
footer {
  border-top: 1px solid var(--border-color); padding: 2.5rem 0 0;
  margin-top: 2rem; color: var(--text-muted); font-size: 0.85rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand { font-weight: 700; font-size: 1.1rem; color: var(--text-main); margin-bottom: 0.35rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.footer-heading {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-main); margin-bottom: 0.75rem;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
  color: var(--text-muted); text-decoration: none; padding: 0.2rem 0;
  transition: color 0.2s; font-size: 0.85rem;
}
.footer-col a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid var(--border-color); padding: 1.25rem 0;
  text-align: center; font-size: 0.8rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text-main); }

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.25rem; color: var(--text-main);
}
.hamburger svg { display: block; width: 36px; height: 36px; }

/* SVG hamburger bars — positioned via CSS transform from origin */
.hamburger .bar {
  transition: transform 0.45s cubic-bezier(0.5, -0.8, 0.2, 1.8), opacity 0.3s ease;
}
.hamburger .top-bar { transform: translate(50px, 34px); }
.hamburger .mid-bar { transform: translate(50px, 50px); }
.hamburger .bot-bar { transform: translate(50px, 66px); }

/* CAD bounding box frame */
.hamburger .cad-frame rect {
  fill: none; stroke: var(--border-color); stroke-width: 1.5; stroke-dasharray: 4 4;
}
.hamburger .cad-frame {
  transform: translate(50px, 50px) scale(0.6) rotate(-45deg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.5, -0.8, 0.2, 1.8), opacity 0.3s ease;
}

/* Active / open state */
.hamburger.active .top-bar { transform: translate(50px, 50px) rotate(45deg); }
.hamburger.active .bot-bar { transform: translate(50px, 50px) rotate(-45deg); }
.hamburger.active .mid-bar { transform: translate(50px, 50px) scale(0); opacity: 0; }
.hamburger.active .cad-frame {
  transform: translate(50px, 50px) scale(1) rotate(0deg);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  /* Nav: hamburger menu */
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links button {
    padding: 0.75rem 1.5rem; text-align: left; font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links button:last-child { border-bottom: none; }
  nav { position: sticky; }
  .nav-inner { position: relative; }
  .brand-logo { height: clamp(28px, 7vw, 38px); }
  .hamburger svg { width: clamp(38px, 10vw, 50px); height: clamp(38px, 10vw, 50px); }

  /* General */
  .container { padding: 0 1rem; }
  .view { padding: 1.5rem 0 2rem; }

  /* Home */
  .hero { padding: 1.5rem 0; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }
  .hero-text { text-align: center; }
  .hero-tags { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-cube { max-width: 260px; }
  .stats-row { flex-direction: row; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; }
  .stat-val { font-size: 1.5rem; }
  .stat-label { font-size: 0.75rem; }

  /* Vote: fit within viewport like an app */
  #vote.view { padding: 0.75rem 0 0; }
  .prompt-box { padding: 0.75rem 1rem; margin-bottom: 0.75rem; }
  .prompt-label { font-size: 0.65rem; margin-bottom: 0.25rem; }
  .prompt-text { font-size: 1rem; }
  .arena-container { grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
  .viewer-card { border-width: 1.5px; border-radius: 8px; }
  .viewer-header { padding: 0.5rem 0.75rem; }
  .model-name { font-size: 0.85rem; }
  .viewer-tag { font-size: 0.7rem; }
  .canvas-container {
    height: calc(50vh - 120px);
    min-height: 160px;
    max-height: 280px;
    touch-action: none;
  }
  .canvas-instruction { display: none; }
  .vote-controls { gap: 0.5rem; }
  .vote-controls .btn { min-width: 0; padding: 0.6rem 0.75rem; font-size: 0.85rem; flex: 1; }
  .vote-result { padding: 0.75rem; }
  .vote-result-names { gap: 1.5rem; }
  .vote-result-names .result-name { font-size: 0.95rem; }
  .vote-loading, .vote-empty { padding: 2rem 0; }

  /* Leaderboard: card-style on mobile */
  .section-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
  .section-header h2 { font-size: 1.5rem; }
  .table-container { border-radius: 8px; }
  th, td { padding: 0.65rem 0.75rem; font-size: 0.85rem; }
  th { font-size: 0.7rem; }
  .rank-cell { width: 40px; }
  .badge { font-size: 0.6rem; padding: 0.1rem 0.3rem; margin-left: 0; display: block; margin-top: 0.2rem; width: fit-content; }
  .elo-cell { font-size: 0.9rem; }

  /* Gallery */
  .gallery-filters { flex-direction: column; }
  .gallery-filters select { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
  .gallery-card img { height: 140px; }
  .gallery-card-info { padding: 0.65rem; }
  .gallery-card-prompt { font-size: 0.85rem; }
  .gallery-card-model { font-size: 0.75rem; }

  /* About */
  .about-header h2 { font-size: 1.5rem; }
  .about-card { grid-template-columns: 1fr; }
  .about-card-visual { border-right: none; border-bottom: 1px solid var(--border-color); min-height: 160px; }
  .about-card-info { padding: 1.25rem; }
  .about-card-info h3 { font-size: 1.05rem; }

  /* Modal */
  .modal-overlay { padding: 0; }
  .modal-content { max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .modal-viewer { height: calc(100vh - 80px); }
  .modal-info { padding: 1rem; }
  .modal-prompt { font-size: 0.9rem; }

  .support-card { grid-template-columns: 1fr; }
  .support-card-visual { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); height: 180px; }
  .support-card-info { padding: 1.25rem; text-align: center; }
  .bmc-btn { align-self: center; }

  /* Pipeline */
  .pipeline-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pipeline-card-visual { height: 150px; }
  .pipeline-card-info { padding: 1rem; }
  .pipeline-card-info h4 { font-size: 0.95rem; }
  .pipeline-section > h3 { font-size: 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

/* Small phones */
@media (max-width: 380px) {
  .arena-container { grid-template-columns: 1fr; gap: 0.5rem; }
  .canvas-container { height: 200px; min-height: 150px; max-height: 200px; }
  .vote-controls { flex-direction: column; align-items: stretch; }
}
