/* Página pública do card: layout Clássico da tela de estudo (/portal/flashcard/<id>). */
:root { --pc-navy: #082b45; --pc-blue: #0d6efd; --pc-label: #1a3fae; --pc-text: #212529; }
* { box-sizing: border-box; }
body.pc-body { margin: 0; background: #fff; color: var(--pc-text); font: 400 1.15rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding-bottom: 76px; }
.pc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; background: linear-gradient(90deg, #082b45, #0a4f73); color: #fff; }
.pc-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 1.15rem; }
.pc-top-actions { display: flex; gap: 8px; }
.pc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 4px; font: inherit; font-size: 1.05rem; color: #fff; text-decoration: none; cursor: pointer; }
.pc-btn-green { background: #28a745; }
.pc-btn-blue { background: var(--pc-blue); }
.pc-btn-red { background: #dc3545; }
.pc-btn-dark { background: #1f5fa8; }
main { max-width: 1380px; margin: 0 auto; padding: 16px; }
.pc-breadcrumbs { font-size: .9rem; margin: 8px 0 16px; }
.pc-breadcrumbs a, .pc-meta a, .pc-related a { color: #0b63c5; }
.pc-card { border: 1.5px solid #222; border-radius: 16px; padding: 48px 80px 32px; }
.pc-meta { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #dee2e6; font-size: 1rem; }
.pc-meta img { border-radius: 10px; flex: none; }
.pc-meta dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 0; }
.pc-meta dt { margin: 0; }
.pc-meta dd { margin: 0; }
.pc-label { color: var(--pc-label); font-weight: 700; }
.pc-front, .pc-back { padding: 20px 0; }
.pc-front { border-bottom: 1px solid #dee2e6; }
.pc-back[hidden] { display: none; }
.rich-content img { max-width: 100%; height: auto; }
.pc-alternatives li { margin: 6px 0; }
.pc-comment { margin-top: 24px; }
.pc-comment h2, .pc-cta h2, .pc-related h2 { font-size: 1.2rem; }
.pc-teoria { display: flex; gap: 14px; align-items: center; margin: 8px 0 16px; padding: 14px 18px; border-radius: 12px; background: #fff7d6; border: 1px solid #ffd34d; color: #082b45; text-decoration: none; font-size: 1rem; }
.pc-svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-titulo { margin: 20px 0 0; font-size: 1.55rem; line-height: 1.3; color: #082b45; }
.pc-teoria .pc-svg { flex: none; width: 1.8rem; height: 1.8rem; }
.pc-teoria i { font-size: 1.6rem; color: #a36b00; }
.pc-teoria strong { display: block; font-size: 1.05rem; }
.pc-source { font-size: .85rem; color: #6c757d; margin: 4px 0; }
.pc-cta { margin: 24px 0; padding: 20px 24px; border-radius: 12px; background: #eef5fb; }
.pc-cta .pc-btn { margin: 4px 4px 0 0; }
.pc-related ul { padding-left: 20px; }
.pc-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; background: #0a4f73; }
.pc-bottom-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 42px; border: 0; border-radius: 4px; background: var(--pc-blue); color: #fff; font-size: 1.1rem; cursor: pointer; text-decoration: none; }
@media (max-width: 760px) {
  body.pc-body { font-size: 1rem; padding-bottom: 130px; }
  .pc-top { padding: 10px 16px; }
  .pc-top-actions .pc-btn-green { display: none; }
  .pc-card { padding: 20px 16px; border-radius: 12px; }
  .pc-meta { align-items: flex-start; }
  .pc-meta img { width: 48px; height: 48px; }
  .pc-meta dl { grid-template-columns: 1fr; }
  .pc-bottom { flex-wrap: wrap; justify-content: center; }
  .pc-icon { width: 40px; height: 38px; }
}
