/* =====================================================================
   Vedika's (Malpani) side: additions on top of the shared look.
   Loaded last. Same fonts, colours and spacing as Shreyas' site.
   ===================================================================== */

/* ---------- Backgrounds behind a whole invite: the same treatment as Shreyas' site ---------- */
.ch-panel{position:relative}
.ch-panel>:not(.ch-decor):not(.ch-bg){position:relative;z-index:1}
.ch-panel:has(> .ch-bg){overflow:hidden;isolation:isolate}
.ch-decor.ch-bg{position:absolute!important;inset:0;margin:0!important;height:auto!important;z-index:0;border-radius:inherit;overflow:hidden;pointer-events:none;-webkit-mask-image:none!important;mask-image:none!important}
.ch-decor.ch-bg svg,.ch-decor.ch-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ch-decor.ch-bg img{inset:0 0 auto 0;height:68%;object-fit:cover;object-position:50% 30%;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}

/* Maayra */
.t-mahera .ch-decor.ch-bg{opacity:.55}
.t-mahera .ch-decor.ch-bg svg{transform:scale(1.04)}
.t-mahera .ch-decor.ch-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,249,247,.25),rgba(255,249,247,.62) 30%,rgba(255,249,247,.7) 70%,rgba(251,233,230,.6))}

/* Sangeet: the real stage photograph, dimmed so the text reads */
.t-sangeet .ch-decor.ch-bg img{opacity:.75;object-position:58% 40%}
.t-sangeet .ch-decor.ch-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,7,4,.35),rgba(10,7,4,.62) 30%,rgba(10,7,4,.8) 60%,rgba(10,7,4,.9))}
.t-sangeet .ch-top{margin-top:4px}


/* Premotsav: the real varmala mandap photograph fading into cream */
.t-premotsav .ch-decor.ch-bg img{opacity:1;object-position:50% 35%}
.t-premotsav .ch-decor.ch-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,249,241,.45),rgba(255,249,241,.8) 18%,rgba(255,249,241,.92) 30%,rgba(255,249,241,.97) 50%)}
.t-premotsav .ch-title,.t-premotsav .ch-sub,.t-premotsav .ch-dateblk{filter:drop-shadow(0 0 10px rgba(255,249,241,.9))}

/* ---------- Painted backgrounds taken from the patrika itself ---------- */
.ch-panel>.pa-bg,.pa-bg{position:absolute!important;inset:0;z-index:0!important;pointer-events:none;border-radius:inherit;overflow:hidden}

