/* =========================================================
   TOP-LEFT PROFILE BUTTON / WIDGET (MODERN FROSTED GLASS CAPSULE)
   ========================================================= */
.top-profile-wrapper {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 2px 8px 2px 2px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  user-select: none;
  max-width: 170px;
  height: 42px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-profile-wrapper:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(15, 23, 42, 0.8);
  border-color: #facc15;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 10px rgba(250, 204, 21, 0.3);
}

.top-profile-wrapper:active {
  transform: translateY(1px) scale(0.97);
}

.top-profile-frame {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.top-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
  border: 1.5px solid #facc15;
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-profile-frame-crown {
  position: absolute;
  top: -6px;
  left: -6px;
  font-size: 11px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8));
  transform: rotate(-15deg);
}

.top-profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  min-width: 0;
  gap: 2px;
}

.top-profile-name {
  font: 900 12px/1 'Trebuchet MS', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.top-profile-sub {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-profile-tier-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.top-profile-tier-icon svg,
.top-profile-tier-icon .rank-tier-svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block;
}

.top-profile-tier-num {
  font: 900 11px 'Trebuchet MS', Arial, sans-serif;
  color: #7dd3fc;
  text-shadow: 0 0 4px rgba(56, 189, 248, 0.6);
  line-height: 1;
}

.top-profile-xp-bar {
  width: 38px;
  height: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.top-profile-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #00f5d4 100%);
  border-radius: 1px;
  box-shadow: 0 0 4px #00f5d4;
  transition: width 0.3s ease;
}

/* --- Mode Selector on Menu Screen (Modern Simple Glass Segmented Control) --- */
.mode-selector {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: min(300px, 92vw);
  margin: 8px auto 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.mode-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.18s ease;
}

.mode-pill:hover {
  background: rgba(2, 132, 199, 0.08);
  color: #0369a1;
}

.mode-pill.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25), 0 0 0 1.5px #38bdf8;
  transform: translateY(-1px);
}

.mode-pill[data-mode="ranked"].active {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  color: #451a03;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35), 0 0 0 1.5px #fde047;
}

.mode-pill[data-mode="multiplayer"].active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35), 0 0 0 1.5px #38bdf8;
}

.mode-badge {
  font: 900 8.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.6px;
  padding: 1.5px 6px;
  border-radius: 6px;
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  text-transform: uppercase;
}

.mode-pill.active .mode-badge {
  background: #e0f2fe;
  color: #0284c7;
}

.mode-pill[data-mode="ranked"].active .mode-badge {
  background: #78350f;
  color: #fef08a;
}

.mode-pill[data-mode="multiplayer"].active .mode-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #bae6fd;
}

.mode-title {
  font: 900 11.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.4px;
}

.mode-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mode-rank-pill-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-tier-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 99px;
  padding: 1px 6px;
  font: 900 9.5px 'Trebuchet MS', Arial, sans-serif;
  margin-left: 5px;
}

.btn-tier-tag .tier-icon-inline {
  width: 12px;
  height: 12px;
}

.menu-best-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 900;
  margin-left: 6px;
}

.menu-best-tier-badge .tier-icon-inline {
  width: 14px;
  height: 14px;
}

.menu-btn-row {
  display: flex;
  gap: 8px;
  width: min(240px, 86vw);
  margin: 0 auto;
}

.btn-half {
  flex: 1;
  min-width: 0 !important;
  font-size: 11px !important;
  padding: 8px 4px !important;
}

.gp-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 4px;
  box-shadow: 0 0 6px #22c55e;
}

/* =========================================================
   GOOGLE PLAY GAMES AUTHENTICATION MODAL
   ========================================================= */
.google-play-modal {
  width: min(320px, 92vw);
  max-height: min(520px, 86vh);
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(56, 189, 248, 0.25) !important;
  color: #ffffff;
}

.gp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 14px;
  text-align: left;
}
.gp-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.gp-titles h2 {
  font: 900 15px 'Trebuchet MS', Arial, sans-serif !important;
  color: #38bdf8 !important;
  letter-spacing: 0.5px;
}

