/* ═══════════════════════════════════════════════════════════════
   Internal pages — MMORPG platform ecosystem
   ═══════════════════════════════════════════════════════════════ */

@import url("class-icons.css");

.internal-page {
  background: var(--bg-deep);
}

.internal-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(76, 201, 240, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 80%, rgba(88, 28, 135, 0.08), transparent),
    var(--bg-deep);
}

.internal-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.internal-main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
  min-height: calc(100vh - 200px);
}

/* ─── Internal hero ─── */
.internal-hero {
  padding: var(--space-7) 0 var(--space-6);
  border-bottom: 1px solid var(--border-ice);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.9), transparent);
}

.internal-hero--compact {
  padding: var(--space-6) 0 var(--space-5);
}

.internal-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: #fff;
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
}

.internal-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.internal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.internal-content {
  padding: var(--space-7) 0 var(--space-9);
}

.internal-grid {
  display: grid;
  gap: var(--space-5);
}

.internal-grid--2 { grid-template-columns: repeat(2, 1fr); }
.internal-grid--3 { grid-template-columns: repeat(3, 1fr); }
.internal-grid--4 { grid-template-columns: repeat(4, 1fr); }
.internal-grid--sidebar {
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: var(--space-6);
}

/* ─── Widget strip (ecosystem) ─── */
.widget-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.widget-mini {
  padding: var(--space-4);
  text-align: center;
}

.widget-mini__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ice-glow);
  display: block;
}

.widget-mini__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* ─── Sidebar (dashboard) ─── */
.dash-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-4));
  padding: var(--space-4);
}

.dash-sidebar__user {
  text-align: center;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-ice);
}

.dash-sidebar__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-dim), var(--bg-elevated));
  border: 2px solid var(--border-ice);
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: var(--glow-ice);
}

.dash-sidebar__name {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
}

.dash-sidebar__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.dash-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--duration-normal) var(--ease-premium), color var(--duration-normal);
}

.dash-nav a:hover,
.dash-nav a.is-active {
  color: #fff;
  background: rgba(76, 201, 240, 0.1);
  border-left: 2px solid var(--ice);
}

.dash-nav__group {
  margin: var(--space-3) 0 var(--space-2);
  padding: 0 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.dash-nav__group:first-of-type {
  margin-top: 0;
}

.dash-nav--secondary {
  margin-bottom: var(--space-2);
}

.dash-sidebar__avatar--class {
  padding: 0.35rem;
  background: rgba(7, 14, 28, 0.85);
}

.dash-sidebar__avatar--class .class-icon {
  width: 100%;
  height: 100%;
}

.account-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(76, 201, 240, 0.1), transparent 55%),
    linear-gradient(135deg, rgba(12, 20, 36, 0.95), rgba(7, 12, 22, 0.98));
}

.account-hero__copy h2 {
  margin: 0.35rem 0;
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.account-hero__sub {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.account-summary-grid {
  margin-bottom: var(--space-4);
}

.account-activity-card {
  padding: var(--space-5);
}

.account-activity-card .panel-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--gold-light);
}

.account-activity-card p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.account-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-status-badge--active {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.dash-panel {
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.dash-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-ice);
}

.dash-panel__head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.dash-panel__head--compact {
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
}

.dash-section { display: none; }
.dash-section.is-active { display: block; }

.dash-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cooldown-note {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: var(--space-3);
}

/* Character cards */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
/* Cargar puntos — grid de paquetes */
.point-pack-section__lead {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 52rem;
}
.premium-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 0.75rem;
  padding-top: 0.65rem;
}
@media (max-width: 1100px) {
  .premium-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .premium-pack-grid {
    grid-template-columns: 1fr;
  }
}
.premium-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 1.85rem 1.1rem 1.15rem;
  min-height: 17.5rem;
  overflow: visible;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.premium-pack:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.premium-pack__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 1.25rem);
  background: linear-gradient(90deg, #c8972a, #f0c060);
  color: #1a0f00;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(200, 151, 42, 0.45);
  z-index: 2;
}
.premium-pack__rarity-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.premium-pack__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
  color: #f8fafc;
}
.premium-pack__points {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #7dd3fc;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.premium-pack__points span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(186, 230, 253, 0.65);
}
.premium-pack__bonus-tag {
  font-size: 0.72rem;
  color: #86efac;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}
.premium-pack__price {
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}
.premium-pack__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.premium-pack--premium {
  border: 1.5px solid rgba(240, 192, 96, 0.55) !important;
  box-shadow: 0 0 22px rgba(200, 151, 42, 0.2), inset 0 0 0 1px rgba(240, 192, 96, 0.1) !important;
  background: radial-gradient(circle at 50% 0%, rgba(200, 151, 42, 0.1), transparent 55%),
    rgba(6, 14, 28, 0.78) !important;
}
.premium-pack--premium .premium-pack__points {
  color: #fde68a;
}
.premium-pack--premium .premium-pack__btn {
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.25);
}
.premium-pack--legendary {
  border: 1.5px solid rgba(251, 146, 60, 0.6) !important;
  box-shadow: 0 0 28px rgba(251, 146, 60, 0.24), inset 0 0 0 1px rgba(251, 146, 60, 0.12) !important;
  background: radial-gradient(circle at 50% 0%, rgba(251, 100, 36, 0.12), transparent 55%),
    rgba(6, 14, 28, 0.82) !important;
}
.premium-pack--legendary .premium-pack__points {
  color: #fb923c;
}
.premium-pack--legendary .premium-pack__badge {
  background: linear-gradient(90deg, #c2410c, #f97316);
  color: #fff;
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.45);
}
.premium-pack--legendary .premium-pack__btn {
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.35), rgba(194, 65, 12, 0.2));
}

