:root {
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-table: #1a6b3c;
  --bg-table-border: #0f4d2a;
  --bg-felt: #1e7a45;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --gold: #ffd700;
  --red: #e74c3c;
  --green: #27ae60;
  --blue: #3498db;
  --orange: #f39c12;
  --purple: #9b59b6;
  --card-red: #e74c3c;
  --card-black: #1a1a2e;
  --border: #30363d;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* ---- Common ---- */

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-weight: 600; }

a { color: var(--blue); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  min-height: 48px;
  touch-action: manipulation;
}

.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--green); }
.btn-primary:hover { background: #2ecc71; }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #c0392b; }
.btn-warning { background: var(--orange); }
.btn-warning:hover { background: #e67e22; }
.btn-secondary { background: var(--border); }
.btn-secondary:hover { background: #444c56; }
.btn-gold { background: linear-gradient(135deg, #f39c12, #f1c40f); color: #1a1a2e; }
.btn-blue { background: var(--blue); }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.input-group input, .input-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}

.input-group input:focus, .input-group select:focus {
  border-color: var(--green);
}

.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.badge-green { background: rgba(39, 174, 96, 0.2); color: var(--green); }
.badge-red { background: rgba(231, 76, 60, 0.2); color: var(--red); }
.badge-gold { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.badge-blue { background: rgba(52, 152, 219, 0.2); color: var(--blue); }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-error { background: rgba(231, 76, 60, 0.15); color: var(--red); border: 1px solid rgba(231, 76, 60, 0.3); }
.alert-success { background: rgba(39, 174, 96, 0.15); color: var(--green); border: 1px solid rgba(39, 174, 96, 0.3); }

.hidden { display: none !important; }

/* ---- Login Page ---- */

.login-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-logo {
  font-size: 48px;
  margin-bottom: 8px;
  text-align: center;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.login-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
}

.login-form {
  width: 100%;
  max-width: 360px;
}

/* ---- Lobby ---- */

.lobby-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.lobby-header h1 { font-size: 22px; }

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.user-chips {
  color: var(--gold);
  font-weight: 600;
}

.table-list { flex: 1; }

.table-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.table-item:hover { border-color: var(--green); }

.table-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.table-item-name {
  font-weight: 600;
  font-size: 16px;
}

.table-item-info {
  color: var(--text-secondary);
  font-size: 13px;
  display: flex;
  gap: 16px;
}

.table-item-players {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.create-table-form { margin-top: auto; }

.nav-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* ---- Poker Game ---- */

.game-wrapper {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-dark);
}

.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  font-size: 13px;
  z-index: 10;
  flex-shrink: 0;
}

.game-top-bar .table-name { font-weight: 600; }
.game-top-bar .pot-display { color: var(--gold); font-weight: 700; }

.poker-table-area {
  flex: 1;
  position: relative;
  background: radial-gradient(ellipse at center, var(--bg-felt) 0%, var(--bg-table) 60%, var(--bg-table-border) 100%);
  border: 3px solid var(--bg-table-border);
  margin: 8px;
  border-radius: 50% / 30%;
  overflow: visible;
  min-height: 280px;
}

/* Dealer image */
.dealer-image-wrapper {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  height: 90px;
}

.dealer-image {
  height: 150px;
  object-fit: cover;
  object-position: center 55%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  opacity: 0.88;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

@media (max-width: 480px) {
  .dealer-image-wrapper { height: 65px; }
  .dealer-image { height: 110px; }
}

@media (min-width: 768px) {
  .dealer-image-wrapper { height: 110px; }
  .dealer-image { height: 190px; }
}

.community-cards {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}

.pot-display-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 44px));
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  z-index: 5;
  white-space: nowrap;
}

/* Player positions around the table */
.player-seat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 6;
  transition: all 0.3s;
}

.player-seat[data-pos="0"] { bottom: -8px; left: 50%; transform: translateX(-50%); }
.player-seat[data-pos="1"] { bottom: 15%; left: 5%; transform: translateX(0); }
.player-seat[data-pos="2"] { top: 15%; left: 3%; transform: translateX(0); }
.player-seat[data-pos="3"] { top: -8px; left: 25%; transform: translateX(-50%); }
.player-seat[data-pos="4"] { top: -8px; right: 25%; transform: translateX(50%); }
.player-seat[data-pos="5"] { top: 15%; right: 3%; transform: translateX(0); }
.player-seat[data-pos="6"] { bottom: 15%; right: 5%; transform: translateX(0); }
.player-seat[data-pos="7"] { bottom: -8px; left: 50%; transform: translateX(-50%) translateX(120px); }

.player-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  text-align: center;
  line-height: 1.1;
}

