:root {
  --void: #02040c;
  --void-2: #071320;
  --panel: rgba(8, 28, 52, 0.86);
  --panel-solid: #0a2040;
  --violet: #00d4ff;
  --violet-deep: #0094d4;
  --neon: #7af0ff;
  --cyan: #00f3ff;
  --cyan-hot: #00f3ff;
  --gold: #ffcc33;
  --gold-deep: #e8a817;
  --capella: #3b82f6;
  --procyon: #f43f5e;
  --text: #fff8ea;
  --muted: #c5d0de;
  --border: rgba(0, 212, 255, 0.48);
  --border-gold: rgba(255, 204, 51, 0.58);
  --danger: #f43f5e;
  --ok: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--void);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 95% 58% at 50% -12%, rgba(255, 204, 51, 0.42), transparent 56%),
    radial-gradient(ellipse 62% 52% at 96% 112%, rgba(0, 212, 255, 0.30), transparent 52%),
    radial-gradient(ellipse 48% 42% at 4% 82%, rgba(255, 140, 40, 0.16), transparent 50%),
    linear-gradient(180deg, #050814 0%, #081a32 48%, #02040c 100%);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 243, 255, 0.07) 3px
  );
  opacity: 0.5;
  mix-blend-mode: overlay;
}

#force-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.swal2-container {
  z-index: 20000 !important;
}

.font-cinzel,
.font-fantasy,
.font-display {
  font-family: "Cinzel", serif;
}

.font-hud,
.font-title,
.font-orbitron {
  font-family: "Orbitron", sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #05010c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  border-radius: 99px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #12081f;
}

.hidden-mobile-overlay {
  opacity: 0;
  pointer-events: none;
}

#menu-overlay {
  z-index: 40;
  background: rgba(3, 1, 10, 0.78);
  transition: opacity 0.3s ease;
}

body.sidebar-open {
  overflow: hidden;
}

.glass,
.glass-panel,
.hud-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(0, 212, 255, 0.14),
    inset 0 1px 0 rgba(255, 204, 51, 0.16);
}

.hex-cut {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.corner-frame::before,
.corner-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.corner-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.corner-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.btn-force,
.btn-epic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ffcc33 0%, #00c6f2 48%, #06324c 100%);
  border: 1px solid rgba(255, 204, 51, 0.7);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  overflow: hidden;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.btn-force::after,
.btn-epic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-force:hover,
.btn-epic:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.15);
  box-shadow: 0 0 36px rgba(255, 204, 51, 0.55), 0 0 48px rgba(0, 212, 255, 0.4);
}

.btn-force:hover::after,
.btn-epic:hover::after {
  transform: translateX(120%);
}

.btn-gold {
  background: linear-gradient(180deg, #fde68a, #d4af37 48%, #8b6b10);
  color: #1a1200;
  border-color: #fff3c4;
}

.btn-ghost {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--neon);
  clip-path: none;
  border-radius: 0.6rem;
}

.input-force,
.input-fantasy,
.hud-input {
  width: 100%;
  background: rgba(3, 1, 10, 0.7);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 0.75rem 1rem;
  outline: none;
  font-family: "Rajdhani", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-force:focus,
.input-fantasy:focus,
.hud-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.gold-metal {
  background: linear-gradient(180deg, #fff 0%, #ffcc33 42%, #c4890a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 204, 51, 0.75));
}

.force-title {
  font-family: "Cinzel", serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 204, 51, 0.35);
}

.hud-kicker {
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 204, 51, 0.55);
}

.stat-tile {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.22), rgba(2, 4, 12, 0.72));
  border: 1px solid var(--border);
  padding: 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-tile:hover {
  transform: translateY(-4px) rotateX(6deg);
  border-color: rgba(255, 204, 51, 0.7);
  box-shadow: 0 18px 40px rgba(0, 212, 255, 0.32), 0 0 24px rgba(255, 204, 51, 0.2);
}

.stat-tile .label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-tile .value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0.35rem;
}

aside#sidebar {
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 4, 24, 0.96), rgba(3, 1, 10, 0.98));
  border-right: 1px solid var(--border);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
  width: 17.5rem;
}

@media (min-width: 1024px) {
  body:has(aside#sidebar) {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  #app:has(aside#sidebar) {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  aside#sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    flex-shrink: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    transform: none;
    z-index: 10;
  }

  #app:has(aside#sidebar) > main {
    min-width: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (min-width: 1024px) {
  body:has(#view-battlepass) {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  #app:has(#view-battlepass) {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  #app:has(#view-battlepass) > main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  #app:has(#view-battlepass) > main > .shell-header {
    flex-shrink: 0;
  }

  #content-container:has(#view-battlepass) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
}

aside#sidebar .nav-link {
  border: 1px solid transparent;
  color: #c9c0dc;
  font-weight: 600;
  letter-spacing: 0.02em;
}

aside#sidebar .nav-link:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--border);
  color: #fff;
}

aside#sidebar .nav-link.nav-active,
aside#sidebar .nav-link.bg-accent {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), rgba(34, 211, 238, 0.08));
  border-color: rgba(255, 204, 51, 0.35);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}

.panel-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: block;
  margin: 1rem 0 0.4rem;
}

.panel-label.admin {
  color: var(--violet);
}

.panel-label.gm {
  color: var(--cyan);
}

.nav-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.brand-lockup img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.55));
}

