.mobile-nav{display:none}

@media(max-width:620px){
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom));font-size:14px}
  .topbar{height:58px;padding:0 10px;gap:6px}
  .logo{width:32px;height:32px}
  .brand{gap:8px}
  .brand b{font-size:18px}
  .topbar nav{display:flex;align-items:center;gap:0;min-width:0}
  .topbar nav>a:first-child{display:none}
  .topbar nav>a:nth-child(2){display:block;padding:7px 5px;font-size:13px;white-space:nowrap}
  .nav-dropdown>button{display:block;padding:7px 5px;font-size:13px;white-space:nowrap}
  .nav-dropdown-menu{top:39px;left:auto;right:0;min-width:132px}
  .tools{gap:4px}
  .tools button{height:34px;min-width:34px;border-radius:10px}
  .vip-pill{padding:0 8px!important}
  .hero{padding:36px 16px 8px;min-height:auto;display:flex;flex-direction:column}
  .hero-copy{text-align:left}
  .hero h1{font-size:clamp(38px,12vw,48px);margin:13px 0}
  .hero p{font-size:16px;margin:0;max-width:320px}
  .hero-actions{margin-top:22px;gap:9px}
  .hero-actions .primary,.hero-actions .ghost{flex:1;padding:12px 10px}
  .hero-art{height:274px;width:100%;transform:scale(.76);transform-origin:center top;margin:18px 0 -45px}
  .trust-row{margin:14px 14px 0;padding:12px 14px;display:flex;justify-content:flex-start;gap:22px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  .trust-row::-webkit-scrollbar{display:none}
  .content-section{padding:0 14px;margin:34px auto}
  .section-head{margin-bottom:14px}
  .section-head h2{font-size:22px}
  .section-head a,.section-head button{font-size:13px}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .poster{border-radius:12px;padding:12px}
  .poster-title{font-size:15px}
  .drama-card h3{font-size:14px;margin-top:8px}
  .meta{font-size:11px}
  .modal{align-items:end;padding:0}
  .modal-panel{width:100%;max-height:88dvh;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
  .modal-close{position:sticky;top:10px;margin:10px;width:36px;height:36px}
  .detail{padding:14px 16px 24px}
  .detail-top{grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start}
  .detail .poster{width:100px}
  .detail h1{font-size:22px;line-height:1.15;margin:6px 0}
  .detail p{font-size:13px}
  .detail .hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .episodes{grid-template-columns:repeat(4,1fr);gap:7px}
  .episode{padding:10px 2px}
  .auth,.store,.profile,.search-box{padding:24px 18px 30px}
  .auth h2,.store h2{font-size:25px}
  .plan-grid{grid-template-columns:1fr}
  .search-results{grid-template-columns:repeat(2,1fr)}
  footer{margin:48px 16px 0;padding-bottom:28px}
  .mobile-nav{position:fixed;z-index:80;left:0;right:0;bottom:0;height:calc(62px + env(safe-area-inset-bottom));padding:6px 12px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(15,15,21,.96);border-top:1px solid #ffffff18;backdrop-filter:blur(18px)}
  .mobile-nav a,.mobile-nav button{border:0;background:transparent;color:#aaaab5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:11px}
  .mobile-nav span{font-size:19px;line-height:1.2}
  .mobile-nav-free{color:#ff5c91!important}
}

@media(max-width:360px){
  .topbar{padding:0 8px;gap:4px}
  .brand b{display:none}
  .topbar nav>a:nth-child(2),.nav-dropdown>button{padding-inline:4px;font-size:12px}
  .tools button{min-width:32px}
}
