/* Focused fixes over the unmodified v8 design. */
[hidden]{display:none!important}
html,body{max-width:100%;overflow-x:hidden}
/* Compact top ad; retain 40px from nearby controls. */
.banner-wrap,body[data-ui="wishes"] .banner-wrap{height:auto;min-height:0;padding:17px 12px 40px;flex-shrink:0;gap:3px;transition:none}
@media(orientation:landscape) and (max-height:550px){.banner-wrap,body[data-ui="wishes"] .banner-wrap{padding-top:22px}}
.banner-slot{border:0;background:none;max-width:100%;height:50px}
.ad-slot.has-ad{border:0;background:none}
.ad-slot iframe{display:block;border:0;max-width:100%;flex-shrink:0}
.composer[data-rectangle-mounted="true"] .composer-scroll{margin-block:40px;padding-block:0}
.rectangle-wrap{margin-block:40px 0}
.rectangle-slot{height:250px;min-height:250px;border:0;background:none}
.wish-scroll,.composer-scroll{overflow-x:hidden}
.wish-scroll{padding-bottom:40px}
.incoming-blessing{margin:2px 0 0!important;color:#f3dcaf;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere}
body[data-ui="darshan"][data-started="false"][data-incoming="true"] .intro-guide{height:124px}
.scene[data-fading="true"] #girl-open,.scene[data-fading="true"] #girl-closed{opacity:0!important;transition:opacity var(--fade-duration,450ms) ease!important}
.scene[data-fading="true"] #transformation{display:none!important}
.scene[data-fading="true"] #devi{transition:opacity var(--fade-duration,450ms) ease}
.side-photo{--ph:max(0px,min(calc(var(--scene-h,200px)*.6),calc((var(--slot-w,100px) - 12px)/var(--ar-max))))}
.scene[data-phase="settled"] #girl-open,.scene[data-phase="settled"] #girl-closed{display:none!important}
@media(orientation:landscape) and (max-height:550px){body[data-ui="darshan"][data-started="false"][data-incoming="true"] .intro-guide{height:93px}}

/* Match the actual WhatsApp message line breaks in the on-page preview. */
.preview-message{white-space:pre-wrap}

/* Short laptop windows: keep the heading reachable when the pane content is taller than the pane. */
@media(min-width:760px){.wish-scroll{justify-content:flex-start}.wish-scroll::before,.wish-scroll::after{content:"";flex:1 1 0}}

/* Keep the existing share action in view on phones, at the same wishes step. */
@media(max-width:759px){
  .wish-actions{position:fixed;left:0;right:0;bottom:0;z-index:60}
  body[data-ui="wishes"] .wish-pane{padding-bottom:var(--share-dock-height,120px)}
}