.brand-lockup .word {
  font-family: "Cinzel", serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.shell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(16, 7, 33, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.shell-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#profile-avatar,
#settings-avatar {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.35), 0 0 16px rgba(34, 211, 238, 0.25);
}

#dropdown-menu {
  background: rgba(16, 7, 33, 0.95) !important;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.hud-table {
  width: 100%;
  border-collapse: collapse;
}

.hud-table thead {
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hud-table th,
.hud-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.rank-row:nth-child(1) .rank-num {
  color: #ffd700;
  text-shadow: 0 0 12px #ffd700;
}

.rank-row:nth-child(2) .rank-num {
  color: #c0c0c0;
  text-shadow: 0 0 12px #c0c0c0;
}

.rank-row:nth-child(3) .rank-num {
  color: #cd7f32;
  text-shadow: 0 0 12px #cd7f32;
}

.rank-row:hover {
  background: rgba(0, 212, 255, 0.1);
}

.rank-tab.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.public-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(3, 1, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.public-nav a {
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.public-nav a:hover {
  color: var(--gold);
}

.logo-float {
  animation: floatY 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.55));
}

.slash-line {
  height: 2px;
  width: min(420px, 80vw);
  margin: 0.8rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), #fff, var(--cyan), transparent);
  box-shadow: 0 0 16px var(--gold);
  transform: rotate(-8deg);
  animation: lineFlicker 0.18s infinite;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #020008;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.page-loader img {
  width: min(280px, 70vw);
  animation: crystalIgnite 1.8s ease-in-out infinite alternate;
}

.reveal-overlay {
  position: fixed;
  inset: 0;
  background: #020008;
  z-index: 9998;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
}

.reveal-overlay.is-burning {
  animation: burnAway 2.2s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

#infoModal.modal-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
}

#infoModal.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay,
.modal-backdrop,
.skill-modal-overlay {
  z-index: 20000 !important;
}

.swal2-popup {
  background: #100721 !important;
  border: 1px solid rgba(0, 212, 255, 0.4) !important;
  color: #efeaf8 !important;
  font-family: "Rajdhani", sans-serif !important;
}

.card {
  background: rgba(16, 7, 33, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.16);
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  background: rgba(3, 1, 10, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #00d4ff 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid rgba(255, 204, 51, 0.25);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
  background: rgba(16, 7, 33, 0.8);
  color: #f1f5f9;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.btn-danger {
  background: linear-gradient(135deg, #f43f5e 0%, #9f1239 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.calibur-card {
  position: relative;
  overflow: hidden;
  background: rgba(16, 7, 33, 0.7);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.calibur-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.calibur-card.vacant {
  opacity: 0.7;
}

.calibur-icon-bg {
  position: absolute;
  right: -10px;
  bottom: -16px;
  width: 120px;
  opacity: 0.12;
  pointer-events: none;
}

.saint-badge {
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  color: #1a1200;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.vacant-badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.class-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  background: transparent;
  width: 100%;
  transition: background 0.2s ease;
}

.class-btn.active,
.class-btn:hover {
  background: rgba(0, 212, 255, 0.16);
}

.stat-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 0.5s ease;
}

.online-chip {
  background: linear-gradient(160deg, #14082a, #070314);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.2);
  min-width: 200px;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes crystalIgnite {
  from {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4)) brightness(0.85);
    transform: scale(0.96);
  }
  to {
    filter: drop-shadow(0 0 32px rgba(34, 211, 238, 0.85)) brightness(1.15);
    transform: scale(1.04);
  }
}

@keyframes burnAway {
  0% {
    clip-path: circle(0% at 50% 50%);
  }
  100% {
    clip-path: circle(150% at 50% 50%);
  }
}

@keyframes lineFlicker {
  0% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 28px rgba(34, 211, 238, 0.8);
  }
}

.glow-text {
  animation: pulseGlow 3s infinite alternate;
}

.Stab-btn:hover {
  background: rgba(0, 212, 255, 0.16);
  border-radius: 6px;
}

.arrow {
  transition: transform 0.3s ease;
}

.sub-tabs {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}

.sub-tabs a {
  display: block;
  color: #7af0ff;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 14px;
}

.sub-tabs a:hover {
  background: rgba(34, 211, 238, 0.12);
  border-radius: 6px;
}

.Stab.active .sub-tabs {
  max-height: 500px;
}

.Stab.active .arrow {
  transform: rotate(90deg);
}

.tab-btn.bg-indigo-600,
.hover\:bg-indigo-700:hover {
  background: linear-gradient(135deg, #00d4ff, #00d4ff) !important;
}

.main-content-wrapper {
  margin-left: 0 !important;
  margin-top: 0 !important;
  min-height: auto;
}

.dash-ticker {
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.16), rgba(3, 1, 10, 0.7), rgba(34, 211, 238, 0.12));
  margin-bottom: 1rem;
  padding: 0.55rem 0;
}

.dash-ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: dashTicker 28s linear infinite;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.dash-hero {
  position: relative;
  overflow: hidden;
  padding: 1.85rem 1.5rem;
  margin-bottom: 1.25rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 212, 255, 0.32), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(34, 211, 238, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(16, 7, 33, 0.94), rgba(3, 1, 10, 0.9));
}

.dash-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
}

.dash-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 50%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(18deg);
  animation: dashSweep 7s linear infinite;
  pointer-events: none;
}

.dash-avatar-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  flex-shrink: 0;
}

.dash-avatar-wrap img {
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  inset: 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.55);
  z-index: 2;
}

.dash-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.45);
  animation: dashSpin 18s linear infinite;
}

.dash-ring.inner {
  inset: 8px;
  border-style: solid;
  border-color: transparent;
  border-top-color: var(--gold);
  border-right-color: var(--violet);
  animation-duration: 9s;
  animation-direction: reverse;
}

