/* ═══════════════════════════════════════════════════════════════
   Mobile / responsive — solo max-width (desktop intacto)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: clip;
  }

  .site-header,
  .header-inner,
  .container,
  .internal-grid,
  .widget-strip,
  .news-grid,
  .news-list-grid,
  .store-grid,
  .store-layout,
  .store-featured-grid,
  .store-categories-grid,
  .store-catalog-grid,
  .forum-page__layout,
  .forum-hub__grid,
  .forum-hub__stats,
  .support-layout,
  .events-hub__layout,
  .guild-grid,
  .guild-podium,
  .guild-podium-compete,
  .guild-detail-head,
  .armory-grid,
  .armory-stats-grid,
  .hero,
  .hero__content,
  .hero__aside,
  .hero__cta-row,
  .hero-deck__paths,
  .realm-status-bar__inner,
  .realm-status-bar__left,
  .realm-status-bar__right,
  .platform-actions__inner,
  .page-actions,
  .internal-toolbar,
  .migration-hero-card,
  .account-hero,
  .forum-category-row {
    min-width: 0;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ─── Header y menú móvil ─── */
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
    min-height: var(--nav-height, 72px);
  }

  .header-inner .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand__text {
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    order: 2;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(76, 201, 240, 0.2);
    background: rgba(8, 14, 26, 0.85);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--nav-height, 72px);
    z-index: 1045;
    background: rgba(2, 6, 14, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .nav-backdrop[hidden] {
    display: none !important;
  }

  body.nav-menu-open {
    overflow: hidden;
  }

  body > .main-nav,
  .header-inner .main-nav {
    position: fixed;
    top: var(--nav-height, 72px);
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1050;
    display: flex !important;
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 16px 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 0;
    max-height: calc(100dvh - var(--nav-height, 72px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(76, 201, 240, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.98), rgba(4, 8, 16, 0.96));
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  body > .main-nav.is-open,
  .header-inner .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    align-items: center !important;
  }

  body > .main-nav .main-nav__links,
  .header-inner .main-nav .main-nav__links {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    flex-shrink: 0;
    align-items: center;
  }

  body > .main-nav .nav-actions,
  .header-inner .main-nav .nav-actions {
    display: flex !important;
    flex-shrink: 0;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0.75rem auto 0;
    padding: 0.85rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(76, 201, 240, 0.14);
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  body > .main-nav .nav-actions::before,
  .header-inner .main-nav .nav-actions::before {
    display: none;
  }

  .main-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.2rem;
    padding: 0;
    margin: 0;
  }

  .main-nav__links > a.nav-link,
  .main-nav__links .nav-item__trigger {
    width: 100%;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
    border-radius: 8px;
  }

  .main-nav__links > a.nav-link .nav-link__icon {
    margin-inline: 0;
  }

  .main-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .main-nav .nav-item__trigger {
    width: 100%;
    justify-content: center;
    gap: 0.45rem;
  }

  .main-nav .nav-item__chevron {
    margin-left: 0;
  }

  .main-nav .nav-dropdown {
    position: static;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    padding: 0.35rem 0;
    border-left: none;
    border-top: 1px solid rgba(76, 201, 240, 0.14);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    animation: none;
    text-align: center;
  }

  .main-nav .nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .nav-rune-sep {
    display: none !important;
  }

  .header-inner .nav-actions {
    width: 100%;
    max-width: 360px;
    margin: 0.75rem auto 0;
    padding: 0.85rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(76, 201, 240, 0.14);
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .header-inner .nav-actions::before {
    display: none;
  }

  .nav-actions .btn,
  .nav-actions .nav-user-menu,
  .nav-actions .nav-cart-link {
    width: 100%;
  }

  .nav-actions .btn {
    min-height: 2.75rem;
    justify-content: center;
    text-align: center;
  }

  .nav-user-menu {
    position: relative;
    width: 100%;
  }

  body > .main-nav .nav-user-trigger,
  .main-nav.is-open .nav-user-trigger {
    width: 100%;
    justify-content: center !important;
    min-height: 2.75rem;
    text-align: center;
    padding-inline: 0.75rem;
  }

  body > .main-nav .nav-user-trigger__copy,
  .main-nav.is-open .nav-user-trigger__copy {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    max-width: none;
    text-align: center;
  }

  .nav-user-trigger__name,
  .nav-user-trigger__role {
    text-align: center;
    max-width: 100%;
  }

  .nav-user-dropdown {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px solid rgba(76, 201, 240, 0.15);
    text-align: center;
  }

  .nav-user-dropdown__header {
    align-items: center;
    text-align: center;
  }

  .nav-user-dropdown__link,
  .nav-user-dropdown__logout {
    justify-content: center;
    text-align: center;
  }

  .nav-actions .nav-charge-btn,
  .nav-actions .nav-cart-link {
    justify-content: center;
    text-align: center;
  }

  .nav-user-dropdown[hidden] {
    display: none !important;
  }

  .header-realm-pill {
    order: 1;
    flex-shrink: 0;
  }

  /* Admin shop header sin hamburguesa */
  .admin-shop-page .header-inner,
  .internal-page .header-inner:has(.main-nav:not(:has(.nav-toggle))) {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .admin-shop-page .main-nav,
  .internal-page .header-inner .main-nav:only-child {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .admin-shop-page .nav-actions,
  .admin-shop-page .main-nav .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(76, 201, 240, 0.12);
  }

  .admin-shop-page .nav-actions .btn,
  .admin-shop-page .admin-store-api-badge {
    width: 100%;
    text-align: center;
  }

  /* ─── Contenido interno ─── */
  .internal-main {
    padding-top: calc(var(--nav-height, 72px) + 0.5rem);
  }

  .internal-hero {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .internal-hero h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .internal-grid--sidebar {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .dash-sidebar {
    position: static;
    top: auto;
    padding: 1rem;
  }

  .dash-sidebar .dash-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .dash-sidebar .dash-nav > li {
    flex: 1 1 auto;
    min-width: calc(50% - 0.35rem);
  }

  body.internal-page[data-page="dashboard"] .dash-sidebar .dash-nav > li,
  body.internal-page[data-page="admin"] .dash-sidebar .dash-nav > li,
  body.internal-page[data-page="admin"] .dash-nav--secondary > li {
    width: 100%;
    min-width: 100%;
    flex: 1 1 auto;
  }

  body.internal-page[data-page="dashboard"] .dash-sidebar .dash-nav,
  body.internal-page[data-page="admin"] .dash-sidebar .dash-nav,
  body.internal-page[data-page="admin"] .dash-nav--secondary {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
  }

  body.internal-page[data-page="admin"] .admin-sidebar nav {
    width: 100%;
  }

  .dash-sidebar .dash-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    text-align: center;
    font-size: 0.72rem;
  }

  .dash-nav__group {
    width: 100%;
    flex: 0 0 100%;
    margin-top: 0.35rem;
    text-align: center;
    letter-spacing: 0.12em;
  }

  body.internal-page[data-page="dashboard"] {
    overflow-x: hidden;
  }

  body.internal-page[data-page="dashboard"] .internal-content > .container,
  body.internal-page[data-page="dashboard"] .internal-grid--sidebar,
  body.internal-page[data-page="dashboard"] .dash-section,
  body.internal-page[data-page="dashboard"] .dash-panel {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body.internal-page[data-page="dashboard"] .dash-sidebar__user {
    text-align: center;
  }

  body.internal-page[data-page="dashboard"] .dash-nav {
    justify-content: center;
  }

  body.internal-page[data-page="dashboard"] .dash-nav > li {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  body.internal-page[data-page="dashboard"] .dash-nav a,
  body.internal-page[data-page="admin"] .dash-nav a {
    width: 100%;
    justify-content: center;
    gap: 0;
    border-radius: 999px;
    border: 1px solid rgba(76, 201, 240, 0.18);
    background: rgba(8, 14, 26, 0.65);
    white-space: nowrap;
    border-left: none !important;
  }

  body.internal-page[data-page="dashboard"] .dash-nav a.is-active,
  body.internal-page[data-page="admin"] .dash-nav a.is-active,
  body.internal-page[data-page="admin"] .dash-nav a:hover {
    border-color: rgba(125, 211, 252, 0.45);
    background: rgba(56, 189, 248, 0.14);
    border-left: none !important;
  }

  body.internal-page[data-page="dashboard"] .dash-panel__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  body.internal-page[data-page="dashboard"] .dash-panel__head--compact {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  body.internal-page[data-page="dashboard"] .dash-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.internal-page[data-page="dashboard"] .dash-inline-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.internal-page[data-page="dashboard"] .premium-pack-grid {
    grid-template-columns: 1fr !important;
  }

  body.internal-page[data-page="admin"] {
    overflow-x: hidden;
  }

  body.internal-page[data-page="admin"] .internal-content > .container,
  body.internal-page[data-page="admin"] .internal-grid--sidebar {
    overflow-x: hidden;
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

  .brand__copy,
  .brand__text {
    min-width: 0;
  }

  .brand__sub {
    display: none;
  }

  h1,
  h2,
  h3,
  .char-card__name,
  .forum-topic-link,
  .forum-topic-title,
  .news-card__title,
  .store-item__name,
  .store-card__title,
  .guild-card__name,
  .player-name,
  .rank-row__label,
  .brand__text,
  .footer-grid a,
  .cooldown-note,
  .account-hero__sub {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .btn,
  .status-pill,
  .rank-badge-top,
  .section__eyebrow,
  .widget-mini__label,
  .store-item__badge {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .widget-strip,
  .news-grid,
  .news-hub,
  .news-hub__featured,
  .news-hub__side,
  .news-list-grid,
  .news-featured,
  .forum-hub__stats,
  .forum-hub__grid,
  .support-layout,
  .support-categories,
  .events-hub__layout,
  .guild-grid,
  .guild-podium,
  .guild-podium-compete,
  .guild-detail-head,
  .armory-grid,
  .armory-stats-grid,
  .store-grid,
  .store-layout,
  .store-featured-grid,
  .store-categories-grid,
  .store-catalog-grid,
  .play-layout,
  .play-grid,
  .quick-links,
  .stats-grid,
  .realms-grid,
  .migration-hero-card,
  .realm-status-bar__inner,
  .realm-status-bar__left,
  .realm-status-bar__right {
    grid-template-columns: 1fr !important;
  }

  .realm-status-bar__inner,
  .realm-status-bar__left,
  .realm-status-bar__right,
  .hero__actions,
  .rank-tabs,
  .page-actions,
  .internal-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rank-tabs button,
  .page-actions .btn,
  .internal-toolbar .btn {
    width: 100%;
  }

  .hero {
    min-height: auto !important;
    padding-top: 0;
    padding-bottom: 2rem;
  }

  .hero__inner {
    min-height: auto !important;
    padding-top: calc(var(--nav-height, 72px) + 1rem) !important;
    padding-bottom: 1rem !important;
    justify-content: flex-start;
  }

  .hero__layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 1rem !important;
    min-height: auto !important;
  }

  .hero__content,
  .hero__aside,
  .hero__live-bar--dock {
    grid-column: 1 !important;
  }

  .hero__content {
    grid-row: 1 !important;
    min-height: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }

  .hero__main-stack,
  .hero__intro,
  .hero__cta {
    gap: 1rem !important;
    max-width: 100% !important;
  }

  .hero__aside {
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    min-height: auto !important;
  }

  .hero__aside .hero-spotlight,
  .hero__aside .realm-panel {
    width: 100%;
    min-width: 0;
  }

  .hero__live-bar--dock {
    grid-row: 3 !important;
    margin-top: 0 !important;
  }

  .hero__live-bar,
  .hero__live-strip.hero__live-bar {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    min-height: auto;
    padding: 0.9rem 1rem !important;
  }

  .hero__live-label {
    white-space: normal;
    justify-content: center;
  }

  .hero__highlights {
    padding: 0.9rem 1rem !important;
    gap: 0.75rem !important;
  }

  .hero__highlights li {
    padding-left: 1.1rem;
    font-size: 0.92rem !important;
    line-height: 1.55;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.85rem) !important;
    line-height: 1.05;
  }

  .hero__lead {
    max-width: 100% !important;
    font-size: 0.98rem !important;
    line-height: 1.65;
  }

  .hero__cta-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .btn--hero-primary,
  .hero__cta-row .btn--lg {
    min-height: 3.25rem !important;
    width: 100%;
  }

  .realm-panel,
  .hero-spotlight {
    padding: 1rem !important;
  }

  .realm-panel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .realm-panel__status {
    width: 100%;
  }

  .realm-panel__name {
    width: 100%;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.2;
  }

  .realm-panel__online-line {
    justify-content: flex-start;
    text-align: left;
    padding: 0.75rem 0;
  }

  .realm-panel__stats {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .realm-panel__stats li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.65rem 0.75rem;
    background: rgba(4, 10, 22, 0.55);
    border: 1px solid rgba(76, 201, 240, 0.12);
    border-radius: 8px;
    align-items: start;
  }

  .realm-panel__label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-align: left;
  }

  .realm-panel__value {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .realm-panel__value--gold {
    font-size: 0.95rem;
  }

  .realm-rate-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 201, 240, 0.22);
    background: rgba(76, 201, 240, 0.08);
    font-family: var(--font-body, "Source Sans 3", sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ice-glow, #bae6fd);
    white-space: nowrap;
  }

  #realm-rates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .realm-panel__pop-label {
    text-align: left;
    font-size: 0.82rem;
  }

  .news-hub__row,
  .news-hub__row--has-thumb {
    grid-template-columns: 1fr !important;
  }

  .news-hub__featured,
  .news-hub__row-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-hub__featured,
  .news-hub__row,
  .news-hub__row--has-thumb,
  .news-hub__featured-body,
  .news-hub__row-body {
    min-width: 0;
  }

  .news-hub__featured-art,
  .news-hub__row-thumb {
    width: 100% !important;
    min-height: 160px;
  }

  .play-layout,
  .play-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  #admin-root {
    min-width: 0;
    overflow-x: hidden;
  }

  /* ─── Tablas admin (scroll controlado) ─── */
  .data-table-wrap {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.75rem;
  }

  .data-table-wrap,
  .rank-table-wrap,
  .dash-tickets-table-wrap,
  .guild-rank-table-wrap,
  .admin-table-wrap,
  .admin-pack-table-wrap,
  .forum-topic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .data-table {
    min-width: 520px;
    font-size: 0.82rem;
  }

  .rank-table,
  .dash-tickets-table,
  .guild-rank-table,
  .forum-topic-table,
  .admin-table,
  .admin-pack-items-table {
    min-width: 560px;
  }

  .data-table th,
  .data-table td {
    padding: 0.55rem 0.65rem;
  }

  .admin-table--compact {
    min-width: 480px;
  }

  /* ─── Admin tienda ─── */
  .admin-tienda-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
  }

  .admin-tienda-tab {
    flex: 0 1 auto;
    min-height: 44px;
    text-align: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 201, 240, 0.18);
    background: rgba(8, 14, 26, 0.65);
  }

  .admin-tienda-panel__head,
  .admin-store__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .admin-store-toolbar,
  .admin-tienda-filters,
  .admin-ops-toolbar,
  .admin-list-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .admin-ops-search,
  .admin-ops-search--wide {
    width: 100%;
  }

  .admin-filter-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  body.internal-page[data-page="admin"] .admin-filter-chips,
  body.internal-page[data-page="admin"] .admin-ops-date-chips {
    justify-content: center;
    width: 100%;
  }

  .admin-store-toolbar .form-input,
  .admin-tienda-filters .form-input,
  .admin-ops-toolbar .form-input,
  .admin-store-toolbar .btn,
  .admin-tienda-filters .btn,
  .admin-ops-toolbar .btn {
    width: 100%;
    max-width: none;
  }

  .admin-store__grid2,
  .admin-pack-form__grid,
  .admin-pack-form__grid--tight,
  .admin-shop-preview__card,
  .admin-shop-step,
  .admin-order-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-shop-preview {
    margin-left: 0 !important;
  }

  .admin-pack-page__header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .admin-pack-import-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-pack-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .admin-pack-items-table {
    min-width: 560px;
  }

  .admin-pack-td-actions {
    white-space: nowrap;
  }

  .admin-pack-td-actions .btn {
    min-height: 36px;
    padding: 0.35rem 0.5rem;
  }

  .admin-create-mode-picker {
    grid-template-columns: 1fr !important;
  }

  .admin-shop-create-layout .admin-create-tabs {
    flex-wrap: wrap;
  }

  /* ─── Tienda pública — centrado tipo app ─── */
  body.internal-page[data-page="store"] {
    overflow-x: hidden;
  }

  body.internal-page[data-page="store"] .internal-hero,
  body.internal-page[data-page="store"] .internal-hero .container {
    text-align: center;
  }

  body.internal-page[data-page="store"] .internal-hero p {
    margin-inline: auto;
    max-width: 36rem;
  }

  .store-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .store-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .store-layout__rail {
    padding: 1rem;
    text-align: center;
  }

  .store-rail__wallet,
  .store-rail__cart-panel {
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .store-rail__wallet-label,
  .store-rail__wallet-value,
  .store-rail__wallet-hint,
  .store-rail__catalog-label {
    text-align: center;
  }

  .store-rail__wallet-value {
    font-size: 1.75rem;
  }

  .store-rail__wallet .btn,
  .store-rail__vote {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .store-rail__cart-panel {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
  }

  .store-cat-nav--rail {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .store-cat-nav--rail .store-cat-nav__link {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    border-left: none;
    border-radius: 8px;
    border: 1px solid rgba(76, 201, 240, 0.12);
    background: rgba(6, 12, 22, 0.55);
  }

  .store-cat-nav--rail .store-cat-nav__count {
    margin-left: 0.35rem;
    text-align: center;
  }

  .store-layout__main {
    text-align: center;
  }

  .store-section-head,
  .store-section-head--split,
  .store-category-section__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }

  .store-section-head__hint,
  .store-category-section__copy,
  .store-category-section__copy p {
    text-align: center;
    margin-inline: auto;
  }

  .store-category-section__intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .store-category-section__actions {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .store-category-section {
    padding: 1rem;
    text-align: center;
  }

  .store-category-section__grid {
    text-align: left;
  }

  .store-premium-list,
  .store-block--premium {
    text-align: center;
  }

  body.internal-page[data-page="realm"] .gear-list li {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
  }

  body.internal-page[data-page="realm"] .gear-list li span:last-child {
    font-size: 0.82rem;
    color: var(--ice-glow, #bae6fd);
  }

  .store-category-overview {
    grid-template-columns: 1fr;
  }

  .store-category-section__intro {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .store-category-section__actions {
    width: 100%;
    align-items: stretch;
  }

  .store-category-section__grid .store-item,
  .store-category-section__grid .store-card {
    min-height: auto;
    max-height: none;
  }

  .store-featured-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .store-featured-card__foot .btn {
    width: 100%;
    min-height: 44px;
  }

  .store-card__actions .btn {
    min-height: 44px;
  }

  .store-card__actions {
    grid-template-columns: 1fr;
  }

  .store-pack-preview__name {
    -webkit-line-clamp: 2;
  }

  /* ─── Modales ─── */
  .store-detail-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .store-detail-modal__panel {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 24px);
    border-radius: 12px 12px 0 0;
  }

  .store-detail-modal__head {
    padding: 1rem 1rem 0.65rem;
  }

  .store-detail-modal__body {
    padding: 0.75rem 1rem 1rem;
  }

  .store-detail-modal__foot {
    padding: 0 1rem 1rem;
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.95) 24%);
  }

  .store-detail-modal__image {
    max-height: 180px;
  }

  .forum-create-modal,
  .admin-order-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .forum-create-modal__panel,
  .admin-order-modal__panel {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: 0;
    border-radius: 12px 12px 0 0;
  }

  #admin-detail-modal .forum-create-modal__panel,
  #admin-detail-modal .admin-detail-panel,
  .admin-modal__panel {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  /* ─── Formularios y botones ─── */
  .form-input,
  .admin-store input,
  .admin-store textarea,
  .admin-store select {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  textarea.form-input {
    min-height: 100px;
  }

  /* Campo contraseña: ojito alineado y área táctil 44px */
  .password-field {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: rgba(8, 11, 20, 0.8);
    border: 1px solid var(--border-ice);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
  }

  .password-field:focus-within {
    border-color: var(--ice);
    box-shadow: var(--glow-ice);
  }

  .password-field .form-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0.75rem 0.65rem 0.75rem 1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-height: 44px;
    font-size: 16px;
  }

  .password-field .form-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
  }

  .password-field__toggle {
    position: static;
    transform: none;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 44px;
    height: auto;
    align-self: stretch;
    border-radius: 0;
    border-left: 1px solid rgba(76, 201, 240, 0.14);
    background: rgba(76, 201, 240, 0.06);
    color: var(--ice-glow);
  }

  .password-field__toggle:active {
    background: rgba(76, 201, 240, 0.14);
  }

  .password-field__icon svg {
    width: 22px;
    height: 22px;
  }

  .auth-layout {
    padding: 1.25rem 1rem;
  }

  .btn--block,
  .btn--lg {
    width: 100%;
  }

  .platform-actions__inner,
  .page-actions,
  .internal-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .platform-actions__inner .btn {
    width: 100%;
    min-height: 44px;
  }

  /* ─── Footer ─── */
  .site-footer--full .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-grid a {
    word-break: break-word;
  }

  /* ─── Hero home ─── */
  .hero__cta-row,
  .hero-deck__paths {
    grid-template-columns: 1fr;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 430px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero__inner {
    padding-top: calc(var(--nav-height, 72px) + 0.75rem) !important;
  }

  .hero__title {
    font-size: clamp(1.8rem, 9.5vw, 2.35rem) !important;
  }

  .hero__highlights {
    padding: 0.8rem 0.85rem !important;
  }

  .hero__live-bar,
  .hero__live-strip.hero__live-bar,
  .realm-panel,
  .hero-spotlight,
  .play-box,
  .news-hub__panel {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  body.internal-page[data-page="dashboard"] .dash-sidebar .dash-nav > li,
  body.internal-page[data-page="admin"] .dash-sidebar .dash-nav > li,
  body.internal-page[data-page="admin"] .dash-nav--secondary > li {
    min-width: 100%;
    width: 100%;
  }

  body.internal-page[data-page="admin"] .admin-tienda-tab {
    flex: 0 1 auto;
    width: auto;
    justify-content: center;
  }

  .data-table,
  .rank-table,
  .dash-tickets-table,
  .guild-rank-table,
  .forum-topic-table,
  .admin-table,
  .admin-pack-items-table {
    min-width: 480px;
  }

  .widget-mini__value {
    font-size: 1.45rem;
  }

  .store-item__badge {
    font-size: 0.58rem;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile pass 2026-06 — centrado, admin usable, sin cortes
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .page-home .hero__content {
    align-items: center !important;
    text-align: center;
  }

  .page-home .hero__intro,
  .page-home .hero__cta,
  .page-home .hero__main-stack {
    align-items: center;
    width: 100%;
  }

  .page-home .hero__title,
  .page-home .hero__lead {
    text-align: center;
    margin-inline: auto;
  }

  .page-home .hero__ornament {
    justify-content: center;
  }

  .page-home .hero__highlights {
    text-align: left;
    width: 100%;
  }

  .page-home .hero__cta .btn--play,
  .page-home .hero__cta-row {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .page-home .hero-spotlight {
    text-align: center;
  }

  .page-home .realm-panel {
    text-align: left;
  }

  /* Barra de avisos bajo el header — oculta en móvil (molesta y roba espacio) */
  .announce-stack {
    display: none !important;
  }

  .page-home .section__header--split {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .page-home .section__header--split .btn {
    width: 100%;
    max-width: 280px;
  }

  .news-hub {
    gap: 1rem;
  }

  .news-hub__panel-title {
    text-align: center;
  }

  .news-hub__row-body,
  .news-hub__featured-body {
    text-align: left;
  }

  .news-hub__row-top {
    justify-content: flex-start;
  }

  .header-inner .main-nav.is-open {
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.98), rgba(4, 8, 16, 0.96));
  }

  .main-nav.is-open .main-nav__links > a.nav-link,
  .main-nav.is-open .main-nav__links .nav-item__trigger {
    justify-content: center !important;
    text-align: center !important;
  }

  .main-nav__links > a.nav-link.is-active,
  .main-nav__links > a.nav-link:hover {
    background: rgba(76, 201, 240, 0.1);
  }

  .nav-actions .nav-cart-link,
  .nav-actions .btn--play,
  .nav-actions .nav-charge-btn {
    justify-content: center;
    text-align: center;
  }

  /* Admin panel — ancho completo y navegación usable */
  body.internal-page[data-page="admin"] .internal-content > .container,
  body.internal-page[data-page="admin"] .internal-grid--sidebar {
    padding-left: 0;
    padding-right: 0;
    gap: 0.85rem;
  }

  body.internal-page[data-page="admin"] #admin-root {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 12px 1.25rem;
    box-sizing: border-box;
    text-align: center;
  }

  body.internal-page[data-page="admin"] #admin-root .dash-panel,
  body.internal-page[data-page="admin"] #admin-root .admin-kpi-grid,
  body.internal-page[data-page="admin"] #admin-root .admin-dash-activity,
  body.internal-page[data-page="admin"] #admin-root .admin-store__form,
  body.internal-page[data-page="admin"] #admin-root .gear-list {
    text-align: left;
  }

  body.internal-page[data-page="admin"] #admin-root .dash-panel__head,
  body.internal-page[data-page="admin"] #admin-root .dash-panel__head h2,
  body.internal-page[data-page="admin"] #admin-root .panel-title,
  body.internal-page[data-page="admin"] #admin-root .section__eyebrow,
  body.internal-page[data-page="admin"] #admin-root .admin-daily-intro,
  body.internal-page[data-page="admin"] #admin-root .cooldown-note,
  body.internal-page[data-page="admin"] #admin-root .admin-ops-count {
    text-align: center;
  }

  body.internal-page[data-page="admin"] #admin-root .admin-kpi {
    text-align: center;
  }

  body.internal-page[data-page="admin"] #admin-root .admin-kpi .widget-mini__value {
    font-size: 1.35rem;
  }

  body.internal-page[data-page="admin"] #admin-root .admin-kpi .widget-mini__label,
  body.internal-page[data-page="admin"] #admin-root .admin-kpi .widget-mini__hint {
    font-size: 0.68rem;
  }

  body.internal-page[data-page="admin"] .admin-sidebar {
    margin: 0;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  body.internal-page[data-page="admin"] .dash-sidebar__user {
    text-align: center;
  }

  body.internal-page[data-page="admin"] .dash-nav__group {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin: 0.65rem 0 0.35rem;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  body.internal-page[data-page="admin"] .dash-nav a {
    min-height: 2.75rem;
    font-size: 0.82rem;
  }

  body.internal-page[data-page="admin"] .admin-kpi-grid,
  body.internal-page[data-page="admin"] .admin-dash-actions {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
  }

  body.internal-page[data-page="admin"] .admin-tienda-head,
  body.internal-page[data-page="admin"] .admin-tienda-panel__head,
  body.internal-page[data-page="admin"] .dash-panel__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  body.internal-page[data-page="admin"] .admin-posts-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: none;
    overflow-x: visible;
  }

  body.internal-page[data-page="admin"] .admin-posts-tab {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 201, 240, 0.18);
    background: rgba(8, 14, 26, 0.65);
    border-bottom: 1px solid rgba(76, 201, 240, 0.18) !important;
    white-space: nowrap;
    text-align: center;
  }

  body.internal-page[data-page="admin"] .admin-posts-tab.is-active {
    border-color: rgba(125, 211, 252, 0.45) !important;
    background: rgba(56, 189, 248, 0.14);
  }

  body.internal-page[data-page="admin"] .admin-posts-tab__badge {
    font-size: 0.65rem;
  }

  body.internal-page[data-page="admin"] .admin-ops-date-chips,
  body.internal-page[data-page="admin"] .admin-filter-chips,
  body.internal-page[data-page="admin"] .admin-daily-source-picker {
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }

  body.internal-page[data-page="admin"] .admin-ops-date-chip,
  body.internal-page[data-page="admin"] .admin-daily-source-btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 2.65rem;
    font-size: 0.72rem;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.3;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
  }

  body.internal-page[data-page="admin"] .admin-dash-actions,
  body.internal-page[data-page="admin"] .admin-tienda-subnav,
  body.internal-page[data-page="admin"] .admin-posts-tabs {
    justify-content: center !important;
  }

  body.internal-page[data-page="admin"] .admin-dash-actions .btn {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    justify-content: center;
  }

  body.internal-page[data-page="admin"] .admin-daily-source-picker {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin: 0.75rem 0 1rem;
    padding: 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(76, 201, 240, 0.12);
    background: rgba(4, 10, 22, 0.45);
  }

  body.internal-page[data-page="admin"] .admin-daily-source-btn {
    display: grid;
    gap: 0.2rem;
    justify-items: center;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.16);
    background: rgba(8, 14, 26, 0.72);
    color: var(--text-muted);
    cursor: pointer;
  }

  body.internal-page[data-page="admin"] .admin-daily-source-btn.is-active {
    border-color: rgba(125, 211, 252, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: #fff;
  }

  body.internal-page[data-page="admin"] .admin-daily-source-btn__title {
    font-weight: 700;
    font-size: 0.78rem;
  }

  body.internal-page[data-page="admin"] .admin-daily-source-btn__hint {
    font-size: 0.68rem;
    opacity: 0.8;
  }

  body.internal-page[data-page="admin"] .admin-daily-active-block {
    margin: 0.75rem 0 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
  }

  body.internal-page[data-page="admin"] .admin-daily-list-block {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
  }

  body.internal-page[data-page="admin"] .admin-daily-list-block .panel-title {
    text-align: center;
    font-size: 1rem;
    margin: 0.75rem 0 0.65rem;
  }

  body.internal-page[data-page="admin"] .admin-daily-card {
    text-align: left;
    padding: 1rem !important;
  }

  body.internal-page[data-page="admin"] .admin-daily-card .panel-title {
    font-size: 1.05rem;
    text-align: left;
  }

  body.internal-page[data-page="admin"] .admin-daily-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  body.internal-page[data-page="admin"] .admin-table-wrap,
  body.internal-page[data-page="admin"] .data-table-wrap {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    border: none;
    max-width: 100%;
  }

  body.internal-page[data-page="admin"] #admin-root .data-table,
  body.internal-page[data-page="admin"] #admin-root .admin-table {
    min-width: 0 !important;
    width: 100%;
    font-size: 0.76rem;
  }

  body.internal-page[data-page="admin"] #admin-root .data-table thead {
    display: none;
  }

  body.internal-page[data-page="admin"] #admin-root .data-table tbody tr {
    display: grid;
    gap: 0.3rem;
    padding: 0.75rem;
    margin-bottom: 0.55rem;
    border: 1px solid rgba(76, 201, 240, 0.12);
    border-radius: 10px;
    background: rgba(4, 10, 22, 0.45);
  }

  body.internal-page[data-page="admin"] #admin-root .data-table td,
  body.internal-page[data-page="admin"] #admin-root .data-table th {
    display: block;
    padding: 0.2rem 0;
    border: none;
    word-break: break-word;
    text-align: left;
  }

  body.internal-page[data-page="admin"] #admin-root .data-table td .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    min-height: 2.4rem;
  }

  body.internal-page[data-page="admin"] #admin-root .admin-actions {
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }

  body.internal-page[data-page="admin"] #admin-root .admin-actions .btn,
  body.internal-page[data-page="admin"] #admin-root .dash-inline-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  body.internal-page[data-page="admin"] #admin-root .dash-inline-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.internal-page[data-page="admin"] #admin-root .dash-panel__head .btn {
    width: 100%;
    justify-content: center;
  }

  body.internal-page[data-page="admin"] .admin-dash-activity__item {
    text-align: left;
    font-size: 0.8rem;
  }

  body.internal-page[data-page="admin"] .glass-card.mmo-panel,
  body.internal-page[data-page="admin"] .dash-panel {
    padding: 1rem !important;
    min-width: 0;
  }

  #admin-detail-modal .admin-detail-panel,
  #admin-detail-modal .forum-create-modal__panel {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 10px;
  }

  .internal-hero {
    text-align: center;
  }

  .internal-hero__meta,
  .breadcrumb {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .forum-page__layout,
  .forum-hub__grid {
    gap: 1rem;
  }

  .forum-category-row,
  .glass-card.mmo-panel {
    min-width: 0;
  }

  .store-page .store-layout__main,
  .store-category-section {
    min-width: 0;
  }

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

  .widget-mini {
    text-align: center;
  }
}

@media (max-width: 430px) {
  body.internal-page[data-page="admin"] #admin-root {
    padding-left: 0;
    padding-right: 0;
  }

  body.internal-page[data-page="admin"] .dash-nav a {
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
  }

  .page-home .hero__title {
    text-align: center;
  }

  .news-hub__featured-body h3 {
    font-size: 1.2rem;
  }
}