/* Rareza WoW — paquetes de puntos */
.premium-pack--common {
  border: 1.5px solid rgba(203, 213, 225, 0.35) !important;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.08);
  background: radial-gradient(circle at 50% 0%, rgba(226, 232, 240, 0.06), transparent 55%), rgba(6, 14, 28, 0.78) !important;
}
.premium-pack--common .premium-pack__points { color: #e2e8f0; }
.premium-pack--common .premium-pack__rarity-tag { color: #cbd5e1; }

.premium-pack--uncommon {
  border: 1.5px solid rgba(34, 197, 94, 0.45) !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.08), transparent 55%), rgba(6, 14, 28, 0.78) !important;
}
.premium-pack--uncommon .premium-pack__points { color: #86efac; }
.premium-pack--uncommon .premium-pack__rarity-tag { color: #4ade80; }

.premium-pack--rare {
  border: 1.5px solid rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 55%), rgba(6, 14, 28, 0.78) !important;
}
.premium-pack--rare .premium-pack__points { color: #93c5fd; }
.premium-pack--rare .premium-pack__rarity-tag { color: #60a5fa; }

.premium-pack--epic {
  border: 1.5px solid rgba(168, 85, 247, 0.55) !important;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.18);
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.12), transparent 55%), rgba(6, 14, 28, 0.8) !important;
}
.premium-pack--epic .premium-pack__points { color: #d8b4fe; }
.premium-pack--epic .premium-pack__rarity-tag { color: #c084fc; }

.premium-pack--mythic {
  border: 1.5px solid rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.22), 0 0 40px rgba(251, 191, 36, 0.12);
  background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.14), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(251, 191, 36, 0.08), transparent 40%),
    rgba(6, 14, 28, 0.85) !important;
}
.premium-pack--mythic .premium-pack__points {
  color: #fcd34d;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}
.premium-pack--mythic .premium-pack__rarity-tag { color: #f87171; }

.premium-pack--common:hover { box-shadow: 0 8px 24px rgba(148, 163, 184, 0.15); }
.premium-pack--uncommon:hover { box-shadow: 0 8px 26px rgba(34, 197, 94, 0.2); }
.premium-pack--rare:hover { box-shadow: 0 8px 28px rgba(59, 130, 246, 0.22); }
.premium-pack--epic:hover { box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25); }
.premium-pack--legendary:hover { box-shadow: 0 8px 32px rgba(251, 146, 60, 0.3); }
.premium-pack--mythic:hover { box-shadow: 0 10px 36px rgba(239, 68, 68, 0.28); }

.payment-method-picker {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.payment-method-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(76, 201, 240, 0.15);
  background: rgba(4, 10, 20, 0.55);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.payment-method-option:has(input:checked) {
  border-color: rgba(240, 192, 96, 0.45);
  background: rgba(200, 151, 42, 0.08);
}
.payment-method-option input { margin-top: 0.2rem; accent-color: var(--gold, #c8972a); }
.payment-method-option__title { font-weight: 700; color: #fff; margin: 0 0 0.2rem; }
.payment-method-option__desc { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.payment-method-option--disabled { opacity: 0.55; cursor: not-allowed; }

/* Soporte — listado Mis tickets */
.support-ticket-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.support-ticket-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(76, 201, 240, 0.12);
  background: rgba(4, 10, 18, 0.65);
}
.support-ticket-card__title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.support-ticket-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.support-ticket-card__date::before {
  content: "·";
  margin-right: 0.45rem;
  opacity: 0.5;
}
.support-status-badge--open { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.35); }
.support-status-badge--pending { background: rgba(251, 191, 36, 0.12); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.35); }
.support-status-badge--review { background: rgba(96, 165, 250, 0.12); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.35); }
.support-status-badge--closed { background: rgba(100, 116, 139, 0.2); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.25); }
.support-status-badge--cancelled { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }

/* Admin — centro de órdenes */
.admin-orders-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.admin-orders-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
}
.admin-orders-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 8rem;
  flex: 1 1 120px;
}
.admin-orders-toolbar input,
.admin-orders-toolbar select {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(76, 201, 240, 0.2);
  background: rgba(4, 10, 18, 0.8);
  color: #fff;
  font-size: 0.85rem;
}
.admin-orders-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.admin-orders-kpi {
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(76, 201, 240, 0.12);
  background: rgba(4, 10, 18, 0.5);
}
.admin-orders-kpi strong { display: block; font-size: 1.25rem; color: #fff; }
.admin-orders-kpi span { font-size: 0.72rem; color: var(--text-muted); }

/* Mis recargas — tarjetas */
.dash-recarga-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.dash-recarga-card {
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.55rem;
}

.dash-recarga-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-recarga-card__title {
  font-size: 0.95rem;
  color: #fff;
}

.dash-recarga-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* Soporte dashboard — tarjetas */
.dash-ticket-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.dash-ticket-card {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.dash-ticket-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.dash-ticket-card__title {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.35;
  min-width: 0;
  word-break: break-word;
}

.dash-ticket-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dash-ticket-card__reply {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(186, 230, 253, 0.65);
}

/* Soporte dashboard — tabla legacy (admin u otras vistas) */
.dash-tickets-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}
.dash-tickets-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.dash-tickets-table th,
.dash-tickets-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}
.dash-tickets-table th {
  color: rgba(186, 230, 253, 0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-ticket-status {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(125, 211, 252, 0.2);
  color: rgba(224, 242, 254, 0.9);
}
.dash-ticket-detail-content {
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
  white-space: pre-wrap;
  margin: 0.75rem 0;
}
.form-input--readonly {
  opacity: .86;
  cursor: not-allowed;
}

.char-card {
  padding: var(--space-4);
  transition: transform var(--duration-normal) var(--ease-premium);
}

.char-card:hover {
  transform: translateY(-4px);
}

.char-card--horde { border-left: 3px solid #c41e3a; }
.char-card--alliance { border-left: 3px solid #0070dd; }

.char-card__top {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.char-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(76, 201, 240, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.char-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.char-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.char-card__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-ice);
}

.char-card--clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dash-character-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.dash-character-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
}

.dash-character-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.5rem;
  max-height: 85vh;
  overflow-y: auto;
}

.dash-character-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.dash-character-modal-open {
  overflow: hidden;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-ice);
  font-size: 0.76rem;
}
.status-pill--pendiente { color: #f7b955; border-color: rgba(247, 185, 85, 0.5); }
.status-pill--en-revision { color: #7cc6ff; border-color: rgba(124, 198, 255, 0.5); }
.status-pill--completado { color: #70df9b; border-color: rgba(112, 223, 155, 0.5); }
.status-pill--rechazado { color: #f28f8f; border-color: rgba(242, 143, 143, 0.5); }
.status-pill--pagado { color: #70df9b; border-color: rgba(112, 223, 155, 0.5); }
.status-pill--entregado { color: #55c0ff; border-color: rgba(85, 192, 255, 0.55); }

/* ─── News ─── */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  min-height: 320px;
}

.news-featured__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(30, 74, 95, 0.7), rgba(8, 11, 20, 0.95)),
    radial-gradient(circle at 30% 40%, rgba(76, 201, 240, 0.2), transparent 50%);
  border: 1px solid var(--border-ice);
}

.news-featured__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 20, 0.95), transparent 50%);
}

.news-featured__tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.65rem;
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
}