.player-seat.is-current .player-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.player-seat.is-folded .player-avatar {
  opacity: 0.4;
}

.player-seat.is-me .player-avatar {
  border-color: var(--blue);
}

.player-name {
  font-size: 10px;
  font-weight: 600;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.player-chips-display {
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.player-bet-display {
  font-size: 10px;
  color: var(--orange);
  font-weight: 500;
}

.player-action-label {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  position: absolute;
  bottom: -14px;
  white-space: nowrap;
}

.dealer-chip {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--card-black);
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-cards-mini {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

/* Cards */
.card {
  width: 40px;
  height: 56px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-front {
  background: white;
  color: var(--card-black);
}

.card-front.red { color: var(--card-red); }

.card-back {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #2c3e50 100%);
  border: 2px solid #4a6fa5;
}

.card-back::after {
  content: '🂠';
  font-size: 20px;
  opacity: 0.3;
}

.card-rank {
  font-size: 11px;
  line-height: 1;
}

.card-suit {
  font-size: 14px;
  line-height: 1;
}

.card-mini {
  width: 28px;
  height: 38px;
}

.card-mini .card-rank { font-size: 9px; }
.card-mini .card-suit { font-size: 10px; }

.card-mini-draw {
  width: 20px;
  height: 28px;
}
.card-mini-draw .card-rank { font-size: 7px; }
.card-mini-draw .card-suit { font-size: 8px; }

.draw-mode .player-avatar {
  width: 42px;
  height: 42px;
  font-size: 12px;
}
.draw-mode .player-name { font-size: 9px; }
.draw-mode .player-chips-display { font-size: 10px; }
.draw-mode .player-bet-display { font-size: 9px; }

.card-large {
  width: 52px;
  height: 72px;
}

.card-large .card-rank { font-size: 15px; }
.card-large .card-suit { font-size: 20px; }

.community-cards .card {
  width: 42px;
  height: 58px;
  animation: cardDeal 0.3s ease-out;
}

.community-cards .card .card-rank { font-size: 12px; }
.community-cards .card .card-suit { font-size: 16px; }

@keyframes cardDeal {
  from { transform: scale(0) rotateY(90deg); opacity: 0; }
  to { transform: scale(1) rotateY(0); opacity: 1; }
}

/* My cards area */
.my-cards-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.my-cards {
  display: flex;
  gap: 6px;
}

.my-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
}

.my-chips-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.my-chips-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

/* Action bar */
.action-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-buttons .btn {
  flex: 1;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.btn-fold { background: #6c757d; }
.btn-fold:hover { background: #5a6268; }
.btn-check { background: var(--blue); }
.btn-check:hover { background: #2980b9; }
.btn-call { background: var(--green); }
.btn-call:hover { background: #229954; }
.btn-raise { background: var(--orange); }
.btn-raise:hover { background: #e67e22; }
.btn-allin { background: linear-gradient(135deg, var(--red), var(--orange)); }
.btn-allin:hover { background: linear-gradient(135deg, #c0392b, #d35400); }

.raise-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.raise-controls input[type="range"] {
  flex: 1;
  accent-color: var(--orange);
  height: 32px;
}

.raise-amount-display {
  font-weight: 700;
  color: var(--orange);
  min-width: 50px;
  text-align: center;
  font-size: 16px;
}

.waiting-message {
  text-align: center;
  padding: 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

.turn-timer {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.turn-timer-bar {
  height: 100%;
  background: var(--green);
  transition: width 1s linear, background-color 0.5s;
  border-radius: 2px;
}

.turn-timer-bar.warning { background: var(--orange); }
.turn-timer-bar.danger { background: var(--red); }

/* Showdown overlay */
.showdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.showdown-results {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  max-width: 380px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.showdown-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.winner-entry {
  margin-bottom: 10px;
  padding: 10px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-sm);
}

.winner-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.winner-hand {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.winner-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}

.winner-cards {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 6px;
}

/* Chat */
.chat-area {
  max-height: 120px;
  overflow-y: auto;
  margin: 8px 12px;
  flex-shrink: 0;
}

.chat-msg {
  font-size: 12px;
  padding: 2px 0;
  color: var(--text-secondary);
}

.chat-msg .chat-name { color: var(--blue); font-weight: 600; }

.chat-input-area {
  display: flex;
  gap: 6px;
  padding: 4px 12px 8px;
  flex-shrink: 0;
}

.chat-input-area input {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

/* ---- Admin Page ---- */

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.user-table th, .user-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.user-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.user-table td { color: var(--text-primary); }

.user-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal h3 {
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.modal-actions .btn { flex: 1; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state-text { font-size: 15px; }

/* Responsive */
@media (max-width: 380px) {
  .card { width: 34px; height: 48px; }
  .card-rank { font-size: 10px; }
  .card-suit { font-size: 12px; }
  .community-cards .card { width: 36px; height: 50px; }
  .player-avatar { width: 44px; height: 44px; font-size: 11px; }
  .action-buttons .btn { padding: 12px 4px; font-size: 12px; }
}

@media (min-width: 768px) {
  .poker-table-area { border-radius: 40% / 30%; }
  .card-large { width: 60px; height: 84px; }
}

/* ---- Avatar ---- */

.user-avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--border);
  margin: 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  color: var(--text-primary);
}

/* ---- Leaderboard ---- */

.leaderboard-list { display: flex; flex-direction: column; gap: 8px; }

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.leaderboard-item.top-1 { border-color: #ffd700; background: rgba(255, 215, 0, 0.06); }
.leaderboard-item.top-2 { border-color: #c0c0c0; background: rgba(192, 192, 192, 0.04); }
.leaderboard-item.top-3 { border-color: #cd7f32; background: rgba(205, 127, 50, 0.04); }

.lb-rank {
  font-size: 18px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  color: var(--text-muted);
}

.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.lb-info { flex: 1; min-width: 0; }
.lb-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-stats { font-size: 12px; color: var(--text-muted); }

.lb-profit {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.lb-profit.positive { color: var(--green); }
.lb-profit.negative { color: var(--red); }

/* ---- Tab buttons ---- */
.tab-btn.active {
  background: var(--green) !important;
  color: white !important;
}

.tab-content { flex: 1; overflow-y: auto; }

/* ---- Winner showdown ---- */
.winner-entry-big {
  text-align: center;
  padding: 16px 12px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,165,0,0.08));
  border: 2px solid var(--gold);
  animation: winnerPulse 1.5s ease-in-out infinite;
}
.winner-entry-big.winner-me {
  background: linear-gradient(135deg, rgba(0,255,100,0.12), rgba(255,215,0,0.1));
  border-color: var(--green);
}
@keyframes winnerPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.2); }
  50% { box-shadow: 0 0 25px rgba(255,215,0,0.4); }
}
.winner-crown {
  font-size: 40px;
  margin-bottom: 4px;
  animation: crownBounce 0.8s ease-out;
}
@keyframes crownBounce {
  0% { transform: scale(0) rotate(-20deg); }
  60% { transform: scale(1.3) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
.winner-avatar-big {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 8px;
  background: var(--bg-dark);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  background-size: cover;
  background-position: center;
}
.winner-name-big {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(255,215,0,0.3);
}
.winner-hand-big {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.winner-amount-big {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}
.winner-cards-big {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.winner-cards-big .card {
  width: 40px;
  height: 56px;
  font-size: 13px;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(255,215,0,0.25);
}
.winner-cards-big .card .card-rank { font-size: 12px; }
.winner-cards-big .card .card-suit { font-size: 14px; }

/* ---- Draw poker card selection ---- */
.card-selected-discard {
  border: 2px solid var(--red) !important;
  box-shadow: 0 0 10px rgba(255,50,50,0.4) !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
