/* Página inicial (e as cores, fontes e o topo que o perfil também usa, perfil.css por cima): tudo dentro de body.hn, para não mexer
   no resto do site, que segue com style.css. */
body.hn {
  /* fontes do site (Inter no texto, Cinzel no título); os números usam algarismos de largura fixa para alinhar nas colunas */
  --mono: var(--font);
  --gold: oklch(0.82 0.11 85);
  --gold-soft: oklch(0.82 0.11 85 / 0.12);
  --hn-bg: #0a0e18;
  --hn-panel: #0e1422;
  --hn-panel-2: #111827;
  --hn-raised: #151c2c;
  --hn-line: #1b2234;
  --hn-line-2: #1e2638;
  --hn-line-3: #232b3f;
  --hn-row: #161d2d;
  --hn-hover: #131b2c;
  --hn-text: #e6e9f0;
  --hn-strong: #f2f4f8;
  --hn-soft: #c3c9d6;
  --hn-muted: #a3abbd;
  --hn-faint: #98a0b3;
  /* cores das facções: as mesmas do site (azul Elyos, roxo Asmodianos) */
  --hn-elyos: var(--elyos);
  --hn-asmo: var(--asmo);
  background: var(--hn-bg);
  color: var(--hn-text);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body.hn .wrap { max-width: 1240px; padding: 0 20px; }
/* os blocos com display próprio (flex, grid) ignorariam o atributo hidden */
body.hn [hidden] { display: none !important; }

/* ---------- topo (só o visual; os itens do menu são os do site) ---------- */
body.hn .topbar { background: var(--hn-bg); backdrop-filter: none; border-bottom-color: var(--hn-line); }
body.hn .brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--gold); color: var(--hn-bg); font-size: 12px; }
body.hn .region-pill { background: none; border: 0; color: var(--hn-muted); font-weight: 500; padding: 0; }
body.hn .lang-switch { border-radius: 6px; border-color: var(--hn-line-3); color: var(--hn-soft); padding: 3px 7px; font-weight: 600; }
@media (min-width: 1024px) {
  body.hn .topbar .wrap { height: 56px; }
  body.hn .nav { gap: 2px; }
  body.hn .nav a { border-radius: 7px; padding: 6px 11px; font-size: 14px; color: var(--hn-muted); }
  body.hn .nav a:hover { background: var(--hn-raised); color: var(--hn-strong); }
  body.hn .nav a.active { background: var(--hn-raised); box-shadow: none; color: var(--hn-strong); font-weight: 600; }
}

/* ---------- página ---------- */
.hn-main { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; padding-bottom: 48px; }
.hn-preview {
  margin: 0; padding: 6px 12px; border-radius: 8px; font-size: 12px; color: var(--gold);
  border: 1px dashed oklch(0.82 0.11 85 / 0.4); background: var(--gold-soft); text-align: center;
}
.hn-num { text-align: right; font-family: var(--mono); white-space: nowrap; }