.news-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2) 0;
}

.news-featured__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.news-filters button {
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid var(--border-ice);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-premium);
}

.news-filters button:hover,
.news-filters button.is-active {
  color: var(--ice-glow);
  border-color: var(--ice);
  background: rgba(76, 201, 240, 0.1);
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* Article */
.article-layout {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-ice);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  line-height: 1.2;
  margin: var(--space-4) 0;
}

.article-prose {
  color: #b8c4d4;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-prose h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  margin: var(--space-6) 0 var(--space-3);
  font-size: 1.25rem;
}

.article-prose p { margin-bottom: var(--space-4); }

.article-prose ul {
  margin: var(--space-4) 0 var(--space-4) var(--space-5);
}

.article-prose li { margin-bottom: var(--space-2); }

.article-prose strong { color: var(--ice-glow); }

.article-divider {
  height: 1px;
  margin: var(--space-6) 0;
  background: linear-gradient(90deg, transparent, var(--ice), var(--gold), transparent);
  opacity: 0.4;
}

/* ─── Rankings ─── */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: var(--space-7);
  max-width: 900px;
  margin-inline: auto;
}

.podium__slot {
  text-align: center;
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.podium__slot--1 {
  order: 2;
  padding-top: var(--space-7);
  background: linear-gradient(180deg, rgba(200, 169, 107, 0.2), rgba(17, 24, 39, 0.9));
  border: 1px solid var(--border-gold);
  box-shadow: var(--glow-gold);
}

.podium__slot--2 {
  order: 1;
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.12), rgba(17, 24, 39, 0.9));
  border: 1px solid var(--border-ice);
}

.podium__slot--3 {
  order: 3;
  background: linear-gradient(180deg, rgba(139, 90, 43, 0.15), rgba(17, 24, 39, 0.9));
  border: 1px solid rgba(139, 90, 43, 0.35);
}

.podium__rank {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}

.podium__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--space-1);
}

.podium__class {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Rankings competitivos (podio + filas top) */
.rank-podium {
  max-width: 960px;
}

.rank-podium__slot {
  text-align: center;
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-podium__slot:hover {
  transform: translateY(-3px);
}

.rank-podium__slot--1 {
  order: 2;
  padding-top: var(--space-7);
  background: linear-gradient(180deg, rgba(200, 169, 107, 0.28), rgba(12, 18, 32, 0.95));
  border: 1px solid rgba(200, 169, 107, 0.65);
  box-shadow: 0 0 28px rgba(200, 169, 107, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rank-podium__slot--2 {
  order: 1;
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.16), rgba(12, 18, 32, 0.92));
  border: 1px solid rgba(76, 201, 240, 0.35);
}

.rank-podium__slot--3 {
  order: 3;
  background: linear-gradient(180deg, rgba(139, 90, 43, 0.2), rgba(12, 18, 32, 0.92));
  border: 1px solid rgba(139, 90, 43, 0.4);
}

.rank-podium__medal {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.rank-podium__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 var(--space-1);
  letter-spacing: 0.02em;
}

.rank-podium__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rank-table-wrap {
  padding: 0;
  overflow: hidden;
}

.rank-table tbody tr.rank-row--gold {
  background: linear-gradient(90deg, rgba(200, 169, 107, 0.14), transparent 55%);
  border-left: 3px solid var(--gold);
}

.rank-table tbody tr.rank-row--silver {
  background: linear-gradient(90deg, rgba(76, 201, 240, 0.1), transparent 55%);
  border-left: 3px solid rgba(76, 201, 240, 0.55);
}

.rank-table tbody tr.rank-row--bronze {
  background: linear-gradient(90deg, rgba(139, 90, 43, 0.12), transparent 55%);
  border-left: 3px solid rgba(139, 90, 43, 0.55);
}

.rank-table .rank-num {
  font-size: 1.1rem;
  width: 3rem;
}

.rank-row__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rank-badge-top {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(135deg, #f0d89a, #c8a96b);
  box-shadow: 0 0 12px rgba(200, 169, 107, 0.35);
  vertical-align: middle;
}

.guild-podium-compete {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: var(--space-5);
}

.guild-podium-compete .rank-badge-top {
  display: inline-flex;
  margin: 0.65rem auto 0;
}

.forum-demo-banner,
.store-demo-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(76, 201, 240, 0.28);
  background: linear-gradient(135deg, rgba(7, 18, 36, 0.92), rgba(12, 28, 52, 0.88));
  color: var(--text-muted);
  font-size: 0.88rem;
}

.forum-demo-banner strong,
.store-demo-banner strong {
  color: var(--ice-glow);
}

.forum-demo-banner code,
.store-demo-banner code {
  font-size: 0.78rem;
  color: rgba(232, 237, 245, 0.85);
}

.forum-topic-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.forum-topic-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(200, 169, 107, 0.45);
}

.rank-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-ice);
  padding-bottom: var(--space-3);
}

.rank-tabs button {
  padding: 0.5rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--duration-normal), border-color var(--duration-normal);
}

.rank-tabs button.is-active {
  color: var(--ice-glow);
  border-bottom-color: var(--ice);
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-ice);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  padding: var(--space-4);
  background: rgba(8, 11, 20, 0.6);
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-ice);
}

.data-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(76, 201, 240, 0.06);
  color: var(--text-muted);
}

.data-table tr:hover td {
  background: rgba(76, 201, 240, 0.05);
  color: var(--text);
}

.data-table .rank-num {
  font-family: var(--font-display);
  color: var(--ice-glow);
  font-weight: 600;
}

.data-table .player-name {
  color: #fff;
  font-weight: 600;
}

.faction--alliance { color: #5b9fd4; }
.faction--horde { color: #e05555; }

.class-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─── Download onboarding ─── */
.steps-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  position: relative;
}

.steps-track::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--ice-dim), var(--ice), var(--gold));
  opacity: 0.4;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-4);
}

.step-card__num {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--ice);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ice-glow);
  box-shadow: var(--glow-ice);
}

.step-card h3 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: var(--space-2);
}

.step-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-card {
  padding: var(--space-6);
  text-align: center;
}

.download-card__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.req-grid {
  display: block;
}