.gp-status {
  font: 800 10.5px 'Trebuchet MS', Arial, sans-serif;
  margin: 0;
}

.gp-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  text-align: left;
}

.gp-avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  cursor: pointer;
}

.gp-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2.5px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gp-avatar-wrap:hover .gp-avatar {
  transform: scale(1.05);
  border-color: #facc15;
}

.modal .gp-avatar-edit-btn,
.gp-avatar-edit-btn {
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
  transition: transform 0.15s ease !important;
  box-sizing: border-box !important;
  z-index: 5 !important;
}

.gp-avatar-edit-btn svg {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  pointer-events: none !important;
}

.gp-avatar-wrap:hover .gp-avatar-edit-btn {
  transform: scale(1.15);
}

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

.gp-name-cost-hint {
  font: 800 10px 'Trebuchet MS', Arial, sans-serif;
  margin: 3px 0 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gp-name-cost-hint .free-badge {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.gp-name-cost-hint .coin-badge {
  color: #fde047;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.gp-gamertag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

#gpGamerTagInput {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #ffffff;
  font: 900 13px 'Trebuchet MS', Arial, sans-serif;
  padding: 3px 6px;
}

#gpGamerTagInput:focus {
  border-color: #22c55e;
  background: rgba(0, 0, 0, 0.4);
  outline: none;
}

.gp-level-badge {
  font: 900 9px 'Trebuchet MS', Arial, sans-serif;
  background: #eab308;
  color: #422006;
  padding: 2px 5px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.gp-id {
  font: 700 10px monospace;
  color: #94a3b8;
  margin: 0 0 6px;
}

.gp-stats-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 700 10.5px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
}

.tier-badge.gold {
  color: #fde047;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.5);
}

.gp-google-login-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 12px;
  margin-bottom: 14px;
  text-align: center;
}

.gp-login-desc {
  font: 600 11px/1.4 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
  margin: 0 0 12px;
}



.google-sign-in-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 8px 14px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  font: 900 12.5px 'Trebuchet MS', Arial, sans-serif !important;
  letter-spacing: 0.4px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
  margin-bottom: 8px !important;
}

.google-sign-in-btn:hover {
  background: #f9fafb !important;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

.google-sign-in-btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.facebook-sign-in-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 8px 14px !important;
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #60a5fa !important;
  border-radius: 8px !important;
  font: 900 12.5px 'Trebuchet MS', Arial, sans-serif !important;
  letter-spacing: 0.4px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
  margin-bottom: 4px !important;
}

.facebook-sign-in-btn:hover {
  filter: brightness(1.1) !important;
  box-shadow: 0 6px 18px rgba(96, 165, 250, 0.45) !important;
  transform: translateY(-1px) !important;
}

.facebook-sign-in-btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.gp-divider {
  display: flex;
  align-items: center;
  margin: 12px 0;
  width: 100%;
}

.gp-divider::before, .gp-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.gp-divider span {
  padding: 0 8px;
  font: 900 9.5px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

.gp-guest-btn {
  width: 100% !important;
  min-height: 38px !important;
  padding: 8px 12px !important;
  font: 900 11px/1 'Trebuchet MS', Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
}

.gp-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gp-btn {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.45) !important;
}

.gp-btn:hover {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%) !important;
}

/* =========================================================
   RANKED LEADERBOARD & TOP 1 PORTRAIT SHOWCASE
   ========================================================= */
