:root {
  --bg: #0a0e17;
  --surface: #131926;
  --surface2: #1a2235;
  --border: #2a3555;
  --text: #e0e6f0;
  --text-dim: #7a8aaa;
  --green: #22c55e;
  --green-dim: #15803d;
  --red: #ef4444;
  --red-dim: #991b1b;
  --blue: #3b82f6;
  --yellow: #eab308;
  --purple: #a855f7;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container { max-width: 1800px; width: 95%; margin: 0 auto; padding: 0.5rem; }

h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--blue); }
h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }

/* Lobby */
#lobby {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 80vh; gap: 1.5rem;
}
#lobby h1 { font-size: 2.5rem; color: var(--green); }
#lobby .subtitle { color: var(--text-dim); font-style: italic; }

.lobby-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 280px;
}

.card h2 { text-align: center; margin-bottom: 1rem; }

input, select {
  width: 100%; padding: 0.6rem 0.8rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--blue);
}

label {
  display: block; font-size: 0.85rem;
  color: var(--text-dim); margin-bottom: 0.2rem;
}

button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
}
button:hover { opacity: 0.85; }
button:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary { background: var(--green); color: #000; width: 100%; }
.btn-secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-danger { background: var(--red); color: #fff; }
.btn-vote { padding: 0.8rem 1.5rem; font-size: 1.1rem; }

/* Waiting room */
#waiting {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; min-height: 80vh; gap: 1rem;
}
.room-code-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.room-code {
  font-size: 3rem; font-weight: bold;
  color: var(--yellow); letter-spacing: 0.3rem;
  background: var(--surface); padding: 0.5rem 2rem;
  border-radius: 12px; border: 2px dashed var(--yellow);
}

.btn-share {
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-share:hover {
  opacity: 0.85;
  transform: scale(1.1);
}

.btn-share:active {
  transform: scale(0.95);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

.player-list { list-style: none; }
.player-list li {
  padding: 0.3rem 0; font-size: 1.1rem;
}

/* Game board */
#game { display: none; }

.status-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}

.status-bar .round { font-weight: bold; color: var(--yellow); }
.status-bar .phase { color: var(--blue); }
.status-bar .turn { color: var(--green); }

.game-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
}

@media (max-width: 768px) {
  .game-layout { grid-template-columns: 1fr; }
}

/* Decks */
.decks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .decks-grid { grid-template-columns: repeat(3, 1fr); }
}

.deck-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  transition: border-color 0.2s;
}
.deck-card.active { border-color: var(--yellow); }
.deck-card.selectable { cursor: pointer; }
.deck-card.selectable:hover { border-color: var(--blue); }

.deck-card .title { font-weight: bold; font-size: 0.95rem; }
.deck-card .p-bar {
  display: flex; gap: 2px; justify-content: center;
  margin: 0.4rem 0;
}
.deck-card .p-bar .pip {
  width: 12px; height: 12px; border-radius: 2px;
}
.deck-card .p-bar .pip.filled { background: var(--yellow); }
.deck-card .p-bar .pip.empty { background: var(--surface2); }
.deck-card .pubs { font-size: 0.8rem; color: var(--text-dim); }
.deck-card .remaining {
  font-size: 0.75rem; color: var(--text-dim); margin-top: 0.3rem;
}
.remaining-bar {
  height: 4px; background: var(--surface2); border-radius: 2px;
  margin-top: 0.2rem; overflow: hidden;
}
.remaining-bar .fill {
  height: 100%; background: var(--blue); border-radius: 2px;
  transition: width 0.3s;
}

/* Hand */
.hand-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cards-display {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0.5rem 0;
  justify-content: center;
}

.card-sprite {
  width: 190px;
  aspect-ratio: 0.7;
  background-image: url('../img/evidence_sheet.png');
  background-size: 1000% 700%; /* 10 columns, 7 rows */
  background-repeat: no-repeat;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s, width 0.2s;
  flex-shrink: 0;
}
.card-sprite:hover {
  transform: translateY(-15px) scale(1.02);
  z-index: 10;
}

/* Compact mode */
.compact-cards .card-sprite {
  width: 120px;
}

@media (max-width: 768px) {
  .card-sprite { width: 100px; }
  .compact-cards .card-sprite { width: 80px; }
}

.card-pip {
  width: 28px; height: 38px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 0.75rem;
}
.card-pip.green { background: var(--green-dim); border: 1px solid var(--green); color: var(--green); }
.card-pip.red { background: var(--red-dim); border: 1px solid var(--red); color: var(--red); }