/* Carnival: striped canopy and lanterns at the top, the baithak with brass urns of marigolds at the foot */
.t-carnival .ch-panel{--paper-bg:#F8F3EA;--ch-ink:#3A1A14;--ch-muted:#6B4632;--ch-accent:#9A3B1E;--ch-time:#7A2A14;--ch-line:rgba(154,59,30,.32);--ch-line2:rgba(176,128,52,.35);--ch-onaccent:#FFF6EA;
  background:#F8F3EA!important;border:0!important;box-shadow:0 0 0 1px rgba(176,128,52,.45),0 24px 50px rgba(90,40,10,.16)!important}
.t-carnival .ch-panel::before,.t-carnival .ch-panel::after{display:none!important}
.pa-paper{position:absolute;inset:0;background:url("../assets/img/cv-paper.webp") center/cover,#F7F2EA}
.pa-top{position:absolute;left:0;top:0;width:100%;height:auto;-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
.pa-foot{position:absolute;left:0;bottom:0;width:100%;height:auto;-webkit-mask-image:linear-gradient(transparent,#000 22%);mask-image:linear-gradient(transparent,#000 22%)}
.t-carnival .ch-title{color:#8A2A12}
.t-carnival .ch-sub{color:#9A3B1E}
.t-carnival .ch-ico{background:#FFFBF2;border-color:#D2A65A;color:#9A3B1E}
.t-carnival .ch-panel .act{background:rgba(255,252,246,.88)}
.t-carnival .ch-panel .act.primary{background:#9A3B1E;color:#FFF6EA;border-color:#9A3B1E}
.t-carnival .ch-dateblk,.t-carnival .ch-arc{text-shadow:0 0 6px #F8F3EA,0 0 12px #F8F3EA,0 0 18px #F8F3EA}
@media (max-width:759px){
  .t-carnival .ch-panel{padding-top:31vw!important}
  /* the baithak sits softly behind the time and place, taking no space of its own */
  .t-carnival .pa-foot{top:calc(31vw + 150px);bottom:auto;opacity:.32;-webkit-mask-image:radial-gradient(70% 70% at 50% 55%,#000 45%,transparent);mask-image:radial-gradient(70% 70% at 50% 55%,#000 45%,transparent)}
}
@media (min-width:760px){
  .t-carnival .ch-panel{padding-top:clamp(150px,17vw,196px)!important}
  .t-carnival .pa-top{height:210px;object-fit:cover;object-position:50% 0}
  .t-carnival .pa-foot{left:auto;right:2%;top:150px;bottom:auto;width:min(430px,44%);opacity:.6;-webkit-mask-image:radial-gradient(70% 70% at 50% 55%,#000 45%,transparent);mask-image:radial-gradient(70% 70% at 50% 55%,#000 45%,transparent)}
}

/* Sajjan Goth: the card keeps the site's own cream and maroon. The Marwari touch sits only at the top:
   a band of red bandhani chunari finished with gold gota-patti lace, like the border of an odhni. */
.t-sajjan .ch-panel{padding-top:calc(var(--bd-h) + 22px)!important;--bd-h:clamp(46px,12vw,64px)}
.t-sajjan .ch-panel::before{display:none!important}
.bd-cloth{position:absolute;left:0;right:0;top:0;height:var(--bd-h);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144' viewBox='0 0 144 144'%3E%3Ccircle cx='83.0' cy='72.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='83.0' cy='72.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='79.8' cy='79.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='79.8' cy='79.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='72.0' cy='83.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='72.0' cy='83.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='64.2' cy='79.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='64.2' cy='79.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='61.0' cy='72.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='61.0' cy='72.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='64.2' cy='64.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='64.2' cy='64.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='72.0' cy='61.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='72.0' cy='61.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='79.8' cy='64.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='79.8' cy='64.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='72' cy='72' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='72' cy='72' r='1.18' fill='%237A0E14'/%3E%3Ccircle cx='11.0' cy='0.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='11.0' cy='0.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='7.8' cy='7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='7.8' cy='7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='0.0' cy='11.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='0.0' cy='11.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-7.8' cy='7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-7.8' cy='7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-11.0' cy='0.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-11.0' cy='0.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-7.8' cy='-7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-7.8' cy='-7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-0.0' cy='-11.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-0.0' cy='-11.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='7.8' cy='-7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='7.8' cy='-7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='0' cy='0' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='0' cy='0' r='1.18' fill='%237A0E14'/%3E%3Ccircle cx='155.0' cy='0.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='155.0' cy='0.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='151.8' cy='7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='151.8' cy='7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144.0' cy='11.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='144.0' cy='11.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='136.2' cy='7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='136.2' cy='7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='133.0' cy='0.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='133.0' cy='0.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='136.2' cy='-7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='136.2' cy='-7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144.0' cy='-11.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='144.0' cy='-11.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='151.8' cy='-7.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='151.8' cy='-7.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144' cy='0' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='144' cy='0' r='1.18' fill='%237A0E14'/%3E%3Ccircle cx='11.0' cy='144.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='11.0' cy='144.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='7.8' cy='151.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='7.8' cy='151.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='0.0' cy='155.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='0.0' cy='155.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-7.8' cy='151.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-7.8' cy='151.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-11.0' cy='144.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-11.0' cy='144.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-7.8' cy='136.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-7.8' cy='136.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='-0.0' cy='133.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='-0.0' cy='133.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='7.8' cy='136.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='7.8' cy='136.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='0' cy='144' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='0' cy='144' r='1.18' fill='%237A0E14'/%3E%3Ccircle cx='155.0' cy='144.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='155.0' cy='144.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='151.8' cy='151.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='151.8' cy='151.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144.0' cy='155.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='144.0' cy='155.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='136.2' cy='151.8' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='136.2' cy='151.8' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='133.0' cy='144.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='133.0' cy='144.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='136.2' cy='136.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='136.2' cy='136.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144.0' cy='133.0' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='144.0' cy='133.0' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='151.8' cy='136.2' r='2.3' fill='%23FFE7A8'/%3E%3Ccircle cx='151.8' cy='136.2' r='0.97' fill='%237A0E14'/%3E%3Ccircle cx='144' cy='144' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='144' cy='144' r='1.18' fill='%237A0E14'/%3E%3C/svg%3E") 0 0/144px 144px,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='0' cy='0' r='2.1' fill='%23FFF4E0'/%3E%3Ccircle cx='0' cy='0' r='0.88' fill='%237A0E14'/%3E%3Ccircle cx='36' cy='0' r='2.1' fill='%23FFF4E0'/%3E%3Ccircle cx='36' cy='0' r='0.88' fill='%237A0E14'/%3E%3Ccircle cx='0' cy='36' r='2.1' fill='%23FFF4E0'/%3E%3Ccircle cx='0' cy='36' r='0.88' fill='%237A0E14'/%3E%3Ccircle cx='36' cy='36' r='2.1' fill='%23FFF4E0'/%3E%3Ccircle cx='36' cy='36' r='0.88' fill='%237A0E14'/%3E%3Ccircle cx='18' cy='18' r='2.1' fill='%23FFF4E0'/%3E%3Ccircle cx='18' cy='18' r='0.88' fill='%237A0E14'/%3E%3Ccircle cx='18' cy='-4.2' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='18' cy='-4.2' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='22.2' cy='0' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='22.2' cy='0' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='18' cy='4.2' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='18' cy='4.2' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='13.8' cy='0' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='13.8' cy='0' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='0' cy='13.8' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='0' cy='13.8' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='4.2' cy='18' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='4.2' cy='18' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='0' cy='22.2' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='0' cy='22.2' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='-4.2' cy='18' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='-4.2' cy='18' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='36' cy='13.8' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='36' cy='13.8' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='40.2' cy='18' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='40.2' cy='18' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='36' cy='22.2' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='36' cy='22.2' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='31.8' cy='18' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='31.8' cy='18' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='18' cy='31.8' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='18' cy='31.8' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='22.2' cy='36' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='22.2' cy='36' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='18' cy='40.2' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='18' cy='40.2' r='0.67' fill='%237A0E14'/%3E%3Ccircle cx='13.8' cy='36' r='1.6' fill='%23F2C14E'/%3E%3Ccircle cx='13.8' cy='36' r='0.67' fill='%237A0E14'/%3E%3C/svg%3E") 0 0/36px 36px,linear-gradient(180deg,#9A141C,#7A0E15);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.bd-gota{position:absolute;left:0;right:0;top:calc(var(--bd-h) - 2px);height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FBE6A6'/%3E%3Cstop offset='.5' stop-color='%23D9A93E'/%3E%3Cstop offset='1' stop-color='%23A8741E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='22' height='3' fill='url%28%23g%29'/%3E%3Cpath d='M0 3 A11 9 0 0 0 22 3Z' fill='url%28%23g%29'/%3E%3Cpath d='M3 3 A8 6.4 0 0 0 19 3' fill='none' stroke='%237A0E14' stroke-width='.9' opacity='.55'/%3E%3Ccircle cx='11' cy='7' r='1.8' fill='%23FFF6DC'/%3E%3C/svg%3E") 0 0/22px 16px repeat-x;filter:drop-shadow(0 2px 2px rgba(90,40,10,.25))}
.t-sajjan .ch-ico{border-color:#C9963A}

/* ---------- Premotsav: cream and maroon, like the logo ---------- */
.t-premotsav .ch-panel{--paper-bg:linear-gradient(180deg,#FCF6EC 0%,#F8EBDD 60%,#F3DFD0 100%);--ch-ink:#4A0F1E;--ch-muted:#6E3540;--ch-line:rgba(142,27,46,.42);--ch-line2:rgba(176,128,52,.4);--ch-accent:#8E1B2E;--ch-onaccent:#FFF6E8;--ch-time:#7A1428;--ch-btn:rgba(255,255,255,.6);--mod-bg:rgba(255,255,255,.5);background:var(--paper-bg)!important;border-top:3px solid #8E1B2E!important}
.t-premotsav .ch-title{background:linear-gradient(105deg,#6E1222 0%,#B3283F 30%,#8E1B2E 55%,#C24A55 75%,#6E1222 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important}
.t-premotsav .ch-title .nm2,.t-premotsav .ch-title .nm2 *{-webkit-text-fill-color:#8E1B2E!important;color:#8E1B2E!important}
.t-premotsav .ch-panel .act{color:#7A1428;border-color:rgba(142,27,46,.4);background:rgba(255,255,255,.7)}
.t-premotsav .ch-panel .act.primary{background:#8E1B2E;color:#FFF6E8;border-color:#8E1B2E}
.t-premotsav .act:hover{background:rgba(142,27,46,.08)!important}
.t-premotsav .act.primary:hover{background:#7A1428!important}
.t-premotsav .ch-mod .mod-t span,.t-premotsav .ch-mod .mod-hint{color:#7A1428!important}
.t-premotsav .vd-stage{background:radial-gradient(circle at 50% 50%,#9E2236 0,#7A1428 36%,#561020 68%,#3E0A16 100%)!important;border-color:rgba(197,154,69,.7)!important;box-shadow:inset 0 0 0 7px rgba(62,10,22,.55),inset 0 0 0 8px rgba(227,207,156,.35),0 14px 30px rgba(110,18,34,.25)!important}
.t-premotsav .vd-om{background:radial-gradient(circle,#6E1222 0,#4A0C18 78%)!important}
.t-premotsav .vd-stage.all .vd-om{background:radial-gradient(circle,#8E1B2E,#4A0C18 80%)!important}
.t-premotsav .vd-b{background:radial-gradient(circle,#FFF8EA,#F3DEB4)!important;color:#7A1A28!important;border:2px solid #C49A45!important;box-shadow:0 4px 12px rgba(40,4,12,.45)}
.t-premotsav .vd-b span,.t-premotsav .vd-b small{color:#7A1A28!important;font-weight:600}
.t-premotsav .vd-b.on{background:radial-gradient(circle,#FFF3C4,#F2C55C 70%)!important;box-shadow:0 0 0 4px rgba(255,216,120,.35),0 0 26px 6px rgba(255,200,90,.75)}
.t-premotsav .vd-msg{color:#7A1428}
.t-premotsav .ch-look{border-color:rgba(142,27,46,.3)}

/* ---------- Directions and calendar sit under the venue, as on Shreyas' site ---------- */
.ch-acts-in{display:flex;flex-wrap:nowrap;gap:8px;margin-top:12px;padding:0;border:0;justify-content:flex-start}
.ch-acts-in .act,.ch-acts-in summary.act{min-height:34px;padding:6px 12px;font-size:10.5px;letter-spacing:.1em;gap:6px;white-space:nowrap}
.ch-acts-in .act svg{width:13px;height:13px}
html[data-lang="hi"] .ch-acts-in .act>[data-l="hi"]{font-size:1.2em}
.ch-acts-in .calmenu{position:relative}

/* ---------- Be-Binayak Pujan: the two rituals sit beside the time and place ---------- */
.ch-parts{display:flex;flex-direction:column;gap:10px;min-width:0}
.ch-parts .lbl{margin-bottom:0!important}
.pt-row{display:flex;flex-direction:column;gap:2px;padding-left:12px;border-left:2px solid var(--ch-line2)}
.pt-n{font:500 clamp(1.02rem,4.2vw,1.25rem)/1.22 var(--serif);color:var(--ch-ink)}
html[data-lang="hi"] .pt-n{font-family:var(--deva)}
.pt-t{font:600 .9rem/1.3 var(--sans);color:var(--ch-time)}
.pt-h{font:400 .86rem/1.4 var(--sans);color:var(--ch-muted)}
.ch-when.has-parts{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"t p" "w w";column-gap:18px;row-gap:18px;align-items:start}
.ch-when.has-parts .when-t{grid-area:t}.ch-when.has-parts .where{grid-area:w}.ch-when.has-parts .ch-parts{grid-area:p}
.ch-when.has-parts .time{font-size:clamp(2.2rem,10vw,4.2rem)}
@media(min-width:760px){
  .ch-when.has-parts{grid-template-columns:auto minmax(0,1fr) minmax(0,.95fr);grid-template-areas:"t w p";column-gap:30px;align-items:center}
}
.ch-credit{margin-top:8px;font:italic 500 1.02rem/1.4 var(--serif);color:var(--ch-accent)}
[data-lang="hi"] .ch-credit{font-style:normal;font-family:var(--deva)}

/* ---------- Peravani and Milni on wide screens: each line in its own row ---------- */
@media(min-width:760px){
  .chapter.compact .ch-panel{grid-template-areas:"top when" "title when" "sub desc" "sub after" "mod mod"!important}
  .chapter.compact .ch-after{grid-area:after}
}
.ch-after{font-size:.92rem!important;color:var(--ch-muted)}

/* ---------- Swagat Samaroh: the deity lines from the patrika ---------- */
.rc-deity{display:flex;flex-direction:column;align-items:center;gap:2px;margin:2px auto 4px}
.rc-ganesh{display:block;width:clamp(68px,20vw,92px);height:auto;margin-bottom:6px;filter:drop-shadow(0 2px 10px rgba(255,214,150,.18))}
.rc-mantra{margin:0;font:500 clamp(1.02rem,4.2vw,1.2rem)/1.5 var(--deva);color:#EBD18C;letter-spacing:.01em;white-space:nowrap}

/* ---------- Closing page: snehakankshi and darshanabhilashi ---------- */
.close-names{font-size:clamp(1.25rem,5.4vw,1.9rem)!important;line-height:1.45!important;text-wrap:balance}
.close-darshan{margin:18px auto 6px;max-width:34em}
.close-darshan .eyebrow{margin-bottom:6px}
.close-dnames{margin:0;font:400 clamp(1.02rem,4.2vw,1.2rem)/1.6 var(--serif);color:rgba(248,239,222,.9);text-wrap:balance}
[data-lang="hi"] .close-dnames{font-family:var(--deva)}
.inviters{line-height:1.5}

/* ---------- Packing checklist pop-up (same sheet as the wardrobe) ---------- */
.pk-body{padding-top:6px}
.pk-count{margin:0 0 8px;font:500 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#EBD18C}
html[data-lang="hi"] .pk-count [data-l="hi"]{font-size:1.28em;letter-spacing:.04em}
.pk-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
@media(min-width:700px){.pk-list{grid-template-columns:1fr 1fr;gap:6px 14px}}
.pk-list label{display:flex;gap:12px;align-items:center;min-height:48px;padding:8px 14px;border-radius:14px;border:1px solid rgba(235,209,140,.22);background:rgba(255,255,255,.05);cursor:pointer;font:400 1.02rem/1.4 var(--sans);color:#F8EFDE}
.pk-list input{flex:none;width:22px;height:22px;margin:0;accent-color:#C79A3F}
.pk-list input:checked+span{opacity:.6;text-decoration:line-through;text-decoration-color:rgba(235,209,140,.6)}
.pk-tile .btn{margin-top:4px}

/* ---------- PremRaag: the "tap each lantern" line sits below the lamps ---------- */
.fn-hint{margin-top:8px;color:inherit;opacity:.85}

/* ---------- Point 5: every interactive part fits in one phone screen ----------
   --fit is the screen height left between the top bar and the bottom menu.
   Each picture is sized from it, so the title, the picture and the buttons
   are all visible together, on small phones too. */
:root{--fit:calc(100vh - 150px)}
@supports (height:100svh){:root{--fit:calc(100svh - 150px)}}
@media (min-width:900px){:root{--fit:calc(100svh - 110px)}}
.ch-mod{margin-top:18px;padding:14px 12px 14px}
.ch-mod .mod-t{margin-bottom:8px}
.ch-mod .mod-hint{font-size:clamp(1.02rem,4vw,1.15rem);margin-top:8px;line-height:1.35}
.ch-mod .mod-msg:empty{display:none}
.ch-mod .mod-msg{min-height:0;margin-top:6px;font-size:clamp(1.12rem,4.4vw,1.3rem)}
.ch-mod .mod-row{margin-top:10px}

/* Kumkum */
.kk-wrap{gap:8px}
.kk-stage{width:min(100%,max(170px,calc(var(--fit) - 300px)),300px)}
.kk-copy{gap:4px}
.kk-h{font-size:clamp(1.3rem,4.6vw,1.6rem)!important;line-height:1.2}
.kk-p{font-size:clamp(.92rem,3.6vw,1rem)!important;line-height:1.5!important;min-height:4.5em!important;margin:0}
.kk-copy .mod-btn{margin-top:4px}
@media(min-width:700px){.kk-wrap{grid-template-columns:auto minmax(0,1fr)}}

/* Be-Binayak: Ganpati Bappa */
.gn-stage{width:min(100%,max(170px,calc((var(--fit) - 180px) / 1.41)),400px)!important}
.gn-bar{margin-top:8px}

/* Anubhooti: the lotus pond */
.lt-wrap{width:min(100%,max(190px,calc((var(--fit) - 120px) / 1.07)),360px)!important;margin-left:auto;margin-right:auto}

/* Premotsav: the four Vedas */
.vd-stage{width:min(100%,max(200px,calc(var(--fit) - 200px)),340px)!important}
.vd-msg{min-height:2.7em;margin-top:8px;font-size:clamp(1.05rem,4.2vw,1.2rem)}
.vd-hint{margin-top:2px}

/* Cricket, PremRaag, Carnival were already short; keep them inside the screen on tiny phones */
.cr-field{max-height:calc(var(--fit) - 170px)}
.fn-wrap{padding-top:34px}
.fn{max-width:min(58px,calc((var(--fit) - 150px) / 2))}
.wh-stage{width:min(100%,max(150px,calc(var(--fit) - 260px)),190px)!important}

/* ---------- Wardrobe opened from an event: that event's outfit only ---------- */
.ws-tabs[hidden]{display:none!important}

/* ---------- Panigrahan: seven steps in kumkum, leading to the sacred fire on the right (as on Shreyas' site) ---------- */
.s7-wrap{position:relative;border-radius:18px;background:radial-gradient(120% 70% at 50% 0%,#6E3840,#3E1E26 72%);border:1px solid rgba(240,199,138,.35);padding:12px 10px 14px;overflow:hidden}
.s7-row{list-style:none;margin:0;padding:0 2px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr)) minmax(44px,1.3fr);gap:4px;align-items:end}
.s7{display:flex;flex-direction:column;align-items:center;gap:4px}
.s7:nth-child(odd){transform:translateY(-6px)}
.s7-ft{position:relative;width:34px;height:40px}
.s7-ft img{position:absolute;bottom:0;height:34px;width:auto;opacity:.16;filter:grayscale(1) brightness(1.8);transition:opacity .5s,filter .5s,transform .5s}
.s7-ft .fl{left:1px}.s7-ft .fr{left:15px;bottom:5px}
.s7.on .s7-ft img{opacity:1;filter:none}
.s7.cur .s7-ft img{transform:scale(1.12)}
.s7-n{width:20px;height:20px;border-radius:50%;font:600 .74rem/20px var(--serif);text-align:center;color:#F6E7C8;border:1px solid rgba(240,199,138,.45)}
.s7.on .s7-n{background:#F6E7C8;color:#7A1D3A;border-color:#F6E7C8}
.s7-diya{display:flex;align-items:flex-end;justify-content:center;align-self:end;padding-bottom:6px}
.s7-diya .km-fire{height:46px;margin:0;width:44px}
.s7-diya .km-fire em{width:40px;height:8px}
.s7-diya .km-flame{width:16px;height:28px;bottom:8px}
.s7-cap{min-height:5.6em;margin-top:12px;padding-top:10px;border-top:1px solid rgba(240,199,138,.28);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.s7-cap b{display:flex;align-items:center;gap:8px;font:500 1.12rem/1.25 var(--serif);color:#F7DDB0}
html[data-lang="hi"] .s7-cap b{font-family:var(--deva)}
.s7-k{display:inline-block;width:22px;height:22px;border-radius:50%;background:#F6E7C8;color:#7A1D3A;font:600 .8rem/22px var(--serif)}
.s7-cap>span{font:400 .92rem/1.5 var(--sans);color:#F6E7DA;max-width:34ch}
html[data-lang="hi"] .s7-cap>span{line-height:1.7}
.s7-hint{color:rgba(246,231,218,.8)!important;font-style:italic}
.s7-wrap.done .km-flame{opacity:1;filter:drop-shadow(0 0 14px rgba(255,190,80,.95))}
@media(max-width:380px){.s7-ft{width:28px;height:34px}.s7-ft img{height:28px}.s7-ft .fr{left:12px}.s7-row{gap:2px}}
.chapter.compact .ch-panel{padding-bottom:34px}
/* Anubhooti: the three divine pairs stay on one line on phones */
.t-anubhooti .ch-desc{font-size:clamp(.9rem,4vw,1.0625rem)}
/* Landing: no shadow box around the logo artwork */
.gate-logo img{filter:none!important}
/* Opening section: the logo stands on its own, no rose sprays beside it */
.hero-inner::before,.hero-inner::after{display:none!important}

/* ---------- Carnival: The Wheel Deal, a pastel game-show wheel ---------- */
.cw-wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}
.cw-stage{position:relative;width:min(100%,max(190px,calc(var(--fit) - 280px)),280px);aspect-ratio:1;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:none}
.cw-stage:active{cursor:grabbing}
.cw-svg{width:100%;height:100%;display:block;filter:drop-shadow(0 10px 18px rgba(120,70,90,.2))}
.cw-flap{position:absolute;left:50%;top:-8px;width:30px;height:auto;transform:translateX(-50%);transform-origin:50% 28%;z-index:2;filter:drop-shadow(0 3px 3px rgba(90,40,60,.3))}
.cw-flap.kick{animation:cwKick .14s ease-out}
@keyframes cwKick{0%{transform:translateX(-50%) rotate(0)}35%{transform:translateX(-50%) rotate(-18deg)}100%{transform:translateX(-50%) rotate(0)}}
.cw-lbl text{font:600 15px var(--sans);fill:#5A3346;letter-spacing:.02em}
.cw-lbl[data-l="hi"] text{font:600 19px var(--deva)!important;letter-spacing:0}
html[data-lang="en"] .cw-lbl[data-l="hi"],html[data-lang="hi"] .cw-lbl[data-l="en"]{display:none}
.cw-hub{font:600 15px var(--serif);fill:#B65A7A}
.cw-bulb{fill:#FFF3D6;stroke:#E2C28E;stroke-width:1}
.cw-bulb.b1{animation:cwIdle 2.4s ease-in-out infinite}
.cw-stage.on .cw-bulb{animation:cwBulb .42s steps(1) infinite}
.cw-stage.on .cw-bulb.b1{animation-delay:.14s}.cw-stage.on .cw-bulb.b2{animation-delay:.28s}
@keyframes cwBulb{0%{fill:#FFF3D6}50%{fill:#F4B6CA}}
@keyframes cwIdle{50%{fill:#F9D9E3}}
.cw-hint{margin:0!important}
.cw-ticket{position:relative;max-width:310px;padding:10px 18px 12px;border-radius:14px;background:#FFF9F3;border:1.5px dashed #D9A7B8;text-align:center;box-shadow:0 8px 20px rgba(120,70,90,.12)}
.cw-ticket::before,.cw-ticket::after{content:"";position:absolute;top:50%;width:14px;height:14px;border-radius:50%;background:var(--paper-solid,#F7F0EA);transform:translateY(-50%)}
.cw-ticket::before{left:-8px}.cw-ticket::after{right:-8px}
.cw-ticket.jp{background:linear-gradient(135deg,#FFF6D8,#FBE3B8 60%,#F6C9D6);border-color:#D6A64E}
.cw-ticket.pop{animation:cwPop .5s cubic-bezier(.2,1.4,.4,1)}
@keyframes cwPop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.cw-tk{display:block;font:500 10.5px var(--sans);letter-spacing:.22em;text-transform:uppercase;color:#9A7484}
html[data-lang="hi"] .cw-tk{font:500 .82rem var(--sans);letter-spacing:0}
.cw-tt{display:block;margin:2px 0 2px;font:600 1.35rem/1.2 var(--serif);color:#9C3F62}
html[data-lang="hi"] .cw-tt{font-family:var(--deva);font-size:1.2rem}
.cw-tr{display:block;font:400 .95rem/1.5 var(--sans);color:#5A3346}
.cw-confetti{position:absolute;left:0;right:0;top:40%;height:0;pointer-events:none;z-index:3}
.cw-confetti i{position:absolute;top:0;width:8px;height:12px;border-radius:2px;animation:cwConf 1.9s cubic-bezier(.2,.7,.4,1) forwards}
@keyframes cwConf{0%{transform:translate(0,0)}55%{transform:translate(var(--dx),var(--dy)) rotate(var(--r));opacity:1}100%{transform:translate(calc(var(--dx) * 1.25),calc(var(--dy) + 170px)) rotate(var(--r));opacity:0}}
/* Hindi: gold-gradient words keep the full height of their matras (the curl of औ was being sliced off) */
html[data-lang="hi"] .hero-names .amp{padding-top:.38em;margin-top:-.38em;padding-bottom:.08em;margin-bottom:-.08em;line-height:1.05}
html[data-lang="hi"] .ch-title{padding-top:.16em}
html[data-lang="hi"] .close-names,html[data-lang="hi"] .ar-name{padding-top:.14em}
