.content-frost-page .community-hero,
.content-frost-page .hero-detail-head,
.content-frost-page .pair-detail-head,
.content-frost-page .class-guide-hero,
.auth-frost-page .auth-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(36, 68, 95, .75);
  background: linear-gradient(135deg, rgba(3, 11, 24, .98), rgba(10, 35, 66, .88));
}
.content-frost-page .community-hero::before,
.content-frost-page .hero-detail-head::before,
.content-frost-page .pair-detail-head::before,
.content-frost-page .class-guide-hero::before,
.auth-frost-page .auth-main::before {
  content: "";
  position: absolute;
  inset: -70% -20%;
  z-index: -2;
  opacity: .9;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(71, 173, 255, .22), transparent 34%),
    radial-gradient(ellipse at 68% 28%, rgba(40, 72, 160, .17), transparent 32%),
    radial-gradient(ellipse at 78% 82%, rgba(142, 30, 38, .10), transparent 24%),
    radial-gradient(ellipse at 45% 75%, rgba(213, 164, 73, .10), transparent 26%);
  animation: ctl-aurora-drift var(--motion-aurora) ease-in-out infinite alternate;
}
.content-frost-page .community-hero::after,
.content-frost-page .class-guide-hero::after,
.auth-frost-page .auth-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background: url("../../images/patterns/frost-cartography.10770b7800ad.svg") center/cover;
}
@keyframes ctl-aurora-drift { to { transform: translate3d(7%, 4%, 0) rotate(3deg) scale(1.06); } }

.content-frost-page .hero-toolbar,
.content-frost-page .pair-tier-board,
.content-frost-page .section-block,
.content-frost-page .formation-card,
.content-frost-page .pair-build-card {
  border-color: rgba(36, 68, 95, .74);
  background: linear-gradient(145deg, rgba(13, 29, 49, .9), rgba(3, 11, 24, .96));
}
.content-frost-page .pair-tier-row { border-color: rgba(36, 68, 95, .62); }
.content-frost-page .pair-card,
.content-frost-page .hero-card {
  border-color: rgba(36, 68, 95, .75);
  background: rgba(3, 11, 24, .92);
  transition: transform var(--motion-normal) var(--ease-premium), border-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease;
}
.content-frost-page .pair-card:hover,
.content-frost-page .pair-card:focus-visible,
.content-frost-page .hero-card:hover,
.content-frost-page .hero-card:focus-visible {
  z-index: 1;
  transform: translateY(-3px);
  border-color: rgba(115, 204, 255, .62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32), 0 0 28px rgba(40, 119, 255, .09);
}
.content-frost-page .pair-tier-s-plus { position: relative; overflow: hidden; }
.content-frost-page .pair-tier-s-plus::after {
  content: "";
  position: absolute;
  top: -42px;
  right: 18%;
  width: 2px;
  height: 78px;
  pointer-events: none;
  background: linear-gradient(transparent, var(--ctl-ice), transparent);
  transform: rotate(34deg);
  animation: pair-meteor 9s linear infinite;
}
@keyframes pair-meteor { 0%, 60% { opacity: 0; transform: translate3d(0, -40px, 0) rotate(34deg); } 65% { opacity: .75; } 78%, 100% { opacity: 0; transform: translate3d(-180px, 260px, 0) rotate(34deg); } }
.content-frost-page .hero-tier,
.content-frost-page .community-rating { border-color: rgba(115, 204, 255, .34); background: rgba(20, 84, 200, .16); }
.content-frost-page .formation-media img,
.content-frost-page .pair-build-preview img { background: var(--ctl-abyss); }

.class-guide-tabs {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 12px 0 18px;
  padding: 9px;
  border: 1px solid rgba(36, 68, 95, .72);
  background: rgba(2, 8, 20, .94);
  backdrop-filter: blur(14px);
}
.class-guide-tabs a {
  flex: 1;
  min-width: max-content;
  padding: 11px 14px;
  color: var(--ctl-muted);
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.class-guide-tabs a:hover,
.class-guide-tabs a:focus-visible { color: var(--ctl-ice); background: rgba(40, 119, 255, .12); }
.content-frost-page .class-axis-card.impact { border-color: rgba(197, 155, 75, .5); }
.content-frost-page .class-axis-card.sustain { border-color: rgba(74, 198, 155, .42); }
.content-frost-page .class-axis-card.efficiency { border-color: rgba(115, 204, 255, .45); }
.content-frost-page .class-quality-grid .warning { border-color: rgba(150, 50, 61, .58); }

.auth-frost-page .auth-main {
  min-height: min(720px, calc(100vh - 112px));
  display: grid;
  place-items: center;
  padding: clamp(28px, 7vw, 80px);
}
.auth-frost-page .auth-card {
  position: relative;
  width: min(480px, 100%);
  border-color: rgba(115, 204, 255, .34);
  background: rgba(3, 11, 24, .84);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
}
.auth-frost-page .auth-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 92px;
  aspect-ratio: 1;
  opacity: .12;
  background: url("../../images/patterns/dong-son-sun.cef9fbd3a687.svg") center/contain no-repeat;
}

@media (max-width: 700px) {
  .content-frost-page .pair-card:hover,
  .content-frost-page .hero-card:hover { transform: none; }
  .class-guide-tabs { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .content-frost-page .community-hero::before,
  .content-frost-page .hero-detail-head::before,
  .content-frost-page .pair-detail-head::before,
  .content-frost-page .class-guide-hero::before,
  .auth-frost-page .auth-main::before,
  .content-frost-page .pair-tier-s-plus::after { animation: none; }
  .content-frost-page .pair-card,
  .content-frost-page .hero-card { transition: none; }
}
