/* ============================================================
   Clan Challenge — FROST (premium glass)
   ============================================================ */

.xg-clan-page--challenge {
  max-width: 1280px !important;
  padding: 0 8px !important;
}

.xg-clan-page--challenge .clan-navigation {
  margin-bottom: 4px !important;
}

.xg-clan-page--challenge .clan-nav-btn {
  padding: 6px 10px !important;
  font-size: 10px !important;
}

.cc-modal--frost {
  --fr-bg: rgba(8, 12, 24, 0.42);
  --fr-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  --fr-stroke: rgba(255, 255, 255, 0.2);
  --fr-cyan: #6fd4ff;
  --fr-cyan-hi: #e8f7ff;
  --fr-pink: #ff9ec8;
  --fr-gold: #ffd27a;
  --fr-ok: #5dffb0;
  --fr-text: #f8fbff;
  --fr-mute: #b8c7da;
  --fr-blur: blur(28px) saturate(1.55);
  --cc-font-display: "Sora", "Manrope", sans-serif;
  --cc-font-ui: "Manrope", "Segoe UI", sans-serif;
  --xg-accent: var(--fr-cyan);
  --xg-accent-hi: var(--fr-cyan-hi);
  --xg-cyan: var(--fr-cyan);
  --xg-text: var(--fr-text);
  --xg-muted: var(--fr-mute);
  --xg-gold: var(--fr-gold);
  font-family: var(--cc-font-ui) !important;
  color: var(--fr-text) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  background: var(--fr-bg) !important;
  backdrop-filter: var(--fr-blur);
  -webkit-backdrop-filter: var(--fr-blur);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(111, 212, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04) !important;
  clip-path: none !important;
}

.cc-modal--frost .cc-fr-aurora {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 20, 40, 0.55), rgba(6, 10, 20, 0.72));
}

.cc-modal--frost .cc-fr-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.7;
  animation: cc-fr-drift 14s ease-in-out infinite;
}

.cc-modal--frost .cc-fr-orb--a {
  width: 320px;
  height: 320px;
  left: -80px;
  top: -40px;
  background: rgba(80, 160, 255, 0.45);
}

.cc-modal--frost .cc-fr-orb--b {
  width: 260px;
  height: 260px;
  right: -40px;
  top: 10%;
  background: rgba(255, 120, 190, 0.28);
  animation-delay: -5s;
}

.cc-modal--frost .cc-fr-orb--c {
  width: 300px;
  height: 300px;
  left: 35%;
  bottom: -100px;
  background: rgba(70, 220, 190, 0.22);
  animation-delay: -9s;
}

@keyframes cc-fr-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -12px) scale(1.08); }
}

.cc-modal--frost .cc-fr-rim {
  pointer-events: none;
  position: absolute;
  inset: 1px;
  z-index: 6;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 40px rgba(120, 200, 255, 0.06);
}

.cc-modal--frost .cc-fr-glass {
  background: var(--fr-glass) !important;
  border: 1px solid var(--fr-stroke) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.18) !important;
  position: relative;
}

.cc-modal--frost .cc-fr-glass::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.7;
}

.cc-modal--frost .cc-fr-top {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  margin: 12px 14px 0;
  padding: 12px 16px !important;
}

.cc-modal--frost .cc-fr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cc-modal--frost .cc-fr-kicker {
  margin: 0;
  font-family: var(--cc-font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fr-cyan);
  text-shadow: 0 0 18px rgba(111, 212, 255, 0.35);
}

.cc-modal--frost .cc-clan-banner {
  margin: 2px 0 0 !important;
  font-family: var(--cc-font-display) !important;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  color: #fff !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-transform: none !important;
  text-shadow: 0 2px 24px rgba(111, 212, 255, 0.25);
}

.cc-modal--frost .cc-fr-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--fr-mute);
}

.cc-modal--frost .cc-slogan { margin: 0 !important; color: var(--fr-mute) !important; }

.cc-modal--frost .cc-fr-stats { display: flex; gap: 8px; }