.dash-status-dot {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  z-index: 3;
  border: 2px solid #02040c;
}

.dash-status-dot.live {
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}

.dash-status-dot.warn {
  background: #eab308;
  box-shadow: 0 0 12px #eab308;
}

.dash-status-dot.danger {
  background: #f43f5e;
  box-shadow: 0 0 12px #f43f5e;
}

.dash-chip {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
}

.dash-clock-panel {
  min-width: 220px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(3, 1, 10, 0.45);
  text-align: right;
}

.dash-clock {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  line-height: 1.1;
}

.dash-date {
  margin-top: 0.4rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.dash-vault {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 1.4rem 1.35rem;
}

.dash-vault .icon-orb {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  background: rgba(3, 1, 10, 0.55);
  border: 1px solid var(--border);
}

.dash-gauge {
  --p: 40;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  background: conic-gradient(from 210deg, var(--violet), var(--cyan) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.28);
}

.dash-gauge.gold {
  background: conic-gradient(from 210deg, #ffcc33, #00d4ff calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.dash-gauge.cyan {
  background: conic-gradient(from 210deg, #22d3ee, #00d4ff calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.dash-gauge::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #080414;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-gauge i {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
}

.dash-meter {
  height: 8px;
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.dash-meter span {
  display: block;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--gold));
  background-size: 200% 100%;
  animation: dashFlow 2.8s linear infinite;
}

.dash-hangar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-hangar-slot {
  position: relative;
  min-height: 214px;
  padding: 0.95rem 0.85rem 1.1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.14), rgba(3, 1, 10, 0.88));
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.dash-hangar-slot:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 51, 0.45);
  box-shadow: 0 16px 32px rgba(0, 212, 255, 0.16);
}

.dash-hangar-slot.capella {
  border-color: rgba(34, 211, 238, 0.28);
}

.dash-hangar-slot.procyon {
  border-color: rgba(244, 63, 94, 0.32);
}

.dash-hangar-slot.vacant {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-style: dashed;
  opacity: 0.62;
  min-height: 214px;
}

.dash-hangar-level {
  font-family: "Orbitron", sans-serif;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-top: 0.55rem;
}

.dash-hangar-slot img.art {
  position: absolute;
  right: -18px;
  bottom: -10px;
  width: 78%;
  height: 78%;
  object-fit: contain;
  opacity: 0.4;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.55));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dash-hangar-slot:hover img.art {
  opacity: 0.72;
  transform: scale(1.06);
}

.dash-ops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-ops a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  min-height: 96px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-ops a:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.12);
}

.dash-ops a i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--gold);
  background: rgba(0, 212, 255, 0.12);
  flex-shrink: 0;
}

.dash-ops a:hover i {
  color: #fff;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
}

.dash-roster-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  min-height: 84px;
}

.dash-roster-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

@media (max-width: 1280px) {
  .dash-hangar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dash-ops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dash-hangar,
  .dash-ops {
    grid-template-columns: 1fr;
  }
  .dash-clock-panel {
    text-align: left;
  }
}

@keyframes dashSpin {
  to { transform: rotate(360deg); }
}

@keyframes dashSweep {
  0% { transform: translateX(-20%) rotate(18deg); }
  100% { transform: translateX(280%) rotate(18deg); }
}

@keyframes dashFlow {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

@keyframes dashTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .dash-ticker-track,
  .dash-ring,
  .dash-hero::after,
  .dash-meter span {
    animation: none;
  }
}

.acct-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.acct-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 68%);
  pointer-events: none;
}

.acct-bays {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .acct-bays {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .acct-bays > .acct-bay.merit {
    grid-column: 1 / -1;
  }
}

.acct-bay {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.2rem 1.35rem;
  min-height: 100%;
}

.acct-bay.locked {
  opacity: 0.78;
}

.acct-bay .acct-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(3, 1, 10, 0.55);
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.acct-bay.gold .acct-icon {
  color: var(--gold);
  border-color: var(--border-gold);
}

.acct-bay.merit {
  min-height: 0;
}

.acct-merit-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.acct-merit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.merit-preview img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #050308;
  border: 1px solid var(--border-gold);
}

.merit-preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.merit-preview-nav .btn-ghost {
  min-width: 48px;
  padding: 0.35rem 0.7rem;
  font-size: 1.4rem;
  line-height: 1;
}

.merit-preview-count {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 1100px) {
  .acct-bay.merit {
    display: grid;
    grid-template-columns: auto 1fr minmax(220px, 260px);
    column-gap: 1.1rem;
    align-items: center;
  }

  .acct-bay.merit .acct-icon {
    margin-bottom: 0;
  }

  .acct-merit-actions {
    margin-top: 0;
    min-width: 220px;
  }
}

.acct-bay.danger .acct-icon {
  color: var(--procyon);
  border-color: rgba(244, 63, 94, 0.4);
}

.acct-bead-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
  max-height: 220px;
  overflow-y: auto;
}

