/* =========================================================
   VEIL – Mobile-first stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   Custom properties
   --------------------------------------------------------- */
:root {
  --bg:          #0d0820;
  --surface:     rgba(255,255,255,0.06);
  --surface2:    rgba(255,255,255,0.10);
  --border:      rgba(255,255,255,0.12);
  --accent:      #c9a227;
  --accent2:     #e91e8c;
  --good:        #2ecc71;
  --evil:        #e74c3c;
  --text:        #f0eaf8;
  --text-muted:  #a094b8;
  --radius:      16px;
  --radius-sm:   10px;
  --btn-h:       56px;
  --max-w:       520px;
}

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

html { height: 100%; }

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* ---------------------------------------------------------
   Theme: Anjas 30er
   --------------------------------------------------------- */
body.theme-anja30 {
  background:
    radial-gradient(ellipse at top, #2a0845 0%, #0d0820 60%),
    url('../assets/img/bg-anja30.jpg') center/cover no-repeat fixed;
}

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */
.app {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 16px 80px;
  min-height: 100vh;
}

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.card--gold {
  border-color: var(--accent);
  background: rgba(201,162,39,0.08);
}
.card--good {
  border-color: var(--good);
  background: rgba(46,204,113,0.08);
}
.card--evil {
  border-color: var(--evil);
  background: rgba(231,76,60,0.08);
}

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1 { font-size: 2rem; font-weight: 700; letter-spacing: 0.08em; }
h2 { font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }

.text-accent  { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-good    { color: var(--good); }
.text-evil    { color: var(--evil); }
.text-muted   { color: var(--text-muted); font-size: 0.9rem; }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.85rem; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--btn-h);
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s, transform 0.1s;
  letter-spacing: 0.02em;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; pointer-events: none; }