.cc-modal--frost .cc-fr-chip,
.cc-modal--frost .cc-timer,
.cc-modal--frost .cc-bank,
.cc-modal--frost .cc-mvp {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
  min-width: 100px;
  padding: 9px 13px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.12) !important;
  width: auto !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cc-modal--frost .cc-bank {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 124px;
}

.cc-modal--frost .cc-timer__lbl,
.cc-modal--frost .cc-bank-lbl,
.cc-modal--frost .cc-mvp-label {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--fr-mute) !important;
}

.cc-modal--frost .cc-timer__val,
.cc-modal--frost .cc-bank-value {
  font-family: var(--cc-font-display) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.15;
}

.cc-modal--frost .cc-bank-value { color: var(--fr-gold) !important; }

.cc-modal--frost .cc-mvp-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  max-width: 110px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cc-modal--frost .cc-mvp-row .cc-avatar {
  width: 22px !important;
  height: 22px !important;
}

.cc-modal--frost .cc-fr-nav,
.cc-modal--frost .cc-tabs {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 10px 16px 8px !important;
  margin: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
  overflow-x: auto;
}

.cc-modal--frost .cc-tab {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 8px 15px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--fr-mute) !important;
  font-family: var(--cc-font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: none !important;
  text-transform: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.cc-modal--frost .cc-tab:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.cc-modal--frost .cc-tab.is-active {
  color: #031018 !important;
  background: linear-gradient(135deg, #f0f9ff, #7ad4ff 55%, #5bc4f5) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    0 8px 22px rgba(111, 212, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

.cc-modal--frost .cc-fr-nav .cc-btn--chat,
.cc-modal--frost .cc-btn--chat {
  margin-left: auto;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 158, 200, 0.5) !important;
  background: linear-gradient(145deg, rgba(255, 158, 200, 0.22), rgba(255, 120, 180, 0.08)) !important;
  color: #ffe0ee !important;
  font-family: var(--cc-font-display) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cc-modal--frost .cc-fr-body,
.cc-modal--frost .cc-body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.cc-modal--frost .cc-sidebar[hidden],
.cc-modal--frost .cc-head[hidden],
.cc-modal--frost .cc-ribbon[hidden] {
  display: none !important;
}

.cc-modal--frost .cc-main-col {
  flex: 1 1 auto;
  min-height: 0;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  background: transparent !important;
}

.cc-modal--frost .cc-fr-main,
.cc-modal--frost .cc-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden !important;
  padding: 0 14px 14px !important;
  background: transparent !important;
}

.cc-modal--frost .cc-panel {
  display: none;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
}

.cc-modal--frost .cc-panel.is-active {
  display: flex;
  flex-direction: column;
}

.cc-modal--frost .cc-fr-board,
.cc-modal--frost .cc-board {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 140px !important;
  gap: 10px !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.cc-modal--frost .cc-fr-stage,
.cc-modal--frost .cc-progress-top {
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex: none !important;
  padding: 12px 14px !important;
  background-image: none !important;
}

.cc-modal--frost .cc-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.cc-modal--frost .cc-section-head h2,
.cc-modal--frost .cc-clan-progress h2,
.cc-modal--frost .cc-top h2,
.cc-modal--frost .cc-fr-crew h2,
.cc-modal--frost .cc-profile-hero h2,
.cc-modal--frost .cc-info-card h2 {
  margin: 0 !important;
  font-family: var(--cc-font-display) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.cc-modal--frost .cc-fr-hint {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--fr-mute) !important;
}

.cc-modal--frost .cc-section-head .cc-carousel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0 auto;
}

.cc-modal--frost .cc-points {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 212, 255, 0.4);
  background: linear-gradient(145deg, rgba(111, 212, 255, 0.2), rgba(111, 212, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 700;
  color: var(--fr-mute) !important;
  backdrop-filter: blur(10px);
}

.cc-modal--frost .cc-points strong {
  font-family: var(--cc-font-display);
  font-size: 18px;
  color: #fff !important;
}

.cc-modal--frost .cc-points-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fr-cyan);
  clip-path: none;
  box-shadow: 0 0 12px rgba(111, 212, 255, 0.8);
}

.cc-modal--frost .cc-points-icon::after { display: none; }

.cc-modal--frost .cc-carousel {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.cc-modal--frost .cc-carousel-viewport {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.cc-modal--frost .cc-nav-arrow {
  width: 38px !important;
  align-self: stretch !important;
  height: auto !important;
  flex-shrink: 0;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) !important;
  color: #fff !important;
  font-size: 24px !important;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cc-modal--frost .cc-nav-arrow:hover:not(:disabled) {
  border-color: rgba(111, 212, 255, 0.45) !important;
  color: var(--fr-cyan-hi) !important;
}

.cc-modal--frost .cc-nav-arrow:disabled { opacity: 0.3; }

.cc-modal--frost .cc-chests {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(var(--cc-chest-cols, 4), minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.cc-modal--frost .cc-chest {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 18px 6px 8px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  overflow: hidden !important;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}

.cc-modal--frost .cc-chest:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 212, 255, 0.4) !important;
}

.cc-modal--frost .cc-chest.is-unlocked:not(.is-claimed) {
  border-color: rgba(111, 212, 255, 0.5) !important;
  background: linear-gradient(165deg, rgba(111, 212, 255, 0.18), rgba(111, 212, 255, 0.05)) !important;
}

.cc-modal--frost .cc-chest.is-claimed {
  border-color: rgba(93, 255, 176, 0.45) !important;
  background: linear-gradient(165deg, rgba(93, 255, 176, 0.14), rgba(93, 255, 176, 0.04)) !important;
}

.cc-modal--frost .cc-chest-badge {
  position: absolute !important;
  top: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3;
  margin: 0 !important;
  padding: 3px 9px !important;
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  background: var(--fr-ok);
  color: #042014 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cc-modal--frost .cc-chest-badge--ready {
  background: var(--fr-gold) !important;
  color: #1a1000 !important;
}

.cc-modal--frost .cc-chest-spacer { display: none !important; }

.cc-modal--frost .cc-chest-glow {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cc-modal--frost .cc-chest-img {
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 150px) !important;
  max-height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
  animation: none !important;
}

.cc-modal--frost .cc-chest.is-unlocked:not(.is-claimed) .cc-chest-img {
  animation: cc-fr-bob 2.8s ease-in-out infinite !important;
}

.cc-modal--frost .cc-chest.is-locked .cc-chest-img {
  opacity: 1 !important;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)) !important;
}

.cc-modal--frost .cc-chest.is-locked .cc-chest-name {
  color: #fff !important;
  opacity: 1 !important;
}

@keyframes cc-fr-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.cc-modal--frost .cc-chest-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 100%;
  margin-top: 4px;
  text-align: center;
}

