/* Admin checkbox polish */
.compact-checkbox {
  --switch-width: 44px;
  --switch-height: 24px;
  --switch-padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--switch-width);
  min-width: var(--switch-width);
  height: var(--switch-height);
  margin: 0;
  cursor: pointer;
}

.compact-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: var(--switch-width) !important;
  height: var(--switch-height) !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.compact-checkbox .checkbox-custom {
  pointer-events: none;
}

.checkbox-custom {
  position: relative;
  width: var(--switch-width);
  height: var(--switch-height);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.26);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  top: var(--switch-padding);
  left: var(--switch-padding);
  width: calc(var(--switch-height) - (var(--switch-padding) * 2));
  height: calc(var(--switch-height) - (var(--switch-padding) * 2));
  border-radius: 50%;
  background: linear-gradient(180deg, #f8fbff, #c8d9f3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.32);
  transition: transform 0.22s ease;
}

.compact-checkbox input[type="checkbox"]:checked + .checkbox-custom {
  border-color: rgba(0, 194, 255, 0.65);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.48), rgba(124, 92, 255, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 22px rgba(0, 86, 132, 0.35);
}

.compact-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
  transform: translateX(20px);
}

.admin-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00c2ff;
}

/* Nova grid para painel de itens do market (admin) */
.admin-market-row-compact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr 1.5fr 0.7fr 0.5fr 1.8fr 1.1fr;
  gap: 10px;
  align-items: center;
}
.admin-market-row-compact > * {
  min-width: 0;
}

@media (max-width: 1200px) {
  .admin-market-row-compact {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 800px) {
  .admin-market-row-compact {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}

/* Ajuste para textarea e botão ficarem alinhados */
.admin-market-row-compact textarea {
  min-width: 120px;
  max-width: 220px;
  resize: horizontal;
}
.admin-market-row-compact button {
  min-width: 90px;
  margin-left: auto;
}
@import url("https://fonts.googleapis.com/css2?family=Metal+Mania&family=Space+Grotesk:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #09111d;
  --bg-2: #101a27;
  --panel: rgba(14, 22, 35, 0.84);
  --panel-strong: rgba(19, 29, 45, 0.95);
  --panel-soft: rgba(22, 35, 54, 0.68);
  --text: #edf2ff;
  --muted: #8ea0bd;
  --accent: #ff4d8d;
  --accent-2: #7c5cff;
  --accent-3: #00c2ff;
  --line: rgba(146, 170, 208, 0.12);
  --success: #5de0a2;
  --danger: #ff7d89;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  --market-tabs-sticky-top: 56px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(255, 77, 141, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(0, 194, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #07101a 0%, #0a1420 48%, #09111d 100%);
  position: relative;
  overflow-x: hidden;
}

.admin-standalone-body {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 77, 141, 0.14), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(0, 194, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #070f1a 0%, #091321 100%);
  padding-inline: 8px;
}

.admin-standalone-header {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 13, 22, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-brand {
  display: inline-flex;
  flex-direction: column;
  font-family: "Metal Mania", "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffd8bc 0%, #ff6d49 40%, #bf1d18 72%, #7b0f12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.admin-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-header-nav .button-secondary {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.74rem;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: none;
}

.admin-standalone-main {
  width: 100%;
  max-width: none;
  margin: 8px 0 12px;
  font-size: 0.82rem;
}

.admin-standalone-main .admin-panel,
.admin-standalone-main .admin-shell,
.admin-standalone-main .admin-main {
  width: 100%;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 82%);
  pointer-events: none;
}

.page-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
}

.page-glow-left {
  top: -120px;
  left: -140px;
  background: rgba(124, 92, 255, 0.32);
}

.page-glow-right {
  top: 80px;
  right: -150px;
  background: rgba(255, 77, 141, 0.18);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 13, 23, 0.68);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.nav-cluster {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.topbar-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 100px;
}

.topbar-wallet-chip {
  min-width: 72px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-wallet-chip span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.topbar-wallet-chip strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1;
  color: #fff;
}

.topbar-wallet-chip-market strong {
  color: #7edcff;
}

.topbar-wallet-chip-dark strong {
  color: #ff9ac4;
}

.topbar-wallet-chip-online strong {
  color: #7dffb3;
}

.topbar-wallet-chip-server.is-online strong {
  color: #7dffb3;
}

.topbar-wallet-chip-server.is-offline strong {
  color: #ff8f9d;
}

.topbar-wallet-chip-server.is-offline {
  border-color: rgba(255, 120, 140, 0.35);
  background: rgba(120, 20, 35, 0.28);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
}

.brand::before {
  content: "";
  position: absolute;
  inset: -10px -12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 45%, rgba(255, 75, 66, 0.24), transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(138, 18, 18, 0.26), transparent 52%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: "Metal Mania", "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(180deg, #ffd8bc 0%, #ff6d49 40%, #bf1d18 72%, #7b0f12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 235, 221, 0.26),
    0 2px 6px rgba(126, 0, 0, 0.44),
    0 6px 18px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.brand-mark-main {
  letter-spacing: 0.1em;
  font-size: 1.02em;
}

.brand-mark-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  letter-spacing: 0.12em;
  margin-top: -2px;
  opacity: 0.95;
}

.brand-sub-pre,
.brand-sub-post {
  display: inline-block;
}

.brand-vortex-o {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.02em;
  height: 1.02em;
  margin: 0 0.08em;
  border-radius: 50%;
  color: #ffd6c2;
  -webkit-text-fill-color: #ffd6c2;
  text-shadow:
    0 0 10px rgba(255, 102, 73, 0.78),
    0 0 18px rgba(137, 15, 15, 0.58);
}

.brand-vortex-o::before,
.brand-vortex-o::after {
  content: "";
  position: absolute;
  inset: -0.18em;
  border-radius: 50%;
  border: 1px solid rgba(255, 118, 92, 0.45);
  box-shadow:
    0 0 8px rgba(245, 54, 31, 0.45),
    inset 0 0 6px rgba(255, 199, 169, 0.28);
  pointer-events: none;
}

.brand-vortex-o::before {
  transform: rotate(18deg) scaleX(1.2);
  animation: logo-vortex-spin 3.6s linear infinite;
}

.brand-vortex-o::after {
  inset: -0.3em;
  opacity: 0.72;
  transform: rotate(-20deg) scaleY(0.8);
  animation: logo-vortex-spin-reverse 2.7s linear infinite;
}

@keyframes logo-vortex-spin {
  from {
    transform: rotate(18deg) scaleX(1.2);
  }

  to {
    transform: rotate(378deg) scaleX(1.2);
  }
}

@keyframes logo-vortex-spin-reverse {
  from {
    transform: rotate(-20deg) scaleY(0.8);
  }

  to {
    transform: rotate(-380deg) scaleY(0.8);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
}

.nav a::after,
.nav button::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transform: scaleX(0.28);
  transform-origin: left center;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Social Float Sidebar ─────────────────────────────── */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.social-float-btn {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 12px 0 16px;
  height: 46px;
  width: 46px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 10px 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: none;
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.45);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s ease;
}

.social-float-btn:hover {
  width: 138px;
  box-shadow: -6px 6px 24px rgba(0, 0, 0, 0.55);
  transform: none;
}

.social-float-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.social-float-btn span {
  flex-shrink: 0;
}

.social-float-discord {
  background: #5865F2;
}

.social-float-facebook {
  background: #1877F2;
}

.social-float-instagram {
  background: linear-gradient(160deg, #833ab4, #e1306c, #fd1d1d, #fcaf45);
}

.market-cart-float {
  position: fixed;
  right: 16px;
  bottom: 22px;
  z-index: 8900;
}

.market-float-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.market-cart-float-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 77, 141, 0.44);
  background: linear-gradient(145deg, rgba(255, 77, 141, 0.28), rgba(124, 92, 255, 0.28));
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.45);
}

.market-cart-float-btn:hover {
  border-color: rgba(255, 77, 141, 0.65);
  color: #fff;
}

.market-cart-float-btn--usd-credits {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.26), rgba(124, 92, 255, 0.22));
}

.market-cart-float-btn--usd-credits:hover {
  border-color: rgba(230, 195, 90, 0.72);
  color: #fff;
}

.market-cart-float-icon {
  display: block;
}

.market-cart-float-badge--usd {
  background: rgba(212, 175, 55, 0.98);
  color: #1a1422;
}

.market-cart-float-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 77, 141, 0.98);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.nav a:hover,
.nav button:hover,
.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.nav a:hover::after,
.nav button:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.page {
  padding: 40px 0 30px;
}

.hero,
.card,
.table-card,
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.home-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.96fr) 248px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 26px;
}

.home-carousel-card,
.home-side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.home-carousel-card {
  overflow: hidden;
  position: relative;
  min-height: 360px;
  background:
    radial-gradient(circle at top left, rgba(255, 80, 80, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(12, 18, 30, 0.98), rgba(7, 12, 20, 0.94));
}

.home-carousel-stack {
  position: relative;
  min-height: 318px;
}

.home-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(168px, 0.76fr);
  gap: 14px;
  padding: 18px 28px 8px 20px;
  opacity: 0;
  animation: home-carousel-rotate 18s infinite;
  overflow: hidden;
}

.home-carousel-slide.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--slide-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-carousel-slide.has-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 9, 16, 0.94) 0%,
    rgba(5, 9, 16, 0.78) 36%,
    rgba(5, 9, 16, 0.42) 62%,
    rgba(5, 9, 16, 0.2) 100%
  );
}

.home-carousel-slide.has-bg-image .home-carousel-figures {
  opacity: 0.28;
}

.home-carousel-slide:nth-child(2) {
  animation-delay: 6s;
}

.home-carousel-slide:nth-child(3) {
  animation-delay: 12s;
}

.home-carousel-slide-campaign {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 94, 77, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(5, 9, 16, 0.2), rgba(5, 9, 16, 0.02));
}

.home-carousel-slide-battle {
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 194, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(7, 15, 25, 0.18), rgba(7, 15, 25, 0.02));
}

.home-carousel-slide-community {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 77, 141, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(11, 16, 27, 0.18), rgba(11, 16, 27, 0.02));
}

.home-carousel-glow {
  position: absolute;
  inset: auto auto -120px -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 77, 141, 0.18);
  filter: blur(70px);
  pointer-events: none;
}

.home-carousel-copy,
.home-carousel-art {
  position: relative;
  z-index: 1;
}

.home-carousel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.home-carousel-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 0.95;
  max-width: 11ch;
}

.home-carousel-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 42ch;
}

.home-rich-text {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 42ch;
}

.home-rich-text-tight {
  font-size: 0.8rem;
  max-width: 30ch;
}

.home-inline-image {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-inline-text {
  display: block;
}

.home-carousel-copy .button-row {
  margin-top: 4px;
}

.home-carousel-copy .button,
.home-carousel-copy .button-secondary {
  min-height: 42px;
  padding: 0 16px;
}

.home-carousel-art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 100%;
}

.home-carousel-stamp {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: right;
  max-width: 100%;
  padding-right: 2px;
  white-space: pre-line;
  word-break: keep-all;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.home-carousel-figures {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.home-carousel-figures span {
  display: block;
  width: 54px;
  border-radius: 28px 28px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 77, 141, 0.28), rgba(124, 92, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 12px 28px rgba(255, 255, 255, 0.08), 0 18px 30px rgba(0, 0, 0, 0.26);
}

.home-carousel-figures span:nth-child(1) {
  height: 126px;
  transform: rotate(-10deg);
}

.home-carousel-figures span:nth-child(2) {
  height: 164px;
  transform: translateY(-10px);
}

.home-carousel-figures span:nth-child(3) {
  height: 138px;
  transform: rotate(8deg);
}

.home-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.home-carousel-dots {
  display: flex;
  gap: 8px;
}

.home-carousel-dot {
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  animation: home-carousel-dot 18s infinite;
}

.home-carousel-dot:nth-child(2) {
  animation-delay: 6s;
}

.home-carousel-dot:nth-child(3) {
  animation-delay: 12s;
}

.home-carousel-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
}

.js-carousel-enabled .home-carousel-slide {
  animation: none;
  opacity: 0;
  pointer-events: none;
}

.js-carousel-enabled .home-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.js-carousel-enabled .home-carousel-dot {
  animation: none;
}

.home-side-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 77, 141, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 37, 0.96), rgba(10, 17, 28, 0.96));
}

.home-login-card-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.home-login-card-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.home-login-card-head .eyebrow {
  margin-bottom: 0;
  font-size: 0.64rem;
}

.home-login-card-head p {
  margin: 0;
}

.home-login-form {
  gap: 8px;
}

.home-login-form label {
  font-size: 0.82rem;
}

.home-login-form input {
  min-height: 40px;
}

.home-login-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-login-actions .button,
.home-login-actions .button-secondary {
  width: 100%;
  min-height: 42px;
}

.home-login-links {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.official-home-strip {
  display: grid;
  grid-template-columns: 1.08fr 1.1fr 0.7fr;
  gap: 14px;
  margin-bottom: 24px;
}

.official-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(245, 242, 236, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.official-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%);
  pointer-events: none;
}

.official-panel-head {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.official-panel-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff6ea;
}

.official-notice-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.official-notice-tabs button {
  border: 0;
  padding: 0;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 245, 232, 0.72);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: 0.8rem;
}