/* ---------- busca + avisos ---------- */
.hn-hero { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.hn-search-card {
  flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 16px 22px;
  background: linear-gradient(180deg, var(--hn-panel-2), var(--hn-panel)); border: 1px solid var(--hn-line-2); border-radius: 14px;
}
/* título em cima e o subtítulo embaixo, os dois centralizados */
.hn-title { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hn-title h1 { margin: 0; font-family: var(--font-display); font-size: 43px; line-height: 1.2; font-weight: 700; letter-spacing: 0.02em; }
.hn-title span { font-size: 14px; color: var(--hn-muted); }
.hn-search {
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 16px;
  background: var(--hn-bg); border: 1.5px solid oklch(0.82 0.11 85 / 0.55); border-radius: 11px;
  box-shadow: 0 0 0 4px oklch(0.82 0.11 85 / 0.07); transition: border-color .15s, box-shadow .15s;
}
.hn-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px oklch(0.82 0.11 85 / 0.14); }
.hn-search svg { color: #8b93a7; flex: none; }
.hn-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--hn-text); font-size: 16px; }
.hn-search input::placeholder { color: var(--hn-faint); }
.hn-search input::-webkit-search-cancel-button { display: none; }
.hn-clear { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--hn-raised); color: var(--hn-muted); cursor: pointer; flex: none; }
.hn-clear:hover { color: var(--hn-strong); }
.hn-kbd { font-family: var(--mono); font-size: 11px; color: var(--hn-muted); border: 1px solid var(--hn-line-3); border-radius: 5px; padding: 2px 6px; }
@media (hover: none) { .hn-kbd { display: none; } }
.hn-submit {
  height: 42px; padding: 0 18px; border: 0; border-radius: 8px; flex: none; cursor: pointer;
  background: var(--gold); color: var(--hn-bg); font-weight: 700; font-size: 14px;
}
.hn-submit:hover { filter: brightness(1.08); }
.hn-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--hn-muted); }
.hn-chip {
  background: var(--hn-raised); border: 1px solid var(--hn-line-3); color: var(--hn-soft); border-radius: 999px;
  padding: 3px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.hn-chip:hover { border-color: #33405c; color: var(--hn-strong); }
.hn-chip-profile { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 3px; }
.hn-chip-profile .avatar { width: 20px; height: 20px; font-size: 10px; border-width: 1px; }
.hn-chip-profile span { overflow: hidden; text-overflow: ellipsis; }

.hn-notices {
  flex: 0 1 320px; min-width: min(100%, 280px); display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 8px;
  background: var(--hn-panel); border: 1px solid var(--hn-line); border-radius: 14px;
}
.hn-notices-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.hn-notices h2 { margin: 0; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); }
.hn-notices-head a { white-space: nowrap; font-size: 12px; color: var(--hn-muted); }
.hn-notices-head a:hover, .hn-notice:hover .hn-notice-title { color: var(--gold); }
/* cada aviso: o tipo (cor própria) e a data em cima, o título embaixo; o mais recente ganha a borda dourada à esquerda */
.hn-notices { gap: 4px; }
.hn-notice {
  --kind: #a3abbd; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 7px 8px 7px 10px; margin: 0 -8px 0 -10px;
  border-left: 2px solid transparent; border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.35; transition: background .12s;
}
.hn-notice:hover { background: #131b2c; }
.hn-notice.latest { border-left-color: var(--gold); background: oklch(0.82 0.11 85 / 0.05); }
.hn-notice.maint { --kind: oklch(0.78 0.13 55); }
.hn-notice.update { --kind: oklch(0.8 0.12 160); }
.hn-notice-meta { display: flex; align-items: center; gap: 8px; }
.hn-notice-tag {
  flex: none; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--kind); background: color-mix(in srgb, var(--kind) 13%, transparent);
}
.hn-notice time { font-family: var(--mono); font-size: 11px; color: var(--hn-faint); flex: none; }
.hn-notice-title { color: var(--hn-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hn-notice.latest .hn-notice-title { color: var(--hn-strong); font-weight: 500; }
.hn-new-inline {
  font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.9 0.12 85);
  text-shadow: 0 0 4px oklch(0.82 0.11 85 / 0.9), 0 0 9px oklch(0.82 0.11 85 / 0.6); animation: hn-glow 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hn-new-inline { animation: none; } }

/* cartão flutuante do aviso: mesmo visual dos painéis da página, texto curto (3 linhas no máximo) */
.hn-tip {
  position: fixed; z-index: 50; width: 300px; max-width: calc(100vw - 16px); padding: 14px 16px; pointer-events: none;
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, var(--hn-panel-2), var(--hn-panel)); border: 1px solid #2a3450; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; visibility: hidden;
}
.hn-tip.show { opacity: 1; transform: none; visibility: visible; }
.hn-tip-meta { --kind: #a3abbd; }
.hn-tip-meta.maint { --kind: oklch(0.78 0.13 55); }
.hn-tip-meta.update { --kind: oklch(0.8 0.12 160); }
.hn-tip-meta time { font-family: var(--mono); font-size: 11px; color: var(--hn-faint); }
.hn-tip-title { font-size: 14px; line-height: 1.35; color: var(--hn-strong); }
.hn-tip-text {
  margin: 0; padding-top: 8px; border-top: 1px solid var(--hn-line-2); font-size: 12px; line-height: 1.45; color: var(--hn-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.hn-tip-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--hn-faint); }
.hn-tip-read { color: var(--gold); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .hn-tip { transition: none; } }
.hn-notices-src { margin: -2px 0 0; line-height: 1.2; font-size: 10px; color: var(--hn-faint); text-align: center; }

/* ---------- números do índice ---------- */
.hn-kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--hn-panel); border: 1px solid var(--hn-line); border-radius: 12px; overflow: hidden;
}
.hn-kpi { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 16px; border-left: 1px solid var(--hn-line); margin-left: -1px; min-width: 0; }
.hn-kpi-label { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--hn-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hn-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--dot, transparent); }
.hn-kpi-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hn-kpi-value { white-space: nowrap; font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--hn-strong); }
.hn-kpi-delta { font-size: 13px; color: var(--hn-muted); }