.acct-bead {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: rgba(3, 1, 10, 0.5);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.acct-bead i {
  color: var(--gold);
  width: 1rem;
  text-align: center;
}

.acct-empty {
  border: 1px dashed rgba(0, 212, 255, 0.28);
  padding: 1rem 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-bottom: 1rem;
}

.acct-lock-note {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.char-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.char-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -45% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.char-hangar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .char-hangar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .char-hangar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.character-card.char-card {
  --char-aura: rgba(0, 212, 255, 0.5);
  --char-rim: var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  border-color: var(--char-rim);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.14), rgba(3, 1, 10, 0.92) 42%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.character-card.char-card:hover {
  border-color: rgba(255, 204, 51, 0.5);
  box-shadow: 0 18px 36px rgba(0, 212, 255, 0.18);
  transform: translateY(-4px);
}

.character-card.char-card.nation-capella {
  --char-aura: rgba(34, 211, 238, 0.55);
  --char-rim: rgba(34, 211, 238, 0.34);
}

.character-card.char-card.nation-procyon {
  --char-aura: rgba(244, 63, 94, 0.5);
  --char-rim: rgba(244, 63, 94, 0.36);
}

.character-card.char-card.nation-gm {
  --char-aura: rgba(255, 204, 51, 0.5);
  --char-rim: rgba(255, 204, 51, 0.4);
}

.character-card.char-card.vacant {
  min-height: 420px;
  border-style: dashed;
  opacity: 0.62;
  background: rgba(3, 1, 10, 0.35);
}

.character-card.char-card.vacant:hover {
  transform: none;
  box-shadow: none;
}

.char-card-stage {
  position: relative;
  height: 286px;
  overflow: hidden;
  isolation: isolate;
}

.char-card-aura {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18%;
  height: 78%;
  border-radius: 50%;
  background:
    conic-gradient(from var(--char-spin, 0deg), transparent 0 55%, var(--char-aura) 70%, transparent 88%),
    radial-gradient(circle, var(--char-aura), transparent 68%);
  filter: blur(10px);
  animation: charSpin 14s linear infinite;
  animation-delay: calc(var(--char-i, 1) * -1.1s);
  pointer-events: none;
}

.char-card-floor {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 8px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--char-aura), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

.char-card-figure {
  position: absolute;
  left: 50%;
  bottom: -6%;
  z-index: 2;
  height: 118%;
  width: auto;
  max-width: 94%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 16px var(--char-aura));
  animation: charIdle 4.8s ease-in-out infinite;
  animation-delay: calc(var(--char-i, 1) * -0.55s);
  pointer-events: none;
}

.character-card.char-card:hover .char-card-figure {
  animation-duration: 2.6s;
  filter: drop-shadow(0 0 28px var(--char-aura)) drop-shadow(0 12px 18px rgba(3, 1, 10, 0.8));
}

.char-card-mark {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--char-aura));
  animation: charMark 3.4s ease-in-out infinite;
  animation-delay: calc(var(--char-i, 1) * -0.4s);
  pointer-events: none;
}

.char-card-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(34, 211, 238, 0.08) 46%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(0, 212, 255, 0.08) 54%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: charScan 4.2s linear infinite;
  animation-delay: calc(var(--char-i, 1) * -0.7s);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.55;
}

.char-card-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(8, 3, 18, 0.96));
  pointer-events: none;
}

.char-card-body {
  position: relative;
  z-index: 4;
  padding: 0.15rem 1.05rem 1.1rem;
}

.char-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.7rem;
  margin: 0.7rem 0 0.85rem;
}

.char-card-meta p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.char-card-meta strong {
  display: block;
  margin-top: 0.1rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
}

.char-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.char-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.character-card .manage-button,
.character-card .delete-button,
.character-card .max-button,
.character-card .max-button-myth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1 1 calc(50% - 0.45rem);
  min-height: 2.15rem;
  padding: 0.5rem 0.65rem;
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon);
  font-family: "Orbitron", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.character-card .manage-button {
  background: linear-gradient(180deg, #fde68a, #d4af37 48%, #8b6b10);
  border-color: #fff3c4;
  color: #1a1200;
}

.character-card .delete-button {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.42);
  background: rgba(244, 63, 94, 0.1);
}

.character-card .max-button,
.character-card .max-button-myth {
  flex-basis: calc(50% - 0.45rem);
  min-height: 2.45rem;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
}

.character-card .max-button {
  color: var(--gold);
  border-color: rgba(255, 204, 51, 0.45);
  background: rgba(255, 204, 51, 0.12);
}

.character-card .max-button-myth {
  color: var(--neon);
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.16);
}

.character-card .manage-button:hover:not(:disabled),
.character-card .delete-button:hover:not(:disabled),
.character-card .max-button:hover:not(:disabled),
.character-card .max-button-myth:hover:not(:disabled) {
  filter: brightness(1.12);
}

.character-card .max-button:disabled,
.character-card .max-button-myth:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.35);
}

.char-empty {
  border: 1px dashed rgba(0, 212, 255, 0.28);
  padding: 2.4rem 1.2rem;
  text-align: center;
}

.np-hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 1.5rem 1.5rem 1.6rem;
  margin-bottom: 1.15rem;
}

.np-hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(52%, 520px);
  background: url("/images/acc-pack-bg.png") right center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 28%);
  pointer-events: none;
  opacity: 0.9;
}

.np-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 1, 10, 0.55) 18%, transparent 70%);
  pointer-events: none;
}

.np-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  background: rgba(3, 1, 10, 0.45);
}

.np-tab {
  padding: 0.65rem 1.15rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.np-tab.active {
  color: #1a1200;
  background: linear-gradient(180deg, #fde68a, #d4af37 48%, #8b6b10);
  border-color: #fff3c4;
}

.np-account {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 1.6rem 1.5rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.np-account-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 1, 10, 0.92) 18%, rgba(3, 1, 10, 0.35) 58%, rgba(3, 1, 10, 0.2)),
    url("/images/acc-pack-bg.png") center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.np-account:hover .np-account-art {
  transform: scale(1.06);
}

.np-account.claimed .np-account-art {
  filter: grayscale(0.35) brightness(0.72);
}

.np-account-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.np-class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (min-width: 820px) {
  .np-class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.np-class-card {
  --char-aura: rgba(0, 212, 255, 0.5);
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 0;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.14), rgba(3, 1, 10, 0.92) 48%);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.np-class-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 51, 0.5);
  box-shadow: 0 16px 32px rgba(0, 212, 255, 0.16);
}