.req-intro {
  margin: 0.35rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.req-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.req-column {
  padding: 1.25rem 1.35rem;
}

.req-column__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.req-list__item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.req-list__item:last-child {
  border-bottom: none;
}

.req-list__label {
  color: var(--text-muted);
}

.req-list__value {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.req-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(200, 169, 107, 0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .req-columns {
    grid-template-columns: 1fr;
  }

  .req-list__item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .req-list__value {
    text-align: left;
  }
}

.req-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3);
  background: rgba(8, 11, 20, 0.5);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.req-item span:first-child { color: var(--text-muted); }
.req-item span:last-child { color: #fff; font-weight: 600; }

/* ─── Migraciones ─── */
.internal-hero--migration {
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.06), transparent);
}

.migration-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding: var(--space-7);
  margin-bottom: var(--space-7);
  overflow: hidden;
}

.migration-hero-card__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 30% 50%, rgba(76, 201, 240, 0.15), transparent 55%);
  pointer-events: none;
}

.migration-hero-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(145deg, rgba(76, 201, 240, 0.12), rgba(200, 169, 107, 0.1));
  border: 1px solid var(--border-ice);
  box-shadow: 0 0 32px rgba(76, 201, 240, 0.12);
}

.migration-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: var(--space-3);
}

.migration-status--available {
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.migration-hero-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.migration-hero-card__subtitle {
  font-size: 1.05rem;
  color: var(--ice-glow);
  margin-bottom: var(--space-4);
}

.migration-hero-card__intro {
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.migration-hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.migration-steps {
  margin-bottom: var(--space-7);
}

.migration-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.migration-list--ok li::marker { color: var(--success); }
.migration-list--no li::marker { color: #f87171; }

.migration-cta-final {
  margin-top: var(--space-7);
  padding: var(--space-6);
  text-align: center;
}

.migration-cta-final p {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto var(--space-5);
}

.migration-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
  margin-top: var(--space-5);
}

.migration-teaser__visual {
  min-height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.1), rgba(8, 11, 20, 0.9));
  border: 1px solid var(--border-ice);
  display: grid;
  place-items: center;
  font-size: 3rem;
}

/* ─── Store (ampliada) ─── */
.store-page .store-intro {
  padding: var(--space-5);
  margin-bottom: var(--space-7);
}

.store-intro__lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 65ch;
}

.store-section-head {
  margin-bottom: var(--space-5);
}

.store-section-head .panel-title {
  margin-top: 0.35rem;
}

.store-filter-hint {
  font-size: 0.88rem;
  color: var(--ice);
  margin-top: 0.35rem;
}

.store-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.store-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.store-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.store-cat-card {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.store-cat-card:hover {
  border-color: rgba(76, 201, 240, 0.35);
  box-shadow: 0 0 28px rgba(76, 201, 240, 0.1);
  transform: translateY(-2px);
}

.store-cat-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.store-cat-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}

.store-cat-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--space-4);
}

.store-cat-card__cta {
  margin-top: auto;
}

.store-item {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-item.is-hidden {
  display: none;
}

.store-item__visual {
  height: 120px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(30, 45, 70, 0.9), rgba(8, 11, 20, 0.95));
  border-bottom: 1px solid var(--border-ice);
}

.store-item__visual-icon {
  font-size: 2.5rem;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(76, 201, 240, 0.35));
}

.store-item__visual--monturas { background: linear-gradient(160deg, rgba(76, 201, 240, 0.15), rgba(8, 11, 20, 0.95)); }
.store-item__visual--mascotas { background: linear-gradient(160deg, rgba(120, 80, 180, 0.12), rgba(8, 11, 20, 0.95)); }
.store-item__visual--insta80 { background: linear-gradient(160deg, rgba(200, 169, 107, 0.12), rgba(8, 11, 20, 0.95)); }
.store-item__visual--promos { background: linear-gradient(160deg, rgba(200, 169, 107, 0.18), rgba(76, 201, 240, 0.08)); }
.store-item__visual--pve { background: linear-gradient(160deg, rgba(168, 85, 247, 0.18), rgba(8, 11, 20, 0.95)); }
.store-item__visual--pvp { background: linear-gradient(160deg, rgba(185, 60, 60, 0.2), rgba(8, 11, 20, 0.95)); }
.store-item__visual--transfiguraciones { background: linear-gradient(160deg, rgba(76, 201, 240, 0.2), rgba(30, 50, 80, 0.9)); }
.store-item__visual--profesiones { background: linear-gradient(160deg, rgba(90, 140, 90, 0.2), rgba(8, 11, 20, 0.95)); }
.store-item__visual--materiales { background: linear-gradient(160deg, rgba(120, 100, 70, 0.22), rgba(8, 11, 20, 0.95)); }
.store-item__visual--servicios { background: linear-gradient(160deg, rgba(70, 110, 150, 0.22), rgba(8, 11, 20, 0.95)); }
.store-item__visual--cosmeticos { background: linear-gradient(160deg, rgba(200, 169, 107, 0.15), rgba(76, 201, 240, 0.08)); }
.store-item__visual--mount-lich,
.store-item__visual--legendary { background: linear-gradient(160deg, rgba(200, 169, 107, 0.22), rgba(56, 132, 180, 0.15)); }

.store-item__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  z-index: 1;
}

.store-item__badge--popular { color: #fcd34d; border: 1px solid rgba(252, 211, 77, 0.4); background: rgba(0, 0, 0, 0.5); }
.store-item__badge--nuevo { color: #7dd3fc; border: 1px solid rgba(125, 211, 252, 0.4); background: rgba(0, 0, 0, 0.5); }
.store-item__badge--limitado { color: #f9a8d4; border: 1px solid rgba(249, 168, 212, 0.35); background: rgba(0, 0, 0, 0.5); }
.store-item__badge--recomendado { color: var(--gold); border: 1px solid var(--border-gold); background: rgba(0, 0, 0, 0.5); }
.store-item__badge--legendario { color: #fde68a; border: 1px solid rgba(200, 169, 107, 0.55); background: rgba(40, 32, 16, 0.65); box-shadow: 0 0 12px rgba(200, 169, 107, 0.2); }

.store-item {
  position: relative;
}

.store-item__type {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: var(--space-3) var(--space-4) 0;
}

.store-item__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  padding: 0 var(--space-4);
  margin: 0.35rem 0;
}

.store-item__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 var(--space-4);
  line-height: 1.5;
  flex: 1;
}

.store-item__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  padding: var(--space-3) var(--space-4);
}

.store-item__cta {
  margin: 0 var(--space-4) var(--space-4);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.store-card {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.store-card__tag {
  align-self: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: var(--space-3);
}

.store-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: var(--space-2);
}

.store-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: var(--space-4);
  line-height: 1.55;
}

.store-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: var(--space-4);
}

