/* GODDO V59 — mobile readability and safe scrolling */
:root{--goddo-nav-space:calc(94px + env(safe-area-inset-bottom,0px))}
html{overflow-x:clip;scroll-padding-bottom:var(--goddo-nav-space);-webkit-text-size-adjust:100%}
body{overscroll-behavior-y:auto}
@media(max-width:760px){
 html,body{height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:clip!important}
 body{font-size:17px!important;line-height:1.55!important}
 .app-shell{height:auto!important;min-height:100dvh!important;overflow:visible!important}
 .main-content{height:auto!important;min-height:100dvh!important;overflow:visible!important;padding-bottom:calc(200px + env(safe-area-inset-bottom,0px))!important}
 .page.active{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;padding-bottom:48px!important}
 .mobile-bottom-nav{bottom:0!important;z-index:250!important;padding-bottom:calc(9px + env(safe-area-inset-bottom,0px))!important}
 .mobile-nav-button{min-height:58px!important;min-width:0!important}
 .mobile-nav-button small{font-size:clamp(12px,3.2vw,14px)!important;letter-spacing:0!important;white-space:normal!important;text-align:center!important}
 .page-heading h1,.goddo-dashboard-intro h2{font-size:clamp(27px,7vw,38px)!important;line-height:1.18!important}
 .page-heading p,.content-card p,.setting-row p,.goddo-dashboard-intro p,.goddo-premium-copy p{font-size:17px!important;line-height:1.6!important}
 .content-card,.stat-card,.level-panel{border-color:rgba(230,194,120,.28)!important;box-shadow:0 12px 34px rgba(0,0,0,.19)!important}
 .content-card h2,.content-card h3,.setting-row strong{font-size:clamp(19px,5vw,25px)!important;line-height:1.3!important}
 .goddo-feature{min-height:164px!important;padding:17px 14px!important;border-radius:20px!important;box-shadow:0 12px 26px #0004!important}
 .goddo-feature strong{font-size:18px!important;line-height:1.28!important}
 .goddo-feature small{font-size:14px!important;line-height:1.4!important}
 .goddo-premium-hero{min-height:420px!important;background:radial-gradient(circle at 80% 20%,#b18b4755,transparent 42%),radial-gradient(circle at 10% 75%,#397e8580,transparent 52%),linear-gradient(145deg,#163b53,#061422)!important}
 .goddo-premium-copy{padding:30px 22px 75px!important}
 .goddo-premium-copy h1{font-size:clamp(36px,10vw,52px)!important;line-height:1.08!important}
 .goddo-premium-copy p{max-width:32ch!important}
 .goddo-hero-bottom{font-size:12px!important;letter-spacing:0!important;flex-wrap:wrap!important}
 button,.secondary-button,.primary-button,.goddo-gold-cta,.goddo-ghost-cta{min-height:48px}
 .modal.show{align-items:flex-start!important;padding:calc(12px + env(safe-area-inset-top,0px)) 10px calc(18px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overscroll-behavior:contain}
 .modal-panel{flex:0 0 auto!important;max-height:calc(100dvh - 32px - env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overscroll-behavior:contain}
 .modal-body{max-height:none!important;overflow:visible!important;padding-bottom:35px!important}
 .goddo-study-overlay,.goddo-placement,.goddo-level-gate{overflow-y:auto!important;align-items:flex-start!important;overscroll-behavior:contain}
 .goddo-study-card,.goddo-placement-panel,.goddo-gate-inner{margin:auto!important;max-height:calc(100dvh - 30px)!important;overflow-y:auto!important}
 .ai-chat{min-height:0!important;height:auto!important}
 .ai-messages{min-height:260px!important;max-height:52dvh!important;overflow-y:auto!important}
 .ai-compose textarea{font-size:17px!important}
 .gva-screen{min-height:300px!important}
 .gva-english{font-size:clamp(20px,5.5vw,27px)!important}
 .gva-turkish{font-size:17px!important}
 .gva-controls button,.gva-test button{min-height:50px!important;font-size:16px!important}
}
@media(max-width:370px){.goddo-feature-grid{grid-template-columns:1fr 1fr!important}.goddo-feature{padding:13px 10px!important}.goddo-feature strong{font-size:16px!important}.goddo-feature small{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
