/* ===== Hub pages — wiki hub layout ===== */

.hub-page {
  --hub-bg: var(--bg, #000000);
  --hub-surface: var(--bg-raised, #0a0a0a);
  --hub-card: var(--bg-panel, #0f0f0f);
  --hub-accent: var(--accent, #d4af37);
  --hub-accent-dim: var(--accent-soft, rgba(212, 175, 55, 0.1));
  --hub-border: var(--line, rgba(212, 175, 55, 0.12));
  --hub-text: var(--text, #ffffff);
  --hub-text-muted: var(--text-soft, rgba(255, 255, 255, 0.78));
  --hub-text-gold: var(--text-gold, #d4af37);
  --hub-font: var(--font-body, 'Inter', sans-serif);
  --hub-display: var(--font-display, 'Exo 2', sans-serif);
  --hub-warm: var(--accent, #d4af37);
  background: #000000;
  font-family: var(--hub-font);
  color: var(--hub-text);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.hub-page h1,
.hub-page h2,
.hub-page h3,
.hub-eyebrow,
.hub-title-text h1,
.hub-section-header h2,
.hub-view-all,
.contributor-name,
.hub-nav .hub-nav-link.active,
.tier-label,
.guide-card:hover .guide-text h3 {
  color: var(--hub-text-gold);
}

.hub-page p,
.hub-desc p,
.hub-info-list dd,
.hub-discord-card p,
.hub-updated,
.guide-text p,
.guide-page-item p,
.contributor-role,
.hub-nav .hub-nav-link {
  color: var(--hub-text-muted);
}

.hub-brand,
.hub-nav .hub-nav-link:hover:not(.active),
.hub-nav .hub-nav-link.active {
  color: var(--hub-text);
}

/* ---- Top bar ---- */

.hub-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--header-h, 64px);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hub-border);
}

.hub-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.hub-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--hub-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-text);
  flex-shrink: 1;
  min-width: 0;
}

.hub-logo-icon { display: none; }

.hub-games-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  flex: none;
  margin: 0;
  max-width: none;
  justify-content: center;
}

.hub-game-pill {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--hub-text-muted);
  transition: all 0.18s;
}

.hub-game-pill:hover { color: var(--hub-text); }

.hub-game-pill.active {
  background: var(--hub-accent-dim);
  color: var(--hub-warm);
}

.hub-header-tools { display: flex; align-items: center; gap: 0.375rem; }
.hub-header .mobile-menu-btn { display: none; }

/* ---- Banner (title overlap) ---- */

.hub-banner {
  display: block;
  position: relative;
  height: clamp(200px, 34vw, 300px);
  margin-top: var(--header-h, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--hub-border);
  background: #000000;
}

.hub-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hub-banner-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--hub-bg) 0%, transparent 40%),
    linear-gradient(to top, var(--hub-bg) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
}

/* ---- Title block ---- */

.hub-title-block {
  position: relative;
  z-index: 10;
  margin-top: -3.25rem;
  margin-bottom: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hub-border);
}

.hub-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.hub-game-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hub-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.375rem;
}

.hub-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hub-warm);
  margin-bottom: 0.25rem;
}

.hub-title-text h1 {
  font-family: var(--hub-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 0.375rem;
}

.hub-updated {
  font-size: 0.75rem;
  color: var(--hub-text-muted);
}

.hub-updated time { color: rgba(255, 255, 255, 0.85); }

/* ---- Wiki nav tabs ---- */

header.hub-header + .hub-nav { margin-top: 0; }

.hub-nav {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 40;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hub-border);
}

.hub-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hub-nav-inner::-webkit-scrollbar { display: none; }

.hub-nav .hub-nav-link {
  flex-shrink: 0;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hub-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.18s, border-color 0.18s;
}

.hub-nav .hub-nav-link.active {
  color: var(--hub-text);
  font-weight: 600;
  border-bottom-color: var(--hub-accent);
}

.hub-nav .hub-nav-link:hover:not(.active) { color: var(--hub-text); }
.hub-nav .hub-nav-link::before { display: none; }

/* ---- Content layout ---- */

.hub-desc {
  padding: 1.25rem 0 0;
  margin-bottom: 0;
}

.hub-desc p {
  font-size: 0.875rem;
  color: var(--hub-text-muted);
  max-width: 52rem;
  line-height: 1.7;
}

.hub-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0 4rem;
  border-top: none;
  margin-top: 0;
}

.hub-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  border: none;
}

.hub-main {
  flex: 1;
  min-width: 0;
  padding: 0;
}

/* ---- Sidebar cards ---- */

.hub-discord-card,
.hub-info-card {
  padding: 1.25rem;
  border-radius: var(--radius, 10px);
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  margin-bottom: 0;
}

.hub-discord-icon { width: 1.75rem; height: 1.75rem; margin-bottom: 0.75rem; opacity: 0.9; }

