/* Christmas Advent */
.adv > * + * { margin-top: 1rem; }
.adv-doors { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.adv-door {
    position: relative; aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--accent); background: var(--surface);
    color: var(--accent); font: inherit; font-size: clamp(1.1rem, 4vw, 1.7rem); font-weight: 800; cursor: pointer;
}
.adv-door:hover:not(:disabled) { background: var(--accent-soft); }
.adv-door.is-today { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.adv-door.is-done { background: #dcfce7; border-color: #15803d; color: #15803d; }
.adv-door.is-locked { border-style: dashed; border-color: var(--line); color: var(--ink-soft); background: transparent; cursor: default; }
.adv-door.is-christmas { grid-column: 1 / -1; aspect-ratio: auto; min-height: 4rem; }
.adv-check { position: absolute; top: .25rem; right: .4rem; font-size: .9rem; }
.adv-day { outline: none; }
.adv-day h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); margin-bottom: .5rem; }
.adv-ref { font-size: 1.1rem; }
.adv-do { font-size: 1.1rem; background: var(--accent-soft); padding: .75rem 1rem; border-radius: 10px; }
.adv-mark[aria-pressed="true"] { background: #15803d; border-color: #15803d; }
.adv-print svg { width: 1.1rem; height: 1.1rem; }
.adv-sheet { display: none; }

@media print {
    body.adv-printing .site-header, body.adv-printing .site-footer, body.adv-printing .page-head,
    body.adv-printing .g-footnote, body.adv-printing .no-print { display: none !important; }
    body.adv-printing .section { padding: 0; }
    body.adv-printing .adv-sheet { display: block; }
    .adv-sheet h2 { text-align: center; font-size: 17pt; margin: 0 0 4mm; }
    .adv-sheet__list { margin: 0; padding-left: 9mm; font-size: 10.5pt; line-height: 1.35; }
    .adv-sheet__list li { margin-bottom: 1.6mm; }
    .adv-box { display: inline-block; width: 3.5mm; height: 3.5mm; border: 1.2px solid #000; margin-right: 2mm; vertical-align: -.4mm; }
    .adv-sheet__disc { text-align: center; font-size: 7pt; color: #444; margin-top: 5mm; }
}
