[hidden] { display: none !important; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.actions a { text-decoration: none; }
.actions .password-button, dialog button { text-transform: uppercase; }
.return { display: block; margin: 48px auto 0; border: 0; background: transparent; color: #aaa; cursor: pointer; font: inherit; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.return:hover { color: white; }
.tree { display: block; margin: 0 auto 48px; filter: grayscale(1); height: auto; max-width: 40vw; }
#doors { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-top: 48px; }
.door { aspect-ratio: 1; display: grid; place-content: center; gap: 8px; background: #000; color: #fff; border: 1px solid #444; cursor: pointer; font-family: inherit; }
.door:hover, .door[data-today="true"] { border-color: #fff; }
.date { font: 400 clamp(1.5rem,4vw,3.2rem)/1 'Playfair Display',serif; }
.state { text-transform: uppercase; letter-spacing: .15em; color: #aaa; font-size: .72rem; }
#season, #gift-text { color: #bbb; line-height: 1.7; }
dialog { margin: auto; width: min(420px,calc(100% - 40px)); background: #000; color: white; padding: 48px 20px; border: 1px solid #555; text-align: center; }
dialog::backdrop { background: #000c; }
dialog form { margin-top: 28px; }
@media(max-width:640px) { #doors { grid-template-columns: repeat(3,minmax(0,1fr)); } }
#season, #gift-text { margin-inline: auto; }
#advent-entry .return, #advent nav .return { margin: 0 auto 48px; }
.actions .password-button { font-weight: 400; line-height: 1.4; }
dialog:has(iframe) { width: min(100%, 1100px); max-height: 96dvh; padding: 12px; }
dialog:has(iframe) .final-title { font-size: 1.75rem; margin-bottom: 4px; }
dialog:has(iframe) form { margin-top: 8px; }
dialog iframe { display: block; width: 100%; height: 70vh; height: 70dvh; border: 0; }