.ranked-modal {
  width: min(480px, 94vw);
  max-height: min(340px, 94vh);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important;
  border: 2px solid #eab308 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 28px rgba(234, 179, 8, 0.3) !important;
  color: #ffffff;
  padding: 10px 12px 8px !important;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Unified compact panel sizing for landscape mode */
.ranked-modal{width:min(560px,94vw) !important;max-height:min(340px,94vh)!important;padding:10px 12px 6px!important;border:2px solid #254a78!important;border-radius:18px!important;background:linear-gradient(180deg,#142442 0%,#0c172c 100%)!important;color:#f1f5f9!important;box-shadow:0 18px 45px rgba(0,0,0,0.65),inset 0 1.5px 0 rgba(255,255,255,0.15)!important}
.ranked-modal .close{top:8px;right:8px;width:28px;height:28px;margin:0;border-radius:50%;background:linear-gradient(180deg,#f87171 0%,#ef4444 100%);color:#ffffff;border:1.5px solid #b91c1c;box-shadow:0 2.5px 0 #991b1b;font-size:18px;line-height:22px}.ranked-modal .close:hover{background:#ef4444;color:#fff;border-color:#ef4444}.ranked-modal h2{font-size:15px!important;color:#f8fafc!important}.portrait-frame{border:2px solid #facc15;background:linear-gradient(180deg,#241c0b 0%,#131008 100%);border-radius:10px;padding:4px 6px !important;margin-bottom:4px !important;box-shadow:0 3px 10px rgba(250,204,21,0.25)}.leaderboard-container{max-height:110px !important;min-height:80px;border-radius:10px;padding:3px 6px !important;margin-bottom:4px !important;background:#091427;border:1.5px solid #1c355a}.lb-row{padding:4px 6px !important;background:#11203b;border:1.5px solid #1e385f;color:#f1f5f9;border-radius:8px;margin-bottom:4px;box-shadow:0 2px 4px rgba(0,0,0,0.25)}.ranked-modal>#playRankedFromModalBtn{min-height:32px !important;margin:4px auto 0;background:linear-gradient(135deg,#13b8e9,#0875d1)!important}

.ranked-modal h2 {
  font: 900 15px 'Trebuchet MS', Arial, sans-serif !important;
  color: #fef08a !important;
  text-shadow: 0 0 12px rgba(254, 240, 138, 0.45);
  margin: 0 0 2px !important;
  letter-spacing: 0.6px;
}

.ranked-subtitle {
  font: 800 9.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.8px;
  color: #93c5fd;
  margin-bottom: 8px;
}

/* --- Golden Champion Portrait Card --- */
.champion-spotlight {
  flex-shrink: 0;
  margin-bottom: 8px;
}

.portrait-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid #facc15;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(250, 204, 21, 0.2);
}

.portrait-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 900 11px 'Trebuchet MS', Arial, sans-serif;
  color: #fef08a;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}

.laurel-wreath {
  font-size: 14px;
}

.portrait-canvas-box {
  position: relative;
  width: 100%;
  height: 60px;
  background: radial-gradient(circle at 50% 40%, #1e3a8a 0%, #090d16 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.6);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#championCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Portrait Flash Sparks */
.portrait-flash-spark {
  position: absolute;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 10px #fef08a, 0 0 18px #f59e0b;
  pointer-events: none;
  animation: portraitCameraFlash 1.6s infinite ease-in-out;
}

#portraitSpark1 { top: 6px; left: 10px; animation-delay: 0s; }
#portraitSpark2 { bottom: 6px; right: 12px; animation-delay: 0.8s; }

@keyframes portraitCameraFlash {
  0%, 100% { opacity: 0.1; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.4) rotate(45deg); filter: drop-shadow(0 0 8px #ffffff); }
}

.champion-meta {
  margin-top: 6px;
  text-align: left;
}

.champion-main-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.champion-main-info strong {
  font: 900 13px 'Trebuchet MS', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.champion-score {
  font: 800 10.5px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
}

.champion-score b {
  font-size: 14px;
  color: #facc15;
  margin-left: 2px;
}

.champion-tier {
  font: 900 9.5px 'Trebuchet MS', Arial, sans-serif;
  color: #38bdf8;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

/* Cosmetics tags (Only Bird, Hat, and Outfit - Clean and Compact) */
.champion-loadout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  overflow: visible;
}

.cl-tag {
  font: 800 8.5px 'Trebuchet MS', Arial, sans-serif;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.cl-tag.skin { background: rgba(239, 68, 68, 0.3); border-color: #f87171; color: #fecaca; }
.cl-tag.hat  { background: rgba(234, 179, 8, 0.3); border-color: #facc15; color: #fef08a; }
.cl-tag.outfit { background: rgba(59, 130, 246, 0.3); border-color: #60a5fa; color: #bfdbfe; }

/* --- Leaderboard Rankings List & Custom Modern Scrollbar --- */
.leaderboard-container {
  flex: 1 1 auto;
  min-height: 90px;
  max-height: 125px;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 4px 6px;
  margin-bottom: 6px;
}

.lb-header {
  display: grid;
  grid-template-columns: 36px 1fr 65px;
  gap: 6px;
  font: 900 9px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
  letter-spacing: 0.7px;
  padding: 3px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.points-lb-container .lb-header {
  grid-template-columns: 36px 1fr 65px;
}

.rank-lb-container .lb-header {
  grid-template-columns: 36px 1fr 95px;
}

.leaderboard-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(15, 23, 42, 0.5);
}

.leaderboard-list::-webkit-scrollbar {
  width: 5px;
}
.leaderboard-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 99px;
}
.leaderboard-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  border-radius: 99px;
}
.leaderboard-list::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.lb-row {
  display: grid;
  grid-template-columns: 36px 1fr 65px;
  gap: 6px;
  align-items: center;
  padding: 5px 6px;
  border-radius: 6px;
  font: 800 11px 'Trebuchet MS', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.points-lb-container .lb-row {
  grid-template-columns: 36px 1fr 65px;
}

.rank-lb-container .lb-row {
  grid-template-columns: 36px 1fr 95px;
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-av-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  font: 900 8.5px 'Trebuchet MS', Arial, sans-serif;
  color: #fde047;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.lb-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lb-row.active-spotlight {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.lb-row.user-row {
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid #3b82f6;
  font-weight: 900;
}

.lb-rank {
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 2px;
}

.lb-rank.gold { color: #facc15; font-size: 12px; }
.lb-rank.silver { color: #cbd5e1; }
.lb-rank.bronze { color: #f97316; }

.lb-player {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8fafc;
}

.lb-tier {
  font-size: 9px;
  color: #38bdf8;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.lb-score {
  font-weight: 900;
  color: #facc15;
  text-align: right;
}

#playRankedFromModalBtn {
  margin-top: 0;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  border: 1.5px solid #fef08a !important;
  color: #451a03 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

/* =========================================================
   TWO LEADERBOARD TABS & RANK PROGRESSION STYLES
   ========================================================= */
.lb-tabs-bar {
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}

.lb-tab-btn {
  flex: 1;
  background: transparent;
  color: #94a3b8;
  border: none;
  border-radius: 8px;
  font: 900 10.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.5px;
  padding: 6px 4px;
  min-height: 32px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
}

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

.lb-tab-btn.active {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

.lb-tab-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#lbTiersView {
  overflow-y: auto;
  padding-right: 2px;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(15, 23, 42, 0.5);
}

#lbTiersView::-webkit-scrollbar {
  width: 5px;
}
#lbTiersView::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  border-radius: 99px;
}

.rank-lb-container {
  min-height: 120px;
  max-height: 160px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

/* --- Personal Rank Progression Card --- */
.my-rank-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.rank-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rank-card-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  animation: rankPulse 2.4s infinite ease-in-out;
}

@keyframes rankPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.3)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.6)); }
}

.rank-tier-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rank-card-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.rank-card-title {
  font: 900 13.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.rank-card-subtitle {
  font: 800 10.5px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
}

.rank-card-subtitle b {
  color: #fde047;
}

/* Rank Progress Bar */
.rank-progress-wrap {
  width: 100%;
}

.rank-progress-labels {
  display: flex;
  justify-content: space-between;
  font: 800 9.5px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
  margin-bottom: 3px;
}

.rank-progress-labels b {
  color: #38bdf8;
}

.rank-progress-bar {
  width: 100%;
  height: 9px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.rank-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #facc15 100%);
  border-radius: 99px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}

/* --- Tiers Guide Ladder List --- */
.tiers-guide-container {
  flex: 1 1 auto;
  min-height: 100px;
  max-height: 130px;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 4px 6px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.tiers-guide-header {
  font: 900 9px 'Trebuchet MS', Arial, sans-serif;
  color: #93c5fd;
  letter-spacing: 0.7px;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.tiers-guide-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(15, 23, 42, 0.5);
}

.tiers-guide-list::-webkit-scrollbar {
  width: 5px;
}
.tiers-guide-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  border-radius: 99px;
}

.tier-guide-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  transition: all 0.18s ease;
}

.tier-guide-item.current-tier {
  background: rgba(250, 204, 21, 0.18);
  border: 1.5px solid #facc15;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.25);
}

.tier-guide-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

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

.tier-guide-name {
  font: 900 11px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tier-guide-badge-active {
  font: 900 7.5px 'Trebuchet MS', Arial, sans-serif;
  background: #facc15;
  color: #451a03;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.tier-guide-pts {
  font: 700 9.5px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
}

.tier-icon-inline {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =========================================================
   MENU RANKED CARD, IN-GAME HUD & GAME OVER PROGRESS
   ========================================================= */
.menu-ranked-card {
  width: min(280px, 90vw);
  margin: 2px auto 8px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.6);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(250, 204, 21, 0.12);
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: modalIn 0.22s ease-out;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  user-select: none;
}

.menu-ranked-card:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(250, 204, 21, 0.8);
}

.menu-ranked-card:active {
  transform: scale(0.98);
}

.rank-card-tap-hint {
  font: 900 8.5px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.5px;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid #7dd3fc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  animation: pulseHint 1.8s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.menu-rank-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-rank-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
  animation: rankPulse 2.4s infinite ease-in-out;
}

.menu-rank-icon svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  display: block !important;
}

.menu-rank-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.menu-rank-title {
  font: 900 13px 'Trebuchet MS', Arial, sans-serif;
  letter-spacing: 0.5px;
  color: #fde047;
  line-height: 1.1;
}

.menu-rank-sub {
  font: 700 10px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
  margin-top: 1px;
}

.menu-rank-sub b {
  color: #ffffff;
}

.menu-rank-bar-wrap {
  width: 100%;
}

.menu-rank-labels {
  display: flex;
  justify-content: space-between;
  font: 800 9px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
  margin-bottom: 2px;
}

.menu-rank-labels span:last-child {
  color: #fde047;
}

.menu-rank-bar {
  width: 100%;
  height: 7px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-rank-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #facc15 100%);
  border-radius: 99px;
  transition: width 0.35s ease;
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.5);
}

/* --- In-Game Ranked HUD Badge --- */
.rank-tier-hud {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.75);
  border: 1.2px solid #facc15;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  font: 900 11px 'Trebuchet MS', Arial, sans-serif;
  color: #fef08a;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  pointer-events: none;
}

.tier-hud-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

/* --- Game Over Rank Progression Card --- */
.over-rank-card {
  width: 100%;
  background: rgba(15, 23, 42, 0.55);
  border: 1.2px solid #facc15;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 6px 0 10px;
  text-align: left;
}

.over-rank-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.over-rank-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.over-rank-title {
  font: 900 12px 'Trebuchet MS', Arial, sans-serif;
  color: #fde047;
}

.over-rank-desc {
  font: 700 9.5px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
}

.over-rank-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 99px;
  overflow: hidden;
}

.over-rank-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #facc15);
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* =========================================================
   TIER ROADMAP MODAL (POIN & TIER RANK DIALOG)
   ========================================================= */
.tier-roadmap-modal {
  max-width: 320px;
  width: min(320px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  border: 2px solid #facc15;
  box-shadow: 0 12px 0 #b45309, 0 24px 50px rgba(0, 0, 0, 0.6);
  padding: 20px 16px 16px;
  border-radius: 22px;
}

.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
}

.roadmap-icon {
  font-size: 22px;
}

.roadmap-header h2 {
  font: 900 18px 'Trebuchet MS', Arial, sans-serif;
  color: #fde047;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(250, 204, 21, 0.3);
}

.roadmap-subtitle {
  font: 700 11px 'Trebuchet MS', Arial, sans-serif;
  color: #94a3b8;
  margin: 0 0 12px;
  text-align: center;
}

.modal-my-tier-card {
  width: 100%;
  margin-bottom: 12px;
}

.tiers-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 38vh;
  overflow-y: auto;
  padding: 4px 2px;
  margin-bottom: 14px;
}

.tiers-roadmap-list::-webkit-scrollbar {
  width: 5px;
}
.tiers-roadmap-list::-webkit-scrollbar-thumb {
  background: rgba(250, 204, 21, 0.4);
  border-radius: 99px;
}

/* =========================================================
   CUTE CHARACTER AVATARS PICKER MODAL
   ========================================================= */
.avatar-picker-modal {
  width: min(340px, 94vw) !important;
  max-height: min(540px, 88vh) !important;
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.75), 0 0 24px rgba(56, 189, 248, 0.25) !important;
  color: #ffffff;
  flex-direction: column;
  overflow: hidden !important;
  padding: 20px 14px 16px !important;
}