.btn-primary   { background: var(--accent); color: #1a0a00; }
.btn-danger    { background: var(--evil);   color: #fff; }
.btn-success   { background: var(--good);   color: #001a00; }
.btn-ghost     { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-evil      { background: var(--evil);   color: #fff; }
.btn-good      { background: var(--good);   color: #001a00; }
.btn-secondary { background: var(--accent2); color: #fff; }

.btn-sm { min-height: 40px; font-size: 0.9rem; padding: 8px 14px; }

.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--text-muted); }

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, select:focus { border-color: var(--accent); }
input::placeholder { color: var(--text-muted); }

/* ---------------------------------------------------------
   Logo / header
   --------------------------------------------------------- */
.logo {
  text-align: center;
  padding: 32px 0 16px;
}
.logo-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #f0c040, #e91e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.logo-sub {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -4px;
}

/* ---------------------------------------------------------
   Game code display
   --------------------------------------------------------- */
.game-code {
  text-align: center;
  padding: 12px 0;
}
.game-code-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.game-code-label { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--text-muted); }

/* ---------------------------------------------------------
   Player list
   --------------------------------------------------------- */
.player-list { list-style: none; }
.player-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.player-list li:last-child { border-bottom: none; }
.player-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-left: auto;
}
.badge-host    { background: var(--accent);  color: #1a0a00; }
.badge-good    { background: var(--good);    color: #001a00; }
.badge-evil    { background: var(--evil);    color: #fff; }

/* ---------------------------------------------------------
   Role card
   --------------------------------------------------------- */
.role-card {
  text-align: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.role-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--surface2);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  object-fit: cover;
}
.role-icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.role-name-display {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.role-team-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.team-good-label { background: rgba(46,204,113,0.2); color: var(--good); }
.team-evil-label { background: rgba(231,76,60,0.2);  color: var(--evil); }

.role-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: left;
  white-space: pre-line;
}
.secret-info-box {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 12px;
  text-align: left;
}
.secret-info-box .label { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 4px; }

/* ---------------------------------------------------------
   Mission display
   --------------------------------------------------------- */
.mission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.round-badge {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.mission-title {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Score bar
   --------------------------------------------------------- */
.score-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.score-dot {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.score-dot.good  { background: var(--good); border-color: var(--good); }
.score-dot.evil  { background: var(--evil); border-color: var(--evil); }

/* ---------------------------------------------------------
   Vote buttons
   --------------------------------------------------------- */
.vote-buttons { display: flex; gap: 12px; margin-top: 16px; }
.vote-btn {
  flex: 1;
  min-height: 72px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.1s, filter 0.15s;
}
.vote-btn:active { transform: scale(0.95); }
.vote-btn .icon { font-size: 1.6rem; }
.vote-yes  { background: rgba(46,204,113,0.2); border-color: var(--good);  color: var(--good); }
.vote-no   { background: rgba(231,76,60,0.2);  border-color: var(--evil);  color: var(--evil); }
.vote-btn.voted { opacity: 0.5; pointer-events: none; }
.vote-btn.selected { opacity: 1 !important; filter: brightness(1.3); border-width: 3px; }

/* ---------------------------------------------------------
   Player selection (master – team picker)
   --------------------------------------------------------- */
.player-select-list { list-style: none; }
.player-select-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.player-select-item.selected {
  border-color: var(--accent);
  background: rgba(201,162,39,0.08);
}
.player-select-item .checkmark {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-radius: 6px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: transparent;   /* hide ✓ until selected */
}
.player-select-item.selected .checkmark {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0a00;
}
.player-select-item .pname { font-weight: 600; font-size: 1rem; }
.player-select-item .role-chip {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* ---------------------------------------------------------
   Status / waiting
   --------------------------------------------------------- */
.waiting-indicator {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ---------------------------------------------------------
   Phase banner
   --------------------------------------------------------- */
.phase-banner {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

/* ---------------------------------------------------------
   Result display
   --------------------------------------------------------- */
.result-icon { font-size: 4rem; text-align: center; margin: 12px 0; }
.result-text { text-align: center; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }

.votes-breakdown { list-style: none; margin-top: 12px; }
.votes-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Evil players reveal (for Merlin/Anja)
   --------------------------------------------------------- */
.evil-reveal {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
}
.evil-reveal .label { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--evil); margin-bottom: 6px; }
.evil-name {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(231,76,60,0.2);
  border-radius: 20px;
  margin: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--evil);
}

/* ---------------------------------------------------------
   QR Code
   --------------------------------------------------------- */
.qr-wrapper {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
#qrcode canvas, #qrcode img { border-radius: 8px; }

/* ---------------------------------------------------------
   Bottom action bar (player view)
   --------------------------------------------------------- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 12px;
  background: rgba(13,8,32,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 100;
}
.bar-left  { display: flex; gap: 6px; }
.bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.bar-btn .bar-icon { font-size: 1.3rem; line-height: 1; }
.bar-btn:active { background: var(--surface); transform: scale(0.95); }
.bar-btn:disabled { opacity: 0.3; pointer-events: none; }
.bar-btn.bar-danger { border-color: rgba(231,76,60,0.35); color: var(--evil); }
.bar-btn.bar-accent { border-color: rgba(201,162,39,0.5); color: var(--accent); }

/* ---------------------------------------------------------
   Fullscreen overlays (block notification, prank warning)
   --------------------------------------------------------- */
.fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.fullscreen-overlay.hidden { display: none !important; }
.overlay-box { max-width: 380px; width: 100%; }
.overlay-icon-big { font-size: 6rem; margin-bottom: 16px; display: block; }
.overlay-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.overlay-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 28px; line-height: 1.5; }
.overlay-blocked .overlay-icon-big { animation: pulse 1s ease-in-out infinite; }
.overlay-prank .overlay-icon-big { color: var(--accent); animation: pulse 0.7s ease-in-out infinite; }

/* ---------------------------------------------------------
   Modal sheet (slides up from bottom)
   --------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none !important; }
.modal-sheet {
  width: 100%;
  max-width: var(--max-w);
  max-height: 88vh;
  background: #0f0a25;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  overflow-y: auto;
  padding: 0 0 100px;
  animation: slideUp 0.22s ease;
}
@keyframes slideUp {
  from { transform: translateY(40%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #0f0a25;
  z-index: 1;
}
.modal-header h3 { margin: 0; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.modal-close-btn {
  width: 32px; height: 32px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 16px 20px; }

/* History entries */
.history-round {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.history-round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
}
.history-round-body { padding: 10px 14px; font-size: 0.85rem; color: var(--text-muted); }
.history-round-body > * + * { margin-top: 6px; }
.history-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.history-badge.success { background: rgba(46,204,113,0.2); color: var(--good); }
.history-badge.failed  { background: rgba(231,76,60,0.2);  color: var(--evil); }
.history-badge.pending { background: var(--surface2); color: var(--text-muted); }

/* ---------------------------------------------------------
   Toast notification
   --------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--accent);
  color: #1a0a00;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-8px); }

/* ---------------------------------------------------------
   Game-over screen
   --------------------------------------------------------- */
.game-over {
  text-align: center;
  padding: 24px 0;
}
.game-over .winner-emoji { font-size: 5rem; margin-bottom: 16px; display: block; }
.game-over h2 { font-size: 1.8rem; margin-bottom: 8px; }

/* ---------------------------------------------------------
   Utility
   --------------------------------------------------------- */
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }

/* ---------------------------------------------------------
   Rules & Info modal
   --------------------------------------------------------- */
.rules-section { margin-bottom: 20px; }
.rules-section h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.rules-role-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.rules-role-item:last-child { border-bottom: none; }
.rules-role-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1.2; }
.rules-role-name { font-weight: 700; font-size: 0.95rem; }
.rules-role-team {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 6px;
  opacity: 0.75;
}
.rules-role-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }

.player-count-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 8px; }
.player-count-table th {
  text-align: left;
  padding: 6px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.player-count-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
}
.player-count-table tr:last-child td { border-bottom: none; }
.player-count-table td:first-child { font-weight: 700; color: var(--accent); }

/* ---------------------------------------------------------
   Toggle switch (lobby settings)
   --------------------------------------------------------- */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-label { font-size: 0.95rem; flex: 1; padding-right: 12px; }
.toggle-sub { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.toggle-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: left 0.2s, background 0.2s;
}
.toggle-switch input:checked + .toggle-track {
  background: rgba(201,162,39,0.25);
  border-color: var(--accent);
}
.toggle-switch input:checked + .toggle-track::after {
  left: 23px;
  background: var(--accent);
}

/* Role selection chips in lobby */
.role-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.role-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface2);
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.role-chip input[type="checkbox"] { display: none; }
.role-chip .chip-check { font-size: 0.75rem; color: transparent; }
.role-chip.chip-on {
  border-color: var(--accent);
  background: rgba(201,162,39,0.1);
}
.role-chip.chip-on .chip-check { color: var(--accent); }
.role-chip.chip-evil.chip-on {
  border-color: var(--evil);
  background: rgba(231,76,60,0.1);
}
.role-chip.chip-evil.chip-on .chip-check { color: var(--evil); }

/* ---------------------------------------------------------
   Vote-invert button (Party Clown)
   --------------------------------------------------------- */
.vote-invert {
  background: rgba(201,162,39,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------------------------------------------------------
   Blocked vote state
   --------------------------------------------------------- */
.blocked-notice {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  margin-top: 12px;
}
.blocked-notice .blocked-icon { font-size: 2rem; margin-bottom: 6px; }
.blocked-notice p { color: var(--evil); font-weight: 600; }

/* ---------------------------------------------------------
   Non-anonymous vote details list
   --------------------------------------------------------- */
.vote-details-list { list-style: none; margin-top: 10px; }
.vote-details-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.vote-details-list li:last-child { border-bottom: none; }
.vd-yes { color: var(--good); font-weight: 700; }
.vd-no  { color: var(--evil); font-weight: 700; }

/* ---------------------------------------------------------
   Bullie block picker
   --------------------------------------------------------- */
.block-picker { margin-top: 12px; }
.block-picker-title { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }

/* ---------------------------------------------------------
   BFF / Anja reveal info box
   --------------------------------------------------------- */
.anja-reveal {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.3);
}
.anja-reveal .label { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--good); margin-bottom: 4px; }
.anja-name {
  font-weight: 700;
  color: var(--good);
}

/* ---------------------------------------------------------
   Responsive tweaks for slightly larger screens
   --------------------------------------------------------- */
@media (min-width: 480px) {
  .logo-title { font-size: 4.5rem; }
  .game-code-value { font-size: 3.5rem; }
}

@media (min-width: 600px) {
  .app { padding-top: 24px; }
}
