/* ============================================================
   КОМПОНЕНТЫ ИНТЕРФЕЙСА (UI COMPONENTS)
   ============================================================ */

/* 1. КНОПКИ (BUTTONS) */
.btn {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  border: none;
  color: #0a0a14;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  outline: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.45);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--neon-blue);
  color: #0a0a14;
  box-shadow: 0 4px 25px rgba(0, 212, 255, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, var(--neon-red), #cc1133);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 68, 102, 0.25);
}

.btn-danger:hover {
  box-shadow: 0 6px 30px rgba(255, 68, 102, 0.45);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 30px;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

/* ============================================================
   ЦВЕТА ИГР (GAME COLOR TOKENS)
   ============================================================ */
.game-card[data-game="csgo"], .player-card[data-game="csgo"] { --game-color: #ffaa00; --game-glow: rgba(255,170,0,0.25); }
.game-card[data-game="dota2"], .player-card[data-game="dota2"] { --game-color: #ff3333; --game-glow: rgba(255,51,51,0.25); }
.game-card[data-game="valorant"], .player-card[data-game="valorant"] { --game-color: #ff4655; --game-glow: rgba(255,70,85,0.25); }
.game-card[data-game="gta5"], .player-card[data-game="gta5"] { --game-color: #00bfff; --game-glow: rgba(0,191,255,0.25); }
.game-card[data-game="rust"], .player-card[data-game="rust"] { --game-color: #ff7700; --game-glow: rgba(255,119,0,0.25); }
.game-card[data-game="apex"], .player-card[data-game="apex"] { --game-color: #ff0055; --game-glow: rgba(255,0,85,0.25); }
.game-card[data-game="fortnite"], .player-card[data-game="fortnite"] { --game-color: #00ddff; --game-glow: rgba(0,221,255,0.25); }
.game-card[data-game="minecraft"], .player-card[data-game="minecraft"] { --game-color: #44dd77; --game-glow: rgba(68,221,119,0.25); }
.game-card[data-game="warzone"], .player-card[data-game="warzone"] { --game-color: #ff6600; --game-glow: rgba(255,102,0,0.25); }
.game-card[data-game="pubg"], .player-card[data-game="pubg"] { --game-color: #ffcc00; --game-glow: rgba(255,204,0,0.25); }
.game-card[data-game="rocket"], .player-card[data-game="rocket"] { --game-color: #00bbee; --game-glow: rgba(0,187,238,0.25); }
.game-card[data-game="rainbow"], .player-card[data-game="rainbow"] { --game-color: #ff44aa; --game-glow: rgba(255,68,170,0.25); }
.game-card[data-game="overwatch"], .player-card[data-game="overwatch"] { --game-color: #ff8800; --game-glow: rgba(255,136,0,0.25); }
.game-card[data-game="league"], .player-card[data-game="league"] { --game-color: #0ac8b0; --game-glow: rgba(10,200,176,0.25); }
.game-card[data-game="tarkov"], .player-card[data-game="tarkov"] { --game-color: #aa8855; --game-glow: rgba(170,136,85,0.25); }
.game-card[data-game="destiny"], .player-card[data-game="destiny"] { --game-color: #44aaff; --game-glow: rgba(68,170,255,0.25); }
.game-card[data-game="wow"], .player-card[data-game="wow"] { --game-color: #00ccff; --game-glow: rgba(0,204,255,0.25); }
.game-card[data-game="deadlock"], .player-card[data-game="deadlock"] { --game-color: #ffaa44; --game-glow: rgba(255,170,68,0.25); }
.game-card[data-game="marvel"], .player-card[data-game="marvel"] { --game-color: #ff2244; --game-glow: rgba(255,34,68,0.25); }
.game-card[data-game="xdefiant"], .player-card[data-game="xdefiant"] { --game-color: #00eeff; --game-glow: rgba(0,238,255,0.25); }
.game-card[data-game="thefinals"], .player-card[data-game="thefinals"] { --game-color: #ff33aa; --game-glow: rgba(255,51,170,0.25); }
.game-card[data-game="readyornot"], .player-card[data-game="readyornot"] { --game-color: #3388ff; --game-glow: rgba(51,136,255,0.25); }
.game-card[data-game="helldivers2"], .player-card[data-game="helldivers2"] { --game-color: #ffea00; --game-glow: rgba(255,234,0,0.25); }
.game-card[data-game="palworld"], .player-card[data-game="palworld"] { --game-color: #ff7744; --game-glow: rgba(255,119,68,0.25); }
.game-card[data-game="bg3"], .player-card[data-game="bg3"] { --game-color: #ff2266; --game-glow: rgba(255,34,102,0.25); }

/* ============================================================
   2. СЕТКА И КАРТОЧКИ-ПОСТЕРЫ ИГР (GAME POSTERS - ФОТО 1)
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
  perspective: 1000px;
}

.game-poster-card {
  --card-glow: #00d4ff;
  position: relative;
  border-radius: 22px;
  background: rgba(14, 23, 44, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 330px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.game-poster-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--card-glow);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 28px var(--card-glow);
  background: rgba(18, 28, 54, 0.9);
}

/* ОБЛАСТЬ АРТА / ПОСТЕРА ПЕРСОНАЖА */
.poster-art-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #080d1a;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.game-poster-card:hover .poster-image {
  transform: scale(1.08);
}

.poster-fade-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, rgba(14, 23, 44, 0.8) 60%, rgba(14, 23, 44, 0.98) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ИНФО-БЛОК ПОСТЕРА: НАЗВАНИЕ И КНОПКА «НАЙТИ ПАТИ» */
.poster-info-wrapper {
  position: relative;
  z-index: 4;
  padding: 4px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 8px;
}

.poster-title {
  font-family: 'Rajdhani', -apple-system, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-find-party {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  cursor: pointer;
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid currentColor;
  transition: all 0.22s ease;
  user-select: none;
  white-space: nowrap;
}

/* ТЕМЫ КНОПОК ПОСТЕРА */
.btn-find-party.cyan {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
}

.btn-find-party.cyan:hover, .game-poster-card:hover .btn-find-party.cyan {
  background: #00d4ff;
  color: #040711;
  border-color: #00d4ff;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.65);
}

.btn-find-party.gold {
  color: #e5a93c;
  border-color: rgba(229, 169, 60, 0.45);
  box-shadow: 0 0 14px rgba(229, 169, 60, 0.18);
}

.btn-find-party.gold:hover, .game-poster-card:hover .btn-find-party.gold {
  background: #e5a93c;
  color: #040711;
  border-color: #e5a93c;
  box-shadow: 0 0 22px rgba(229, 169, 60, 0.65);
}

.btn-find-party.red {
  color: #ff4655;
  border-color: rgba(255, 70, 85, 0.45);
  box-shadow: 0 0 14px rgba(255, 70, 85, 0.18);
}

.btn-find-party.red:hover, .game-poster-card:hover .btn-find-party.red {
  background: #ff4655;
  color: #ffffff;
  border-color: #ff4655;
  box-shadow: 0 0 22px rgba(255, 70, 85, 0.65);
}

/* ============================================================
   СТИЛИЗОВАННЫЕ АРТЫ ДЛЯ 25 ИГР (POSTER ARTWORKS)
   ============================================================ */
.art-valorant .poster-character-art {
  background: radial-gradient(circle at 60% 30%, #ff4655 0%, #1e1124 50%, #0d1222 100%);
}
.art-apex .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e5a93c 0%, #301a14 50%, #0d1222 100%);
}
.art-dota2 .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff3333 0%, #280e12 50%, #0d1222 100%);
}
.art-cs2 .poster-character-art {
  background: radial-gradient(circle at 70% 30%, #ff7700 0%, #112233 50%, #0d1222 100%);
}
.art-overwatch .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff9900 0%, #291811 50%, #0d1222 100%);
}
.art-pubg .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e5a93c 0%, #2b2210 50%, #0d1222 100%);
}
.art-fortnite .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #9d4edd 0%, #171536 50%, #0d1222 100%);
}
.art-minecraft .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #22c55e 0%, #0f2818 50%, #0d1222 100%);
}
.art-lol .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #00d4ff 0%, #0d2838 50%, #0d1222 100%);
}
.art-rust .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e65100 0%, #2e150b 50%, #0d1222 100%);
}
.art-gta5 .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff007a 0%, #1a102e 50%, #0d1222 100%);
}
.art-warzone .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e5a93c 0%, #1e2417 50%, #0d1222 100%);
}
.art-rocket .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #0070f3 0%, #0e1e38 50%, #0d1222 100%);
}
.art-rainbow .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e5a93c 0%, #241d14 50%, #0d1222 100%);
}
.art-tarkov .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #9e9d24 0%, #1e2014 50%, #0d1222 100%);
}
.art-destiny .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #00d4ff 0%, #12243d 50%, #0d1222 100%);
}
.art-wow .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ffd700 0%, #2b220e 50%, #0d1222 100%);
}
.art-deadlock .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff4655 0%, #2e1017 50%, #0d1222 100%);
}
.art-marvel .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff0033 0%, #1f1124 50%, #0d1222 100%);
}
.art-xdefiant .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #e5a93c 0%, #221f14 50%, #0d1222 100%);
}
.art-thefinals .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff3366 0%, #2e111a 50%, #0d1222 100%);
}
.art-readyornot .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #0088ff 0%, #0e1e2e 50%, #0d1222 100%);
}
.art-helldivers2 .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ffe600 0%, #2a2510 50%, #0d1222 100%);
}
.art-palworld .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #00e5ff 0%, #112d38 50%, #0d1222 100%);
}
.art-bg3 .poster-character-art {
  background: radial-gradient(circle at 50% 30%, #ff1744 0%, #290e18 50%, #0d1222 100%);
}

/* ============================================================
   3. СЕТКА И КАРТОЧКИ ИГРОКОВ (PLAYERS)
   ============================================================ */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.player-card {
  --game-color: var(--neon-blue);
  --game-glow: rgba(0, 212, 255, 0.15);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--game-color);
  border-radius: var(--radius);
  padding: 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at 15% 0%, var(--game-glow), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: var(--game-color);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--game-glow);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.player-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #0a0a14;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-info {
  overflow: hidden;
}

.player-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-game {
  font-size: 0.82rem;
  color: var(--game-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.player-game svg {
  width: 16px;
  height: 16px;
  color: var(--game-color);
  stroke: var(--game-color);
  fill: var(--game-color);
  fill-opacity: 0.25;
}

.player-rank {
  display: inline-block;
  background: var(--game-glow);
  color: var(--game-color);
  border: 1px solid var(--game-color);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.player-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.player-desc.empty-desc {
  font-style: italic;
  opacity: 0.5;
}

.player-device {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.device-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.device-icon-sm {
  width: 14px;
  height: 14px;
}

.player-device svg {
  color: var(--neon-blue);
  stroke: var(--neon-blue);
}

.looking-for-team {
  display: inline-flex;
  align-items: center;
  background: rgba(68, 255, 136, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(68, 255, 136, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 10px rgba(68, 255, 136, 0.2);
}

.player-status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.card-actions .btn {
  flex: 1;
}

.card-actions .report-btn {
  flex: 0.6;
  border-color: rgba(255, 68, 102, 0.4);
  color: var(--neon-red);
}

.card-actions .report-btn:hover {
  background: var(--neon-red);
  color: #fff;
  border-color: var(--neon-red);
}

/* 4. ПУСТОЕ СОСТОЯНИЕ (EMPTY STATE) */
.empty-state {
  text-align: center;
  padding: 60px 30px;
  color: var(--text-secondary);
  background: rgba(14, 20, 32, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  max-width: 580px;
  margin: 30px auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.empty-state svg {
  width: 56px;
  height: 56px;
  stroke: var(--neon-blue);
  opacity: 0.5;
  margin-bottom: 16px;
  fill: none;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.3));
}

.empty-state h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.empty-state p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   5. ПРОФИЛЬ И НАСТРОЙКИ (GAMER ID & PROFILE SETTINGS)
   ============================================================ */
.profile-container {
  max-width: 680px;
  margin: 0 auto;
}

.profile-page-header {
  margin-bottom: 24px;
}

/* ============================================================
   ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ И КАСТОМИЗАЦИЯ (PROFILE DASHBOARD & CUSTOM)
   ============================================================ */

.profile-container {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* 1. ГЛАВНАЯ ПАНЕЛЬ ПРОФИЛЯ (GAMER HERO BANNER) */
.profile-hero-card {
  position: relative;
  background: rgba(10, 18, 36, 0.78);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 24px;
  padding: 28px 28px 20px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 212, 255, 0.15), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  margin-bottom: 24px;
}

.profile-card-glow-bg {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, rgba(121, 40, 202, 0.12) 60%, transparent 80%);
  filter: blur(35px);
  pointer-events: none;
}

.profile-hero-top {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-wrapper .avatar-frame-wrap {
  width: 92px;
  height: 92px;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(121, 40, 202, 0.35) 60%, rgba(10, 16, 28, 0.9) 100%);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  color: #00f0ff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-avatar-wrapper .online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00ff88;
  border: 3px solid rgba(10, 18, 36, 0.95);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  z-index: 3;
}

.avatar-edit-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 9, 20, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 12px;
  color: #00d4ff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 4;
  transition: all 0.2s ease;
}

.avatar-edit-badge svg {
  width: 11px;
  height: 11px;
}

.avatar-edit-badge:hover {
  background: var(--neon-blue);
  color: #050b14;
  border-color: var(--neon-blue);
  transform: translateX(-50%) scale(1.05);
}

.profile-hero-details {
  flex: 1;
  min-width: 220px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.profile-id-badge {
  font-family: 'Orbitron', 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  letter-spacing: 0.5px;
}

.profile-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.profile-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.profile-tag-pill.game-tag {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.35);
  color: #00f0ff;
}

.profile-tag-pill.game-tag svg,
.profile-tag-pill.device-tag svg {
  width: 14px;
  height: 14px;
}

.profile-tag-pill.status-tag {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.25);
  color: #00ff88;
}

.profile-hero-coins-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 14px;
  padding: 10px 16px;
  backdrop-filter: blur(10px);
}

.hero-coins-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.hero-coins-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffd700;
  cursor: pointer;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.hero-coins-val svg {
  width: 16px;
  height: 16px;
}

.btn-hero-coin-buy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #0077ff);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero-coin-buy:hover {
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.6);
}

.btn-hero-coin-buy svg {
  width: 12px;
  height: 12px;
}

/* 2. НАВИГАЦИОННЫЕ ВКЛАДКИ ПРОФИЛЯ */
.profile-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  border-radius: 14px;
  background: rgba(4, 9, 20, 0.6);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.profile-tab-btn svg {
  width: 16px;
  height: 16px;
}

.profile-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.profile-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22) 0%, rgba(121, 40, 202, 0.26) 100%);
  border-color: rgba(0, 212, 255, 0.5);
  color: #00f0ff;
  box-shadow: 0 4px 18px rgba(0, 212, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.tab-hot-badge {
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff007f, #b44dff);
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* 3. КОНТЕНТ ВКЛАДОК */
.profile-tab-content {
  display: none;
  animation: fadeIn 0.28s ease;
}

.profile-tab-content.active {
  display: block;
}

/* 4. ВКЛАДКА 1: ОБЗОР АНКЕТЫ */
.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.profile-glass-card {
  background: rgba(10, 18, 36, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.profile-glass-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.profile-glass-card.full-span {
  grid-column: 1 / -1;
}

.card-glass-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-glass-header .header-icon {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
}

.card-glass-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.overview-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.overview-stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-val.highlight {
  color: #00f0ff;
  font-weight: 800;
}

.badge-pill-on {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00ff88;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-pill-off {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
}

.desc-text-clean {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  white-space: pre-wrap;
}

.desc-box .empty,
.profile-desc-box .empty {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-size: 0.88rem;
}

.premium-showcase-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(20, 15, 30, 0.85) 100%) !important;
  border-color: rgba(255, 215, 0, 0.35) !important;
}

.premium-showcase-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.premium-showcase-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  flex-shrink: 0;
}

.premium-showcase-icon svg {
  width: 24px;
  height: 24px;
}

.premium-showcase-text {
  flex: 1;
}

.premium-showcase-text h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-showcase-text p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.btn-upgrade-premium {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #070709;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-upgrade-premium svg {
  width: 14px;
  height: 14px;
}

.btn-upgrade-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.overview-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-cyber-gradient {
  flex: 1;
  min-width: 180px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00d4ff 0%, #0070f3 60%, #7928ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.35);
  transition: all 0.25s ease;
}

.btn-cyber-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 112, 243, 0.55), 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-outline-cyan {
  padding: 12px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 12px;
  color: #00f0ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline-cyan:hover {
  background: rgba(0, 212, 255, 0.22);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* 5. ВКЛАДКА 2: КАСТОМИЗАЦИЯ И ГАРДЕРОБ */
.custom-avatar-stage-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(121, 40, 202, 0.15) 50%, rgba(8, 14, 28, 0.95) 100%);
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 212, 255, 0.15);
  margin-bottom: 24px;
  overflow: hidden;
}

.stage-card-glow {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.stage-avatar-display {
  flex-shrink: 0;
}

.stage-avatar-display .avatar-frame-wrap {
  width: 96px;
  height: 96px;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.stage-avatar-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #b44dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  overflow: hidden;
}

.stage-avatar-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.stage-info {
  flex: 1;
}

.stage-title-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--neon-cyan);
  font-weight: 800;
  margin-bottom: 4px;
}

.stage-frame-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.stage-hint {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ============================================================
   ЕДИНЫЕ СЕКЦИИ ПРОФИЛЯ (UNIFIED PROFILE SECTIONS)
   ============================================================ */

.profile-unified-section {
  background: rgba(10, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.profile-unified-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.6) 0%, rgba(180, 77, 255, 0.6) 50%, rgba(255, 68, 204, 0) 100%);
}

.unified-section-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.unified-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.unified-section-title svg {
  width: 22px;
  height: 22px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.unified-section-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  line-height: 1.45;
}

.custom-wardrobe-block {
  margin-bottom: 28px;
}

.wardrobe-header {
  margin-bottom: 14px;
}

.wardrobe-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.wardrobe-title svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
}

.wardrobe-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.custom-frames-grid,
.custom-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.custom-frame-card,
.custom-theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(10, 18, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 14px;
  backdrop-filter: blur(14px);
  transition: all 0.22s ease;
}

.custom-frame-card:hover,
.custom-theme-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(12, 22, 44, 0.85);
  transform: translateY(-2px);
}