.official-notice-tabs .is-active {
  background: linear-gradient(135deg, rgba(183, 38, 23, 0.94), rgba(118, 18, 17, 0.94));
  color: #fff;
}

.official-notice-list {
  display: grid;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.official-notice-item {
  display: grid;
  gap: 3px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.official-notice-item:last-child {
  border-bottom: none;
}

.official-notice-item.is-hidden {
  display: none;
}

.official-notice-type {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d1a691;
}

.official-notice-item strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 248, 241, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.official-hotnews-viewport {
  position: relative;
  min-height: 244px;
  overflow: hidden;
  border-radius: 16px;
}

.official-hotnews-card {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  cursor: pointer;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  inset: 0;
  position: absolute;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 6, 4, 0.08), rgba(11, 6, 4, 0.78)),
    radial-gradient(circle at 50% 15%, rgba(255, 112, 58, 0.34), transparent 30%),
    linear-gradient(135deg, #2d0806 0%, #49100c 32%, #7f2418 64%, #250707 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(100%);
  animation: official-hotnews-rotate 18s infinite;
}

.official-hotnews-card:nth-child(2) {
  animation-delay: 6s;
}

.official-hotnews-card:nth-child(3) {
  animation-delay: 12s;
}

.official-hotnews-theme-launch {
  background:
    linear-gradient(180deg, rgba(11, 6, 4, 0.08), rgba(11, 6, 4, 0.78)),
    radial-gradient(circle at 50% 15%, rgba(255, 112, 58, 0.34), transparent 30%),
    linear-gradient(135deg, #2d0806 0%, #49100c 32%, #7f2418 64%, #250707 100%);
}

.official-hotnews-theme-ranking {
  background:
    linear-gradient(180deg, rgba(6, 11, 22, 0.1), rgba(6, 11, 22, 0.8)),
    radial-gradient(circle at 70% 10%, rgba(68, 196, 255, 0.32), transparent 26%),
    linear-gradient(135deg, #0b1321 0%, #13263d 38%, #264b63 70%, #091018 100%);
}

.official-hotnews-theme-portal {
  background:
    linear-gradient(180deg, rgba(18, 8, 17, 0.08), rgba(18, 8, 17, 0.78)),
    radial-gradient(circle at 22% 10%, rgba(255, 101, 180, 0.28), transparent 28%),
    linear-gradient(135deg, #190b18 0%, #3a1630 40%, #6b2b54 70%, #14070f 100%);
}

.official-hotnews-card::before,
.official-hotnews-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.official-hotnews-card::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.08) calc(50% - 0.5px), rgba(255, 255, 255, 0.08) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent 0, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.06) calc(50% - 0.5px), rgba(255, 255, 255, 0.06) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  opacity: 0.5;
}

.official-hotnews-card::after {
  inset: 12px 14px auto auto;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 202, 146, 0.18), transparent 68%);
}

.official-hotnews-badge,
.official-hotnews-card strong,
.official-hotnews-card p {
  position: relative;
  z-index: 1;
}

.official-hotnews-badge {
  display: inline-flex;
  align-self: flex-start;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd7b4;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-hotnews-card strong {
  max-width: 15ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.02;
  color: #fff4eb;
}

.official-hotnews-card p {
  margin: 0;
  max-width: 30ch;
  color: rgba(255, 236, 223, 0.82);
  line-height: 1.35;
  font-size: 0.8rem;
}

.modal-open {
  overflow: hidden;
}

.home-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 16px;
}

.home-modal[hidden] {
  display: none !important;
}

.home-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.home-modal-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(14, 24, 39, 0.98), rgba(9, 17, 29, 0.98));
  padding: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  display: grid;
  gap: 10px;
}

.home-modal-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ecf2ff;
}

.home-modal-card p {
  margin: 0;
  color: #cbd8f1;
  line-height: 1.48;
  white-space: pre-wrap;
}

.home-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.official-hotnews-dots {
  display: none;
}

.official-hotnews-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  animation: official-hotnews-dot 18s infinite;
}

.official-hotnews-dots span:nth-child(2) {
  animation-delay: 6s;
}

.official-hotnews-dots span:nth-child(3) {
  animation-delay: 12s;
}

.official-race-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.official-race-card {
  min-height: 134px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 23, 35, 0.96), rgba(10, 15, 24, 0.98));
}

.official-race-card strong,
.official-race-card span {
  position: relative;
  z-index: 1;
  text-align: center;
}

.official-race-card strong {
  font-size: 0.82rem;
  margin-top: 2px;
}

.official-race-card span:last-child {
  color: rgba(255, 242, 233, 0.76);
  font-size: 0.64rem;
}

.official-race-portrait {
  position: relative;
  inset: auto;
  width: calc(100% - 4px);
  height: 72px;
  flex: 0 0 72px;
  border-radius: 12px;
  opacity: 0.95;
  overflow: hidden;
  background: #0c121b;
  box-shadow: inset 0 -30px 40px rgba(0, 0, 0, 0.22);
  margin-bottom: 6px;
}

.official-race-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.race-guide-slayer {
  background: linear-gradient(180deg, rgba(16, 23, 35, 0.96), rgba(10, 15, 24, 0.98));
}

.race-guide-slayer .official-race-portrait {
  background-color: #0c121b;
}

.race-guide-vampire {
  background: linear-gradient(180deg, rgba(16, 23, 35, 0.96), rgba(10, 15, 24, 0.98));
}

.race-guide-vampire .official-race-portrait {
  background-color: #0c121b;
}

.race-guide-ousters {
  background: linear-gradient(180deg, rgba(16, 23, 35, 0.96), rgba(10, 15, 24, 0.98));
}

.race-guide-ousters .official-race-portrait {
  background-color: #0c121b;
}

.official-race-actions {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.official-race-actions .button-secondary {
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.8rem;
}

@keyframes official-hotnews-rotate {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  6% {
    opacity: 1;
    transform: translateY(0);
  }

  28% {
    opacity: 1;
    transform: translateY(0);
  }

  34% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes official-hotnews-dot {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1);
  }

  6%,
  28% {
    background: rgba(255, 221, 193, 0.94);
    transform: scale(1.15);
  }
}

.home-login-links a {
  color: #fff;
}

.home-member-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.home-member-subtitle {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-member-chip {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.home-member-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-member-chip strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
}

.home-member-char-chip strong {
  margin-top: 0;
}

.home-member-char-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.home-member-char-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-member-race-grid {
  display: grid;
  gap: 12px;
}

.home-member-race-card {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(18, 28, 54, 0.8), rgba(8, 16, 35, 0.9));
}

.home-member-race-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.home-member-race-head strong {
  display: block;
  font-size: 1rem;
  margin: 0;
}

.home-member-race-list {
  display: grid;
  gap: 8px;
}

.home-member-race-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.home-member-race-row strong {
  margin: 0;
  font-size: 0.9rem;
  max-width: 100%;
}

.home-member-race-row span {
  color: #d9e3ff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.home-member-race-row-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  max-width: calc(100% - 70px);
}

.home-member-race-row-name img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 36px;
}

.home-member-race-row-name strong {
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

@keyframes home-carousel-rotate {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  5%, 29% {
    opacity: 1;
    transform: scale(1);
  }

  34%, 100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes home-carousel-dot {
  0%, 100% {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1);
  }

  8%, 26% {
    background: #ff4d8d;
    transform: scale(1.18);
  }
}

.hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 40px;
  position: relative;
}

.hero-copy h1,
.section-title,
.auth-card h1,
.card h2 {
  font-family: "Space Grotesk", sans-serif;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.92;
  max-width: 10.5ch;
}

.hero-copy p,
.asset-list p,
.spotlight-copy p,
.feature-card p,
.cta-panel p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 62ch;
  line-height: 1.7;
}

.hero-vortex::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 24, 0.68));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-text {
  margin: 0;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 32px rgba(124, 92, 255, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.metric-chip {
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.metric-chip strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
}

.hero-visual {
  display: grid;
  position: relative;
  min-height: 460px;
  place-items: center;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, 0.4);
}

.portal-ring-a {
  width: 320px;
  height: 320px;
  box-shadow: inset 0 0 40px rgba(124, 92, 255, 0.12), 0 0 70px rgba(124, 92, 255, 0.18);
}

.portal-ring-b {
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: rgba(255, 77, 141, 0.24);
}

.portal-grid {
  position: absolute;
  right: 18px;
  top: 34px;
  width: 230px;
  height: 160px;
  background-image: radial-gradient(circle, rgba(85, 103, 255, 0.95) 1.4px, transparent 1.8px);
  background-size: 18px 18px;
  transform: perspective(420px) rotateX(18deg) rotateY(-18deg);
  opacity: 0.75;
}

.character-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  min-height: 360px;
  border-radius: 34px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background:
    radial-gradient(circle at top center, rgba(255, 77, 141, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.stage-badge,
.stage-spec,
.feature-kicker,
.race-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 800;
}

.character-stage strong,
.feature-card h2,
.asset-list strong,
.spotlight-list span,
.cta-panel h2,
.race-row strong {
  font-family: "Space Grotesk", sans-serif;
}

.character-stage strong {
  font-size: 1.5rem;
}

.character-stage p {
  margin: 0;
}

.section-grid,
.race-grid,
.feature-strip,
.grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bible-strip-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.bible-strip-head span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #efe8dc;
  font-size: 0.9rem;
  font-weight: 700;
}

.bible-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.bible-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.bible-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.bible-card-head h2 {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.bible-card-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.bible-card-race {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bible-card-race img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
}

.bible-card-race p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.bible-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bible-icon-item {
  width: 72px;
  margin: 0;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.bible-icon-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.bible-icon-item figcaption {
  font-size: 0.72rem;
  color: #d4ddf2;
  text-align: center;
  line-height: 1.25;
}

.bible-empty-state {
  margin: 0;
}

/* Bible icon tooltip */
.bible-icon-item {
  position: relative;
}
.bible-icon-item[data-description]::after {
  content: attr(data-description);
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 14, 24, 0.95);
  color: #e2e8f8;
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: pre-wrap;
  width: 180px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 20;
}
.bible-icon-item[data-description]:not([data-description=""])::after {
  display: none;
}
.bible-icon-item[data-description]:not([data-description=""]):hover::after {
  display: block;
}

.bible-card-slayer .bible-card-count {
  background: rgba(0, 194, 255, 0.12);
}

.bible-card-vampire .bible-card-count {
  background: rgba(255, 77, 141, 0.12);
}

.bible-card-ousters .bible-card-count {
  background: rgba(136, 109, 255, 0.12);
}

.feature-card,
.spotlight-card,
.asset-card,
.cta-panel,
.race-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.section-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.card,
.table-card,
.auth-card {
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
}

.muted {
  color: var(--muted);
}

.spotlight-copy {
  display: grid;
  gap: 18px;
}

.spotlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-list span,
.asset-list div span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #ced9f8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-list {
  display: grid;
  gap: 14px;
}

.asset-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.asset-list div:last-child {
  border-bottom: none;
}

.ranking-showcase {
  margin-top: 28px;
}

.home-market-preview {
  margin-top: 28px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.home-market-head {
  margin-bottom: 18px;
}

.home-market-more {
  color: var(--muted);
  font-weight: 700;
}

.home-market-tabs-nav {
  margin-bottom: 18px;
}

.home-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  align-items: start;
}

.home-market-card {
  min-height: 0;
  padding: 12px 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 22, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.home-market-card:hover {
  border-color: rgba(255, 77, 141, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.home-market-card--tab-hidden {
  display: none !important;
}

.home-market-thumb {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.home-market-thumb img {
  width: 100%;
  height: 100%;
  max-height: 112px;
  object-fit: contain;
}

.home-market-card-price {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  color: #f3d27c;
  text-shadow: 0 0 10px rgba(243, 210, 124, 0.18);
}

.home-market-card-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(245, 248, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-market-banner p {
  margin: 0;
  color: rgba(237, 242, 255, 0.7);
  line-height: 1.3;
  text-align: center;
  font-size: 0.88rem;
}

.home-market-banner {
  margin-top: 22px;
  min-height: 128px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(245, 236, 217, 0.95), rgba(255, 248, 232, 0.96));
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.home-market-banner-art {
  background:
    radial-gradient(circle at 24% 54%, rgba(0, 0, 0, 0.12), transparent 16%),
    radial-gradient(circle at 70% 40%, rgba(0, 0, 0, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(207, 180, 122, 0.22), rgba(112, 74, 35, 0.08));
  position: relative;
}

.home-market-banner-art::before,
.home-market-banner-art::after {
  content: "";
  position: absolute;
  bottom: 18px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #3e3427, #17120c);
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.18);
}

.home-market-banner-art::before {
  left: 34px;
  width: 58px;
  height: 70px;
  opacity: 0.46;
}

.home-market-banner-art::after {
  left: 110px;
  width: 88px;
  height: 102px;
}

.home-market-banner-copy {
  padding: 18px 22px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: #5a2c08;
}

.home-market-banner-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.5rem);
  line-height: 1;
}

.home-market-banner-copy p {
  text-align: left;
  color: #6f4b1a;
  font-size: 0.92rem;
}

.ranking-head {
  margin-bottom: 12px;
}

.race-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.race-card {
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}

.race-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

.race-slayer::before {
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.55), transparent 50%);
}

.race-vampire::before {
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.55), transparent 50%);
}

