/* theme-kokoro.css - Kokoro (Heart) Theme */
/* Extremely cute Japanese kawaii aesthetic */
/* Soft pinks, warm creams, playful rounded elements */
/* Applied via body.theme-kokoro class */

body.theme-kokoro {
  /* ============================================
     BACKGROUNDS - Soft warm pinks (no harsh whites)
     ============================================ */
  --bg-base: #fce8ec;
  --bg-elevated: #fde4e9;
  --bg-surface-1: #f8d8df;
  --bg-surface-2: #f4ccd5;
  --bg-overlay: rgba(252, 228, 235, 0.97);
  --bg-overlay-heavy: rgba(250, 220, 230, 0.98);

  /* Game interface background - soft kawaii pink */
  --bg-game-center: #ffd8e2;
  --bg-game-edge: #ffc8d8;

  /* Panel/container backgrounds - soft pink */
  --bg-panel-start: rgba(252, 225, 232, 0.96);
  --bg-panel-end: rgba(248, 215, 225, 0.98);
  --bg-panel-solid: rgba(250, 228, 235, 0.98);

  /* Input/form backgrounds - soft pink (not white) */
  --bg-input-start: rgba(255, 240, 243, 0.95);
  --bg-input-end: rgba(252, 235, 240, 0.95);
  --bg-input-focus-start: rgba(255, 245, 248, 1);
  --bg-input-focus-end: rgba(252, 240, 245, 1);

  /* Button backgrounds - cute pink */
  --bg-button-start: rgba(255, 150, 170, 0.95);
  --bg-button-end: rgba(255, 130, 150, 0.95);
  --bg-button-hover-start: rgba(255, 170, 185, 0.95);
  --bg-button-hover-end: rgba(255, 150, 170, 0.95);
  --bg-button-secondary-start: rgba(255, 220, 225, 0.9);
  --bg-button-secondary-end: rgba(255, 200, 210, 0.9);

  /* Glass effect - soft pink tint */
  --bg-glass: rgba(255, 200, 210, 0.15);
  --bg-glass-hover: rgba(255, 200, 210, 0.25);

  /* ============================================
     TEXT COLORS - Warm browns and pinks
     ============================================ */
  --text-primary: #5a3a3a;
  --text-secondary: #8a6a6a;
  --text-muted: #aa8a8a;
  --text-disabled: #caa0a0;
  --text-inverse: #fff5f5;
  --text-white: #5a3a3a;

  --text-label: #7a5a5a;
  --text-label-light: #9a7070;

  /* ============================================
     ACCENT COLORS - Vibrant pink/coral
     ============================================ */
  --accent-primary: #ff7090;
  --accent-primary-hover: #ff5080;

  /* Pink accent with opacity variants */
  --accent-blue: rgba(255, 120, 150, 1);
  --accent-blue-90: rgba(255, 120, 150, 0.9);
  --accent-blue-80: rgba(255, 120, 150, 0.8);
  --accent-blue-60: rgba(255, 120, 150, 0.6);
  --accent-blue-50: rgba(255, 120, 150, 0.5);
  --accent-blue-40: rgba(255, 120, 150, 0.4);
  --accent-blue-30: rgba(255, 120, 150, 0.3);
  --accent-blue-20: rgba(255, 120, 150, 0.2);
  --accent-blue-15: rgba(255, 120, 150, 0.15);
  --accent-blue-12: rgba(255, 120, 150, 0.12);
  --accent-blue-10: rgba(255, 120, 150, 0.1);
  --accent-blue-08: rgba(255, 120, 150, 0.08);
  --accent-blue-05: rgba(255, 120, 150, 0.05);

  --accent-blue-light: rgba(255, 150, 175, 0.6);
  --accent-blue-bright: rgba(255, 180, 200, 0.5);
  --accent-cyan: rgba(255, 200, 180, 0.4);

  /* ============================================
     BORDER COLORS - Soft pink borders
     ============================================ */
  --border-default: rgba(220, 160, 170, 0.5);
  --border-subtle: rgba(220, 160, 170, 0.3);
  --border-faint: rgba(220, 160, 170, 0.2);
  --border-strong: rgba(200, 130, 145, 0.6);
  --border-focus: rgba(255, 120, 150, 0.7);
  --border-glow: rgba(255, 150, 175, 0.6);

  /* Soft glass border */
  --border-glass: rgba(255, 180, 190, 0.25);
  --border-glass-strong: rgba(255, 160, 175, 0.4);

  --border-separator: rgba(220, 170, 180, 0.3);

  /* ============================================
     STATUS COLORS - Soft pastels
     ============================================ */
  /* Success - Mint green */
  --status-success: #70d4a0;
  --status-success-dark: #50c080;
  --status-success-bg: rgba(112, 212, 160, 0.2);
  --status-success-border: rgba(112, 212, 160, 0.5);

  /* Error - Soft coral */
  --status-error: #ff8080;
  --status-error-dark: #ff6060;
  --status-error-bg: rgba(255, 128, 128, 0.2);
  --status-error-border: rgba(255, 128, 128, 0.5);

  /* Warning - Peachy orange */
  --status-warning: #ffaa70;
  --status-warning-dark: #ff9050;
  --status-warning-bg: rgba(255, 170, 112, 0.2);

  /* Info - Soft lavender */
  --status-info: #a0a0ff;
  --status-info-bg: rgba(160, 160, 255, 0.15);

  /* Gold - Warm honey */
  --status-gold: #ffc060;
  --status-gold-dark: #ffa840;
  --status-gold-bg: rgba(255, 192, 96, 0.2);

  /* ============================================
     GAME BOARD - CELLS
     ============================================ */
  /* Hidden cell */
  --cell-hidden-start: rgba(255, 200, 180, 0.95);
  --cell-hidden-end: rgba(245, 180, 160, 0.95);
  --cell-hidden-border: rgba(220, 160, 140, 0.5);
  --cell-hidden-hover-start: rgba(255, 215, 195, 0.95);
  --cell-hidden-hover-end: rgba(255, 200, 180, 0.95);
  --cell-hidden-hover-border: rgba(240, 180, 160, 0.6);

  /* Revealed cell */
  --cell-revealed-start: rgba(255, 235, 225, 0.95);
  --cell-revealed-end: rgba(250, 225, 215, 0.95);
  --cell-revealed-border: rgba(220, 180, 170, 0.4);

  /* Mine cell - soft red */
  --cell-mine-start: rgba(255, 120, 120, 0.95);
  --cell-mine-end: rgba(240, 100, 100, 0.95);
  --cell-mine-border: rgba(220, 80, 80, 0.6);

  /* Flagged cell */
  --cell-flagged-start: rgba(255, 180, 190, 0.95);
  --cell-flagged-end: rgba(245, 160, 175, 0.95);
  --cell-flagged-border: rgba(240, 140, 160, 0.5);
  --cell-flag-color: #ff6080;

  /* Game board container */
  --board-bg-start: rgba(139, 74, 90, 0.95);
  --board-bg-end: rgba(107, 58, 74, 0.95);
  --board-border: rgba(212, 175, 165, 0.6);

  /* ============================================
     CELL NUMBER COLORS - Cute pastels
     ============================================ */
  --cell-n1: #70a0ff;  /* Soft blue */
  --cell-n2: #70c890;  /* Mint green */
  --cell-n3: #ff7090;  /* Coral pink */
  --cell-n4: #a080d0;  /* Lavender */
  --cell-n5: #ffa060;  /* Peachy */
  --cell-n6: #60c0c0;  /* Teal */
  --cell-n7: #c07090;  /* Dusty rose */
  --cell-n8: #a0a0a0;  /* Soft gray */

  /* Soft glow */
  --cell-number-glow: 0.3;

  /* ============================================
     AI DIFFICULTY COLORS
     ============================================ */
  --ai-beginner: #70d4a0;
  --ai-beginner-bg: rgba(112, 212, 160, 0.15);
  --ai-intermediate: #ffc060;
  --ai-intermediate-bg: rgba(255, 192, 96, 0.15);
  --ai-expert: #ff8080;
  --ai-expert-bg: rgba(255, 128, 128, 0.15);

  /* ============================================
     PLAYER COLORS
     ============================================ */
  --player-human: #ff7090;
  --player-human-bg: rgba(255, 112, 144, 0.15);
  --player-ai: #70a0ff;
  --player-ai-bg: rgba(112, 160, 255, 0.15);
  --player-spectator: #a0a0a0;
  --player-disconnected: #c0a0a0;

  /* Progress bar */
  --progress-bar-bg: rgba(255, 150, 170, 0.2);
  --progress-bar-fill: linear-gradient(90deg, #ff7090, #ffa0b0);

  /* ============================================
     HUD ELEMENT BORDERS
     ============================================ */
  --hud-timer-border: rgba(255, 150, 170, 0.5);
  --hud-timer-glow: rgba(255, 150, 170, 0.2);
  --hud-flags-border: rgba(255, 192, 96, 0.5);
  --hud-flags-glow: rgba(255, 192, 96, 0.2);
  --hud-lives-border: rgba(255, 128, 128, 0.5);
  --hud-lives-glow: rgba(255, 128, 128, 0.2);
  --hud-attacks-border: rgba(255, 128, 128, 0.4);
  --hud-powerups-border: rgba(112, 212, 160, 0.4);
  --hud-powerups-glow: rgba(112, 212, 160, 0.2);

  /* ============================================
     SHADOWS & GLOWS - Soft and dreamy
     ============================================ */
  --shadow-sm: 0 2px 8px rgba(150, 100, 110, 0.15);
  --shadow-md: 0 4px 16px rgba(150, 100, 110, 0.2);
  --shadow-lg: 0 8px 32px rgba(150, 100, 110, 0.25);
  --shadow-xl: 0 16px 48px rgba(150, 100, 110, 0.3);

  /* Pink glows */
  --glow-blue-sm: 0 0 12px rgba(255, 150, 170, 0.25);
  --glow-blue-md: 0 0 24px rgba(255, 150, 170, 0.2);
  --glow-blue-lg: 0 0 48px rgba(255, 150, 170, 0.15);
  --glow-green: 0 0 16px rgba(112, 212, 160, 0.25);
  --glow-red: 0 0 16px rgba(255, 128, 128, 0.25);
  --glow-gold: 0 0 16px rgba(255, 192, 96, 0.25);

  /* Text glows */
  --text-glow-blue: 0 0 8px rgba(255, 150, 170, 0.4);
  --text-glow-title: 0 0 16px rgba(255, 150, 170, 0.4);
  --text-glow-success: 0 0 16px rgba(112, 212, 160, 0.4);
  --text-glow-error: 0 0 16px rgba(255, 128, 128, 0.4);

  /* Inset shadows - soft */
  --inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --inset-dark: inset 0 -1px 0 rgba(150, 100, 110, 0.1);
  --inset-button: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(150, 100, 110, 0.1);

  /* ============================================
     GRID PATTERNS - Subtle dots
     ============================================ */
  --grid-line: rgba(255, 180, 190, 0.1);
  --grid-line-accent: rgba(255, 180, 190, 0.2);
  --grid-line-subtle: rgba(255, 180, 190, 0.05);

  /* ============================================
     SCROLLBAR - Pink and cute
     ============================================ */
  --scrollbar-track: rgba(255, 230, 235, 0.5);
  --scrollbar-thumb: rgba(255, 150, 170, 0.5);
  --scrollbar-thumb-hover: rgba(255, 130, 155, 0.7);

  /* ============================================
     MODALS - Soft and rounded
     ============================================ */
  --modal-bg-start: rgba(255, 248, 248, 0.98);
  --modal-bg-end: rgba(255, 242, 245, 0.99);
  --modal-border: rgba(255, 180, 190, 0.5);
  --modal-header-line: rgba(255, 120, 150, 0.8);

  /* ============================================
     CONNECTION QUALITY
     ============================================ */
  --connection-excellent: #70d4a0;
  --connection-good: #a0d870;
  --connection-fair: #ffc060;
  --connection-poor: #ffaa70;
  --connection-bad: #ff8080;

  /* ============================================
     NOTIFICATIONS
     ============================================ */
  --notification-bg: rgba(255, 248, 248, 0.95);
  --notification-border: rgba(255, 180, 190, 0.4);
  --notification-success-border: rgba(112, 212, 160, 0.5);
  --notification-error-border: rgba(255, 128, 128, 0.5);
  --notification-warning-border: rgba(255, 192, 96, 0.5);
}

/* ============================================
   KOKORO THEME - COMPONENT OVERRIDES
   ============================================ */

/* Global font - rounded, cute */
body.theme-kokoro {
  font-family: 'Nunito', 'Quicksand', 'Comic Sans MS', sans-serif;
}

/* Remove harsh shadows, add soft ones */
body.theme-kokoro .lobby-container,
body.theme-kokoro .modal-content,
body.theme-kokoro .power-up-item,
body.theme-kokoro .attack-item {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   GAME INTERFACE - Soft kawaii pink background
   ============================================ */
body.theme-kokoro .game-interface {
  background: linear-gradient(135deg, #ffdce6 0%, #ffd0de 50%, #ffc8d8 100%);
}

body.theme-kokoro .game-interface::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 240, 245, 0.2) 0%, transparent 50%);
  background-size: 100% 100%;
}