.custom-frame-card.active,
.custom-theme-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.frame-preview-box {
  margin-bottom: 12px;
}

.frame-preview-box .avatar-frame-wrap {
  width: 68px;
  height: 68px;
  padding: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.frame-preview-box .frame-preview-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #b44dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  overflow: hidden;
}

.frame-preview-box .frame-preview-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.frame-card-info,
.theme-card-info {
  margin-bottom: 14px;
  flex: 1;
}

.frame-name,
.theme-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.frame-desc,
.theme-desc {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.theme-palette-preview {
  width: 72px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.theme-default-preview {
  background: linear-gradient(135deg, #00d4ff 0%, #0077ff 50%, #040914 100%);
}

.theme-lobbivo-preview {
  background: linear-gradient(135deg, #7928ca 0%, #b44dff 50%, #060b18 100%);
}

.preview-l-glyph {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 10px #b44dff;
}

.theme-nebula-preview {
  background: linear-gradient(135deg, #2b0938 0%, #7b2cbf 50%, #00f0ff 100%);
}

.theme-crimson-preview {
  background: linear-gradient(135deg, #40050b 0%, #ff1a00 50%, #ff8800 100%);
}

.theme-matrix-preview {
  background: linear-gradient(135deg, #031c0d 0%, #00ff88 50%, #003816 100%);
}

.btn-custom-action {
  width: 100%;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-custom-action.btn-equip {
  background: rgba(0, 212, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.5);
  color: #00f0ff;
}

.btn-custom-action.btn-equip:hover {
  background: var(--neon-cyan);
  color: #040914;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}

.btn-custom-action.btn-active {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.5);
  color: #00ff88;
  cursor: default;
}

.btn-custom-action.btn-buy-link {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
}

.btn-custom-action.btn-buy-link:hover {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #070709;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.btn-custom-action svg {
  width: 14px;
  height: 14px;
}

/* 6. ВКЛАДКА 3: РЕДАКТИРОВАНИЕ ПРОФИЛЯ */
.profile-edit-container-clean {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edit-clean-card {
  background: rgba(10, 18, 36, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.edit-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.edit-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
}

.edit-avatar-upload-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.edit-avatar-preview-box {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.edit-avatar-preview-box .avatar-frame-wrap {
  width: 76px;
  height: 76px;
  padding: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.edit-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(121, 40, 202, 0.35) 60%, rgba(10, 16, 28, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  color: #00f0ff;
  overflow: hidden;
}

.edit-avatar-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.edit-avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(4, 9, 20, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #00f0ff;
  font-size: 0.65rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.edit-avatar-preview-box:hover .edit-avatar-upload-overlay {
  opacity: 1;
}

.edit-avatar-upload-overlay svg {
  width: 14px;
  height: 14px;
}

.edit-avatar-upload-info {
  flex: 1;
}

.upload-info-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}

.upload-info-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 8px;
}

.premium-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #ffd700;
  font-weight: 700;
}

.premium-feature-tag svg {
  width: 12px;
  height: 12px;
}

.edit-field-spaced {
  margin-top: 14px;
}

.edit-clean-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-save-clean {
  flex: 1;
  min-width: 180px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #00d4ff 0%, #0070f3 60%, #7928ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.4), 0 0 16px rgba(0, 212, 255, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-save-clean:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 112, 243, 0.55), 0 0 24px rgba(0, 212, 255, 0.5);
}

.btn-save-clean svg {
  width: 16px;
  height: 16px;
}

/* 7. КАРТОЧКА ССЫЛКИ В НАСТРОЙКАХ */
.settings-custom-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(121, 40, 202, 0.15) 100%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 18px;
  padding: 18px 22px;
  cursor: pointer;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.settings-custom-link-card:hover {
  border-color: var(--neon-cyan);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(121, 40, 202, 0.22) 100%);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
}

.link-card-text h4 {
  margin: 0 0 3px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 800;
}

.link-card-text p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.btn-danger-glass:hover {
  background: rgba(255, 46, 85, 0.25);
  border-color: #ff4655;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 46, 85, 0.4);
}

/* 6. НАСТРОЙКИ (SETTINGS PAGE) */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.theme-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-blue);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 212, 255, 0.2);
}

.theme-card.active {
  border-color: var(--neon-blue);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 212, 255, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
}

.theme-preview {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.theme-preview-default {
  background: linear-gradient(135deg, #00d4ff 0%, #7928ca 50%, #ff007a 100%);
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.theme-preview-lobbivo,
.theme-preview-finder {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 240, 255, 0.18) 40%, rgba(192, 132, 252, 0.25) 80%, rgba(10, 20, 45, 0.8) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-l-glyph,
.preview-f-glyph {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.85));
}

.theme-info {
  flex: 1;
  min-width: 0;
}

.theme-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.theme-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.35;
}

.theme-glow-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: #00f0ff;
  letter-spacing: 0.8px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.theme-badge-active {
  font-size: 0.7rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: #00f0ff;
  display: none;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.theme-card.active .theme-badge-active {
  display: inline-block;
}

/* 7. О САЙТЕ (ABOUT PAGE) */
.about-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-content .highlight {
  color: var(--neon-blue);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--neon-blue);
  fill: none;
  flex-shrink: 0;
}

/* 8. ЧАТ (FLOATING CHAT & CONTAINER) */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(12, 20, 36, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.2px solid rgba(0, 212, 255, 0.4);
  color: #00d4ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 212, 255, 0.22), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
  z-index: 500;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.chat-fab:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(16, 28, 52, 0.88);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 212, 255, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.chat-fab:active {
  transform: translateY(0) scale(0.98);
}

.chat-fab svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.chat-fab:hover svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.85));
}

.chat-fab .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #ff2e55 0%, #ff007a 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 14px rgba(255, 46, 85, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  height: 540px;
  max-height: calc(100vh - 120px);
  background: rgba(8, 16, 34, 0.88);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 212, 255, 0.18), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chat-container.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-container.closing {
  animation: chatSlideOut 0.25s forwards;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.chat-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.chat-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--neon-blue);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-input);
}

.chat-back-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.chat-user .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a0a14;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-user .avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.55);
}