.np-class-card .char-card-stage {
  height: 168px;
}

.np-class-card .char-card-body {
  padding: 0.15rem 0.95rem 1rem;
}

.np-pick {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  margin: 0.35rem 0;
  border: 1px solid var(--border);
  background: rgba(3, 1, 10, 0.55);
  text-align: left;
  cursor: pointer;
}

.np-pick:hover {
  border-color: rgba(255, 204, 51, 0.4);
}

.np-pick.is-claimed {
  opacity: 0.45;
  cursor: not-allowed;
}

.np-pick input {
  accent-color: #ffcc33;
}

.ge-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.5rem 1.5rem;
  margin-bottom: 1.15rem;
}

.ge-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -50% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 204, 51, 0.18), transparent 68%);
  pointer-events: none;
}

.ge-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 860px) {
  .ge-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ge-spec {
  padding: 1.05rem 1rem 1.1rem;
}

.ge-spec i {
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: block;
  font-size: 1.05rem;
}

.ge-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .ge-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

.ge-form,
.ge-side {
  padding: 1.3rem 1.2rem 1.35rem;
}

.ge-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.ge-form .step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(3, 1, 10, 0.55);
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.ge-form .step-number.completed {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.55);
  color: #86efac;
}

.ge-search {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.ge-search .hud-input {
  flex: 1;
}

.ge-search #searchGuildBtn {
  width: auto;
  white-space: nowrap;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.ge-form .upload-zone {
  border: 1px dashed rgba(0, 212, 255, 0.4);
  padding: 1.35rem 1rem;
  text-align: center;
  background: rgba(3, 1, 10, 0.45);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ge-form .upload-zone:hover:not(.disabled) {
  border-color: rgba(255, 204, 51, 0.5);
  background: rgba(255, 204, 51, 0.06);
}

.ge-form .upload-zone.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ge-form .file-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
  font-size: 0.82rem;
}

.ge-form .preview-container {
  width: min(500px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%) 0 12px / 24px 24px,
    rgba(3, 1, 10, 0.7);
}

.ge-form .preview-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ge-form .preview-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  padding: 1rem;
}

.ge-form .hud-input.ge-locked {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.ge-verified {
  display: none;
  margin-top: 0.65rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ge-verified.is-on {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ge-guide ol {
  margin: 0.65rem 0 0 1.1rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ge-guide .link-button {
  color: var(--cyan);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
}

#submitBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.rd-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.5rem 1.5rem;
  margin-bottom: 1.15rem;
}

.rd-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -48% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 204, 51, 0.2), transparent 68%);
  pointer-events: none;
}

.rd-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 860px) {
  .rd-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rd-spec {
  padding: 1.05rem 1rem 1.1rem;
}

.rd-spec i {
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: block;
  font-size: 1.05rem;
}

.rd-console {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem 1.55rem;
  max-width: 720px;
}

.rd-console::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), transparent);
  opacity: 0.85;
}

.rd-code {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.18em;
  text-align: center;
  font-size: 1.05rem;
}

.bp-hero {
  position: relative;
  overflow: hidden;
  padding: 1.55rem 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
}

.bp-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -8%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 68%);
  pointer-events: none;
}

.bp-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 204, 51, 0.18), transparent 68%);
  pointer-events: none;
}

.bp-hero-mark {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 204, 51, 0.22), transparent 62%),
    rgba(3, 1, 10, 0.7);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.bp-hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 204, 51, 0.45));
}

.bp-progress {
  min-width: 240px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(3, 1, 10, 0.42);
}

.bp-meter {
  height: 9px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.bp-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  background-size: 200% 100%;
  animation: dashFlow 2.8s linear infinite;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
}

.bp-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 860px) {
  .bp-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bp-stat {
  padding: 1.05rem 1rem 1.1rem;
}

.bp-stat i {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.bp-page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bp-page .bp-hero,
.bp-page .bp-stats {
  flex-shrink: 0;
}

.bp-board {
  flex: 1 1 auto;
  min-height: 220px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0.2rem 1.4rem;
}

.bp-rail {
  position: relative;
  padding-bottom: 2rem;
}

.bp-tracks {
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 8;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0 0.65rem;
  background: linear-gradient(180deg, rgba(3, 1, 10, 0.96) 55%, rgba(3, 1, 10, 0.55) 82%, transparent);
}

@media (max-height: 900px) {
  .bp-page .bp-hero {
    padding: 1.05rem 1.15rem 1.1rem;
    margin-bottom: 0.75rem;
  }

  .bp-page .bp-stats {
    margin-bottom: 0.7rem;
  }

  .bp-page .bp-stat {
    padding: 0.75rem 0.85rem 0.8rem;
  }
}

.bp-track-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "Orbitron", sans-serif;
  background: rgba(3, 1, 10, 0.45);
}

.bp-track-pill.free {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
}

.bp-track-pill.premium {
  color: var(--gold);
  border-color: var(--border-gold);
}

.bp-claim-off {
  opacity: 0.35 !important;
  pointer-events: none;
}

.spine-container {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(0, 212, 255, 0.18);
  z-index: 0;
}

.spine-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--cyan), var(--violet), var(--gold));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
  z-index: 1;
  transition: height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.level-circle {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080414;
  border: 1px solid var(--border);
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.level-milestone .level-circle {
  width: 64px;
  height: 64px;
  transform: rotate(45deg);
  border-width: 2px;
  border-color: var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, #1a1028, #080414);
}

.level-milestone .level-circle span {
  transform: rotate(-45deg);
}

.level-reached .level-circle {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.25);
}

