/* BAGI CSE V1.16.6.1 — Mobile Fit Hotfix.
   Additive override: leaves approved desktop scene compositions and copy untouched.
   One scroll container (.scene-inner), no page-level competing scroll.
   Scoped to mobile/tablet width <=800px. */
@media (max-width:800px){
  :root{
    --top:calc(clamp(72px,10.5dvh,92px) + env(safe-area-inset-top,0px));
    --bottom:calc(73px + env(safe-area-inset-bottom,0px));
  }
  html,body{height:100%;overflow:hidden;overscroll-behavior:none}
  .app{height:100svh;height:100dvh;min-height:0;overflow:hidden}
  .scene{height:100%;overflow:hidden}
  .topbar{padding-top:max(7px,env(safe-area-inset-top,0px))}
  .scene .scene-inner,.theme-final .scene-inner{
    inset:var(--top) clamp(14px,4.6vw,28px) var(--bottom);
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:max-content max-content;
    align-content:start;
    align-items:start;
    gap:clamp(8px,1.6dvh,14px);
    min-width:0;
    min-height:0;
    max-height:none;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-x:none;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    scroll-padding-block:8px 22px;
    padding:0 1px 18px;
  }
  .scene .scene-inner::-webkit-scrollbar{display:none}
  .scene .story-copy,.scene .visual-zone{min-width:0;min-height:0;width:100%;max-width:100%}
  .scene .visual-zone{display:block}
  .scene .story-copy h1{font-size:clamp(24px,6.7vw,34px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:break-word}
  .scene .spoken{font-size:clamp(12px,3.3vw,15px);line-height:1.36;margin:0 0 6px}
  .scene .story-copy .support{font-size:clamp(11.5px,3.35vw,14px);line-height:1.42;margin:8px 0 0}
  .scene .interactive-panel{max-width:100%;padding:clamp(11px,3.4vw,17px);border-radius:clamp(16px,4vw,21px)}
  .scene .panel-eyebrow{margin-bottom:8px;font-size:10px;letter-spacing:.055em}
  .scene .response{min-height:0;padding:10px 12px;margin-top:9px;font-size:12px;line-height:1.35;border-radius:13px;overflow-wrap:anywhere}
  .scene .response strong{font-size:12px;line-height:1.3;margin-bottom:4px}
  .scene .response p{font-size:11.5px;line-height:1.4;margin:0}
  .bottom-nav{
    left:clamp(14px,4.6vw,28px);right:clamp(14px,4.6vw,28px);
    bottom:calc(9px + env(safe-area-inset-bottom,0px));
    gap:9px;
  }
  .bottom-nav .nav-circle{width:44px;height:44px;min-height:44px;flex:none}
  .bottom-nav .nav-next{min-height:44px;min-width:112px;padding:11px 15px;font-size:12px}
  .scene .micro-disclaimer{font-size:10px;line-height:1.35;margin-top:8px}
  .scene-7 .choices-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .scene-7 .choices-grid button{min-height:44px;padding:8px 5px;font-size:clamp(10px,2.9vw,12px);line-height:1.15;border-radius:11px}
  .scene-7 .compact-response,.scene-11 .compact-response,.scene-15 .compact-response{
    display:block!important;min-height:0;margin-top:9px;padding:9px 11px;
  }
  .scene-7 .compact-response p,.scene-11 .compact-response p,.scene-15 .compact-response p{font-size:11px;line-height:1.37}
  .scene-11 .factors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .scene-11 .factors-grid button{min-height:48px;padding:8px 7px;font-size:12px;line-height:1.17}
  .scene-15 .route-compare{padding:12px}
  .scene-15 .route-grid{gap:8px}
  .scene-15 .route-card{min-height:72px;padding:10px;gap:4px;border-radius:12px}
  .scene-15 .route-card strong{font-size:13px;line-height:1.2}
  .scene-15 .route-card small{font-size:9px}
  .scene-15 .route-card span{font-size:15px}
  .scene-15 .route-line{margin:7px 0;padding:8px 10px;font-size:9px;gap:4px}
  .scene-19 .step-selector{gap:7px}
  .scene-19 .step-btn{min-height:55px;padding:8px 5px;border-radius:11px}
  .scene-19 .step-btn b{font-size:11px;margin-bottom:3px}
  .scene-19 .step-btn span{font-size:11px;line-height:1.16}
  .scene-19 .response{min-height:0!important}
  .scene-25 .workflow-grid{gap:6px}
  .scene-25 .workflow-card{min-height:55px;padding:8px 3px;gap:4px;border-radius:11px}
  .scene-25 .workflow-card i{font-size:19px}
  .scene-25 .workflow-card span{font-size:10.5px;line-height:1.15}
  .scene-25 .support-perks{gap:5px;margin-top:9px;flex-wrap:wrap}
  .scene-25 .support-perks span{padding:6px 7px;font-size:10px}
  /* Focus comparison: selections become tabs; selected approved copy is the focus card. */
  .scene-26 .scene-inner{gap:10px}
  .scene-26 .story-copy h1{font-size:clamp(22px,6.25vw,31px);line-height:1.10}
  .scene-26 .story-copy .support{font-size:clamp(11px,3.1vw,13px);line-height:1.34;margin-top:7px}
  .scene-26 .offer-panel{padding:12px}
  .scene-26 .compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .scene-26 .offer-choice{
    display:flex;align-items:flex-start;justify-content:center;
    min-height:58px!important;height:auto;padding:10px 11px;
    gap:3px;border-radius:12px;box-shadow:none;
  }
  .scene-26 .offer-choice .offer-small{font-size:9px;line-height:1.12;letter-spacing:0}
  .scene-26 .offer-choice strong{font-size:clamp(15px,4.6vw,20px);line-height:1.08}
  .scene-26 .offer-choice>span:not(.offer-small){display:none}
  .scene-26 .offer-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:9px}
  .scene-26 .offer-response{
    display:block!important;order:-1;
    background:linear-gradient(135deg,#fff7ec,#ffefdf);
    border:1px solid #edc9a8;
    border-radius:13px;
    padding:11px 12px;
    min-height:0!important;
    margin:0!important;
    color:#613c29;
    font-size:11.5px;
    line-height:1.42;
    opacity:1;
  }
  .scene-26 .offer-response::before{
    content:"MANFAAT PILIHANMU";
    display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:#b4642b;margin-bottom:5px
  }
  .scene-26 .offer-price{
    display:grid!important;grid-template-columns:auto 1fr;
    column-gap:12px;row-gap:2px;align-items:center;
    padding:9px 11px;
    border:1px solid #f0d1ae;border-radius:12px;
    background:#fffaf3;min-width:0;
  }
  .scene-26 .offer-price span{grid-column:1/-1;font-size:10px}
  .scene-26 .offer-price strong{font-size:clamp(23px,6.3vw,30px);line-height:1;white-space:nowrap}
  .scene-26 .offer-price small{font-size:10px;line-height:1.25;max-width:210px}
  .scene-26 .offer-panel .subtle-link{
    display:block;min-height:30px;margin:3px 0 0;
    padding:5px 0;font-size:11px;line-height:1.35;
  }
  .scene-27 .faq-panel{padding:12px}
  .scene-27 .faq-list{gap:6px}
  .scene-27 .faq-list summary{padding:10px 12px;font-size:12px;line-height:1.3;min-height:44px;align-items:center}
  .scene-27 .faq-list details p{font-size:11.5px;line-height:1.43;padding:0 12px 12px}
  .scene-27 .faq-panel .subtle-link{margin-top:5px}
}
@media (max-width:430px) and (max-height:680px){
  :root{
    --top:calc(66px + env(safe-area-inset-top,0px));
    --bottom:calc(65px + env(safe-area-inset-bottom,0px));
  }
  .scene .scene-inner{gap:7px;padding-bottom:13px}
  .scene .story-copy h1{font-size:clamp(22px,6.35vw,28px);line-height:1.09}
  .scene .story-copy .support{font-size:clamp(11px,3.1vw,12.5px);line-height:1.34;margin-top:6px}
  .scene .spoken{margin-bottom:4px}
  .scene-26 .story-copy h1{font-size:clamp(21px,6vw,27px)}
  .scene-26 .offer-panel{padding:10px}
  .scene-26 .offer-choice{min-height:53px!important;padding:8px}
  .scene-26 .offer-response{padding:9px 10px;font-size:11px;line-height:1.32}
  .scene-26 .offer-price{padding:8px 10px}
  .scene-26 .offer-price strong{font-size:24px}
  .scene-15 .route-compare,.scene-7 .choices-panel,.scene-11 .factors-panel{padding:10px}
}
@media (prefers-reduced-motion:reduce){
  .scene .scene-inner{scroll-behavior:auto}
}