body.theme-kokoro .game-interface::after {
  background: radial-gradient(ellipse at center,
    transparent 0%,
    transparent 70%,
    rgba(255, 200, 220, 0.1) 100%);
}

/* ============================================
   GAME BOARD - Rounded and cute
   ============================================ */
body.theme-kokoro .game-board {
  background: linear-gradient(180deg,
    rgba(255, 215, 225, 0.95) 0%,
    rgba(255, 200, 215, 0.95) 100%);
  border: 4px solid rgba(255, 190, 205, 0.6);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(255, 180, 200, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(200, 130, 150, 0.08);
  padding: 6px;
}

/* ============================================
   CELLS - Kokoro image on hidden cells
   ============================================ */

/* Hidden cells in the image area show their piece of the Kokoro image */
body.theme-kokoro .cell.hidden.kokoro-image {
  background-image: url('/images/kokoro.webp');
  background-size: var(--kokoro-bg-size, cover);
  background-position: var(--kokoro-bg-pos, center);
  border: 2px solid rgba(255, 220, 200, 0.5);
  border-radius: 6px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(100, 50, 60, 0.2);
}

body.theme-kokoro .cell.hidden.kokoro-image:hover {
  filter: brightness(1.1) saturate(1.1);
  border-color: rgba(255, 240, 220, 0.8);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(255, 150, 170, 0.3);
  transform: scale(1.02);
}

/* Hidden cells in the bleed area - warm peachy-pink perimeter */
body.theme-kokoro .cell.hidden.kokoro-bleed {
  background: linear-gradient(180deg,
    rgba(255, 210, 200, 0.9) 0%,
    rgba(255, 195, 185, 0.9) 100%);
  border: 2px solid rgba(255, 185, 175, 0.5);
  border-radius: 6px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(200, 140, 120, 0.15);
}

body.theme-kokoro .cell.hidden.kokoro-bleed:hover {
  background: linear-gradient(180deg,
    rgba(255, 220, 210, 0.95) 0%,
    rgba(255, 205, 195, 0.95) 100%);
  border-color: rgba(255, 195, 185, 0.7);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(255, 180, 160, 0.25);
  transform: scale(1.02);
}

/* Revealed cells - soft pink (not white) */
body.theme-kokoro .cell:not(.hidden):not(.flagged):not(.mine) {
  background: linear-gradient(180deg,
    rgba(252, 225, 232, 0.95) 0%,
    rgba(248, 215, 225, 0.95) 100%);
  border: 1px solid rgba(235, 175, 190, 0.5);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(150, 100, 110, 0.1);
}

/* Flagged cells - cute solid pink with cherry blossom */
body.theme-kokoro .cell.flagged {
  background: linear-gradient(180deg,
    rgb(255, 170, 180) 0%,
    rgb(245, 145, 160) 100%) !important;
  border: 2px solid rgba(240, 130, 150, 0.8) !important;
  border-radius: 6px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

/* Ensure flagged cells override kokoro image background */
body.theme-kokoro .cell.flagged.kokoro-image,
body.theme-kokoro .cell.flagged.kokoro-bleed {
  background: linear-gradient(180deg,
    rgb(255, 170, 180) 0%,
    rgb(245, 145, 160) 100%) !important;
  background-image: none !important;
}

body.theme-kokoro .cell.flagged::before {
  content: '🌸';
  font-size: 1rem;
  filter: none;
}

/* Mine cells - soft red with heart */
body.theme-kokoro .cell.mine {
  background: linear-gradient(180deg,
    rgba(255, 140, 140, 0.95) 0%,
    rgba(245, 120, 120, 0.95) 100%);
  border: 2px solid rgba(255, 100, 110, 0.5);
  border-radius: 6px;
  animation: kokoro-mine-reveal 0.3s ease-out;
}

body.theme-kokoro .cell.mine::before {
  content: '🐱';
  font-size: 1rem;
  filter: none;
}

@keyframes kokoro-mine-reveal {
  0% {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 100, 120, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

/* Number colors - cute pastels with soft shadows */
body.theme-kokoro .cell.n1 { color: #5090e0; text-shadow: 0 1px 2px rgba(80, 144, 224, 0.3); }
body.theme-kokoro .cell.n2 { color: #50b080; text-shadow: 0 1px 2px rgba(80, 176, 128, 0.3); }
body.theme-kokoro .cell.n3 { color: #e07090; text-shadow: 0 1px 2px rgba(224, 112, 144, 0.3); }
body.theme-kokoro .cell.n4 { color: #9070c0; text-shadow: 0 1px 2px rgba(144, 112, 192, 0.3); }
body.theme-kokoro .cell.n5 { color: #e09050; text-shadow: 0 1px 2px rgba(224, 144, 80, 0.3); }
body.theme-kokoro .cell.n6 { color: #50a0a0; text-shadow: 0 1px 2px rgba(80, 160, 160, 0.3); }
body.theme-kokoro .cell.n7 { color: #a06080; text-shadow: 0 1px 2px rgba(160, 96, 128, 0.3); }
body.theme-kokoro .cell.n8 { color: #909090; text-shadow: 0 1px 2px rgba(144, 144, 144, 0.3); }

/* ============================================
   LOBBY - Soft and cute
   ============================================ */
body.theme-kokoro .lobby-container {
  background: linear-gradient(180deg,
    rgba(252, 232, 238, 1) 0%,
    rgba(250, 225, 233, 1) 100%);
}

/* Header bar - soft pink kawaii style */
body.theme-kokoro .lobby-header-bar {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%);
  border-bottom: 2px solid rgba(235, 150, 175, 0.4);
  padding: 0.5rem 1rem;
}

body.theme-kokoro .header-title {
  color: #d06080;
  text-shadow: 0 1px 2px rgba(200, 80, 120, 0.2);
  font-weight: 700;
}

body.theme-kokoro .header-right .theme-selector,
body.theme-kokoro .header-records-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%);
  border: 2px solid rgba(255, 150, 170, 0.5);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.2);
}

body.theme-kokoro .header-right .theme-selector {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
}

body.theme-kokoro .header-records-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.3);
}

body.theme-kokoro .lobby-content {
  background: transparent;
}

body.theme-kokoro .lobby-content::-webkit-scrollbar-thumb {
  background: rgba(235, 150, 175, 0.4);
  border-radius: 4px;
}

body.theme-kokoro .lobby-content::-webkit-scrollbar-thumb:hover {
  background: rgba(235, 150, 175, 0.6);
}

/* Title - cute and bouncy */
body.theme-kokoro .lobby-title,
body.theme-kokoro .lobby-header h2 {
  color: #d06080 !important;
  text-shadow: 0 2px 4px rgba(200, 80, 120, 0.2) !important;
  font-weight: 700 !important;
}

body.theme-kokoro .lobby-subtitle,
body.theme-kokoro .lobby-header p {
  color: #a08090 !important;
}

/* Section titles */
body.theme-kokoro .section-title,
body.theme-kokoro .difficulty-title,
body.theme-kokoro h3,
body.theme-kokoro h4 {
  color: #c06080 !important;
  text-shadow: none !important;
}

/* ============================================
   BUTTONS - Rounded and cute
   ============================================ */
body.theme-kokoro .btn,
body.theme-kokoro button,
body.theme-kokoro .difficulty-btn,
body.theme-kokoro .mode-toggle-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%);
  border: 2px solid rgba(255, 150, 170, 0.5);
  border-radius: 12px;
  box-shadow:
    0 4px 12px rgba(255, 100, 130, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(150, 50, 80, 0.3);
  transition: all 0.2s ease;
}

body.theme-kokoro .btn:hover,
body.theme-kokoro button:hover,
body.theme-kokoro .difficulty-btn:hover,
body.theme-kokoro .mode-toggle-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%);
  border-color: rgba(255, 170, 190, 0.6);
  box-shadow:
    0 6px 16px rgba(255, 100, 130, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

body.theme-kokoro .btn:active,
body.theme-kokoro button:active,
body.theme-kokoro .difficulty-btn:active,
body.theme-kokoro .mode-toggle-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(255, 100, 130, 0.2),
    inset 0 2px 4px rgba(150, 50, 80, 0.1);
}

body.theme-kokoro .difficulty-btn.active,
body.theme-kokoro .mode-toggle-btn.active {
  background: linear-gradient(180deg, #ff6080 0%, #e05070 100%);
  border-color: rgba(255, 120, 150, 0.6);
  box-shadow:
    0 2px 8px rgba(255, 80, 110, 0.3),
    inset 0 2px 4px rgba(150, 50, 80, 0.15);
}

/* Secondary buttons */
body.theme-kokoro .btn-secondary,
body.theme-kokoro button.secondary {
  background: linear-gradient(180deg, #ffe0e8 0%, #ffd0d8 100%);
  border: 2px solid rgba(255, 180, 190, 0.5);
  color: #c06080;
  text-shadow: none;
}

body.theme-kokoro .btn-secondary:hover,
body.theme-kokoro button.secondary:hover {
  background: linear-gradient(180deg, #fff0f4 0%, #ffe0e8 100%);
}

/* ============================================
   MODE TOGGLE CONTAINER
   ============================================ */
body.theme-kokoro .mode-toggle-container {
  background: rgba(255, 230, 235, 0.8) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 16px !important;
  padding: 6px !important;
  box-shadow: inset 0 2px 4px rgba(150, 100, 120, 0.1) !important;
}

body.theme-kokoro .mode-toggle-btn {
  border-radius: 10px !important;
  margin: 2px !important;
}

body.theme-kokoro .mode-toggle-btn::after {
  display: none !important;
}

/* ============================================
   INPUTS - Soft and rounded
   ============================================ */
body.theme-kokoro input,
body.theme-kokoro select {
  background: linear-gradient(180deg, #fef0f3 0%, #fce8ed 100%);
  border: 2px solid rgba(235, 170, 185, 0.5);
  border-radius: 10px;
  color: #5a3a3a;
  box-shadow: inset 0 2px 4px rgba(150, 100, 120, 0.08);
  padding: 10px 14px;
}

body.theme-kokoro input:focus,
body.theme-kokoro select:focus {
  background: linear-gradient(180deg, #fff5f7 0%, #feeef2 100%);
  border-color: rgba(255, 120, 150, 0.6);
  box-shadow:
    inset 0 2px 4px rgba(150, 100, 120, 0.08),
    0 0 0 3px rgba(255, 150, 170, 0.15);
  outline: none;
}

body.theme-kokoro input::placeholder {
  color: #c0a0a0;
}

/* ============================================
   HUD ELEMENTS - Cute and rounded
   ============================================ */
body.theme-kokoro .top-left-stats .game-timer,
body.theme-kokoro .top-left-stats .flag-count,
body.theme-kokoro .top-left-stats .lives-count {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 12px;
  color: #5a3a3a;
  box-shadow: 0 4px 12px rgba(200, 100, 130, 0.2) !important;
}

body.theme-kokoro .top-left-stats .stat-value {
  color: #d06080 !important;
  text-shadow: none !important;
  font-weight: 700;
}

body.theme-kokoro .top-left-stats .stat-label {
  color: #a08090 !important;
}

/* ============================================
   BOTTOM HUD
   ============================================ */
body.theme-kokoro .bottom-hud {
  background: linear-gradient(180deg,
    rgba(255, 210, 220, 0.95) 0%,
    rgba(255, 195, 210, 0.95) 100%);
  border: 2px solid rgba(255, 180, 190, 0.4);
  border-radius: 16px;
  box-shadow: 0 -4px 16px rgba(150, 100, 120, 0.1);
}

body.theme-kokoro .bottom-hud .attack-inventory,
body.theme-kokoro .bottom-hud .power-ups-inventory {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

/* Power-up and attack items */
body.theme-kokoro .power-up-item,
body.theme-kokoro .attack-item {
  background: linear-gradient(180deg,
    rgba(255, 215, 225, 0.95) 0%,
    rgba(255, 200, 215, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.4) !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

body.theme-kokoro .power-up-item:hover,
body.theme-kokoro .attack-item:hover {
  background: linear-gradient(180deg,
    rgba(255, 225, 235, 0.98) 0%,
    rgba(255, 215, 225, 0.98) 100%) !important;
  border-color: rgba(235, 120, 160, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 100, 130, 0.25) !important;
}

body.theme-kokoro .power-up-item.active {
  background: linear-gradient(180deg,
    rgba(255, 180, 200, 0.95) 0%,
    rgba(255, 160, 185, 0.95) 100%) !important;
  border-color: rgba(235, 100, 140, 0.6) !important;
}

/* Empty power-up slot (the + button) */
body.theme-kokoro .power-up-item.empty,
body.theme-kokoro .attack-item.empty {
  background: linear-gradient(180deg,
    rgba(255, 220, 230, 0.8) 0%,
    rgba(255, 205, 220, 0.8) 100%) !important;
  border: 2px dashed rgba(235, 140, 170, 0.5) !important;
  opacity: 0.8 !important;
}

/* ============================================
   PROGRESS INDICATOR
   ============================================ */
body.theme-kokoro .progress-indicator {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

body.theme-kokoro .status::before {
  background: linear-gradient(90deg, #ff7090, #ffa0b0);
  border-radius: 8px;
}

/* ============================================
   MODALS - Soft and cute
   ============================================ */
body.theme-kokoro .modal {
  background: rgba(80, 40, 50, 0.6) !important;
  backdrop-filter: blur(8px) !important;
}

body.theme-kokoro .modal-content {
  background: linear-gradient(180deg,
    #fce8ed 0%,
    #f9dce4 100%) !important;
  border: 3px solid rgba(235, 140, 165, 0.5) !important;
  border-radius: 24px !important;
  box-shadow:
    0 16px 48px rgba(150, 80, 100, 0.35),
    0 0 0 1px rgba(255, 200, 210, 0.3) !important;
  padding: 2rem !important;
}

/* Cute top accent line */
body.theme-kokoro .modal-content::before {
  background: linear-gradient(90deg,
    transparent,
    #ff7090,
    #ffa0b0,
    #ff7090,
    transparent) !important;
  height: 4px !important;
  border-radius: 0 0 4px 4px !important;
}

body.theme-kokoro .modal-header {
  background: linear-gradient(90deg, #ff7090, #ff90a8);
  border-radius: 20px 20px 0 0;
  color: #fff;
}

/* Game over titles */
body.theme-kokoro .modal-title {
  color: #c06080 !important;
  text-shadow: none !important;
  font-family: 'Nunito', 'Quicksand', sans-serif !important;
  letter-spacing: 0.05em !important;
}

body.theme-kokoro .modal-title.win-title {
  color: #40b080 !important;
  text-shadow: 0 2px 8px rgba(64, 176, 128, 0.3) !important;
  animation: kokoro-win-pulse 2s ease-in-out infinite !important;
}

body.theme-kokoro .modal-title.lose-title {
  color: #e06080 !important;
  text-shadow: 0 2px 8px rgba(224, 96, 128, 0.3) !important;
}

body.theme-kokoro .modal-title.draw-title {
  color: #e0a050 !important;
  text-shadow: 0 2px 8px rgba(224, 160, 80, 0.3) !important;
}

@keyframes kokoro-win-pulse {
  0%, 100% {
    text-shadow: 0 2px 8px rgba(64, 176, 128, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 4px 16px rgba(64, 176, 128, 0.5), 0 0 24px rgba(255, 200, 100, 0.3);
    transform: scale(1.02);
  }
}

body.theme-kokoro .modal-subtitle {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

/* Single player game over dialog */
body.theme-kokoro .single-player-game-over {
  text-align: center;
}

body.theme-kokoro .single-player-game-over .stats {
  background: linear-gradient(180deg,
    rgba(248, 215, 225, 0.9) 0%,
    rgba(245, 205, 218, 0.9) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  margin: 1.5rem 0 !important;
}

body.theme-kokoro .single-player-game-over .stat-row {
  border-bottom-color: rgba(255, 180, 190, 0.3) !important;
  padding: 0.75rem 0 !important;
}

body.theme-kokoro .single-player-game-over .stat-label {
  color: #b08090 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

body.theme-kokoro .single-player-game-over .stat-value {
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-shadow: none !important;
}

/* Dialog buttons - cute and rounded */
body.theme-kokoro .dialog-buttons {
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}

body.theme-kokoro .modal .button,
body.theme-kokoro .dialog-buttons .button,
body.theme-kokoro .single-player-game-over .button {
  flex: 1 !important;
  padding: 0.875rem 1.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  font-family: 'Nunito', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

/* Primary button - pink */
body.theme-kokoro .modal .button:first-child,
body.theme-kokoro .dialog-buttons .button:first-child,
body.theme-kokoro .single-player-game-over .button:first-child {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  color: #fff !important;
  box-shadow:
    0 4px 16px rgba(255, 100, 130, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.25) !important;
  text-shadow: 0 1px 2px rgba(150, 50, 80, 0.3) !important;
}

body.theme-kokoro .modal .button:first-child:hover,
body.theme-kokoro .dialog-buttons .button:first-child:hover,
body.theme-kokoro .single-player-game-over .button:first-child:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  border-color: rgba(255, 150, 175, 0.6) !important;
  box-shadow:
    0 6px 20px rgba(255, 100, 130, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-3px) !important;
}

/* Secondary button - soft pink */
body.theme-kokoro .modal .button:last-child,
body.theme-kokoro .dialog-buttons .button:last-child,
body.theme-kokoro .single-player-game-over .button:last-child,
body.theme-kokoro .modal .button.cancel {
  background: linear-gradient(180deg, #f8d5de 0%, #f2c5d2 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  color: #a05070 !important;
  box-shadow:
    0 4px 12px rgba(150, 100, 120, 0.15),
    inset 0 2px 0 rgba(255, 220, 230, 0.5) !important;
  text-shadow: none !important;
}

body.theme-kokoro .modal .button:last-child:hover,
body.theme-kokoro .dialog-buttons .button:last-child:hover,
body.theme-kokoro .single-player-game-over .button:last-child:hover,
body.theme-kokoro .modal .button.cancel:hover {
  background: linear-gradient(180deg, #fbe0e8 0%, #f8d5de 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow:
    0 6px 16px rgba(150, 100, 120, 0.2),
    inset 0 2px 0 rgba(255, 230, 238, 0.6) !important;
  transform: translateY(-3px) !important;
}

/* Single button case - make it primary */
body.theme-kokoro .modal .button:only-child,
body.theme-kokoro .dialog-buttons .button:only-child {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  color: #fff !important;
}

/* Winner announcement section */
body.theme-kokoro .winner-announcement {
  background: linear-gradient(180deg,
    rgba(255, 235, 240, 0.6) 0%,
    rgba(255, 225, 235, 0.6) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.3) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
}

body.theme-kokoro .winner-label {
  color: #b08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .winner-name {
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  text-shadow: none !important;
}

/* ============================================
   CLOSE BUTTON - Cute X
   ============================================ */
body.theme-kokoro .close-btn,
body.theme-kokoro .close-button,
body.theme-kokoro [class*="close"] {
  background: linear-gradient(180deg, #ffd0d8 0%, #ffc0c8 100%);
  border: 2px solid rgba(255, 160, 170, 0.5);
  border-radius: 50%;
  color: #e06080;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(200, 100, 120, 0.2);
}

body.theme-kokoro .close-btn:hover,
body.theme-kokoro .close-button:hover {
  background: linear-gradient(180deg, #ffe0e8 0%, #ffd0d8 100%);
  transform: scale(1.1);
}

/* Game interface X close button - top right */
body.theme-kokoro .constant-return-lobby,
body.theme-kokoro #constant-return-lobby,
body.theme-kokoro .top-right-controls button {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 10px !important;
  color: #c05070 !important;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.2) !important;
}

body.theme-kokoro .constant-return-lobby:hover,
body.theme-kokoro #constant-return-lobby:hover,
body.theme-kokoro .top-right-controls button:hover {
  background: linear-gradient(180deg,
    rgba(255, 215, 225, 0.98) 0%,
    rgba(255, 200, 215, 0.98) 100%) !important;
  border-color: rgba(235, 120, 160, 0.6) !important;
  box-shadow: 0 4px 12px rgba(200, 100, 130, 0.3) !important;
}

body.theme-kokoro .constant-return-lobby svg,
body.theme-kokoro #constant-return-lobby svg {
  stroke: #c05070 !important;
}

/* ============================================
   STATUS/NOTIFICATION BAR - Top center
   ============================================ */
body.theme-kokoro .status,
body.theme-kokoro #status,
body.theme-kokoro .notification,
body.theme-kokoro .game-notification,
body.theme-kokoro .progress-display {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.95) 0%,
    rgba(245, 198, 215, 0.98) 100%) !important;
  border: 2px solid rgba(235, 160, 180, 0.5) !important;
  border-radius: 12px !important;
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  box-shadow: 0 4px 16px rgba(150, 90, 110, 0.2) !important;
}

body.theme-kokoro .status::before,
body.theme-kokoro #status::before {
  background: #ff7090 !important;
}

/* ============================================
   CONNECTION QUALITY ICON
   ============================================ */
body.theme-kokoro .connection-quality-icon {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

/* ============================================
   THEME SELECTOR
   ============================================ */
body.theme-kokoro .theme-selector {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 10px;
  color: #5a3a3a !important;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

/* ============================================
   DIFFICULTY SELECTOR
   ============================================ */
body.theme-kokoro .mobile-difficulty-selector {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(200, 100, 130, 0.2) !important;
}

body.theme-kokoro .mobile-difficulty-selector::before {
  display: none;
}

body.theme-kokoro .difficulty-btn {
  border-radius: 10px;
}

/* ============================================
   ZOOM CONTROLS
   ============================================ */
body.theme-kokoro .zoom-control,
body.theme-kokoro .zoom-btn {
  background: linear-gradient(180deg,
    rgba(255, 200, 215, 0.95) 0%,
    rgba(255, 185, 205, 0.95) 100%) !important;
  border: 2px solid rgba(235, 140, 170, 0.5) !important;
  border-radius: 10px !important;
  color: #b05070 !important;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
}

body.theme-kokoro .zoom-control:hover,
body.theme-kokoro .zoom-btn:hover {
  background: linear-gradient(180deg,
    rgba(255, 215, 225, 0.98) 0%,
    rgba(255, 200, 215, 0.98) 100%) !important;
  border-color: rgba(235, 120, 160, 0.6) !important;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
body.theme-kokoro ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.theme-kokoro ::-webkit-scrollbar-track {
  background: rgba(248, 215, 225, 0.6);
  border-radius: 5px;
}

body.theme-kokoro ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffb0c0 0%, #ff90a8 100%);
  border-radius: 5px;
  border: 2px solid rgba(255, 235, 240, 0.5);
}

body.theme-kokoro ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffc0d0 0%, #ffa0b8 100%);
}

/* ============================================
   COLLECTED ITEMS
   ============================================ */
body.theme-kokoro .cell.power-up.collected,
body.theme-kokoro .cell.attack.collected {
  background: rgba(255, 240, 243, 0.6);
  border: 1px solid rgba(255, 200, 210, 0.4);
  border-radius: 4px;
}

/* ============================================
   REMOVE HARSH EFFECTS
   ============================================ */
body.theme-kokoro * {
  text-shadow: none;
}

body.theme-kokoro .top-left-stats .stat-value,
body.theme-kokoro .top-left-stats .game-timer span,
body.theme-kokoro .top-left-stats .flag-count span,
body.theme-kokoro .top-left-stats .lives-count span {
  color: #d06080 !important;
  text-shadow: none !important;
}

/* ============================================
   VS AI CONFIGURATION PANEL - Cute Pink
   ============================================ */

body.theme-kokoro .vs-ai-config {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Section dividers */
body.theme-kokoro .vs-ai-section {
  border-bottom-color: rgba(255, 180, 190, 0.25) !important;
}

body.theme-kokoro .vs-ai-section-title {
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}

body.theme-kokoro .vs-ai-section-hint {
  color: #b09098 !important;
}

/* Desktop dividers */
@media (min-width: 769px) {
  body.theme-kokoro #vs-ai-config.visible::before,
  body.theme-kokoro #vs-ai-config.visible::after {
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(255, 150, 170, 0.25) 20%,
      rgba(255, 150, 170, 0.25) 80%,
      transparent 100%) !important;
  }

  body.theme-kokoro #vs-ai-config .vs-ai-section[data-section="difficulty"],
  body.theme-kokoro #vs-ai-config .vs-ai-section[data-section="opponents"],
  body.theme-kokoro #vs-ai-config .vs-ai-section[data-section="settings"] {
    border-bottom-color: rgba(255, 150, 170, 0.2) !important;
  }
}

/* ============================================
   DIFFICULTY BUTTONS
   ============================================ */

body.theme-kokoro .vs-ai-difficulty-btn {
  background: linear-gradient(180deg,
    rgba(248, 205, 218, 0.9) 0%,
    rgba(245, 195, 210, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 12px !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .vs-ai-difficulty-btn:hover {
  background: linear-gradient(180deg,
    rgba(252, 218, 228, 0.95) 0%,
    rgba(248, 208, 220, 0.98) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.15) !important;
}

body.theme-kokoro .vs-ai-difficulty-btn.active {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border-color: rgba(255, 120, 150, 0.6) !important;
  box-shadow: 0 4px 16px rgba(255, 100, 130, 0.3) !important;
}

body.theme-kokoro .vs-ai-difficulty-btn .diff-name {
  color: #905070 !important;
  font-weight: 700 !important;
}

body.theme-kokoro .vs-ai-difficulty-btn.active .diff-name {
  color: #fff !important;
}

body.theme-kokoro .vs-ai-difficulty-btn .diff-size {
  color: #a07080 !important;
}

body.theme-kokoro .vs-ai-difficulty-btn.active .diff-size {
  color: rgba(255, 235, 240, 0.9) !important;
}

/* ============================================
   AI OPPONENTS SELECTORS
   ============================================ */

body.theme-kokoro .ai-opponent-selector {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.9) 0%,
    rgba(245, 198, 215, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.45) !important;
  border-radius: 14px !important;
}

body.theme-kokoro .ai-opponent-selector:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.95) 0%,
    rgba(248, 212, 225, 0.98) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
}

body.theme-kokoro .ai-opponent-selector.has-ai {
  border-color: rgba(255, 120, 150, 0.5) !important;
  box-shadow: 0 0 12px rgba(255, 100, 130, 0.15) !important;
}

/* AI difficulty labels - pastel colors */
body.theme-kokoro .ai-label {
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .ai-label.ai-beginner {
  color: #50b080 !important;
  text-shadow: none !important;
}

body.theme-kokoro .ai-label.ai-intermediate {
  color: #e0a050 !important;
  text-shadow: none !important;
}

body.theme-kokoro .ai-label.ai-expert {
  color: #e06070 !important;
  text-shadow: none !important;
}

/* Counter buttons */
body.theme-kokoro .ai-btn-minus,
body.theme-kokoro .ai-btn-plus {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .ai-btn-minus:hover,
body.theme-kokoro .ai-btn-plus:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  border-color: rgba(255, 150, 175, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.35) !important;
}

body.theme-kokoro .ai-count-value {
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.theme-kokoro .ai-total-display {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .ai-total-display strong {
  color: #d06080 !important;
  font-family: 'Nunito', sans-serif !important;
  text-shadow: none !important;
}

/* ============================================
   GAME SETTINGS SELECTORS
   ============================================ */

body.theme-kokoro .game-setting-selector {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.9) 0%,
    rgba(245, 198, 215, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.45) !important;
  border-radius: 14px !important;
}

body.theme-kokoro .game-setting-selector:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.95) 0%,
    rgba(248, 212, 225, 0.98) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
}

body.theme-kokoro .setting-label {
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .setting-label.setting-lives {
  color: #e06080 !important;
  text-shadow: none !important;
}

body.theme-kokoro .setting-label.setting-grenades {
  color: #50a0c0 !important;
  text-shadow: none !important;
}

body.theme-kokoro .setting-label.setting-attacks {
  color: #e0a050 !important;
  text-shadow: none !important;
}

body.theme-kokoro .setting-btn-minus,
body.theme-kokoro .setting-btn-plus {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .setting-btn-minus:hover,
body.theme-kokoro .setting-btn-plus:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  border-color: rgba(255, 150, 175, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.35) !important;
}

body.theme-kokoro .setting-count-value {
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* Win condition display */
body.theme-kokoro .win-condition-display {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .win-nav-btn {
  color: #ff7090 !important;
}

body.theme-kokoro .win-nav-btn:hover {
  color: #ff5080 !important;
}

body.theme-kokoro .win-condition-value {
  color: #d06080 !important;
  font-family: 'Nunito', sans-serif !important;
  text-shadow: none !important;
}

/* ============================================
   ATTACKS GRID
   ============================================ */

body.theme-kokoro .vs-ai-attack-option {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.85) 0%,
    rgba(245, 198, 215, 0.9) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.4) !important;
  border-radius: 10px !important;
}

body.theme-kokoro .vs-ai-attack-option:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.9) 0%,
    rgba(248, 212, 225, 0.95) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.15) !important;
}

body.theme-kokoro .vs-ai-attack-option.selected {
  background: linear-gradient(180deg,
    rgba(255, 175, 195, 0.9) 0%,
    rgba(255, 155, 180, 0.95) 100%) !important;
  border-color: rgba(255, 120, 150, 0.6) !important;
  box-shadow: 0 0 12px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .vs-ai-attack-option .attack-name {
  color: #805060 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}

body.theme-kokoro .vs-ai-attack-option .attack-count {
  background: linear-gradient(180deg, #ff7090 0%, #e05070 100%) !important;
  box-shadow: 0 2px 8px rgba(255, 80, 110, 0.4) !important;
}

/* ============================================
   POWER-UPS GRID - PINK LIKE ATTACKS
   ============================================ */

body.theme-kokoro .vs-ai-powerup-option {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.85) 0%,
    rgba(245, 198, 215, 0.9) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.4) !important;
  border-radius: 10px !important;
}

body.theme-kokoro .vs-ai-powerup-option:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.9) 0%,
    rgba(248, 212, 225, 0.95) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.15) !important;
}

body.theme-kokoro .vs-ai-powerup-option.selected {
  background: linear-gradient(180deg,
    rgba(255, 175, 195, 0.9) 0%,
    rgba(255, 155, 180, 0.95) 100%) !important;
  border-color: rgba(255, 120, 150, 0.6) !important;
  box-shadow: 0 0 12px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .vs-ai-powerup-option .powerup-name {
  color: #805060 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}

body.theme-kokoro .vs-ai-powerup-option .powerup-count {
  background: linear-gradient(180deg, #ff7090 0%, #e05070 100%) !important;
  box-shadow: 0 2px 8px rgba(255, 80, 110, 0.4) !important;
}

/* ============================================
   START VS AI BUTTON
   ============================================ */

body.theme-kokoro .vs-ai-start-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  border-radius: 16px !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  box-shadow:
    0 4px 20px rgba(255, 100, 130, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.25) !important;
  text-shadow: 0 1px 2px rgba(150, 50, 80, 0.3) !important;
}

body.theme-kokoro .vs-ai-start-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  border-color: rgba(255, 150, 175, 0.6) !important;
  box-shadow:
    0 6px 24px rgba(255, 100, 130, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
}

body.theme-kokoro .vs-ai-start-btn:disabled {
  background: linear-gradient(180deg,
    rgba(255, 215, 220, 0.7) 0%,
    rgba(255, 200, 210, 0.8) 100%) !important;
  border-color: rgba(255, 180, 190, 0.3) !important;
  color: rgba(180, 120, 140, 0.6) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.theme-kokoro .vs-ai-start-btn .btn-hint {
  color: rgba(180, 120, 140, 0.7) !important;
}

/* ============================================
   CUSTOM SETTINGS PANEL
   ============================================ */

body.theme-kokoro .vs-ai-custom-settings {
  background: rgba(255, 235, 240, 0.6) !important;
  border: 1px solid rgba(255, 180, 190, 0.3) !important;
  border-radius: 12px !important;
}

body.theme-kokoro .vs-ai-custom-field label {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .vs-ai-custom-field input {
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 8px !important;
  color: #5a3a3a !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .vs-ai-custom-field input:focus {
  border-color: rgba(255, 120, 150, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(255, 150, 170, 0.15) !important;
}

/* ============================================
   MULTIPLAYER SECTION - Cute Pink Styling
   ============================================ */

/* Main lobby section containers */
body.theme-kokoro .lobby-section {
  background: linear-gradient(180deg,
    rgba(255, 240, 245, 0.95) 0%,
    rgba(255, 230, 238, 0.98) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(150, 100, 120, 0.1) !important;
}

/* Section header - "Available Games" */
body.theme-kokoro .section-header {
  background: transparent !important;
  border-bottom: 2px solid rgba(255, 180, 190, 0.25) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

body.theme-kokoro .section-header h3 {
  color: #d06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Host New Game button */
body.theme-kokoro #host-game-button,
body.theme-kokoro .button.secondary {
  background: linear-gradient(180deg, #ffe0e8 0%, #ffd0d8 100%) !important;
  border: 2px solid rgba(255, 160, 175, 0.5) !important;
  border-radius: 12px !important;
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(150, 100, 120, 0.15) !important;
  text-shadow: none !important;
}

body.theme-kokoro #host-game-button:hover,
body.theme-kokoro .button.secondary:hover {
  background: linear-gradient(180deg, #fff0f4 0%, #ffe0e8 100%) !important;
  border-color: rgba(255, 140, 160, 0.6) !important;
  box-shadow: 0 5px 14px rgba(150, 100, 120, 0.2) !important;
  transform: translateY(-2px) !important;
}

/* Hosted games list container */
body.theme-kokoro .hosted-games {
  background: transparent !important;
}

/* Individual game cards in list */
body.theme-kokoro .game-item {
  background: linear-gradient(180deg,
    rgba(255, 240, 245, 0.98) 0%,
    rgba(255, 230, 238, 0.99) 100%) !important;
  border: 2px solid rgba(255, 160, 180, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(200, 100, 130, 0.15) !important;
  padding: 1rem !important;
}

body.theme-kokoro .game-item:hover {
  background: linear-gradient(180deg,
    rgba(255, 245, 248, 0.99) 0%,
    rgba(255, 238, 244, 1) 100%) !important;
  border-color: rgba(255, 130, 160, 0.6) !important;
  box-shadow: 0 4px 12px rgba(200, 100, 130, 0.2) !important;
}

body.theme-kokoro .game-item .game-name {
  color: #d04878 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
}

body.theme-kokoro .game-item .game-host {
  color: #986070 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 500 !important;
}

body.theme-kokoro .game-item .game-details {
  color: #684858 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

body.theme-kokoro .game-item .game-players {
  margin-top: 0.5rem !important;
}

body.theme-kokoro .game-item .game-player {
  background: linear-gradient(180deg, #80d890 0%, #60b870 100%) !important;
  color: #fff !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 15px !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  margin-right: 0.5rem !important;
  display: inline-block !important;
  border: 1px solid rgba(80, 160, 100, 0.5) !important;
}

body.theme-kokoro .game-item .game-player.ai-player {
  background: linear-gradient(180deg, #a090d0 0%, #8070b0 100%) !important;
  border: 1px solid rgba(120, 100, 160, 0.5) !important;
}

/* Cancel Game button */
body.theme-kokoro .game-item .game-actions button {
  background: linear-gradient(180deg, #ff7080 0%, #e05060 100%) !important;
  border: 2px solid rgba(220, 60, 80, 0.5) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  box-shadow: 0 2px 8px rgba(220, 60, 80, 0.25) !important;
}

body.theme-kokoro .game-item .game-actions button:hover {
  background: linear-gradient(180deg, #ff8090 0%, #e06070 100%) !important;
  box-shadow: 0 4px 12px rgba(220, 60, 80, 0.35) !important;
}

/* Join button - pink instead of red */
body.theme-kokoro .game-item .game-actions button.secondary {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 100, 140, 0.5) !important;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .game-item .game-actions button.secondary:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.35) !important;
}

body.theme-kokoro .hosted-game .join-btn,
body.theme-kokoro .game-card .join-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .hosted-game .join-btn:hover,
body.theme-kokoro .game-card .join-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.35) !important;
}

/* Players online bar */
body.theme-kokoro .player-count,
body.theme-kokoro #players-container {
  background: linear-gradient(180deg,
    rgba(255, 235, 240, 0.9) 0%,
    rgba(255, 225, 232, 0.95) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.35) !important;
  border-radius: 12px !important;
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

/* Players list section specifically */
body.theme-kokoro #players-list {
  background: linear-gradient(180deg,
    rgba(255, 235, 240, 0.9) 0%,
    rgba(255, 225, 232, 0.95) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.35) !important;
  border-radius: 12px !important;
}

/* ============================================
   PLAYER STATS BAR
   ============================================ */

body.theme-kokoro .player-stats {
  background: transparent !important;
}

body.theme-kokoro .stats-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.theme-kokoro .logged-in-name {
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}

body.theme-kokoro .player-code {
  background: linear-gradient(180deg, #ffe8ed 0%, #ffd8e0 100%) !important;
  border: 1px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 6px !important;
  color: #a07080 !important;
  font-family: 'Nunito', monospace !important;
  padding: 0.25rem 0.5rem !important;
}

body.theme-kokoro .stats-row {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .stats-row .stat-label {
  color: #b09098 !important;
}

body.theme-kokoro .stats-row .stat-value {
  color: #c06080 !important;
  font-weight: 700 !important;
}

/* Logout button */
body.theme-kokoro #logout-btn {
  background: linear-gradient(180deg, #ffe8ed 0%, #ffd8e0 100%) !important;
  border: 2px solid rgba(255, 170, 185, 0.4) !important;
  border-radius: 8px !important;
  color: #c06080 !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 0.75rem !important;
}

body.theme-kokoro #logout-btn:hover {
  background: linear-gradient(180deg, #fff0f4 0%, #ffe8ed 100%) !important;
  border-color: rgba(255, 150, 170, 0.5) !important;
}

/* ============================================
   AUTH SECTION - Login/Register/Guest
   ============================================ */

body.theme-kokoro .auth-section {
  background: transparent !important;
}

body.theme-kokoro .auth-tabs {
  background: rgba(255, 230, 235, 0.6) !important;
  border: 2px solid rgba(255, 180, 190, 0.3) !important;
  border-radius: 14px !important;
  padding: 4px !important;
  display: flex;
  gap: 4px;
}

body.theme-kokoro .auth-tab {
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.6rem 1rem !important;
  box-shadow: none !important;
}

body.theme-kokoro .auth-tab:hover {
  background: rgba(255, 200, 210, 0.4) !important;
  color: #c06080 !important;
  transform: none !important;
}

body.theme-kokoro .auth-tab.active {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .auth-form {
  background: transparent !important;
}

body.theme-kokoro .auth-hint {
  color: #b09098 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.85rem !important;
}

body.theme-kokoro .auth-error {
  background: linear-gradient(180deg,
    rgba(255, 220, 220, 0.9) 0%,
    rgba(255, 200, 205, 0.95) 100%) !important;
  border: 2px solid rgba(255, 150, 160, 0.4) !important;
  border-radius: 10px !important;
  color: #c05060 !important;
  font-family: 'Nunito', sans-serif !important;
}

/* ============================================
   HOST GAME MODAL
   ============================================ */

body.theme-kokoro #host-game-modal .modal-content {
  background: linear-gradient(180deg,
    rgba(252, 230, 238, 0.98) 0%,
    rgba(248, 220, 232, 0.99) 100%) !important;
  border: 2px solid rgba(235, 160, 180, 0.5) !important;
  border-radius: 20px !important;
}

body.theme-kokoro .modal-form .input-group label {
  color: #a07080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

body.theme-kokoro .modal-form .player-input {
  background: linear-gradient(180deg, #fce8ed 0%, #f8dce5 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 10px !important;
  color: #5a3a3a !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .modal-form .player-input:focus {
  background: linear-gradient(180deg, #feeef2 0%, #fce8ed 100%) !important;
  border-color: rgba(255, 120, 150, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(255, 150, 170, 0.15) !important;
}

/* Custom size options */
body.theme-kokoro #custom-size-options {
  background: rgba(248, 215, 225, 0.6) !important;
  border: 1px solid rgba(235, 165, 185, 0.35) !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  margin-top: 0.75rem !important;
}

/* ============================================
   ACCESS CODE MODAL
   ============================================ */

body.theme-kokoro #access-code-modal .modal-content {
  background: linear-gradient(180deg,
    rgba(252, 230, 238, 0.98) 0%,
    rgba(248, 220, 232, 0.99) 100%) !important;
  border: 2px solid rgba(235, 160, 180, 0.5) !important;
  border-radius: 20px !important;
}

body.theme-kokoro .access-code-message {
  color: #905070 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .access-code-display {
  background: linear-gradient(180deg,
    rgba(248, 215, 225, 0.9) 0%,
    rgba(245, 205, 218, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 12px !important;
  padding: 1rem !important;
}

body.theme-kokoro .access-code-value {
  color: #c06080 !important;
  font-family: 'Nunito', monospace !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
}

body.theme-kokoro .access-code-hint {
  color: #b09098 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.85rem !important;
}

/* ============================================
   WAITING ROOM / GAME LOBBY
   ============================================ */

body.theme-kokoro .waiting-room,
body.theme-kokoro .game-lobby {
  background: linear-gradient(180deg,
    rgba(252, 230, 238, 0.98) 0%,
    rgba(248, 220, 232, 0.99) 100%) !important;
  border: 2px solid rgba(235, 160, 180, 0.5) !important;
  border-radius: 20px !important;
}

body.theme-kokoro .waiting-room h2,
body.theme-kokoro .game-lobby h2 {
  color: #d06080 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .waiting-room .player-list,
body.theme-kokoro .game-lobby .player-list {
  background: rgba(248, 215, 225, 0.6) !important;
  border: 1px solid rgba(235, 165, 185, 0.35) !important;
  border-radius: 12px !important;
}

body.theme-kokoro .waiting-room .player-item,
body.theme-kokoro .game-lobby .player-item {
  background: linear-gradient(180deg,
    rgba(252, 228, 235, 0.9) 0%,
    rgba(248, 220, 230, 0.95) 100%) !important;
  border: 1px solid rgba(235, 165, 185, 0.4) !important;
  border-radius: 8px !important;
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .waiting-room .player-item.host,
body.theme-kokoro .game-lobby .player-item.host {
  border-color: rgba(255, 150, 170, 0.5) !important;
  box-shadow: 0 0 8px rgba(255, 100, 130, 0.15) !important;
}

/* Start game button in waiting room */
body.theme-kokoro .waiting-room .start-btn,
body.theme-kokoro .game-lobby .start-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(255, 100, 130, 0.3) !important;
}

body.theme-kokoro .waiting-room .start-btn:hover,
body.theme-kokoro .game-lobby .start-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 100, 130, 0.4) !important;
}

/* Leave button */
body.theme-kokoro .waiting-room .leave-btn,
body.theme-kokoro .game-lobby .leave-btn {
  background: linear-gradient(180deg, #ffe8ed 0%, #ffd8e0 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 10px !important;
  color: #c06080 !important;
}

/* ============================================
   HOST GAME MODAL - AI PLAYERS SECTION
   ============================================ */

body.theme-kokoro .ai-players-section {
  background: linear-gradient(180deg,
    rgba(255, 240, 245, 0.95) 0%,
    rgba(255, 230, 238, 0.98) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 16px !important;
  padding: 1rem !important;
}

body.theme-kokoro .ai-section-header {
  border-bottom: 2px solid rgba(255, 180, 190, 0.25) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

body.theme-kokoro .ai-section-title {
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

body.theme-kokoro .ai-total-indicator {
  color: #a08090 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .ai-total-indicator span {
  color: #d06080 !important;
  font-weight: 700 !important;
}

body.theme-kokoro .ai-info-toggle {
  background: linear-gradient(180deg, #ffe8ed 0%, #ffd8e0 100%) !important;
  border: 2px solid rgba(255, 170, 185, 0.4) !important;
  border-radius: 8px !important;
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.75rem !important;
  box-shadow: 0 2px 6px rgba(150, 100, 120, 0.1) !important;
}

body.theme-kokoro .ai-info-toggle:hover {
  background: linear-gradient(180deg, #fff0f4 0%, #ffe8ed 100%) !important;
  border-color: rgba(255, 150, 170, 0.5) !important;
}

/* AI Selector Cards */
body.theme-kokoro .ai-selector {
  background: linear-gradient(180deg,
    rgba(255, 225, 232, 0.9) 0%,
    rgba(255, 210, 220, 0.95) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.35) !important;
  border-radius: 12px !important;
  padding: 0.75rem !important;
}

body.theme-kokoro .ai-selector:hover {
  background: linear-gradient(180deg,
    rgba(255, 235, 240, 0.95) 0%,
    rgba(255, 225, 232, 0.98) 100%) !important;
  border-color: rgba(255, 150, 170, 0.5) !important;
}

body.theme-kokoro .ai-difficulty-name {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

body.theme-kokoro .ai-difficulty-beginner {
  color: #50b080 !important;
}

body.theme-kokoro .ai-difficulty-intermediate {
  color: #e0a050 !important;
}

body.theme-kokoro .ai-difficulty-expert {
  color: #e06070 !important;
}

body.theme-kokoro .ai-count-display,
body.theme-kokoro .ai-selector .ai-count-display,
body.theme-kokoro .ai-count-display .ai-count {
  color: #5a3a4a !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-radius: 6px !important;
  padding: 0.2rem 0.5rem !important;
}

body.theme-kokoro .ai-control-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(255, 100, 130, 0.25) !important;
}

body.theme-kokoro .ai-control-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  border-color: rgba(255, 150, 175, 0.6) !important;
  box-shadow: 0 3px 10px rgba(255, 100, 130, 0.35) !important;
}

body.theme-kokoro .ai-description,
body.theme-kokoro .ai-selector .ai-description {
  color: #6a5060 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.75rem !important;
}

/* AI Info Panel */
body.theme-kokoro .ai-info-panel {
  background: rgba(255, 235, 240, 0.8) !important;
  border: 1px solid rgba(255, 180, 190, 0.3) !important;
  border-radius: 12px !important;
  margin-top: 0.75rem !important;
}

body.theme-kokoro .ai-info-item {
  background: rgba(255, 248, 250, 0.9) !important;
  border: 1px solid rgba(255, 180, 190, 0.25) !important;
  border-radius: 8px !important;
  padding: 0.5rem !important;
}

body.theme-kokoro .ai-info-item h4 {
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .ai-info-item p {
  color: #8a6a7a !important;
  font-family: 'Nunito', sans-serif !important;
}

body.theme-kokoro .ai-info-stat {
  color: #b08090 !important;
  background: rgba(255, 220, 225, 0.6) !important;
  border-radius: 4px !important;
  padding: 0.1rem 0.3rem !important;
}

/* ============================================
   HOST GAME MODAL - SETTINGS/ATTACKS/POWERUPS
   ============================================ */

body.theme-kokoro .host-game-sections-row {
  gap: 0.75rem !important;
}

body.theme-kokoro .host-game-section {
  background: linear-gradient(180deg,
    rgba(255, 240, 245, 0.95) 0%,
    rgba(255, 230, 238, 0.98) 100%) !important;
  border: 2px solid rgba(255, 180, 190, 0.4) !important;
  border-radius: 14px !important;
  padding: 0.75rem !important;
}

body.theme-kokoro .host-section-title {
  color: #c06080 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  border-bottom: 2px solid rgba(255, 180, 190, 0.25) !important;
  padding-bottom: 0.4rem !important;
  margin-bottom: 0.6rem !important;
}

/* Game Settings Counter Selectors */
body.theme-kokoro .host-setting-selector {
  background: linear-gradient(180deg,
    rgba(255, 248, 250, 0.9) 0%,
    rgba(255, 240, 245, 0.95) 100%) !important;
  border: 1px solid rgba(255, 180, 190, 0.3) !important;
  border-radius: 10px !important;
  padding: 0.5rem !important;
}

body.theme-kokoro .host-setting-label {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

body.theme-kokoro .host-setting-label.setting-lives {
  color: #e06080 !important;
}

body.theme-kokoro .host-setting-label.setting-grenades {
  color: #50a0c0 !important;
}

body.theme-kokoro .host-setting-label.setting-attacks {
  color: #e0a050 !important;
}

body.theme-kokoro .host-setting-btn {
  background: linear-gradient(180deg, #ff90a8 0%, #ff7090 100%) !important;
  border: 2px solid rgba(255, 120, 150, 0.5) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(255, 100, 130, 0.2) !important;
}

body.theme-kokoro .host-setting-btn:hover {
  background: linear-gradient(180deg, #ffa0b8 0%, #ff80a0 100%) !important;
  box-shadow: 0 3px 8px rgba(255, 100, 130, 0.3) !important;
}

body.theme-kokoro .host-setting-value {
  color: #6a4a5a !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* ============================================
   ATTACK & POWER-UP OPTIONS - ALL PINK THEME
   High specificity selectors to override base CSS
   ============================================ */

/* Attack Options - Base State */
body.theme-kokoro .host-attack-option,
body.theme-kokoro .attack-option,
body.theme-kokoro #host-game-form .host-attack-option,
body.theme-kokoro #host-game-form .attack-option,
body.theme-kokoro #host-game-form .host-attack-option.attack-option {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.9) 0%,
    rgba(245, 198, 215, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Attack Options - Hover State */
body.theme-kokoro .host-attack-option:hover,
body.theme-kokoro .attack-option:hover,
body.theme-kokoro #host-game-form .host-attack-option:hover,
body.theme-kokoro #host-game-form .attack-option:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.95) 0%,
    rgba(248, 212, 225, 0.98) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.2) !important;
}

/* Attack Options - Selected State (PINK, not blue) */
body.theme-kokoro .host-attack-option.selected,
body.theme-kokoro .attack-option.selected,
body.theme-kokoro #host-game-form .host-attack-option.selected,
body.theme-kokoro #host-game-form .attack-option.selected,
body.theme-kokoro #host-game-form .host-attack-option.attack-option.selected {
  background: linear-gradient(180deg,
    rgba(255, 175, 195, 0.95) 0%,
    rgba(255, 155, 180, 0.98) 100%) !important;
  border: 2px solid rgba(255, 100, 130, 0.7) !important;
  box-shadow: 0 0 0 2px rgba(255, 100, 130, 0.3), 0 4px 12px rgba(255, 100, 130, 0.25) !important;
}

/* Attack Name Text */
body.theme-kokoro .host-attack-option .attack-name,
body.theme-kokoro .attack-option .attack-name,
body.theme-kokoro #host-game-form .attack-name {
  color: #805060 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

/* Attack Count Badge (PINK) */
body.theme-kokoro .host-attack-option .attack-count,
body.theme-kokoro .attack-option .attack-count,
body.theme-kokoro #host-game-form .attack-count {
  background: linear-gradient(180deg, #ff7090 0%, #e05070 100%) !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(255, 80, 110, 0.5) !important;
}

/* Power-up Options - Base State (PINK like attacks) */
body.theme-kokoro .host-powerup-option,
body.theme-kokoro .power-up-option,
body.theme-kokoro #host-game-form .host-powerup-option,
body.theme-kokoro #host-game-form .power-up-option,
body.theme-kokoro #host-game-form .host-powerup-option.power-up-option {
  background: linear-gradient(180deg,
    rgba(248, 210, 222, 0.9) 0%,
    rgba(245, 198, 215, 0.95) 100%) !important;
  border: 2px solid rgba(235, 165, 185, 0.5) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Power-up Options - Hover State */
body.theme-kokoro .host-powerup-option:hover,
body.theme-kokoro .power-up-option:hover,
body.theme-kokoro #host-game-form .host-powerup-option:hover,
body.theme-kokoro #host-game-form .power-up-option:hover {
  background: linear-gradient(180deg,
    rgba(252, 222, 232, 0.95) 0%,
    rgba(248, 212, 225, 0.98) 100%) !important;
  border-color: rgba(235, 145, 170, 0.6) !important;
  box-shadow: 0 4px 12px rgba(255, 100, 130, 0.2) !important;
}

/* Power-up Options - Selected State (PINK, not green) */
body.theme-kokoro .host-powerup-option.selected,
body.theme-kokoro .power-up-option.selected,
body.theme-kokoro #host-game-form .host-powerup-option.selected,
body.theme-kokoro #host-game-form .power-up-option.selected,
body.theme-kokoro #host-game-form .host-powerup-option.power-up-option.selected {
  background: linear-gradient(180deg,
    rgba(255, 175, 195, 0.95) 0%,
    rgba(255, 155, 180, 0.98) 100%) !important;
  border: 2px solid rgba(255, 100, 130, 0.7) !important;
  box-shadow: 0 0 0 2px rgba(255, 100, 130, 0.3), 0 4px 12px rgba(255, 100, 130, 0.25) !important;
}

/* Power-up Name Text */
body.theme-kokoro .host-powerup-option .power-up-name,
body.theme-kokoro .power-up-option .power-up-name,
body.theme-kokoro #host-game-form .power-up-name {
  color: #805060 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

/* Power-up Count Badge (PINK like attacks) */
body.theme-kokoro .host-powerup-option .power-up-count,
body.theme-kokoro .power-up-option .power-up-count,
body.theme-kokoro #host-game-form .power-up-count {
  background: linear-gradient(180deg, #ff7090 0%, #e05070 100%) !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(255, 80, 110, 0.5) !important;
}

/* Override any blue glow/outline on focus */
body.theme-kokoro .host-attack-option:focus,
body.theme-kokoro .attack-option:focus,
body.theme-kokoro .host-powerup-option:focus,
body.theme-kokoro .power-up-option:focus,
body.theme-kokoro #host-game-form .host-attack-option:focus,
body.theme-kokoro #host-game-form .host-powerup-option:focus {
  outline: none !important;
  border-color: rgba(255, 120, 150, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 150, 170, 0.25) !important;
}

/* ============================================
   MULTIPLAYER PLAYER CARDS - Kawaii Style
   ============================================ */

/* Players Grid Container */
body.theme-kokoro .players-grid {
  background: linear-gradient(180deg,
    rgba(255, 230, 240, 0.95) 0%,
    rgba(255, 220, 235, 0.98) 100%);
  border: 2px solid rgba(255, 180, 200, 0.5);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(255, 150, 180, 0.2),
    0 8px 32px rgba(200, 100, 130, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 0.6rem;
  /* Kokoro scrollbar styling */
  scrollbar-color: rgba(255, 150, 180, 0.4) transparent;
}

body.theme-kokoro .players-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 150, 180, 0.4);
}

body.theme-kokoro .players-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 120, 160, 0.6);
}

/* Individual Player Card - Compact layout with kawaii colors */
body.theme-kokoro .player-card {
  background: #fff0f4;
  border: 1px solid rgba(255, 180, 200, 0.4);
  border-radius: 6px;
  padding: 0.5rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

body.theme-kokoro .player-card:hover {
  background: #ffe8ef;
  transform: translateY(-2px);
  border-color: rgba(255, 150, 180, 0.6);
}

body.theme-kokoro .player-card.spectatable:hover {
  background: #ffe0f0 !important;
  border-color: #ff90b0 !important;
}

/* Current Player (You) - Special kawaii highlight */
body.theme-kokoro .player-card.current-player,
body.theme-kokoro .player-card.is-you {
  background: #ffe0ea;
  border: 1px solid rgba(255, 120, 150, 0.6);
}

/* Human player - light green tint */
body.theme-kokoro .player-card.human-player {
  background: #e8f8e8;
  border-left: 4px solid #80d090;
}

/* AI player base */
body.theme-kokoro .player-card.ai-player {
  border-left: 4px solid #ff90a8;
}

/* AI difficulty colors */
body.theme-kokoro .player-card.ai-beginner {
  border-left-color: #80d090;
}

body.theme-kokoro .player-card.ai-intermediate {
  border-left-color: #ffaa60;
}

body.theme-kokoro .player-card.ai-expert {
  border-left-color: #ff7080;
}

/* Dead Player - solid background */
body.theme-kokoro .player-card.dead {
  background: #f0e8ea;
  filter: grayscale(30%);
}

/* Player Name */
body.theme-kokoro .player-card .player-name {
  color: #5a3a45;
  font-weight: 600;
  font-size: 0.75rem;
}

body.theme-kokoro .player-card.current-player .player-name,
body.theme-kokoro .player-card.is-you .player-name {
  color: #4a2a35;
}

/* Progress Bar */
body.theme-kokoro .player-card .progress-bar {
  background: rgba(255, 200, 210, 0.5);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}

body.theme-kokoro .player-card .progress-fill {
  background: #ff7090;
  border-radius: 2px;
}

/* Progress Text */
body.theme-kokoro .player-card .progress-text {
  color: #d05070;
  font-weight: 600;
  font-size: 0.7rem;
}

/* Lives Text */
body.theme-kokoro .player-card .lives-text {
  color: #c04060;
  font-weight: 600;
  font-size: 0.7rem;
}

/* Player Info Header */
body.theme-kokoro .player-card .player-info-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

/* AI Status Indicator - Compact badge */
body.theme-kokoro .player-card .ai-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.55rem;
}

/* AI Icon */
body.theme-kokoro .player-card .ai-status-indicator .ai-icon {
  font-size: 0.7rem;
}

/* AI Skill Level Text - Override inline colors with badges */
body.theme-kokoro .player-card .ai-status-indicator .ai-skill-level {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Beginner AI Badge - Mint Green */
body.theme-kokoro .player-card.ai-beginner .ai-status-indicator {
  background: #50c878;
  color: #fff;
}

/* Intermediate AI Badge - Warm Orange */
body.theme-kokoro .player-card.ai-intermediate .ai-status-indicator {
  background: #f0a040;
  color: #fff;
}

/* Expert AI Badge - Coral Red */
body.theme-kokoro .player-card.ai-expert .ai-status-indicator {
  background: #e05060;
  color: #fff;
}

/* AI Difficulty Badges (alternative class) */
body.theme-kokoro .player-card .player-difficulty {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.theme-kokoro .player-card .player-difficulty.beginner {
  background: #80d090;
  color: #fff;
  border: none;
}

body.theme-kokoro .player-card .player-difficulty.intermediate {
  background: #ffaa60;
  color: #fff;
  border: none;
}

body.theme-kokoro .player-card .player-difficulty.expert {
  background: #ff7080;
  color: #fff;
  border: none;
}

/* Attack Target Pulse - Pink version */
@keyframes kokoroTargetPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 112, 144, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 112, 144, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 112, 144, 0); }
}

body.theme-kokoro .player-card.attack-target {
  animation: kokoroTargetPulse 1.5s infinite;
}

body.theme-kokoro .player-card.attackable:hover {
  background: #ffe8ef;
  border-color: rgba(255, 140, 170, 0.6);
}

/* Being Attacked - Soft red tint */
body.theme-kokoro .player-card.being-attacked {
  background: #ffe0e0 !important;
  border-color: #ff9090 !important;
}

/* Attacking - Soft orange tint */
body.theme-kokoro .player-card.attacking {
  background: #fff0e0 !important;
  border-color: #ffaa60 !important;
}

/* Attack Slots */
body.theme-kokoro .player-card .attack-slots .slot {
  background: rgba(255, 200, 215, 0.4);
  border: 1px solid rgba(255, 180, 200, 0.3);
}

body.theme-kokoro .player-card .attack-slots .slot.filled {
  background: rgba(255, 112, 144, 0.5);
  border-color: rgba(255, 100, 130, 0.5);
}

/* Mobile Player Cards */
@media (max-width: 768px) {
  body.theme-kokoro .players-grid {
    background: #ffe8f0;
    border: 1px solid rgba(255, 175, 195, 0.45);
  }

  body.theme-kokoro .player-card {
    background: #fff0f4;
    border: 1px solid rgba(255, 180, 200, 0.35);
    min-width: 70px;
    max-width: 70px;
    padding: 0.25rem;
  }

  /* Compact player name on mobile */
  body.theme-kokoro .player-card .player-name {
    font-size: 0.5rem;
    margin-bottom: 0.1rem;
  }

  /* Compact AI status badge on mobile */
  body.theme-kokoro .player-card .ai-status-indicator {
    padding: 0.1rem 0.3rem;
    border-radius: 6px;
    font-size: 0.5rem;
    gap: 0.15rem;
  }

  body.theme-kokoro .player-card .ai-status-indicator .ai-icon {
    font-size: 0.5rem;
  }

  body.theme-kokoro .player-card .ai-status-indicator .ai-skill-level {
    font-size: 0.45rem;
    letter-spacing: 0;
  }

  /* Compact header */
  body.theme-kokoro .player-card .player-info-header {
    gap: 0.2rem;
    margin-bottom: 0.2rem;
  }

  /* Compact progress */
  body.theme-kokoro .player-card .progress-text {
    color: #ff6080;
    font-size: 0.55rem;
  }

  body.theme-kokoro .player-card .lives-text {
    font-size: 0.5rem;
  }

  /* Compact eliminated badge on mobile */
  body.theme-kokoro .player-card .eliminated-badge {
    font-size: 0.35rem;
    padding: 0.1rem 0.2rem;
    border-radius: 4px;
    letter-spacing: 0;
  }
}

/* ============================================
   SPECTATOR MODE - Kawaii Style
   ============================================ */

/* Note: Main spectator-hud styles are at the end of this file */

body.theme-kokoro .spectator-skill-badge.beginner {
  background: #80d090;
  color: #fff;
}

body.theme-kokoro .spectator-skill-badge.intermediate {
  background: #ffaa60;
  color: #fff;
}

body.theme-kokoro .spectator-skill-badge.expert {
  background: #ff7080;
  color: #fff;
}

body.theme-kokoro .spectator-skill-badge.human {
  background: #ff90b0;
  color: #fff;
}

body.theme-kokoro .spectator-stats {
  color: #8a6a7a;
}

body.theme-kokoro #spectator-progress-value,
body.theme-kokoro #spectator-lives-value {
  color: #ff6080;
}

body.theme-kokoro .spectator-exit-btn {
  background: rgba(255, 100, 120, 0.2);
  border: 1px solid rgba(255, 100, 120, 0.4);
  color: #e05070;
}

body.theme-kokoro .spectator-exit-btn:hover {
  background: rgba(255, 100, 120, 0.35);
  border-color: rgba(255, 80, 100, 0.6);
  color: #c04060;
}

/* Spectator Board Container - Pink pulsing border */
body.theme-kokoro .game-board-container.spectator-mode::before {
  border-color: rgba(255, 120, 150, 0.5);
  animation: kokoro-spectator-pulse 2s ease-in-out infinite;
}

@keyframes kokoro-spectator-pulse {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 15px rgba(255, 150, 180, 0.2); }
  50% { opacity: 0.7; box-shadow: 0 0 25px rgba(255, 120, 150, 0.4); }
}

/* Spectator Board - uses main .cell styles from theme (no longer needs separate spectator-cell styles) */

/* Spectating Badge on Player Card - Kawaii Style */
body.theme-kokoro .player-card.spectating {
  background: #ffe8f0;
  border: 1px solid #ff90b0 !important;
}

body.theme-kokoro .spectating-badge {
  background: #ff90b0;
  color: #fff;
  border-radius: 6px;
  font-family: 'M PLUS Rounded 1c', 'Quicksand', 'Comic Sans MS', sans-serif;
}

/* Spectator Nav Bar - Kawaii Style (Fixed at bottom) */
body.theme-kokoro .spectator-nav {
  background: rgba(255, 215, 225, 0.98);
  border: 1px solid rgba(255, 150, 180, 0.5);
  box-shadow: 0 4px 20px rgba(255, 150, 180, 0.3);
}

/* Bottom HUD in spectator mode */
body.theme-kokoro .bottom-hud.spectator-mode {
  border-color: rgba(255, 150, 180, 0.5);
  box-shadow: 0 0 15px rgba(255, 150, 180, 0.2);
}

body.theme-kokoro .spectator-inv-empty {
  color: #c090a0;
}

/* Spectator Side Navigation Arrows - Kawaii Style */
body.theme-kokoro .spectator-side-nav {
  background: linear-gradient(180deg,
    rgba(255, 200, 220, 0.95) 0%,
    rgba(255, 170, 200, 0.98) 100%);
  border: 2px solid rgba(255, 150, 180, 0.5);
  color: #c06080;
  box-shadow: 0 0 10px rgba(255, 150, 180, 0.3);
}

body.theme-kokoro .spectator-side-nav:hover {
  background: linear-gradient(180deg,
    rgba(255, 180, 210, 0.95) 0%,
    rgba(255, 150, 185, 0.98) 100%);
  border-color: rgba(255, 130, 170, 0.7);
  color: #903050;
  box-shadow: 0 0 15px rgba(255, 150, 180, 0.5);
}

body.theme-kokoro .spectator-player-name {
  color: #5a3a3a;
}

body.theme-kokoro .spectator-stats {
  color: #8a6a6a;
}

body.theme-kokoro #spectator-progress-value,
body.theme-kokoro #spectator-lives-value {
  color: #c06080;
}

body.theme-kokoro .spectator-exit-btn {
  background: rgba(255, 120, 120, 0.25);
  border-color: rgba(255, 120, 120, 0.4);
  color: #d05050;
}

body.theme-kokoro .spectator-exit-btn:hover {
  background: rgba(255, 120, 120, 0.4);
  border-color: rgba(255, 120, 120, 0.6);
  color: #a03030;
}

/* ========================================
   ELIMINATED BANNER - Kawaii Style
   ======================================== */

body.theme-kokoro .eliminated-banner {
  background: linear-gradient(135deg, 
    rgba(255, 220, 235, 0.98) 0%, 
    rgba(255, 200, 220, 0.98) 100%);
  border: 2px solid rgba(255, 150, 180, 0.5);
  border-radius: 12px;
  box-shadow: 
    0 4px 20px rgba(255, 150, 180, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #5a3a3a;
}

body.theme-kokoro .eliminated-text {
  color: #c06080;
  font-family: "M PLUS Rounded 1c", "Quicksand", sans-serif;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.theme-kokoro .spectating-player-name {
  color: #8a6080;
  border-left-color: rgba(255, 150, 180, 0.4);
}

body.theme-kokoro .spectator-toggle-btn {
  background: linear-gradient(180deg, 
    rgba(255, 180, 200, 0.6) 0%, 
    rgba(255, 150, 180, 0.7) 100%);
  border: 2px solid rgba(255, 120, 150, 0.5);
  border-radius: 20px;
  color: #a05070;
  font-family: "M PLUS Rounded 1c", "Quicksand", sans-serif;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 2px 8px rgba(255, 150, 180, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.theme-kokoro .spectator-toggle-btn:hover {
  background: linear-gradient(180deg, 
    rgba(255, 160, 185, 0.8) 0%, 
    rgba(255, 130, 165, 0.9) 100%);
  border-color: rgba(255, 100, 140, 0.7);
  color: #803050;
  box-shadow: 
    0 4px 12px rgba(255, 150, 180, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Exit mode - soft red/coral tint */
body.theme-kokoro .spectator-toggle-btn[data-spectating="true"] {
  background: linear-gradient(180deg, 
    rgba(255, 180, 180, 0.7) 0%, 
    rgba(255, 150, 150, 0.8) 100%);
  border-color: rgba(255, 120, 120, 0.5);
  color: #b05050;
}

body.theme-kokoro .spectator-toggle-btn[data-spectating="true"]:hover {
  background: linear-gradient(180deg, 
    rgba(255, 150, 150, 0.85) 0%, 
    rgba(255, 120, 120, 0.9) 100%);
  border-color: rgba(255, 100, 100, 0.7);
  color: #903030;
}