/* ---------- favoritos ---------- */
.hn-favorites h2 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); }
.hn-favorites h2 span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--hn-faint); }
.hn-fav-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.hn-fav {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-width: 0;
  background: var(--hn-panel); border: 1px solid var(--hn-line); border-radius: 11px;
}
.hn-fav:hover { border-color: #33405c; background: #121a2b; }
.hn-fav.changed { border-color: oklch(0.82 0.11 85 / 0.45); }
.hn-fav > span { display: flex; flex-direction: column; min-width: 0; }
.hn-fav strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-fav small { font-size: 12px; color: var(--hn-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-fav .hn-fav-power { font-family: var(--mono); color: var(--hn-strong); }
.hn-fav .gain { color: var(--gain); }
.hn-fav .loss { color: var(--danger); }
.hn-fav .hn-fav-news { color: var(--gold); }

/* ---------- acesso rápido ---------- */
.hn-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
/* ícone à esquerda; o texto centralizado no espaço que sobra do cartão */
.hn-tile {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; min-width: 0;
  background: var(--hn-panel); border: 1px solid var(--hn-line); border-radius: 11px; transition: border-color .12s, background .12s;
}
.hn-tile:hover { border-color: #33405c; background: #121a2b; }
.hn-tile-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: #161e30; border: 1px solid var(--hn-line-3); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--gold);
}
.hn-tile { min-height: 72px; }
.hn-tile > span:last-child { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; text-align: center; }
.hn-tile strong { max-width: 100%; }
.hn-tile strong { font-size: 15px; line-height: 1.25; font-weight: 600; max-width: 100%; } /* nome longo ("Resumo semanal") quebra em vez de cortar */
.hn-tile small {
  font-size: 13px; line-height: 1.3; color: var(--hn-muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}

/* ---------- ranking ---------- */
.hn-ranking { background: var(--hn-panel); border: 1px solid var(--hn-line); border-radius: 14px; overflow: hidden; }
.hn-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--hn-line); }
.hn-seg { display: flex; background: var(--hn-bg); border: 1px solid var(--hn-line-2); border-radius: 8px; padding: 2px; }
.hn-seg > a, .hn-seg > button {
  display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border: 0; border-radius: 6px; cursor: pointer;
  background: transparent; color: #8b93a7; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.hn-seg > a:hover, .hn-seg > button:hover { color: var(--hn-strong); }
.hn-seg > .on { background: #1b2436; color: var(--hn-strong); }

/* etiqueta "new" no canto superior direito de funções, ferramentas e avisos novos (o elemento recebe .hn-has-new): texto pequeno, dourado e com brilho */
.hn-has-new { position: relative; }
.hn-new {
  position: absolute; top: -6px; right: -4px; z-index: 1; pointer-events: none;
  font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(0.9 0.12 85);
  text-shadow: 0 0 4px oklch(0.82 0.11 85 / 0.9), 0 0 9px oklch(0.82 0.11 85 / 0.6);
  animation: hn-glow 1.8s ease-in-out infinite;
}
@keyframes hn-glow {
  50% { text-shadow: 0 0 2px oklch(0.82 0.11 85 / 0.5), 0 0 4px oklch(0.82 0.11 85 / 0.25); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) { .hn-new { animation: none; } }
.hn-seg .hn-dot { background: var(--dot, #8b93a7); }
.hn-toolbar select {
  height: 32px; padding: 0 26px 0 10px; border-radius: 8px; appearance: none; cursor: pointer; font-size: 13px;
  background: var(--hn-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a3abbd' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--hn-soft); border: 1px solid var(--hn-line-2);
}
.hn-toolbar select:hover { border-color: #33405c; }
.hn-toolbar select:disabled { opacity: 0.45; cursor: not-allowed; }
.hn-toolbar select option, .hn-toolbar select optgroup { background: var(--hn-panel); }
.hn-toolbar select { flex: 0 1 auto; min-width: 0; max-width: 200px; text-overflow: ellipsis; }
.hn-break { flex: 1 1 0; min-width: 0; } /* empurra a ordem para a direita */
/* barra de filtros numa linha só a partir de 1200 px (antes disso os seletores ficariam cortados) */
@media (min-width: 1200px) { .hn-toolbar { flex-wrap: nowrap; } }
/* tablet: facção e Jogadores | Legiões na 1ª linha; os seletores (com a ordem) dividem a 2ª linha por igual */
@media (min-width: 721px) and (max-width: 1199px) {
  .hn-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hn-toolbar .hn-seg { order: 0; }
  .hn-break { order: 1; flex-basis: 100%; height: 0; }
  .hn-toolbar select { order: 2; flex: 1 1 0; max-width: none; }
}
.hn-count { font-size: 12px; color: var(--hn-muted); white-space: nowrap; }
.hn-status {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 8px 14px;
  border-bottom: 1px solid var(--hn-line); font-size: 13px; color: var(--hn-muted);
}
.hn-status .live { display: inline-flex; align-items: center; gap: 6px; }
.hn-status .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
.hn-status .warning { color: var(--gold); }

.hn-table-wrap { overflow-x: auto; }
.hn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hn-table th {
  text-align: left; padding: 10px 8px; font-size: 12px; font-weight: 600; color: var(--hn-muted);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.hn-table th.hn-num { text-align: right; }
.hn-table th:first-child, .hn-table td:first-child { padding-left: 14px; }
.hn-table th:last-child, .hn-table td:last-child { padding-right: 14px; }
.hn-table td { padding: 0 8px; height: 56px; border-top: 1px solid var(--hn-row); vertical-align: middle; }
.hn-table tbody tr { cursor: pointer; transition: background .12s; }
.hn-table tbody tr:hover { background: var(--hn-hover); }
.hn-table td.hn-msg { height: auto; padding: 28px 14px; text-align: center; color: var(--hn-muted); cursor: default; }
.hn-table td.hn-msg code { font-family: var(--mono); }
.hn-c-rank { width: 44px; }
.hn-c-power { width: 150px; }
.hn-rank {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 4px; border-radius: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: #8b93a7;
}
.hn-rank.r1 { background: var(--gold); color: var(--hn-bg); }
.hn-rank.r2 { background: #c9d0dc; color: var(--hn-bg); }
.hn-rank.r3 { background: oklch(0.68 0.1 55); color: var(--hn-bg); }
/* avatar, a barra na cor da facção e, à direita dela, o nick com a legião embaixo */
.hn-char { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hn-fac-bar { width: 3px; height: 30px; border-radius: 2px; flex: none; background: var(--fac, #3a4560); }
.hn-char > div { display: flex; flex-direction: column; min-width: 0; }
.hn-char .hn-nick { font-weight: 600; font-size: 15px; color: var(--hn-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-char .hn-nick:hover { color: var(--gold); }
.hn-guild { font-size: 13px; color: var(--hn-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.hn-guild:hover { color: var(--gold); }
.hn-guild.none { font-style: italic; font-weight: 400; font-size: 12px; color: #7a8294; } /* discreto, ainda acima de 4,5:1 sobre o painel */
/* classe: o emblema oficial (dourado) e o nome, sem fundo */
.hn-cls { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; color: var(--hn-soft); }
.hn-cls .class-emblem { width: 24px; height: 24px; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--cls, var(--gold)) 35%, transparent)); }
.hn-cls .class-dot { width: 9px; height: 9px; margin: 0 6px; }
.hn-server { color: var(--fac, var(--hn-soft)); font-weight: 500; white-space: nowrap; }
.hn-power { display: flex; align-items: center; gap: 10px; }
.hn-power b { font-family: var(--mono); font-weight: 600; min-width: 52px; color: var(--hn-strong); }
.hn-bar { flex: 1; max-width: 80px; height: 5px; border-radius: 3px; background: #1d2536; overflow: hidden; }
.hn-bar span { display: block; height: 100%; border-radius: 3px; background: oklch(0.82 0.11 85 / 0.55); }
.hn-unknown { color: var(--hn-faint); }
.hn-ilvl { color: var(--hn-soft); }

.hn-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap;
  padding: 10px 14px; border-top: 1px solid var(--hn-line); font-size: 13px; color: var(--hn-muted);
}
.hn-foot:has(.hn-count:empty):has(.hn-pager:empty) { display: none; }
.hn-pager { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hn-pager:empty { display: none; }
.hn-pages { display: flex; gap: 4px; }
.hn-pages button, .hn-pages span {
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 7px; font-weight: 600; font-size: 13px;
  border: 1px solid var(--hn-line-2); background: transparent; color: var(--hn-muted);
}
.hn-pages button { cursor: pointer; }
.hn-pages button:hover:not(:disabled) { color: var(--hn-strong); border-color: #33405c; }
.hn-pages button:disabled { opacity: 0.4; cursor: not-allowed; }
.hn-pages button.on { background: var(--gold); color: var(--hn-bg); border-color: transparent; opacity: 1; cursor: default; }
.hn-pages span { border-color: transparent; display: inline-grid; place-items: center; }

#notices-end:empty { display: none; }

/* ---------- tablet e celular ---------- */
@media (max-width: 860px) {
  .hn-hide-md { display: none; }
}
@media (max-width: 720px) {
  body.hn .wrap { padding: 0 16px; }
  .hn-main { padding-top: 14px; gap: 12px; }
  .hn-search-card { padding: 10px 16px 16px; }
  .hn-title h1 { font-size: 28px; } /* o maior que ainda cabe numa linha em 390 px */
  .hn-title span { font-size: 13px; }
  .hn-search { height: 50px; padding-left: 12px; }
  .hn-kbd { display: none; }
  .hn-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hn-submit { padding: 0 14px; height: 38px; }
  .hn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-kpi { border-top: 1px solid var(--hn-line); margin-top: -1px; }
  .hn-kpi-value { font-size: 19px; }
  .hn-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hn-tile { padding: 10px; gap: 10px; min-height: 66px; }
  .hn-tile-icon { width: 34px; height: 34px; font-size: 12px; }
  .hn-tile strong { font-size: 14px; }
  .hn-tile small { font-size: 12px; }
  .hn-toolbar { gap: 8px; padding: 10px; }
  /* celular: facção numa linha, Jogadores | Legiões na outra, e os 4 seletores em duas colunas (nenhum sobra sozinho) */
  .hn-toolbar .hn-seg { flex: 1 1 100%; }
  .hn-seg > button { flex: 1; justify-content: center; }
  .hn-toolbar select { flex: 1 1 calc(50% - 4px); max-width: none; min-width: 0; }
  .hn-break { display: none; }
  .hn-table td { height: 52px; }
  .hn-c-power { width: auto; }
  .hn-bar { display: none; }
  /* "searching": com uma busca por nome, os números e o acesso rápido saem da frente dos resultados */
  .hn-main.searching .hn-kpis, .hn-main.searching .hn-quick, .hn-main.searching .hn-favorites { display: none; }
}
@media (max-width: 480px) {
  .hn-hide-sm { display: none; }
  .hn-table th, .hn-table td { padding-left: 6px; padding-right: 6px; }
  .hn-c-rank { width: 34px; }
  .hn-power b { min-width: 0; }
  .hn-char { gap: 8px; }
  .hn-char .avatar { width: 30px; height: 30px; font-size: 12px; }
  .hn-fav-list { grid-template-columns: minmax(0, 1fr); }
}
