:root {
  --bg: #0a0618;
  --bg-card: rgba(255, 255, 255, 0.06);
  --accent: #e8b923;
  --accent-glow: rgba(232, 185, 35, 0.45);
  --purple: #7b3fe4;
  --purple-light: #a66bff;
  --text: #f4f0ff;
  --text-muted: rgba(244, 240, 255, 0.6);
  --success: #4ade80;
  --danger: #f87171;
  --radius: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html, body {
  height: 100%;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(123, 63, 228, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(232, 185, 35, 0.12), transparent),
    var(--bg);
}

.bg-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.3), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.75rem 1rem calc(1.25rem + var(--safe-bottom));
  animation: fadeIn 0.4s ease;
  -webkit-overflow-scrolling: touch;
}

.screen.active { display: flex; }

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

/* Login */
#screen-login {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.logo {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#screen-login h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

#login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#login-form label {
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-muted);
}

#login-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.1rem;
  font-family: inherit;
}

#login-form input:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(123, 63, 228, 0.25);
}

.btn {
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  padding: 1rem;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: white;
  box-shadow: 0 4px 24px rgba(123, 63, 228, 0.4);
}

.btn-vote {
  width: 100%;
  padding: 1.1rem;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, var(--accent), #d4a017);
  color: #1a0a00;
  font-size: 1.1rem;
  box-shadow: 0 4px 32px var(--accent-glow);
}

.btn-vote.voting {
  animation: votePulse 0.6s ease;
}

@keyframes votePulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); box-shadow: 0 0 60px var(--accent-glow); }
  100% { transform: scale(1); }
}

.btn-vote.sent {
  background: var(--success);
  color: #052e16;
  pointer-events: none;
}

.global-nav {
  flex-shrink: 0;
  z-index: 50;
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) 0.75rem 0.65rem;
  background: rgba(10, 6, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.global-nav.hidden { display: none; }

.global-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.global-nav-user {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.25rem;
}

.global-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 52px;
  padding: 0.5rem 0.35rem;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.nav-tab:active:not(:disabled) {
  transform: scale(0.97);
}

.nav-tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.nav-tab-label {
  letter-spacing: 0.02em;
}

.nav-tab--vote.active {
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.25), rgba(34, 197, 94, 0.12));
  color: var(--success);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.35);
}

.nav-tab--results.active {
  background: linear-gradient(145deg, rgba(232, 185, 35, 0.22), rgba(232, 185, 35, 0.08));
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.35);
}

.nav-tab:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.user-badge {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-card);
  border-radius: 999px;
  color: var(--text-muted);
}

/* Waiting */
.waiting-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.pulse-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--purple-light);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.waiting-content h2 { font-size: 1.5rem; }
#waiting-message { color: var(--text-muted); }

.mini-result {
  margin-top: 1.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  width: 100%;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.mini-result .avg {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

/* Act card */
.act-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.act-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(123,63,228,0.15), transparent 60%);
  pointer-events: none;
}

.act-order {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0,0,0,0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.act-flag { font-size: 3.5rem; display: block; margin-bottom: 0.5rem; }
.act-country { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.act-artist { font-size: 1.1rem; color: var(--purple-light); font-weight: 600; }
.act-song { font-size: 0.95rem; color: var(--text-muted); font-style: italic; margin-top: 0.25rem; }

/* Score */
.score-section { flex: 1; }

.score-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.score-display {
  text-align: center;
  margin-bottom: 1rem;
}

#score-value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.15s;
}

#score-value.bump {
  animation: scoreBump 0.2s ease;
}

@keyframes scoreBump {
  50% { transform: scale(1.15); }
}

.score-max { font-size: 1.25rem; color: var(--text-muted); }

#score-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  outline: none;
}

#score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f5d76e);
  cursor: pointer;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.score-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 4px;
}

.score-ticks span {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0.25rem 0;
}

.score-ticks span.active {
  color: var(--accent);
  font-weight: 700;
}

/* Voted */
.voted-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.voted-label { color: var(--text-muted); }
.voted-score {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
}
.voted-act { font-size: 1.1rem; margin-top: 0.5rem; }
.waiting-votes { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; }

.live-stats {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.live-stats .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

#vote-panel.hidden,
#results-card.hidden {
  display: none !important;
}