.store-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.store-trust span::before {
  content: "✓ ";
  color: var(--success);
}

/* ─── Auth forms ─── */
.auth-layout {
  max-width: 440px;
  margin: 0 auto;
  padding: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.form-input:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: var(--glow-ice);
}

.password-field {
  position: relative;
  display: block;
  width: 100%;
}

.password-field .form-input {
  display: block;
  width: 100%;
  padding-right: 2.85rem;
}

.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color var(--duration-normal), background var(--duration-normal);
}

.password-field__toggle:hover,
.password-field__toggle:focus-visible {
  color: var(--ice-glow);
  background: rgba(76, 201, 240, 0.1);
  outline: none;
}

.password-field__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-field__icon--hide {
  display: none;
}

.password-field.is-visible .password-field__icon--show {
  display: none;
}

.password-field.is-visible .password-field__icon--hide {
  display: inline-flex;
}

.auth-forgot-link {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ice-glow);
}

.auth-forgot-link:hover {
  color: #fff;
}

.auth-form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ─── Armory / Guild ─── */
.armory-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.armory-header__portrait {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.3), var(--bg-elevated));
  border: 2px solid rgba(196, 30, 58, 0.5);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.armory-header__portrait--alliance {
  border-color: rgba(0, 112, 221, 0.5);
  background: linear-gradient(135deg, rgba(0, 112, 221, 0.25), var(--bg-elevated));
}

.armory-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
}

.gear-list {
  list-style: none;
}

.gear-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid rgba(76, 201, 240, 0.06);
  font-size: 0.9rem;
}

.gear-list li span:last-child {
  color: var(--gold);
  font-weight: 600;
}

/* ─── Activity feed list ─── */
.activity-list {
  list-style: none;
}

.activity-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(76, 201, 240, 0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.activity-list li strong { color: var(--ice-glow); }

.activity-list__time {
  color: var(--text-dim);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Faction bars */
.faction-bars {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  margin: var(--space-3) 0;
  border: 1px solid var(--border-ice);
}

.faction-bars__ally {
  background: linear-gradient(90deg, #0070dd, #3d8fd9);
}

.faction-bars__horde {
  background: linear-gradient(90deg, #c41e3a, #8b1a1a);
}

/* Realm — Facciones online (card protagonista) */
.dash-panel--factions {
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.dash-panel--factions #faction-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-panel__head--stack {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dash-panel__subtitle {
  margin: 0;
  color: rgba(186, 230, 253, 0.72);
  font-size: 0.88rem;
}

.faction-online {
  display: grid;
  gap: 1rem;
  flex: 1;
  align-content: stretch;
}

.faction-online__total {
  margin: 0;
  text-align: center;
  color: rgba(186, 230, 253, 0.82);
  font-size: 0.88rem;
}

.faction-online__total span {
  font-family: var(--font-display, Cinzel, serif);
  font-size: 1.35rem;
  color: #f8fafc;
  margin-right: 0.25rem;
}

.faction-online__split {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35);
}

.faction-online__split-horde,
.faction-online__split-alliance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.faction-online__split-horde {
  background: linear-gradient(90deg, #8b1a1a, #c41e3a, #ef4444);
  box-shadow: 0 0 16px rgba(196, 30, 58, 0.35);
}

.faction-online__split-alliance {
  background: linear-gradient(90deg, #0070dd, #3b82f6, #60a5fa);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.28);
}

.faction-online__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  flex: 1;
  min-height: 140px;
}

.faction-online__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(8, 17, 34, 0.62);
  min-height: 132px;
}

.faction-online__card--horde {
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.18), 0 10px 28px rgba(139, 26, 26, 0.12);
}

.faction-online__card--alliance {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18), 0 10px 28px rgba(37, 99, 235, 0.1);
}

.faction-online__icon-wrap {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
  padding: 0.35rem;
}

.faction-online__card--horde .faction-online__icon-wrap {
  background: radial-gradient(circle at 50% 40%, rgba(196, 30, 58, 0.22), rgba(91, 17, 24, 0.08));
  box-shadow: 0 0 28px rgba(196, 30, 58, 0.2);
}

.faction-online__card--alliance .faction-online__icon-wrap {
  background: radial-gradient(circle at 50% 40%, rgba(0, 112, 221, 0.22), rgba(29, 78, 216, 0.08));
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.18);
}

.faction-online__icon-wrap .faction-icon {
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

@media (max-width: 900px) {
  .faction-online__icon-wrap {
    width: 68px;
    height: 68px;
  }

  .faction-online__icon-wrap .faction-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 560px) {
  .faction-online__icon-wrap {
    width: 56px;
    height: 56px;
  }

  .faction-online__icon-wrap .faction-icon {
    width: 48px;
    height: 48px;
  }

  .faction-online__card {
    gap: 0.75rem;
    padding: 0.85rem;
  }
}

.faction-online__card--horde .faction-online__icon-wrap .faction-icon--fallback {
  background: linear-gradient(145deg, rgba(196, 30, 58, 0.95), rgba(91, 17, 24, 0.95));
}

.faction-online__card--alliance .faction-online__icon-wrap .faction-icon--fallback {
  background: linear-gradient(145deg, rgba(0, 112, 221, 0.95), rgba(29, 78, 216, 0.95));
}

.faction-icon--fallback {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display, Cinzel, serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}

.faction-online__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display, Cinzel, serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
}

.faction-online__card--horde .faction-online__icon {
  background: linear-gradient(145deg, rgba(196, 30, 58, 0.95), rgba(91, 17, 24, 0.95));
}

.faction-online__card--alliance .faction-online__icon {
  background: linear-gradient(145deg, rgba(0, 112, 221, 0.95), rgba(29, 78, 216, 0.95));
}

.faction-online__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.faction-online__label {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faction-online__value {
  font-family: var(--font-display, Cinzel, serif);
  font-size: clamp(2.35rem, 5vw, 3.15rem);
  line-height: 1;
  color: #f8fafc;
}

.faction-online__value small {
  font-size: 0.55em;
  opacity: 0.82;
}

.faction-online__meta {
  color: rgba(186, 230, 253, 0.72);
  font-size: 0.82rem;
}

.faction-online__foot {
  margin: 0;
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .faction-online__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Error / utility pages ─── */
.error-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--ice-glow), var(--ice-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: var(--space-3);
}

.error-page p {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto var(--space-6);
}

.loader-ring {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-5);
  border: 3px solid var(--border-ice);
  border-top-color: var(--ice);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--ice-glow); }