.hub-discord-card h2 {
  font-family: var(--hub-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
}

.hub-discord-card p {
  font-size: 0.8125rem;
  color: var(--hub-text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.hub-discord-btn {
  display: block;
  width: 100%;
  padding: 0.5625rem 1rem;
  background: #5865F2;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  transition: background 0.18s;
}

.hub-discord-btn:hover { background: #4752C4; }

.hub-info-card h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hub-text-muted);
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--hub-border);
}

.hub-info-list div { margin-bottom: 0.875rem; }
.hub-info-list dt {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hub-text-muted);
  margin-bottom: 0.2rem;
}
.hub-info-list dd { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.88); }

.hub-tag {
  display: inline-block;
  padding: 0.125rem 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  border: 1px solid var(--hub-border);
  background: var(--hub-surface);
  border-radius: 4px;
  margin-right: 0.25rem;
}

.hub-status { display: inline-flex; align-items: center; gap: 0.375rem; color: #7ec8a3 !important; }
.hub-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7ec8a3; }

.hub-info-card--desc p {
  font-size: 0.8125rem;
  color: var(--hub-text-muted);
  line-height: 1.65;
  margin-bottom: 0.625rem;
}

/* ---- Section headers ---- */

.hub-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--hub-border);
}

.hub-section-header h2 {
  font-family: var(--hub-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-text);
}

.hub-view-all {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hub-warm);
}

.hub-view-all:hover { text-decoration: underline; }

/* ---- Character grid ---- */

.warrior-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  background: none;
  border: none;
}

.warrior-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.warrior-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.warrior-card--blue,
.warrior-card--purple,
.warrior-card--gold {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, var(--hub-card) 55%);
}

.warrior-card .br-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.warrior-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, transparent 55%);
  pointer-events: none;
}

.warrior-role {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.125rem 0.4375rem;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.br-card-stars {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  right: 2.5rem;
  z-index: 1;
  display: flex;
  gap: 0.04rem;
  font-size: 0.55rem;
  line-height: 1;
  color: rgba(233, 187, 115, 0.35);
  pointer-events: none;
}

.br-card-stars .is-on {
  color: #e9bb73;
  text-shadow: 0 0 4px rgba(233, 187, 115, 0.45);
}

.br-card-level {
  position: absolute;
  bottom: 2.1rem;
  right: 0.45rem;
  z-index: 1;
  min-width: 1.35rem;
  padding: 0.1rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-align: center;
  color: #f5e6b8;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 3px;
  pointer-events: none;
}

.warrior-silhouette { display: none; }

.warrior-name {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
  right: 0.625rem;
  z-index: 1;
  font-family: var(--hub-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- Guide cards ---- */

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  border: none;
}

.guide-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.125rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  transition: border-color 0.18s;
}

.guide-card:hover { border-color: rgba(212, 175, 55, 0.35); }

.guide-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 48px;
  border-radius: 6px;
}

.guide-text { padding: 0; border: none; }

.guide-text h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hub-text);
  margin-bottom: 0.25rem;
}

.guide-card:hover .guide-text h3 { color: var(--hub-warm); }

.guide-text p {
  font-size: 0.8125rem;
  color: var(--hub-text-muted);
  line-height: 1.5;
}

