.festival-date-field{display:block;position:relative;min-width:0;width:100%}
.festival-date-field .festival-native-date{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0;clip-path:inset(50%);overflow:hidden;pointer-events:none}
.festival-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:12px 14px;border:1px solid #d8c19c;border-radius:10px;background:linear-gradient(120deg,#fffdf8,#fcf5e9);color:#76583d;font:400 15px/1.5 var(--sans,Arial,sans-serif);text-align:left;cursor:pointer;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.festival-date-trigger svg{width:22px;height:22px;flex:none;color:#a57034}.festival-date-trigger.has-date{color:#602b25}.festival-date-trigger:hover{border-color:#ad793b;box-shadow:0 3px 14px #9c683518}.festival-date-trigger:focus-visible{outline:3px solid #c99a56;outline-offset:3px}.festival-date-trigger[aria-invalid=true]{border-color:#a62b30}
.festival-calendar{width:min(460px,calc(100vw - 24px));max-width:460px;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #dec394;border-radius:23px;background:#fffcf5;color:#652c25;box-shadow:0 28px 90px #27191055;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.festival-calendar:not([open]){display:none}.festival-calendar::backdrop{background:#30201f8c;backdrop-filter:blur(5px)}
.fc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:23px 25px;background:radial-gradient(ellipse at top right,#a5663a60,transparent 75%),linear-gradient(120deg,#481e24,#78332b);color:#fff4db;border-bottom:3px solid #c8964c}
.fc-header p{margin:0 0 8px;font:600 9px/1.5 var(--sans,Arial,sans-serif);letter-spacing:2px;color:#e9c58b}.fc-header h2{font-family:var(--serif,Georgia,serif);font-size:30px;line-height:1.2;margin:0;color:inherit}.fc-header span{display:block;margin-top:7px;font-size:12px;color:#ead6ba}
.festival-calendar button{font-family:var(--sans,Arial,sans-serif);cursor:pointer}.festival-calendar button:disabled{cursor:default}.festival-calendar button:focus-visible,.festival-calendar select:focus-visible,.festival-calendar a:focus-visible{outline:3px solid #b88437;outline-offset:2px}
.festival-calendar .fc-close{border:1px solid #f1d5ad55;border-radius:50%;background:#ffffff0d;color:#ffefd6;width:36px;height:36px;min-height:36px;padding:0;font-size:25px;line-height:1}
.fc-body{padding:18px 23px 20px}.fc-navigation{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}.fc-navigation>div{display:flex;justify-content:center;gap:6px;min-width:0}.fc-navigation>button{border:1px solid #e3d0b1;border-radius:50%;width:36px;height:36px;padding:0;background:#fbf2e3;color:#783c26;font-size:27px;line-height:1}.fc-navigation>button:disabled{opacity:.3}
.festival-calendar .fc-navigation select{width:auto;min-height:38px;padding:4px 19px 4px 5px;background-color:transparent;border:0;border-radius:4px;color:#6b2c24;font:600 15px var(--sans,Arial,sans-serif);max-width:160px}.fc-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.fc-weekdays,.fc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.fc-weekdays{margin-bottom:7px;text-align:center;color:#917558;font-size:10px;font-weight:600}.fc-weekdays span{padding:5px 0}
.festival-calendar .fc-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:44px;min-width:0;border:1px solid transparent;border-radius:10px;background:transparent;color:#553b31;font-size:14px;line-height:1;padding:5px 0 0;transition:background .16s,box-shadow .16s,transform .16s}
.fc-day small{display:block;height:10px;font-size:9px;line-height:10px}.festival-calendar .fc-day:hover:not(:disabled){background:#efe0c7;transform:translateY(-1px)}.festival-calendar .fc-day:disabled{opacity:.3}.festival-calendar .fc-day[aria-current=date]{border-color:#b9915a}
.festival-calendar .fc-day.is-hindu{color:#8a420f;background:#fff0d8;border-color:#edcea0;font-weight:700}.fc-day.is-hindu small{color:#b86a12}.festival-calendar .fc-day.is-major{background:linear-gradient(135deg,#f9db94,#edbb68);border-color:#ca8b30;box-shadow:0 2px 8px #c58e2522;color:#70330f}.festival-calendar .fc-day.is-global:not(.is-hindu){background:#edf1ed;color:#436452}.fc-day.is-global:not(.is-hindu) small{color:#668875}.festival-calendar .fc-day.in-range:not(.is-selected){box-shadow:inset 0 -3px #c39556}
.festival-calendar .fc-day.is-selected{background:#722d29;color:#fff6de;border-color:#722d29;box-shadow:0 4px 12px #732d292a}.fc-day.is-selected small{color:#f5cf7b}
.fc-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:10px;line-height:1.6;margin:15px 0 18px}.fc-hindu-key{color:#a65b14;font-weight:600}.fc-global-key{color:#4c715b}
.fc-festivals{background:#f9f0e1;border:1px solid #ead9be;border-radius:13px;padding:13px}.fc-festivals h3{margin:0 0 9px;font:400 19px/1.25 var(--serif,Georgia,serif);color:#71352a}.fc-events{display:grid;gap:6px;max-height:144px;overflow:auto;scrollbar-width:thin;padding:2px}.festival-calendar .fc-event{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-radius:7px;background:#fffaf1;color:#8d4d1c;padding:9px 10px;font-size:11px;line-height:1.5}.fc-event span{min-width:0}.fc-event b{font-size:10px;white-space:nowrap}.festival-calendar .fc-event.is-major{background:#f3dfb5;color:#753510;font-weight:700}.festival-calendar .fc-event.is-global{color:#4c6c59;background:#eff1e9}.fc-event:disabled{opacity:.5}.fc-events>p{font-size:12px;color:#8c7561;margin:4px 0}
.fc-note{font-size:10px;color:#937e69;line-height:1.65;margin:12px 0}.fc-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #eadcc6;padding-top:9px}.festival-calendar .fc-footer button{padding:6px 0;min-height:32px;border:0;background:none;color:#783b28;font-size:12px}.fc-footer button:disabled{opacity:.35}.fc-footer a{margin-left:auto;font-size:10px;color:#927352;text-decoration:underline;text-underline-offset:3px}
@media(max-width:400px){.fc-body{padding:15px}.fc-header{padding:19px}.fc-header h2{font-size:26px}.fc-grid{gap:3px}.festival-calendar .fc-day{height:42px}.festival-calendar .fc-navigation select{font-size:14px;max-width:135px}.fc-footer{gap:12px}}
@media(prefers-reduced-motion:no-preference){.festival-calendar[open]{animation:festival-pop .22s ease-out}@keyframes festival-pop{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}}
.effects-paused .festival-calendar{animation:none}.effects-paused .festival-date-trigger,.effects-paused .fc-day{transition:none}