.cc-modal--frost .cc-chest-name {
  font-family: var(--cc-font-display) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-modal--frost .cc-chest-need {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--fr-mute) !important;
}

.cc-modal--frost .cc-chest.is-unlocked .cc-chest-need {
  color: var(--fr-cyan-hi) !important;
}

.cc-modal--frost .cc-track-bar {
  height: 6px !important;
  border-radius: 999px !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.cc-modal--frost .cc-track-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a9dff, var(--fr-cyan), #e8f7ff) !important;
  box-shadow: 0 0 12px rgba(111, 212, 255, 0.45);
}

.cc-modal--frost .cc-milestones span {
  color: var(--fr-mute) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.cc-modal--frost .cc-milestones span.is-done { color: var(--fr-cyan-hi) !important; }
.cc-modal--frost .cc-carousel-meta,
.cc-modal--frost .cc-page-dots,
.cc-modal--frost .cc-page-label,
.cc-modal--frost .cc-dot {
  display: none !important;
}

.cc-modal--frost .cc-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border: none !important;
  padding: 0 !important;
}

.cc-modal--frost .cc-dot.is-active {
  width: 16px !important;
  border-radius: 999px !important;
  background: var(--fr-cyan) !important;
  box-shadow: 0 0 10px rgba(111, 212, 255, 0.55);
}

