/* Artigo "Como funciona a identidade do jogador no Ranking"
   (/hub-artigo-como-funciona-identidade-player-id-ranking-slithermania) —
   segue o padrão de layout de artigo do hub (hero com gradiente, callout de
   resumo, grids de cards) documentado em
   docs/2-execution/2.4-standards/2026-08-13_16-34_layout-artigo-hub-standard.md,
   originado no CSS de referência hub-artigo-battledome.css. Tema azul técnico
   (#6ea8fe) com verde de contraste (#25d366) pra marcar "consolida numa
   entrada só" vs. azul pra "vira entrada separada". Prefixo pid- (Player ID). */

.pid-hero {
  position: relative;
  margin: -20px -20px 6px;
  padding: 30px 20px 24px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 10% -10%, rgba(110, 168, 254, 0.24), transparent 55%),
    radial-gradient(110% 160% at 105% -20%, rgba(37, 211, 102, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(12, 16, 24, 0.92), rgba(10, 12, 18, 0.97));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pid-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 28px);
  pointer-events: none;
}

.pid-hero-inner {
  position: relative;
}

.pid-hero .hub-kicker {
  color: #9dc1ff;
}

.pid-hero h1 {
  margin: 0 0 8px;
  text-shadow: 0 0 24px rgba(110, 168, 254, 0.28);
}

.pid-hero-tag {
  margin: 0 0 14px;
  color: #cfd6e4;
  font-size: 15px;
  max-width: 60ch;
}

.pid-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pid-callout-icon {
  flex: none;
  font-size: 22px;
  line-height: 1.3;
}

.pid-callout p {
  margin: 0;
}

.pid-formula-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  border: 1px solid rgba(110, 168, 254, 0.3);
  background: rgba(110, 168, 254, 0.06);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 4px 0 10px;
  width: fit-content;
  max-width: 100%;
}

.pid-formula-parts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pid-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
}

.pid-chip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #8fe3ac;
}

.pid-chip-plus {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.pid-formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 900;
  color: #6ea8fe;
  text-shadow: 0 0 14px rgba(110, 168, 254, 0.45);
  line-height: 1.2;
  word-break: break-word;
}

.pid-formula-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pid-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 10px;
}

.pid-period-card {
  border: 1px solid var(--border);
  border-left: 3px solid #6ea8fe;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 4px;
}

.pid-period-card strong {
  font-size: 14px;
  color: var(--text);
}

.pid-period-card span {
  font-size: 12.5px;
  color: var(--muted);
}

.pid-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 10px;
}

.pid-rule-card {
  --accent: #6ea8fe;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px;
}

.pid-rule-card p {
  margin: 0;
  font-size: 13px;
}

.pid-rule-card strong {
  color: var(--text);
}

.pid-outro {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pid-period-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pid-hero {
    margin: -20px -20px 6px;
    padding: 22px 16px 18px;
  }

  .pid-period-grid,
  .pid-rules-grid {
    grid-template-columns: 1fr;
  }

  .pid-formula {
    font-size: 18px;
  }
}