.hand-info {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  margin-top: 0.5rem; font-size: 0.9rem;
}
.hand-info .tag {
  padding: 0.2rem 0.6rem; border-radius: 4px;
  font-weight: bold; font-size: 0.85rem;
}
.tag.for { background: var(--green-dim); color: var(--green); }
.tag.against { background: var(--red-dim); color: var(--red); }
.tag.ok { background: var(--green-dim); color: var(--green); }
.tag.fail { background: var(--red-dim); color: var(--red); }

/* Actions */
.actions-area {
  background: var(--surface);
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.actions-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  margin-top: 0.8rem;
}

.slider-row {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0.5rem 0;
}
.slider-row input[type=range] {
  flex: 1; margin: 0;
}
.slider-row .val { font-weight: bold; min-width: 2rem; text-align: center; }

/* Scoreboard */
.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.player-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--surface2);
}
.player-row:last-child { border-bottom: none; }
.player-row.current { color: var(--green); }
.player-row.eliminated { color: var(--text-dim); text-decoration: line-through; }
.player-row .name { font-weight: 600; }
.player-row .score { font-weight: bold; }
.player-row .pubs { font-size: 0.8rem; color: var(--text-dim); }

/* Log */
.log-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  max-height: 360px;
  overflow-y: auto;
}
.log-area .entry {
  font-size: 0.8rem; color: var(--text-dim);
  padding: 0.15rem 0;
}
.log-area .entry .player-tag { color: var(--text); font-weight: 600; }
.log-area .entry .event-tag { color: var(--blue); }

/* Results */
#results { display: none; }

.result-deck {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.result-deck .truth {
  font-size: 1.2rem; font-weight: bold;
}
.result-deck .truth.real { color: var(--green); }
.result-deck .truth.null { color: var(--red); }
.result-deck .group-result { margin-top: 0.3rem; }
.result-deck .group-result.correct { color: var(--green); }
.result-deck .group-result.wrong { color: var(--red); }

.final-scores {
  margin-top: 1rem;
}
.final-score-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem; font-size: 1.1rem;
}
.final-score-row:first-child {
  font-size: 1.3rem; color: var(--yellow);
}