/* Results */
.results-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-status-badge {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.results-status-badge--live {
  color: var(--success);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  animation: livePulse 2s ease-in-out infinite;
}

.results-status-badge--closed {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.results-up-next {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.results-up-next-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.results-up-next-act {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.results-up-next-act .up-next-flag {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.9;
}

.results-up-next-act .up-next-line {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 400;
}

.results-up-next-act .up-next-line strong {
  color: rgba(244, 240, 255, 0.75);
  font-weight: 600;
}

/* Legacy selectors if older markup is cached */
.results-up-next-act .results-flag {
  font-size: 1.25rem;
}

.results-up-next-act h2,
.results-up-next-act p {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.results-up-next-act h2 {
  font-weight: 600;
  color: rgba(244, 240, 255, 0.75);
}

.results-up-next-act .results-song {
  display: none;
}

.mini-result.up-next-preview .label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mini-result.up-next-preview .row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.mini-result.up-next-preview .row .up-next-line {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.mini-result.up-next-preview .row .results-flag,
.mini-result.up-next-preview .up-next-flag {
  font-size: 1.25rem;
}

.mini-result.up-next-preview .row strong {
  font-weight: 600;
  color: rgba(244, 240, 255, 0.75);
}

.results-act {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.results-flag {
  font-size: 2.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.results-act-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.results-act-text h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.results-act-text p {
  font-size: 0.9rem;
  color: var(--purple-light);
  font-weight: 600;
}

.results-song {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  font-style: italic;
  margin-top: 0.2rem;
}

.results-score-block {
  text-align: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, rgba(232, 185, 35, 0.12), transparent);
  border-radius: var(--radius);
  border: 1px solid rgba(232, 185, 35, 0.2);
}

.results-avg-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.results-avg {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.results-yours {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-light);
}

.results-meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.results-jury-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.votes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vote-row--me {
  border-color: rgba(166, 107, 255, 0.45);
  background: rgba(123, 63, 228, 0.15);
}

.vote-row-name {
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-row-name em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-light);
}

.vote-row-score {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 2ch;
  text-align: right;
}

.votes-empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Overview */
.overview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overview-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}

.overview-list .flag { font-size: 1.75rem; }
.overview-list .info h3 { font-size: 0.95rem; font-weight: 700; }
.overview-list .info p { font-size: 0.8rem; color: var(--text-muted); }
.overview-list .avg {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.overview-list .votes-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
}

.empty-hint {
  text-align: center;
  color: var(--text-muted);
  margin-top: 3rem;
}

.hidden { display: none !important; }

/* Confetti */
#confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confettiFall 1.2s ease-out forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.toast {
  position: fixed;
  bottom: calc(1.5rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 1001;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Admin */
.admin-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: calc(1rem + var(--safe-bottom));
}

.admin-page h1 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.admin-control {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-control--live {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 32px rgba(74, 222, 128, 0.12);
}

.admin-control--complete {
  border-color: rgba(232, 185, 35, 0.45);
  text-align: center;
}

.admin-control-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.admin-control--live .admin-control-label { color: var(--success); }

.admin-control-act {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.control-flag { font-size: 2.5rem; line-height: 1; }

.admin-control-act h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.admin-control-act p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-control-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-admin {
  padding: 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-admin:active:not(:disabled) { transform: scale(0.97); }
.btn-admin:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-start-vote {
  background: linear-gradient(135deg, var(--success), #22c55e);
  color: #052e16;
}

.btn-close-vote {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: white;
}

.admin-danger {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-danger-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.btn-reset-votes {
  width: 100%;
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
}

.btn-reset-votes:not(:disabled):hover {
  background: rgba(239, 68, 68, 0.12);
}

.admin-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.admin-list { list-style: none; }

.admin-act {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
}

.admin-act--live {
  border-color: rgba(74, 222, 128, 0.35);
}

.admin-act-flag { font-size: 1.5rem; grid-row: span 2; align-self: center; }

.admin-act .meta { min-width: 0; }
.admin-act .meta h3 {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-act .meta p { font-size: 0.75rem; color: var(--text-muted); }

.admin-act .status-badge {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}

.admin-act-buttons {
  grid-column: 2 / -1;
  display: flex;
  gap: 0.5rem;
}

.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.status-badge.pending { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.status-badge.open { background: rgba(74, 222, 128, 0.2); color: var(--success); }
.status-badge.closed { background: rgba(232, 185, 35, 0.2); color: var(--accent); }

.btn-sm {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-start { background: var(--success); color: #052e16; }
.btn-close { background: var(--danger); color: white; }
.btn-sm:disabled { opacity: 0.4; cursor: not-allowed; }