.level-current .level-circle {
  background: linear-gradient(180deg, #fde68a, #d4af37 48%, #8b6b10);
  color: #1a1200;
  border-color: #fff3c4;
  box-shadow: 0 0 28px rgba(255, 204, 51, 0.4);
}

.level-current.level-milestone .level-circle {
  transform: rotate(45deg) scale(1.08);
}

.reward-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 300px;
  padding: 0.8rem 0.9rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(3, 1, 10, 0.9));
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.reward-card:hover:not(.locked) {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 51, 0.45);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.16);
}

.reward-card.rarity-rare {
  border-left: 3px solid var(--cyan);
}

.reward-card.rarity-legendary {
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(255, 204, 51, 0.12), rgba(3, 1, 10, 0.9));
}

.reward-card.claimable::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 204, 51, 0.12) 48%, transparent 66%);
  animation: bpShimmer 2.8s linear infinite;
  pointer-events: none;
}

.reward-card.locked {
  opacity: 0.42;
  filter: grayscale(0.65);
  cursor: default;
}

.reward-card.claimed {
  cursor: default;
}

.bp-lock {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.bp-qty {
  position: absolute;
  right: -1px;
  bottom: -1px;
  min-width: 1.35rem;
  padding: 0.05rem 0.28rem;
  background: rgba(3, 1, 10, 0.9);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.icon-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.claimed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 1, 10, 0.8);
  color: #86efac;
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 20;
}

.level-row {
  position: relative;
}

.modal-blur {
  background: rgba(3, 1, 10, 0.82);
  backdrop-filter: blur(16px);
}

#modal .bp-modal-panel {
  width: min(440px, 100%);
  padding: 1.7rem 1.45rem 1.45rem;
  text-align: center;
}

.bp-modal-art {
  max-width: 150px;
  max-height: 150px;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.45));
}

@keyframes bpShimmer {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(60%);
  }
}

@media (max-width: 1023px) {
  .spine-container {
    display: none;
  }

  .level-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.75rem;
  }

  .reward-card {
    max-width: none;
  }

  .level-milestone .level-circle {
    width: 52px;
    height: 52px;
  }
}

@keyframes charIdle {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-12px) scale(1.045);
  }
}

@keyframes charSpin {
  to {
    --char-spin: 360deg;
    transform: rotate(360deg);
  }
}

@keyframes charScan {
  0% {
    background-position: 0 -80%;
  }
  100% {
    background-position: 0 180%;
  }
}

@keyframes charMark {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-6px) scale(1.08);
    opacity: 1;
  }
}

@property --char-spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (max-width: 640px) {
  .char-card-stage {
    height: 240px;
  }
}

.no-bp-container {
  margin-left: 0 !important;
  min-height: 50vh;
}

.no-bp-container img {
  width: min(640px, 100%);
  padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body::before,
  #force-canvas {
    display: none !important;
  }
}

.streamer-section {
  overflow: hidden;
}

.streamer-head {
  margin-bottom: 0.25rem;
}

.streamer-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.streamer-wing {
  width: min(92px, 12vw);
  height: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 204, 51, 0.15) 20%, #ffcc33 78%, #fff 100%);
  clip-path: polygon(0 50%, 18% 0, 100% 42%, 100% 58%, 18% 100%);
  filter: drop-shadow(0 0 8px rgba(255, 204, 51, 0.65));
}

.streamer-wing.is-right {
  transform: scaleX(-1);
}

.streamer-rule {
  height: 2px;
  width: min(340px, 72vw);
  margin: 1rem auto 0.7rem;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 51, 0.15), #ffcc33, #fff, #00d4ff, transparent);
  box-shadow: 0 0 18px rgba(255, 204, 51, 0.5);
}

.streamer-signal {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.8);
}

.streamer-stage {
  --streamer-w: min(460px, 70vw);
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1.25rem 4rem 0.25rem;
  outline: none;
}

.streamer-beams,
.streamer-glow,
.streamer-ring,
.streamer-floor {
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.streamer-beams {
  top: 46%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -54%);
  background: conic-gradient(from 200deg, transparent 0 12%, rgba(255, 204, 51, 0.16) 18%, transparent 28%, transparent 58%, rgba(0, 212, 255, 0.14) 66%, transparent 76%);
  filter: blur(2px);
  animation: streamerSpin 36s linear infinite;
  z-index: 0;
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 42%, transparent 72%);
  mask: radial-gradient(circle, transparent 18%, #000 42%, transparent 72%);
}

.streamer-glow {
  top: 46%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -58%);
  background: radial-gradient(circle, rgba(255, 204, 51, 0.28) 0%, rgba(0, 212, 255, 0.12) 38%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.streamer-ring {
  top: 44%;
  width: min(640px, 86vw);
  height: min(640px, 86vw);
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 204, 51, 0.7) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 68%, #000 69.2%, #000 70.4%, transparent 71.6%);
  mask: radial-gradient(circle, transparent 68%, #000 69.2%, #000 70.4%, transparent 71.6%);
  animation: streamerSpin 22s linear infinite;
  z-index: 0;
}

.streamer-ring-inner {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: repeating-conic-gradient(from 12deg, rgba(0, 212, 255, 0.65) 0 4deg, transparent 4deg 22deg);
  animation-direction: reverse;
  animation-duration: 16s;
}

.streamer-floor {
  bottom: 92px;
  width: min(480px, 70vw);
  height: 48px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 204, 51, 0.45), rgba(0, 212, 255, 0.12) 42%, transparent 72%);
  filter: blur(10px);
  z-index: 0;
}

