/* Daily widgets: "Today's Panchang" and "Today's Horoscope" (2.115.0). Navy panel, orange accents, the site's shadow.
   Credits: the squircle tile is the shared component adapted from the Uiverse.io "Button" by Itskrish01 (MIT,
   https://uiverse.io/Itskrish01/modern-mouse-31); the sliding tab indicator uses the glider mechanic (an indicator that
   slides to the chosen option with an overshoot easing) of the Uiverse.io "Radio" by Smit-Prajapati (MIT,
   https://uiverse.io/Smit-Prajapati/quick-panther-98), turned horizontal. Colours, sizes, a11y and behaviour are MathuraNow's.
   Every section has a fixed height so the skeleton, the data and the "coming soon" state occupy the same space (no layout shift). */
.mn-dw{--dw-navy:#0f1b2d;--dw-navy2:#1e3a5f;--dw-orange:#f26a1b;--dw-mute:#b4c2d6;position:relative;box-sizing:border-box;margin:0 0 1.25rem;background:var(--dw-navy);color:#fff;border-radius:16px;box-shadow:0 10px 28px rgba(15,27,45,.22);overflow:hidden;font-family:var(--mn-font-body,sans-serif)}
.mn-dw *{box-sizing:border-box}
.mn-dw--panchang{min-height:410px}
.mn-dw--rashifal{min-height:577px}
.mn-dw__head{display:flex;align-items:center;gap:10px;height:62px;padding:0 16px;background:linear-gradient(135deg,var(--dw-navy2),var(--dw-navy));border-bottom:1px solid rgba(255,255,255,.08)}
.mn-dw__pulse{flex:none;width:10px;height:10px;border-radius:50%;background:var(--dw-orange);box-shadow:0 0 0 0 rgba(242,106,27,.6);animation:mn-dw-pulse 2s infinite}
@keyframes mn-dw-pulse{70%{box-shadow:0 0 0 8px rgba(242,106,27,0)}100%{box-shadow:0 0 0 0 rgba(242,106,27,0)}}
.mn-dw__headtxt{min-width:0}
.mn-dw__title{margin:0;color:#fff;font-size:1.0625rem;font-weight:800;line-height:1.2}
.mn-dw__date{display:block;margin-top:2px;color:var(--dw-mute);font-size:.75rem;line-height:1.2}
/* Panchang tabs */
.mn-dw__tabs{position:relative;display:flex;margin:12px 12px 0;padding:4px;background:rgba(255,255,255,.08);border-radius:12px;height:52px;--i:0}
.mn-dw__tab{position:relative;z-index:1;flex:1 1 0;min-width:0;min-height:44px;padding:0 4px;background:transparent;border:0;border-radius:9px;color:var(--dw-mute);font:inherit;font-size:.8125rem;font-weight:700;line-height:1.15;cursor:pointer}
.mn-dw__tab[aria-selected=true]{color:#fff}
.mn-dw__tab:focus-visible,.mn-dw__sign:focus-visible,.mn-dw__credit:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px var(--dw-orange)}
.mn-dw__glider{position:absolute;z-index:0;left:4px;top:4px;bottom:4px;width:calc((100% - 8px) / var(--n,3));border-radius:9px;background:rgba(255,255,255,.16);border-bottom:3px solid var(--dw-accent,var(--dw-orange));transform:translateX(calc(var(--i) * 100%));transition:transform .45s cubic-bezier(.37,1.5,.66,.8)}
.mn-dw__panels{height:222px;padding:6px 16px 0;overflow-y:auto}
.mn-dw__panel[hidden]{display:none}
.mn-dw__row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.mn-dw__row:last-child{border-bottom:0}
.mn-dw__label{flex:none;color:var(--dw-mute);font-size:.8125rem}
.mn-dw__value{min-width:0;text-align:right;font-size:.9375rem;font-weight:700;overflow-wrap:anywhere}
.mn-dw__row--good .mn-dw__value{color:#6ee7a0}
.mn-dw__row--avoid .mn-dw__value{color:#ffa3a3}
.mn-dw__foot{display:flex;align-items:center;height:62px;padding:0 16px;margin-top:auto;border-top:1px solid rgba(255,255,255,.08)}
.mn-dw--panchang,.mn-dw--rashifal,.mn-dw--mandi{display:flex;flex-direction:column}
.mn-dw[hidden]{display:none}
.mn-dw__credit{display:flex;align-items:center;gap:10px;min-height:44px;color:#fff;text-decoration:none;max-width:100%}
.mn-dw__credit:hover{color:#fff;text-decoration:underline}
.mn-dw__avatar{flex:none;width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid var(--dw-orange);background:var(--dw-navy2)}
.mn-dw__avatar--none{display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:800}
.mn-dw__credittxt{min-width:0;font-size:.8125rem;line-height:1.3}
.mn-dw__creditlbl{color:var(--dw-mute)}
.mn-dw__credittxt strong{font-weight:800}
.mn-dw__soon{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:274px;padding:0 20px;text-align:center}
.mn-dw__soon strong{font-size:1.25rem;letter-spacing:.01em}
.mn-dw__soon strong::before{content:"";display:block;width:44px;height:4px;margin:0 auto 12px;border-radius:999px;background:linear-gradient(90deg,#f26a1b,#d90429)}
.mn-dw--rashifal.is-soon{min-height:0}
.mn-dw--rashifal.is-soon .mn-dw__soon strong::before{background:linear-gradient(90deg,#c4b5fd,#8b5cf6)}
.mn-dw__soon span{color:var(--dw-mute);font-size:.875rem}
/* Rashifal */
.mn-dw__signs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 2px;padding:12px 10px 4px}
.mn-dw__sign{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:84px;padding:4px 0;background:transparent;border:0;border-radius:12px;color:#fff;font:inherit;cursor:pointer}
.mn-dw__sign[aria-pressed=true]{background:rgba(242,106,27,.2)}
.mn-dw__sign:disabled{opacity:.4;cursor:default}
.mn-dw__sqw{display:inline-flex;filter:drop-shadow(0 4px 5px rgba(0,0,0,.4));transition:transform .2s ease}
.mn-dw__sign:hover .mn-dw__sqw{transform:translateY(-3px) scale(1.06)}
.mn-dw__sq{display:flex;align-items:center;justify-content:center;width:52px;height:52px;clip-path:url(#mn-squircle);background:linear-gradient(145deg,var(--c1),var(--c2));box-shadow:inset 0 1px 1px rgba(255,255,255,.35),inset 0 -2px 4px rgba(0,0,0,.2)}
.mn-dw__glyph{font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Noto Sans Symbols","Apple Symbols","DejaVu Sans",sans-serif;font-variant-emoji:text;font-size:1.5rem;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.mn-dw__sname{font-size:.75rem;font-weight:700;line-height:1.1;color:#fff}
.mn-dw__text{margin:6px 14px 0;padding:12px 14px;height:136px;overflow-y:auto;background:rgba(255,255,255,.07);border-radius:12px;font-size:.875rem;line-height:1.55}
.mn-dw__signname{display:block;margin-bottom:4px;color:#ffb27a}
.mn-dw__text.is-prompt{display:flex;align-items:center;justify-content:center;color:var(--dw-mute)}
.mn-dw__note{margin:8px 14px 8px;color:var(--dw-mute);font-size:.75rem;text-align:center}
/* Skeleton */
.mn-dw__skel{display:flex;flex-direction:column;flex:1 1 auto;gap:0}
.mn-dw__sk{display:block;background:rgba(255,255,255,.07)}
.mn-dw__sk--head{height:62px;background:rgba(255,255,255,.1)}
.mn-dw__sk--tabs{height:52px;margin:12px 12px 0;border-radius:12px}
.mn-dw__sk--body{flex:1 1 auto;margin:8px 16px;border-radius:10px}
.mn-dw__sk--foot{height:62px;background:rgba(255,255,255,.04)}
/* Placement: the sidebar copy is hidden on phones where an in-content copy exists */
.mn-dw-stack--mobile{display:none}
.mn-dw-stack--home{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 16px;max-width:760px;margin:1.5rem auto}
.mn-card-grid>.mn-dw-stack--mobile{grid-column:1/-1}
@media (max-width:899px){
body.mn-dw-mobile-spot .mn-dw-stack--side{display:none}
.mn-dw-stack--mobile{display:block}
}
@media (prefers-reduced-motion:reduce){
.mn-dw__pulse{animation:none}
.mn-dw__glider,.mn-dw__sqw{transition:none}
.mn-dw__sign:hover .mn-dw__sqw{transform:none}
}
/* /braj-panchang-today/ (2.116.0): the full layout, server-rendered from the daily store */
.mn-pt{--dw-navy:#0f1b2d;--dw-navy2:#1e3a5f;--dw-orange:#f26a1b;--dw-mute:#b4c2d6;font-family:var(--mn-font-body,sans-serif)}
.mn-pt *{box-sizing:border-box}
.mn-pt__hero{margin:0 0 16px;padding:22px 20px;border-radius:20px;background:radial-gradient(120% 140% at 100% 0,rgba(242,106,27,.28),transparent 55%),linear-gradient(135deg,var(--dw-navy),var(--dw-navy2));color:#fff;position:relative;overflow:hidden}
.mn-pt__hero::after{content:"";position:absolute;right:0;bottom:0;left:0;height:5px;background:linear-gradient(90deg,var(--dw-orange),#d90429)}
.mn-pt__title{margin:0;color:#fff;font-size:1.6rem;font-weight:800;line-height:1.2}
.mn-pt__date{margin:6px 0 0;color:var(--dw-mute);font-size:1rem}
.mn-pt__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.mn-pt__card{padding:16px 18px;border-radius:16px;background:var(--dw-navy);color:#fff;box-shadow:0 10px 28px rgba(15,27,45,.22)}
.mn-pt__h3{margin:0 0 6px;padding-bottom:8px;border-bottom:3px solid var(--dw-orange);display:inline-block;color:#fff;font-size:1.0625rem;font-weight:800}
.mn-pt__rows{margin:0}
.mn-pt__row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.mn-pt__row:last-child{border-bottom:0}
.mn-pt__row dt{flex:none;color:var(--dw-mute);font-size:.875rem}
.mn-pt__row dd{margin:0;min-width:0;text-align:right;font-size:1rem;font-weight:700;overflow-wrap:anywhere}
.mn-pt__row--good dd{color:#6ee7a0}
.mn-pt__row--avoid dd{color:#ffa3a3}
.mn-pt__soon{display:flex;flex-direction:column;gap:6px;padding:40px 20px;border-radius:16px;background:var(--dw-navy);color:#fff;text-align:center;box-shadow:0 10px 28px rgba(15,27,45,.22)}
.mn-pt__soon strong{font-size:1.15rem}
.mn-pt__soon span{color:var(--dw-mute)}
.mn-pt__credit{margin:16px 0 0}
.mn-pt__credit a{display:inline-flex;align-items:center;gap:12px;min-height:48px;color:var(--dw-navy);text-decoration:none}
.mn-pt__credit a:hover{text-decoration:underline}
.mn-pt__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--dw-orange)}
.mn-pt__avatar--none{display:inline-flex;align-items:center;justify-content:center;background:var(--dw-navy);color:#fff;font-weight:800}
@media (min-width:768px){.mn-pt__hero{padding:30px 32px}.mn-pt__title{font-size:2rem}.mn-pt__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* "Translation AI-assisted" (2.120.0): one small line in the footer, only when the language on screen was machine-generated. It sits beside the credit, so the footer keeps its height. */
.mn-dw__ainote{flex:none;margin-left:auto;padding-left:8px;color:var(--dw-mute);font-size:.7rem;line-height:1.25;text-align:right;max-width:42%}
.mn-dw__ainote[hidden]{display:none}

/* 2.121.0: one structure, a distinct night/day gradient per widget. White text stays at 4.5:1 or better over every part of each
   gradient (measured, see the theme CHANGELOG); the bright accent colours are only decoration (a corner glow, the sliding indicator).
   --dw-mute is white at 92% so secondary text keeps its contrast too. */
.mn-dw--panchang,.mn-dw--rashifal,.mn-dw--mandi{--dw-mute:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(0,0,0,.22)}
.mn-dw--panchang{--dw-accent:#f59e0b;background:radial-gradient(90px 56px at 100% 0,rgba(245,158,11,.45),transparent),linear-gradient(160deg,#b8430d 0%,#9a3412 38%,#7f1d1d 100%)}
.mn-dw--mandi{--dw-accent:#6ee7b7;background:radial-gradient(90px 56px at 100% 0,rgba(52,211,153,.4),transparent),linear-gradient(160deg,#14532d 0%,#047857 55%,#065f46 100%)}
.mn-dw--panchang .mn-dw__head,.mn-dw--rashifal .mn-dw__head,.mn-dw--mandi .mn-dw__head{background:rgba(0,0,0,.2);border-bottom-color:rgba(255,255,255,.12)}
.mn-dw--panchang .mn-dw__tabs,.mn-dw--mandi .mn-dw__tabs{background:rgba(0,0,0,.24)}
.mn-dw--panchang .mn-dw__row--good .mn-dw__value{color:#a7f3d0}
.mn-dw--panchang .mn-dw__row--avoid .mn-dw__value{color:#ffd0d0}
.mn-dw--rashifal .mn-dw__sign[aria-pressed=true]{background:rgba(196,181,253,.24)}
.mn-dw--rashifal .mn-dw__signname{color:#e9ddff}
.mn-dw--rashifal .mn-dw__text{background:rgba(0,0,0,.22)}
.mn-dw__tab:focus-visible,.mn-dw__sign:focus-visible,.mn-dw__credit:focus-visible{box-shadow:0 0 0 5px var(--dw-accent,var(--dw-orange))}
.mn-dw__ainote{color:var(--dw-mute)}
/* Mandi widget */
.mn-dw--mandi{min-height:446px}
.mn-dw__panels--mandi{height:258px}
.mn-dw__label--name{flex:1 1 auto;min-width:0;color:#fff;font-size:.9rem;font-weight:700;overflow-wrap:anywhere}
.mn-dw__value--price{display:flex;align-items:center;flex:none;gap:8px}
.mn-dw__price{font-variant-numeric:tabular-nums}
.mn-dw__chg{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:64px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.28);font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.mn-dw__chg--up{color:#bbf7d0}
.mn-dw__chg--down{color:#fecaca}
.mn-dw__chg--flat,.mn-dw__chg--na{color:#fff}
.mn-dw__chg--na{background:none}
.mn-dw__date.is-stale{color:#fde68a}
.mn-dw__foot--mandi{justify-content:space-between;gap:10px}
.mn-dw__unit{flex:1 1 auto;min-width:0;color:var(--dw-mute);font-size:.72rem;line-height:1.3}
.mn-dw__all{flex:none;font-size:.875rem;font-weight:800;text-decoration:none}
/* Data rows sit on a dark translucent band so their colours keep 4.5:1 wherever the gradient is lightest. */
.mn-dw--panchang .mn-dw__panels,.mn-dw--mandi .mn-dw__panels{margin:6px 8px 0;padding:6px 10px 0;border-radius:12px;background:rgba(0,0,0,.22)}
.mn-dw__creditai{color:var(--dw-mute);font-weight:600}
.mn-dw__how{color:#fff;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
/* Rashifal starfield (2.124.0). Look adapted from the Uiverse.io "Stars" background by amir_6539 (MIT): a radial gradient #1b2735 to #090a0f and three parallax star layers (1px / 2px / 3px) drifting upward at 50s / 100s / 150s. Re-made for the widget: 150 stars sized to the widget box (positions in container-width units, loop height = the widget height, each layer's star list is stored once and reused by its ::after copy), CSS only, transform animation (compositor), paused while the widget is off screen (script) and static under reduced motion. */
.mn-dw--rashifal{--h:600px;--dw-accent:#c4b5fd;container-type:inline-size;position:relative;overflow:hidden;background:radial-gradient(ellipse at bottom,#1b2735 0%,#090a0f 100%)}
.mn-dw--rashifal>:not(.mn-dw__stars){position:relative;z-index:1}
.mn-dw__stars{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.mn-dw__stars i{position:absolute;left:0;top:0;display:block;border-radius:50%;background:transparent;will-change:transform;animation:mn-dw-star linear infinite}
.mn-dw__stars i::after{content:'';position:absolute;left:0;top:var(--h);width:inherit;height:inherit;border-radius:50%;background:transparent;box-shadow:var(--s)}
.mn-dw__stars i:nth-child(1){--s:88cqw 107px #fff,96cqw 428px #fff,94cqw 85px #fff,49cqw 414px #fff,76cqw 435px #fff,92cqw 520px #fff,40cqw 114px #fff,85cqw 389px #fff,46cqw 409px #fff,70cqw 343px #fff,43cqw 241px #fff,70cqw 346px #fff,41cqw 47px #fff,82cqw 446px #fff,94cqw 355px #fff,59cqw 465px #fff,29cqw 472px #fff,75cqw 505px #fff,23cqw 3px #fff,74cqw 270px #fff,79cqw 169px #fff,10cqw 31px #fff,90cqw 504px #fff,94cqw 364px #fff,21cqw 144px #fff,76cqw 166px #fff,34cqw 117px #fff,93cqw 437px #fff,34cqw 464px #fff,61cqw 58px #fff,18cqw 592px #fff,53cqw 327px #fff,78cqw 68px #fff,46cqw 265px #fff,90cqw 459px #fff,8cqw 94px #fff,99cqw 146px #fff,46cqw 438px #fff,21cqw 236px #fff,82cqw 21px #fff,31cqw 83px #fff,10cqw 66px #fff,17cqw 444px #fff,20cqw 379px #fff,98cqw 11px #fff,96cqw 344px #fff,35cqw 48px #fff,27cqw 333px #fff,61cqw 166px #fff,41cqw 99px #fff,17cqw 34px #fff,66cqw 307px #fff,94cqw 60px #fff,11cqw 523px #fff,78cqw 496px #fff,97cqw 548px #fff,98cqw 104px #fff,20cqw 268px #fff,45cqw 307px #fff,17cqw 107px #fff,39cqw 219px #fff,8cqw 30px #fff,16cqw 485px #fff,13cqw 353px #fff,22cqw 393px #fff,94cqw 98px #fff,32cqw 78px #fff,36cqw 16px #fff,36cqw 458px #fff,22cqw 569px #fff;width:1px;height:1px;box-shadow:var(--s);animation-duration:50s}
.mn-dw__stars i:nth-child(2){--s:6cqw 428px #fff,49cqw 210px #fff,55cqw 241px #fff,37cqw 308px #fff,84cqw 200px #fff,25cqw 83px #fff,34cqw 191px #fff,5cqw 223px #fff,82cqw 559px #fff,96cqw 597px #fff,4cqw 484px #fff,13cqw 142px #fff,94cqw 197px #fff,8cqw 117px #fff,11cqw 377px #fff,27cqw 218px #fff,75cqw 328px #fff,72cqw 85px #fff,73cqw 288px #fff,74cqw 246px #fff,82cqw 55px #fff,57cqw 116px #fff,8cqw 502px #fff,40cqw 44px #fff,39cqw 468px #fff,14cqw 503px #fff,91cqw 394px #fff,17cqw 416px #fff,86cqw 350px #fff,54cqw 292px #fff,30cqw 365px #fff,15cqw 78px #fff,37cqw 497px #fff,29cqw 181px #fff,65cqw 80px #fff,8cqw 386px #fff,17cqw 243px #fff,80cqw 95px #fff,17cqw 482px #fff,38cqw 315px #fff,39cqw 12px #fff,48cqw 575px #fff,78cqw 557px #fff,48cqw 554px #fff,74cqw 352px #fff,61cqw 339px #fff,76cqw 520px #fff,58cqw 570px #fff,68cqw 186px #fff,97cqw 280px #fff;width:2px;height:2px;box-shadow:var(--s);animation-duration:100s}
.mn-dw__stars i:nth-child(3){--s:47cqw 478px #fff,89cqw 217px #fff,88cqw 410px #fff,12cqw 495px #fff,99cqw 58px #fff,90cqw 593px #fff,39cqw 232px #fff,38cqw 477px #fff,73cqw 134px #fff,69cqw 507px #fff,14cqw 352px #fff,39cqw 317px #fff,16cqw 180px #fff,56cqw 427px #fff,53cqw 98px #fff,2cqw 444px #fff,78cqw 525px #fff,28cqw 238px #fff,72cqw 203px #fff,84cqw 39px #fff,17cqw 194px #fff,64cqw 3px #fff,29cqw 50px #fff,81cqw 375px #fff,23cqw 71px #fff,72cqw 197px #fff,14cqw 453px #fff,19cqw 245px #fff,87cqw 401px #fff,22cqw 473px #fff;width:3px;height:3px;box-shadow:var(--s);animation-duration:150s}
@keyframes mn-dw-star{to{transform:translateY(calc(var(--h)*-1))}}
.mn-dw--rashifal.is-paused .mn-dw__stars i{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.mn-dw__stars i{animation:none}}
/* Today's Rashifal page, /rashifal-today/ (2.128.0): twelve sign cards in the same navy design as the Panchang page. */
.mn-rt__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.mn-rt__card{padding:16px 18px;border-radius:16px;background:var(--dw-navy);color:#fff;box-shadow:0 10px 28px rgba(15,27,45,.22)}
.mn-rt__sign{display:flex;align-items:center;gap:10px;margin:0 0 8px;color:#fff;font-size:1.0625rem;font-weight:800}
.mn-rt__glyph{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:11px;color:#fff;font-size:18px;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",sans-serif}
.mn-rt__text{margin:0;color:#eef2f8;font-size:1rem;line-height:1.6}
.mn-rt__note{margin:14px 0 0;color:#475467;font-size:.9rem}
.mn-rt__note a{color:#a83a08}
@media (min-width:768px){.mn-rt__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.mn-rt__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
