* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a2e;
  color: #fff;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

#game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #16213e 0%, #0f0f23 100%);
}

#poker-table {
  position: relative;
  width: 900px;
  height: 480px;
  border-radius: 240px;
  background: radial-gradient(ellipse at center, var(--table-color-light) 0%, var(--table-color) 60%, var(--table-color-dark) 100%);
  border: 14px solid #5c3a1e;
  box-shadow: 0 0 0 6px #3a2510, 0 0 60px rgba(0,0,0,0.7), inset 0 0 80px rgba(0,0,0,0.3);
}

:root {
  --table-color: #0b6623;
  --table-color-light: #149938;
  --table-color-dark: #064016;
  --card-back: #2c3e7b;
  --card-back-pattern: #1a2a5e;
  --chip-main: #e74c3c;
}

#poker-table::after {
  content: '';
  position: absolute;
  top: 22px; left: 22px; right: 22px; bottom: 22px;
  border-radius: 220px;
  border: 2px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

#pot-display {
  position: absolute; top: 42%; left: 50%;
  transform: translate(-50%, -50%); text-align: center; z-index: 20;
}
#pot-display .pot-chips { display: flex; gap: 2px; justify-content: center; margin-bottom: 4px; }
#pot-display .pot-chip { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.4); }
#pot-display .pot-amount { background: rgba(0,0,0,0.65); padding: 4px 16px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #ffd700; }

#community-cards {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); display: flex; gap: 8px; z-index: 15;
}