.streamer-stage.is-solo .streamer-meter {
  display: none;
}

.streamer-stage.is-solo,
.streamer-stage.is-solo .streamer-card,
.streamer-stage.is-solo .streamer-card[data-offset="0"],
.streamer-stage.is-solo .streamer-card.is-placeholder {
  cursor: default;
}

.streamer-stage.is-dragging,
.streamer-stage.is-dragging .streamer-card {
  cursor: grabbing;
}

.streamer-stage:not(.is-solo) {
  cursor: grab;
  user-select: none;
}

.streamer-track {
  position: relative;
  z-index: 1;
  height: 720px;
  perspective: 1400px;
}

.streamer-card {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 1;
  width: var(--streamer-w);
  margin-left: calc(var(--streamer-w) / -2);
  aspect-ratio: 3 / 4;
  background: #07030f;
  border: 1px solid rgba(255, 204, 51, 0.28);
  filter: brightness(0.22) saturate(0.15);
  opacity: 0.88;
  transform: translateX(0) rotateY(0deg) scale(0.72);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
  cursor: grab;
  overflow: hidden;
}

.streamer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(130deg, rgba(255, 204, 51, 0.1), transparent 40%, rgba(0, 212, 255, 0.08));
  pointer-events: none;
  z-index: 4;
}

.streamer-card[data-offset="0"],
.streamer-card.is-placeholder {
  filter: none;
  opacity: 1;
  transform: translateX(0) rotateY(0deg) scale(1.05);
  overflow: visible;
  border-color: transparent;
  cursor: grab;
  box-shadow:
    0 0 0 1px rgba(255, 204, 51, 0.9),
    0 0 0 8px rgba(0, 212, 255, 0.12),
    0 0 70px rgba(255, 204, 51, 0.45),
    0 0 120px rgba(0, 212, 255, 0.18),
    0 36px 80px rgba(0, 0, 0, 0.6);
}

.streamer-card[data-offset="0"]::before,
.streamer-card.is-placeholder::before {
  background: linear-gradient(120deg, #ffcc33, transparent 28%, #00d4ff 52%, transparent 72%, #ffcc33);
  background-size: 220% 220%;
  animation: streamerBorder 5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.streamer-card[data-offset="-1"] { transform: translateX(-86%) rotateY(32deg) scale(0.74); }
.streamer-card[data-offset="1"] { transform: translateX(86%) rotateY(-32deg) scale(0.74); }
.streamer-card[data-offset="-2"] { transform: translateX(-145%) rotateY(46deg) scale(0.56); opacity: 0.4; }
.streamer-card[data-offset="2"] { transform: translateX(145%) rotateY(-46deg) scale(0.56); opacity: 0.4; }

.streamer-card[data-offset="far"] {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.4);
}

.streamer-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 5;
  pointer-events: none;
}

.streamer-corner.tl { top: 8px; left: 8px; border-top: 2px solid #ffcc33; border-left: 2px solid #ffcc33; }
.streamer-corner.tr { top: 8px; right: 8px; border-top: 2px solid #ffcc33; border-right: 2px solid #00d4ff; }
.streamer-corner.bl { bottom: 8px; left: 8px; border-bottom: 2px solid #00d4ff; border-left: 2px solid #ffcc33; }
.streamer-corner.br { bottom: 8px; right: 8px; border-bottom: 2px solid #00d4ff; border-right: 2px solid #00d4ff; }

.streamer-photo,
.streamer-photo img {
  width: 100%;
  height: 100%;
}

.streamer-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 212, 255, 0.2), transparent 46%),
    #07030f;
}

.streamer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 22%, transparent 48%, rgba(5, 2, 12, 0.2) 62%, rgba(5, 2, 12, 0.92));
  pointer-events: none;
}

.streamer-photo img {
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.streamer-placeholder-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 26%;
  color: rgba(255, 204, 51, 0.7);
  font-size: 4rem;
  text-shadow: 0 0 24px rgba(255, 204, 51, 0.45);
}

.streamer-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  top: -30%;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.streamer-card[data-offset="0"] .streamer-scan {
  opacity: 1;
  animation: streamerScan 3.6s linear infinite;
}

.streamer-card[data-offset="0"] .streamer-photo img,
.streamer-card.is-placeholder .streamer-photo img {
  animation: streamerKen 14s ease-in-out infinite alternate;
}

.streamer-live,
.streamer-channel {
  position: absolute;
  z-index: 5;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
}

.streamer-live {
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 59, 59, 0.8);
  color: #fff;
  font-size: 0.6rem;
  backdrop-filter: blur(6px);
}

.streamer-channel {
  top: 16px;
  right: 16px;
  padding: 0.35rem 0.55rem;
  color: #ffcc33;
  font-size: 0.58rem;
  border: 1px solid rgba(255, 204, 51, 0.45);
  background: rgba(0, 0, 0, 0.45);
}

.streamer-card[data-offset="0"] .streamer-live,
.streamer-card[data-offset="0"] .streamer-channel,
.streamer-card.is-placeholder .streamer-live {
  opacity: 1;
}

.streamer-live i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 10px #ff3b3b;
  animation: streamerPulse 1.4s ease-in-out infinite;
}

.streamer-live.is-standby {
  border-color: rgba(255, 204, 51, 0.75);
}

.streamer-live.is-standby i {
  background: #ffcc33;
  box-shadow: 0 0 10px #ffcc33;
  animation: none;
}

