/* Restore the paper invitation; keep its centre transparent and its questions visible. */
html body.simple-ui.paper-spiritual #main #view-home .app-feature.paper-question-hero.restored-invitation{height:350px!important;min-height:350px!important;background-size:100% 100%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy{background:transparent!important;border:0!important;box-shadow:none!important}
/* A single compact, illustrated link. No carousel buttons or extra control row. */
.module-teasers{margin:0 0 16px;min-width:0;border:1px solid #b67c38;border-radius:18px;overflow:hidden;box-shadow:0 5px 14px #874a1826;background:#ffe4b4}
.module-teaser-track{display:flex;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.module-teaser-track::-webkit-scrollbar{display:none}
.module-teaser-track.is-dragging{scroll-snap-type:none;cursor:grabbing}
html body.simple-ui.paper-spiritual #main .module-teaser{position:relative;isolation:isolate;display:flex!important;align-items:center;min-height:146px;width:100%;min-width:0;max-width:100%;margin:0;padding:18px!important;border:0!important;border-radius:0;background:linear-gradient(110deg,#fff4da,#ffe2a4 70%,#c07b3f)!important;color:#512c1e!important;text-align:left;font:inherit;box-sizing:border-box;overflow:hidden;animation:teaser-enter .3s ease-out}
html body.simple-ui.paper-spiritual #main .module-teaser[hidden]{display:none!important}
html body.simple-ui.paper-spiritual #main .module-teaser .module-teaser-art{position:absolute!important;inset:0 0 0 auto!important;transform:none!important;width:48%!important;height:100%!important;min-width:0!important;border-radius:0!important;overflow:hidden;display:block!important;background:transparent!important;opacity:.8;z-index:-2}
.module-teaser-art svg{width:100%;height:100%;display:block}
.module-teaser:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff0d1 0%,#fff0d1f5 48%,#fff0d1a0 72%,#fff0d105 100%);pointer-events:none}
.module-teaser:after{content:'';position:absolute;inset:6px;border:1px solid #b57c3d80;border-radius:12px;pointer-events:none}
.module-teaser-copy{display:grid;gap:7px;min-width:0;width:82%;position:relative;z-index:1}.module-teaser-copy b{font-size:21px;line-height:1.25;color:#542a17!important;-webkit-text-fill-color:#542a17!important}.module-teaser-copy>span{font-size:14px;line-height:1.45;color:#654029!important;-webkit-text-fill-color:#654029!important}
.module-teaser:focus-visible{outline:3px solid #8b451e;outline-offset:-4px}
@keyframes teaser-enter{from{opacity:.65;transform:translateX(18px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.module-teaser{animation:none!important}}
.muhurta-times{margin:10px 0;padding:10px 12px;border:1px solid #ba8c50;border-radius:10px;background:#fff0d7;color:#4a2b1f}.muhurta-times ul{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 12px}.muhurta-times li{font-size:16px;font-weight:700}.muhurta-time-note{font-size:13px;line-height:1.5}

.dual-purpose-note{font-size:13px;line-height:1.5;margin:6px 0 10px;color:inherit}



/* Text rectangles follow the six paper bubbles in ask-paper-v1.webp.
   Percentages share the background's 100% x 100% coordinate system. */
html body.simple-ui.paper-spiritual #main #view-home .app-feature.paper-question-hero.restored-invitation{height:240px!important;min-height:240px!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy{left:26%!important;top:32%!important;width:48%!important;gap:4px!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy b{font-size:clamp(16px,4.7vw,20px)!important;line-height:1.2!important;margin:0!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy em{width:clamp(112px,32vw,145px)!important;min-width:0!important;min-height:40px!important;padding:6px!important;margin:0!important;font-size:clamp(13.5px,3.7vw,15px)!important;gap:6px!important;white-space:nowrap!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy em span{white-space:nowrap!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .home-feature-copy small{font-size:9px!important;line-height:1.3!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 transform:none!important;padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 font-size:clamp(10px,2.8vw,13px)!important;line-height:1.3!important;
 text-align:center;white-space:normal!important;overflow-wrap:normal;word-break:normal;
}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(1){left:16%!important;top:7%!important;width:17%!important;height:18%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(2){left:70%!important;top:13%!important;width:18%!important;height:18%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(3){left:3%!important;top:34%!important;width:19%!important;height:18%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(4){left:80%!important;top:48%!important;width:17%!important;height:18%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(5){left:14%!important;top:64%!important;width:17%!important;height:18%!important}
html body.simple-ui.paper-spiritual #main #view-home .restored-invitation .paper-questions span:nth-child(6){left:66%!important;top:74%!important;width:18%!important;height:18%!important}
/* Contain full-width event results and integrate time rows into the event artwork. */
html body.simple-ui.paper-spiritual #main #view-muhurta #mResult{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;overflow-wrap:anywhere}
html body.simple-ui.paper-spiritual #main #view-muhurta #mResult :is(h2,p,time,b){max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
html body.simple-ui.paper-spiritual #main #view-muhurta #mResult h2{font-size:clamp(20px,4vw,28px)!important;line-height:1.4!important}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-dates{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px!important;min-width:0}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-dates article{min-width:0!important;max-width:100%!important;box-sizing:border-box;padding:14px!important;background:#321d24ed!important;color:#fff1da!important;border:1px solid #bd9258;border-radius:14px}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-dates article :is(b,p,time,li){color:#fff1da!important;-webkit-text-fill-color:#fff1da!important}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-times{background:transparent!important;border:0!important;border-top:1px solid #bd925880!important;border-radius:0!important;padding:10px 0 0!important;margin:10px 0 0!important;min-width:0}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-times ul{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px;padding:0!important;margin:8px 0!important;list-style:none}
html body.simple-ui.paper-spiritual #main #view-muhurta .muhurta-times li{display:block!important;border-left:3px solid #d8a56c;padding:7px 10px;background:#70462f70;border-radius:0 7px 7px 0;font-size:16px!important;line-height:1.5;overflow-wrap:anywhere}

/* Horizontal dragging changes features while normal page scrolling stays native. */
.module-teasers{touch-action:auto}
.module-teaser-track{user-select:none;-webkit-user-select:none}
.module-teaser-art{pointer-events:none;-webkit-user-drag:none}

/* Every slide occupies one native scroll page, including on iOS Safari. */
html body.simple-ui.paper-spiritual #main .module-teaser{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;animation:none;touch-action:auto}