.avatar-picker-modal:not(.hidden) {
  display: flex !important;
}

.avatar-picker-modal.hidden {
  display: none !important;
}

.avatar-picker-header h2 {
  font: 900 17px 'Trebuchet MS', Arial, sans-serif !important;
  color: #38bdf8 !important;
  margin: 0 0 3px !important;
  letter-spacing: 0.5px;
}

.avatar-picker-header p {
  font: 600 10.5px 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
  margin: 0 0 12px;
  text-align: center;
}

.avatar-picker-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  max-height: 48vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 4px 4px 14px !important;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 transparent;
  touch-action: pan-y !important;
  overscroll-behavior: contain !important;
}

.avatar-picker-grid::-webkit-scrollbar {
  width: 5px;
  height: 0px;
}
.avatar-picker-grid::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 99px;
}

.avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.avatar-card:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.avatar-card.selected {
  background: rgba(250, 204, 21, 0.18);
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}

.avatar-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  overflow: hidden;
}

.avatar-card-name {
  font: 900 8.5px/1.1 'Trebuchet MS', Arial, sans-serif;
  color: #f1f5f9;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.avatar-card.selected .avatar-card-name {
  color: #fde047;
}

.avatar-card-check {
  font: 900 7.5px 'Trebuchet MS', Arial, sans-serif;
  color: #0f172a;
  background: #facc15;
  padding: 1px 4px;
  border-radius: 99px;
  position: absolute;
  top: -3px;
  right: -3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.lb-av-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

/* =========================================================
   CUSTOM IN-GAME NOTIFICATION & CONFIRMATION MODAL
   ========================================================= */
.game-dialog-modal {
  width: min(315px, 92vw) !important;
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(56, 189, 248, 0.3) !important;
  color: #ffffff !important;
  padding: 22px 18px 18px !important;
  border-radius: 20px !important;
  text-align: center !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
}

.game-dialog-modal.hidden {
  display: none !important;
}

.game-dialog-modal:not(.hidden) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.dialog-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
  animation: pulseHint 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

.dialog-icon-wrap.warning {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.15);
}

.dialog-icon-wrap.success {
  border-color: #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.15);
}

.dialog-icon-wrap.coin {
  border-color: #facc15;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.15);
}

.dialog-title {
  font: 900 16px 'Trebuchet MS', Arial, sans-serif !important;
  color: #38bdf8 !important;
  margin: 0 0 8px !important;
  letter-spacing: 0.5px;
}

.dialog-title.warning {
  color: #fbbf24 !important;
}

.dialog-title.success {
  color: #4ade80 !important;
}

.dialog-title.coin {
  color: #fde047 !important;
}

.dialog-body {
  font: 600 12px/1.5 'Trebuchet MS', Arial, sans-serif;
  color: #cbd5e1;
  margin-bottom: 16px;
  width: 100%;
}

.dialog-body p {
  margin: 0 0 6px;
}

.dialog-info-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.dialog-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.dialog-info-row b {
  color: #fde047;
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dialog-btn-confirm {
  width: 100% !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
  font-size: 13px !important;
  min-height: 42px !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
}

.dialog-btn-cancel {
  width: 100% !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.dialog-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}



