/* Ambiente mensual compartido por todo el portal; cambia con el mes del calendario. */
.calendar-season{--season-accent:#7fae35;--season-soft:#f1f7df;--season-line:#dce9bd;display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;margin:0 0 12px;padding:11px 14px;border:1px solid var(--season-line);border-left:4px solid var(--season-accent);border-radius:14px;background:linear-gradient(105deg,var(--season-soft),#fff 72%);color:#2d3d22;box-shadow:0 5px 16px #25310d0a}
.calendar-season-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#ffffffb8;font-size:22px;box-shadow:inset 0 0 0 1px #ffffffa6}
.calendar-season-copy{display:grid;gap:3px;min-width:0}.calendar-season-copy strong{font-size:12px;line-height:1.25}.calendar-season-copy small{font-size:11px;line-height:1.35;color:#626b56}.calendar-season-spark{margin-left:auto;color:var(--season-accent);font-size:22px;opacity:.72}
.calendar-season.season-halloween{--season-accent:#dc792e;--season-soft:#fff2e6;--season-line:#f1c79e;background:radial-gradient(circle at 93% 0,#ffe0bb 0,transparent 34%),linear-gradient(105deg,#fff0df,#fff 78%)}
.calendar-season.season-november{--season-accent:#a8793c;--season-soft:#faf0df;--season-line:#e8d4b4;background:radial-gradient(circle at 93% 0,#f3dfbd 0,transparent 34%),linear-gradient(105deg,#f8edda,#fff 78%)}
.calendar-season.season-christmas{--season-accent:#b63b35;--season-soft:#eff6e9;--season-line:#cdddbd;background:radial-gradient(circle at 93% 0,#f7e7d1 0,transparent 35%),linear-gradient(105deg,#eaf4e5,#fff 78%)}
.calendar-season.season-newyear{--season-accent:#8069c4;--season-soft:#f2efff;--season-line:#d9d0f2;background:radial-gradient(circle at 93% 0,#e3dcff 0,transparent 35%),linear-gradient(105deg,#efedff,#fff 78%)}
body[data-calendar-season="season-halloween"]{--season-accent:#df812f;--season-wash:#fff6ed}
body[data-calendar-season="season-november"]{--season-accent:#a8793c;--season-wash:#faf5ec}
body[data-calendar-season="season-christmas"]{--season-accent:#3b8b55;--season-wash:#f0f7ee}
body[data-calendar-season="season-newyear"]{--season-accent:#8069c4;--season-wash:#f5f2ff}
body[data-calendar-season]{background:linear-gradient(150deg,var(--season-wash,#f6f7f2),var(--canvas) 46%,#fff 100%)}
body[data-calendar-season] .sidebar{background:linear-gradient(160deg,#151914 0%,color-mix(in srgb,var(--season-accent) 17%,#171914) 62%,#171914 100%)}
body[data-calendar-season] .sidebar .nav button.active{box-shadow:inset 3px 0 var(--season-accent),0 8px 20px color-mix(in srgb,var(--season-accent) 16%,transparent)}
body[data-calendar-season] .sidebar .nav button.active .ico{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--season-accent) 48%,transparent))}
body[data-calendar-season] .topbar{border-bottom-color:color-mix(in srgb,var(--season-accent) 28%,#dce5cd)}
body[data-calendar-season] .action.primary,body[data-calendar-season] .action.lime{box-shadow:0 4px 13px color-mix(in srgb,var(--season-accent) 19%,transparent)}
@media(max-width:600px){.calendar-season{gap:9px;margin-bottom:10px;padding:9px 11px}.calendar-season-icon{flex-basis:34px;width:34px;height:34px;font-size:20px}.calendar-season-copy strong{font-size:11px}.calendar-season-copy small{font-size:10px}.calendar-season-spark{font-size:18px}}
@media(prefers-reduced-motion:no-preference){.calendar-season{transition:background .25s ease,border-color .25s ease}.sidebar,.topbar{transition:background .25s ease,border-color .25s ease}}
.calendar-season.season-february{--season-accent:#b94975;--season-soft:#fff0f5;--season-line:#edc8d7;background:radial-gradient(circle at 93% 0,#ffe2ed 0,transparent 34%),linear-gradient(105deg,#fff0f5,#fff 78%)}
.calendar-season.season-march{--season-accent:#5d9b42;--season-soft:#eff7e8;--season-line:#d0e3bd;background:radial-gradient(circle at 93% 0,#dfefd2 0,transparent 34%),linear-gradient(105deg,#edf6e6,#fff 78%)}
.calendar-season.season-april{--season-accent:#d18a3a;--season-soft:#fff5e8;--season-line:#efd6b4;background:radial-gradient(circle at 93% 0,#ffebc8 0,transparent 34%),linear-gradient(105deg,#fff3e3,#fff 78%)}
.calendar-season.season-may{--season-accent:#4b9b78;--season-soft:#eaf7f1;--season-line:#c8e4d7;background:radial-gradient(circle at 93% 0,#d9f0e4 0,transparent 34%),linear-gradient(105deg,#e8f5ed,#fff 78%)}
.calendar-season.season-june{--season-accent:#5a83bd;--season-soft:#eef4ff;--season-line:#cfddf1;background:radial-gradient(circle at 93% 0,#dfeaff 0,transparent 34%),linear-gradient(105deg,#edf3ff,#fff 78%)}
.calendar-season.season-july{--season-accent:#b45b42;--season-soft:#fff1eb;--season-line:#efd0c4;background:radial-gradient(circle at 93% 0,#ffe3d5 0,transparent 34%),linear-gradient(105deg,#fff0e7,#fff 78%)}
.calendar-season.season-august{--season-accent:#397bb3;--season-soft:#edf5fc;--season-line:#c9ddec;background:radial-gradient(circle at 93% 0,#e3f0fb 0,transparent 34%),linear-gradient(105deg,#edf5fc,#fff 78%)}
.calendar-season.season-september{--season-accent:#c28a2f;--season-soft:#fff7e5;--season-line:#ebddb5;background:radial-gradient(circle at 93% 0,#fff0c5 0,transparent 34%),linear-gradient(105deg,#fff6df,#fff 78%)}
body[data-calendar-season="season-february"]{--season-accent:#b94975;--season-wash:#fff5f8}
body[data-calendar-season="season-march"]{--season-accent:#5d9b42;--season-wash:#f3f8ee}
body[data-calendar-season="season-april"]{--season-accent:#d18a3a;--season-wash:#fff8ee}
body[data-calendar-season="season-may"]{--season-accent:#4b9b78;--season-wash:#f0f8f3}
body[data-calendar-season="season-june"]{--season-accent:#5a83bd;--season-wash:#f3f6fc}
body[data-calendar-season="season-july"]{--season-accent:#b45b42;--season-wash:#fff6f1}
body[data-calendar-season="season-august"]{--season-accent:#397bb3;--season-wash:#f3f8fc}
body[data-calendar-season="season-september"]{--season-accent:#c28a2f;--season-wash:#fffaf0}

/* Motivos animados mensuales dentro de la franja del calendario. */
.calendar-season{isolation:isolate}.calendar-season-icon,.calendar-season-copy,.calendar-season-spark{position:relative;z-index:1}.calendar-season-effects{position:absolute;z-index:0;inset:0 3px 0 auto;width:82px;overflow:hidden;pointer-events:none}.calendar-season-effects i{position:absolute;display:none;font-style:normal;line-height:1}.calendar-season.season-halloween .effect-spider{display:block;right:14px;top:0;font-size:19px;transform-origin:top center;animation:spider-drop 4.8s ease-in-out infinite}.calendar-season.season-halloween .effect-spider::before{content:"";position:absolute;left:50%;bottom:75%;height:28px;border-left:1px solid #4a3a2f;opacity:.7}.calendar-season.season-christmas .effect-snow{display:block;right:18px;top:1px;color:#5592b6;font-size:18px;animation:snow-drift 3.8s ease-in-out infinite}.calendar-season.season-christmas .snow-two{right:49px;top:17px;font-size:14px;animation-delay:-1.9s}.calendar-season.season-newyear .effect-spark{display:block;right:16px;top:8px;color:#9b79dd;font-size:22px;animation:sparkle 1.8s ease-in-out infinite}.calendar-season.season-newyear .effect-snow{display:block;right:49px;top:21px;color:#c28a36;font-size:13px;animation:sparkle 2.3s ease-in-out infinite reverse}.calendar-season.season-february .effect-bloom,.calendar-season.season-april .effect-bloom,.calendar-season.season-september .effect-bloom{display:block;right:20px;top:12px;color:#cb7294;font-size:21px;animation:bloom 3s ease-in-out infinite}.calendar-season.season-march .effect-leaf,.calendar-season.season-may .effect-leaf,.calendar-season.season-november .effect-leaf{display:block;right:14px;top:12px;font-size:21px;animation:leaf-sway 3.3s ease-in-out infinite}.calendar-season.season-june .effect-spark,.calendar-season.season-july .effect-spark,.calendar-season.season-august .effect-spark{display:block;right:19px;top:12px;color:var(--season-accent);font-size:21px;animation:sparkle 2.1s ease-in-out infinite}
@keyframes spider-drop{0%,12%,100%{transform:translateY(-1px)}52%,68%{transform:translateY(24px)}}@keyframes snow-drift{0%,100%{transform:translate(0,-1px);opacity:.45}50%{transform:translate(-5px,22px);opacity:1}}@keyframes sparkle{0%,100%{transform:scale(.72) rotate(-12deg);opacity:.45}50%{transform:scale(1.14) rotate(18deg);opacity:1}}@keyframes leaf-sway{0%,100%{transform:translateY(0) rotate(-12deg)}50%{transform:translateY(11px) rotate(18deg)}}@keyframes bloom{0%,100%{transform:rotate(0) scale(.85);opacity:.55}50%{transform:rotate(35deg) scale(1.12);opacity:1}}
@media(prefers-reduced-motion:reduce){.calendar-season-effects i{animation:none!important}.calendar-season.season-halloween .effect-spider{transform:translateY(8px)}}

/* El ambiente mensual acompaña todas las secciones del portal. */
.content>.calendar-season{margin:0 0 18px;padding:14px 18px;min-height:68px;border-left-width:6px;border-radius:18px;background-size:cover;box-shadow:0 10px 26px color-mix(in srgb,var(--season-accent) 12%,transparent)}
.content>.calendar-season .calendar-season-icon{width:46px;height:46px;flex-basis:46px;border-radius:15px;font-size:26px;box-shadow:0 4px 15px color-mix(in srgb,var(--season-accent) 17%,transparent)}
.content>.calendar-season .calendar-season-copy{gap:4px;padding-right:64px}.content>.calendar-season .calendar-season-copy strong{font-size:14px;letter-spacing:.01em}.content>.calendar-season .calendar-season-copy small{font-size:12px}
.calendar-season-spark{display:none!important}.calendar-season-effects{z-index:2;width:90px}.calendar-season-effects i{z-index:2}.calendar-season.season-halloween .effect-spider{right:21px;top:6px;font-size:22px;filter:drop-shadow(0 2px 1px #0002);animation:spider-drop 3.8s ease-in-out infinite}.calendar-season.season-halloween .effect-spider::before{top:-36px;bottom:auto;height:36px;border-color:#493a30;border-left-width:2px;opacity:.85}.calendar-season.season-christmas .effect-snow{right:23px;top:4px;font-size:22px;text-shadow:0 1px 5px #64a7ce66}.calendar-season.season-christmas .snow-two{right:58px;top:12px;font-size:17px}.calendar-season.season-newyear .effect-spark{right:20px;top:8px;font-size:27px;text-shadow:0 0 12px #a37bea88}.calendar-season.season-newyear .effect-snow{right:58px;top:25px;font-size:16px}
body[data-calendar-season] .view.active .card{border-color:color-mix(in srgb,var(--season-accent) 26%,var(--line));box-shadow:0 8px 24px color-mix(in srgb,var(--season-accent) 8%,transparent)}
body[data-calendar-season] .view.active>.page-title h2{position:relative;display:inline-block}
body[data-calendar-season] .view.active>.page-title h2::after{content:"";display:block;width:64%;height:4px;margin-top:6px;border-radius:9px;background:linear-gradient(90deg,var(--season-accent),color-mix(in srgb,var(--season-accent) 8%,transparent))}
body[data-calendar-season] .view.active .card-head h3{color:color-mix(in srgb,var(--season-accent) 48%,#26351d)}
body[data-calendar-season] .view.active .action.light:hover{border-color:var(--season-accent);color:color-mix(in srgb,var(--season-accent) 60%,#171914)}
body[data-calendar-season="season-halloween"] .sidebar{background-image:radial-gradient(ellipse at 88% 12%,#db7a2c20,transparent 34%),linear-gradient(160deg,#151914 0%,#292015 62%,#171914 100%)}
body[data-calendar-season="season-christmas"] .sidebar{background-image:radial-gradient(ellipse at 88% 12%,#4b9d5828,transparent 36%),linear-gradient(160deg,#151914 0%,#1a2d1f 62%,#171914 100%)}
body[data-calendar-season="season-newyear"] .sidebar{background-image:radial-gradient(ellipse at 88% 12%,#8b70d42b,transparent 36%),linear-gradient(160deg,#151914 0%,#211d31 62%,#171914 100%)}
@media(max-width:600px){.content>.calendar-season{margin:0 0 14px;padding:11px 13px;min-height:60px}.content>.calendar-season .calendar-season-icon{width:39px;height:39px;flex-basis:39px;font-size:22px}.content>.calendar-season .calendar-season-copy{padding-right:55px}.content>.calendar-season .calendar-season-copy strong{font-size:12px}.content>.calendar-season .calendar-season-copy small{font-size:10px}.calendar-season-effects{width:73px}.calendar-season.season-halloween .effect-spider{right:15px;font-size:19px}.calendar-season.season-halloween .effect-spider::before{height:31px;top:-31px}}

/* Los eventos comunitarios se distinguen en verde dentro del calendario. */
.calendar-legend .community-swatch{border-color:#4f9963;background:#dff1df}.calendar-day.has-community-event{border-color:#57a46b;background:linear-gradient(145deg,#f2fbf2,#e5f4e7);color:#285f37;box-shadow:inset 0 0 0 1px #ffffffb5}.calendar-day.has-community-event::after{content:"";position:absolute;right:5px;bottom:4px;width:6px;height:6px;border-radius:50%;background:#438653;box-shadow:0 0 0 2px #fff}.calendar-day.has-community-event.selected,.calendar-day.has-community-event.has-holiday.selected,.calendar-day.has-community-event.has-birthday.selected{border-color:#276344;background:#276344;color:#fff}.calendar-day.has-community-event.selected::after{background:#d8f36a;box-shadow:0 0 0 2px #276344}.calendar-event-mark.community-event-mark{color:#276344}.community-event-row{border-color:#b9dabb;background:linear-gradient(105deg,#edf8ee,#fbfff9)}.community-event-row span:nth-child(2){color:#276344!important}.community-swatch{border-color:#4f9963;background:#dff1df}
/* Animaciones creativas en la misma franja estacional, sin cubrir controles. */
.content>.calendar-season{position:relative;min-height:76px;padding-right:110px;background-size:160% 160%;animation:season-glow 8s ease-in-out infinite;background-position:0 50%}.calendar-season-copy{position:relative;z-index:2}.calendar-season-effects{z-index:1;inset:0 4px 0 auto;width:104px;overflow:hidden;pointer-events:none}.calendar-season-effects i{position:absolute;display:none;font-style:normal;line-height:1;will-change:transform,opacity}.calendar-season-spark{display:none!important}
/* Octubre: arañita que baja y se balancea, acompañada por murciélagos. */
.calendar-season.season-halloween .effect-spider{display:block;right:23px;top:7px;font-size:23px;transform-origin:top center;animation:spider-swing 3.5s ease-in-out infinite;filter:drop-shadow(0 2px 2px #24180d44)}.calendar-season.season-halloween .effect-spider::before{content:"";position:absolute;left:50%;top:-40px;height:42px;border-left:2px solid #493a30;opacity:.8}.calendar-season.season-halloween .effect-bat{display:block;right:64px;top:12px;font-size:16px;animation:bat-flit 3.8s ease-in-out infinite}.calendar-season.season-halloween .effect-bat.bat-two{right:49px;top:37px;font-size:12px;animation-delay:-1.7s}
/* Diciembre: nieve y un regalo que aparece con un pequeño salto. */
.calendar-season.season-christmas .effect-snow{display:block;right:25px;top:4px;color:#5592b6;font-size:22px;animation:snow-fall 3.7s linear infinite}.calendar-season.season-christmas .snow-two{right:65px;top:0;font-size:16px;animation-delay:-1.9s}.calendar-season.season-christmas .effect-gift{display:block;right:44px;bottom:8px;font-size:17px;animation:gift-pop 2.6s ease-in-out infinite}
.calendar-season.season-christmas .calendar-season-effects::before{content:"🎄";position:absolute;z-index:1;display:block;right:31px;top:50%;font-size:38px;line-height:1;transform:translateY(-50%);filter:drop-shadow(0 3px 3px #24452230);animation:tree-sway 3.4s ease-in-out infinite}
.calendar-season.season-christmas .calendar-season-effects::after{content:"";position:absolute;z-index:2;right:39px;top:calc(50% - 13px);width:22px;height:24px;border-radius:50%;background:radial-gradient(circle at 20% 20%,#fff36b 0 2px,transparent 3px),radial-gradient(circle at 76% 38%,#ff6a6a 0 2px,transparent 3px),radial-gradient(circle at 38% 65%,#7bdcff 0 2px,transparent 3px),radial-gradient(circle at 75% 85%,#fff36b 0 2px,transparent 3px);filter:drop-shadow(0 0 3px #fff36b);animation:tree-lights 1.4s ease-in-out infinite alternate}
/* Enero: destellos en ráfaga como fuegos artificiales. */
.calendar-season.season-newyear .effect-spark{display:block;right:23px;top:8px;color:#9b79dd;font-size:25px;animation:firework 2s ease-out infinite}.calendar-season.season-newyear .effect-snow{display:block;right:61px;top:29px;color:#c28a36;font-size:16px;animation:firework 2.4s ease-out infinite;animation-delay:-.9s}.calendar-season.season-newyear .effect-confetti{display:block;right:44px;top:5px;font-size:14px;animation:confetti-fall 2.8s ease-in infinite}
.calendar-season.season-february .effect-heart{display:block;right:23px;top:11px;font-size:20px;animation:heart-float 2.4s ease-in-out infinite}.calendar-season.season-march .effect-leaf,.calendar-season.season-may .effect-leaf,.calendar-season.season-november .effect-leaf{display:block;right:23px;top:10px;font-size:22px;animation:leaf-tumble 3.1s ease-in-out infinite}.calendar-season.season-march .effect-sprout,.calendar-season.season-may .effect-sprout{display:block;right:61px;top:25px;font-size:17px;animation:sprout-grow 2.4s ease-in-out infinite}.calendar-season.season-april .effect-bloom,.calendar-season.season-september .effect-bloom{display:block;right:23px;top:9px;color:#d07896;font-size:23px;animation:petal-drift 3.6s ease-in-out infinite}.calendar-season.season-april .bloom-two,.calendar-season.season-september .bloom-two{display:block;right:62px;top:30px;color:#e1a84f;font-size:16px;animation:petal-drift 3.6s ease-in-out infinite reverse}.calendar-season.season-june .effect-spark,.calendar-season.season-july .effect-spark,.calendar-season.season-august .effect-spark{display:block;right:22px;top:9px;color:var(--season-accent);font-size:23px;animation:firework 2.5s ease-out infinite}.calendar-season.season-july .effect-weight{display:block;right:59px;top:25px;font-size:17px;animation:weight-lift 1.8s ease-in-out infinite}.calendar-season.season-august .effect-confetti{display:block;right:61px;top:5px;font-size:14px;animation:confetti-fall 2.3s ease-in infinite}
@keyframes tree-sway{0%,100%{transform:translateY(-50%) rotate(-3deg)}50%{transform:translateY(calc(-50% - 2px)) rotate(3deg)}}@keyframes tree-lights{from{opacity:.55;filter:drop-shadow(0 0 2px #fff36b)}to{opacity:1;filter:drop-shadow(0 0 7px #fff36b)}}@keyframes spider-swing{0%,10%,100%{transform:translateY(0) rotate(-3deg)}48%,63%{transform:translateY(25px) rotate(8deg)}78%{transform:translateY(9px) rotate(-5deg)}}@keyframes bat-flit{0%,100%{transform:translate(0,0) rotate(-5deg)}50%{transform:translate(-20px,11px) rotate(9deg)}}@keyframes snow-fall{0%{transform:translateY(-8px) rotate(0);opacity:0}18%{opacity:.9}100%{transform:translate(-10px,68px) rotate(130deg);opacity:.15}}@keyframes gift-pop{0%,65%,100%{transform:translateY(0) rotate(0)}78%{transform:translateY(-7px) rotate(-8deg)}88%{transform:translateY(0) rotate(8deg)}}@keyframes firework{0%,100%{transform:scale(.45) rotate(0);opacity:.35}42%{transform:scale(1.18) rotate(28deg);opacity:1}65%{transform:scale(.8) rotate(55deg);opacity:.8}}@keyframes confetti-fall{0%{transform:translateY(-12px) rotate(0);opacity:0}20%{opacity:1}100%{transform:translate(-15px,68px) rotate(150deg);opacity:0}}@keyframes heart-float{0%,100%{transform:translateY(7px) scale(.82);opacity:.65}50%{transform:translateY(-5px) scale(1.13);opacity:1}}@keyframes leaf-tumble{0%,100%{transform:translateY(-3px) rotate(-15deg)}50%{transform:translateY(20px) rotate(35deg)}}@keyframes sprout-grow{0%,100%{transform:scale(.78) rotate(-7deg);opacity:.55}50%{transform:scale(1.12) rotate(5deg);opacity:1}}@keyframes petal-drift{0%,100%{transform:translate(0,-4px) rotate(0);opacity:.55}50%{transform:translate(-11px,18px) rotate(115deg);opacity:1}}@keyframes weight-lift{0%,100%{transform:translateY(4px) rotate(-5deg)}50%{transform:translateY(-7px) rotate(7deg)}}@keyframes season-glow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.content>.calendar-season,.calendar-season-effects i{animation:none!important}.calendar-season.season-halloween .effect-spider{transform:translateY(10px)}}

/* Marca temática dentro del encabezado del propio calendario. */
.calendar-month-heading{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.calendar-month-theme{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 8px;border:1px solid color-mix(in srgb,var(--season-accent,#87aa26) 34%,#fff);border-radius:999px;background:color-mix(in srgb,var(--season-accent,#87aa26) 10%,#fff);color:#415631;vertical-align:middle}.calendar-month-theme i{font-style:normal;font-size:15px;line-height:1}.calendar-month-theme small{font-size:8px;font-weight:900;letter-spacing:.06em}.calendar-month-thread{display:none;position:absolute;right:20px;bottom:calc(100% - 3px);height:18px;border-left:1px solid #50423a}.calendar-month-theme[data-season="season-halloween"]{border-color:#dc792e;background:linear-gradient(120deg,#fff0df,#ffe2c5);color:#854713}.calendar-month-theme[data-season="season-halloween"] .calendar-month-thread{display:block}.calendar-month-theme[data-season="season-halloween"] i{animation:calendar-spider-swing 2.9s ease-in-out infinite;transform-origin:top center;filter:drop-shadow(0 1px 1px #0002)}.calendar-month-theme[data-season="season-christmas"]{border-color:#62a26b;background:linear-gradient(120deg,#edf8ea,#dcefdc);color:#276344}.calendar-month-theme[data-season="season-newyear"]{border-color:#9a82dc;background:linear-gradient(120deg,#f4f0ff,#e9e0ff);color:#59438d}.calendar-month-theme[data-season="season-halloween"]::after{content:"";position:absolute;right:-5px;top:-4px;width:6px;height:6px;border-radius:50%;background:#e18a35;box-shadow:-28px 19px 0 #e18a35;animation:calendar-ember 2.5s ease-in-out infinite}@keyframes calendar-spider-swing{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(5px) rotate(9deg)}}@keyframes calendar-ember{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.3)}}
@media(max-width:600px){.calendar-month-heading{gap:5px}.calendar-month-theme{min-height:23px;padding:2px 6px}.calendar-month-theme small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.calendar-month-theme i,.calendar-month-theme::after{animation:none!important}}
/* Arañitas de frente que avanzan por el borde de la barra sin bloquear toques. */
@media screen and (max-width:600px){
  body.authenticated .app aside.sidebar nav#nav{position:relative}
  body.authenticated .app aside.sidebar::before,
  body.authenticated .app aside.sidebar::after{content:none!important;display:none!important}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-walker{position:absolute;top:1px;left:-28px;z-index:1003;display:block;width:26px;height:22px;margin:0;padding:0;overflow:visible;pointer-events:none!important;user-select:none;touch-action:none;animation:nav-spider-traverse 8s linear infinite}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-body{position:absolute;top:7px;left:9px;width:8px;height:10px;border:1px solid #c2a9d2;border-radius:55% 55% 48% 48%;background:radial-gradient(ellipse at 50% 25%,#5a426d 0 20%,#32223f 23% 100%);box-shadow:0 0 2px #fff;animation:nav-spider-body-step .32s steps(2,end) infinite}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-body::before{content:"";position:absolute;left:1px;top:-4px;width:6px;height:6px;border-radius:50%;background:#392649;border:1px solid #c2a9d2}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-body::after{content:"";position:absolute;left:2px;top:-2px;width:1.5px;height:1.5px;border-radius:50%;background:#fff;box-shadow:3px 0 #fff}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg{position:absolute;width:9px;height:6px;border-top:1.5px solid #493454;filter:drop-shadow(0 0 1px #fff);animation:nav-spider-leg-step .32s ease-in-out infinite alternate}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.left{left:1px;transform-origin:right center}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.right{left:16px;transform-origin:left center}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.l1{top:4px;--rest-angle:-34deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.r1{top:4px;--rest-angle:34deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.l2{top:7px;--rest-angle:-13deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.r2{top:7px;--rest-angle:13deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.l3{top:10px;--rest-angle:13deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.r3{top:10px;--rest-angle:-13deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.l4{top:13px;--rest-angle:34deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg.r4{top:13px;--rest-angle:-34deg}
  body.authenticated .app aside.sidebar nav#nav .nav-spider-leg:nth-of-type(2n){animation-delay:-.16s}
}
@keyframes nav-spider-traverse{0%{transform:translate3d(0,0,0)}20%{transform:translate3d(20vw,0,0)}40%{transform:translate3d(40vw,0,0)}60%{transform:translate3d(60vw,0,0)}80%{transform:translate3d(80vw,0,0)}100%{transform:translate3d(calc(100vw + 32px),0,0)}}
@keyframes nav-spider-body-step{0%,100%{transform:translateY(0)}50%{transform:translateY(1px)}}
@keyframes nav-spider-leg-step{from{transform:rotate(calc(var(--rest-angle) - 11deg))}to{transform:rotate(calc(var(--rest-angle) + 11deg))}}
@keyframes nav-season-crawl{0%{transform:translate3d(0,0,0) rotate(-3deg)}20%{transform:translate3d(20vw,0,0) rotate(3deg)}40%{transform:translate3d(40vw,-1px,0) rotate(-3deg)}60%{transform:translate3d(60vw,0,0) rotate(3deg)}80%{transform:translate3d(80vw,-1px,0) rotate(-3deg)}100%{transform:translate3d(calc(100vw + 24px),0,0) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){body.authenticated .app aside.sidebar::before,body.authenticated .app aside.sidebar::after{animation:none;display:none}}

/* La decoración del calendario se mueve con suavidad sin cubrir el número ni capturar toques. */
.calendar-number{position:relative;z-index:2;text-shadow:0 1px 2px #fff8}
.calendar-day-seasonal{position:absolute;left:4px;bottom:3px;z-index:1;display:grid;place-items:center;min-width:15px;height:15px;padding:0 2px;border-radius:8px;background:#fffdf1d9;font-size:10px;line-height:1;pointer-events:none;user-select:none;filter:drop-shadow(0 1px 1px #fff);animation:season-day-walk 2.8s ease-in-out infinite}
.calendar-day-seasonal.is-spider{left:1px;top:2px;bottom:auto;width:16px;min-width:16px;height:16px;padding:0;border-radius:0;background:transparent;filter:none;animation:calendar-spider-walk 2.2s linear infinite alternate}
.calendar-day-seasonal.is-spider .calendar-spider-body{position:absolute;left:5px;top:5px;width:6px;height:7px;border:1px solid #a98bbd;border-radius:50%;background:#392748;box-shadow:0 0 2px #fff}
.calendar-day-seasonal.is-spider .calendar-spider-body::before{content:"";position:absolute;left:0;top:-4px;width:4px;height:4px;border:1px solid #a98bbd;border-radius:50%;background:#49335c}
.calendar-day-seasonal.is-spider .calendar-spider-body i{position:absolute;left:1px;top:-2px;width:1px;height:1px;border-radius:50%;background:#fff;box-shadow:2px 0 #fff}
.calendar-day-seasonal.is-spider .calendar-spider-leg{position:absolute;width:6px;height:3px;border-top:1.5px solid #493454;animation:calendar-spider-legs .28s ease-in-out infinite alternate}
.calendar-day-seasonal.is-spider .calendar-spider-leg.left{left:0;transform-origin:right center}
.calendar-day-seasonal.is-spider .calendar-spider-leg.right{left:10px;transform-origin:left center}
.calendar-day-seasonal.is-spider .calendar-spider-leg.l1{top:1px;--spider-angle:-38deg}.calendar-day-seasonal.is-spider .calendar-spider-leg.r1{top:1px;--spider-angle:38deg}
.calendar-day-seasonal.is-spider .calendar-spider-leg.l2{top:3px;--spider-angle:-14deg}.calendar-day-seasonal.is-spider .calendar-spider-leg.r2{top:3px;--spider-angle:14deg}
.calendar-day-seasonal.is-spider .calendar-spider-leg.l3{top:5px;--spider-angle:14deg}.calendar-day-seasonal.is-spider .calendar-spider-leg.r3{top:5px;--spider-angle:-14deg}
.calendar-day-seasonal.is-spider .calendar-spider-leg.l4{top:7px;--spider-angle:38deg}.calendar-day-seasonal.is-spider .calendar-spider-leg.r4{top:7px;--spider-angle:-38deg}
.calendar-day-seasonal.is-bat{left:auto;right:3px;top:2px;bottom:auto;animation:calendar-bat-flight 1.35s ease-in-out infinite}
.calendar-day-seasonal.is-pumpkin{left:auto;right:3px;top:2px;bottom:auto;transform-origin:85% 85%;animation:calendar-pumpkin-scare 3.2s ease-in-out infinite}
@keyframes calendar-spider-walk{from{top:2px;transform:translateX(0)}to{top:calc(100% - 18px);transform:translateX(1px)}}
@keyframes calendar-spider-legs{from{transform:rotate(calc(var(--spider-angle) - 16deg))}to{transform:rotate(calc(var(--spider-angle) + 16deg))}}
@keyframes calendar-bat-flight{0%,100%{transform:translate(0,0) rotate(-8deg) scaleX(1)}25%{transform:translate(-2px,-3px) rotate(5deg) scaleX(.82)}50%{transform:translate(-5px,0) rotate(-4deg) scaleX(1)}75%{transform:translate(-2px,-3px) rotate(7deg) scaleX(.82)}}
@keyframes calendar-pumpkin-scare{0%,75%,100%{transform:scale(1) rotate(0);filter:drop-shadow(0 1px 1px #fff)}80%{transform:scale(1.22) rotate(-12deg);filter:drop-shadow(0 0 4px #f39b35)}86%{transform:scale(.92) rotate(8deg)}92%{transform:scale(1.08) rotate(-5deg)}}
@keyframes season-day-walk{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-2px) rotate(7deg)}}
body.authenticated .app aside.sidebar::before{font-size:15px;opacity:.95;animation-duration:7s}
body.authenticated .app aside.sidebar::after{font-size:13px;opacity:.82;animation-duration:7s;animation-delay:-3.5s}
@keyframes nav-season-crawl{0%{transform:translate3d(0,0,0) rotate(-3deg)}20%{transform:translate3d(20vw,0,0) rotate(3deg)}40%{transform:translate3d(40vw,-1px,0) rotate(-3deg)}60%{transform:translate3d(60vw,0,0) rotate(3deg)}80%{transform:translate3d(80vw,-1px,0) rotate(-3deg)}100%{transform:translate3d(calc(100vw + 24px),0,0) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){
  .calendar-day-seasonal{animation-duration:3.8s}
  body.authenticated .app aside.sidebar::before,body.authenticated .app aside.sidebar::after{display:block;animation-duration:12s;opacity:.62}
  body.authenticated .app aside.sidebar::after{animation-delay:-6s}
}
.booking-success{position:relative;overflow:hidden;padding-right:100px!important}
.booking-success::after{content:attr(data-season-motifs);position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;line-height:1;white-space:nowrap;pointer-events:none;animation:booking-theme-bob 2.4s ease-in-out infinite}
.booking-card::after{content:attr(data-season-motifs);position:absolute;right:12px;top:7px;font-size:13px;line-height:1;opacity:.65;pointer-events:none;animation:booking-card-theme-bob 3.2s ease-in-out infinite}
@keyframes booking-theme-bob{0%,100%{transform:translateY(-50%) rotate(-5deg)}50%{transform:translateY(calc(-50% - 3px)) rotate(5deg)}}
@keyframes booking-card-theme-bob{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-3px) rotate(5deg)}}
@media(max-width:600px){.booking-success{padding-right:80px!important}.booking-success::after{right:12px;font-size:16px}.booking-card::after{right:9px;top:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.booking-success::after,.booking-card::after{animation-duration:6s}}
.calendar-season.season-halloween .effect-candy{display:block;right:39px;top:29px;font-size:15px;animation:candy-bob 1.9s ease-in-out infinite}
@keyframes candy-bob{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-8px) rotate(12deg)}}

/* Mantén en movimiento la decoración del mes incluso si el teléfono anuncia movimiento reducido. */
@media(prefers-reduced-motion:reduce){
  .content>.calendar-season{animation:season-glow 14s ease-in-out infinite!important}
  .calendar-season.season-halloween .effect-spider{animation:spider-swing 4.8s ease-in-out infinite!important}
  .calendar-season.season-halloween .effect-bat{animation:bat-flit 5s ease-in-out infinite!important}
  .calendar-season.season-christmas .effect-snow{animation:snow-fall 5s linear infinite!important}
  .calendar-season.season-christmas .effect-gift{animation:gift-pop 4s ease-in-out infinite!important}
  .calendar-season.season-newyear .effect-spark,.calendar-season.season-june .effect-spark,.calendar-season.season-july .effect-spark,.calendar-season.season-august .effect-spark{animation:firework 4s ease-out infinite!important}
  .calendar-season.season-newyear .effect-confetti,.calendar-season.season-august .effect-confetti{animation:confetti-fall 4.5s ease-in infinite!important}
  .calendar-season.season-february .effect-heart{animation:heart-float 4s ease-in-out infinite!important}
  .calendar-season.season-march .effect-leaf,.calendar-season.season-may .effect-leaf,.calendar-season.season-november .effect-leaf{animation:leaf-tumble 4.5s ease-in-out infinite!important}
  .calendar-season.season-march .effect-sprout,.calendar-season.season-may .effect-sprout{animation:sprout-grow 4s ease-in-out infinite!important}
  .calendar-season.season-april .effect-bloom,.calendar-season.season-september .effect-bloom{animation:petal-drift 5s ease-in-out infinite!important}
  .calendar-season.season-july .effect-weight{animation:weight-lift 3.5s ease-in-out infinite!important}
  .calendar-season.season-halloween .effect-candy{animation:candy-bob 3.5s ease-in-out infinite!important}
  .calendar-day-seasonal{animation:season-day-walk 3.8s ease-in-out infinite!important}
  .calendar-day-seasonal.is-spider{animation:calendar-spider-walk 2.2s linear infinite alternate!important}
  .calendar-day-seasonal.is-bat{animation:calendar-bat-flight 1.35s ease-in-out infinite!important}
  .calendar-day-seasonal.is-pumpkin{animation:calendar-pumpkin-scare 3.2s ease-in-out infinite!important}
  .calendar-month-theme[data-season="season-halloween"] i{animation:calendar-spider-swing 4s ease-in-out infinite!important}
  .calendar-month-theme[data-season="season-halloween"]::after{animation:calendar-ember 4s ease-in-out infinite!important}
  body.authenticated .app aside.sidebar::before{display:block!important;animation:nav-season-crawl 9s linear infinite!important}
  body.authenticated .app aside.sidebar::after{display:block!important;animation:nav-season-crawl 9s linear -4.5s infinite!important}
  .booking-success::after,.booking-card::after{animation-duration:5s!important}
}

/* Diciembre: guirnalda vertical con luces animadas en la barra lateral. */
@media(min-width:601px){
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar{position:relative;isolation:isolate}
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before{
    content:""!important;display:block!important;position:absolute;z-index:3;top:108px;right:9px;width:14px;height:min(72vh,520px);margin:0;padding:0;border:0;pointer-events:none;opacity:.92;
    background:
      radial-gradient(circle,#fff36b 0 2.5px,transparent 3.5px) center 8px/12px 12px no-repeat,
      radial-gradient(circle,#ff6a6a 0 2.5px,transparent 3.5px) center 32px/12px 12px no-repeat,
      radial-gradient(circle,#7bdcff 0 2.5px,transparent 3.5px) center 56px/12px 12px no-repeat,
      radial-gradient(circle,#fff36b 0 2.5px,transparent 3.5px) center 80px/12px 12px no-repeat,
      radial-gradient(circle,#ff6a6a 0 2.5px,transparent 3.5px) center 104px/12px 12px no-repeat,
      radial-gradient(circle,#7bdcff 0 2.5px,transparent 3.5px) center 128px/12px 12px no-repeat,
      radial-gradient(circle,#fff36b 0 2.5px,transparent 3.5px) center 152px/12px 12px no-repeat,
      radial-gradient(circle,#ff6a6a 0 2.5px,transparent 3.5px) center 176px/12px 12px no-repeat,
      radial-gradient(circle,#7bdcff 0 2.5px,transparent 3.5px) center 200px/12px 12px no-repeat,
      radial-gradient(circle,#fff36b 0 2.5px,transparent 3.5px) center 224px/12px 12px no-repeat,
      linear-gradient(#d5c98a,#d5c98a) center/1px 100% no-repeat;
    filter:drop-shadow(0 0 3px #fff36b);animation:sidebar-tree-lights 1.6s ease-in-out infinite alternate
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after{
    content:"✦"!important;display:block!important;position:absolute;z-index:3;top:82px;right:16px;width:auto;height:auto;margin:0;padding:0;border:0;background:none;color:#ffe46b;font-size:15px;line-height:1;pointer-events:none;animation:sidebar-star-twinkle 1.8s ease-in-out infinite alternate
  }
}
@keyframes sidebar-tree-lights{from{opacity:.55;filter:drop-shadow(0 0 2px #fff36b)}to{opacity:1;filter:drop-shadow(0 0 7px #fff36b)}}
@keyframes sidebar-star-twinkle{from{opacity:.45;transform:scale(.82) rotate(-10deg)}to{opacity:1;transform:scale(1.18) rotate(14deg)}}
.calendar-grid.calendar-weekday-only{grid-template-columns:repeat(5,minmax(0,1fr))}.coach-weekend-toggle{display:flex;align-items:flex-start;gap:9px;margin:10px 0;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#f7f8f3;color:var(--ink);font-size:12px;cursor:pointer}.coach-weekend-toggle[hidden]{display:none}.coach-weekend-toggle input{margin:2px 0 0;accent-color:var(--lime2)}.coach-weekend-toggle span{display:grid;gap:3px}.coach-weekend-toggle small{font-size:10px;line-height:1.45;color:var(--muted)}@media(max-width:600px){.coach-weekend-toggle{padding:10px;font-size:11px}.coach-weekend-toggle small{font-size:10px}}

/* La decoración corresponde al mes y no incluye arañas. */
.nav-spider-walker,.effect-spider,.calendar-day-seasonal.is-spider{display:none!important}
.calendar-season.season-halloween .effect-bat{display:block;right:20px;top:7px;font-size:22px;animation:bat-flit 5s ease-in-out infinite}
.calendar-season.season-halloween .effect-leaf{display:block;right:55px;top:17px;font-size:19px;animation:leaf-sway 3.3s ease-in-out infinite}


/* Calendario de reservas: el mes marca la paleta, con fechas legibles y selección clara. */
body[data-calendar-season] #bookingWidget{border-top:4px solid var(--season-accent,#829d38);background:linear-gradient(180deg,var(--season-wash,#f7f8f2),#fff 210px);box-shadow:0 12px 30px color-mix(in srgb,var(--season-accent,#829d38) 10%,transparent)}
body[data-calendar-season] #bookingWidget .calendar-head{min-height:48px;margin:10px 0 14px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--season-accent,#829d38) 24%,white);border-radius:14px;background:linear-gradient(110deg,color-mix(in srgb,var(--season-soft,#f1f7df) 82%,white),#fff);box-shadow:0 4px 12px color-mix(in srgb,var(--season-accent,#829d38) 9%,transparent)}
body[data-calendar-season] #bookingWidget .calendar-head strong{color:color-mix(in srgb,var(--season-accent,#829d38) 68%,#26351d);font-size:clamp(15px,2.4vw,19px);letter-spacing:-.02em}
body[data-calendar-season] #bookingWidget .calendar-head button{border-color:color-mix(in srgb,var(--season-accent,#829d38) 28%,white);color:var(--season-accent,#829d38);transition:transform .18s ease,background .18s ease}
body[data-calendar-season] #bookingWidget .calendar-head button:hover{transform:translateY(-1px);background:var(--season-soft,#f1f7df)}
body[data-calendar-season] #bookingWidget .calendar-weekday{color:color-mix(in srgb,var(--season-accent,#829d38) 72%,#34452b);font-weight:800;letter-spacing:.02em}
body[data-calendar-season] #bookingWidget .calendar-day:not(.blank){position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--season-accent,#829d38) 19%,#e5e8df);border-radius:12px;background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--season-soft,#f1f7df) 30%,white));box-shadow:0 2px 6px #2430180a;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body[data-calendar-season] #bookingWidget .calendar-day:not(:disabled):not(.selected):hover{transform:translateY(-2px);border-color:var(--season-accent,#829d38);box-shadow:0 5px 12px color-mix(in srgb,var(--season-accent,#829d38) 16%,transparent)}
body[data-calendar-season] #bookingWidget .calendar-day.selected{border-color:var(--season-accent,#829d38);background:linear-gradient(145deg,var(--season-accent,#829d38),color-mix(in srgb,var(--season-accent,#829d38) 72%,#26351d));color:white;box-shadow:0 5px 13px color-mix(in srgb,var(--season-accent,#829d38) 28%,transparent);font-weight:900}
body[data-calendar-season] #bookingWidget .calendar-day:disabled{opacity:.72;border-color:#e0e5da;background:linear-gradient(145deg,#f8f9f5,#eef1e9);color:#687161;box-shadow:none}
body[data-calendar-season] #bookingWidget .calendar-day-seasonal{background:color-mix(in srgb,var(--season-soft,#f1f7df) 78%,white);border:1px solid color-mix(in srgb,var(--season-accent,#829d38) 18%,white)}
@media(max-width:600px){body[data-calendar-season] #bookingWidget .calendar-day:not(.blank){border-radius:10px;box-shadow:0 1px 4px #2430180a}body[data-calendar-season] #bookingWidget .calendar-day:not(:disabled):active{transform:scale(.97)}}

/* Navidad: escena legible en el banner y guirnalda discreta en ambas navegaciones. */
body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season{min-height:88px;padding:14px 150px 14px 18px;background:radial-gradient(ellipse at 93% 0,#fff2d5 0,transparent 43%),linear-gradient(110deg,#e8f4e7 0%,#fffaf0 58%,#f8ead7 100%);border-color:#d8cba8;box-shadow:0 12px 28px #664b1b16}
body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-icon{width:64px;height:64px;flex-basis:64px;border-radius:20px;font-size:42px;background:linear-gradient(145deg,#fff,#f0f7e6);box-shadow:0 6px 18px #44521d19}
body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-copy strong{font-size:15px;color:#29442b}
body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-copy small{font-size:12px;color:#596552}
body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects{width:min(43%,270px);inset:0 8px 0 auto;overflow:hidden;background:radial-gradient(circle at 12% 72%,#df2929 0 3px,transparent 4px),radial-gradient(circle at 23% 80%,#f4c542 0 3px,transparent 4px),radial-gradient(circle at 34% 72%,#2986cf 0 3px,transparent 4px),radial-gradient(circle at 45% 80%,#59a65d 0 3px,transparent 4px),radial-gradient(circle at 56% 72%,#df2929 0 3px,transparent 4px),radial-gradient(circle at 67% 80%,#f4c542 0 3px,transparent 4px),radial-gradient(circle at 78% 72%,#2986cf 0 3px,transparent 4px),radial-gradient(circle at 89% 80%,#59a65d 0 3px,transparent 4px);filter:drop-shadow(0 0 3px #fff2a8)}
body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects::before{content:"🎅🛷🦌";display:block;position:absolute;z-index:3;top:15px;left:0;white-space:nowrap;font-size:27px;line-height:1;filter:drop-shadow(0 3px 2px #49361b22);animation:christmas-sleigh-flight 8s ease-in-out infinite}
body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects .effect-snow{z-index:1;right:12px;top:7px;font-size:18px}
body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects .snow-two{right:48px;top:17px;font-size:14px}
body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects .effect-gift{z-index:2;right:18px;top:39px;font-size:22px;animation:gift-pop 2.8s ease-in-out infinite}
@keyframes christmas-sleigh-flight{0%{transform:translateX(-38px) translateY(5px)}45%{transform:translateX(45px) translateY(-3px)}100%{transform:translateX(135px) translateY(4px)}}
@keyframes christmas-lights-glow{from{opacity:.58;filter:drop-shadow(0 0 2px #ffe98a)}to{opacity:1;filter:drop-shadow(0 0 7px #ffe98a)}}
/* En PC: luces sobre el logo, sin la guirnalda vertical anterior. */
@media(min-width:601px){body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before{content:""!important;display:block!important;position:absolute;z-index:4;top:10px;left:18px;right:18px;width:auto;height:11px;border:0;margin:0;padding:0;pointer-events:none;opacity:1;filter:drop-shadow(0 0 4px #ffeaa0);background:radial-gradient(circle,#ffe98a 0 3px,transparent 4px) 0 4px/24px 8px repeat-x,linear-gradient(177deg,transparent 0 45%,#b49a58 48% 53%,transparent 56%) 0 0/100% 9px no-repeat;animation:christmas-lights-glow 2.3s ease-in-out infinite alternate}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after{content:"🎅 🛷 🦌"!important;display:block!important;position:absolute;z-index:4;top:4px;left:18px;right:auto;width:auto;height:auto;border:0;margin:0;padding:0;background:none;color:#fff;font-size:15px;line-height:1;pointer-events:none;animation:desktop-sleigh 12s linear infinite}}
@keyframes desktop-sleigh{0%{transform:translateX(-24px)}100%{transform:translateX(175px)}}
/* En teléfono la navegación es inferior: la guirnalda se fija a su borde superior. */
@media(max-width:600px){body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season{min-height:73px;padding:10px 92px 10px 12px}body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-icon{width:52px;height:52px;flex-basis:52px;font-size:34px;border-radius:16px}body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-copy{padding-right:0}body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects{width:94px;right:3px}body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects::before{top:13px;font-size:21px;animation-duration:6.5s}body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects .effect-gift{top:39px;right:12px;font-size:18px}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar{isolation:isolate}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before,body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after{content:none!important;display:none!important}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar nav#nav{position:relative;isolation:isolate}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar nav#nav::before{content:"";display:block;position:absolute;z-index:5;top:-6px;left:8px;right:8px;height:9px;pointer-events:none;background:radial-gradient(circle,#ffe986 0 2.5px,transparent 3.5px) 0 3px/25px 7px repeat-x,linear-gradient(178deg,transparent 0 45%,#b49a58 48% 54%,transparent 57%) 0 0/100% 7px no-repeat;filter:drop-shadow(0 0 4px #ffe986);animation:christmas-lights-glow 2s ease-in-out infinite alternate}body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar nav#nav::after{content:"🎅🛷🦌";display:block;position:absolute;z-index:6;top:-28px;left:0;white-space:nowrap;font-size:17px;line-height:1;pointer-events:none;filter:drop-shadow(0 2px 2px #0007);animation:mobile-sleigh 10s linear infinite}@keyframes mobile-sleigh{0%{transform:translateX(-40px)}100%{transform:translateX(calc(100vw - 20px))}}}
@media(prefers-reduced-motion:reduce){body.authenticated[data-calendar-season="season-christmas"] .calendar-season-effects::before,body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before,body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after,body.authenticated[data-calendar-season="season-christmas"] #nav::before,body.authenticated[data-calendar-season="season-christmas"] #nav::after{animation:none!important}}

/* The phone dock is a clipped horizontal menu. Constrain its wrapper so labels and buttons stay inside the viewport. */
@media(max-width:600px){
  body.authenticated .app aside.sidebar{width:100%;max-width:100vw;overflow:hidden}
  body.authenticated .app aside.sidebar>div:nth-child(2){flex:1 1 auto;width:100%;min-width:0;overflow:hidden}
  body.authenticated .app aside.sidebar nav#nav{display:flex!important;align-items:stretch;width:100%;min-width:0;height:100%;gap:2px;padding:0 3px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.authenticated .app aside.sidebar nav#nav::-webkit-scrollbar{display:none}
  body.authenticated .app aside.sidebar nav#nav>button{box-sizing:border-box;flex:0 0 clamp(48px,calc((100vw - 22px)/6),62px);width:clamp(48px,calc((100vw - 22px)/6),62px);min-width:0;min-height:58px;padding:5px 2px;overflow:hidden}
  body.authenticated .app aside.sidebar nav#nav>button .ico{width:auto;min-width:0;font-size:15px;line-height:1}
  body.authenticated .app aside.sidebar nav#nav>button .navtext{display:-webkit-box!important;width:100%;max-width:100%;overflow:hidden;overflow-wrap:anywhere;text-align:center;font-size:clamp(8px,2.25vw,10px)!important;line-height:1.05;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}

/* En móvil la guirnalda y el trineo ocupan todo el ancho sobre la barra fija. */
@media(max-width:600px){
  body.authenticated[data-calendar-season="season-christmas"] .content>.calendar-season .calendar-season-effects::before{
    content:none!important;display:none!important
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar{
    overflow:visible!important;isolation:isolate
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before{
    content:""!important;display:block!important;position:absolute;z-index:12;
    top:-10px;left:0;right:0;width:100%;height:13px;margin:0;padding:0;
    border:0;pointer-events:none;opacity:1;
    background:radial-gradient(circle,#fff0a0 0 3px,transparent 4.5px) 0 4px/24px 9px repeat-x,
      linear-gradient(177deg,transparent 0 44%,#b49a58 48% 54%,transparent 58%) 0 0/100% 10px no-repeat;
    filter:drop-shadow(0 0 5px #ffe986);
    animation:christmas-lights-glow 1.5s ease-in-out infinite alternate!important
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after{
    content:"🎅🛷🦌"!important;display:block!important;position:absolute;z-index:13;
    top:-31px;left:0;right:auto;width:max-content;height:22px;margin:0;padding:0;
    border:0;background:none;white-space:nowrap;font-size:19px;line-height:1;
    pointer-events:none;filter:drop-shadow(0 2px 2px #0005);
    animation:mobile-sleigh-across 8s linear infinite!important;will-change:transform
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar nav#nav::after{
    content:none!important;display:none!important
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar nav#nav::before{
    content:none!important;display:none!important
  }
}
@keyframes mobile-sleigh-across{
  0%{transform:translateX(-78px) translateY(2px)}
  18%{transform:translateX(18vw) translateY(-3px)}
  38%{transform:translateX(38vw) translateY(1px)}
  58%{transform:translateX(58vw) translateY(-3px)}
  78%{transform:translateX(78vw) translateY(1px)}
  100%{transform:translateX(calc(100vw + 78px)) translateY(-2px)}
}

/* Fijar los adornos al viewport evita que el scroll horizontal del menú los acorte. */
@media(max-width:600px){
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::before{
    position:fixed!important;top:auto!important;left:0!important;right:0!important;
    bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;
    width:100vw!important;max-width:100vw!important
  }
  body.authenticated[data-calendar-season="season-christmas"] .app aside.sidebar::after{
    position:fixed!important;top:auto!important;left:0!important;right:auto!important;
    bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;
    animation:mobile-sleigh-across 8s linear infinite!important
  }
}
