* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 50%, #0f2027 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Nautical wave pattern overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 180, 220, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(120, 180, 220, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

#auth-container, #game-container {
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border: 2px solid #b8860b;
  max-width: 500px;
  width: 90%;
  position: relative;
}

/* Rope border effect */
#auth-container::before, #game-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: repeating-linear-gradient(
    45deg,
    #8b4513 0px,
    #8b4513 4px,
    #a0522d 4px,
    #a0522d 8px
  );
  border-radius: 18px;
  z-index: -1;
}

h1, h2 {
  margin-bottom: 1rem;
  color: #1e3a5f;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-family: 'Georgia', serif;
}

h1 {
  font-size: 2.2rem;
  text-align: center;
}

h1::before {
  content: '⚓ ';
  color: #b8860b;
}

h1::after {
  content: ' ⚓';
  color: #b8860b;
}

input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(145deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
  border: 2px solid #b8860b;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

button:hover {
  background: #5568d3;
}

#game-container {
  max-width: 1200px;
  width: 95%;
}

#game-board {
  margin-top: 0.5rem;
}

#opponent-area {
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  min-height: 100px;
}

#play-area {
  background: linear-gradient(145deg, #87ceeb 0%, #4682b4 100%);
  padding: 0.25rem;
  border-radius: 12px;
  margin-bottom: 0.25rem;
  min-height: 80px;
  text-align: center;
  border: 3px solid #b8860b;
  box-shadow: 
    inset 0 2px 4px rgba(255,255,255,0.3),
    0 4px 8px rgba(0,0,0,0.2);
  position: relative;
}

/* Nautical compass rose in play area */
#play-area::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

#compass-layout {
  position: relative;
  z-index: 1;
}

#player-hand {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.25rem;
  background: linear-gradient(145deg, #deb887 0%, #d2b48c 100%);
  border-radius: 12px;
  border: 2px solid #8b4513;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

#player-hand h3 {
  color: #1e3a5f;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.card {
  width: 50px;
  height: 75px;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #b8860b;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 6px;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border-color: #daa520;
}

.card.hearts, .card.diamonds {
  color: #dc143c;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.card.clubs, .card.spades {
  color: #1e3a5f;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.card-back {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: default;
}

.card-back:hover {
  transform: none;
}

.trump-card {
  border: 3px solid gold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#players-list {
  margin-top: 1rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 5px;
}

#trump-selection {
  background: #fff9c4;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

#trump-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#trump-buttons button {
  width: auto;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
}

#trump-display {
  background: linear-gradient(145deg, #daa520 0%, #b8860b 100%);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #8b4513;
  text-align: center;
  flex: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#trump-display h3 {
  margin: 0;
  color: white;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

#available-games {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

#games-list {
  max-height: 300px;
  overflow-y: auto;
}

#current-game {
  background: #e3f2fd;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

#chat-container {
  background: linear-gradient(145deg, #f0f8ff 0%, #e6f3ff 100%);
  border: 2px solid #4682b4;
  border-radius: 12px;
  margin-top: 0.5rem;
  padding: 0.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

#chat-container h3 {
  margin: 0 0 0.5rem 0;
  color: #1e3a5f;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

#chat-container h3::before {
  content: '💬 ';
  font-size: 1.1rem;
}

#chat-messages {
  height: 120px;
  overflow-y: auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #b8860b;
  border-radius: 8px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.chat-message {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: white;
  border-radius: 5px;
  border-left: 3px solid #667eea;
}

.chat-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.chat-timestamp {
  font-size: 0.75rem;
  color: #999;
}

.chat-message-text {
  color: #333;
  word-wrap: break-word;
}

#chat-input-area {
  display: flex;
  gap: 0.5rem;
}

#chat-input {
  flex: 1;
  margin-bottom: 0;
}

#chat-input-area button {
  width: auto;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0;
}

#game-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: linear-gradient(145deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 12px;
  border: 2px solid #4682b4;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

#player-info {
  background: linear-gradient(145deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #b8860b;
  text-align: center;
  flex: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#player-info h3 {
  margin: 0;
  color: white;
  font-size: 1rem;
}

#turn-indicator {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#turn-indicator p {
  margin: 0;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

#compass-layout {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0.5rem auto;
}

.played-card-wrapper {
  position: absolute;
  text-align: center;
}

.played-card-wrapper .player-label {
  font-weight: bold;
  font-size: 0.8rem;
  margin: 0.25rem 0;
  color: #333;
}