.panel-title {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .store-featured-grid,
  .store-categories-grid,
  .store-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .widget-strip { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-template-columns: 1fr; }
  .news-list-grid { grid-template-columns: repeat(2, 1fr); }
  .internal-grid--sidebar { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .steps-track { grid-template-columns: 1fr; }
  .steps-track::before { display: none; }
  .store-grid,
  .store-featured-grid,
  .store-categories-grid,
  .store-catalog-grid { grid-template-columns: repeat(2, 1fr); }

  .migration-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .migration-hero-card__icon {
    margin: 0 auto;
  }

  .migration-teaser {
    grid-template-columns: 1fr;
  }
  .podium,
  .guild-podium-compete { grid-template-columns: 1fr; }
  .podium__slot--1,
  .rank-podium__slot--1 { order: 1; }
}

/* ─── Events hub (noticias / foro) ─── */
.events-hub-section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(76, 201, 240, 0.1);
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.6), transparent);
}

.events-hub__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.events-hub__header h2 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0.35rem 0 0.5rem;
}

.events-hub__lead {
  max-width: 42rem;
  color: var(--text-muted);
  margin: 0;
}

.events-hub__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.events-hub__stats strong {
  color: var(--ice-glow);
  font-weight: 700;
}

.events-hub__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: var(--space-5);
  align-items: start;
}

.events-calendar {
  padding: var(--space-4);
}

.events-calendar__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin: 0 0 var(--space-3);
}

.events-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(130, 145, 170, 0.8);
  text-align: center;
}

.events-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.events-calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(160, 175, 200, 0.9);
  border-radius: 4px;
  border: 1px solid transparent;
}

.events-calendar__day.is-empty {
  visibility: hidden;
}

.events-calendar__day.has-event {
  color: #fff;
  font-weight: 600;
  background: rgba(76, 201, 240, 0.12);
  border-color: rgba(76, 201, 240, 0.35);
  box-shadow: 0 0 10px rgba(76, 201, 240, 0.15);
}

.events-calendar__hint {
  margin: var(--space-3) 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.events-hub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}

.events-hub__filters button {
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid rgba(76, 201, 240, 0.15);
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.events-hub__filters button:hover,
.events-hub__filters button.is-active {
  color: #fff;
  border-color: rgba(76, 201, 240, 0.4);
  background: rgba(76, 201, 240, 0.1);
}

.events-hub__block {
  margin-bottom: var(--space-5);
}

.events-hub__block-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(200, 169, 107, 0.85);
  margin: 0 0 var(--space-3);
}

.events-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}

.events-hub__empty {
  color: var(--text-muted);
  padding: var(--space-4);
  text-align: center;
}

.event-card {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border: 1px solid rgba(76, 201, 240, 0.12);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.event-card:hover {
  border-color: rgba(76, 201, 240, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(76, 201, 240, 0.06);
}

.event-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.event-card__type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.event-card__status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.event-card__status--active {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.event-card__status--upcoming {
  color: var(--ice-glow);
  background: rgba(76, 201, 240, 0.1);
  border-color: rgba(76, 201, 240, 0.3);
}

.event-card__status--ended {
  color: rgba(150, 160, 180, 0.9);
  background: rgba(40, 48, 64, 0.6);
  border-color: rgba(100, 110, 130, 0.25);
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.event-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-card__meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.event-card__meta span {
  color: var(--text-muted);
}

.event-card__meta strong {
  color: rgba(220, 228, 240, 0.95);
  font-weight: 600;
  text-align: right;
}

.forum-hub {
  padding: var(--space-5);
}

.forum-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.forum-hub__card {
  padding: var(--space-4);
}

.forum-hub__card h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.forum-hub__card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.forum-hub__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(200, 169, 107, 0.8);
}

.forum-index-head {
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.forum-index-head h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display);
  color: #fff;
}

.forum-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.forum-cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: var(--space-4);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.forum-cat-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.forum-cat-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 201, 240, 0.22);
  background: rgba(76, 201, 240, 0.08);
}

.forum-cat-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
}

.forum-cat-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.forum-cat-card__stats {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.forum-cat-card__stats strong {
  color: var(--ice-glow);
}

.forum-cat-card__latest {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(7, 14, 28, 0.55);
}

.forum-cat-card__latest--empty {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.forum-cat-card__latest-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.forum-cat-card__latest strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.forum-cat-card__latest-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.forum-cat-card__cta {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 169, 107, 0.85);
}

.forum-cat-card:hover .forum-cat-card__cta {
  color: var(--gold-light);
}

.forum-cat-card--featured {
  position: relative;
  grid-column: 1 / -1;
  border-color: rgba(212, 175, 55, 0.35);
  background:
    radial-gradient(ellipse 90% 120% at 0% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(12, 22, 40, 0.98), rgba(7, 14, 28, 0.95));
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.08);
}

.forum-cat-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.forum-board--staff {
  border-color: rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(ellipse 100% 140% at 0% 0%, rgba(212, 175, 55, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(6, 12, 22, 0.96));
}

.forum-index-head.forum-board--staff {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .forum-cat-card--featured {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.85rem 1.5rem;
    align-items: center;
  }

  .forum-cat-card--featured .forum-cat-card__head {
    grid-column: 1;
  }

  .forum-cat-card--featured .forum-cat-card__stats {
    grid-column: 2;
    flex-direction: column;
    align-items: flex-end;
  }

  .forum-cat-card--featured .forum-cat-card__latest {
    grid-column: 1 / -1;
  }

  .forum-cat-card--featured .forum-cat-card__cta {
    grid-column: 2;
    justify-self: end;
  }
}

.article-hero-image {
  min-height: 240px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(76, 201, 240, 0.15);
}

.forum-category-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.forum-category-head__copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.forum-category-head__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(200, 169, 107, 0.28);
  background: rgba(200, 169, 107, 0.08);
}

.forum-category-head h2 {
  margin: 0.25rem 0;
  font-family: var(--font-display);
  color: #fff;
}

.forum-category-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.forum-category-breadcrumb {
  margin-bottom: var(--space-4);
}

.forum-topic-link {
  color: #f8fafc;
  font-weight: 700;
}

.forum-topic-link:hover {
  color: var(--ice-glow);
}

.forum-topic {
  padding: var(--space-6);
}