.race-ousters::before {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.55), transparent 50%);
}

.race-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.race-accent {
  width: 40px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0.8;
}

.race-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.race-row:first-of-type {
  border-top: none;
}

.race-row strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.race-row span {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.92rem;
}

.race-tag {
  font-size: 0.82rem;
}

.ranking-board-card {
  background:
    linear-gradient(180deg, rgba(11, 19, 33, 0.96), rgba(10, 16, 27, 0.96)),
    radial-gradient(circle at 20% 100%, rgba(51, 146, 76, 0.18), transparent 24%);
}

.ranking-tabs-toolbar {
  margin: 10px 0 28px;
}

.ranking-tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.ranking-tabs-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 29, 47, 0.9), rgba(9, 17, 31, 0.9));
  color: #dce8ff;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ranking-tabs-nav a:hover {
  border-color: rgba(120, 174, 255, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.ranking-tabs-nav a.is-active {
  border-color: rgba(255, 77, 141, 0.55);
  background: linear-gradient(130deg, rgba(255, 77, 141, 0.28), rgba(124, 92, 255, 0.28));
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.22);
}

.ranking-tab-panel {
  margin-top: 2px;
}

.ranking-board-head,
.ranking-board-row {
  display: grid;
  gap: 12px;
  align-items: center;
}

.ranking-board-head-race,
.ranking-board-row-race {
  grid-template-columns: 70px minmax(220px, 1.45fr) 86px 70px 90px 90px;
}

.ranking-board-head-battle-race,
.ranking-board-row-battle-race {
  grid-template-columns: 70px minmax(220px, 1.3fr) 76px 76px 70px 90px 90px;
}

.ranking-board-head-general,
.ranking-board-row-general {
  grid-template-columns: 70px minmax(210px, 1.35fr) 86px 96px 70px 90px 90px;
}

.ranking-board-head-battle-general,
.ranking-board-row-battle-general {
  grid-template-columns: 70px minmax(210px, 1.2fr) 76px 76px 96px 70px 90px 90px;
}

.ranking-board-head-ousters,
.ranking-board-row-ousters {
  grid-template-columns: 70px minmax(230px, 1.55fr) 86px 90px 90px;
}

.ranking-board-head-battle-ousters,
.ranking-board-row-battle-ousters {
  grid-template-columns: 70px minmax(230px, 1.4fr) 76px 76px 90px 90px;
}

.ranking-board-head {
  padding: 0 16px 12px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ranking-board-head span {
  justify-self: center;
}

.ranking-board-head span:nth-child(2) {
  justify-self: start;
}

.ranking-sort-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  min-height: 34px;
}

.ranking-sort-link span {
  min-height: 10px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
}

.ranking-sort-link-active {
  color: #ffffff;
}

.ranking-sort-link-active span {
  color: #ff8ab8;
}

.ranking-board-head .ranking-sort-link:nth-child(2) {
  align-items: flex-start;
}

.ranking-board-list {
  display: grid;
  gap: 8px;
}

.ranking-board-row {
  position: relative;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 27, 0.92);
  overflow: hidden;
}

.ranking-board-row::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

.ranking-race-slayer::before {
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.35), transparent 28%);
}

.ranking-race-vampire::before {
  background: linear-gradient(90deg, rgba(255, 77, 141, 0.35), transparent 28%);
}

.ranking-race-ousters::before {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.35), transparent 28%);
}

.ranking-rank-cell,
.ranking-name-cell,
.ranking-level-cell,
.ranking-pk-cell,
.ranking-race-cell,
.ranking-sex-cell,
.ranking-grade-cell,
.ranking-job-cell {
  position: relative;
  z-index: 1;
}

.ranking-rank-cell,
.ranking-level-cell,
.ranking-pk-cell,
.ranking-race-cell,
.ranking-sex-cell,
.ranking-grade-cell,
.ranking-job-cell {
  justify-self: center;
}

.ranking-rank-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.ranking-rank-first {
  background: linear-gradient(135deg, rgba(255, 207, 92, 0.4), rgba(138, 94, 10, 0.5));
}

.ranking-rank-second {
  background: linear-gradient(135deg, rgba(198, 211, 226, 0.35), rgba(90, 108, 130, 0.5));
}

.ranking-rank-third {
  background: linear-gradient(135deg, rgba(209, 133, 89, 0.38), rgba(105, 58, 32, 0.5));
}

.ranking-name-cell {
  display: grid;
  gap: 2px;
}

.ranking-name-cell strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  line-height: 1.1;
}

