/* Print / save as PDF: spell cards – force colors, hide chrome */
* {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

body {
    background-color: white !important;
}

header {
    display: none !important;
}

.no-print {
    display: none !important;
}

#printable-area {
    padding: 0 !important;
    margin: 0 !important;
}

.page {
    margin: 0 !important;
}

.spell-casting-time {
    background-clip: border-box !important;
}

/* Note: Borders for spell-level-outer-circle, spell-casting-time, and card-body.back
   are now rendered as pseudo-elements (::before) instead of CSS borders for consistent
   rendering across browsers and in print. See card.css for implementation. */
