/* v985 Diwali look for the homepage (loaded only while FestiveV985.isDiwali(); the script adds the pieces).
   Drawings only, no photos. Sparkles stop for "reduce motion". */

/* top strip (computer) */
.ysd-top { background: linear-gradient(90deg, #4a0e1f, #062B5C 55%, #4a0e1f) !important; position: relative; }
.ysd-top:after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 6px 3px, #ffb21f 3px, transparent 3.5px) 0 0 / 24px 6px,
              radial-gradient(circle at 18px 3px, #f2622e 3px, transparent 3.5px) 0 0 / 24px 6px; }
.ysd-note { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff3dd; font-weight: 600; }
.ysd-note, .ysd-note * { text-transform: none !important; letter-spacing: .01em !important; }
.ysd-note > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ysd-note b { color: #ffc46b; font-family: 'Noto Sans Devanagari', Inter, sans-serif; }
.ysd-note a { color: #ffc46b !important; text-decoration: underline; text-underline-offset: 3px; }
.ysd-note svg { flex: 0 0 auto; }

/* computer hero */
.te724-hero.ysd { position: relative; overflow: hidden;
  background: radial-gradient(40% 60% at 92% 15%, rgba(255, 190, 110, .55), transparent 70%),
              radial-gradient(30% 45% at 8% 85%, rgba(245, 106, 0, .16), transparent 70%),
              linear-gradient(125deg, #fff6ea 0%, #fdebd6 55%, #f9e3e6 100%) !important; }
.te724-hero.ysd .te724-wrap { position: relative; z-index: 1; }
.te724-hero.ysd .te724-issue { margin-top: 10px; color: #a63f00 !important; }
.ysd-hi { font-family: 'Noto Sans Devanagari', sans-serif; font-weight: 700; letter-spacing: 0 !important; text-transform: none !important; }
.te724-hero.ysd .te724-issue .ysd-hi { color: #8a1538; font-size: 15px; }
.te724-hero.ysd h1 em { color: #d9520b !important; }
.te724-hero.ysd .te724-photo-big { box-shadow: 0 0 0 6px rgba(255, 190, 110, .35), 0 30px 60px -20px rgba(138, 21, 56, .45) !important; }
.ysd-toran { position: absolute; left: 0; top: 0; width: 100%; height: 46px; pointer-events: none; z-index: 2; }
.ysd-rangoli { position: absolute; left: -120px; bottom: -140px; width: 360px; height: 360px; opacity: .18; pointer-events: none; }
.ysd-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffcf5a; pointer-events: none;
  box-shadow: 0 0 10px 3px rgba(255, 180, 60, .7); animation: ysdTw 2.6s ease-in-out infinite; }
@keyframes ysdTw { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.ysd-diyas { position: absolute; display: flex; justify-content: center; gap: 14px; z-index: 4; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(138, 21, 56, .35)); }
.te724-stamp.ysd-stamp { display: grid !important; place-items: center; text-align: center; font-size: 0 !important; color: #fff !important;
  background: radial-gradient(circle, #ff8a1f, #d9520b) !important; box-shadow: 0 0 0 4px #fff3dd, 0 10px 24px rgba(217, 82, 11, .45) !important; }
.te724-stamp.ysd-stamp * { display: none !important; }
.te724-stamp.ysd-stamp:before { content: "शुभ\Aदीपावली"; white-space: pre; font: 700 15px/1.15 'Noto Sans Devanagari', sans-serif; }
/* v1020: the seal follows the calendar like the words (script adds ysd-chhath / ysd-kartik) */
.te724-stamp.ysd-stamp.ysd-chhath:before { content: "छठ\Aमहापर्व"; }
.te724-stamp.ysd-stamp.ysd-kartik:before { content: "कार्तिक\Aपूर्णिमा"; }

/* festive line under the search (computer and phone) */
.ysd-fest { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; max-width: 860px; margin: 14px auto 0;
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px dashed #f2b56b; color: #5a1424;
  font: 500 14.5px/1.4 Inter, Arial, sans-serif; box-shadow: 0 6px 18px -10px rgba(138, 21, 56, .3); }
.ysd-fest b { color: #8a1538; font-family: 'Noto Sans Devanagari', Inter, sans-serif; }
.ysd-fest a { color: #d9520b !important; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* phone hero */
.ys819-hero.ysd .ys819-kicker { color: #ffc46b !important; }
.ys819-hero.ysd .ys819-kicker .ysd-hi { color: #ffd79a; }
.ys819-hero.ysd h1 em { color: #ffb14a !important; }
.ysd-m-toran { position: absolute; left: 0; top: 0; width: 100%; height: 34px; z-index: 2; pointer-events: none; }
.ysd-m-diyas { position: absolute; left: 0; right: 0; bottom: 52px; display: flex; justify-content: space-around; padding: 0 18px;
  z-index: 1; pointer-events: none; filter: drop-shadow(0 0 6px rgba(255, 170, 60, .6)); }
@media (max-width: 900px) {
  .ysd-fest { border-radius: 16px; margin: 12px 16px 0; font-size: 13.5px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ysd-spark { animation: none; opacity: .7; } }