/* Voting */
.voting-area {
  background: var(--surface);
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}
.vote-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.btn-yes { background: var(--green); color: #000; }
.btn-no { background: var(--red); color: #fff; }
.btn-blank { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }

.hidden { display: none !important; }

/* Hand — face-down cards */
.hand-card-back-wrap {
  width: 190px;
  aspect-ratio: 0.7;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.hand-card-back {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
  border: 2px solid var(--border);
}

/* Tu mano — descarte: voltear cartas (mismo tamaño / hover que .card-sprite) */
.hand-flip-scene {
  width: 190px;
  aspect-ratio: 0.7;
  flex-shrink: 0;
  cursor: pointer;
  perspective: 1200px;
  transition: transform 0.2s, width 0.2s;
  border-radius: 8px;
}
.hand-flip-scene:hover {
  transform: translateY(-15px) scale(1.02);
  z-index: 10;
}
.hand-flip-scene:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.hand-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
  border-radius: 8px;
}
.hand-flip-scene.is-flipped .hand-flip-inner {
  transform: rotateY(180deg);
}
.hand-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
}
.hand-flip-scene .hand-flip-front.card-sprite {
  width: 100% !important;
  max-width: none;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.hand-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hand-card-back-inner {
  width: 70%;
  height: 70%;
  border-radius: 6px;
  border: 1px dashed var(--text-dim);
  opacity: 0.4;
}
.compact-cards .hand-flip-scene {
  width: 120px;
}
@media (max-width: 768px) {
  .hand-flip-scene { width: 100px; }
  .compact-cards .hand-flip-scene { width: 80px; }
}

.hand-discard-bar {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.hand-discard-hint {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}
.hand-discard-bar .btn-primary {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Event feed */
.feed-card-event {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.feed-ev-published {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 100%);
}
.feed-ev-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.feed-ev-name {
  font-weight: 700;
  font-size: 1rem;
}
.feed-banner-lg {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
}
.feed-banner-lg.for {
  background: rgba(34, 197, 94, 0.25);
  color: var(--green);
  border: 1px solid var(--green);
}
.feed-banner-lg.against {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
  border: 1px solid var(--red);
}
.feed-cards-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin: 0.4rem 0;
}
.feed-mini-card {
  width: 44px;
  aspect-ratio: 0.7;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.feed-mini-sprite {
  background-image: url('../img/evidence_sheet.png');
  background-size: 1000% 700%;
  background-repeat: no-repeat;
}
.feed-mini-back {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
}
.feed-pts-badge-lg {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 800;
  color: var(--yellow);
  font-size: 1.1rem;
}
.feed-cit-line {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}
.feed-ev-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.feed-ev-vote {
  border-color: var(--purple);
}
.feed-ev-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.feed-vote-counts .yes { color: var(--green); font-weight: 600; }
.feed-vote-counts .no { color: var(--red); font-weight: 600; }
.feed-outcome {
  font-family: monospace;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.feed-reveal-green { color: var(--green); }
.feed-reveal-red { color: var(--red); }
.feed-ev-harking {
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  animation: feed-alert-pulse 1.2s ease-in-out infinite;
}
@keyframes feed-alert-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.25); }
}
.feed-alert {
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.feed-ev-col {
  opacity: 0.65;
  font-size: 0.8rem;
  border-style: dashed;
}
.feed-ev-elim {
  border-color: var(--red);
  background: rgba(127, 29, 29, 0.25);
}
.feed-elim-name {
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
}
.feed-ev-minimal {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 0.45rem 0.65rem;
  border-style: dashed;
  opacity: 0.92;
}

/* Resolution overlay */
#resolution-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 8, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: auto;
}
.resolution-inner {
  max-width: 960px;
  width: 100%;
  text-align: center;
}
.resolution-banner {
  border-radius: 12px;
  border: 2px solid;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.resolution-publisher {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dim);
}
.resolution-action-text {
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
}
.resolution-deck-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.5rem;
  word-wrap: break-word;
}
.resolution-counter-wrap {
  position: relative;
  min-height: 4rem;
  margin: 0.5rem 0 1rem;
}
.resolution-p-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.resolution-p-counter {
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  transition: color 0.3s, transform 0.35s;
}
.resolution-counter-flash {
  animation: res-counter-red 0.4s ease;
}
@keyframes res-counter-red {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 12px var(--red)); color: var(--red); }
}
.resolution-threshold-label {
  margin-top: 0.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
}
.resolution-threshold-label.hidden {
  display: none;
}
.resolution-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: flex-end;
  min-height: 140px;
}
.resolution-card-wrap {
  flex: 0 0 auto;
}
.resolution-card {
  width: 88px;
  aspect-ratio: 0.7;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.resolution-card-sprite {
  background-image: url('../img/evidence_sheet.png');
  background-size: 1000% 700%;
  background-repeat: no-repeat;
}
.resolution-card-facedown {
  position: relative;
}
.resolution-card-back {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid var(--border);
}
.resolution-card-reveal {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
}
.resolution-card-reveal.is-green {
  background: var(--green-dim);
  border: 2px solid var(--green);
}
.resolution-card-reveal.is-red {
  background: var(--red-dim);
  border: 2px solid var(--red);
}
.resolution-shake {
  animation: resolution-shake 0.15s ease-in-out 2;
}
@keyframes resolution-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.resolution-whisper-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 5;
}
.resolution-vote-reveal-gold {
  box-shadow: 0 0 0 3px #eab308, 0 4px 20px rgba(234, 179, 8, 0.45) !important;
}
.resolution-solo-tu {
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: #eab308;
  font-weight: 700;
  white-space: nowrap;
  z-index: 6;
}
.resolution-floating-pts {
  font-weight: 800;
  color: var(--yellow);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
}
.resolution-final-msg {
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeIn 0.6s ease-out both;
}
.resolution-success-msg {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.resolution-p-update-msg {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--yellow);
  font-style: italic;
  max-width: 600px;
  margin: 0.5rem auto 1rem;
  line-height: 1.4;
}
.resolution-final-pts {
  margin-top: 1rem;
}
.resolution-pts-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.resolution-pts-line-single {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
}
.resolution-pts-label-inline {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.resolution-pts-value-small {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.resolution-pts-value-small.bonus-label {
  color: var(--yellow);
}
.resolution-pts-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
}
.resolution-pts-countup {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
}
.resolution-pts-label {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Back Button */
.back-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.back-button:hover {
  background: var(--surface2);
  border-color: var(--red);
  color: var(--red);
}
.back-button:active {
  opacity: 0.7;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 1rem;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}
.modal-content h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.modal-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.modal-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}
.modal-buttons button {
  flex: 1;
  padding: 0.8rem 1.2rem;
}
