/* Library > Profissoes: o conteudo da Ajuda do cliente com a identidade das outras paginas do Library
 * (pergaminho creme, caixas bege com borda marrom, cabecalho cinza escuro, texto marrom, link azul),
 * como no Antica Systems (systems.css). A cor de cada profissao fica nos detalhes: titulo, linha e borda. */
.pf { background: #f1e0c6; border: 1px solid #5f4d41; padding: 8px; color: #3a2a1a; font-size: 12px; line-height: 1.5; }
.pf b { color: #3a2a1a; }
.pf-top { display: flex; gap: 10px; align-items: center; background: #e4d4b4; border: 1px solid #a08a6a; padding: 6px 8px; margin-bottom: 8px; }
.pf-top b { display: block; font-size: 15px; color: #3a2a1a; }
.pf-top small { color: #5f4d41; }
.pf-top-ic { width: 40px; height: 40px; padding: 2px; background: #505050; border: 1px solid #3a2a1a; image-rendering: pixelated; }
.pf-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
.pf-tab { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #d4c0a1; border: 1px solid #5f4d41; color: #3a2a1a !important; text-decoration: none; font-weight: bold; }
.pf-tab:hover, .pf-tab.pf-on { background: #505050; color: #fff !important; box-shadow: inset 0 -3px 0 var(--pf-c); }
.pf-tab-ic { width: 24px; height: 24px; background: #505050; border: 1px solid #3a2a1a; }
.pf-page[hidden] { display: none; }
.pf-hero { display: flex; gap: 12px; background: #e4d4b4; border: 1px solid #a08a6a; border-left: 4px solid var(--pf-c, #5f4d41); padding: 10px; margin-bottom: 6px; }
.pf-hero h2 { margin: 0 0 4px; font-size: 18px; }
.pf-hero p { margin: 0 0 8px; color: #3a2a1a; }
.pf-medal { flex: none; width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; background: #505050; border: 1px solid #3a2a1a; }
.pf-medal-img { width: 56px; height: 56px; image-rendering: pixelated; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pf-chip { padding: 2px 8px; background: #f1e0c6; border: 1px solid #a08a6a; color: #3a2a1a; font-size: 11px; }
.pf-heading { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 16px 0 6px; padding: 3px 6px; background: #505050; color: #fff !important; }
.pf-ic { width: 22px; height: 22px; image-rendering: pixelated; }
.pf-p { margin: 0 0 8px; }
.pf-muted, .pf-note { color: #5f4d41; }
.pf-note { margin: 6px 0 0; flex-basis: 100%; font-size: 11px; }
.pf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pf-card { display: flex; flex-direction: column; background: #e4d4b4; border: 1px solid #a08a6a; border-top: 3px solid var(--pf-c); padding: 8px; color: #3a2a1a !important; text-decoration: none; font-weight: normal; }
.pf-card:hover { background: #fff3d6; border-color: #5f4d41; border-top-color: var(--pf-c); }
.pf-card-head { display: flex; gap: 8px; align-items: center; }
.pf-card-head b { display: block; font-size: 14px; color: var(--pf-c); }
.pf-card-head small { color: #5f4d41; }
.pf-card p { flex: 1; margin: 8px 0; font-size: 11px; }
.pf-more { align-self: flex-end; color: #004294; font-weight: bold; font-size: 11px; }
.pf-emblem { width: 44px; height: 44px; flex: none; padding: 2px; background: #505050; border: 1px solid #3a2a1a; }
.pf-step { display: flex; gap: 10px; background: #e4d4b4; border: 1px solid #a08a6a; border-left: 4px solid var(--pf-c); padding: 7px 9px; margin-bottom: 5px; }
.pf-num { flex: none; width: 24px; height: 24px; background: #505050; color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.pf-step-body { flex: 1; min-width: 0; }
.pf-step-body > b { color: var(--pf-c); font-size: 13px; }
.pf-step-body p { margin: 2px 0 0; }
.pf-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pf-strip-free { margin: 4px 0 8px; }
.pf-tile { width: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pf-tile-box { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #505050; border: 1px solid #3a2a1a; }
.pf-colored .pf-tile-box { border: 2px solid var(--pf-c); }
.pf-tile-img { max-width: 44px; max-height: 44px; image-rendering: pixelated; }
.pf-count { position: absolute; right: 2px; bottom: 0; color: #fff; font-size: 11px; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
.pf-cap { margin-top: 3px; color: #3a2a1a; font-size: 11px; font-weight: bold; }
.pf-tile small { color: #5f4d41; font-size: 10px; }
.pf-sign { color: #5f4d41; font-size: 18px; font-weight: bold; }
.pf-creature { width: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #f1e0c6; border: 1px solid #a08a6a; padding: 6px; }
.pf-creature-box { height: 68px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pf-creature-img { max-height: 68px; }
.pf-creature small { color: #5f4d41; }
.pf-stars, .pf-star { color: #c08a00; }
.pf-stars { letter-spacing: 1px; }
.pf-yell { color: #a8481a; font-weight: bold; font-size: 11px; }
.pf-callout { display: flex; gap: 10px; background: #e4d4b4; border: 1px solid #a08a6a; border-left: 4px solid #2a7a32; padding: 8px 10px; margin: 8px 0; }
.pf-callout b { color: #2a5a2a; }
.pf-callout.pf-warning { background: #f0d8c8; border-color: #b08070; border-left-color: #a8301e; }
.pf-callout.pf-warning b { color: #a8301e; }
.pf-callout p { margin: 2px 0 0; }
.pf-callout-ic { width: 32px; height: 32px; flex: none; padding: 2px; background: #505050; border: 1px solid #3a2a1a; image-rendering: pixelated; }
.pf-rule { display: flex; gap: 10px; background: #e4d4b4; border: 1px solid #a08a6a; border-left: 4px solid var(--pf-c); padding: 7px 9px; margin-bottom: 5px; }
.pf-rule b { display: block; color: var(--pf-c); }
.pf-rule p { margin: 2px 0 0; }
.pf-word { display: inline-block; margin-bottom: 2px; padding: 0 6px; background: #f1e0c6; border: 1px solid #a08a6a; color: #004294; font-family: monospace; }
.pf-tablewrap { overflow-x: auto; margin-bottom: 6px; }
.pf-table { width: 100%; border-collapse: separate; border-spacing: 1px; }
.pf-table th { background: #505050; color: #fff; text-align: left; padding: 4px 6px; white-space: nowrap; }
.pf-table td { padding: 3px 6px; vertical-align: middle; }
.pf-table tbody tr:nth-child(odd) td { background: #f0e4cc; }
.pf-table tbody tr:nth-child(even) td { background: #e4d4b4; }
.pf-table td .lib-sprite { vertical-align: middle; }
.pf-chat { background: #f1e0c6; border: 1px solid #a08a6a; padding: 6px 10px; margin: 0 0 6px 34px; font-family: Verdana, sans-serif; font-size: 11px; }
.pf-npc { color: #1f5f9e; }
.pf-you { color: #3a2a1a; }
.pf-tracks { display: flex; flex-direction: column; gap: 5px; }
.pf-track { display: flex; gap: 8px; align-items: flex-start; }
.pf-track-name { flex: none; width: 100px; padding-top: 4px; color: var(--pf-c) !important; }
.pf-track-tiers { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.pf-tier { background: #e4d4b4; border: 1px solid #a08a6a; }
.pf-tier[open] { grid-column: 1 / -1; border-color: var(--pf-c); background: #f1e0c6; }
.pf-tier summary { cursor: pointer; padding: 3px 6px; color: #3a2a1a; font-size: 11px; list-style: none; }
.pf-tier summary:hover { background: #fff3d6; }
.pf-tier summary::-webkit-details-marker { display: none; }
.pf-tier ul { margin: 0; padding: 4px 8px 8px; list-style: none; }
.pf-tier li { display: flex; gap: 6px; align-items: flex-start; margin: 3px 0; }
.pf-perk-ic { width: 24px; height: 24px; flex: none; background: #505050; border: 1px solid #3a2a1a; }
.pf-preview { border: 1px solid #5f4d41; background: #e4d4b4; margin: 6px 0 10px; }
.pf-preview-title { background: #505050; color: #fff; padding: 4px 8px; font-weight: bold; }
.pf-preview-body { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; }
/* tela real do client (GIF): moldura escura como a janela do jogo, legenda no pergaminho */
.pf-screen { margin: 6px 0 12px; }
.pf-screen-img { padding: 8px; text-align: center; background: #2a2a2a; border-bottom: 1px solid #5f4d41; }
.pf-screen-img img { display: block; margin: 0 auto; max-width: 100%; height: auto; border: 1px solid #111; image-rendering: auto; }
.pf-screen-cap { margin: 0; padding: 6px 10px 8px; font-size: 12px; line-height: 1.45; color: #3a2a1a; }
.pf-win { flex: 1 1 220px; min-width: 0; background: #f1e0c6; border: 1px solid #a08a6a; padding: 8px; }
.pf-win-title { color: #5f4d41; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.pf-win ol { margin: 0; padding-left: 18px; }
.pf-offer { display: flex; gap: 10px; }
.pf-offer p { margin: 4px 0; }
.pf-offer-pic { flex: none; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: #505050; border: 1px solid #3a2a1a; }
.pf-big { width: 64px; height: 64px; image-rendering: pixelated; }
.pf-price { color: #7a5a14; font-weight: bold; margin-bottom: 6px; }
.pf-button { display: inline-block; padding: 2px 14px; background: #505050; border: 1px solid #3a2a1a; color: #fff; font-weight: bold; }
.pf-button-alt { background: #7a3a2a; }
.pf-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-bench-item { display: flex; gap: 8px; align-items: center; padding: 3px 6px; border: 1px solid #a08a6a; border-left: 4px solid var(--pf-c); margin-bottom: 3px; background: #e4d4b4; }
.pf-bench-item.pf-sel { background: #fff3d6; border-color: #5f4d41; border-left-color: var(--pf-c); }
.pf-bench-item small { display: block; color: #5f4d41; font-size: 10px; }
.pf-bench-head { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.pf-bench-head small { display: block; color: #5f4d41; }
.pf-kv { list-style: none; margin: 0 0 8px; padding: 0; }
.pf-kv li { display: flex; justify-content: space-between; border-bottom: 1px dotted #a08a6a; padding: 2px 0; }
.pf-kv b { color: #2a7a32; }
.pf-recipe-out { display: flex; flex-direction: column; align-items: center; margin-bottom: 6px; }
.pf-mats { list-style: none; margin: 0 0 6px; padding: 0; }
.pf-mats li { display: flex; align-items: center; gap: 6px; }
.pf-mats span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-ok { color: #2a7a32 !important; }
.pf-ic32 { width: 32px; height: 32px; }
.pf-bar { position: relative; height: 16px; background: #d4c0a1; border: 1px solid #5f4d41; margin-bottom: 4px; }
.pf-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #3a8a50; }
.pf-bar span { position: relative; display: block; text-align: center; font-size: 11px; color: #fff; text-shadow: 1px 1px 0 #000; }
.pf-formula { background: #e4d4b4; border: 1px solid #a08a6a; padding: 6px 10px 8px; margin-bottom: 6px; }
@media (max-width: 700px) {
  .pf-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cards { grid-template-columns: minmax(0, 1fr); }
  .pf-track { flex-direction: column; }
  .pf-track-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
