/* Gema TCG — base das ferramentas (carta, pré-graduação): reset, busca,
 * resultado, tabela de notas, vendas, notas de rodapé. Tokens em /tokens.css
 * (nomes canônicos; a ponte legada do quanto-vale saiu em 07/09/2026).
 * Chrome (topbar, rodapé, modal) em /chrome.css. */
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
main { position: relative; z-index: 1; }
.skeleton-line { height: 18px; }
.shimmer {
  background: linear-gradient(100deg, #14171b 32%, #1e2228 48%, #14171b 64%);
  background-size: 220% 100%;
  animation: shimmer 1.15s linear infinite;
}
@keyframes shimmer { to { background-position: -120% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.card-art {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-card);
  background: transparent;
}
.cert-sep { margin: 0 4px; }
.lang-toggle { display: flex; align-items: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.lang-label { color: var(--muted); font-size: 0.85rem; }
.lang-btn {
  background: rgba(21, 24, 28, 0.6);
  border: 1px solid var(--hairline-2);
  color: var(--muted);
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  padding: 7px 14px; cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.lang-btn:hover { border-color: var(--muted); }
.lang-btn.active {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.lang-note { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }
.method-note { color: var(--muted); font-size: 0.78rem; margin-top: 10px; max-width: 560px; }
.tool-note {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hairline);
  color: var(--muted); font-size: 0.82rem; max-width: 560px;
}
.tool-note a { color: var(--muted); font-weight: 600; }
.tool-note a:hover { color: var(--ink); }
.band-sub { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.sales-list { list-style: none; margin-top: 10px; border-top: 1px solid var(--hairline); }
.sales-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 2px; border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
}
.sale-date { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.sale-venue {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hairline);
  padding: 2px 7px; white-space: nowrap;
}
.sale-usd { margin-left: auto; color: var(--muted); font-family: var(--font-mono); font-size: 0.86rem; white-space: nowrap; }
.sale-brl { color: var(--ink); font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
/* celular: a linha de venda quebra (data + loja / US$ + R$) em vez de vazar (07/09) */
@media (max-width: 480px) {
  .sales-list li { flex-wrap: wrap; gap: 4px 10px; }
  .sales-list .sale-usd { margin-left: auto; }
}
.liquidity {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px; color: var(--muted); font-size: 0.9rem;
}
.liquidity::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--up); box-shadow: 0 0 10px rgba(63, 191, 119, 0.22);
  flex: 0 0 auto;
}
.fine { color: var(--muted); font-size: 0.78rem; margin-top: 18px; max-width: 560px; }
.miss {
  text-align: center;
  background: var(--panel);
  padding: clamp(30px, 5vw, 52px);
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.miss-title { font-size: 1.15rem; font-weight: 600; }
.miss-title .mono { font-family: var(--font-mono); color: var(--ink); }
.miss-body { color: var(--muted); max-width: 460px; margin: 12px auto 0; font-size: 0.95rem; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