.ranking-name-cell span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ranking-level-cell {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.ranking-pk-cell {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.ranking-rank-tier {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-rank-image {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
  cursor: help;
}

.ranking-position-image,
.ranking-sex-image,
.ranking-class-image {
  display: block;
  object-fit: contain;
  background: transparent;
}

.ranking-position-image {
  width: 42px;
  height: 42px;
}

.ranking-sex-image,
.ranking-class-image {
  width: 34px;
  height: 34px;
}

.ranking-race-cell,
.ranking-sex-cell,
.ranking-job-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-rank-tier {
  justify-content: center;
}

.ranking-inline-badge {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.66rem;
}

.ranking-inline-badge {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ranking-inline-badge-grade {
  color: #ffd36c;
}

.ranking-inline-badge-job {
  color: #d9e6ff;
}

.cta-panel {
  margin-top: 26px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.auth-wrap {
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 32px 20px 48px;
  min-height: auto;
}

.auth-card {
  width: min(560px, 100%);
  background: linear-gradient(180deg, rgba(14, 22, 35, 0.95), rgba(18, 28, 43, 0.92));
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid.maps-compact-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.form-grid.maps-compact-grid label {
  font-size: 0.68rem;
  gap: 4px;
}

.form-grid.maps-compact-grid label span {
  display: block;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-grid.maps-compact-grid input,
.form-grid.maps-compact-grid select {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.8rem;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #d8e3ff;
  font-size: 0.95rem;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(164, 186, 223, 0.22);
  padding: 0 16px;
  background: rgba(4, 10, 18, 0.78);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input::placeholder,
select::placeholder {
  color: #7990b8;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(0, 194, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.12), 0 14px 32px rgba(0, 0, 0, 0.18);
}

.auth-form-compact {
  gap: 16px;
}

.form-note {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-note strong {
  color: #ffffff;
}

.dashboard-hero-card {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  grid-template-areas:
    "promo promo"
    "main profile";
  gap: 14px;
  overflow: hidden;
  position: relative;
  padding: 15px;
}

.dashboard-promotion-cta-wrap {
  grid-area: promo;
}

.dashboard-hero-main {
  grid-area: main;
}

.dashboard-profile-spotlight {
  grid-area: profile;
}

/* CTA acima do Profile: destaque na primeira vista após login */
.dashboard-promotion-cta {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #0a1220;
  font-weight: 800;
  background: linear-gradient(120deg, #00d4aa 0%, #00a8e8 45%, #ffd35c 100%);
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 12px 32px rgba(0, 200, 180, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: dashboard-promo-cta-glow 4s ease-in-out infinite;
}

@keyframes dashboard-promo-cta-glow {
  0%,
  100% {
    background-position: 0% 50%;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.35) inset,
      0 12px 32px rgba(0, 200, 180, 0.32),
      0 4px 16px rgba(0, 0, 0, 0.25);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.45) inset,
      0 14px 40px rgba(0, 168, 232, 0.45),
      0 4px 20px rgba(0, 0, 0, 0.28);
  }
}

.dashboard-promotion-cta:hover {
  filter: brightness(1.04) saturate(1.05);
  transform: translateY(-2px);
  text-decoration: none;
  color: #050a12;
}

.dashboard-promotion-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.dashboard-promotion-cta__icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  flex-shrink: 0;
}

.dashboard-promotion-cta__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 200px;
}

.dashboard-promotion-cta__title {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dashboard-promotion-cta__sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(8, 18, 32, 0.88);
  text-shadow: none;
}

.dashboard-promotion-cta__mp {
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 16, 32, 0.88);
  color: #e8fbff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-promotion-cta {
    animation: none;
  }
}

.dashboard-promotion-host-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-promotion-host-links .muted {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-promotion-host-links__row {
  flex-wrap: wrap;
}

.dashboard-promotion-sites {
  margin-bottom: 14px;
}

.dashboard-promotion-sites__grid {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

@media (min-width: 800px) {
  .dashboard-promotion-sites__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.dashboard-promotion-sites__group {
  margin-top: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-promotion-sites__group:first-of-type {
  margin-top: 0;
}

.dashboard-promotion-sites__group-title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.dashboard-promotion-sites__blurb {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.dashboard-promotion-sites__cards {
  display: grid;
  gap: 8px;
}

.dashboard-promotion-sites__row {
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-promotion-site-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(146, 170, 208, 0.16);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dashboard-promotion-site-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(0, 194, 255, 0.4);
  background: rgba(0, 194, 255, 0.08);
  color: inherit;
}

.dashboard-promotion-site-card__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(0, 194, 255, 0.16);
  color: #9ee7ff;
}

.dashboard-promotion-sites__group--facebook .dashboard-promotion-site-card__icon {
  background: rgba(24, 119, 242, 0.22);
  color: #8ab4ff;
}

.dashboard-promotion-site-card__icon svg {
  width: 16px;
  height: 16px;
}

.dashboard-promotion-site-card__text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-promotion-site-card__text strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-promotion-site-card__text small {
  font-size: 0.72rem;
  color: rgba(210, 222, 240, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-promotion-site-card__go {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ee7ff;
}

/* Página /dashboard/promotion: mais compacta (menos altura, painéis internos) */
.dashboard-promotion-page {
  padding: 16px 18px;
  border-radius: 20px;
}

.dashboard-promotion-page > .section-head {
  margin-bottom: 10px;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-promotion-page__title {
  font-size: 1.22rem;
}

.dashboard-promotion-page__lead {
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 4px 0 0;
}

.dashboard-promotion-rewards {
  margin: 4px 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 211, 92, 0.28);
  background:
    linear-gradient(120deg, rgba(0, 212, 170, 0.12), rgba(0, 168, 232, 0.1) 55%, rgba(255, 211, 92, 0.08));
}

.dashboard-promotion-rewards__kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 251, 255, 0.72);
}

.dashboard-promotion-rewards__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.dashboard-promotion-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 16, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-promotion-stat__value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #ffd35c;
}

.dashboard-promotion-stat--dp .dashboard-promotion-stat__value {
  color: #7ee0ff;
}

.dashboard-promotion-stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(232, 251, 255, 0.78);
}

.dashboard-promotion-rewards__note,
.dashboard-promotion-rewards__quota {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(232, 251, 255, 0.72);
}

.dashboard-promotion-rewards__quota {
  margin-top: 4px;
  font-weight: 700;
  color: rgba(255, 211, 92, 0.9);
}

.dashboard-promotion-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

@media (min-width: 800px) {
  .dashboard-promotion-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dashboard-promotion-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-promotion-steps__n {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.dashboard-promotion-steps__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dashboard-promotion-steps__body strong {
  font-size: 0.86rem;
}

.dashboard-promotion-steps__body span {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(210, 222, 240, 0.75);
}

.dashboard-promotion-page__columns {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

@media (min-width: 900px) {
  .dashboard-promotion-page__columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.dashboard-promotion-page__columns .dashboard-promotion-panel {
  margin-top: 0;
}

.dashboard-promotion-panel {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-promotion-panel__h {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dashboard-promotion-panel__p {
  margin: 0 0 6px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.dashboard-promotion-panel__p:last-of-type {
  margin-bottom: 8px;
}

.dashboard-promotion-form-grid {
  gap: 10px;
  margin-top: 2px;
}

.dashboard-promotion-page .dashboard-promotion-host-links {
  margin-top: 10px;
  padding-top: 10px;
}

.dashboard-promotion-page .dashboard-promotion-host-links .muted {
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.dashboard-promotion-history .table-scroll {
  margin-top: 6px;
}

.dashboard-promotion-history__empty {
  margin: 6px 0 0;
  font-size: 0.82rem;
}

.dashboard-promotion-page .table.compact th,
.dashboard-promotion-page .table.compact td {
  padding: 5px 8px;
  font-size: 0.8rem;
}

.dashboard-promotion-page .button-row {
  margin-top: 2px;
}

.dashboard-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 194, 255, 0.12), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(255, 77, 141, 0.14), transparent 24%);
  pointer-events: none;
}

.dashboard-promotion-cta-wrap,
.dashboard-hero-main,
.dashboard-profile-spotlight {
  position: relative;
  z-index: 1;
}

.dashboard-hero-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.dashboard-avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.22), rgba(124, 92, 255, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.dashboard-hero-copy {
  display: grid;
  gap: 6px;
}

.dashboard-hero-copy h2,
.dashboard-character-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.dashboard-hero-copy h2 {
  font-size: 1.45rem;
}

.dashboard-welcome-block {
  display: grid;
  gap: 2px;
}

.dashboard-welcome-label {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.dashboard-welcome-block strong {
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
}

.dashboard-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-profile-spotlight {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-profile-spotlight h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
}

.dashboard-profile-note {
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-profile-form {
  gap: 8px;
}

.dashboard-profile-form input,
.dashboard-profile-form select {
  min-height: 38px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.dashboard-profile-form .button-row {
  margin-top: 2px;
}

.dashboard-profile-spotlight .button {
  width: 100%;
  min-height: 38px;
}

.dashboard-character-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-character-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.dashboard-character-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.dashboard-race-slayer::before {
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.7), transparent 55%);
}

.dashboard-race-vampire::before {
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.7), transparent 55%);
}

.dashboard-race-ousters::before {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.75), transparent 55%);
}

.dashboard-character-head,
.dashboard-character-stats {
  position: relative;
  z-index: 1;
}

.dashboard-character-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-race-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-character-stats {
  display: grid;
  gap: 6px;
}

.dashboard-character-stats span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-character-stats strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.portal-section {
  display: grid;
  gap: 18px;
}

.portal-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-mirror-row {
  flex-wrap: wrap;
  gap: 10px;
}

.market-card-grid-six {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1200px) {
  .market-card-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.market-tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.market-tabs-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dce8ff;
  font-size: 0.74rem;
  text-align: center;
  padding: 0 10px;
}

.market-tabs-nav a.is-active {
  border-color: rgba(255, 77, 141, 0.45);
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.2), rgba(124, 92, 255, 0.2));
  color: #fff;
}

.market-usd-credits-table .market-usd-credits-actions {
  text-align: right;
  white-space: nowrap;
}

/* Reset status / skills — class icons (assets/classes/{jobId}.png etc.) */
.reset-build-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin: 0.65rem 0 0.35rem;
}

.reset-build-switch__cell {
  margin: 0;
  text-align: center;
  min-width: 52px;
}

.reset-build-switch__icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.reset-build-switch__cap {
  margin-bottom: 0.24rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.1;
}

.reset-build-switch__cap--top {
  margin-top: 0;
}

.reset-build-switch__arrow {
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  padding-bottom: 1.35rem;
}

.reset-build-switch__job {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.reset-class-pick-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.reset-class-pick-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: auto;
  min-height: auto;
  padding: 0.2rem 0.3rem !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text);
}

.reset-class-pick-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.reset-class-pick-btn__icon {
  display: block;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.reset-class-pick-btn__caption {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 5.8rem;
  text-align: center;
}

/* Reset pick: current class → vertical bus → horizontal stems to targets */
.reset-class-branch {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin: 1rem 0;
}

.reset-class-branch__from {
  margin: 0;
  text-align: center;
  flex-shrink: 0;
}

.reset-class-branch__from-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.reset-class-branch__from-cap {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  max-width: 96px;
  margin-left: auto;
  margin-right: auto;
}

.reset-class-branch__tree {
  flex: 1 1 200px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-width: 0;
}

.reset-class-branch__rail {
  position: relative;
  width: 26px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 72px;
}

.reset-class-branch__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1px;
}

.reset-class-branch__rail::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.14);
}

.reset-class-branch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  min-width: 0;
}

.reset-class-branch__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.reset-class-branch__item::before {
  content: "";
  width: 16px;
  height: 2px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  margin-left: -1px;
}

.reset-class-branch__item .reset-class-pick-btn {
  flex: 0 1 auto;
}

.market-tabs-toolbar.market-tabs-nav--sticky {
  position: sticky;
  top: var(--market-tabs-sticky-top);
  z-index: 15;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: -24px -24px 14px;
  padding: 16px 24px 14px;
  background: rgba(14, 22, 35, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
}

.market-tabs-toolbar .market-tabs-nav {
  flex: 1 1 280px;
  margin-bottom: 0;
}

.market-cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.market-cart-table {
  width: 100%;
}

.market-cart-page .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.market-cart-slug {
  display: block;
  font-size: 0.72rem;
}

.market-cart-unknown {
  color: var(--danger);
}

.market-cart-totals {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.market-cart-pricing-note {
  font-size: 0.8rem;
  margin-top: 8px;
}

.market-cart-remove-form {
  margin: 0;
}

.button-small {
  font-size: 0.72rem;
  padding: 6px 10px;
  min-height: 32px;
}

.market-checkout-line {
  margin: 18px 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.market-checkout-line legend {
  padding: 0 8px;
  font-weight: 600;
}

.market-checkout-line-hint {
  font-size: 0.78rem;
  margin: 0 0 10px;
}

/* Checkout: compact layout; avoid full-width giant buttons from .market-game-deliver-actions */
.market-checkout-page .section-title {
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.market-checkout-page > p.muted {
  font-size: 0.8rem;
  margin: 0 0 14px;
  line-height: 1.45;
}

.market-checkout-page .market-checkout-form {
  max-width: 420px;
}

.market-checkout-page .market-checkout-line {
  margin: 10px 0;
  padding: 10px 12px 12px;
  border-radius: 12px;
}

.market-checkout-page .market-checkout-line legend {
  font-size: 0.88rem;
}

.market-checkout-page .market-checkout-line-hint {
  font-size: 0.72rem;
  margin: 0 0 8px;
  line-height: 1.4;
}

.market-checkout-page .market-game-deliver-field {
  gap: 4px;
  margin-bottom: 6px;
}

.market-checkout-page .market-game-deliver-field span {
  font-size: 0.64rem;
}

.market-checkout-page .market-game-deliver-field select {
  min-height: 36px;
  font-size: 0.82rem;
  padding: 0 10px;
  border-radius: 9px;
}

.market-checkout-page .market-game-deliver-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.market-checkout-page .market-game-deliver-actions .button,
.market-checkout-page .market-game-deliver-actions .button-secondary {
  width: auto;
  min-height: 38px;
  padding: 0 20px;
  font-size: 0.84rem;
}

.market-checkout-currency {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Payment method picker (USD vs BRL) — custom radios avoid global input { width:100% } */
.market-pay-methods {
  margin: 0 0 16px;
}

.market-pay-methods__heading {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9eb0d4;
}

.market-pay-methods__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-pay-method {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(164, 186, 223, 0.18);
  border-radius: 12px;
  background: rgba(4, 10, 18, 0.45);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.market-pay-method:hover {
  border-color: rgba(164, 186, 223, 0.32);
  background: rgba(8, 16, 28, 0.65);
}

.market-pay-method:has(.market-pay-method__input:checked) {
  border-color: rgba(255, 109, 73, 0.55);
  background: rgba(255, 109, 73, 0.08);
}

.market-pay-method__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.market-pay-method__radio {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid rgba(164, 186, 223, 0.45);
  border-radius: 50%;
  background: rgba(4, 10, 18, 0.9);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.market-pay-method:has(.market-pay-method__input:checked) .market-pay-method__radio {
  border-color: #ff6d49;
  box-shadow: inset 0 0 0 4px #ff6d49;
}

.market-pay-method__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.market-pay-method__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e8efff;
  line-height: 1.3;
}

.market-pay-method__price {
  font-size: 0.82rem;
  color: #9eb0d4;
}

.market-pay-method__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.market-pay-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a2744;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.market-pay-badge--br {
  background: rgba(255, 255, 255, 0.88);
  color: #16324a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.market-pay-methods__hint {
  font-size: 0.72rem;
  margin: 10px 0 0;
  line-height: 1.45;
}

.market-checkout-page .market-pay-methods {
  max-width: 420px;
}

.stripe-launch-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 194, 255, 0.08), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255, 109, 73, 0.08), transparent 30%),
    #07101a;
}

.stripe-launch-card {
  width: min(440px, 100%);
  padding: 28px 24px;
  border: 1px solid rgba(164, 186, 223, 0.22);
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.stripe-launch-card h1 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #e8efff;
}

.stripe-launch-card .muted {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.stripe-launch-fallback {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: #ffb4a8;
}

.stripe-launch-fallback a {
  color: #66d4ff;
  font-weight: 600;
}

.stripe-launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.stripe-launch-actions .button,
.stripe-launch-actions .button-secondary {
  width: auto;
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.site-test-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(180, 40, 40, 0.92), rgba(120, 20, 20, 0.88));
  border-bottom: 1px solid rgba(255, 120, 120, 0.35);
  color: #ffe8e8;
  font-size: 0.82rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-test-banner strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.market-lab-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 109, 73, 0.45);
  border-radius: 12px;
  background: rgba(255, 109, 73, 0.12);
  color: #ffd8bc;
  font-size: 0.82rem;
}

.market-lab-banner strong {
  color: #fff;
  letter-spacing: 0.04em;
}

.market-lab-banner a {
  color: #66d4ff;
  font-weight: 600;
}

.market-trigger-offer:not(.market-trigger-offer--modal-open) .market-trigger-offer__panel {
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.25), 0 8px 24px rgba(0, 194, 255, 0.12);
  margin-bottom: 16px;
}

.market-trigger-offer:not(.market-trigger-offer--modal-open) .market-trigger-offer__text {
  font-size: 1.05rem;
  font-weight: 600;
}

.market-trigger-offer {
  margin: 0 0 14px;
}

.market-trigger-offer__backdrop {
  display: none;
}

.market-trigger-offer__panel {
  padding: 14px 16px;
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: 12px;
  background: rgba(0, 194, 255, 0.08);
  position: relative;
}

.market-trigger-offer--modal-open {
  position: fixed;
  inset: 0;
  z-index: 500;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.market-trigger-offer--modal-open .market-trigger-offer__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}

.market-trigger-offer--modal-open .market-trigger-offer__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 20px 18px 18px;
  border: 1px solid rgba(0, 194, 255, 0.45);
  background: linear-gradient(180deg, rgba(12, 28, 48, 0.98), rgba(8, 18, 32, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.market-trigger-offer__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b8cce8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.market-trigger-offer__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.market-trigger-offer__discount {
  margin: 8px 0 0;
  color: #9dffb8;
  font-size: 0.84rem;
}

.market-trigger-offer__timer {
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.market-trigger-offer__actions {
  margin-top: 14px;
}

.market-trigger-offer__code-value {
  letter-spacing: 0.06em;
}

.market-trigger-offer__inner {
  padding: 14px 16px;
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: 12px;
  background: rgba(0, 194, 255, 0.08);
}

.market-trigger-offer__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #66d4ff;
}

.market-trigger-offer__text {
  margin: 0;
  color: #e8efff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.market-trigger-offer__code {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #9eb0d4;
}

.portal-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.portal-card h2 {
  margin: 0;
}

.portal-card p {
  margin: 0;
}

.market-card-head {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.market-card-media {
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.market-card-media img {
  width: 100%;
  max-height: 148px;
  object-fit: contain;
}

.market-card {
  gap: 10px;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.market-card--tab-hidden {
  display: none !important;
}

.market-card-badge {
  white-space: nowrap;
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.market-price {
  white-space: nowrap;
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
  color: #f3d27c;
  text-shadow: 0 0 10px rgba(243, 210, 124, 0.18);
}

.market-card-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
  color: #ffffff;
  word-break: break-word;
  text-align: center;
}

.market-card-description {
  margin: 0;
  line-height: 1.4;
  font-size: 0.9rem;
  color: #c8d4eb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-card .button-row {
  margin-top: 10px;
}

.market-live-banner {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-size: cover;
  background-position: center;
}

.market-live-banner h2,
.market-live-banner p {
  margin: 0;
}

.market-live-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
}

.admin-panel {
  display: grid;
  gap: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(8, 14, 24, 0.86);
}

.admin-sidebar h2 {
  margin: 0;
  font-size: 0.9rem;
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-sidebar .muted {
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.admin-side-button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 0.74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-side-button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.admin-side-button.is-active {
  border-color: rgba(0, 194, 255, 0.48);
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.2), rgba(0, 194, 255, 0.06));
  color: #b7ecff;
}

.admin-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}


#admin-toggle-panel {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
}

#admin-toggle-panel .hamburger-lines {
  display: grid;
  gap: 4px;
}

#admin-toggle-panel .hamburger-lines span {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #dbe8ff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#admin-toggle-panel.is-collapsed .hamburger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#admin-toggle-panel.is-collapsed .hamburger-lines span:nth-child(2) {
  opacity: 0;
}

#admin-toggle-panel.is-collapsed .hamburger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.admin-panel.is-collapsed .admin-shell {
  grid-template-columns: 58px minmax(0, 1fr);
}

.admin-panel.is-collapsed .admin-sidebar {
  padding: 8px 6px;
}

.admin-panel.is-collapsed .admin-sidebar h2,
.admin-panel.is-collapsed .admin-sidebar .muted {
  display: none;
}

.admin-panel.is-collapsed .admin-sidebar-head {
  justify-content: center;
}

.admin-panel.is-collapsed .admin-side-nav {
  margin-top: 0;
  gap: 8px;
}

.admin-panel.is-collapsed .admin-side-button {
  justify-content: center;
  min-height: 34px;
  padding: 0;
  border-radius: 10px;
}

.admin-panel.is-collapsed .admin-side-button .admin-side-label {
  display: none;
}

.admin-panel.is-collapsed .admin-side-button::before {
  content: attr(data-icon);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #d9e6ff;
}

.admin-card {
  padding: 12px;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(11, 19, 33, 0.94), rgba(9, 16, 28, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(0, 194, 255, 0.08), transparent 32%);
}

.admin-overview-card {
  background:
    linear-gradient(180deg, rgba(11, 19, 33, 0.96), rgba(10, 16, 27, 0.96)),
    radial-gradient(circle at 85% 10%, rgba(0, 194, 255, 0.2), transparent 35%);
}

.admin-card h2 {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-card .muted {
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-card h3 {
  margin: 12px 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d9e8ff;
}

.admin-create-form,
.admin-row-form {
  display: grid;
  gap: 6px;
}

.admin-create-actions {
  margin-top: 10px;
  margin-bottom: 12px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-section-panel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-entry-card {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(5, 12, 22, 0.52);
}

.admin-premium-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-premium-search,
.admin-premium-filter {
  width: 100%;
  min-height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 10px;
  background: rgba(2, 8, 17, 0.75);
  color: #e9f1ff;
  font-size: 0.74rem;
}

.admin-premium-item-card {
  padding: 8px;
}

.admin-premium-item-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(16, 30, 49, 0.85), rgba(11, 22, 38, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  margin-bottom: 8px;
}

.admin-premium-item-summary::-webkit-details-marker {
  display: none;
}

.admin-premium-item-title {
  display: grid;
  gap: 2px;
}

.admin-premium-item-title strong {
  font-size: 0.76rem;
  color: #f2f7ff;
}

.admin-premium-item-title span {
  color: var(--muted);
  font-size: 0.66rem;
}

.admin-premium-item-meta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-premium-item-meta span {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.64rem;
  color: #dce9ff;
}

.admin-market-items-list .admin-entry-card {
  display: grid;
  gap: 8px;
}

/* Market items: improve readability and contrast */
#admin-market-items .admin-market-row-compact {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

#admin-market-items .admin-market-row-compact label {
  display: grid;
  gap: 4px;
  font-size: 0.68rem;
  color: #dce8ff;
}

#admin-market-items .admin-market-row-compact label > span {
  color: #a9bfdf;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#admin-market-items .admin-market-form-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#admin-market-items .admin-market-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

#admin-market-items .admin-market-form-row--1 {
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
  align-items: start;
}

#admin-market-items .admin-market-form-row--1-pack {
  grid-template-columns: 1fr;
}

#admin-market-items .admin-market-type-extra--game {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#admin-market-items .admin-market-form-row-3-tail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100%;
}