.chat-user .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-user #chatUserName {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.18s ease;
}

.chat-user #chatUserName:hover {
  color: var(--neon-cyan);
}

.chat-header-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chat-header-status {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.chat-header-status.online {
  color: #00ff9d;
  text-shadow: 0 0 6px rgba(0, 255, 157, 0.4);
}

.chat-header-status.offline {
  color: var(--text-muted);
}

.chat-header-status.typing {
  color: #00e5ff;
  font-style: italic;
  animation: pulseGlow 1.4s infinite;
}

.online-indicator-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark, #0c0d14);
  background: #00ff9d;
  box-shadow: 0 0 8px #00ff9d;
}

.online-indicator-dot.offline {
  display: none;
}

.popover-online-status.online {
  color: #00ff9d !important;
}

.popover-online-status.offline {
  color: var(--text-muted) !important;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.chat-close:hover {
  color: var(--text-primary);
}

.chat-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  display: none;
}

.chat-list.open {
  display: block;
}

.chat-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}

.chat-list-item:hover {
  background: var(--bg-input);
}

.chat-list-item .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0a0a14;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-list-item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-item-body {
  flex: 1;
  overflow: hidden;
}

.chat-list-item .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.chat-list-item .last-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-list-item .unread {
  background: var(--neon-blue);
  color: #0a0a14;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.empty-chats {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-greeting {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: auto 0 10px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
  animation: msgAppear 0.25s ease forwards;
}

.msg.in {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.msg.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  color: #0a0a14;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.msg .sender {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 2px;
}

.msg .time {
  display: inline-block;
  font-size: 0.65rem;
  opacity: 0.7;
}

.msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 3px;
}

.msg-status-ticks {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.msg-status-ticks.sent {
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: -1px;
}

.msg-status-ticks.read {
  color: #0a0a14;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
  letter-spacing: -2px;
}

.list-ticks {
  font-size: 0.72rem;
  font-weight: 800;
}

.list-ticks.sent {
  color: var(--text-muted);
  letter-spacing: -1px;
}

.list-ticks.read {
  color: #00e5ff;
  letter-spacing: -2px;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.chat-list-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 500;
}

/* ИНДИКАТОР НАБОРА ТЕКСТА (TYPING BAR) */
.chat-typing-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  font-size: 0.76rem;
  color: #00e5ff;
  font-weight: 600;
  animation: msgAppear 0.2s ease;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e5ff;
  display: inline-block;
  animation: typingDotBounce 1.3s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* ПРЕВЬЮ ОТВЕТА (REPLY BAR - TELEGRAM STYLE) */
.chat-reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(15, 20, 36, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #00e5ff;
  animation: msgAppear 0.2s ease;
}

.reply-preview-content {
  flex: 1;
  min-width: 0;
}

.reply-preview-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.reply-preview-header svg {
  width: 12px;
  height: 12px;
  stroke: #00e5ff;
  fill: none;
}

.reply-preview-author {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00e5ff;
}

.reply-preview-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reply-preview-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reply-preview-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.reply-preview-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
}

/* ЦИТАТА ВНУТРИ СООБЩЕНИЯ */
.msg-reply-quote {
  display: flex;
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid #00e5ff;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.msg-reply-quote:hover {
  background: rgba(0, 0, 0, 0.4);
}

.reply-quote-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reply-quote-author {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00e5ff;
  line-height: 1.2;
}

.reply-quote-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* ПАНЕЛЬ ДЕЙСТВИЙ СООБЩЕНИЯ (REPLY & ADMIN ACTIONS) */
.msg-actions-bar {
  position: absolute;
  top: 4px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 10;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(8px);
  padding: 2px 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.msg:hover .msg-actions-bar,
.msg:focus-within .msg-actions-bar,
.world-msg-item:hover .msg-actions-bar {
  opacity: 1;
  pointer-events: auto;
}

.world-msg-header .msg-actions-bar {
  position: static;
  opacity: 1;
  pointer-events: auto;
  background: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-left: auto;
}

.btn-msg-reply,
.btn-msg-admin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
}

.btn-msg-reply:hover {
  background: #00e5ff;
  color: #0a0a14;
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.btn-msg-admin.btn-msg-mute:hover {
  background: #ffaa00;
  color: #0a0a14;
  border-color: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.6);
}

.btn-msg-admin.btn-msg-del:hover {
  background: #ff3366;
  color: #ffffff;
  border-color: #ff3366;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.6);
}

.btn-msg-reply svg,
.btn-msg-admin svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.chat-input {
  display: flex;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--glass-border);
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.chat-input input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.chat-input input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  border: none;
  color: #0a0a14;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.send-btn:hover {
  transform: scale(1.08);
}

.send-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================================
   8.1. ЧАТ 2.0: СЕГМЕНТИРОВАННЫЕ ВКЛАДКИ, МИРОВОЙ ЧАТ И ЗАЯВКИ
   ============================================================ */
.chat-tab-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  gap: 8px;
}

.chat-tab-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Rajdhani', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: all 0.22s ease;
  position: relative;
}

.chat-tab-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.chat-tab-pill.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(121, 40, 202, 0.35) 100%);
  border-color: rgba(0, 240, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.25);
}

.chat-tab-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.chat-tab-badge {
  background: var(--neon-red);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 2px;
}

.chat-section-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.direct-chat-room {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

/* МИРОВОЙ ЧАТ ЛЕНТА */
.world-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.world-msg-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
  animation: msgAppear 0.22s ease forwards;
}

.world-msg-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.25);
}

.world-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #0a0a14;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.world-msg-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.world-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-msg-body {
  flex: 1;
  min-width: 0;
}

.world-msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.world-msg-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon-cyan);
  cursor: pointer;
  transition: color 0.18s ease;
}

.world-msg-author:hover {
  color: var(--neon-blue);
  text-decoration: underline;
}

.world-msg-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-transform: uppercase;
}

.world-msg-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-left: auto;
}

.world-msg-text {
  font-size: 0.86rem;
  color: var(--text-primary);
  line-height: 1.38;
  word-break: break-word;
}

.world-msg-item.from-me {
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
}

.world-msg-item.from-me .world-msg-author {
  color: var(--neon-blue);
}

.world-msg-blocked {
  opacity: 0.45;
  font-style: italic;
  font-size: 0.8rem;
}

/* БАННЕР ЗАЯВКИ В ДРУЗЬЯ В ДИАЛОГЕ */
.chat-friend-banner {
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.28) 0%, rgba(0, 212, 255, 0.18) 100%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.35);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  animation: msgAppear 0.25s ease;
}

.friend-banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.friend-banner-icon {
  font-size: 1.25rem;
}

.friend-banner-text {
  display: flex;
  flex-direction: column;
}

.friend-banner-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

.friend-banner-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.friend-banner-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-friend-accept {
  padding: 5px 11px;
  background: linear-gradient(135deg, #00f0ff, #0070f3);
  border: none;
  border-radius: 8px;
  color: #060913;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-friend-accept:hover {
  transform: scale(1.04);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.btn-friend-decline {
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-friend-decline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.chat-locked-notice {
  padding: 10px 14px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* БЫСТРОЕ ВСКОЧИВШЕЕ ОКНО ПРОФИЛЯ (POPOVER) */
.user-quick-popover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: msgAppear 0.2s ease;
}

.popover-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}

.popover-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  background: linear-gradient(145deg, rgba(16, 24, 48, 0.95) 0%, rgba(8, 12, 24, 0.98) 100%);
  border: 1.5px solid rgba(0, 212, 255, 0.45);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 212, 255, 0.2);
}

.popover-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popover-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.popover-close-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
}

.popover-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.popover-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0a0a14;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.popover-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popover-user-meta {
  display: flex;
  flex-direction: column;
}

.popover-username {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.popover-game-tag {
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

.popover-bio {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.popover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.popover-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-popover-action {
  width: 100%;
  padding: 9px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  outline: none;
}

.btn-popover-action svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.btn-popover-msg {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  border: none;
  color: #060913;
}

.btn-popover-msg:hover {
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
  transform: translateY(-1px);
}

.btn-popover-profile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-popover-profile:hover {
  background: rgba(0, 212, 255, 0.16);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-1px);
}

.btn-popover-block {
  background: rgba(255, 46, 85, 0.12);
  border: 1px solid rgba(255, 46, 85, 0.35);
  color: var(--neon-red);
}

.btn-popover-block:hover {
  background: rgba(255, 46, 85, 0.25);
  border-color: var(--neon-red);
}

/* МОДАЛКА ПЕРВОГО КОНТАКТА */
.first-contact-modal-glass {
  max-width: 460px;
}

.first-contact-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.first-contact-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.first-contact-title h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.first-contact-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.cyber-textarea-wrapper textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  resize: vertical;
  transition: var(--transition);
}

.cyber-textarea-wrapper textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.first-contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* СЕКЦИИ НАСТРОЕК: ПРИВАТНОСТЬ И ЧЁРНЫЙ СПИСОК */
.settings-sub-section {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
}

.settings-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.settings-section-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--neon-blue);
  stroke-width: 2;
  fill: none;
}

.privacy-settings-card,
.blacklist-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.privacy-option-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.privacy-options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-radio-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.privacy-radio-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.3);
}

.privacy-radio-item input[type="radio"] {
  display: none;
}

.privacy-radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.privacy-radio-item input[type="radio"]:checked + .privacy-radio-custom {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.privacy-radio-item input[type="radio"]:checked + .privacy-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
}

.privacy-radio-info {
  display: flex;
  flex-direction: column;
}

.privacy-radio-info strong {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.privacy-radio-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blacklist-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 20px;
}

.blacklist-items-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blacklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 46, 85, 0.25);
}

.blacklist-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blacklist-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 46, 85, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--neon-red);
}

.blacklist-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.btn-unblock {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-unblock:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

/* PUSH-УВЕДОМЛЕНИЯ В НАСТРОЙКАХ */
.push-settings-card {
  margin-top: 6px;
}

.push-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.push-toggle-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.25);
}

.push-toggle-info {
  flex: 1;
}

.push-toggle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.push-toggle-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* КИБЕРПАНК ПЕРЕКЛЮЧАТЕЛЬ (CYBER SWITCH) */
.cyber-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.cyber-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 28px;
}

.cyber-switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 2.5px;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.cyber-switch input:checked + .cyber-switch-slider {
  background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
  border-color: #00ff88;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.4);
}

.cyber-switch input:checked + .cyber-switch-slider:before {
  transform: translateX(21px);
  background-color: #040711;
}

.push-status-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.push-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
}

.push-status-dot.granted {
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
}

.push-status-dot.denied {
  background: #ff4444;
  box-shadow: 0 0 8px #ff4444;
}

.push-status-dot.default {
  background: #ffaa00;
  box-shadow: 0 0 8px #ffaa00;
}