.forum-topic__head h1 {
  margin-top: 0.9rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.forum-topic__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-topic__replies {
  margin-top: var(--space-5);
}

.forum-reply-list {
  display: grid;
  gap: 1rem;
}

.forum-reply {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 14px;
  background: rgba(7, 14, 28, 0.72);
}

.forum-reply--first {
  border-color: rgba(200, 169, 107, 0.3);
}

.forum-reply__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.forum-reply__meta strong {
  color: #fff;
}

.forum-reply__body {
  color: rgba(232, 237, 245, 0.88);
}

.forum-topic-empty {
  padding: var(--space-7);
  text-align: center;
}

.forum-topic-empty h1 {
  margin: 0.75rem 0 0.75rem;
  color: #fff;
  font-family: var(--font-display);
}

.forum-topic-empty p {
  max-width: 40rem;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

/* ─── Foro — portada reorganizada ─── */
.forum-hero__lead {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.forum-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.forum-create-hint {
  margin-top: 0.65rem;
  color: var(--gold-light);
}

.forum-page {
  display: grid;
  gap: 1.25rem;
}

.forum-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.25rem;
  align-items: start;
}

.forum-page__main {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.forum-news-strip {
  padding: 1.15rem 1.25rem;
}

.forum-news-strip__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.forum-news-strip__head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
}

.forum-news-strip__list {
  display: grid;
  gap: 0;
}

.forum-news-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(76, 201, 240, 0.08);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

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

.forum-news-item:hover {
  background: rgba(76, 201, 240, 0.05);
  padding-left: 0.35rem;
}

.forum-news-item__thumb {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  background-color: rgba(8, 12, 22, 0.85);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(76, 201, 240, 0.12);
  display: grid;
  place-items: center;
}

.forum-news-item__thumb--badge {
  background: linear-gradient(145deg, rgba(12, 18, 32, 0.95), rgba(8, 10, 18, 0.98));
}

.forum-news-item__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.forum-news-item__tag {
  display: inline-flex;
  width: fit-content;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  border: 1px solid rgba(76, 201, 240, 0.22);
  color: var(--ice);
}

.forum-news-item__tag--announce {
  border-color: rgba(200, 169, 107, 0.35);
  color: var(--gold-light);
  background: rgba(200, 169, 107, 0.08);
}

.forum-news-item__tag--event {
  border-color: rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}

.forum-news-item__tag--guide {
  border-color: rgba(74, 222, 128, 0.28);
  color: #86efac;
}

.forum-news-item__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.3;
}

.forum-news-item__excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.forum-news-item__meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.forum-news-strip__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.forum-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.forum-toolbar__actions .btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

.forum-toolbar__copy strong {
  display: block;
  color: #fff;
  margin-bottom: 0.15rem;
}

.forum-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-section-group__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.82);
}

.forum-category-list {
  display: grid;
  gap: 0.65rem;
}

.forum-category-list--featured {
  margin-bottom: 0.65rem;
}

.forum-category-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.6fr) auto minmax(160px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(76, 201, 240, 0.12);
  background: linear-gradient(145deg, rgba(10, 14, 24, 0.92), rgba(8, 10, 18, 0.98));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.forum-category-row:hover {
  border-color: rgba(125, 211, 252, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.forum-category-row--official {
  border-color: rgba(200, 169, 107, 0.38);
  background: linear-gradient(145deg, rgba(200, 169, 107, 0.1), rgba(8, 10, 18, 0.98));
  box-shadow: inset 0 0 0 1px rgba(200, 169, 107, 0.08);
}

.forum-category-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.35rem;
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid rgba(76, 201, 240, 0.14);
}

.forum-category-row--official .forum-category-icon {
  background: rgba(200, 169, 107, 0.12);
  border-color: rgba(200, 169, 107, 0.28);
}

.forum-category-main h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.forum-category-main p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.forum-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 107, 0.35);
  color: var(--gold-light);
  background: rgba(200, 169, 107, 0.1);
}

.forum-category-stats {
  display: grid;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.forum-category-stats strong {
  color: var(--ice-glow);
}

.forum-category-last {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  font-size: 0.78rem;
}

.forum-category-last__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.forum-category-last strong {
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.forum-category-last span:last-child,
.forum-category-last__empty {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.forum-activity {
  padding: 1rem 1.1rem;
  position: sticky;
  top: 5.5rem;
}

.forum-activity__head h2 {
  margin: 0.25rem 0 0.75rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
}

.forum-activity__list {
  display: grid;
  gap: 0.65rem;
}

.forum-activity__item {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(76, 201, 240, 0.08);
  background: rgba(8, 12, 22, 0.55);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.forum-activity__item:hover {
  background: rgba(76, 201, 240, 0.06);
  border-color: rgba(76, 201, 240, 0.18);
}

.forum-activity__cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice);
}

.forum-activity__item strong {
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.35;
}

.forum-activity__meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.forum-activity__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.forum-topic-table .status-pill {
  font-size: 0.68rem;
}

@media (max-width: 992px) {
  .forum-page__layout {
    grid-template-columns: 1fr;
  }

  .forum-activity {
    position: static;
  }

  .forum-category-row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon main"
      "icon stats"
      "last last";
  }

  .forum-category-icon { grid-area: icon; }
  .forum-category-main { grid-area: main; }
  .forum-category-stats { grid-area: stats; }
  .forum-category-last { grid-area: last; margin-top: 0.35rem; padding-top: 0.5rem; border-top: 1px solid rgba(76, 201, 240, 0.08); }
}

@media (max-width: 640px) {
  .forum-news-item {
    grid-template-columns: 1fr;
  }

  .forum-news-item__thumb {
    width: 100%;
    height: 120px;
  }

  .forum-hero__actions,
  .forum-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .forum-toolbar__actions .btn,
  .forum-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .events-hub__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-list-grid,
  .store-grid,
  .store-featured-grid,
  .store-categories-grid,
  .store-catalog-grid,
  .internal-grid--2,
  .internal-grid--3,
  .internal-grid--4 {
    grid-template-columns: 1fr;
  }

  .armory-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .armory-header__portrait { margin-inline: auto; }
}

/* Reino — banner de estado principal */
.realm-status-banner {
  margin-bottom: 1.5rem;
}

.realm-status-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 1.5rem;
  border-width: 1px;
}

.realm-status-banner__inner--online {
  border-color: rgba(110, 231, 160, 0.35);
  background: linear-gradient(135deg, rgba(16, 40, 28, 0.85), rgba(8, 12, 22, 0.92));
  box-shadow: 0 0 32px rgba(110, 231, 160, 0.08);
}

.realm-status-banner__inner--offline {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, rgba(40, 16, 16, 0.85), rgba(8, 12, 22, 0.92));
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.08);
}