#admin-market-items .admin-market-form-description textarea {
  min-height: 56px;
}

#admin-market-items #special-type-container,
#admin-market-items #game-item-container,
#admin-market-items #pack-item-container,
#admin-market-items [data-edit-pack-fields] {
  grid-column: auto;
}

#admin-market-items .admin-pack-line-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

#admin-market-items .admin-pack-lines-title {
  margin: 0 0 8px;
}

#admin-market-items .admin-market-row-compact textarea {
  grid-column: 1 / -2;
  min-height: 40px;
}

#admin-market-items .admin-market-row-compact > button {
  grid-column: -2 / -1;
  min-width: 110px;
}

#admin-market-items .admin-row-form .admin-market-row-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#admin-market-items .admin-row-form .admin-market-row-compact label {
  display: grid;
  gap: 4px;
  font-size: 0.68rem;
  color: #dce8ff;
}

#admin-market-items .admin-row-form .admin-market-row-compact label > span {
  color: #a9bfdf;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#admin-market-items .admin-market-row-compact input[type="number"] {
  max-width: 120px;
}

#admin-market-items .admin-market-row-compact input[name="price"] {
  max-width: 100px;
}

#admin-market-items .market-image-id-input {
  max-width: 120px;
}

#admin-market-items .market-image-preview-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: span 2;
  min-height: 36px;
}

#admin-market-items .market-image-preview {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  background: rgba(9, 15, 30, 0.8);
}

#admin-market-items .market-image-preview-label {
  font-size: 0.62rem;
  color: #9eb6da;
  word-break: break-all;
}

#admin-market-items .admin-row-form textarea {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

#admin-market-items .button-secondary,
#admin-market-items .button,
#admin-market-items .pill {
  border-width: 1px;
  border-style: solid;
}

#admin-market-items .button-secondary {
  border-color: rgba(130, 214, 255, 0.45);
  background: linear-gradient(180deg, rgba(19, 55, 86, 0.9), rgba(12, 35, 57, 0.95));
  color: #eaf6ff;
}

#admin-market-items .button-secondary:hover {
  border-color: rgba(167, 228, 255, 0.72);
  background: linear-gradient(180deg, rgba(26, 70, 106, 0.95), rgba(16, 46, 74, 0.95));
}

#admin-market-items .button {
  border-color: rgba(255, 117, 218, 0.55);
  box-shadow: 0 10px 24px rgba(197, 54, 160, 0.28);
}

#admin-market-items .pill {
  border-color: rgba(255, 122, 136, 0.55);
  background: linear-gradient(180deg, rgba(110, 30, 43, 0.95), rgba(83, 20, 30, 0.95));
  color: #ffe9ed;
}

#admin-market-items .pill:hover {
  border-color: rgba(255, 153, 166, 0.85);
  background: linear-gradient(180deg, rgba(132, 37, 52, 0.98), rgba(96, 24, 35, 0.98));
}

.admin-categories-grid {
  grid-template-columns: 1fr auto;
}

.admin-subcategory-wrap {
  margin-left: 10px;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.admin-subcategory-create-form {
  margin-bottom: 10px;
}

.admin-category-card > .button-row {
  margin-top: 8px;
}

.admin-create-actions {
  margin-top: 12px;
  margin-bottom: 14px;
}

.admin-trace-actions {
  align-items: center;
  justify-content: space-between;
}

.admin-trace-actions-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-trace-actions-right {
  margin-left: auto;
}

.button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 91, 123, 0.45);
  background: linear-gradient(135deg, rgba(255, 91, 123, 0.18), rgba(255, 55, 95, 0.28));
  color: #ffd5de;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button-danger:hover {
  border-color: rgba(255, 118, 145, 0.8);
  background: linear-gradient(135deg, rgba(255, 99, 130, 0.26), rgba(255, 64, 103, 0.36));
}

.button-danger:active {
  transform: translateY(1px);
}

.delete-character-confirm-warning {
  color: var(--danger);
  font-weight: 700;
}

.admin-trade-content {
  min-width: 360px;
  max-width: 520px;
  white-space: pre-wrap;
  line-height: 1.35;
  font-size: 0.73rem;
  color: #dbe4f8;
}

.admin-zoneinfo-value {
  min-width: 320px;
  max-width: 760px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.35;
  font-size: 0.74rem;
}

.maps-monster-add-row {
  margin-bottom: 6px;
}

.maps-add-monster-btn {
  font-size: 0.82rem;
  min-height: 36px;
  padding: 0 18px;
}

/* Monster Insert Modal */
.monster-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.monster-modal {
  width: 540px;
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--card, #18192a);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(124, 92, 255, 0.1);
}

.monster-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.monster-modal-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.monster-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.monster-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.monster-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.monster-modal-search {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.monster-modal-search:focus {
  border-color: var(--accent);
}

.monster-modal-list {
  height: 190px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.mm-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mm-item:last-child {
  border-bottom: none;
}

.mm-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mm-item-selected {
  background: rgba(124, 92, 255, 0.16) !important;
  border-left: 3px solid var(--accent);
}

.mm-item-id {
  color: var(--muted);
  min-width: 48px;
  font-weight: 600;
  font-size: 0.76rem;
  font-family: monospace;
}

.mm-item-name {
  color: var(--text);
  font-size: 0.82rem;
  flex: 1;
}

.mm-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

.monster-modal-selected-label {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
  min-height: 18px;
}

.monster-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.monster-modal-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Linha única com todos os campos de config */
.mm-row-inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-end;
}

.mm-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mm-field-qty   { flex: 0 0 72px; }
.mm-field-type  { flex: 1 1 130px; }
.mm-field-sec   { flex: 0 0 90px; }

.mm-field > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mm-field input[type="number"],
.mm-field select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.mm-field input[type="number"]:focus,
.mm-field select:focus {
  border-color: var(--accent);
}

/* Checkbox compacto */
.mm-checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 5px 2px;
}

.mm-checkbox-inline input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.mm-checkbox-inline > span {
  font-size: 0.8rem;
  color: var(--text);
}

.monster-modal-preview {
  padding: 11px 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 10px;
  font-family: monospace;
  font-size: 0.92rem;
  color: #9dd8ff;
  letter-spacing: 0.03em;
  text-align: center;
}

.monster-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.admin-bible-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-bible-entry {
  display: grid;
  gap: 6px;
}

.goods-logic-note {
  margin-top: 8px;
}

.admin-goods-table-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.admin-goods-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.admin-goods-table th,
.admin-goods-table td {
  padding: 5px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  text-align: left;
}