.push-ios-hint {
  font-size: 0.78rem;
  color: rgba(0, 212, 255, 0.9);
  line-height: 1.35;
  background: rgba(0, 212, 255, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ============================================================
   9. МОДАЛЬНЫЕ ОКНА И ФОРМЫ (MODALS & FORMS)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.show,
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(8, 16, 34, 0.88);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 24px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 212, 255, 0.18), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.show .modal,
.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.modal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.modal h2 svg {
  width: 22px;
  height: 22px;
  stroke: var(--neon-blue);
  fill: none;
}

.modal .sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* СТИЛИЗАЦИЯ ВСЕХ ПОЛЕЙ ВВОДА И СЕЛЕКТОВ (СТЕКЛЯННЫЙ ДИЗАЙН) */
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(6, 12, 26, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 16px;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 2px 5px rgba(0, 0, 0, 0.5) !important;
  background: rgba(10, 20, 42, 0.85) !important;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* ============================================================
   КАСТОМНАЯ ПАНЕЛЬ ВЫБОРА ИГРЫ (CYBER GAME PICKER)
   ============================================================ */
.custom-game-picker {
  position: relative;
  width: 100%;
}

.game-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(6, 12, 26, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.game-picker-trigger:hover {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(10, 20, 42, 0.85) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.custom-game-picker.open .game-picker-trigger {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35), inset 0 2px 5px rgba(0, 0, 0, 0.5) !important;
  background: rgba(12, 24, 50, 0.9) !important;
}

.game-picker-current {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.game-picker-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.game-picker-badge svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: 0.2;
}

.game-picker-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-picker-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.game-picker-chevron svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.custom-game-picker.open .game-picker-chevron {
  transform: rotate(180deg);
  color: var(--neon-blue);
}

.game-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(8, 16, 34, 0.94);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 212, 255, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  z-index: 360;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-game-picker.open .game-picker-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.game-picker-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 6px 12px;
  margin-bottom: 10px;
}

.game-picker-search-box svg {
  width: 14px;
  height: 14px;
  stroke: var(--neon-blue);
  fill: none;
  flex-shrink: 0;
}

.game-picker-search-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--text-primary) !important;
  font-size: 0.84rem;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.game-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 2px;
}

.game-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.game-option-card:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.game-option-card.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(180, 77, 255, 0.14));
  border-color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.game-option-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--game-color, var(--neon-blue));
  color: var(--game-color, var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

.game-option-card:hover .game-option-icon,
.game-option-card.active .game-option-icon {
  transform: scale(1.1);
  box-shadow: 0 0 14px var(--game-color, var(--neon-blue));
}

.game-option-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: 0.25;
}

.game-option-name {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.game-option-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.game-option-card.active .game-option-check {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  color: #0a0a14;
  box-shadow: 0 0 8px var(--neon-blue);
}

.game-option-check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ============================================================
   КАСТОМНАЯ ПАНЕЛЬ ВЫБОРА УСТРОЙСТВА (CYBER DEVICE PICKER)
   ============================================================ */
.custom-device-picker {
  position: relative;
  width: 100%;
}

.device-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(6, 12, 26, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.device-picker-trigger:hover {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(10, 20, 42, 0.85) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.custom-device-picker.open .device-picker-trigger {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35), inset 0 2px 5px rgba(0, 0, 0, 0.5) !important;
  background: rgba(12, 24, 50, 0.9) !important;
}

.device-picker-current {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.device-picker-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.device-picker-badge svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: 0.2;
}

.device-picker-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.device-picker-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-picker-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.device-picker-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.device-picker-chevron svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.custom-device-picker.open .device-picker-chevron {
  transform: rotate(180deg);
  color: var(--neon-blue);
}

/* ВСПЛЫВАЮЩАЯ ПРЯМОУГОЛЬНАЯ ПАНЕЛЬ ВЫБОРА (СТЕКЛЯННЫЙ ДИЗАЙН) */
.device-select-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(8, 16, 34, 0.94);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 212, 255, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  z-index: 350;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-device-picker.open .device-select-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.device-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neon-blue);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid linear-gradient(90deg, var(--glass-border), transparent);
}

.device-panel-title svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.device-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 2px;
}

.device-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.device-option-card:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.device-option-card.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(180, 77, 255, 0.14));
  border-color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.device-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dev-color, var(--neon-blue));
  color: var(--dev-color, var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

.device-option-card:hover .device-option-icon,
.device-option-card.active .device-option-icon {
  transform: scale(1.1);
  box-shadow: 0 0 14px var(--dev-color, var(--neon-blue));
}

.device-option-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: 0.2;
}

.device-option-text {
  flex: 1;
  min-width: 0;
}

.device-option-name {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-option-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-option-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.device-option-card.active .device-option-check {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  color: #0a0a14;
  box-shadow: 0 0 8px var(--neon-blue);
}

.device-option-check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ФИКС ДЛЯ АВТОЗАПОЛНЕНИЯ БРАУЗЕРА (AUTOFILL) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text-primary) !important;
  -webkit-box-shadow: 0 0 0px 1000px #0d0d1a inset !important;
  box-shadow: 0 0 0px 1000px #0d0d1a inset !important;
  border-color: var(--neon-blue) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* НЕОНОВЫЙ ЧЕКБОКС (CYBER CHECKBOX) */
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #0d0d1a;
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkbox-field input[type="checkbox"]:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.checkbox-field input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  border-color: var(--neon-blue);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}

/* ============================================================
   ДИЗАЙН СТРАНИЦЫ/МОДАЛКИ АВТОРИЗАЦИИ И РЕГИСТРАЦИИ
   ============================================================ */
.auth-modal-glass {
  max-width: 460px;
  padding: 32px 28px;
  background: rgba(8, 16, 32, 0.9);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 24px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 212, 255, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
}

.auth-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-brand-emblem {
  flex-shrink: 0;
}

.auth-header-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin: 0;
  display: block;
}

.auth-header-text .sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  margin-bottom: 0;
}

/* Стеклянные переключатели вкладок Вход / Регистрация */
.auth-segmented-tabs {
  display: flex;
  background: rgba(5, 10, 22, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
  gap: 6px;
}

.auth-tab-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-tab-pill svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.25s ease;
}

.auth-tab-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.auth-tab-pill.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(121, 40, 202, 0.25) 100%);
  border-color: rgba(0, 212, 255, 0.5);
  color: #00f0ff;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.auth-tab-pill.active svg {
  stroke: #00f0ff;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.7));
  transform: scale(1.08);
}

/* Обертка полей ввода с иконками */
.input-cyber-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-cyber-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  stroke: rgba(0, 212, 255, 0.65);
  fill: none;
  pointer-events: none;
  transition: stroke 0.25s ease, filter 0.25s ease;
  z-index: 2;
}

.input-cyber-wrapper input {
  padding-left: 44px !important;
  padding-right: 44px !important;
}

.input-cyber-wrapper:focus-within .input-cyber-icon {
  stroke: #00f0ff;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
}

/* Кнопка показа / скрытия пароля */
.password-toggle-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: all 0.2s ease;
  z-index: 2;
}

.password-toggle-btn:hover {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.12);
}

.password-toggle-btn.active {
  color: #00f0ff;
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* Кнопка отправки формы авторизации */
.btn-auth-submit {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #00d4ff 0%, #0070f3 60%, #7928ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 112, 243, 0.45), 0 0 20px rgba(0, 212, 255, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 112, 243, 0.6), 0 0 30px rgba(0, 212, 255, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

.btn-auth-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-auth-submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.6);
}

/* Кастомный кибер-чекбокс */
.cyber-checkbox-field {
  margin: 16px 0 12px;
}

.cyber-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.cyber-checkbox-label input[type="checkbox"] {
  display: none;
}

.cyber-checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(6, 12, 26, 0.8);
  border: 1.5px solid rgba(0, 212, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cyber-checkbox-custom svg {
  width: 13px;
  height: 13px;
  stroke: #ffffff;
  stroke-width: 2.6;
  fill: none;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cyber-checkbox-label input[type="checkbox"]:checked + .cyber-checkbox-custom {
  background: linear-gradient(135deg, #00d4ff 0%, #0070f3 100%);
  border-color: #00f0ff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.65);
}

.cyber-checkbox-label input[type="checkbox"]:checked + .cyber-checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

.rules-link {
  color: var(--neon-blue);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 700;
}

.rules-link:hover {
  color: #00f0ff;
}

.rules-text {
  display: none;
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  max-height: 170px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.rules-text.show {
  display: block;
  animation: modalSlide 0.25s ease;
}

.rules-text h4 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-text h4 svg {
  width: 16px;
  height: 16px;
  stroke: var(--neon-blue);
  fill: none;
}

.rules-text ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.rules-text li {
  margin-bottom: 4px;
}

.rules-text .small {
  font-size: 0.75rem;
  color: #ff9900;
  margin-top: 6px;
}

/* Ошибки ввода */
.error-msg {
  display: none;
  background: rgba(255, 46, 85, 0.12);
  border: 1px solid rgba(255, 46, 85, 0.45);
  color: #ff4655;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(255, 46, 85, 0.25);
  align-items: center;
  gap: 8px;
}

.error-msg.show {
  display: flex;
}

.error-msg svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.modal .switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal .switch a {
  color: var(--neon-blue);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.modal .switch a:hover {
  color: #00f0ff;
}

/* Детальное модальное окно игрока */
.modal-user-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 20px;
}

.modal-user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #0a0a14;
  overflow: hidden;
  flex-shrink: 0;
}

.modal-user-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-user-game {
  font-size: 0.85rem;
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.modal-user-game svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: 0.2;
}

.modal-user-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.modal-user-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-user-actions .modal-report-btn {
  border-color: rgba(255, 68, 102, 0.4);
  color: var(--neon-red);
}

.modal-user-actions .modal-report-btn:hover {
  background: var(--neon-red);
  color: #fff;
  border-color: var(--neon-red);
}

/* 10. УВЕДОМЛЕНИЯ (TOAST NOTIFICATIONS) */
.notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--neon-blue);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 212, 255, 0.25);
  border-radius: var(--radius);
  padding: 16px 40px 16px 20px;
  max-width: 360px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.notif-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--neon-blue);
  margin-bottom: 2px;
}

.notif-body {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.notif-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.notif-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   ТЕМА LOBBIVO: ПОЛНЫЙ КОМПЛЕКС УЛЬТРА-РЕАЛИСТИЧНОГО ЖИДКОГО СТЕКЛА
   (ULTRA LIQUID FROSTED GLASS COMPONENT SUITE)
   ============================================================ */

/* 1. ПОСТЕРЫ И ПЛАШКИ ИГР (PURE TRANSPARENT GLASS — БЕЗ МАТОВОГО РАЗМЫТИЯ) */
[data-theme="lobbivo"] .game-poster-card,
[data-theme="finder"] .game-poster-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

[data-theme="lobbivo"] .game-poster-card::before,
[data-theme="finder"] .game-poster-card::before {
  display: none !important;
}

[data-theme="lobbivo"] .game-poster-card:hover,
[data-theme="finder"] .game-poster-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="lobbivo"] .poster-art-wrapper,
[data-theme="finder"] .poster-art-wrapper {
  background: transparent !important;
  height: 235px !important;
}

[data-theme="lobbivo"] .poster-image,
[data-theme="finder"] .poster-image {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
}

[data-theme="lobbivo"] .poster-fade-overlay,
[data-theme="finder"] .poster-fade-overlay {
  display: none !important;
}

[data-theme="lobbivo"] .poster-info-wrapper,
[data-theme="finder"] .poster-info-wrapper {
  background: transparent !important;
}

[data-theme="lobbivo"] .poster-title,
[data-theme="finder"] .poster-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

