.adviento { color:#eee6d9; font-size:1rem; line-height:1.65; }
.adviento *, .adviento *::before, .adviento *::after { box-sizing:border-box; }
.adviento [hidden] { display:none !important; }
.adviento__scene { border:1px solid #554435; border-radius:18px; overflow:hidden; background:radial-gradient(ellipse at 50% 66%,#292921 0%,#191c19 55%,#111411 100%); color:#eee6d9; }
.adviento__heading { padding:22px 20px 0; text-align:center; }
.adviento__heading span, .adviento__label, .adviento__verse { color:#c9ab77; }
.adviento__heading span { letter-spacing:.16em; text-transform:uppercase; }
.adviento .adviento__heading h2 { color:#eee6d9; font:normal clamp(1.6rem,3vw,2.3rem)/1.25 Georgia,serif; margin:8px 0 0; }
.adviento__canvas { display:block; width:100%; height:auto; aspect-ratio:1200/728; }
.adviento__fallback { display:block; width:100%; height:auto; padding-top:8.33%; }
.adviento__caption { text-align:center; padding:12px 24px 8px; background:#191c19; }
.adviento .adviento__caption h3 { color:#eee6d9; font:normal 1.6rem/1.3 Georgia,serif; margin:8px 0; }
.adviento__caption p { max-width:650px; margin:10px auto; }
.adviento__caption p:empty { display:none; }
.adviento__prayer { font-style:italic; }
.adviento__details { text-align:center; padding:0 20px 24px; background:#191c19; }
.adviento__details p { margin:8px 0; }
.adviento__weeks, .adviento__actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:16px; }
.adviento .adviento__weeks { background:transparent; box-shadow:none; height:auto; line-height:inherit; width:100%; }
.adviento button, .adviento__actions a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 14px; border:1px solid #a38b64; border-radius:8px; background:#292921; color:#eee6d9; font:inherit; line-height:1.4; cursor:pointer; text-decoration:none; height:auto; text-transform:none; letter-spacing:normal; }
.adviento button:hover, .adviento button[aria-pressed="true"], .adviento__actions a:hover { background:#4c4030; color:#fff4e5; }
.adviento :focus-visible { outline:3px solid #e5c483; outline-offset:3px; }
.adviento__dialog { padding:0; border:1px solid #77614e; border-radius:18px; background:#191c19; color:#eee6d9; width:min(900px,96vw); max-width:96vw; max-height:94vh; max-height:94dvh; overflow:auto; overscroll-behavior:contain; }
.adviento__dialog::backdrop { background:#08060bdc; backdrop-filter:blur(6px); animation:adviento-backdrop .6s ease both; }
.adviento .adviento__close { position:sticky; top:10px; float:right; margin:10px 10px -54px 0; z-index:2; width:44px; padding:0; font-size:1.8rem; }
.adviento__dialog .adviento__heading { padding-left:58px; padding-right:58px; }
.adviento__dialog[open] { animation:adviento-enter .65s ease both; }
.adviento__scene--opening .adviento__caption { animation:adviento-reflection 3s ease both; }
.adviento__scene--christmas .adviento__christmas { color:#e8ce9e; }
.adviento__scene--opening .adviento__christmas { animation:adviento-reflection 5s ease both; }
.adviento__dev { background:#191c19; padding:18px; margin-top:16px; border-radius:12px; }
.adviento__dev label { display:block; color:#eee6d9; font-size:1rem; margin:16px 0; }
.adviento__dev select { display:block; background:#292921; color:#eee6d9; height:auto; min-height:44px; }
.adviento__dev input { width:100%; accent-color:#c9ab77; }
@keyframes adviento-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes adviento-backdrop { from { opacity:0; } to { opacity:1; } }
@keyframes adviento-reflection { 0%,35% { opacity:0; } 100% { opacity:1; } }
@media(max-width:600px) { .adviento__caption { padding:10px 16px; } .adviento__details { padding:0 14px 20px; } .adviento__weeks button { flex:1 1 42%; } }
@media(prefers-reduced-motion:reduce) { .adviento *, .adviento *::before, .adviento *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