.admin-goods-table th {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.admin-goods-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-goods-table input,
.admin-goods-table select {
  width: 100%;
  min-height: 24px;
  padding: 2px 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.66rem;
  box-sizing: border-box;
}

.admin-goods-table input[readonly],
.admin-goods-table input:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.admin-goods-create-wrap {
  margin-bottom: 8px;
}

.admin-goods-create-table .button-secondary,
.admin-goods-table .button-secondary {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.64rem;
}

/* Ultra compacto somente na aba GoodsListObject */
.goods-ultra .admin-subtitle {
  font-size: 0.72rem;
  margin: 4px 0;
}

.goods-ultra .goods-logic-note {
  font-size: 0.64rem;
  margin-top: 4px;
}

.goods-ultra .goods-name-hint {
  font-size: 0.6rem;
  margin: 2px 0 6px;
  opacity: 0.9;
}

.goods-ultra .admin-create-form .form-grid.three,
.goods-ultra .admin-create-form .form-grid.four {
  gap: 6px;
}

.goods-ultra .box-reward-table-hint {
  display: block;
  padding-top: 6px;
  font-size: 0.62rem;
  line-height: 1.35;
}

.goods-ultra .admin-goods-create-table th:nth-child(2),
.goods-ultra .admin-goods-create-table td:nth-child(2) {
  width: 44px;
  max-width: 44px;
  padding-inline: 2px;
}

/* Lootbox — colunas compactas; ItemType fica com o espaço útil */
.goods-ultra .admin-box-rewards-table .br-col-orders {
  width: 36px;
  max-width: 36px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-race {
  width: 38px;
  max-width: 38px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-itemclass {
  width: 44px;
  max-width: 44px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-itemtype {
  width: 28%;
  min-width: 10rem;
  text-align: left;
}

.goods-ultra .admin-box-rewards-table .br-col-option {
  width: 72px;
  max-width: 80px;
}

.goods-ultra .admin-box-rewards-table .br-col-minmax,
.goods-ultra .admin-box-rewards-table .br-col-grade {
  width: 62px;
  max-width: 62px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-limit {
  width: 40px;
  max-width: 40px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-ratio {
  width: 48px;
  max-width: 48px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-chance {
  width: 54px;
  max-width: 54px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-sysmsg {
  width: 40px;
  max-width: 40px;
  padding-inline: 2px;
}

.goods-ultra .admin-box-rewards-table .br-col-actions {
  width: 102px;
  min-width: 102px;
}

.goods-ultra .admin-box-rewards-table .br-input-orders,
.goods-ultra .admin-box-rewards-table .br-input-limit,
.goods-ultra .admin-box-rewards-table .br-input-sysmsg {
  width: 100%;
  max-width: 34px;
  padding-inline: 1px;
}

.goods-ultra .admin-box-rewards-table .br-input-itemclass {
  width: 100%;
  max-width: 38px;
  padding-inline: 1px;
}

.goods-ultra .admin-box-rewards-table .br-input-ratio {
  width: 100%;
  max-width: 44px;
  padding-inline: 1px;
}

.goods-ultra .admin-box-rewards-table .br-input-minmax,
.goods-ultra .admin-box-rewards-table .br-input-grade {
  width: 26px;
  max-width: 26px;
  padding-inline: 1px;
}

.goods-ultra .admin-box-rewards-table select.box-reward-itemtype-select {
  width: 100%;
  min-width: 0;
  max-width: none;
  text-align: left;
  padding: 1px 16px 1px 4px;
  font-size: 0.58rem;
}

.goods-ultra .box-reward-race-select {
  width: 100%;
  min-width: 0;
  padding: 2px 12px 2px 4px;
  text-align: center;
  font-size: 0.62rem;
}

.goods-ultra .admin-goods-create-table th:nth-child(5),
.goods-ultra .admin-goods-create-table td:nth-child(5) {
  width: 130px;
  min-width: 110px;
}

.goods-ultra .box-reward-option-input {
  width: 100%;
  min-width: 0;
}

.goods-ultra .box-reward-create-bar {
  margin: 4px 0 10px;
}

.box-reward-create-modal-card {
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  color-scheme: dark;
}

.box-reward-create-modal-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.box-reward-create-modal-form {
  display: grid;
  gap: 12px;
}

.box-reward-create-grid {
  gap: 10px;
}

.box-reward-create-grid label {
  display: grid;
  gap: 4px;
}

.box-reward-create-grid label > span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.box-reward-create-grid input,
.box-reward-create-grid select {
  width: 100%;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(164, 186, 223, 0.28);
  background: rgba(4, 10, 18, 0.92);
  color: #eef4ff;
  font-size: 0.78rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.box-reward-create-grid input:focus,
.box-reward-create-grid select:focus {
  outline: none;
  border-color: rgba(0, 194, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.12);
}

.box-reward-create-grid select option,
.box-reward-create-modal-form select option {
  background: #182236;
  color: #eef4ff;
}

.box-reward-create-grid select option:checked,
.box-reward-create-modal-form select option:checked {
  background: #254066;
  color: #ffffff;
}

.box-reward-create-grid .box-reward-table-hint {
  padding-top: 2px;
  font-size: 0.58rem;
  line-height: 1.35;
  color: #9eb4d8;
}

.box-reward-create-span2 {
  grid-column: 1 / -1;
}

.box-reward-create-modal-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.box-reward-create-modal-actions .button,
.box-reward-create-modal-actions .button-secondary {
  min-height: 32px;
  padding: 0 14px;
  font-size: 0.74rem;
}

.box-reward-pool-summary {
  margin: 0 0 10px;
}

.box-reward-pool-pill {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.box-reward-chance-pct {
  display: inline-block;
  max-width: 100%;
  padding: 2px 3px;
  border-radius: 6px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  background: rgba(0, 194, 255, 0.08);
  color: #b7ecff;
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-reward-create-chance-preview {
  display: block;
  min-height: 30px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  background: rgba(0, 194, 255, 0.08);
  color: #b7ecff;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.goods-ultra .admin-create-form label > span {
  font-size: 0.6rem;
}

.goods-ultra .admin-create-form input,
.goods-ultra .admin-create-form select {
  min-height: 24px;
  padding: 2px 5px;
  font-size: 0.64rem;
}

.goods-ultra .admin-create-actions .button,
.goods-ultra .admin-create-actions .button-secondary {
  min-height: 26px;
  padding: 0 9px;
  font-size: 0.64rem;
}

.goods-ultra .admin-goods-table {
  min-width: 940px;
  font-size: 0.62rem;
  table-layout: fixed;
}

.goods-ultra .admin-box-rewards-table {
  min-width: 820px;
}

.goods-ultra .admin-goods-table th,
.goods-ultra .admin-goods-table td {
  padding: 3px 4px;
  text-align: center;
  vertical-align: middle;
}

.goods-ultra .admin-goods-table th {
  font-size: 0.56rem;
  letter-spacing: 0.03em;
}

.goods-ultra .admin-goods-table input,
.goods-ultra .admin-goods-table select {
  min-height: 20px;
  padding: 1px 4px;
  border-radius: 5px;
  font-size: 0.6rem;
  text-align: center;
}

.goods-ultra .admin-goods-table select option,
.goods-ultra .admin-create-form select option {
  background: #182236;
  color: #eef4ff;
}

/* Larguras fixas - linha de criacao (14 colunas) */
.goods-ultra .admin-goods-create-table th:nth-child(1),
.goods-ultra .admin-goods-create-table td:nth-child(1) { width: 120px; }
.goods-ultra .admin-goods-create-table th:nth-child(2),
.goods-ultra .admin-goods-create-table td:nth-child(2) { width: 84px; }
.goods-ultra .admin-goods-create-table th:nth-child(3),
.goods-ultra .admin-goods-create-table td:nth-child(3) { width: 56px; }
.goods-ultra .admin-goods-create-table th:nth-child(4),
.goods-ultra .admin-goods-create-table td:nth-child(4) { width: 76px; }
.goods-ultra .admin-goods-create-table th:nth-child(5),
.goods-ultra .admin-goods-create-table td:nth-child(5) { width: 80px; }
.goods-ultra .admin-goods-create-table th:nth-child(6),
.goods-ultra .admin-goods-create-table td:nth-child(6) { width: 120px; }
.goods-ultra .admin-goods-create-table th:nth-child(7),
.goods-ultra .admin-goods-create-table td:nth-child(7) { width: 56px; }
.goods-ultra .admin-goods-create-table th:nth-child(8),
.goods-ultra .admin-goods-create-table td:nth-child(8) { width: 56px; }
.goods-ultra .admin-goods-create-table th:nth-child(9),
.goods-ultra .admin-goods-create-table td:nth-child(9) { width: 110px; }
.goods-ultra .admin-goods-create-table th:nth-child(10),
.goods-ultra .admin-goods-create-table td:nth-child(10) { width: 56px; }
.goods-ultra .admin-goods-create-table th:nth-child(11),
.goods-ultra .admin-goods-create-table td:nth-child(11) { width: 82px; }
.goods-ultra .admin-goods-create-table th:nth-child(12),
.goods-ultra .admin-goods-create-table td:nth-child(12) { width: 82px; }
.goods-ultra .admin-goods-create-table th:nth-child(13),
.goods-ultra .admin-goods-create-table td:nth-child(13) { width: 90px; }
.goods-ultra .admin-goods-create-table th:nth-child(14),
.goods-ultra .admin-goods-create-table td:nth-child(14) { width: 62px; }

/* Larguras fixas - tabela principal (15 colunas) */
.goods-ultra .admin-goods-main-table th:nth-child(1),
.goods-ultra .admin-goods-main-table td:nth-child(1) { width: 62px; }
.goods-ultra .admin-goods-main-table th:nth-child(2),
.goods-ultra .admin-goods-main-table td:nth-child(2) { width: 120px; }
.goods-ultra .admin-goods-main-table th:nth-child(3),
.goods-ultra .admin-goods-main-table td:nth-child(3) { width: 84px; }
.goods-ultra .admin-goods-main-table th:nth-child(4),
.goods-ultra .admin-goods-main-table td:nth-child(4) { width: 56px; }
.goods-ultra .admin-goods-main-table th:nth-child(5),
.goods-ultra .admin-goods-main-table td:nth-child(5) { width: 76px; }
.goods-ultra .admin-goods-main-table th:nth-child(6),
.goods-ultra .admin-goods-main-table td:nth-child(6) { width: 80px; }
.goods-ultra .admin-goods-main-table th:nth-child(7),
.goods-ultra .admin-goods-main-table td:nth-child(7) { width: 120px; }
.goods-ultra .admin-goods-main-table th:nth-child(8),
.goods-ultra .admin-goods-main-table td:nth-child(8) { width: 56px; }
.goods-ultra .admin-goods-main-table th:nth-child(9),
.goods-ultra .admin-goods-main-table td:nth-child(9) { width: 56px; }
.goods-ultra .admin-goods-main-table th:nth-child(10),
.goods-ultra .admin-goods-main-table td:nth-child(10) { width: 110px; }
.goods-ultra .admin-goods-main-table th:nth-child(11),
.goods-ultra .admin-goods-main-table td:nth-child(11) { width: 56px; }
.goods-ultra .admin-goods-main-table th:nth-child(12),
.goods-ultra .admin-goods-main-table td:nth-child(12) { width: 82px; }
.goods-ultra .admin-goods-main-table th:nth-child(13),
.goods-ultra .admin-goods-main-table td:nth-child(13) { width: 82px; }
.goods-ultra .admin-goods-main-table th:nth-child(14),
.goods-ultra .admin-goods-main-table td:nth-child(14) { width: 90px; }
.goods-ultra .admin-goods-main-table th:nth-child(15),
.goods-ultra .admin-goods-main-table td:nth-child(15) { width: 62px; }

.goods-ultra .admin-goods-table input[name="Hour"],
.goods-ultra .admin-goods-table input[name="ItemType"],
.goods-ultra .admin-goods-table input[name="Grade"],
.goods-ultra .admin-goods-table input[name="Num"] {
  width: 56px;
  min-width: 56px;
  text-align: center;
}

.goods-ultra .admin-goods-table td:first-child input[readonly],
.goods-ultra .admin-goods-table td:first-child input:disabled {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.goods-ultra .admin-goods-table input[name="MP"],
.goods-ultra .admin-goods-table input[name="DP"] {
  width: 100%;
  min-width: 0;
  text-align: right;
}

/* Remove setas dos campos number (Goods ultra) */
.goods-ultra input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.goods-ultra input[type="number"]::-webkit-outer-spin-button,
.goods-ultra input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.goods-ultra .admin-goods-create-table .button-secondary,
.goods-ultra .admin-goods-table .button-secondary {
  min-height: 20px;
  padding: 0 6px;
  font-size: 0.58rem;
}

.admin-bible-name {
  font-size: 0.9rem;
  color: var(--fg);
}

.admin-bible-entry textarea {
  width: 100%;
  resize: vertical;
  font-size: 0.82rem;
}

.admin-row-form {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-panel label {
  font-size: 0.74rem;
  gap: 4px;
}

.admin-promo-setting-field {
  display: grid;
  gap: 6px;
}

.admin-promo-reward-inline {
  display: inline-grid;
  gap: 4px;
  align-items: center;
}

.admin-promo-approve-form .admin-promo-reward-inline > .muted {
  font-size: 0.74rem;
}

.admin-promo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0.75rem 0 0.5rem;
}

.admin-promo-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted, #9aa3b2);
}

.admin-promo-toolbar select {
  min-width: 220px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

.admin-promo-table .table.compact th,
.admin-promo-table .table.compact td {
  vertical-align: middle;
}

.admin-promo-table .table.compact td code {
  font-size: 0.82rem;
}

.admin-promo-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.admin-promo-actions label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted, #9aa3b2);
  white-space: nowrap;
}

.admin-promo-num {
  width: 4.25rem;
  min-height: 30px;
  padding: 2px 6px;
  font-size: 0.82rem;
  border-radius: 6px;
}

.admin-promo-actions .button,
.admin-promo-actions .button-secondary {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-promo-rewards-read {
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-promo-meta {
  font-size: 0.82rem;
}

.admin-promo-pagination {
  margin-top: 0.5rem;
}

.admin-promo-pagination .button-small.is-active {
  pointer-events: none;
}

.admin-inline-stepper {
  width: fit-content;
}

.admin-inline-stepper .qty-stepper__btn {
  min-width: 30px;
  padding: 0 6px;
  font-size: 1rem;
}

.admin-inline-stepper .qty-stepper__input {
  width: 4.5rem;
  min-width: 4rem;
  max-width: 6rem;
  min-height: 34px;
  font-size: 0.9rem;
}

/* AttrInfo table */
.admin-attrinfo-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-attrinfo-toolbar input {
  flex: 1;
  max-width: 380px;
}

.admin-attrinfo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-attrinfo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.admin-attrinfo-table thead th {
  background: rgba(255,255,255,0.04);
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.admin-attrinfo-table tbody tr:not([hidden]):nth-child(odd) {
  background: rgba(255,255,255,0.015);
}

.admin-attrinfo-table tbody td {
  padding: 5px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.attrinfo-row-form {
  display: contents;
}

.attrinfo-id {
  color: var(--muted);
  font-size: 0.75rem;
  width: 38px;
}

.attrinfo-const {
  font-size: 0.75rem;
  color: #88aaee;
  max-width: 200px;
  word-break: break-word;
}

.attrinfo-comm {
  max-width: 180px;
  word-break: break-word;
}

.attrinfo-num-input {
  width: 80px;
  padding: 4px 6px;
  font-size: 0.8rem;
}

.button-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
  white-space: nowrap;
}


.admin-panel input,
.admin-panel select {
  min-height: 30px;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 0.76rem;
}

.admin-panel textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(164, 186, 223, 0.22);
  padding: 6px 8px;
  background: rgba(4, 10, 18, 0.78);
  color: var(--text);
  font: inherit;
  font-size: 0.76rem;
}

.admin-panel .button,
.admin-panel .button-secondary {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 5px 10px;
  font-size: 0.74rem;
  border-radius: 9px;
}

.admin-panel .button-danger {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0 12px;
  border-radius: 9px;
}

.admin-panel .button-row {
  margin-top: 10px;
}

.admin-online-table .admin-online-account-row td {
  vertical-align: middle;
}

.admin-online-toggle {
  min-width: 64px;
}

.admin-online-characters-row td {
  background: rgba(0, 0, 0, 0.16);
}

.admin-online-characters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-online-character-pill {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.admin-online-character-pill strong {
  font-size: 0.74rem;
}

.admin-online-character-pill span {
  color: var(--muted);
  font-size: 0.68rem;
}

.admin-item-deliver-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.admin-item-deliver-char-pill {
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.admin-item-deliver-char-pill:hover {
  border-color: rgba(120, 180, 255, 0.45);
  background: rgba(120, 180, 255, 0.08);
}

.admin-item-deliver-char-pill.is-selected {
  border-color: rgba(120, 180, 255, 0.75);
  background: rgba(120, 180, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(120, 180, 255, 0.25);
}

.admin-item-deliver-online-pill {
  margin-left: 8px;
  vertical-align: middle;
}

.admin-combobox {
  position: relative;
  display: block;
  width: 100%;
}

.admin-combobox-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-combobox-field > label {
  font-weight: 600;
  color: #d8e3ff;
}

.admin-item-deliver-form .admin-combobox__control {
  position: relative;
  display: block;
  width: 100%;
}

.admin-item-deliver-form .admin-combobox__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 30px;
  padding-right: 34px;
  display: block;
}

.admin-item-deliver-form .admin-combobox__toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34px;
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.admin-item-deliver-form .admin-combobox__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.admin-item-deliver-form .admin-combobox__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121722;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.admin-item-deliver-form .admin-combobox__list[hidden] {
  display: none !important;
}

.admin-combobox__option,
.admin-combobox__empty {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.admin-combobox__option {
  cursor: pointer;
}

.admin-combobox__option:hover,
.admin-combobox__option.is-active {
  background: rgba(120, 180, 255, 0.12);
}

.admin-combobox__option.is-selected {
  background: rgba(120, 180, 255, 0.18);
}

.admin-combobox__empty {
  color: var(--muted);
}

.admin-combobox.is-open .admin-combobox__input {
  border-color: rgba(120, 180, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(120, 180, 255, 0.25);
}

.admin-panel .pill {
  padding: 4px 9px;
  font-size: 0.7rem;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.admin-placeholder-list {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--muted);
  display: grid;
  gap: 4px;
  font-size: 0.76rem;
}

.admin-row-grid {
  display: grid;
  gap: 8px;
}

.admin-row-grid-item {
  grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr 1.7fr 0.8fr auto;
}

.admin-row-grid-banner {
  grid-template-columns: 1.1fr 1.6fr 1fr 1fr 0.8fr auto;
}

.admin-row-grid-home-hero {
  grid-template-columns: 1fr 0.9fr 1.8fr 1fr 0.8fr auto;
}

.admin-row-grid-home-hero-links {
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr;
}

.admin-row-grid-notice {
  grid-template-columns: 0.9fr 1.4fr 1.2fr 1.4fr 0.8fr auto;
}

.admin-inline-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 10px;
}

.admin-row-actions > form {
  display: inline-flex;
  margin: 0;
}

.admin-row-actions .button-secondary,
.admin-row-actions .button,
.admin-row-actions .pill {
  margin: 0;
}

#admin-market-items .admin-row-actions {
  margin-top: 12px;
}

/* Gatilhos de marketing — grid compacto 4 colunas */
#admin-market-triggers .admin-triggers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
}

#admin-market-triggers .admin-triggers-form {
  display: grid;
  gap: 10px;
}

#admin-market-triggers .admin-triggers-grid label,
#admin-market-triggers .admin-triggers-banner {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

#admin-market-triggers .admin-triggers-grid label > span,
#admin-market-triggers .admin-triggers-banner > span {
  font-size: 0.68rem;
  line-height: 1.25;
  color: #a8bddf;
}

#admin-market-triggers .admin-triggers-grid input,
#admin-market-triggers .admin-triggers-grid select,
#admin-market-triggers .admin-triggers-banner input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.82rem;
}

#admin-market-triggers .admin-triggers-active {
  margin: 0;
  font-size: 0.78rem;
}

#admin-market-triggers .admin-create-actions {
  margin-top: 4px;
  margin-bottom: 16px;
}

#admin-market-triggers .admin-create-actions .button {
  width: auto;
  min-width: 200px;
}

#admin-market-triggers .admin-triggers-list {
  gap: 12px;
  margin-top: 4px;
}

#admin-market-triggers .admin-triggers-entry {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(5, 12, 22, 0.52);
}

#admin-market-triggers .admin-triggers-entry .admin-row-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#admin-market-triggers .admin-triggers-entry .admin-row-actions .button {
  min-width: 120px;
}

#admin-market-triggers .admin-triggers-entry .admin-row-actions .button-danger {
  min-width: 120px;
}

@media (max-width: 1100px) {
  #admin-market-triggers .admin-triggers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #admin-market-triggers .admin-triggers-grid {
    grid-template-columns: 1fr;
  }
}

.admin-collapsible-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(5, 12, 22, 0.58);
  margin-bottom: 10px;
  overflow: hidden;
}

.admin-collapsible-summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(90deg, rgba(17, 31, 53, 0.85), rgba(10, 23, 42, 0.72));
}

.admin-collapsible-summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #eaf2ff;
}

