/* Compagnon D&D 5e — version 11.1 */
/* ============ FINAL SHEET ============ */
  .sheet { font-size: 14px; }
  .sheet-header {
    display: flex; gap: 18px; align-items: center;
    border: 2px solid var(--blood); border-radius: 10px;
    padding: 16px 20px; margin-bottom: 16px; background: #fffdf6;
  }
  .sheet-header .crest {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--blood); color: #f7ecd8;
    font-family: 'Cinzel', serif; font-size: 28px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .sheet-header h2 { font-family: 'Cinzel', serif; font-size: 24px; color: var(--ink); }
  .sheet-header .subtitle { color: var(--ink-soft); font-style: italic; }

  .sheet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
  .sheet-block {
    border: 1px solid var(--border-aged); border-radius: 8px;
    background: #fffdf6; padding: 13px 16px;
  }
  .sheet-block h4 {
    font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 1px;
    color: var(--blood); text-transform: uppercase;
    border-bottom: 1px solid var(--border-aged); padding-bottom: 6px; margin-bottom: 8px;
  }
  .sheet-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted #e2d6b4; }
  .sheet-row:last-child { border-bottom: none; }
  .sheet-row .k { color: var(--ink-soft); }
  .sheet-row .v { font-weight: 700; }

  .vital-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 14px; }
  .vital {
    text-align: center; border: 1.5px solid var(--blood); border-radius: 8px;
    padding: 10px 6px; background: #fffdf6;
  }
  .vital .num { font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700; color: var(--ink); }
  .vital-ic { position: relative; display: flex; align-items: center; justify-content: center; }
  .vital-ic .glyph { color: var(--blood); opacity: .16; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .vital-ic .glyph svg { width: 58px; height: 58px; }
  .vital-ic .val { position: relative; font-family: 'Cinzel', serif; font-size: 24px; font-weight: 700; color: var(--ink); z-index: 1; }
  .vital .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }

  .ab-band { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; }
  @media (max-width: 640px) { .ab-band { grid-template-columns: repeat(3, 1fr); } }
  .ab-cell { text-align: center; border: 1px solid var(--border-aged); border-radius: 8px; background: #fffdf6; padding: 8px 4px; }
  .ab-cell .nm { font-family: 'Cinzel', serif; font-size: 11px; color: var(--blood); }
  .ab-cell .sc { font-size: 22px; font-weight: 700; }
  .ab-cell .md { font-size: 13px; color: var(--gold); font-weight: 700; }
  .ab-cell .race-bonus { font-size: 10px; color: var(--ink-soft); margin-top: 3px; line-height: 1.3; }

  .trait-block { margin-bottom: 8px; }
  .trait-block b { color: var(--ink); }
  .trait-block span { color: var(--ink-soft); }

  .print-btn-row { text-align: center; margin-top: 20px; }
