/* Identidade da ficha original: retículas, tinta vermelha e placas em branco envelhecido. */
.npc-guide {
  --npc-accent: #c8c7bc;
  color: #e5e4da;
}
.npc-guide--hollow {
  --npc-accent: #c8c7bc;
}
.npc-category-tabs {
  border-color: #080a09;
  background: #111413;
}
.npc-category-tab,
.npc-specimen-button {
  border: 1px solid #a7a89d;
  border-radius: 1px;
  color: #e5e5da;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(165deg, #292c29, #101312 75%);
  box-shadow:
    2px 2px #050606,
    inset 0 0 0 3px #111413;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.npc-category-tab[aria-selected='true'],
.npc-category-tab[aria-pressed='true'],
.npc-specimen-button[aria-pressed='true'] {
  color: #f1eee5;
  border-color: #be6972;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(155deg, #40272b, #161716 78%);
  box-shadow:
    2px 2px #050606,
    inset 0 0 0 3px #111413,
    inset 0 -5px #8f2b3d;
}
.npc-category-tab:hover,
.npc-specimen-button:hover {
  color: #fffdf2;
  border-color: #e0dfd1;
}
.npc-category-tab:focus-visible,
.npc-specimen-button:focus-visible,
.npc-open-full:focus-visible {
  outline-color: #e3e2d6;
}
.npc-guide-header {
  color: #e9e8de;
  border: 1px solid #73766e;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(155deg, #262a27, #111514);
  box-shadow:
    inset 0 0 0 4px #101312,
    3px 3px #080a09;
}
.npc-guide-eyebrow {
  color: #d4a6ad;
}
.npc-guide h3,
.npc-specimen-title h3 {
  color: #edede3;
  font-family: 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-shadow: 1px 2px #070909;
}
.npc-specimen-title h3 {
  text-transform: uppercase;
}
.npc-guide-subtitle,
.npc-guide-description,
.npc-specimen-role,
.npc-specimen-description {
  color: #d0d1c6;
}
.npc-specimen-body {
  position: relative;
  isolation: isolate;
  border: 4px solid #0a0c0b;
  border-top-color: #0a0c0b;
  background:
    linear-gradient(100deg, #0000000d, #00000040),
    url('../assets/ui/manga-paper.svg') repeat;
  box-shadow:
    0 0 0 1px #64685e,
    4px 5px #070909;
}
.npc-specimen-body::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(340px, 80%);
  height: 340px;
  transform: rotate(180deg);
  background: url('../assets/ui/ink-splatter.svg') center / contain no-repeat;
  pointer-events: none;
}
.npc-specimen-body::after {
  content: '鬼霊術';
  position: absolute;
  z-index: -1;
  top: 23px;
  right: 20px;
  color: #080a08;
  opacity: 0.62;
  writing-mode: vertical-rl;
  font-family: 'Yu Mincho', 'MS Mincho', serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.npc-specimen-title {
  border-bottom: 3px solid #101311;
  box-shadow: 0 1px #78796f;
}
.npc-dossier-portrait .npc-guide-art {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.npc-portrait-window {
  position: relative;
  padding: 12px;
  background: #101412;
  box-shadow: 0 5px 12px #0008;
}
.npc-portrait-window::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: url('../assets/ui/portrait-frame.svg') center / 100% 100% no-repeat;
  pointer-events: none;
}
.npc-guide-art img {
  border: 1px solid #722936;
}
.npc-guide-art figcaption {
  margin-top: 8px;
  padding: 10px;
  color: #d3d0c4;
  border: 1px solid #5d6556;
  background: #151b15;
}
.npc-sheet-section {
  padding: 15px;
  border: 3px solid #090c0a;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(160deg, #252823f5, #171b18fa);
  box-shadow:
    0 0 0 1px #676c60,
    3px 3px #080b09;
}
.npc-sheet-section h4,
.npc-guide-card h4 {
  display: inline-block;
  max-width: 100%;
  padding: 6px 17px 7px 10px;
  border: 0;
  background:
    linear-gradient(#e5e4d8f5, #cfcec2f5),
    url('../assets/ui/brush-strip.svg') center / cover;
  color: #121611;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  font-family: 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.npc-sheet-section p {
  color: #d0d3c5;
}
.npc-sheet-section p strong,
.npc-guide li strong {
  color: #f0f0e5;
}
.npc-sheet-pending {
  border: 1px solid #83877a;
  border-left: 4px solid #92323d;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(145deg, #282b25, #151a16);
  box-shadow: 3px 3px #080b09;
}
.npc-sheet-pending strong {
  color: #e6e5d8;
  text-transform: uppercase;
}
.npc-sheet-pending p {
  color: #c7cbbd;
}
.npc-resource-grid > div {
  border: 1px solid #666d60;
  background: #151c17;
  box-shadow: inset 0 0 0 2px #080c09;
}
.npc-resource-grid dt {
  color: #c9cbbd;
}
.npc-resource-grid dd {
  color: #ececdf;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 900;
}
.npc-attribute-grid {
  padding: 10px 0;
  border-color: #121812;
}
.npc-attribute-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 91px;
  padding: 10px 0 4px;
  background: url('../assets/ui/attribute-badge.svg') center / contain no-repeat;
}
.npc-attribute-grid dt {
  color: #181c16;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.npc-attribute-grid dd {
  margin: 0;
  color: #11160f;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
}
.npc-guide-card,
.npc-guide-card--weakness {
  border: 3px solid #090c0a;
  background:
    url('../assets/ui/panel-corners.svg') center / 100% 100% no-repeat,
    linear-gradient(155deg, #282c25, #171d17);
  box-shadow:
    0 0 0 1px #636b5c,
    3px 3px #080b09;
}
.npc-guide-card--weakness {
  border-left-color: #852b3a;
}
.npc-guide-card li {
  color: #d0d3c5;
}
.npc-doll-reference {
  border-color: #858a7b;
}
.npc-drain-table {
  color: #dddfd2;
}
.npc-drain-table caption {
  color: #c2c6b6;
}
.npc-drain-table th,
.npc-drain-table td {
  border-color: #48513f;
}
.npc-drain-table th {
  color: #1a2116;
  background: #d6d8c9;
}
.npc-drain-table tbody tr:last-child {
  color: #efb6bf;
}
.npc-guide-note {
  border-left-color: #a33b4e;
  color: #d0d4c3;
  background: #171e16;
}
.npc-open-full {
  color: #edc1c7;
}
.npc-guide-dialog {
  border-color: #93998b;
  background: #111812;
}
/* A moldura e a faixa superior reproduzem o acabamento da tela de personagem. */
.mostruario-page {
  color: #e8e6dc;
  background: radial-gradient(ellipse at 50% 0, #172324 0, #101313 40%, #090b0b 85%);
}
.mostruario-shell {
  position: relative;
  isolation: isolate;
  border-color: #686b66;
  outline-color: #202423;
  background: #1a1c1b;
  box-shadow:
    0 0 0 1px #080b09,
    0 22px 65px #0009;
}
.mostruario-shell::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 15px;
  background: url('../assets/ui/brush-strip.svg') repeat-x center / 500px 21px;
  pointer-events: none;
}
.mostruario-header {
  margin: -32px -32px 0;
  padding: 32px 32px 26px;
  border-bottom: 4px solid #070909;
  background: linear-gradient(#111313eb, #151716f2), url('../assets/ui/manga-paper.svg');
}
.mostruario-header h1 {
  color: #edede3;
  font-family: 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  text-shadow: 1px 2px #000;
}
.mostruario-header p:last-child {
  color: #c7c9bd;
}
.mostruario-back {
  color: #dedfd2;
}
.mostruario-footer {
  color: #bbc1af;
  border-color: #676e5b;
}
#modal-gerenciador-hollows > section {
  border-color: #595f53;
  box-shadow:
    0 0 0 4px #0a100b,
    0 20px 60px #0009;
}
#modal-gerenciador-hollows > section > header h2 {
  color: #e8e9dd;
}
#modal-gerenciador-hollows > section > header > div > p:first-child {
  color: #d3a1aa;
}
@media (max-width: 800px) {
  .mostruario-header {
    margin: -18px -18px 0;
    padding: 28px 18px 22px;
  }
}
@media (max-width: 600px) {
  .npc-sheet-section {
    padding: 12px;
  }
  .npc-sheet-section h4,
  .npc-guide-card h4 {
    font-size: 13px;
  }
  .npc-attribute-grid > div {
    height: 67px;
    padding-top: 8px;
  }
  .npc-attribute-grid dt {
    font-size: 8px;
  }
  .npc-attribute-grid dd {
    font-size: 18px;
  }
}