.cc-modal--frost .cc-fr-floor,
.cc-modal--frost .cc-progress-bottom {
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.cc-modal--frost .cc-fr-floor__grid,
.cc-modal--frost .cc-team-block {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.15fr !important;
  gap: 8px !important;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.cc-modal--frost .cc-clan-progress,
.cc-modal--frost .cc-top,
.cc-modal--frost .cc-fr-crew {
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 10px 12px !important;
}

.cc-modal--frost .cc-clan-total {
  font-size: 12px;
  font-weight: 700;
  color: var(--fr-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-modal--frost .cc-mini-bar {
  position: relative;
  height: 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

.cc-modal--frost .cc-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a9dff, var(--fr-cyan)) !important;
}

.cc-modal--frost .cc-mini-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.cc-modal--frost .cc-next-size {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--fr-mute);
}

.cc-modal--frost .cc-next-size strong { color: #fff; }

.cc-modal--frost .cc-size-bonus {
  margin: 2px 0 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--fr-cyan-hi) !important;
}

.cc-modal--frost .cc-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-modal--frost .cc-top-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.cc-modal--frost .cc-top-list li:nth-child(1) {
  background: linear-gradient(145deg, rgba(255, 210, 122, 0.18), rgba(255, 210, 122, 0.06));
  border-color: rgba(255, 210, 122, 0.35);
}

.cc-modal--frost .cc-top-list .pts { color: var(--fr-gold); font-family: var(--cc-font-display); }

.cc-modal--frost .cc-fr-crew__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-modal--frost .cc-fr-crew__head h2 { margin-right: auto !important; }

.cc-modal--frost .cc-bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(93, 255, 176, 0.4);
  background: linear-gradient(145deg, rgba(93, 255, 176, 0.18), rgba(93, 255, 176, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cc-modal--frost .cc-bonus-plus { color: var(--fr-ok); font-weight: 800; }
.cc-modal--frost .cc-bonus-copy { display: flex; flex-direction: column; line-height: 1; }
.cc-modal--frost .cc-bonus-copy strong { font-size: 11px; color: var(--fr-ok); }
.cc-modal--frost .cc-bonus-copy span { font-size: 8px; letter-spacing: 0.08em; color: var(--fr-mute); }

.cc-modal--frost .cc-members {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cc-modal--frost .cc-member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-modal--frost .cc-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
}

.cc-modal--frost .cc-avatar-ship {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.cc-modal--frost .cc-avatar-letter {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.cc-modal--frost .cc-avatar.is-fallback .cc-avatar-letter { display: grid; }

.cc-modal--frost .cc-member-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cc-modal--frost .cc-member-name {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-modal--frost .cc-member-pts {
  font-size: 11px;
  font-weight: 700;
  color: var(--fr-mute);
}

.cc-modal--frost .cc-profile {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 10px !important;
  height: 100% !important;
  min-height: 0 !important;
}

.cc-modal--frost .cc-profile-hero {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 14px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-modal--frost .cc-profile-hero h2 { font-size: 20px !important; }

.cc-modal--frost .cc-profile-members {
  min-height: 0 !important;
  overflow: auto !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.cc-modal--frost .cc-profile-row {
  display: grid !important;
  grid-template-columns: 28px 40px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.cc-modal--frost .cc-profile-row .cc-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
}

.cc-modal--frost .cc-profile-row .rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--fr-cyan);
  text-align: center;
}

.cc-modal--frost .cc-profile-row .info { min-width: 0; overflow: hidden; }

.cc-modal--frost .cc-profile-row .name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-modal--frost .cc-profile-row .role {
  font-size: 11px;
  font-weight: 650;
  color: var(--fr-mute);
}

.cc-modal--frost .cc-profile-row .role--leader {
  color: #ff4d4d !important;
  font-weight: 800;
}

.cc-modal--frost .cc-profile-row .score {
  font-family: var(--cc-font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--fr-gold);
}

.cc-modal--frost .cc-trophies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cc-modal--frost .cc-meta {
  display: grid;
  gap: 6px;
  margin: 4px 0;
}

.cc-modal--frost .cc-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.cc-modal--frost .cc-meta dt { color: var(--fr-mute); font-weight: 700; }
.cc-modal--frost .cc-meta dd { margin: 0; color: #fff; font-weight: 800; }

.cc-modal--frost .cc-btn--leave {
  margin-top: auto;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 120, 120, 0.45) !important;
  background: rgba(255, 80, 80, 0.12) !important;
  color: #ffb0b0 !important;
  font-weight: 800 !important;
}

.cc-modal--frost .cc-info-card {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px !important;
  line-height: 1.55;
}

.cc-modal--frost .cc-info-card h2 {
  font-size: 20px !important;
  margin-bottom: 10px !important;
  color: var(--fr-cyan-hi) !important;
}

.cc-modal--frost .cc-info-sub {
  margin: 14px 0 6px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.cc-modal--frost .cc-info-lead,
.cc-modal--frost .cc-info-rules,
.cc-modal--frost .cc-info-examples,
.cc-modal--frost .cc-info-card ul,
.cc-modal--frost .cc-info-note {
  font-size: 13px !important;
  font-weight: 650 !important;
  color: var(--fr-mute) !important;
  margin: 0 0 8px !important;
  padding-left: 18px;
}

.cc-modal--frost .cc-info-card strong { color: #fff !important; }

.cc-modal--frost .cc-info-formula {
  margin: 12px 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(111, 212, 255, 0.4) !important;
  background: rgba(4, 12, 24, 0.85) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35) !important;
}

.cc-modal--frost .cc-info-formula code {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #9be7ff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.cc-modal--frost .cc-info-table-wrap {
  margin: 10px 0 14px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(111, 212, 255, 0.28);
  background: rgba(4, 12, 24, 0.72);
}

.cc-modal--frost .cc-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: var(--fr-mute);
}

.cc-modal--frost .cc-info-table th,
.cc-modal--frost .cc-info-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(111, 212, 255, 0.14);
  white-space: nowrap;
}

.cc-modal--frost .cc-info-table th {
  color: #fff;
  font-weight: 800;
  background: rgba(20, 40, 70, 0.55);
}

.cc-modal--frost .cc-info-table tr.is-reached td {
  color: var(--fr-cyan-hi);
}

.cc-modal--frost .cc-search {
  padding: 18px !important;
  height: 100%;
}

.cc-modal--frost .cc-search label {
  font-family: var(--cc-font-display);
  font-weight: 800;
  color: var(--fr-cyan-hi);
}

.cc-modal--frost .cc-search-row input,
.cc-modal--frost .cc-chat-input-wrap input {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: #fff !important;
}

.cc-modal--frost .cc-panel[data-panel="chat"] {
  display: none;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

.cc-modal--frost .cc-panel[data-panel="chat"].is-active { display: flex; }

.cc-modal--frost .cc-chat {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

.cc-modal--frost *::-webkit-scrollbar { width: 8px; height: 8px; }
.cc-modal--frost *::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.cc-modal--frost *::-webkit-scrollbar-thumb {
  background: rgba(111, 212, 255, 0.35);
  border-radius: 999px;
}
.cc-modal--frost *::-webkit-scrollbar-thumb:hover {
  background: rgba(111, 212, 255, 0.55);
}

.cc-modal--frost .cc-chat-compose {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px !important;
  flex-shrink: 0;
}

.cc-modal--frost .cc-chat-emoji {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a, #d49220);
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 12px rgba(240, 193, 74, 0.35);
  flex-shrink: 0;
  cursor: pointer;
  color: #1a1208;
}

.cc-modal--frost .cc-chat-sticker {
  width: 36px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
}

.cc-modal--frost .cc-chat-sticker.is-premium {
  width: 48px;
  height: 48px;
}

.cc-overlay .cc-fr-dialog {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(12, 18, 32, 0.82) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 980px) {
  .cc-modal--frost .cc-fr-top { grid-template-columns: 1fr; }
  .cc-modal--frost .cc-profile { grid-template-columns: 1fr !important; }
}

@media (max-height: 700px) {
  .cc-modal--frost .cc-fr-hint { display: none; }
  .cc-modal--frost .cc-fr-board,
  .cc-modal--frost .cc-board {
    grid-template-rows: minmax(0, 1fr) 118px !important;
  }
}