/* СТЕКЛЯННЫЕ КНОПКИ «НАЙТИ ПАТИ» — ПРОЗРАЧНОЕ СТЕКЛО */
[data-theme="lobbivo"] .btn-find-party,
[data-theme="finder"] .btn-find-party,
[data-theme="lobbivo"] .btn-find-party.cyan,
[data-theme="finder"] .btn-find-party.cyan,
[data-theme="lobbivo"] .btn-find-party.gold,
[data-theme="finder"] .btn-find-party.gold,
[data-theme="lobbivo"] .btn-find-party.red,
[data-theme="finder"] .btn-find-party.red {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  font-weight: 800 !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

[data-theme="lobbivo"] .game-poster-card:hover .btn-find-party,
[data-theme="finder"] .game-poster-card:hover .btn-find-party,
[data-theme="lobbivo"] .game-poster-card:hover .btn-find-party.cyan,
[data-theme="finder"] .game-poster-card:hover .btn-find-party.cyan,
[data-theme="lobbivo"] .game-poster-card:hover .btn-find-party.gold,
[data-theme="finder"] .game-poster-card:hover .btn-find-party.gold,
[data-theme="lobbivo"] .game-poster-card:hover .btn-find-party.red,
[data-theme="finder"] .game-poster-card:hover .btn-find-party.red,
[data-theme="lobbivo"] .btn-find-party:hover,
[data-theme="finder"] .btn-find-party:hover,
[data-theme="lobbivo"] .btn-find-party.cyan:hover,
[data-theme="finder"] .btn-find-party.cyan:hover,
[data-theme="lobbivo"] .btn-find-party.gold:hover,
[data-theme="finder"] .btn-find-party.gold:hover,
[data-theme="lobbivo"] .btn-find-party.red:hover,
[data-theme="finder"] .btn-find-party.red:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* 2. ПАРЯЩАЯ ШАПКА-КАПСУЛА (CRYSTAL CAPSULE HEADER) */
[data-theme="lobbivo"] .capsule-header,
[data-theme="finder"] .capsule-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(12, 16, 26, 0.72) 100%) !important;
  backdrop-filter: blur(38px) saturate(200%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(38px) saturate(200%) contrast(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1.5px 2px rgba(255, 255, 255, 0.75), inset 0 -1px 1.5px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="lobbivo"] .capsule-header:hover,
[data-theme="finder"] .capsule-header:hover {
  border-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 255, 255, 0.25), inset 0 1.5px 2.5px rgba(255, 255, 255, 0.9) !important;
}

[data-theme="lobbivo"] .capsule-search-box input,
[data-theme="finder"] .capsule-search-box input {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

[data-theme="lobbivo"] .capsule-search-box input:focus,
[data-theme="finder"] .capsule-search-box input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

[data-theme="lobbivo"] .capsule-profile-btn,
[data-theme="finder"] .capsule-profile-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.45), 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="lobbivo"] .capsule-profile-btn:hover,
[data-theme="finder"] .capsule-profile-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

[data-theme="lobbivo"] .search-toggle-btn,
[data-theme="finder"] .search-toggle-btn {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* 3. ВЫПАДАЮЩИЕ МЕНЮ И СЕЛЕКТОРЫ (GLASS POPUPS) */
[data-theme="lobbivo"] .profile-dropdown-panel,
[data-theme="finder"] .profile-dropdown-panel,
[data-theme="lobbivo"] .device-select-panel,
[data-theme="finder"] .device-select-panel,
[data-theme="lobbivo"] .game-picker-panel,
[data-theme="finder"] .game-picker-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(20, 24, 38, 0.9) 45%, rgba(8, 10, 18, 0.98) 100%) !important;
  backdrop-filter: blur(45px) saturate(200%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(45px) saturate(200%) contrast(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), inset 0 1.5px 2px rgba(255, 255, 255, 0.75), inset 0 -1.5px 2px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="lobbivo"] .profile-menu-item:hover,
[data-theme="finder"] .profile-menu-item:hover,
[data-theme="lobbivo"] .device-option-card:hover,
[data-theme="finder"] .device-option-card:hover,
[data-theme="lobbivo"] .game-option-card:hover,
[data-theme="finder"] .game-option-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.6) !important;
}

/* 4. МОДАЛЬНЫЕ ОКНА И ДИАЛОГИ (ULTRA GLASS DIALOGS) */
[data-theme="lobbivo"] .modal,
[data-theme="finder"] .modal {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(20, 24, 38, 0.92) 45%, rgba(6, 8, 14, 0.98) 100%) !important;
  backdrop-filter: blur(44px) saturate(200%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(44px) saturate(200%) contrast(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), inset 0 1.5px 2.5px rgba(255, 255, 255, 0.8), inset 0 -1.5px 2px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="lobbivo"] .modal-close,
[data-theme="finder"] .modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

[data-theme="lobbivo"] .modal-close:hover,
[data-theme="finder"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

/* 5. КАРТОЧКИ ИГРОКОВ И ПАТИ (LIQUID GLASS PLAYER CARDS) */
[data-theme="lobbivo"] .player-card,
[data-theme="finder"] .player-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(18, 22, 34, 0.65) 45%, rgba(8, 10, 18, 0.82) 100%) !important;
  backdrop-filter: blur(34px) saturate(200%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(34px) saturate(200%) contrast(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), inset 0 1.5px 2px rgba(255, 255, 255, 0.65), inset 0 -1px 2px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="lobbivo"] .player-card:hover,
[data-theme="finder"] .player-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26) 0%, rgba(24, 30, 48, 0.72) 45%, rgba(10, 12, 22, 0.88) 100%) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 255, 255, 0.25), inset 0 1.5px 2.5px rgba(255, 255, 255, 0.85) !important;
}

/* 6. ГЕРОЙ-КАРТОЧКА ПРОФИЛЯ И БЛОКИ (PROFILE HERO GLASS) */
[data-theme="lobbivo"] .profile-hero-card,
[data-theme="finder"] .profile-hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(18, 22, 35, 0.85) 45%, rgba(6, 8, 16, 0.96) 100%) !important;
  backdrop-filter: blur(40px) saturate(200%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) contrast(108%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), inset 0 1.5px 2.5px rgba(255, 255, 255, 0.75), inset 0 -1.5px 2px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="lobbivo"] .profile-info-block,
[data-theme="finder"] .profile-info-block {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.45) !important;
}

[data-theme="lobbivo"] .profile-info-block:hover,
[data-theme="finder"] .profile-info-block:hover {
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="lobbivo"] .btn-edit-profile-toggle,
[data-theme="finder"] .btn-edit-profile-toggle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
}

[data-theme="lobbivo"] .btn-edit-profile-toggle:hover,
[data-theme="finder"] .btn-edit-profile-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.18) 100%) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
}

/* 7. ИНПУТЫ, СЕЛЕКТЫ И ПОЛЯ ВВОДА (GLASS INPUTS) */
[data-theme="lobbivo"] .field input,
[data-theme="finder"] .field input,
[data-theme="lobbivo"] .field select,
[data-theme="finder"] .field select,
[data-theme="lobbivo"] .field textarea,
[data-theme="finder"] .field textarea,
[data-theme="lobbivo"] .cyber-input-wrapper input,
[data-theme="finder"] .cyber-input-wrapper input,
[data-theme="lobbivo"] .device-picker-trigger,
[data-theme="finder"] .device-picker-trigger,
[data-theme="lobbivo"] .game-picker-trigger,
[data-theme="finder"] .game-picker-trigger {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

[data-theme="lobbivo"] .field input:focus,
[data-theme="finder"] .field input:focus,
[data-theme="lobbivo"] .field select:focus,
[data-theme="finder"] .field select:focus,
[data-theme="lobbivo"] .field textarea:focus,
[data-theme="finder"] .field textarea:focus,
[data-theme="lobbivo"] .cyber-input-wrapper:focus-within,
[data-theme="finder"] .cyber-input-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

/* 8. ЧАТ И ПЛАВАЮЩИЙ FAB (CRYSTAL CHAT DRAWER & FAB) */
[data-theme="lobbivo"] .chat-drawer,
[data-theme="finder"] .chat-drawer {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(16, 20, 32, 0.94) 50%, rgba(5, 7, 12, 0.98) 100%) !important;
  backdrop-filter: blur(42px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(42px) saturate(200%) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85), inset 1.5px 0 2px rgba(255, 255, 255, 0.7) !important;
}

[data-theme="lobbivo"] .chat-fab,
[data-theme="finder"] .chat-fab,
[data-theme="lobbivo"] .chat-fab-button,
[data-theme="finder"] .chat-fab-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(18, 22, 34, 0.8) 100%) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 255, 255, 0.22), inset 0 1.5px 2px rgba(255, 255, 255, 0.85) !important;
}

[data-theme="lobbivo"] .chat-fab:hover,
[data-theme="finder"] .chat-fab:hover,
[data-theme="lobbivo"] .chat-fab-button:hover,
[data-theme="finder"] .chat-fab-button:hover {
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 255, 255, 0.4), inset 0 1.5px 2.5px rgba(255, 255, 255, 1) !important;
}

[data-theme="lobbivo"] .msg.in,
[data-theme="finder"] .msg.in {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(16, 20, 32, 0.72) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

[data-theme="lobbivo"] .msg.out,
[data-theme="finder"] .msg.out {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
}

[data-theme="lobbivo"] .chat-container,
[data-theme="finder"] .chat-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(18, 22, 34, 0.92) 50%, rgba(6, 8, 16, 0.98) 100%) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.9), inset 0 1.5px 2px rgba(255, 255, 255, 0.7) !important;
}

[data-theme="lobbivo"] .chat-tab-pill.active,
[data-theme="finder"] .chat-tab-pill.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35) !important;
}

[data-theme="lobbivo"] .world-msg-item,
[data-theme="finder"] .world-msg-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="lobbivo"] .world-msg-item:hover,
[data-theme="finder"] .world-msg-item:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="lobbivo"] .chat-friend-banner,
[data-theme="finder"] .chat-friend-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(20, 24, 38, 0.9) 100%) !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

[data-theme="lobbivo"] .popover-card,
[data-theme="finder"] .popover-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(18, 22, 35, 0.94) 50%, rgba(6, 8, 14, 0.98) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), inset 0 1.5px 2px rgba(255, 255, 255, 0.75) !important;
}

[data-theme="lobbivo"] .privacy-settings-card,
[data-theme="finder"] .privacy-settings-card,
[data-theme="lobbivo"] .blacklist-card,
[data-theme="finder"] .blacklist-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(16, 20, 32, 0.7) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
}

/* ============================================================
   10. ПРИВЕТСТВЕННЫЙ ЛЕНДИНГ (WELCOME GATEWAY PAGE)
   ============================================================ */
.welcome-hero-container {
  position: relative;
  max-width: 1060px;
  margin: 10px auto 40px;
  padding: 10px 14px;
}

.welcome-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.welcome-glow-1 {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(0, 112, 243, 0.12) 50%, transparent 75%);
  filter: blur(80px);
  animation: glowOrbFloat1 9s ease-in-out infinite alternate;
}

.welcome-glow-2 {
  bottom: 60px;
  left: 8%;
  width: 360px;
  height: 280px;
  background: radial-gradient(circle, rgba(180, 77, 255, 0.24) 0%, rgba(255, 68, 204, 0.1) 50%, transparent 75%);
  filter: blur(85px);
  animation: glowOrbFloat2 12s ease-in-out infinite alternate;
}

.welcome-glow-3 {
  top: 30%;
  right: 6%;
  width: 340px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(121, 40, 202, 0.15) 50%, transparent 75%);
  filter: blur(90px);
  animation: glowOrbFloat1 10s ease-in-out infinite alternate-reverse;
}

.welcome-hero-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(14, 22, 44, 0.76) 0%, rgba(8, 12, 26, 0.92) 100%);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 212, 255, 0.12);
  padding: 44px 40px 36px;
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
}

