/* AcilYanDal - Mobile Native App Shell v2
   Hedef: mobil tarayıcıda native uygulama hissi. Yalnızca <= 820px / coarse pointer'da aktifleşir. */
:root{
  --ayd-app-bg:#f4f7fb;
  --ayd-app-surface:#ffffff;
  --ayd-app-surface-2:#f8fafc;
  --ayd-app-ink:#0f172a;
  --ayd-app-muted:#64748b;
  --ayd-app-line:rgba(15,23,42,.08);
  --ayd-app-primary:#ef4444;
  --ayd-app-blue:#2563eb;
  --ayd-app-purple:#7c3aed;
  --ayd-app-shadow:0 18px 48px rgba(15,23,42,.12);
  --ayd-app-radius:24px;
  --ayd-app-safe-top:env(safe-area-inset-top,0px);
  --ayd-app-safe-bottom:env(safe-area-inset-bottom,0px);
  --ayd-app-top-h:64px;
  --ayd-app-tab-h:76px;
}

@media (max-width: 820px), (pointer: coarse) and (max-device-width: 920px){
  html.ayd-native-app,
  html.ayd-native-app body{
    width:100%;
    min-width:0!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    -webkit-text-size-adjust:100%;
    text-rendering:optimizeLegibility;
  }
  html.ayd-native-app body{
    background:
      radial-gradient(circle at 18% -10%,rgba(239,68,68,.10),transparent 34%),
      radial-gradient(circle at 110% 4%,rgba(37,99,235,.12),transparent 33%),
      var(--ayd-app-bg)!important;
    color:var(--ayd-app-ink);
    padding-bottom:calc(var(--ayd-app-tab-h) + var(--ayd-app-safe-bottom) + 12px)!important;
  }
  html.ayd-native-app *{box-sizing:border-box;}
  html.ayd-native-app a, html.ayd-native-app button{touch-action:manipulation;-webkit-tap-highlight-color:rgba(37,99,235,.10);}
  html.ayd-native-app input,
  html.ayd-native-app select,
  html.ayd-native-app textarea{
    font-size:16px!important;
    border-radius:16px!important;
  }

  /* Üst uygulama çubuğu */
  html.ayd-native-app .ayd-navbar{
    position:fixed!important;
    left:0!important;right:0!important;top:0!important;
    z-index:1055!important;
    min-height:calc(var(--ayd-app-top-h) + var(--ayd-app-safe-top))!important;
    height:calc(var(--ayd-app-top-h) + var(--ayd-app-safe-top))!important;
    padding:var(--ayd-app-safe-top) 12px 8px!important;
    background:rgba(7,11,27,.92)!important;
    background-image:
      radial-gradient(circle at 16% 0%,rgba(239,68,68,.24),transparent 34%),
      radial-gradient(circle at 88% 0%,rgba(37,99,235,.28),transparent 34%)!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    box-shadow:0 14px 36px rgba(15,23,42,.22)!important;
    backdrop-filter:blur(18px) saturate(1.2)!important;
    -webkit-backdrop-filter:blur(18px) saturate(1.2)!important;
  }
  html.ayd-native-app .ayd-navbar .ayd-nav-container{
    height:56px!important;
    max-width:none!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  html.ayd-native-app .ayd-navbar .ayd-brand{
    min-width:0!important;
    max-width:calc(100vw - 96px)!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    color:#fff!important;
    text-decoration:none!important;
  }
  html.ayd-native-app .ayd-navbar .brand-icon{
    width:40px!important;height:40px!important;min-width:40px!important;
    border-radius:15px!important;
    display:grid!important;place-items:center!important;
    background:linear-gradient(135deg,#fff,#e2e8f0)!important;
    color:#ef4444!important;
    font-size:1.25rem!important;
    box-shadow:0 12px 26px rgba(0,0,0,.22)!important;
  }
  html.ayd-native-app .ayd-navbar .brand-text{
    font-size:1.03rem!important;
    font-weight:950!important;
    letter-spacing:-.035em!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.ayd-native-app .ayd-navbar .brand-highlight{color:#fb7185!important;}
  html.ayd-native-app .navbar-toggler{
    width:44px!important;height:44px!important;min-width:44px!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.13)!important;
    box-shadow:none!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;
  }
  html.ayd-native-app .navbar-toggler:focus{box-shadow:0 0 0 4px rgba(96,165,250,.20)!important;}
  html.ayd-native-app .navbar-toggler-icon{
    width:22px!important;height:22px!important;
    filter:none!important;
  }

  /* Masaüstü menü => mobil uygulama drawer/bottom sheet */
  html.ayd-native-app .ayd-navbar .ayd-nav-collapse{
    position:fixed!important;
    left:12px!important;right:12px!important;
    top:calc(var(--ayd-app-safe-top) + 76px)!important;
    bottom:calc(var(--ayd-app-safe-bottom) + 94px)!important;
    width:auto!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:14px!important;
    border-radius:28px!important;
    overflow:hidden!important;
    background:rgba(10,16,35,.98)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 28px 90px rgba(2,6,23,.52)!important;
    backdrop-filter:blur(24px)!important;
    -webkit-backdrop-filter:blur(24px)!important;
  }
  html.ayd-native-app .ayd-navbar .ayd-nav-collapse:not(.show):not(.collapsing){display:none!important;}
  html.ayd-native-app .ayd-navbar .ayd-nav-collapse.show,
  html.ayd-native-app .ayd-navbar .ayd-nav-collapse.collapsing{display:block!important;}
  html.ayd-native-app body.ayd-app-menu-open:before{
    content:'';position:fixed;inset:0;z-index:1050;
    background:rgba(2,6,23,.56);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
  }
  html.ayd-native-app .ayd-navbar .ayd-nav-collapse:before{
    content:'AcilYanDal Menü';
    display:flex;align-items:center;justify-content:space-between;
    margin:0 0 12px;
    padding:6px 4px 12px;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:#f8fafc;
    font-weight:950;
    font-size:1.05rem;
    letter-spacing:-.03em;
  }
  html.ayd-native-app .ayd-navbar .ayd-main-nav,
  html.ayd-native-app .ayd-navbar .ayd-user-nav{
    width:100%!important;
    max-height:calc(100% - 46px)!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:0!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding-right:2px!important;
  }
  html.ayd-native-app .ayd-navbar .ayd-main-nav{padding-bottom:12px!important;}
  html.ayd-native-app .ayd-navbar .ayd-user-nav{
    max-height:none!important;
    overflow:visible!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    padding-top:10px!important;
  }
  html.ayd-native-app .ayd-navbar .nav-item{width:100%!important;}
  html.ayd-native-app .ayd-navbar .nav-link,
  html.ayd-native-app .ayd-navbar .ayd-top-link,
  html.ayd-native-app .ayd-navbar .ayd-user-link{
    min-height:52px!important;
    width:100%!important;
    padding:12px 13px!important;
    border-radius:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    color:#e5edf8!important;
    font-weight:850!important;
    line-height:1.1!important;
    background:rgba(255,255,255,.055)!important;
    border:1px solid rgba(255,255,255,.065)!important;
  }
  html.ayd-native-app .ayd-navbar .nav-link i,
  html.ayd-native-app .ayd-navbar .ayd-top-link i,
  html.ayd-native-app .ayd-navbar .ayd-user-link i{
    width:34px!important;height:34px!important;min-width:34px!important;
    display:grid!important;place-items:center!important;
    border-radius:13px!important;
    color:#bfdbfe!important;
    background:rgba(96,165,250,.14)!important;
    margin:0!important;
  }
  html.ayd-native-app .ayd-navbar .nav-link.active,
  html.ayd-native-app .ayd-navbar .nav-link:hover,
  html.ayd-native-app .ayd-navbar .nav-link:focus{
    background:linear-gradient(135deg,rgba(239,68,68,.22),rgba(37,99,235,.18))!important;
    border-color:rgba(248,113,113,.26)!important;
    color:#fff!important;
  }
  html.ayd-native-app .ayd-navbar .dropdown-toggle::after{margin-left:auto!important;}
  html.ayd-native-app .ayd-navbar .dropdown-menu,
  html.ayd-native-app .ayd-navbar .dropdown-menu.show{
    position:static!important;
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    max-height:none!important;
    margin:7px 0 8px!important;
    padding:8px!important;
    border-radius:20px!important;
    background:#ffffff!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:0 16px 42px rgba(0,0,0,.20)!important;
    overflow:visible!important;
  }
  html.ayd-native-app .ayd-navbar .dropdown-menu .dropdown-header{
    color:#475569!important;
    padding:9px 10px 6px!important;
    font-size:.72rem!important;
    font-weight:950!important;
  }
  html.ayd-native-app .ayd-navbar .dropdown-menu .dropdown-item{
    min-height:46px!important;
    display:flex!important;align-items:center!important;gap:9px!important;
    border-radius:14px!important;
    padding:10px 11px!important;
    color:#111827!important;
    font-weight:800!important;
    white-space:normal!important;
    line-height:1.25!important;
  }
  html.ayd-native-app .ayd-navbar .dropdown-menu .dropdown-item i{
    background:#f1f5f9!important;color:#ef4444!important;
    width:28px!important;height:28px!important;min-width:28px!important;border-radius:10px!important;
  }
  html.ayd-native-app .ayd-navbar .dropdown-menu .menu-index{
    width:26px!important;height:26px!important;min-width:26px!important;border-radius:10px!important;
    background:#eff6ff!important;color:#1d4ed8!important;font-size:.72rem!important;
  }
  html.ayd-native-app .ayd-navbar .ayd-user-nav .btn{
    width:100%!important;min-height:50px!important;border-radius:17px!important;font-weight:950!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;
  }

  /* Ana içerik uygulama viewport'u */
  html.ayd-native-app .ayd-main-content{
    padding-top:calc(var(--ayd-app-top-h) + var(--ayd-app-safe-top) + 10px)!important;
    min-height:calc(100dvh - var(--ayd-app-top-h))!important;
    background:transparent!important;
  }
  html.ayd-native-app .ayd-main-content > .container,
  html.ayd-native-app .ayd-main-content > .container-fluid,
  html.ayd-native-app .container,
  html.ayd-native-app .container-fluid{
    width:100%!important;
    max-width:100%!important;
    padding-left:max(14px,var(--ayd-app-safe-left,env(safe-area-inset-left,0px)))!important;
    padding-right:max(14px,var(--ayd-app-safe-right,env(safe-area-inset-right,0px)))!important;
  }
  html.ayd-native-app .row{--bs-gutter-x:14px!important;--bs-gutter-y:14px!important;}
  html.ayd-native-app .col-lg-1, html.ayd-native-app .col-lg-2, html.ayd-native-app .col-lg-3,
  html.ayd-native-app .col-lg-4, html.ayd-native-app .col-lg-5, html.ayd-native-app .col-lg-6,
  html.ayd-native-app .col-lg-7, html.ayd-native-app .col-lg-8, html.ayd-native-app .col-lg-9,
  html.ayd-native-app .col-lg-10, html.ayd-native-app .col-lg-11, html.ayd-native-app .col-lg-12{
    width:100%!important;max-width:100%!important;flex:0 0 100%!important;
  }
  html.ayd-native-app section,
  html.ayd-native-app .py-5{padding-top:20px!important;padding-bottom:20px!important;}
  html.ayd-native-app h1{font-size:clamp(2rem,9.4vw,2.72rem)!important;line-height:1.04!important;letter-spacing:-.06em!important;}
  html.ayd-native-app h2{font-size:clamp(1.55rem,7.2vw,2.05rem)!important;line-height:1.08!important;letter-spacing:-.045em!important;}
  html.ayd-native-app h3{font-size:clamp(1.25rem,5.8vw,1.65rem)!important;line-height:1.12!important;letter-spacing:-.035em!important;}
  html.ayd-native-app p,
  html.ayd-native-app .lead{font-size:1rem!important;line-height:1.58!important;}
  html.ayd-native-app .display-1, html.ayd-native-app .display-2, html.ayd-native-app .display-3,
  html.ayd-native-app .display-4, html.ayd-native-app .display-5{font-size:clamp(1.95rem,9.4vw,2.85rem)!important;line-height:1.04!important;}

  /* Kartlar ve modüller */
  html.ayd-native-app .card,
  html.ayd-native-app .ayd-card,
  html.ayd-native-app .plan-card,
  html.ayd-native-app .course-card,
  html.ayd-native-app .question-card,
  html.ayd-native-app .home-command-card,
  html.ayd-native-app .home-smart-card,
  html.ayd-native-app .home-kpi-card,
  html.ayd-native-app .home-roadmap-card,
  html.ayd-native-app .home-live-strip,
  html.ayd-native-app .home-latest-column,
  html.ayd-native-app .home-simple-card,
  html.ayd-native-app .home-icon-topic,
  html.ayd-native-app .lesson-card,
  html.ayd-native-app .module-card{
    border-radius:var(--ayd-app-radius)!important;
    border:1px solid var(--ayd-app-line)!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 14px 40px rgba(15,23,42,.075)!important;
    overflow:hidden;
  }
  html.ayd-native-app .card-body,
  html.ayd-native-app .card .card-body,
  html.ayd-native-app .ayd-card .card-body{padding:16px!important;}
  html.ayd-native-app .btn{
    min-height:48px!important;
    border-radius:16px!important;
    font-weight:900!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:.4rem!important;
  }
  html.ayd-native-app .btn-sm{min-height:42px!important;border-radius:14px!important;}
  html.ayd-native-app .btn-lg{min-height:52px!important;padding:.85rem 1.05rem!important;}
  html.ayd-native-app .d-flex.gap-3,
  html.ayd-native-app .d-flex.gap-2{flex-wrap:wrap!important;}

  /* Ana sayfa app ekranı */
  html.ayd-native-app .ayd-hero{
    margin:-10px 0 12px!important;
    padding:24px 0 18px!important;
    min-height:0!important;
    border-radius:0 0 34px 34px!important;
    background:
      radial-gradient(circle at 82% 0%,rgba(96,165,250,.34),transparent 38%),
      radial-gradient(circle at 12% 4%,rgba(248,113,113,.26),transparent 34%),
      linear-gradient(145deg,#070b1b,#101b3b 62%,#170c2d)!important;
    box-shadow:0 20px 58px rgba(15,23,42,.20)!important;
  }
  html.ayd-native-app .ayd-hero .container{padding-left:18px!important;padding-right:18px!important;}
  html.ayd-native-app .ayd-hero h1{
    color:#fff!important;
    max-width:100%!important;
    margin:8px 0 10px!important;
    text-wrap:balance;
  }
  html.ayd-native-app .ayd-hero .lead{color:rgba(255,255,255,.76)!important;margin:0!important;}
  html.ayd-native-app .home-elite-proof{
    display:flex!important;gap:8px!important;overflow-x:auto!important;white-space:nowrap!important;
    padding:4px 0 2px!important;margin-top:13px!important;scrollbar-width:none;
  }
  html.ayd-native-app .home-elite-proof::-webkit-scrollbar{display:none;}
  html.ayd-native-app .home-elite-proof span{
    flex:0 0 auto!important;
    padding:8px 10px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    color:#eaf2ff!important;
    font-size:.78rem!important;
    font-weight:800!important;
  }
  html.ayd-native-app .home-elite-actions,
  html.ayd-native-app .ayd-hero .d-flex.gap-3{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;margin-top:16px!important;
  }
  html.ayd-native-app .home-elite-actions .btn,
  html.ayd-native-app .ayd-hero .btn{width:100%!important;padding-left:.65rem!important;padding-right:.65rem!important;}
  html.ayd-native-app .hero-stats{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;margin-top:15px!important;
  }
  html.ayd-native-app .hero-stat{
    min-width:0!important;padding:10px 6px!important;border-radius:18px!important;
    background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.12)!important;
    text-align:center!important;
  }
  html.ayd-native-app .hero-stat .number{font-size:1.18rem!important;color:#fff!important;font-weight:950!important;line-height:1!important;}
  html.ayd-native-app .hero-stat .label{font-size:.62rem!important;color:rgba(255,255,255,.68)!important;letter-spacing:.04em!important;}
  html.ayd-native-app .home-yandal-visual{display:none!important;}
  html.ayd-native-app .home-command-card,
  html.ayd-native-app .home-content-band,
  html.ayd-native-app .home-user-section{background:transparent!important;}
  html.ayd-native-app .home-command-card{padding:14px!important;}
  html.ayd-native-app .home-kpi-card{padding:14px 10px!important;text-align:left!important;}
  html.ayd-native-app .home-kpi-card .kpi-number{font-size:1.35rem!important;}
  html.ayd-native-app .home-smart-row,
  html.ayd-native-app .home-smart-column,
  html.ayd-native-app .home-latest-grid,
  html.ayd-native-app .home-icon-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  html.ayd-native-app .home-icon-topic{display:flex!important;align-items:center!important;gap:12px!important;text-align:left!important;padding:13px!important;}
  html.ayd-native-app .home-icon-topic .topic-icon{margin:0!important;width:48px!important;height:48px!important;min-width:48px!important;border-radius:17px!important;}
  html.ayd-native-app .home-live-strip{padding:16px!important;}

  /* Dersler / sınavlar / içerik sayfaları */
  html.ayd-native-app .breadcrumb{display:none!important;}
  html.ayd-native-app .list-group,
  html.ayd-native-app .accordion{border-radius:22px!important;overflow:hidden!important;}
  html.ayd-native-app .accordion-item,
  html.ayd-native-app .list-group-item{border-color:rgba(15,23,42,.08)!important;}
  html.ayd-native-app .accordion-button{font-weight:900!important;padding:14px 16px!important;}
  html.ayd-native-app .table-responsive,
  html.ayd-native-app .ayd-mobile-table-scroll{
    width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;
    border-radius:18px!important;border:1px solid rgba(15,23,42,.08)!important;background:#fff!important;
  }
  html.ayd-native-app table{min-width:620px!important;font-size:.9rem!important;}
  html.ayd-native-app pre,
  html.ayd-native-app code{white-space:pre-wrap!important;word-break:break-word!important;}
  html.ayd-native-app img,
  html.ayd-native-app video,
  html.ayd-native-app iframe{max-width:100%!important;border-radius:18px!important;}
  html.ayd-native-app iframe{min-height:220px;}
  html.ayd-native-app .lesson-content,
  html.ayd-native-app .markdown-body,
  html.ayd-native-app article,
  html.ayd-native-app .content-body{font-size:1rem!important;line-height:1.68!important;}

  /* Formlar ve ödeme ekranları */
  html.ayd-native-app form .row > [class*='col-']{width:100%!important;max-width:100%!important;flex:0 0 100%!important;}
  html.ayd-native-app .form-control,
  html.ayd-native-app .form-select{
    min-height:48px!important;
    background:#fff!important;
    border:1px solid #dbe3ef!important;
    box-shadow:none!important;
  }
  html.ayd-native-app .form-control:focus,
  html.ayd-native-app .form-select:focus{
    border-color:#60a5fa!important;
    box-shadow:0 0 0 4px rgba(96,165,250,.18)!important;
  }
  html.ayd-native-app .alert{border-radius:18px!important;}

  /* Mobil alt sekme barı */
  html.ayd-native-app .ayd-mobile-tabbar{
    position:fixed!important;
    left:10px!important;right:10px!important;
    bottom:calc(8px + var(--ayd-app-safe-bottom))!important;
    height:68px!important;
    z-index:1062!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    gap:4px!important;
    padding:7px!important;
    border-radius:26px!important;
    background:rgba(8,13,29,.94)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    box-shadow:0 22px 70px rgba(2,6,23,.38)!important;
    backdrop-filter:blur(22px) saturate(1.2)!important;
    -webkit-backdrop-filter:blur(22px) saturate(1.2)!important;
  }
  html.ayd-native-app .ayd-mobile-tabbar a{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    text-decoration:none!important;
    color:#94a3b8!important;
    border-radius:19px!important;
    font-size:.64rem!important;
    font-weight:850!important;
    line-height:1!important;
  }
  html.ayd-native-app .ayd-mobile-tabbar a i{font-size:1.05rem!important;line-height:1!important;}
  html.ayd-native-app .ayd-mobile-tabbar a.active{
    color:#fff!important;
    background:linear-gradient(135deg,#ef4444,#7c3aed)!important;
    box-shadow:0 10px 28px rgba(239,68,68,.24)!important;
  }
  html.ayd-native-app .ayd-mobile-tabbar a.ayd-tab-pulse i{animation:aydTabPulse 1.7s ease-in-out infinite;}
  @keyframes aydTabPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

  /* Mobilde footer uygulama hissini bozuyor: gizle */
  html.ayd-native-app .ayd-footer{display:none!important;}

  /* Chat / floating widget çakışmaları */
  html.ayd-native-app .mini-chat-widget,
  html.ayd-native-app .ayd-mini-chat,
  html.ayd-native-app [class*='chat-widget'],
  html.ayd-native-app .announcement-bell{
    bottom:calc(var(--ayd-app-tab-h) + var(--ayd-app-safe-bottom) + 14px)!important;
  }
}

/* Standalone login/register/OTP sayfaları: gerçek app giriş ekranı */
@media (max-width: 820px), (pointer: coarse) and (max-device-width: 920px){
  html.ayd-native-app-auth,
  html.ayd-native-app-auth body{width:100%;min-width:0!important;overflow-x:hidden!important;background:#070b1b!important;}
  html.ayd-native-app-auth body{padding:0!important;}
  html.ayd-native-app-auth .premium-login{
    min-height:100dvh!important;
    padding:0!important;
    display:block!important;
    overflow:auto!important;
    background:
      radial-gradient(circle at 20% 0%,rgba(239,68,68,.24),transparent 34%),
      radial-gradient(circle at 85% 10%,rgba(37,99,235,.26),transparent 36%),
      linear-gradient(145deg,#070b1b,#101b3b 62%,#170c2d)!important;
  }
  html.ayd-native-app-auth .premium-login:before,
  html.ayd-native-app-auth .premium-login:after{display:none!important;}
  html.ayd-native-app-auth .auth-shell{
    width:100%!important;max-width:100%!important;
    min-height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }
  html.ayd-native-app-auth .hero-panel{
    min-height:auto!important;
    display:block!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    padding:calc(env(safe-area-inset-top,0px) + 18px) 18px 16px!important;
    background:transparent!important;
  }
  html.ayd-native-app-auth .hero-panel > :not(:first-child){display:none!important;}
  html.ayd-native-app-auth .brand-lockup{color:#fff!important;}
  html.ayd-native-app-auth .brand-mark{width:44px!important;height:44px!important;border-radius:16px!important;}
  html.ayd-native-app-auth .brand-title{font-size:1.35rem!important;}
  html.ayd-native-app-auth .brand-url{font-size:.78rem!important;color:rgba(255,255,255,.60)!important;}
  html.ayd-native-app-auth .login-panel{
    flex:1 1 auto!important;
    width:100%!important;
    border:0!important;
    border-radius:32px 32px 0 0!important;
    padding:24px 18px calc(24px + env(safe-area-inset-bottom,0px))!important;
    margin-top:6px!important;
    background:linear-gradient(180deg,#fff,#f8fafc)!important;
    color:#0f172a!important;
    box-shadow:0 -18px 60px rgba(2,6,23,.28)!important;
  }
  html.ayd-native-app-auth .panel-header{display:block!important;margin-bottom:18px!important;}
  html.ayd-native-app-auth .panel-icon{width:52px!important;height:52px!important;border-radius:18px!important;margin-bottom:12px!important;}
  html.ayd-native-app-auth .panel-header h1{font-size:1.55rem!important;}
  html.ayd-native-app-auth .secure-badge{margin-top:10px!important;}
  html.ayd-native-app-auth .feature-grid,
  html.ayd-native-app-auth .mock-card,
  html.ayd-native-app-auth .mini-trust{display:none!important;}
  html.ayd-native-app-auth .premium-input,
  html.ayd-native-app-auth .method-box,
  html.ayd-native-app-auth .method-option,
  html.ayd-native-app-auth .method-static{border-radius:18px!important;}
  html.ayd-native-app-auth .btn-login{width:100%!important;min-height:54px!important;border-radius:18px!important;}

  html.ayd-native-app-auth .auth-page{
    min-height:100dvh!important;
    padding:calc(env(safe-area-inset-top,0px) + 14px) 12px calc(env(safe-area-inset-bottom,0px) + 14px)!important;
    background:
      radial-gradient(circle at 18% 0%,rgba(239,68,68,.18),transparent 36%),
      radial-gradient(circle at 100% 3%,rgba(37,99,235,.20),transparent 36%),
      linear-gradient(145deg,#070b1b,#101b3b 62%,#170c2d)!important;
  }
  html.ayd-native-app-auth .auth-card{
    width:100%!important;max-width:100%!important;
    border-radius:28px!important;
    padding:18px!important;
    margin:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 22px 70px rgba(2,6,23,.30)!important;
    border:1px solid rgba(255,255,255,.35)!important;
  }
  html.ayd-native-app-auth .form-section{
    border-radius:22px!important;
    padding:15px!important;
    background:#fff!important;
  }
  html.ayd-native-app-auth .auth-card .row > [class*='col-']{width:100%!important;max-width:100%!important;flex:0 0 100%!important;}
  html.ayd-native-app-auth .form-control,
  html.ayd-native-app-auth .form-select{
    min-height:48px!important;
    font-size:16px!important;
    border-radius:16px!important;
  }
  html.ayd-native-app-auth .btn{min-height:50px!important;border-radius:18px!important;font-weight:900!important;}
}

/* Çok küçük cihazlar */
@media (max-width: 390px){
  html.ayd-native-app .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html.ayd-native-app .home-elite-actions,
  html.ayd-native-app .ayd-hero .d-flex.gap-3{grid-template-columns:1fr!important;}
  html.ayd-native-app .ayd-mobile-tabbar{left:8px!important;right:8px!important;height:66px!important;}
  html.ayd-native-app .ayd-mobile-tabbar a{font-size:.6rem!important;}
}