.card {
  width: 58px; height: 82px; border-radius: 7px; background: #fff;
  border: 1.5px solid #bbb; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35); position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.red { color: #d32f2f; }
.card.black { color: #222; }
.card .rank { font-size: 16px; line-height: 1; }
.card .suit { font-size: 22px; line-height: 1; }
.card .corner-top { position: absolute; top: 3px; left: 5px; font-size: 10px; line-height: 1.1; text-align: center; }
.card .corner-bottom { position: absolute; bottom: 3px; right: 5px; font-size: 10px; line-height: 1.1; text-align: center; transform: rotate(180deg); }
.card.face-down {
  background: repeating-linear-gradient(45deg, var(--card-back), var(--card-back) 4px, var(--card-back-pattern) 4px, var(--card-back-pattern) 8px);
  border: 2px solid #1a1a4e; color: transparent;
}
.card.face-down::after { content: '♠'; position: absolute; font-size: 24px; color: rgba(255,255,255,0.15); }
.card.dealing { animation: dealCard 0.4s ease-out; }
@keyframes dealCard { from { transform: translate(-200px,-150px) rotate(-20deg) scale(0.3); opacity:0; } to { transform: translate(0,0) rotate(0) scale(1); opacity:1; } }

.player-seat {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; z-index: 10; transition: all 0.3s ease;
}
.player-seat.active-turn { z-index: 25; }
.player-seat.active-turn .player-info { box-shadow: 0 0 0 3px #ffd700, 0 0 20px rgba(255,215,0,0.5); border-color: #ffd700; }
.player-seat.folded { opacity: 0.45; }
.player-seat.folded .player-cards .card { filter: grayscale(1); }

.player-info {
  background: linear-gradient(135deg, #2c2c54, #1e1e3f);
  border: 2px solid #444; border-radius: 12px; padding: 6px 14px;
  text-align: center; min-width: 100px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4); position: relative;
}
.player-name { font-size: 11px; font-weight: 600; color: #e0e0e0; margin-bottom: 2px; white-space: nowrap; }
.player-stack { font-size: 13px; font-weight: 700; color: #ffd700; }
.player-status { font-size: 9px; font-weight: 600; margin-top: 2px; padding: 1px 8px; border-radius: 8px; display: inline-block; }
.player-status.active { background: #27ae60; color: #fff; }
.player-status.folded-status { background: #7f8c8d; color: #fff; }
.player-status.allin-status { background: #e74c3c; color: #fff; }
.player-status.winner { background: #f1c40f; color: #222; }

.player-cards { display: flex; gap: 3px; margin-bottom: 4px; }
.player-cards .card { width: 42px; height: 60px; }
.player-cards .card .rank { font-size: 12px; }
.player-cards .card .suit { font-size: 15px; }
.player-cards .card .corner-top { font-size: 7px; top: 2px; left: 3px; }
.player-cards .card .corner-bottom { font-size: 7px; bottom: 2px; right: 3px; }

.player-seat[data-seat="0"] .player-cards .card { width: 58px; height: 82px; }
.player-seat[data-seat="0"] .player-cards .card .rank { font-size: 16px; }
.player-seat[data-seat="0"] .player-cards .card .suit { font-size: 22px; }
.player-seat[data-seat="0"] .player-cards .card .corner-top { font-size: 10px; top: 3px; left: 5px; }
.player-seat[data-seat="0"] .player-cards .card .corner-bottom { font-size: 10px; bottom: 3px; right: 5px; }

.player-bet { position: absolute; display: flex; flex-direction: column; align-items: center; z-index: 12; }
.player-bet .bet-chips { display: flex; gap: 1px; }
.player-bet .chip { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.player-bet .bet-amount { font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.6); padding: 1px 7px; border-radius: 8px; margin-top: 2px; }

.position-badge {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 14; border: 2px solid #fff;
}
.badge-dealer { background: #f1c40f; color: #222; }
.badge-sb { background: #3498db; color: #fff; }
.badge-bb { background: #e67e22; color: #fff; }

#action-panel {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%); display: none;
  flex-direction: column; align-items: center; gap: 8px; z-index: 100;
  background: linear-gradient(180deg, rgba(20,20,40,0.95), rgba(10,10,30,0.98));
  padding: 14px 24px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.6);
}
#action-panel.visible { display: flex; }

#slider-row { display: flex; align-items: center; gap: 10px; width: 100%; }
#bet-slider { flex: 1; -webkit-appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #3498db, #e74c3c); outline: none; }
#bet-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #ffd700; border: 2px solid #fff; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
#bet-value { font-size: 16px; font-weight: 700; color: #ffd700; min-width: 60px; text-align: center; background: rgba(0,0,0,0.4); padding: 4px 10px; border-radius: 8px; }

#presets-row { display: flex; gap: 6px; }
.preset-btn { padding: 4px 10px; font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.08); color: #ccc; cursor: pointer; transition: all 0.2s; }
.preset-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }

#buttons-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.action-btn { padding: 10px 18px; border: none; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s ease; text-transform: uppercase; letter-spacing: 0.5px; min-width: 75px; }
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.action-btn:active { transform: translateY(0); }
.action-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
#btn-fold { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
#btn-check { background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff; }
#btn-call { background: linear-gradient(135deg, #3498db, #2980b9); color: #fff; }
#btn-bet { background: linear-gradient(135deg, #f39c12, #e67e22); color: #fff; }
#btn-raise { background: linear-gradient(135deg, #f39c12, #d35400); color: #fff; }
#btn-allin { background: linear-gradient(135deg, #e74c3c, #8e44ad); color: #fff; }

#blind-timer-display {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%); z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
#blind-timer-box {
  background: linear-gradient(135deg, rgba(30,30,60,0.95), rgba(15,15,35,0.98));
  border: 1px solid rgba(255,215,0,0.3); border-radius: 14px;
  padding: 8px 20px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); min-width: 200px;
}
#blind-timer-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
#blind-timer-time { font-size: 28px; font-weight: 800; color: #ffd700; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
#blind-timer-time.warning { color: #e74c3c; animation: timerPulse 1s ease infinite; }
@keyframes timerPulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
#blind-timer-next { font-size: 11px; color: #888; margin-top: 2px; }
#blind-timer-bar { width: 180px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
#blind-timer-fill { height: 100%; background: linear-gradient(90deg, #2ecc71, #f1c40f, #e74c3c); border-radius: 2px; transition: width 1s linear; width: 100%; }
#blind-level-badge { font-size: 10px; background: rgba(255,215,0,0.15); color: #ffd700; padding: 2px 10px; border-radius: 8px; border: 1px solid rgba(255,215,0,0.2); }
#blind-timer-display.hidden { display: none; }

#settings-btn {
  position: absolute; top: 14px; right: 14px; z-index: 200;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; width: 42px; height: 42px; border-radius: 50%;
  font-size: 20px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
#settings-btn:hover { background: rgba(255,255,255,0.2); transform: rotate(30deg); }

#settings-panel {
  position: absolute; top: 0; right: -400px; width: 380px; height: 100vh;
  background: linear-gradient(180deg, #1e1e3f, #12122a);
  border-left: 1px solid rgba(255,255,255,0.1);
  z-index: 300; padding: 24px; transition: right 0.35s ease;
  overflow-y: auto; box-shadow: -4px 0 30px rgba(0,0,0,0.5);
}
#settings-panel.open { right: 0; }
#settings-panel h2 { font-size: 20px; margin-bottom: 16px; color: #ffd700; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.setting-group { margin-bottom: 16px; }
.setting-group label { display: block; font-size: 13px; color: #aaa; margin-bottom: 6px; font-weight: 600; }
.color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 3px solid transparent; transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: #ffd700; box-shadow: 0 0 10px rgba(255,215,0,0.5); }
#close-settings { position: absolute; top: 14px; right: 14px; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

.toggle-container { display: flex; align-items: center; gap: 10px; }
.toggle-switch {
  position: relative; width: 48px; height: 26px;
  background: #444; border-radius: 13px; cursor: pointer; transition: background 0.3s;
}
.toggle-switch.on { background: #2ecc71; }
.toggle-switch .toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: left 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.toggle-switch.on .toggle-knob { left: 25px; }
.toggle-label { font-size: 13px; color: #ccc; }

.table-size-options { display: flex; gap: 8px; margin-top: 6px; }
.table-size-btn {
  padding: 8px 16px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: #ccc; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; flex: 1; text-align: center;
}
.table-size-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.table-size-btn.selected { border-color: #ffd700; background: rgba(255,215,0,0.15); color: #ffd700; }
.table-size-btn .size-detail { font-size: 10px; color: #888; margin-top: 2px; display: block; }

.settings-action-btn {
  width: 100%; padding: 12px; border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; text-align: center; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.settings-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
#btn-new-game { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
#btn-share-score { background: linear-gradient(135deg, #3498db, #2980b9); color: #fff; }

#btn-support-dev {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#btn-support-dev::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
#btn-support-dev:hover {
  box-shadow: 0 4px 20px rgba(243,156,18,0.4);
  transform: translateY(-2px);
}
.support-subtitle {
  font-size: 10px;
  opacity: 0.8;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

#last-hand-toggle {
  width: 100%; padding: 10px 16px;
  background: linear-gradient(135deg, #2c2c54, #1e1e3f);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  color: #ffd700; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
}
#last-hand-toggle:hover { background: linear-gradient(135deg, #3c3c64, #2e2e4f); }
#last-hand-toggle .arrow { transition: transform 0.3s; }
#last-hand-toggle.expanded .arrow { transform: rotate(180deg); }
#last-hand-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(0,0,0,0.3); border-radius: 0 0 10px 10px; margin-top: -2px; }
#last-hand-content.expanded { max-height: 600px; }
#last-hand-inner { padding: 12px; }
.last-hand-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 11px; flex-wrap: wrap; }
.last-hand-row:last-child { border-bottom: none; }
.last-hand-row .lh-name { font-weight: 600; color: #e0e0e0; min-width: 60px; }
.last-hand-row .lh-cards { display: flex; gap: 3px; }
.last-hand-row .lh-action { color: #888; font-style: italic; }
.last-hand-row .lh-result { font-weight: 700; }
.last-hand-row .lh-result.win { color: #2ecc71; }
.last-hand-row .lh-result.lose { color: #e74c3c; }
.lh-card {
  width: 28px; height: 40px; border-radius: 4px; background: #fff;
  border: 1px solid #ccc; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700;
  font-size: 9px; line-height: 1.1; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lh-card.red { color: #d32f2f; }
.lh-card.black { color: #222; }
.lh-card .lh-rank { font-size: 10px; }
.lh-card .lh-suit { font-size: 12px; }
.lh-community { display: flex; gap: 3px; margin: 6px 0; justify-content: center; }
.lh-section-title { font-size: 11px; color: #ffd700; font-weight: 700; margin: 6px 0 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.lh-winner-banner {
  background: linear-gradient(135deg, rgba(46,204,113,0.2), rgba(39,174,96,0.2));
  border: 1px solid rgba(46,204,113,0.3); border-radius: 8px;
  padding: 8px 12px; text-align: center; margin-top: 8px;
  font-size: 13px; font-weight: 700; color: #2ecc71;
}
.lh-no-data { color: #666; font-style: italic; text-align: center; padding: 20px; font-size: 13px; }

#share-modal {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 500;
  display: none; align-items: center; justify-content: center;
}
#share-modal.visible { display: flex; }
#share-modal-content {
  background: linear-gradient(135deg, #1e1e3f, #12122a);
  border: 1px solid rgba(255,215,0,0.3); border-radius: 20px;
  padding: 30px; max-width: 440px; width: 90%; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
#share-modal-content h3 { color: #ffd700; font-size: 20px; margin-bottom: 14px; }
#share-text {
  width: 100%; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 12px; color: #fff; font-size: 12px;
  resize: none; font-family: inherit; margin-bottom: 14px; min-height: 120px;
}
#share-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
#share-buttons button {
  padding: 10px 20px; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
#btn-copy-share { background: #2ecc71; color: #fff; }
#btn-close-share { background: #7f8c8d; color: #fff; }

#support-modal {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 500;
  display: none; align-items: center; justify-content: center;
}
#support-modal.visible { display: flex; }
#support-modal-content {
  background: linear-gradient(135deg, #1e1e3f, #12122a);
  border: 1px solid rgba(243,156,18,0.4); border-radius: 20px;
  padding: 30px; max-width: 420px; width: 90%; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
#support-modal-content h3 { color: #ffd700; font-size: 22px; margin-bottom: 8px; }
#support-modal-content .support-emoji { font-size: 48px; margin-bottom: 10px; }
#support-modal-content .support-desc {
  color: #bbb; font-size: 14px; line-height: 1.6; margin-bottom: 20px;
}
#support-modal-content .support-link-btn {
  display: inline-block; padding: 14px 32px; border: none; border-radius: 14px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, #f39c12, #e67e22); color: #fff;
  text-decoration: none; transition: all 0.2s; margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(243,156,18,0.3);
}
#support-modal-content .support-link-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(243,156,18,0.5); }
#support-modal-content .support-close-btn {
  display: block; margin: 0 auto; padding: 8px 24px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px; background: transparent; color: #888; font-size: 13px;
  cursor: pointer; transition: all 0.2s;
}
#support-modal-content .support-close-btn:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

#top-bar {
  position: absolute; top: 14px; left: 14px; z-index: 50;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; max-width: 200px;
}
.top-info {
  background: rgba(0,0,0,0.5); padding: 5px 12px; border-radius: 10px;
  font-size: 11px; color: #ccc; border: 1px solid rgba(255,255,255,0.1);
}
.top-info span { color: #ffd700; font-weight: 700; }

#overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); display: none;
  align-items: center; justify-content: center; z-index: 400; flex-direction: column;
}
#overlay.visible { display: flex; }
#overlay h2 { font-size: 26px; color: #ffd700; margin-bottom: 10px; }
#overlay p { font-size: 15px; color: #ccc; margin-bottom: 20px; text-align: center; line-height: 1.5; white-space: pre-line; }
#overlay button {
  padding: 12px 36px; font-size: 16px; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #f1c40f, #e67e22); color: #222; transition: all 0.2s;
}
#overlay button:hover { transform: scale(1.05); }

#blind-notification {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0); z-index: 500;
  background: linear-gradient(135deg, rgba(231,76,60,0.95), rgba(192,57,43,0.95));
  border: 2px solid #ffd700; border-radius: 20px;
  padding: 20px 40px; text-align: center;
  box-shadow: 0 0 60px rgba(231,76,60,0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s; opacity: 0;
}
#blind-notification.visible { transform: translate(-50%, -50%) scale(1); opacity: 1; }
#blind-notification h3 { font-size: 22px; color: #ffd700; margin-bottom: 6px; }
#blind-notification p { font-size: 16px; color: #fff; margin: 0; }

#message-log {
  position: absolute; bottom: 120px; left: 14px; z-index: 50;
  max-width: 250px; max-height: 140px; overflow-y: auto;
  display: flex; flex-direction: column-reverse; gap: 3px;
}
.log-msg { font-size: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,0.6); color: #bbb; animation: fadeInLog 0.3s ease; }
.log-msg.important { color: #ffd700; }
@keyframes fadeInLog { from { opacity:0; transform: translateX(-10px); } to { opacity:1; transform: translateX(0); } }

@keyframes winPulse { 0%,100% { box-shadow: 0 0 0 3px #ffd700, 0 0 20px rgba(255,215,0,0.4); } 50% { box-shadow: 0 0 0 6px #ffd700, 0 0 40px rgba(255,215,0,0.7); } }
.player-seat.winner-seat .player-info { animation: winPulse 0.8s ease infinite; border-color: #ffd700; }

.timer-bar { width: 100%; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-top: 4px; overflow: hidden; display: none; }
.timer-bar.active { display: block; }
.timer-fill { height: 100%; background: linear-gradient(90deg, #2ecc71, #f1c40f, #e74c3c); border-radius: 2px; transition: width 0.1s linear; }

.settings-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 16px 0; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* Copyright signature */
#vs-signature {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  letter-spacing: 1px;
  text-shadow: 0 0 2px rgba(0,0,0,0.8);
}