.played-card-wrapper.north {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.played-card-wrapper.south {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.played-card-wrapper.east {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.played-card-wrapper.west {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.played-card-wrapper.north .player-label {
  order: -1;
}

.played-card-wrapper.south .player-label {
  order: 1;
}

.played-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hand-summary-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
}

#declare-20-section {
  text-align: center;
  margin: 0.5rem 0;
  padding: 0.75rem;
  background: #fff3e0;
  border-radius: 8px;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

#declare-50-button {
  background: #d32f2f;
  color: white;
  font-weight: bold;
  width: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

#declare-50-button:hover {
  background: #b71c1c;
}

#declare-20-button {
  background: #ff9800;
  color: white;
  font-weight: bold;
  width: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

#declare-20-button:hover {
  background: #f57c00;
}

#skip-20-button {
  background: #9e9e9e;
  color: white;
  width: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

#skip-20-button:hover {
  background: #757575;
}

/* Responsive design for smaller screens */
@media (max-height: 800px) {
  .card {
    width: 50px;
    height: 75px;
    font-size: 0.8rem;
  }
  
  #compass-layout {
    width: 200px;
    height: 200px;
  }
  
  #chat-messages {
    height: 100px;
  }
  
  #player-hand {
    gap: 6px;
    padding: 0.25rem;
  }
}

@media (max-width: 768px) {
  .card {
    width: 40px;
    height: 60px;
    font-size: 0.7rem;
  }
  
  #compass-layout {
    width: 160px;
    height: 160px;
  }
  
  #player-hand {
    gap: 4px;
  }
  
  #game-header {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  #player-info h3, #trump-display h3 {
    font-size: 0.9rem;
  }
}

#declare-20-button {
  background: #ff9800;
  color: white;
  font-weight: bold;
  margin-right: 0.5rem;
}

#declare-20-button:hover {
  background: #f57c00;
}

#skip-20-button {
  background: #9e9e9e;
  color: white;
}

#skip-20-button:hover {
  background: #757575;
}
/* Lobby Layout Styles */
#game-container {
  max-width: 1200px;
  width: 95%;
}

#lobby-columns {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

#lobby-left {
  flex: 1;
  min-width: 400px;
}

#lobby-right {
  flex: 1;
  min-width: 300px;
}

#online-users-panel, #running-games-panel {
  background: linear-gradient(145deg, #f0f8ff 0%, #e6f3ff 100%);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid #4682b4;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

#online-users-panel::before {
  content: '🧭 ';
  font-size: 1.2rem;
}

#running-games-panel::before {
  content: '⛵ ';
  font-size: 1.2rem;
}

#online-users-panel h3, #running-games-panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #1e3a5f;
  font-size: 1.1rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.user-item, .running-game-item {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 8px;
  border: 1px solid #b8860b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.user-item:hover, .running-game-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-color: #daa520;
}

.user-item:last-child, .running-game-item:last-child {
  margin-bottom: 0;
}

.user-status {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-weight: bold;
}

.user-status.online {
  background: #d4edda;
  color: #155724;
}

.user-status.in-game {
  background: #fff3cd;
  color: #856404;
}

.game-status {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-weight: bold;
  background: #d1ecf1;
  color: #0c5460;
}

/* Responsive Design */
@media (max-width: 768px) {
  #lobby-columns {
    flex-direction: column;
    gap: 1rem;
  }
  
  #lobby-left, #lobby-right {
    min-width: unset;
    width: 100%;
  }
  
  #game-container {
    width: 98%;
    padding: 1rem;
  }
}
/* Admin Styles */
.admin-badge {
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  font-weight: bold;
}

.admin-cancel-btn {
  background: #dc3545 !important;
  color: white !important;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.2s;
}

.admin-cancel-btn:hover {
  background: #c82333 !important;
}

.admin-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Compact turn indicator styles */
.turn-message {
  padding: 0.5rem !important;
  border-radius: 6px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  font-size: 1rem !important;
}

.turn-message.success {
  color: white !important;
  background: #4caf50 !important;
}

.turn-message.info {
  color: #333 !important;
  background: #fff3e0 !important;
}

.turn-message.warning {
  color: #ff9800 !important;
  background: #fff3e0 !important;
}