.welcome-hero-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 212, 255, 0.2);
}

/* 3D Эмблема */
.welcome-brand-emblem-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.welcome-orbit-ring.ring-outer {
  width: 120px;
  height: 120px;
  border: 1.5px dashed rgba(0, 240, 255, 0.6);
  animation: spinOrbit 14s linear infinite;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
}

.welcome-orbit-ring.ring-inner {
  width: 96px;
  height: 96px;
  border: 1.5px solid rgba(180, 77, 255, 0.5);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spinOrbitReverse 8s linear infinite;
}

.welcome-brand-badge {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(14, 22, 44, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 28px rgba(0, 240, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatBadge 3.6s ease-in-out infinite;
  z-index: 2;
}

.welcome-badge-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.welcome-badge-l,
.welcome-badge-f {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 2.35rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 40%, #b44dff 75%, #ff44cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 22px rgba(180, 77, 255, 0.7));
  animation: pulseBadgeGlow 2.5s ease-in-out infinite alternate;
  user-select: none;
  transform: translateY(-1px);
}

/* Бейдж версии */
.welcome-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.18);
}

.welcome-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: dotPulse 2s infinite ease-in-out;
}

.welcome-pill-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #a5f3fc;
  text-transform: uppercase;
}

/* Заголовки */
.welcome-main-title {
  margin-bottom: 14px;
}

.welcome-title-wrap {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.welcome-title-gradient {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 40%, #b44dff 75%, #ff44cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.45));
  line-height: 1.1;
}

.welcome-beta-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.55);
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  margin-left: 6px;
  margin-top: 4px;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
  flex-shrink: 0;
}

.welcome-title-sub {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
  letter-spacing: 0.6px;
}

.welcome-hero-desc {
  max-width: 720px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Сетка преимуществ (Features Strip) */
.welcome-features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
  text-align: left;
}

.welcome-feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.welcome-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.15);
}

.feature-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f0ff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.feature-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.feature-card-text {
  flex: 1;
  min-width: 0;
}

.feature-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-card-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
}

/* Хаб действий (CTA Buttons) */
.welcome-actions-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.welcome-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 12px 24px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
  user-select: none;
  text-decoration: none;
}

.welcome-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.welcome-btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 50%, #7928ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.4);
}

.welcome-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 35px rgba(0, 240, 255, 0.65), 0 0 20px rgba(180, 77, 255, 0.5);
}

.welcome-btn-accent {
  background: linear-gradient(135deg, rgba(255, 68, 204, 0.25) 0%, rgba(180, 77, 255, 0.35) 100%);
  border: 1.5px solid rgba(255, 68, 204, 0.6);
  color: #ff80df;
  box-shadow: 0 4px 20px rgba(255, 68, 204, 0.25);
  backdrop-filter: blur(16px);
}

.welcome-btn-accent:hover {
  background: linear-gradient(135deg, #ff44cc 0%, #b44dff 100%);
  color: #ffffff;
  border-color: #ff80df;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 68, 204, 0.55);
}

.welcome-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.welcome-btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.welcome-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  box-shadow: none;
}

.welcome-btn-outline:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

/* Статистика */
.welcome-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-stat-item .stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #00f0ff;
  letter-spacing: 0.5px;
}

.welcome-stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 2px;
}

.welcome-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* Поддержка темы FINDER для Welcome Hero Card */
[data-theme="lobbivo"],
[data-theme="finder"] .welcome-hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(16, 20, 32, 0.82) 50%, rgba(6, 8, 16, 0.94) 100%) !important;
  backdrop-filter: blur(44px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(44px) saturate(200%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), inset 0 1.5px 2px rgba(255, 255, 255, 0.7) !important;
}

[data-theme="lobbivo"],
[data-theme="finder"] .welcome-brand-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(18, 22, 34, 0.85) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.35), inset 0 1.5px 2px rgba(255, 255, 255, 0.8) !important;
}

[data-theme="lobbivo"],
[data-theme="finder"] .welcome-feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 20, 32, 0.5) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* ============================================================
   11. СИСТЕМНЫЙ КИБЕР-ЛОАДЕР (SYSTEM LOADER OVERLAY)
   ============================================================ */
.system-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.system-loader-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.system-loader-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.system-loader-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(16, 24, 48, 0.9) 0%, rgba(6, 10, 22, 0.96) 100%);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  border-radius: 24px;
  padding: 32px 44px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.35);
  text-align: center;
  min-width: 280px;
  max-width: 90vw;
  transform: scale(0.92);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.system-loader-overlay.show .system-loader-card {
  transform: scale(1);
}

.system-loader-spinner-wrapper {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-loader-ring.outer-ring {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(0, 240, 255, 0.15);
  border-top-color: #00f0ff;
  border-right-color: #b44dff;
  animation: spinLoaderRing 0.85s linear infinite;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.system-loader-ring.inner-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 68, 204, 0.55);
  border-bottom-color: transparent;
  animation: spinLoaderRingReverse 1.2s linear infinite;
}

.system-loader-core-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
  animation: pulseLoaderCore 1.4s ease-in-out infinite alternate;
}

.system-loader-l,
.system-loader-f {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.loader-status-text {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.loader-scan-track {
  width: 140px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.loader-scan-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #00f0ff, #b44dff, #ff44cc);
  box-shadow: 0 0 10px #00f0ff;
  animation: laserScan 0.95s ease-in-out infinite alternate;
}

/* Поддержка темы FINDER для системного лоадера */
[data-theme="lobbivo"],
[data-theme="finder"] .system-loader-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24) 0%, rgba(14, 18, 30, 0.92) 50%, rgba(5, 7, 14, 0.96) 100%) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.25), inset 0 1.5px 2px rgba(255, 255, 255, 0.8) !important;
}

[data-theme="lobbivo"],
[data-theme="finder"] .system-loader-core-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4) !important;
}

/* ============================================================
   12. ГОСТЕВОЙ РЕЖИМ КАТАЛОГА (GUEST PREVIEW MODE)
   ============================================================ */
.games-guest-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(145deg, rgba(14, 22, 44, 0.8) 0%, rgba(8, 14, 28, 0.94) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 20px;
  padding: 12px 18px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.12);
}

.guest-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.guest-banner-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.guest-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  display: inline-block;
  animation: dotPulse 2s infinite ease-in-out;
}

.game-poster-card.guest-preview {
  cursor: default !important;
}

.game-poster-card.guest-preview:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
}

.poster-guest-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  user-select: none;
}

[data-theme="lobbivo"],
[data-theme="finder"] .games-guest-banner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(16, 20, 32, 0.8) 50%, rgba(6, 8, 16, 0.92) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(34px) saturate(200%) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), inset 0 1.5px 2px rgba(255, 255, 255, 0.65) !important;
}

[data-theme="lobbivo"],
[data-theme="finder"] .poster-guest-hint {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================================
   11. LOBBIVO COIN HUB (МОНЕТИЗАЦИЯ, ЗАДАНИЯ, ПОПОЛНЕНИЕ)
   ============================================================ */
.coin-modal-glass {
  max-width: 620px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(155deg, rgba(16, 22, 38, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(255, 200, 50, 0.35);
  border-radius: 28px;
  padding: 30px 26px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 180, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

.coin-modal-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.coin-3d-visual {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coin-3d-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.4) 0%, rgba(255, 150, 0, 0) 70%);
  filter: blur(8px);
  pointer-events: none;
}

.coin-3d-orbit {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 215, 0, 0.5);
  animation: coinOrbitPulse 12s infinite linear;
}

.coin-3d-gold {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffab3 0%, #ffca18 40%, #e67e00 80%, #8c4400 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 245, 170, 0.95);
  box-shadow: 0 4px 16px rgba(255, 170, 0, 0.55), inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -3px 4px rgba(100, 40, 0, 0.7);
  position: relative;
  overflow: hidden;
  animation: coinPulse 3.5s infinite ease-in-out;
}

.coin-3d-l,
.coin-3d-f {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  color: #381a00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 -1px 0 rgba(0, 0, 0, 0.4);
  line-height: 1;
  transform: translateY(-1px);
}

.coin-3d-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: coinGoldShine 4s infinite ease-in-out;
  pointer-events: none;
}

.coin-hero-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.coin-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffd84d;
}

.coin-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 8px #ffd700;
}

.coin-modal-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 60%, #ff9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.coin-balance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.coin-balance-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.coin-balance-number-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 12px;
  background: rgba(255, 200, 50, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 12px;
}

.coin-balance-number {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 200, 50, 0.4);
}

.coin-balance-suffix {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(255, 230, 150, 0.8);
}

/* ОПИСАНИЕ ВАЛЮТЫ */
.coin-about-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 190, 0, 0.06);
  border: 1px solid rgba(255, 200, 50, 0.2);
  border-radius: 16px;
  margin-bottom: 18px;
}

.coin-about-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 200, 50, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  flex-shrink: 0;
}

.coin-about-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffd700;
  fill: rgba(255, 215, 0, 0.25);
}

.coin-about-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.coin-about-text strong {
  color: #ffd84d;
}

/* СЕГМЕНТИРОВАННЫЕ ВКЛАДКИ */
/* СЕГМЕНТИРОВАННЫЕ ВКЛАДКИ (3 В 1 СТРОКУ) */
.coin-modal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 18px;
}

.coin-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 6px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  white-space: nowrap;
}

.coin-tab-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.coin-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.coin-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.2), rgba(255, 120, 0, 0.15));
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.2);
}

.coin-tab-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all 0.2s ease;
  line-height: 1;
}

.coin-tab-badge.highlight-badge {
  background: #ffd700;
  color: #000;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  animation: coinPulse 2s infinite ease-in-out;
}

/* ЗАДАНИЯ (QUESTS) */
.coin-tasks-header,
.coin-buy-header {
  margin-bottom: 14px;
}

.coin-tasks-title,
.coin-buy-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.coin-tasks-sub,
.coin-buy-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.coin-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coin-task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: all 0.22s ease;
}

.coin-task-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
}

.coin-task-card.ready-to-claim {
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.12), rgba(255, 120, 0, 0.06));
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 190, 0, 0.15);
}

.coin-task-card.claimed {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.coin-task-card.task-card-featured {
  background: linear-gradient(135deg, rgba(255, 190, 0, 0.08), rgba(0, 212, 255, 0.05));
  border-color: rgba(255, 200, 50, 0.3);
}

.task-card-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.task-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d4ff;
  flex-shrink: 0;
  margin-top: 2px;
}

.task-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.task-icon-wrap.featured-icon {
  background: rgba(255, 200, 50, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
}

.task-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.task-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.task-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.task-progress-wrap {
  margin-top: 6px;
}

.task-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}

.task-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ff8800);
  border-radius: 10px;
  transition: width 0.35s ease;
}

.task-progress-label {
  font-size: 0.74rem;
  color: #ffd84d;
  font-weight: 600;
}

.task-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.task-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(255, 200, 50, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.task-reward-pill.gold-highlight {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 140, 0, 0.2));
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 12px rgba(255, 200, 50, 0.25);
}

.task-coin-l,
.task-coin-f {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffd700;
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.task-reward-amount {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffd84d;
}

.task-action-btn {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.task-action-btn:hover:not(:disabled) {
  background: rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
  color: #00d4ff;
  transform: translateY(-1px);
}

.task-action-btn.claim-ready {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  border-color: #ffe680;
  color: #241100;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(255, 200, 50, 0.5);
  animation: goldButtonGlow 2s infinite ease-in-out;
}

.task-action-btn.claim-ready:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
  color: #000;
}

.task-action-btn.claimed {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
}

/* ПАКЕТЫ ПОКУПКИ (COIN PACKS) */
.coin-packs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.coin-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coin-pack-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 200, 50, 0.2);
}