.guide-thumb--1 { background: linear-gradient(135deg, #1a1408, #a8841a); }
.guide-thumb--2 { background: linear-gradient(135deg, #141414, #d4af37); }
.guide-thumb--3 { background: linear-gradient(135deg, #080808, #e8c547); }
.guide-thumb--elumia-1 { background: linear-gradient(135deg, #1a1408, #d4af37); }
.guide-thumb--elumia-2 { background: linear-gradient(135deg, #141414, #a8841a); }
.guide-thumb--elumia-3 { background: linear-gradient(135deg, #0e0e0e, #e8c547); }
.guide-thumb--br-1 { background: linear-gradient(135deg, #1a1408, #d4af37); }
.guide-thumb--br-2 { background: linear-gradient(135deg, #a8841a, #e8c547); }
.guide-thumb--br-3 { background: linear-gradient(135deg, #080808, #d4af37); }

/* ---- Contributors ---- */

.contributors-card {
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  background: var(--hub-card);
  overflow: hidden;
}

.contributors-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--hub-border);
}

.contributors-header h2 {
  font-family: var(--hub-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
}

.contributors-header p {
  font-size: 0.8125rem;
  color: var(--hub-text-muted);
  max-width: 28rem;
  line-height: 1.6;
}

.contributors-actions { display: flex; gap: 0.5rem; flex-shrink: 0; align-items: center; }

.contributors-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contributors-count-value {
  display: block;
  font-family: var(--hub-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--hub-warm);
  line-height: 1;
}

.contributors-count-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-text-muted);
  text-align: center;
  line-height: 1.35;
  max-width: 6.5rem;
}

.hub-discord-sm {
  padding: 0.5rem 0.875rem;
  background: #5865F2;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.hub-discord-sm:hover { background: #4752C4; }

.hub-contribute-btn {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--hub-border);
  color: var(--hub-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.hub-contribute-btn:hover {
  border-color: var(--hub-accent);
  color: var(--hub-warm);
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.contributors-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--hub-text-muted);
}

.contributor {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--hub-border);
}

.contributor:last-child { border-right: none; }

.contributor-name {
  display: block;
  font-family: var(--hub-display);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contributor-role {
  font-size: 0.75rem;
  color: var(--hub-text-muted);
}

/* ---- Subpages ---- */

.hub-subpage {
  padding: calc(var(--header-h, 64px) + 2rem) 0 4rem;
}

.hub-subpage h1 {
  font-family: var(--hub-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hub-subpage-intro {
  color: var(--hub-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}

/* ---- Tier list ---- */

.tier-list { display: flex; flex-direction: column; gap: 0.5rem; border: none; }

.tier-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.875rem 1.125rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
}

.tier-label {
  flex-shrink: 0;
  width: 2.5rem;
  font-family: var(--hub-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--hub-warm);
}

.tier-row--t0 .tier-label { color: var(--hub-warm); }

.tier-chars { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.tier-char {
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 4px;
}

.tier-char:hover {
  border-color: var(--hub-accent);
  color: var(--hub-text);
}

/* ---- Guide pages list ---- */

.guide-page-list { display: flex; flex-direction: column; gap: 0.5rem; border: none; }

.guide-page-item {
  display: block;
  padding: 1.125rem 1.25rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  transition: border-color 0.18s;
}

.guide-page-item:hover { border-color: rgba(212, 175, 55, 0.35); }

.guide-page-item h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.guide-page-item p {
  font-size: 0.8125rem;
  color: var(--hub-text-muted);
}

.char-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

/* ---- Footer ---- */

.hub-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--hub-border);
  background: var(--hub-surface);
}

.hub-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.hub-footer-inner a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hub-warm);
}

.hub-footer p {
  font-size: 0.6875rem;
  color: var(--hub-text-muted);
}

/* ---- Gates & misc ---- */

.hub-coming-soon {
  padding: calc(var(--header-h, 64px) + 4rem) 1rem 5rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-page .hub-coming-soon { margin-top: 0; }

.hub-coming-soon-label {
  color: var(--hub-warm);
  background: var(--hub-accent-dim);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-coming-soon-inner h1 {
  font-family: var(--hub-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hub-password-field input:focus {
  outline: none;
  border-color: var(--hub-accent);
}

.tg-guide-official-badge,
.tg-guide-official-tag {
  color: var(--hub-warm);
  background: var(--hub-accent-dim);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tg-guide-champ-list a { color: var(--hub-warm); font-weight: 600; }
.tg-guide-view--official .tg-guide-view-section h3 a { color: var(--hub-warm); }

.hub-soon-tag {
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--hub-text-muted);
}

.hub-game-pill--soon { opacity: 0.85; }

.br-filter-bar {
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
}

/* Champion pages without banner */
.hub-page > .hub-nav:first-of-type {
  margin-top: var(--header-h, 64px);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hub-layout { flex-direction: column; }
  .hub-sidebar { width: 100%; }
  .hub-sidebar .hub-discord-card,
  .hub-sidebar .hub-info-card { max-width: none; }
}

@media (max-width: 768px) {
  .hub-page { --header-h: 56px; }

  .hub-games-nav { display: none; }
  .hub-header .mobile-menu-btn { display: flex; }
  .hub-header-inner { gap: 0.75rem; }
  .hub-brand { font-size: 0.6875rem; letter-spacing: 0.12em; }

  .hub-banner {
    height: clamp(160px, 40vw, 220px);
  }

  .hub-title-block {
    margin-top: -2.5rem;
    padding-bottom: 1rem;
  }

  .hub-title-row {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .hub-game-icon {
    width: 64px;
    height: 64px;
  }

  .hub-title-text h1 {
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
  }

  .hub-nav .hub-nav-link {
    padding: 0.75rem 0.875rem;
    font-size: 0.75rem;
  }

  .hub-layout {
    padding: 1.5rem 0 3rem;
    gap: 1.5rem;
  }

  .hub-subpage {
    padding: calc(var(--header-h, 56px) + 1.25rem) 0 3rem;
  }

  .hub-section-header {
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
    align-items: center;
  }

  .warrior-grid,
  .char-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 0.625rem;
  }

  .warrior-name { font-size: 0.8125rem; }

  .guide-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .guide-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .tier-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
  }

  .contributors-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem;
  }

  .contributors-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .contributors-count {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
  }

  .contributors-count-label {
    max-width: none;
    text-align: right;
    margin-top: 0;
    align-self: center;
  }

  .contributors-actions a {
    flex: 1 1 auto;
    text-align: center;
    min-width: calc(50% - 0.25rem);
  }

  .contributors-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  }

  .contributor {
    border-right: none;
    border-bottom: 1px solid var(--hub-border);
    padding: 1rem;
  }

  .contributor:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hub-banner { height: clamp(140px, 36vw, 180px); }

  .hub-title-block { margin-top: -2rem; }

  .hub-game-icon {
    width: 56px;
    height: 56px;
  }

  .hub-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .warrior-grid,
  .char-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }

  .contributors-grid {
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  }

  .contributors-actions a {
    min-width: 100%;
  }

  .hub-discord-card,
  .hub-info-card {
    padding: 1rem;
  }
}