.admin-collapsible-meta {
  font-size: 0.72rem;
  color: #b9caeb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px 9px;
}

.admin-collapsible-body {
  padding: 10px;
}

.admin-subtitle {
  margin: 18px 0 6px;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d8e8ff;
}

.admin-action-contrast {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(56, 108, 214, 0.28) !important;
  color: #eaf3ff !important;
}

.admin-action-danger {
  border-color: rgba(255, 107, 129, 0.6) !important;
  background: rgba(214, 52, 78, 0.3) !important;
  color: #ffdbe2 !important;
}

.admin-action-danger:hover {
  background: rgba(230, 60, 89, 0.38) !important;
}

.admin-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: grid;
  place-items: center;
  padding: 14px;
}

.admin-preview-modal[hidden] {
  display: none !important;
}

.admin-preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.admin-preview-modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(15, 25, 40, 0.98), rgba(8, 15, 26, 0.98));
  padding: 14px;
  display: grid;
  gap: 8px;
}

.admin-preview-hero {
  height: 90px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 78, 143, 0.3), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(93, 148, 255, 0.3), transparent 38%),
    linear-gradient(135deg, rgba(19, 31, 49, 0.92), rgba(10, 18, 30, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.admin-preview-type {
  display: inline-flex;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.admin-preview-modal-card h3 {
  margin: 0;
  color: #eaf2ff;
  font-size: 1rem;
}

.admin-preview-modal-card p {
  margin: 0;
  color: #c7d5ef;
  line-height: 1.46;
  white-space: pre-wrap;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .admin-row-grid-home-hero,
  .admin-row-grid-home-hero-links {
    grid-template-columns: 1fr;
  }
}

.market-price {
  font-weight: 700;
  color: #f3d27c;
  text-shadow: 0 0 10px rgba(243, 210, 124, 0.18);
}

.market-cart-form {
  width: 100%;
  display: grid;
  gap: 8px;
}

/* Linha comprar já + carrinho: layout horizontal; cores herdadas de .button / .button-secondary */
.market-purchase-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.market-btn-buy-now {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.market-btn-add-cart {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-btn-add-cart__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.market-cart-plus-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f0f4fa;
  color: #141a22;
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.market-cart-form > .button[type="submit"] {
  width: 100%;
}

/* Quantity stepper (- / +): replaces ugly native number spinners site-wide */
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 22, 0.88);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.25);
}

.qty-stepper__btn {
  appearance: none;
  border: none;
  margin: 0;
  min-width: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #eaf6ff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.08s ease;
}

.qty-stepper__btn:hover {
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.42), rgba(124, 92, 255, 0.28));
  color: #fff;
}

.qty-stepper__btn:active {
  transform: scale(0.97);
}

.qty-stepper__input {
  appearance: textfield;
  width: 3rem;
  min-width: 2.6rem;
  max-width: 4.25rem;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 10, 18, 0.65);
  color: #f3f7ff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0 6px;
  min-height: 38px;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-stepper__input:focus {
  outline: none;
  background: rgba(14, 26, 44, 0.98);
}

.qty-stepper--compact {
  border-radius: 10px;
}

.qty-stepper--compact .qty-stepper__btn {
  min-width: 28px;
  padding: 0 4px;
  font-size: 1.05rem;
}

.qty-stepper--compact .qty-stepper__input {
  width: 2.35rem;
  min-height: 30px;
  font-size: 0.8rem;
}

.admin-goods-main-table .qty-stepper {
  vertical-align: middle;
}

.market-cart-qty {
  display: grid;
  gap: 6px;
  text-align: center;
}

.market-cart-qty span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-cart-qty .qty-stepper {
  margin: 0 auto;
}

.market-game-deliver-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 16px;
}

.market-game-deliver-field {
  display: grid;
  gap: 6px;
}

.market-game-deliver-field span {
  font-size: 0.72rem;
  color: #a9bfdf;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-game-deliver-field select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 22, 0.92);
  color: #eaf2ff;
  padding: 0 12px;
}

.market-game-deliver-actions {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
}

.market-game-deliver-actions .button,
.market-game-deliver-actions .button-secondary {
  width: 100%;
  justify-content: center;
}

.market-official {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 194, 255, 0.12), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(255, 77, 141, 0.14), transparent 38%),
    #070c13;
  box-shadow: var(--shadow);
}

.market-official-nav {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.95), rgba(6, 12, 22, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-official-nav a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: rgba(230, 238, 255, 0.82);
  font-size: 0.89rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.market-official-nav a:last-child {
  border-right: none;
}

.market-official-nav a.is-active {
  color: #ff6f5d;
  background: linear-gradient(180deg, rgba(255, 73, 42, 0.16), rgba(255, 73, 42, 0));
  text-shadow: 0 0 14px rgba(255, 85, 72, 0.32);
}

.market-official-hero {
  padding: 16px;
  display: grid;
  grid-template-columns: 2.8fr 1fr;
  gap: 14px;
  min-height: 348px;
  background:
    radial-gradient(circle at 8% 90%, rgba(255, 124, 72, 0.18), transparent 36%),
    radial-gradient(circle at 90% 6%, rgba(0, 194, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.95), rgba(8, 10, 14, 0.95));
}

.market-hero-main {
  position: relative;
  min-height: 316px;
  overflow: hidden;
  padding: 28px 32px;
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(17, 13, 13, 0.9), rgba(74, 36, 20, 0.52) 42%, rgba(29, 28, 46, 0.36)),
    url('/assets/market/common.jpg') center right / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.market-hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 58% 58%, rgba(255, 222, 132, 0.38), transparent 42%);
  pointer-events: none;
}

.market-hero-main h1,
.market-hero-main p,
.market-hero-main strong,
.market-hero-main span {
  position: relative;
  z-index: 1;
}

.market-hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #72d8ff;
}

.market-hero-main h1 {
  margin: 0;
  font-family: "Metal Mania", "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: #ff744f;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.market-hero-main p {
  margin: 0;
  max-width: 400px;
  color: rgba(244, 247, 255, 0.93);
  font-size: 1rem;
}

.market-hero-main strong {
  color: rgba(243, 246, 254, 0.95);
  font-size: 1.08rem;
  font-weight: 600;
}