.coin-pack-card.featured {
  background: linear-gradient(145deg, rgba(255, 200, 50, 0.1), rgba(16, 22, 38, 0.9));
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 8px 25px rgba(255, 180, 0, 0.15);
}

.coin-pack-card.legend {
  background: linear-gradient(145deg, rgba(180, 77, 255, 0.12), rgba(255, 200, 50, 0.1));
  border-color: rgba(180, 77, 255, 0.5);
}

.pack-tag-pill {
  position: absolute;
  top: -10px;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(255, 200, 50, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #ffd84d;
}

.pack-tag-pill.featured-tag {
  background: linear-gradient(90deg, #ff4444, #ff8800);
  border-color: #ffaa00;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.pack-tag-pill.legend-tag {
  background: linear-gradient(90deg, #b44dff, #ff0077);
  border-color: #d175ff;
  color: #fff;
  box-shadow: 0 0 10px rgba(180, 77, 255, 0.5);
}

.pack-coin-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7a0 0%, #ffc400 45%, #e67e00 85%, #9e5000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 245, 160, 0.9);
  box-shadow: 0 3px 10px rgba(255, 170, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.pack-coin-badge.gold-glow {
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.85);
}

.pack-coin-badge.legend-glow {
  box-shadow: 0 0 20px rgba(180, 77, 255, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.85);
}

.pack-l-letter,
.pack-f-letter {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #381a00;
  line-height: 1;
}

.pack-amount {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
}

.pack-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 2px 0 10px;
}

.pack-price {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 12px;
}

.btn-pack-buy {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 200, 50, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 12px;
  color: #ffd84d;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.btn-pack-buy:hover {
  background: linear-gradient(135deg, #ffd700, #ff9500);
  border-color: #ffe680;
  color: #1a0f00;
  box-shadow: 0 0 18px rgba(255, 200, 50, 0.5);
  transform: translateY(-1px);
}

/* КАЛЬКУЛЯТОР КОНВЕРТАЦИИ */
.coin-converter-box {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.converter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.converter-title svg {
  width: 16px;
  height: 16px;
  stroke: #ffd700;
}

.converter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.converter-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.converter-input-wrap label {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.converter-input-wrap input {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0 12px;
  color: #ffffff;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.converter-input-wrap input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 200, 50, 0.25);
}

.converter-arrow {
  font-size: 1.2rem;
  color: rgba(255, 215, 0, 0.6);
  padding-top: 16px;
}

.converter-result-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.converter-result-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.converter-result-value {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffd700;
  padding-top: 4px;
  text-shadow: 0 0 10px rgba(255, 200, 50, 0.4);
}

.btn-buy-custom-coins {
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  border: 1px solid #ffe680;
  border-radius: 12px;
  color: #241100;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  outline: none;
  transition: all 0.22s ease;
  box-shadow: 0 0 18px rgba(255, 200, 50, 0.35);
}

.btn-buy-custom-coins:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.65);
  color: #000;
}

/* FINDER GLASS ТЕМА ДЛЯ COIN HUB */
[data-theme="finder"] .coin-modal-glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(16, 22, 38, 0.88) 50%, rgba(6, 10, 20, 0.96) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.9), inset 0 2px 3px rgba(255, 255, 255, 0.75) !important;
}

[data-theme="finder"] .capsule-coin-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.8) !important;
}

[data-theme="finder"] .capsule-coin-btn:hover {
  background: rgba(255, 200, 50, 0.25) !important;
  border-color: rgba(255, 215, 0, 0.8) !important;
}

/* ============================================================
   АДМИНИСТРИРОВАНИЕ И МОДЕРАЦИЯ (ADMIN PANEL STYLES)
============================================================ */

/* КНОПКА АДМИН ПАНЕЛИ В ШАПКЕ */
.capsule-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.18), rgba(255, 107, 0, 0.14));
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  color: #ff3366;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.22s ease;
  position: relative;
  outline: none;
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.2);
}

.capsule-admin-btn:hover {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.32), rgba(255, 107, 0, 0.28));
  border-color: #ff3366;
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(255, 51, 102, 0.45);
}

.capsule-admin-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-admin-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.admin-complaints-badge {
  background: #ff3366;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
  animation: pulseBadge 2s infinite ease-in-out;
}

/* МОДАЛЬНОЕ ОКНО АДМИН-ПАНЕЛИ */
.admin-modal-glass {
  max-width: 780px !important;
  width: 95% !important;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(24, 16, 32, 0.96) 0%, rgba(12, 10, 20, 0.98) 100%) !important;
  border: 1.5px solid rgba(255, 51, 102, 0.35) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 51, 102, 0.2) !important;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.25), rgba(255, 107, 0, 0.2));
  border: 1px solid rgba(255, 51, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff3366;
}

.admin-brand-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.admin-modal-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ff3366;
}

.admin-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* СТАТИСТИКА */
.admin-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.admin-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-stat-item .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-stat-item .stat-val {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
}

.admin-stat-item.highlight-red .stat-val { color: #ff3366; }
.admin-stat-item.highlight-orange .stat-val { color: #ff6b00; }
.admin-stat-item.highlight-yellow .stat-val { color: #ffd700; }

/* ВКЛАДКИ АДМИН-ПАНЕЛИ */
.admin-nav-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.admin-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  background: rgba(255, 51, 102, 0.2);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.35);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.25);
}

/* КОНТЕНТ ВКЛАДОК */
.admin-tab-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-complaints-scroll,
.admin-punishments-scroll {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

/* КАРТОЧКА ЖАЛОБЫ */
.admin-complaint-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid #ff3366;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.admin-complaint-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 51, 102, 0.4);
}

.complaint-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.complaint-users-flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.complaint-user.from { color: var(--text-secondary); }
.complaint-user.target { color: #ff3366; font-size: 0.95rem; }
.complaint-date { font-size: 0.75rem; color: var(--text-muted); }

.complaint-reason-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
}

.complaint-reason-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.complaint-reason-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.complaint-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ТАБЛИЦА ПОЛЬЗОВАТЕЛЕЙ */
.admin-filters-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-search-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 12px;
}

.admin-search-wrap svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
}

.admin-search-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
}

.admin-select-filter {
  background: rgba(20, 24, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}

.admin-table-scroll {
  max-height: 380px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.admin-table th {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 12px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 2;
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: #00e5ff;
  overflow: hidden;
}

.admin-user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-user-name-wrap {
  display: flex;
  flex-direction: column;
}

.admin-user-id {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.admin-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.badge-admin { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.4); }
.badge-ban { background: rgba(255, 51, 102, 0.2); color: #ff3366; border: 1px solid rgba(255, 51, 102, 0.4); }
.badge-mute { background: rgba(255, 170, 0, 0.2); color: #ffaa00; border: 1px solid rgba(255, 170, 0, 0.4); }
.badge-online { background: rgba(0, 255, 157, 0.2); color: #00ff9d; border: 1px solid rgba(0, 255, 157, 0.4); }

.admin-row-actions {
  display: flex;
  gap: 6px;
}

.admin-mini-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-mini-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* КАРТОЧКА НАКАЗАНИЯ */
.admin-punishment-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-punishment-card.punish-ban {
  border-left: 3px solid #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.25);
}

.admin-punishment-card.punish-mute {
  border-left: 3px solid #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.25);
}

.punish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.punish-user-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.punish-remaining-pill {
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 12px;
  color: #00e5ff;
}

.punish-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.punish-footer {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* МОДАЛКИ БАНА И МУТА */
.ban-presets-grid,
.mute-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.ban-preset-btn,
.mute-preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ban-preset-btn:hover,
.mute-preset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ban-preset-btn.active {
  background: rgba(255, 51, 102, 0.25);
  border-color: #ff3366;
  color: #ff3366;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.35);
}

.mute-preset-btn.active {
  background: rgba(255, 170, 0, 0.25);
  border-color: #ffaa00;
  color: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.35);
}

.preset-danger {
  color: #ff3366 !important;
}

.ban-reasons-presets,
.mute-reasons-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ban-reason-pill,
.mute-reason-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ban-reason-pill:hover {
  background: rgba(255, 51, 102, 0.2);
  border-color: #ff3366;
  color: #ffffff;
}

.mute-reason-pill:hover {
  background: rgba(255, 170, 0, 0.2);
  border-color: #ffaa00;
  color: #ffffff;
}

.ban-modal-actions,
.mute-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* БАННЕР БЛОКИРОВКИ НА ГЛАВНОЙ СТРАНИЦЕ */
.welcome-ban-notice-card {
  max-width: 580px;
  width: 90%;
  margin: 0 auto 24px;
  background: linear-gradient(155deg, rgba(38, 12, 20, 0.95) 0%, rgba(20, 8, 14, 0.98) 100%);
  border: 2px solid #ff3366;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 51, 102, 0.35);
  position: relative;
  overflow: hidden;
  animation: modalPopIn 0.3s ease;
}

.ban-notice-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ban-notice-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ban-notice-header.success {
  border: 1px solid #00ff9d;
  background: rgba(0, 255, 157, 0.1);
  padding: 12px;
  border-radius: 10px;
}

.ban-notice-header .ban-icon {
  font-size: 2rem;
}

.ban-title {
  margin: 0;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ff3366;
  letter-spacing: 1px;
}

.ban-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ban-notice-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 51, 102, 0.2);
}

.ban-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.ban-detail-row .detail-label {
  color: var(--text-muted);
}

.ban-detail-row .detail-val {
  font-weight: 700;
  color: var(--text-primary);
}

.ban-detail-row .detail-val.reason {
  color: #ff3366;
}

.ban-detail-row .detail-val.highlight {
  color: #00e5ff;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.95rem;
}

/* БАННЕР МУТА В ЧАТЕ */
.chat-mute-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.18), rgba(255, 51, 102, 0.14));
  border: 1px solid rgba(255, 170, 0, 0.4);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 0 10px 8px;
  font-size: 0.8rem;
  color: #ffcc66;
  animation: msgAppear 0.2s ease;
}

.mute-banner-icon {
  font-size: 1.2rem;
}

.mute-banner-text {
  flex: 1;
  line-height: 1.3;
}

.mute-banner-title {
  font-weight: 800;
  color: #ffaa00;
}

.mute-banner-timer {
  display: block;
  font-size: 0.75rem;
  color: #00e5ff;
  margin-top: 2px;
}

/* МОДАЛЬНЫЙ БЛОК АДМИНА В ПРОФИЛЕ ИГРОКА */
.modal-admin-section {
  margin-top: 14px;
  background: rgba(255, 51, 102, 0.08);
  border: 1px dashed rgba(255, 51, 102, 0.35);
  border-radius: 10px;
  padding: 12px;
}

.admin-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ff3366;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ============================================================
   LOBBIVO SHOP & PREMIUM & AVATAR FRAMES SYSTEM
   ============================================================ */