.turn-message.error {
  color: white !important;
  background: #d32f2f !important;
}
button:hover {
  background: linear-gradient(145deg, #3a6bb0 0%, #2e4a6f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  border-color: #daa520;
}
/* Trump card special styling */
.card.trump-card {
  background: linear-gradient(145deg, #ffd700 0%, #daa520 100%);
  border-color: #b8860b;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 0 8px rgba(218, 165, 32, 0.4);
}

.card.trump-card:hover {
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 0 12px rgba(218, 165, 32, 0.6);
}

/* Nautical decorative elements */
.nautical-divider {
  text-align: center;
  margin: 1rem 0;
  color: #4682b4;
  font-size: 1.2rem;
}

.nautical-divider::before {
  content: '⚓ ～～～ ⚓';
}

/* Lighthouse beam effect for important notifications */
.lighthouse-glow {
  animation: lighthouse 3s ease-in-out infinite;
}

@keyframes lighthouse {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(70, 130, 180, 0.4);
  }
}

/* Wave animation for water elements */
.wave-animation {
  background-size: 200% 100%;
  animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* Beta notice styling */
#beta-notice a {
  color: #856404 !important;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s ease;
}

#beta-notice a:hover {
  color: #d39e00 !important;
  text-decoration: none;
}
/* Compact Misplay Challenge Cards */
.misplay-trick-card {
  transition: all 0.2s ease;
  cursor: pointer;
}

.misplay-trick-card:hover {
  background-color: #f0f8ff !important;
  border-color: #2196f3 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.misplay-mini-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  padding: 0.25rem;
  margin: 0 1px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.1s ease;
  position: relative;
}

.misplay-mini-card:hover {
  background: #e9ecef;
  transform: scale(1.05);
}

.misplay-challenge-container {
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b8860b #f1f1f1;
}

.misplay-challenge-container::-webkit-scrollbar {
  width: 8px;
}

.misplay-challenge-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.misplay-challenge-container::-webkit-scrollbar-thumb {
  background: #b8860b;
  border-radius: 4px;
}

.misplay-challenge-container::-webkit-scrollbar-thumb:hover {
  background: #996f0a;
}

.misplay-tricks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .misplay-tricks-grid {
    grid-template-columns: 1fr;
  }
  
  .misplay-challenge-container {
    max-height: 60vh;
  }
}
/* Lead card and play order indicators */
.misplay-lead-indicator {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 8px;
  font-weight: bold;
  z-index: 2;
  white-space: nowrap;
}

.misplay-play-order {
  position: absolute;
  top: -5px;
  right: -2px;
  background: #2196f3;
  color: white;
  font-size: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}

.misplay-lead-card {
  border: 2px solid #4caf50 !important;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.4) !important;
}
/* Pulse animation for start new game button */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
  }
}
/* Mobile Responsiveness - Tablets and smaller */
@media (max-width: 768px) {
  #auth-container, #game-container {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    margin: 0.5rem;
  }

  /* Stack lobby columns vertically on tablets and mobile */
  #lobby-columns {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  #lobby-left, #lobby-right {
    min-width: auto !important;
    flex: none !important;
  }

  /* Beta notice - ensure it spans full width */
  #beta-notice {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Mobile phones - more compact */
@media (max-width: 480px) {
  body {
    padding: 0.25rem;
  }

  #auth-container, #game-container {
    padding: 0.75rem;
    margin: 0.25rem;
  }

  /* Smaller text for mobile */
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }

  /* Beta notice - more compact on mobile */
  #beta-notice {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  #beta-notice p {
    font-size: 0.8rem !important;
  }

  /* Compact cards for mobile */
  .card {
    width: 32px;
    height: 48px;
    font-size: 0.7rem;
    margin: 0 1px;
  }

  /* Smaller compass for mobile */
  #compass-layout {
    width: 160px;
    height: 160px;
  }

  /* Compact chat for mobile */
  #chat-messages {
    height: 70px;
  }

  /* Smaller buttons for mobile */
  button {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  /* Compact input fields */
  input[type="text"], input[type="password"], input[type="email"] {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  /* Admin stats panel - more compact */
  #admin-stats-panel {
    padding: 0.5rem;
  }

  #admin-stats-panel h3 {
    font-size: 0.9rem;
  }

  #admin-stats-panel p {
    font-size: 0.8rem;
  }

  /* Turn indicator and declaration prompts - mobile friendly */
  #turn-indicator {
    font-size: 0.85rem;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
  }

  #turn-indicator h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  #turn-indicator p {
    font-size: 0.8rem;
    margin: 0.25rem 0;
  }

  #turn-indicator > div {
    padding: 0.75rem !important;
    margin: 0.5rem 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Declaration showing buttons - mobile friendly */
  #turn-indicator button {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    margin: 0.25rem !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 80px !important;
  }
}