.realm-status-banner__indicator {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.realm-status-banner__inner--online .realm-status-banner__indicator {
  border-color: rgba(110, 231, 160, 0.4);
  background: rgba(110, 231, 160, 0.08);
}

.realm-status-banner__inner--offline .realm-status-banner__indicator {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.realm-status-banner__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 16px rgba(110, 231, 160, 0.65);
}

.realm-status-banner__inner--offline .realm-status-banner__dot {
  background: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.55);
}

.realm-status-banner__title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.realm-status-banner__inner--online .realm-status-banner__title {
  color: #b8f5d0;
}

.realm-status-banner__inner--offline .realm-status-banner__title {
  color: #fca5a5;
}

.realm-status-banner__meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.realm-status-banner__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.realm-status-banner__stat {
  text-align: center;
  min-width: 5.5rem;
}

.realm-status-banner__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ice-glow);
}

.realm-status-banner__stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.widget-strip--secondary {
  grid-template-columns: repeat(3, 1fr);
}

.widget-mini--secondary .widget-mini__value {
  font-size: 1.35rem;
}

@media (max-width: 768px) {
  .realm-status-banner__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .realm-status-banner__indicator {
    margin-inline: auto;
  }

  .realm-status-banner__stats {
    justify-content: center;
  }

  .widget-strip--secondary {
    grid-template-columns: 1fr;
  }
}

/* Reino — CTA hacia Armory (sin mezclar rankings en estado live) */
.realm-armory-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(135deg, rgba(20, 12, 8, 0.85), rgba(12, 18, 28, 0.9));
}

.realm-armory-cta__copy {
  flex: 1 1 18rem;
}

.realm-armory-cta__copy p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  max-width: 38rem;
}

.realm-armory-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Rankings — intro funcional vs Salon de la Fama */
.rankings-intro {
  margin-bottom: 1.35rem;
}

.rankings-intro__text {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.rankings-intro__hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.rankings-intro__hint a,
.rankings-footnote a {
  color: var(--ice-glow);
}

.rankings-footnote {
  margin-top: 1rem;
}

/* ─── Crear tema (modal) ─── */
body.forum-create-modal-open {
  overflow: hidden;
}

.forum-create-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

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

.forum-create-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(4px);
}

.forum-create-modal__panel {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.forum-create-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.forum-create-modal__head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  color: #fff;
}

.forum-create-modal__close {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.forum-create-form {
  display: grid;
  gap: 1rem;
}

.forum-create-form__field {
  display: grid;
  gap: 0.45rem;
}

.forum-create-form__field > span {
  color: rgba(226, 232, 240, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.forum-create-form__field select,
.forum-create-form__field input[type="text"],
.forum-create-form__field input[type="file"],
.forum-create-form__field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(8, 12, 22, 0.92);
  color: #fff;
  padding: 0.65rem 0.75rem;
}

.forum-create-form__field textarea {
  resize: vertical;
  min-height: 160px;
}

.forum-create-form__field--file input[type="file"] {
  min-height: 44px;
  cursor: pointer;
}

.forum-create-form__feedback {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.9rem;
}

.forum-create-layout-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.forum-create-layout-pick {
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(8, 12, 22, 0.88);
  color: rgba(226, 232, 240, 0.88);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.forum-create-layout-pick.is-active {
  border-color: rgba(200, 169, 107, 0.55);
  background: rgba(200, 169, 107, 0.14);
  color: #fff;
}

.forum-create-image-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.forum-create-image-preview__frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(6, 12, 22, 0.85);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.forum-create-image-preview__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.forum-create-image-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.forum-create-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.forum-create-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1300;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(8, 14, 24, 0.96);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.forum-create-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.forum-create-toast--success {
  border-color: rgba(34, 197, 94, 0.45);
}

.forum-create-toast--warn {
  border-color: rgba(251, 191, 36, 0.45);
}

.forum-topic__body--side {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.forum-topic-media {
  margin: 0;
}

.forum-topic-media img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.14);
}

.forum-topic-media--top {
  margin-bottom: 1rem;
}

.forum-topic-media--bottom {
  margin-top: 1.25rem;
}

.forum-topic-media--grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.forum-topic-media--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.forum-topic-media--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forum-topic-media__cell {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(6, 12, 22, 0.75);
}

.forum-topic-media__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.forum-topic-media--top img,
.forum-topic-media--cover img {
  max-height: 420px;
  object-fit: contain;
  background: rgba(6, 12, 22, 0.75);
}

.forum-topic-media--cover {
  margin: -1rem -1rem 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.forum-topic-media--cover img {
  max-height: 280px;
  width: 100%;
  object-fit: cover;
}

.forum-topic-media--pos-left img { object-position: left center; }
.forum-topic-media--pos-right img { object-position: right center; }
.forum-topic-media--pos-top img { object-position: center top; }
.forum-topic-media--pos-bottom img { object-position: center bottom; }
.forum-topic-media--pos-center img { object-position: center center; }

.forum-topic-media--side img {
  max-height: 320px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .forum-create-modal__panel {
    max-height: 94vh;
  }

  .forum-topic__body--side {
    grid-template-columns: 1fr;
  }
}

/* Soporte y reportes */
.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.support-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.support-list__item strong {
  color: #fff;
  font-weight: 600;
  flex: 1 1 160px;
}

.support-list__date {
  display: block;
  margin: -0.35rem 0 0.5rem;
  padding-left: 0.85rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.support-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(120, 170, 255, 0.12);
  color: #b8d4ff;
  border: 1px solid rgba(120, 170, 255, 0.25);
}

.support-status-badge--neutral {
  background: rgba(200, 170, 90, 0.12);
  color: var(--gold-light, #e8c872);
  border-color: rgba(200, 170, 90, 0.28);
}

.forum-category-head__hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-required-panel {
  padding: 1.35rem;
  text-align: center;
}

.auth-required-panel .dash-inline-actions {
  display: grid;
  gap: 0.65rem;
}

.evidence-preview img {
  border-radius: var(--radius-md, 8px);
  max-width: 100%;
}

.support-form-panel .dash-inline-actions {
  display: grid;
  gap: 0.65rem;
}

.realm-status-banner__submeta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.realm-rates-wrap {
  margin-bottom: var(--space-6);
}

.realm-rates-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.realm-rate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  text-align: center;
  min-height: 88px;
}

.realm-rate-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.realm-rate-card__value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ice-glow);
}

@media (max-width: 768px) {
  .realm-rates-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