/* Кнопка вкладки Магазин (горячий бейдж) */
.shop-hot-badge {
  background: linear-gradient(135deg, #ff3366, #ff9900) !important;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  animation: pulseRedGlow 2s infinite;
}

/* Стили секций магазина */
.shop-section {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.shop-section-premium {
  background: linear-gradient(145deg, rgba(255, 190, 30, 0.08) 0%, rgba(20, 15, 30, 0.7) 100%);
  border: 1px solid rgba(255, 200, 50, 0.3);
  box-shadow: 0 8px 32px rgba(255, 180, 0, 0.1);
}

.shop-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.shop-header-left {
  flex: 1;
}

.shop-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.shop-category-badge.premium {
  background: rgba(255, 190, 30, 0.2);
  border: 1px solid rgba(255, 200, 50, 0.5);
  color: #ffcc00;
}

.shop-category-badge.frames {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
}

.shop-category-badge.boost {
  background: rgba(255, 80, 0, 0.18);
  border: 1px solid rgba(255, 100, 0, 0.45);
  color: #ff7733;
}

.shop-category-badge.themes {
  background: rgba(180, 77, 255, 0.18);
  border: 1px solid rgba(180, 77, 255, 0.45);
  color: #d880ff;
}

.shop-category-badge svg {
  width: 14px;
  height: 14px;
}

.shop-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.shop-section-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.shop-premium-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.shop-premium-status-indicator.active {
  background: rgba(255, 200, 50, 0.18);
  border-color: rgba(255, 215, 0, 0.6);
  color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
}

.shop-premium-status-indicator .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.shop-premium-status-indicator.active .status-dot {
  background: #ffd700;
  box-shadow: 0 0 8px #ffd700;
}

/* Сетка преимуществ Premium */
.premium-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 200, 50, 0.15);
  border: 1px solid rgba(255, 200, 50, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 16px;
  height: 16px;
}

.perk-info {
  display: flex;
  flex-direction: column;
}

.perk-info strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.perk-info span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Тарифные карточки Premium */
.premium-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.premium-plan-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 200, 50, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.premium-plan-card.featured {
  background: linear-gradient(180deg, rgba(255, 190, 30, 0.12) 0%, rgba(0, 0, 0, 0.45) 100%);
  border: 1.5px solid rgba(255, 200, 50, 0.65);
  box-shadow: 0 0 20px rgba(255, 180, 0, 0.18);
}

.premium-plan-card.legend {
  background: linear-gradient(180deg, rgba(180, 77, 255, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
  border: 1.5px solid rgba(180, 77, 255, 0.7);
  box-shadow: 0 0 24px rgba(180, 77, 255, 0.22);
}

.plan-tag {
  position: absolute;
  top: -10px;
  background: linear-gradient(135deg, #ff3366, #ff9900);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.5);
}

.plan-tag.gold-tag {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #070709;
}

.plan-period {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 8px 0;
}

.plan-coin-l, .shop-coin-l {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #070709;
  font-weight: 900;
  font-size: 0.7rem;
}

.plan-price-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd700;
}

.plan-price-cur {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.plan-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.btn-buy-premium {
  width: 100%;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-buy-premium:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

.featured-plan-btn {
  background: linear-gradient(135deg, #ffd700, #ff8800) !important;
  color: #070709 !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 180, 0, 0.35);
}

.featured-plan-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(255, 180, 0, 0.5);
}

.legend-plan-btn {
  background: linear-gradient(135deg, #b44dff, #ff3399) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(180, 77, 255, 0.4);
}

/* ============================================================
   АНИМИРОВАННЫЕ РАМКИ ДЛЯ АВАТАРОК (AVATAR FRAMES)
   ============================================================ */

.shop-frames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.shop-frame-card {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-frame-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.4);
}

.frame-preview-box {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-card-info {
  margin-bottom: 10px;
}

.frame-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
}

.frame-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.frame-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffd700;
  margin-top: 4px;
}

.btn-shop-action {
  width: 100%;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-shop-action:hover {
  background: rgba(0, 240, 255, 0.3);
  transform: scale(1.02);
}

.btn-shop-action.owned {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.45);
  color: #34d399;
}

.btn-shop-action.owned:hover {
  background: rgba(52, 211, 153, 0.3);
}

.btn-shop-action.equipped {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.7);
  color: #ffd700;
  cursor: pointer;
}

/* CSS ОБЁРТКА РАМОК ДЛЯ АВАТАРОК */
.avatar-frame-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}

.avatar-frame-wrap img,
.avatar-frame-wrap > span,
.avatar-frame-wrap .frame-preview-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-preview-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #b44dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

/* 1. РАМКА ОГОНЬ (Flame Fury) */
.avatar-frame-wrap.frame-fire {
  background: linear-gradient(135deg, #ff1a00, #ff8800, #ffcc00);
  animation: flameBorderGlow 1.8s infinite alternate;
}

/* 2. РАМКА КИБЕРПАНК (Cyber Neon) */
.avatar-frame-wrap.frame-cyber {
  background: linear-gradient(135deg, #00f0ff, #ff007f, #00f0ff);
  animation: cyberNeonPulse 2s infinite alternate;
}

/* 3. РАМКА ЗОЛОТО (Imperial Gold) */
.avatar-frame-wrap.frame-gold {
  background: linear-gradient(135deg, #ffd700, #ffae00, #fff275, #ffae00);
  animation: goldImperialGleam 2.2s infinite alternate;
}

/* 4. РАМКА ЛЕД (Glacier Ice) */
.avatar-frame-wrap.frame-ice {
  background: linear-gradient(135deg, #a0f0ff, #00b4d8, #caf0f8);
  animation: glacierIcePulse 2s infinite alternate;
}

/* 5. РАМКА ПРИЗРАК (Ghost Void) */
.avatar-frame-wrap.frame-ghost {
  background: linear-gradient(135deg, #9d4edd, #7b2cbf, #c77dff);
  animation: ghostVoidMist 2.4s infinite alternate;
}

/* ПРЕМИУМ КОРОНА И ГРАДИЕНТНЫЙ НИК */
.premium-crown-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #ffd700;
  margin-left: 3px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.premium-crown-badge svg {
  width: 14px;
  height: 14px;
}

.premium-author {
  background: linear-gradient(90deg, #ffd700, #ff9900, #ff3399, #00d4ff, #ffd700) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: rainbowAuthorShimmer 4s linear infinite !important;
  font-weight: 800 !important;
}

/* ============================================================
   VIP ПИН-БАННЕР АНКЕТЫ В МИРОВОМ ЧАТЕ (VIP SQUAD PINNED BAR)
   ============================================================ */

.vip-squad-pinned-bar {
  margin: 6px 10px 10px;
  animation: msgAppear 0.28s ease;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.vip-squad-pinned-bar.dismissing {
  opacity: 0;
  transform: translateY(-8px);
}

.vip-pinned-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 190, 30, 0.12) 0%, rgba(20, 15, 30, 0.85) 100%);
  border: 1px solid rgba(255, 200, 50, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 190, 30, 0.18);
  backdrop-filter: blur(12px);
  animation: vipCapsulePulse 3s infinite alternate;
}

.vip-pinned-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.vip-pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #070709;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.vip-pinned-badge svg {
  width: 12px;
  height: 12px;
}

.vip-pinned-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
}

.vip-pinned-avatar .avatar-frame-wrap {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  padding: 2px;
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-pinned-avatar img,
.vip-pinned-avatar .avatar-frame-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.vip-pinned-avatar span,
.vip-pinned-avatar .avatar-frame-wrap span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(0, 212, 255, 0.2);
  color: #ffffff;
}

.vip-pinned-info {
  min-width: 0;
  flex: 1;
}

.vip-pinned-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-pinned-name {
  color: #ffffff;
  cursor: pointer;
}

.vip-pinned-game {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.vip-pinned-game svg {
  width: 11px;
  height: 11px;
}

.vip-pinned-rank {
  font-size: 0.72rem;
  color: #ffd700;
}

.vip-pinned-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.vip-pinned-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-vip-join {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #0077ff);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-vip-join:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.btn-vip-join svg {
  width: 13px;
  height: 13px;
}

.vip-my-squad-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffd700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.15);
}

.btn-vip-dismiss {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vip-dismiss:hover {
  background: rgba(255, 51, 102, 0.25);
  border-color: #ff3366;
  color: #ff3366;
}

.btn-vip-dismiss svg {
  width: 12px;
  height: 12px;
}

/* КАРТОЧКИ ИГРОКОВ С VIP БУСТОМ */
.vip-boosted-card {
  border-color: rgba(255, 190, 30, 0.6) !important;
  background: linear-gradient(145deg, rgba(255, 190, 30, 0.08) 0%, rgba(20, 15, 30, 0.75) 100%) !important;
  box-shadow: 0 6px 24px rgba(255, 180, 0, 0.18) !important;
}

.vip-squad-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.vip-squad-badge svg {
  width: 10px;
  height: 10px;
}

/* СЕКЦИЯ БУСТА В МАГАЗИНЕ */
.shop-boost-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 100, 0, 0.35);
  flex-wrap: wrap;
}

.boost-card-preview {
  flex: 1;
  min-width: 200px;
}

.boost-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ff7733;
  margin-bottom: 6px;
}

.boost-preview-badge svg {
  width: 14px;
  height: 14px;
}

.boost-preview-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.boost-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.boost-price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.boost-price-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffd700;
}

.boost-duration {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.btn-buy-boost {
  padding: 10px 18px !important;
  background: linear-gradient(135deg, #ff5500, #ffaa00) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
}

.btn-buy-boost:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.5);
}

/* ============================================================
   РАЗДЕЛ КАСТОМИЗАЦИИ В НАСТРОЙКАХ (CUSTOMIZATION HUB)
   ============================================================ */

.settings-custom-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.settings-custom-header {
  margin-bottom: 16px;
}

.settings-custom-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-custom-label svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.settings-custom-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* БАННЕР ПРЕДПРОСМОТРА АВАТАРА */
.settings-avatar-preview-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(121, 40, 202, 0.08) 100%);
  border: 1.5px solid var(--glass-border);
  margin-bottom: 18px;
}

.preview-banner-avatar-wrap {
  flex-shrink: 0;
}

.settings-live-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #060913;
  overflow: hidden;
}

.settings-live-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-banner-info {
  flex: 1;
}

.preview-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-banner-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

/* СЕТКА РАМОК В НАСТРОЙКАХ */
.settings-frames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.settings-frame-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.settings-frame-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.settings-frame-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.settings-frame-card .frame-preview-box {
  margin-bottom: 10px;
}

.settings-frame-card .frame-preview-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #060913;
  overflow: hidden;
}

.settings-frame-card .frame-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-frame-card .frame-card-info {
  margin-bottom: 10px;
  flex: 1;
}

.settings-frame-card .frame-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.settings-frame-card .frame-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.3;
}

/* СЕТКА ТЕМ В НАСТРОЙКАХ */
.settings-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.settings-theme-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.settings-theme-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.settings-theme-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.theme-preview-default {
  background: linear-gradient(135deg, #050814 0%, #00d4ff 50%, #7928ca 100%);
}

.theme-preview-lobbivo {
  background: linear-gradient(135deg, #111116 0%, #ffffff 40%, #00f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-theme-card .theme-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.settings-theme-card .theme-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.35;
  flex: 1;
}

/* КНОПКИ КАСТОМИЗАЦИИ */
.btn-custom-action {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  margin-top: 10px;
}

.btn-custom-action.btn-equip {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid));
  color: #060913;
}

.btn-custom-action.btn-equip:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

.btn-custom-action.btn-active {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
  cursor: default;
}

.btn-custom-action.btn-buy-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
}

.btn-custom-action.btn-buy-link:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  transform: scale(1.03);
}

.btn-custom-action svg {
  width: 14px;
  height: 14px;
}

/* СТАТУС В МАГАЗИНЕ: КУПЛЕНО */
.btn-shop-action.bought-disabled {
  background: rgba(34, 197, 94, 0.14) !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
  cursor: default !important;
  opacity: 0.95 !important;
}

.btn-shop-action.bought-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ИКОНКИ ДЛЯ ТАЙТЛОВ КАРТОЧЕК */
.item-title-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.item-title-icon.flame-icon {
  color: #ff5500;
}

.item-title-icon.cyber-icon {
  color: #00f0ff;
}

.item-title-icon.gold-icon {
  color: #ffd700;
}

.item-title-icon.ice-icon {
  color: #38bdf8;
}

.item-title-icon.ghost-icon {
  color: #c084fc;
}

.item-title-icon.nebula-icon {
  color: #e879f9;
}

.item-title-icon.crimson-icon {
  color: #ff2a4b;
}

.item-title-icon.matrix-icon {
  color: #00ff88;
}

.tag-svg {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}