.streamer-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;
  transform: translate(-50%, -55%);
  padding: 0.28rem 0.95rem;
  background: linear-gradient(90deg, #8a5a08, #ffcc33 35%, #fff6c2 50%, #ffcc33 65%, #8a5a08);
  color: #1a1200;
  font-family: "Orbitron", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  box-shadow: 0 0 18px rgba(255, 204, 51, 0.65);
  opacity: 0;
  pointer-events: none;
}

.streamer-card[data-offset="0"] .streamer-ribbon,
.streamer-card.is-placeholder .streamer-ribbon {
  opacity: 1;
}

.streamer-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.streamer-sparks span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffcc33;
  box-shadow: 0 0 10px #ffcc33, 0 0 18px rgba(0, 212, 255, 0.8);
  animation: streamerSpark 3.8s ease-in-out infinite;
}

.streamer-sparks span:nth-child(1) { left: 16%; top: 38%; animation-delay: 0s; }
.streamer-sparks span:nth-child(2) { left: 78%; top: 30%; animation-delay: 0.6s; background: #00d4ff; }
.streamer-sparks span:nth-child(3) { left: 24%; top: 68%; animation-delay: 1.2s; }
.streamer-sparks span:nth-child(4) { left: 82%; top: 62%; animation-delay: 1.8s; background: #00d4ff; }
.streamer-sparks span:nth-child(5) { left: 48%; top: 18%; animation-delay: 0.9s; }
.streamer-sparks span:nth-child(6) { left: 58%; top: 78%; animation-delay: 2.2s; }

.streamer-plate {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 0.95rem 1rem 0.85rem;
  background:
    linear-gradient(#ffcc33, #ffcc33) top / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(12, 6, 28, 0.35), rgba(5, 2, 14, 0.94));
  box-shadow:
    0 0 24px rgba(255, 204, 51, 0.18),
    inset 0 0 28px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(10px);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.streamer-role {
  margin: 0 0 0.15rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #00d4ff;
}

.streamer-ign {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(255, 204, 51, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-card[data-offset="0"] .streamer-ign,
.streamer-card.is-placeholder .streamer-ign {
  background: linear-gradient(180deg, #fff 0%, #ffcc33 55%, #c4890a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.streamer-message {
  margin: 0.55rem 0 0;
  padding-left: 0.7rem;
  border-left: 2px solid #ffcc33;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-role,
.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-message,
.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-socials,
.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-live,
.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-channel,
.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-scan {
  display: none;
}

.streamer-card:not([data-offset="0"]):not(.is-placeholder) .streamer-plate {
  padding: 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.72);
}

.streamer-socials {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.streamer-socials a {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(#140a22, #140a22) padding-box,
    linear-gradient(140deg, #ffcc33, #00d4ff) border-box;
  color: #ffcc33;
  box-shadow: 0 0 14px rgba(255, 204, 51, 0.18);
}

.streamer-socials a:hover {
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}

.streamer-socials a::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 0.15rem 0.4rem;
  background: rgba(0, 0, 0, 0.8);
  color: #ffcc33;
  font-family: "Orbitron", sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.streamer-socials a:hover::after {
  opacity: 1;
}

.streamer-card:not([data-offset="0"]) .streamer-socials {
  pointer-events: none;
}

.streamer-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.streamer-meter {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.streamer-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffcc33, #fff, #00d4ff);
  box-shadow: 0 0 10px rgba(255, 204, 51, 0.7);
}

.streamer-meter span.is-running {
  animation: streamerMeter 5s linear;
}

.streamer-count {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: rgba(255, 204, 51, 0.9);
}

.streamer-dots {
  display: flex;
  gap: 0.75rem;
}

.streamer-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 204, 51, 0.55);
  background: transparent;
  transform: rotate(45deg);
  cursor: pointer;
}

.streamer-dots button.is-active {
  background: #ffcc33;
  box-shadow: 0 0 12px rgba(255, 204, 51, 0.9);
}

@keyframes streamerPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes streamerSpin {
  to { transform: translate(-50%, -52%) rotate(360deg); }
}

.streamer-beams {
  animation-name: streamerSpinBeams;
}

@keyframes streamerSpinBeams {
  to { transform: translate(-50%, -54%) rotate(360deg); }
}

@keyframes streamerScan {
  0% { top: -30%; }
  100% { top: 110%; }
}

@keyframes streamerBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes streamerMeter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes streamerKen {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes streamerSpark {
  0%, 100% { opacity: 0; transform: translateY(10px) scale(0.6); }
  35% { opacity: 1; transform: translateY(-6px) scale(1); }
  70% { opacity: 0; transform: translateY(-26px) scale(0.4); }
}

@media (max-width: 768px) {
  .streamer-stage {
    --streamer-w: min(290px, 74vw);
    padding: 0.5rem 2.7rem 0.25rem;
  }
  .streamer-track { height: 560px; }
  .streamer-ring,
  .streamer-beams,
  .streamer-sparks,
  .streamer-wing { display: none; }
  .streamer-card[data-offset="0"],
  .streamer-card.is-placeholder { transform: translateX(0) rotateY(0deg) scale(1); }
  .streamer-card[data-offset="-1"] { transform: translateX(-46%) rotateY(0deg) scale(0.68); }
  .streamer-card[data-offset="1"] { transform: translateX(46%) rotateY(0deg) scale(0.68); }
  .streamer-card[data-offset="-2"],
  .streamer-card[data-offset="2"] {
    opacity: 0;
    pointer-events: none;
  }
  .streamer-ign { font-size: 1.25rem; }
  .streamer-socials a::after { display: none; }
}