.market-hero-period {
  color: #86e5ff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.market-hero-side {
  min-height: 316px;
  padding: 22px 20px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(35, 10, 10, 0.28), rgba(6, 10, 18, 0.84)),
    url('/assets/market/vampire.jpg') center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.market-hero-side p {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.44rem;
  line-height: 1.2;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.market-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.market-hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.market-hero-dots .is-active {
  background: #ea2f24;
}

.market-official-catalog {
  background:
    linear-gradient(180deg, #111a28 0%, #101826 100%);
  padding: 22px 16px 18px;
}

.market-official-catalog h2 {
  margin: 0 0 14px;
  color: #eaf1ff;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.market-sub-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.market-sub-tabs span {
  min-height: 60px;
  display: grid;
  place-items: center;
  font-size: 0.96rem;
  color: rgba(227, 236, 255, 0.68);
  background: #1b283d;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.market-sub-tabs span:last-child {
  border-right: none;
}

.market-sub-tabs .is-active {
  background: linear-gradient(180deg, #a8361f, #772116);
  color: #fff;
}

.market-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
}

.market-product-card {
  background: linear-gradient(180deg, #1b2739, #151f2f);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 10px 10px 14px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
}

.market-product-tags {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}

.market-tag {
  min-width: 48px;
  min-height: 30px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.market-tag-main {
  background: #1097c6;
}

.market-product-card:nth-child(3n + 1) .market-tag-main {
  background: #e65126;
}

.market-tag-pkg {
  background: #1da93b;
}

.market-product-image {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.22));
}

.market-product-card h3 {
  margin: 6px 0 2px;
  min-height: 48px;
  text-align: center;
  color: #ebf1ff;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 500;
}

.market-product-price {
  margin: 0;
  color: #ff7c5d;
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.market-card-form,
.market-buy-button {
  width: 100%;
}

.market-buy-button {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #6f1111;
  background: linear-gradient(180deg, #b7351c, #79150e);
  box-shadow: none;
  justify-content: center;
}

.market-buy-button:hover {
  border-color: #a82918;
  background: linear-gradient(180deg, #cb3c1f, #871a10);
  transform: none;
}

.profile-form {
  align-items: end;
}

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

th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flash {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.flash-success {
  background: rgba(93, 224, 162, 0.12);
  color: var(--success);
  border: 1px solid rgba(93, 224, 162, 0.18);
}

.flash-error {
  background: rgba(255, 125, 137, 0.12);
  color: var(--danger);
  border: 1px solid rgba(255, 125, 137, 0.18);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.pill-highlight {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.2), rgba(124, 92, 255, 0.24));
}

.ranking-pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ranking-pagination-status {
  color: var(--muted);
  font-size: 0.86rem;
}

.news-detail-card {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.news-detail-card h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #edf3ff;
}

.news-detail-type {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.news-detail-content {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(7, 15, 25, 0.75);
  color: #d6e2fb;
  line-height: 1.58;
}

.news-inline-image {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.race-story-card {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.race-story-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb3d9;
}

.race-story-card h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  color: #edf3ff;
}

.race-story-subtitle {
  margin: 0;
  color: var(--muted);
}

.race-story-image-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(9, 14, 23, 0.8);
}

.race-story-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.race-story-description {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(7, 15, 25, 0.75);
  color: #d6e2fb;
  line-height: 1.58;
}

.race-story-description p {
  margin: 0;
}

.site-footer {
  padding: 10px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  position: relative;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  :root {
    --market-tabs-sticky-top: 96px;
  }

  .hero,
  .grid,
  .form-grid.two,
  .form-grid.three,
  .form-grid.maps-compact-grid,
  .official-home-strip,
  .feature-strip,
  .bible-strip-head,
  .bible-strip,
  .home-market-tabs-nav,
  .home-market-grid,
  .section-grid,
  .race-grid,
  .cta-panel,
  .home-entry,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .topbar-inner,
  .nav-cluster {
    display: grid;
    justify-content: stretch;
  }

  .topbar-wallet {
    width: 100%;
  }

  .topbar-wallet-chip {
    flex: 1 1 0;
  }

  .market-cart-float {
    right: 12px;
    bottom: 16px;
  }

  .market-cart-float-btn {
    width: 52px;
    height: 52px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .home-carousel-slide {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .home-carousel-copy h1 {
    max-width: none;
  }

  .home-carousel-art {
    align-items: flex-start;
  }

  .home-market-banner {
    grid-template-columns: 1fr;
  }

  .official-race-grid {
    grid-template-columns: 1fr;
  }

  .home-carousel-stamp {
    text-align: left;
    max-width: none;
  }

  .home-carousel-figures {
    width: 100%;
    justify-content: space-between;
  }

  .ranking-board-head {
    display: none;
  }

  .ranking-board-row,
  .ranking-board-row-race,
  .ranking-board-row-general,
  .ranking-board-row-ousters {
    grid-template-columns: 62px 1fr;
  }

  .ranking-rank-tier {
    flex-wrap: wrap;
  }

  .ranking-level-cell,
  .ranking-pk-cell,
  .ranking-race-cell,
  .ranking-grade-cell,
  .ranking-job-cell {
    grid-column: 2;
  }

  .ranking-name-cell {
    gap: 6px;
  }

  .dashboard-hero-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "promo"
      "main"
      "profile";
  }

  .dashboard-hero-main {
    grid-template-columns: 1fr;
  }

  .dashboard-profile-spotlight {
    padding-left: 0;
  }

  .dashboard-character-grid {
    grid-template-columns: 1fr;
  }

  .portal-card-grid {
    grid-template-columns: 1fr;
  }

  .market-card-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-official-nav,
  .market-sub-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-official-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .market-hero-main,
  .market-hero-side {
    min-height: 220px;
  }

  .market-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-product-card h3 {
    min-height: 62px;
    font-size: 0.94rem;
  }

  .market-product-price {
    font-size: 1.25rem;
  }

  .market-live-banner {
    display: grid;
    justify-items: start;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-standalone-header {
    display: grid;
    justify-items: start;
  }

  .admin-header-nav {
    width: 100%;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-row-grid-item,
  .admin-row-grid-banner,
  .admin-categories-grid {
    grid-template-columns: 1fr;
  }

  #admin-market-items .admin-market-row-compact,
  #admin-market-items .admin-row-form .admin-market-row-compact {
    grid-template-columns: 1fr 1fr;
  }

  #admin-market-items .admin-market-form-row,
  #admin-market-items .admin-market-form-row--1,
  #admin-market-items .admin-market-type-extra--game {
    grid-template-columns: 1fr;
  }

  #admin-market-items .admin-market-form-row-3-tail {
    flex-direction: column;
    align-items: flex-start;
  }

  #admin-market-items .admin-market-row-compact textarea,
  #admin-market-items .admin-market-row-compact > button,
  #admin-market-items #special-type-container,
  #admin-market-items #game-item-container,
  #admin-market-items #pack-item-container,
  #admin-market-items [data-edit-pack-fields] {
    grid-column: 1 / -1;
  }

  #admin-market-items .market-image-preview-wrap {
    grid-column: 1 / -1;
  }

  .admin-premium-toolbar {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .cta-panel,
  .site-footer {
    display: grid;
  }

}

/* ========== Battle Pass ========== */
.battle-pass-head .section-head {
  align-items: flex-start;
}

.battle-pass-hub-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.battle-pass-race-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.battle-pass-race-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.battle-pass-race-card.is-active {
  border-color: rgba(0, 212, 170, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.25);
}

.battle-pass-race-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.battle-pass-stage-line {
  margin: 10px 0 12px;
  font-size: 0.88rem;
}

.battle-pass-race-actions {
  flex-wrap: wrap;
}

.battle-pass-inline-form {
  display: inline-block;
  margin: 0;
}

.battle-pass-page-tabs {
  margin-bottom: 14px;
}

.battle-pass-page-tabs .market-tabs-toolbar {
  margin-bottom: 0;
}

.battle-pass-show-hub-btn {
  white-space: nowrap;
}

.battle-pass-chapter .battle-pass-nested {
  margin-top: 14px;
}

.battle-pass-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.battle-pass-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #00a8e8);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.battle-pass-progress-bar--sm {
  height: 8px;
}

.battle-pass-quest-layout {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.battle-pass-quest-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.48fr);
  gap: 14px;
  align-items: start;
}

.battle-pass-quest-left {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.battle-pass-tier-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.battle-pass-tier-panel-head h3 {
  margin: 0;
}

.battle-pass-tier-panel-head .battle-pass-show-hub-btn {
  flex-shrink: 0;
}

.battle-pass-quest-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 22, 33, 0.92), rgba(9, 15, 25, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06), transparent 35%);
  padding: 12px;
  min-width: 0;
  width: 100%;
}

.battle-pass-quest-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c7d4ea;
}

.battle-pass-missions-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.battle-pass-mission-section-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.battle-pass-mission-grid {
  display: grid;
  gap: 12px;
}

.battle-pass-mission-grid-daily {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.battle-pass-mission-grid-weekly {
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.battle-pass-mission {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 12, 22, 0.65);
  min-width: 0;
}

.battle-pass-mission-desc {
  margin: 0 0 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
}

.battle-pass-mission-grid-daily .battle-pass-mission {
  min-height: 118px;
  display: grid;
  align-content: start;
}

.battle-pass-mission-grid-weekly .battle-pass-mission {
  padding: 12px 14px;
  min-height: 118px;
}

.battle-pass-mission.is-done {
  opacity: 0.72;
}

.battle-pass-mission--demo {
  border-style: dashed;
  opacity: 0.92;
}

.battle-pass-mission-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}

.battle-pass-reroll-form {
  margin: 0;
}

button.battle-pass-reroll {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(6, 12, 22, 0.75);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

button.battle-pass-reroll:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(12, 20, 34, 0.9);
}

.battle-pass-reroll-glyph {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 600;
}

.battle-pass-tier-panel {
  margin-top: 0;
  padding-bottom: 16px;
}

main.page.shell:has(.battle-pass-tier-track) {
  padding-bottom: 44px;
}

.battle-pass-tier-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
}

.battle-pass-tier-track-viewport {
  flex: 1;
  min-width: 0;
  position: relative;
}

.battle-pass-track-nav {
  flex: 0 0 36px;
  align-self: center;
  width: 36px;
  min-height: 120px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.72);
  color: #e8c56a;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.battle-pass-track-nav:hover {
  background: rgba(22, 28, 40, 0.92);
  border-color: rgba(232, 197, 106, 0.45);
  color: #ffe6a8;
}

.battle-pass-track-nav:active {
  transform: scale(0.98);
}

.battle-pass-track-nav--prev {
  margin-right: 8px;
}

.battle-pass-track-nav--next {
  margin-left: 8px;
}

.battle-pass-tier-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 32px;
  margin: 0 -4px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.battle-pass-tier-scroll:focus-visible {
  outline: 2px solid rgba(232, 197, 106, 0.55);
  outline-offset: 2px;
}

.battle-pass-tier-scroll::-webkit-scrollbar {
  height: 10px;
}

.battle-pass-tier-scroll::-webkit-scrollbar-track {
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
}

.battle-pass-tier-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 6px;
}

.battle-pass-tier-matrix {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  min-width: 100%;
  padding-bottom: 4px;
}

.battle-pass-tier-matrix-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.battle-pass-tier-matrix-row--cells {
  align-items: stretch;
}

.battle-pass-tier-matrix-row--rail {
  align-items: center;
  width: 100%;
}

.battle-pass-tier-lead {
  flex: 0 0 36px;
  width: 36px;
  box-sizing: border-box;
}

.battle-pass-tier-side-label {
  flex: 0 0 36px;
  width: 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 28, 44, 0.94), rgba(10, 16, 26, 0.96));
}

.battle-pass-tier-side-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(210, 220, 235, 0.72);
  line-height: 1.2;
  white-space: nowrap;
}

.battle-pass-tier-rail-gutter {
  flex: 0 0 36px;
  width: 36px;
  height: 10px;
  box-sizing: border-box;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff9f4a, #a04010);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.battle-pass-tier-rail-outer {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.battle-pass-tier-rail-outer .battle-pass-tier-rail {
  width: 100%;
}

.battle-pass-tier-slot {
  flex: 0 0 136px;
  width: 136px;
  box-sizing: border-box;
}

.battle-pass-tier-slot--num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
}

.battle-pass-tier-slot--points {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}

.battle-pass-tier-need {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

.battle-pass-tier-rail {
  position: relative;
  height: 10px;
  margin: 2px 0 0;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #ff9f4a 0%, #d45a18 55%, #8f350e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.battle-pass-tier-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 236, 180, 0.45), rgba(255, 200, 120, 0.12));
  pointer-events: none;
}

.battle-pass-tier-rail-marker {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 2px;
  margin-left: -1px;
  background: #ffb347;
  box-shadow: 0 0 10px rgba(255, 140, 60, 0.75);
  pointer-events: none;
}

.battle-pass-tier-thumb {
  width: 100%;
  height: 148px;
  flex-shrink: 0;
  margin: 0 0 8px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12)),
    rgba(0, 0, 0, 0.15);
}

.battle-pass-tier-thumbs {
  display: flex;
  gap: 5px;
  width: 100%;
  margin: 0 0 8px;
  align-items: stretch;
}

.battle-pass-tier-thumb-slot {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  max-height: 78px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12)),
    rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.battle-pass-tier-thumb-slot--inactive {
  opacity: 0.45;
}

.battle-pass-tier-thumb-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.battle-pass-tier-thumb-fallback {
  width: 100%;
  height: 100%;
  min-height: 48px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 6px,
    transparent 6px,
    transparent 12px
  );
}

.battle-pass-tier-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

.battle-pass-quest-epic {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(19, 27, 38, 0.94), rgba(10, 16, 27, 0.94)),
    radial-gradient(circle at 85% 100%, rgba(255, 175, 71, 0.15), transparent 38%);
}

.battle-pass-quest-epic-full {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  grid-column: 1 / -1;
  margin-top: 2px;
}

.battle-pass-quest-epic h3 {
  margin: 0 0 6px;
}

.battle-pass-epic-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.battle-pass-epic-foot strong {
  font-size: 0.95rem;
}

.battle-pass-tier-num {
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.battle-pass-tier-cell {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.battle-pass-tier-cell p.battle-pass-tier-reward-line {
  margin: 0 0 8px;
}

.battle-pass-tier-cell.is-locked .battle-pass-tier-thumb,
.battle-pass-tier-cell.is-locked .battle-pass-tier-thumbs,
.battle-pass-tier-cell.is-locked .battle-pass-tier-reward-line {
  opacity: 0.52;
}

.battle-pass-tier-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: #e8a035;
  filter: drop-shadow(0 0 6px rgba(232, 160, 53, 0.35));
}

.battle-pass-tier-lock-icon svg {
  display: block;
}

.battle-pass-tier-cell strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .battle-pass-quest-top {
    grid-template-columns: 1fr;
  }

  .battle-pass-mission-grid-daily {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .battle-pass-mission-grid-daily {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  max-width: 52rem;
}

.legal-page-version {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.legal-page-intro {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.legal-page-sections {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.legal-page-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.legal-page-section p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted, #a8b0c0);
}

.legal-page-nav {
  flex-wrap: wrap;
}

.legal-consent {
  margin: 1rem 0;
  padding: 0;
  border: 0;
}

.legal-consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  color: #c8d4ea;
}

.legal-consent-row:last-child {
  margin-bottom: 0;
}

.legal-consent-checkbox {
  width: 1.125rem !important;
  height: 1.125rem !important;
  min-height: 0 !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  flex: 0 0 1.125rem;
  border-radius: 4px;
  accent-color: #ff4db8;
  box-shadow: none;
}

.legal-consent-text {
  flex: 1;
  min-width: 0;
}

.legal-consent-text a {
  color: #66d4ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-consent-text a:hover {
  color: #9ae4ff;
}

.legal-consent-card {
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(164, 186, 223, 0.22);
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.55);
}

.legal-consent-card__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8efff;
}

.legal-consent--purchase {
  margin: 0;
}

.auth-card .legal-consent {
  margin-top: 0.25rem;
}

.market-pay-usd-page .legal-consent-row {
  font-size: 0.92rem;
}

.turnstile-wrap {
  margin: 0.75rem 0 0.25rem;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.footer-legal-nav a {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-legal-nav a:hover {
  opacity: 1;
}

.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.maintenance-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.maintenance-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.maintenance-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #9fb0d0;
  margin-bottom: 0.75rem;
}

.maintenance-lead {
  font-size: 1.05rem;
  margin: 1rem 0;
}

.maintenance-note {
  margin-top: 1rem;
}

