/* Mobile layout (phones), adapted from the mobile designs */
.mp{max-width:430px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}
.mtop{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(12px)}
.mtop h2{font-size:17px;font-weight:800;flex:1}
.mtop .icon-btn{width:38px;height:38px}
.mc{padding:16px 18px 24px;flex:1}
.mbar{position:sticky;bottom:0;padding:12px 18px calc(14px + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--sf) 95%,transparent);border-top:1px solid var(--line2);display:flex;gap:10px;align-items:center;backdrop-filter:blur(12px);z-index:40}
.mbar .btn{flex:1;justify-content:center;padding:14px}
.hsx{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:2px 18px 6px}
.hsx::-webkit-scrollbar{display:none}
.hsx>*{flex:none}
.sheet{border-radius:26px 26px 0 0;background:var(--sf);border-top:1px solid var(--line2);padding:10px 18px 18px;margin:0 -18px}
.sheet .grab{width:44px;height:5px;border-radius:3px;background:var(--line2);margin:0 auto 14px}
.gw b{display:block;font-size:14px}
.g2>*,.g2e>*,.g3>*,.co>*,.lib>*,.side-l>*{min-width:0}
.box:has(>.tbl),.box:has(>.toolbar+.tbl){overflow-x:auto}
.lib .box>div>.th{width:120px;height:80px;border-radius:14px;overflow:hidden}
.lib .box>div>.th>svg{width:100%;height:100%}
@keyframes fab{50%{transform:translateY(-4px)}}
@media (max-width:760px){
body:not(.home) .grid4, body:not(.home) .grid3c{grid-template-columns:1fr 1fr;gap:12px}
body:not(.home) .pc .bd{padding:10px 12px 12px}
body:not(.home) .pc h3{font-size:13.5px}
body:not(.home) .pc .ds, body:not(.home) .pc .tg, body:not(.home) .author small{display:none}
body:not(.home) .pc .price{font-size:16px}
body:not(.home) .pc .ft{margin-top:8px;padding-top:8px}
body:not(.home) .pc .ft .btn{padding:7px 10px;font-size:11.5px}
body:not(.home) .pc .ribbon{font-size:10px;padding:3px 7px}
body:not(.home) .model-dot{display:none}
body:not(.home) .author .avatar{width:24px;height:24px;font-size:9px}
body:not(.home) .author b{font-size:11.5px}
body:not(.home) .box{padding:16px;border-radius:18px}
body:not(.home) .pbox{padding:16px}
body:not(.home) .kgrid{grid-template-columns:1fr 1fr;gap:10px}
body:not(.home) .kc{padding:14px}
body:not(.home) .kc b{font-size:20px}
body:not(.home) .tabbar{position:sticky;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--sf) 92%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--line2);border-radius:22px 22px 0 0}
body:not(.home) .tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:700;color:var(--mu)}
body:not(.home) .tabbar a.on{color:var(--brand)}
[data-theme="dark"] body:not(.home) .tabbar a.on{color:#FF6B6B}
body:not(.home) .tabbar .fab{width:58px;height:58px;border-radius:50%;background:var(--grad);color:#fff;display:grid;place-items:center;margin:-30px auto 0;box-shadow:var(--glow);border:4px solid var(--bg)}
body:not(.home) .pc .price s{display:none}
body:not(.home) .pc .ft .btn{padding:7px 9px;font-size:11px}
body:not(.home) .grid4 .ribbon{display:none}
body:not(.home) .lchart{height:170px}
[data-theme="light"] .mtop .theme-tg::before, [data-theme="light"] .theme-tg::before{transform:translateX(24px)}
.wrap{padding:0 18px}
.mstrip .ic{width:14px;height:14px;display:inline;vertical-align:-2px}
.mstrip{background:var(--grad);color:#fff;font-size:11.5px;font-weight:700;text-align:center;padding:7px 10px}
.mstrip b{background:rgba(255,255,255,.22);padding:1px 6px;border-radius:5px}
header.hd .wrap{height:62px;gap:10px}
.logo b{font-size:17px}
.logo-mark{width:32px;height:32px}
.hacts{margin-left:auto;gap:8px}
.icon-btn{width:38px;height:38px}
.theme-tg{width:56px;height:30px}
.theme-tg::before{width:22px;height:22px}
[data-theme="light"] .theme-tg::before, [data-theme="light"] .theme-tg::before{transform:translateX(26px)}
.hero .wrap{display:block;padding-top:22px;padding-bottom:28px}
.mhero{display:grid;grid-template-columns:1.65fr 1fr;align-items:center;gap:0}
.hero h1{font-size:27px;letter-spacing:-.8px;line-height:1.08;margin:14px 0 0}
.hero-art{height:205px;margin-right:-30px;margin-left:-10px}
.hero p.lead{font-size:14px;margin-top:12px}
.hero p.tam{font-size:13px}
.bigsearch{margin-top:16px;padding:6px 6px 6px 14px}
.bigsearch .ph{font-size:13px}
.sbtn{width:42px;height:40px}
.popular{font-size:12.5px;gap:7px}
.chip{font-size:12px;padding:5px 11px}
.ctas{margin-top:18px}
.ctas .btn{flex:1;justify-content:center;padding:13px 10px;font-size:13.5px}
.hstats{gap:0;justify-content:space-between;margin-top:20px;padding:14px;border-radius:16px;background:var(--sf);border:1px solid var(--line)}
.hstats>div{text-align:center;flex:1}
.hstats>div+div{border-left:1px solid var(--line)}
.hstats b{font-size:19px}
.hstats span{font-size:11px}
.models{padding:12px 0}
.track span{font-size:13.5px}
.track span i{width:24px;height:24px;font-size:10.5px}
.sec{padding:34px 0}
.sh{margin-bottom:16px;align-items:center}
.sh h2{font-size:19px;letter-spacing:-.3px}
.sh p{font-size:12px}
.sh .si{width:38px;height:38px;border-radius:12px}
.sh .si .ic{width:18px;height:18px}
.sh .t{gap:10px}
.link{font-size:12.5px}
.cats{grid-template-columns:repeat(4,1fr);gap:10px}
.cat{padding:12px 4px 10px;text-align:center;border-radius:16px}
.cat .ci{width:42px;height:42px;margin:0 auto 8px;border-radius:13px}
.cat .ci .ic{width:20px;height:20px}
.cat b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat small, .cat .cnt{display:none}
.hs{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:4px 18px 10px;scroll-snap-type:x mandatory;scroll-padding:0 18px}
.hs::-webkit-scrollbar{display:none}
.hs>*{scroll-snap-align:start;flex:none}
.tabs{flex-wrap:nowrap}
.pc{width:100%;margin-bottom:16px}
.pc .ph{aspect-ratio:16/8.4}
.pc h3{font-size:16px}
.list .pc{flex-direction:row;padding:10px;gap:12px;margin-bottom:12px;border-radius:18px}
.list .pc .ph{margin:0;width:104px;aspect-ratio:auto;flex:none}
.list .pc .bd{padding:0}
.list .pc .ds, .list .pc .tg, .list .model-dot, .list .ribbon{display:none}
.list .pc h3{font-size:14px}
.list .pc .author{margin-top:6px}
.list .author .avatar{width:24px;height:24px;font-size:9px}
.list .author b{font-size:11.5px}
.list .author small{display:none}
.list .pc .ft{margin-top:8px;padding-top:8px}
.list .price{font-size:16px}
.list .rate{top:6px;left:6px;font-size:11px;padding:3px 6px}
.panel{padding:18px;border-radius:20px}
.ptext{font-size:13.5px;padding:14px}
.fields{gap:10px}
.gens{gap:8px}
.flash{padding:22px;min-height:auto}
.flash h3{font-size:24px;max-width:240px}
.flash p{font-size:13px;max-width:230px}
.flash .off{width:76px;height:76px;right:18px;top:22px;bottom:auto;font-size:11px}
.flash .off b{font-size:22px}
.timer div{width:58px}
.timer b{font-size:22px}
.trow{grid-template-columns:22px 48px 1fr 54px;padding:11px 16px;gap:10px}
.trow .spark{display:none}
.trow .th{width:48px;height:38px}
.trend .hd2{padding:16px 16px 10px}
.steps{grid-template-columns:1fr;gap:0}
.steps::before, .steps .dash{display:none}
.step{display:grid;grid-template-columns:52px 1fr;gap:4px 14px;text-align:left;align-items:center;padding:12px 0;position:relative}
.step+.step::before{content:"";position:absolute;left:25px;top:-14px;height:24px;border-left:2px dashed var(--line2)}
.step .sn{grid-row:span 2;margin:0;width:52px;height:52px;border-radius:16px}
.seg{display:flex;padding:4px;border-radius:14px;background:var(--sf);border:1px solid var(--line);margin-bottom:14px}
.seg span{flex:1;text-align:center;padding:9px;border-radius:10px;font-weight:700;font-size:13px;color:var(--mu)}
.seg span.on{background:var(--grad);color:#fff}
.sellm{border-radius:24px;padding:22px;background:var(--sf);border:1px solid var(--line2);box-shadow:var(--glow)}
.sellm h2{font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.6px;margin:12px 0 8px}
.kpis{grid-template-columns:1fr 1fr 1fr;gap:8px}
.kpi{padding:10px}
.kpi b{font-size:16px}
.kpi small, .kpi em{font-size:10px}
.bars{height:90px;gap:7px}
.cr{width:170px}
.bundle{width:280px}
.bstack{height:130px}
.rc{width:290px}
.rsum{padding:18px;display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}
.rsum .big{font-size:44px}
.faq{grid-template-columns:1fr;gap:10px}
.fq{padding:14px 16px}
.fq .qq{font-size:13.5px}
.cta{grid-template-columns:1fr;padding:22px;gap:18px;border-radius:24px}
.feats{grid-template-columns:1fr 1fr;gap:14px}
.feat{padding:0;border:0}
.planet{display:none}
footer.ft{margin-top:34px}
.fgrid{grid-template-columns:1fr 1fr;gap:18px;padding:30px 0 20px}
.fgrid>div:first-child, .fgrid>div:last-child{grid-column:span 2}
.fbot{flex-direction:column;gap:8px;text-align:center;padding-bottom:20px}
.fbot a{margin:0 8px}
.tabbar{position:sticky;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--sf) 92%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--line2);border-radius:22px 22px 0 0}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:700;color:var(--mu)}
.tabbar a.on{color:var(--brand)}
[data-theme="dark"] .tabbar a.on{color:#FF8A8A}
.tabbar .fab{width:58px;height:58px;border-radius:50%;background:var(--grad);color:#fff;display:grid;place-items:center;margin:-30px auto 0;box-shadow:var(--glow);border:4px solid var(--bg);animation:fab 2.6s ease-in-out infinite}
.tabbar .fab .ic{width:26px;height:26px}
.float-badge, .hand{display:none}
}

/* Responsive glue between the desktop and mobile designs */
@media (max-width:1100px){
  .hd .nav{display:none}
  .hsearch{flex:1 1 auto}
  .mob-only{display:grid}
}
@media (max-width:760px){
  body{font-size:14px}
  .wrap{padding:0 16px}
  .strip{font-size:11.5px}
  .strip .wrap{height:auto;padding:7px 12px;justify-content:center;text-align:center}
  .strip .wrap>div:first-child,.strip .r{display:none}
  .strip b{margin:0 3px;padding:1px 6px;border-radius:5px}
  header.hd .wrap{height:62px;gap:10px}
  .hd .hsearch,.hd .btn,.hd .dd,.hd .icon-btn:not(.bell):not(.mob-only){display:none}
  .hacts{margin-left:auto}
  .hide-sm{display:none !important}
  .tabbar{display:grid;position:sticky}
  .hero-art-d{display:none}
  .hero-art-m{display:block}
  .mhero{display:grid}
  .hero h1 span{display:block}
  .sh{flex-wrap:wrap;gap:10px}
  .sh-r{width:100%;overflow-x:auto}
  .sh .arrows{display:none}
  .hs.grid4,.hs.grid3,.creators.hs,.rcards.hs{display:flex}
  .hs .pc,.hs .slide .pc{width:82vw;max-width:330px}
  .hs .blog{width:80vw;max-width:320px}
  .demo .panel,.demo .win{min-width:0}
  .fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .how .panel[data-how-panel="1"]{display:none}
  .how.show-1 .panel[data-how-panel="0"]{display:none}
  .how.show-1 .panel[data-how-panel="1"]{display:block}
  .sale-toast{left:12px;right:12px;bottom:92px;max-width:none}
  .page-h h1{font-size:30px}
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .footer-pad{height:10px}
}
@media (max-width:1100px){
  .side-l{grid-template-columns:minmax(0,1fr)}
  .filters{display:none}
  .filters.open{display:block;position:fixed;inset:0;z-index:130;overflow:auto;border-radius:0;padding-top:56px}
  .toolbar .r{margin-left:0}
  .grid3c{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .pg-h{flex-direction:column;align-items:stretch}
  .pg-h h1{font-size:26px}
  .grid3c{gap:12px}
  .grid3c .pc .bd{padding:10px 12px 12px}.grid3c .pc h3{font-size:13.5px}.grid3c .pc .ds,.grid3c .pc .tg,.grid3c .author small,.grid3c .model-dot,.grid3c .pc .ribbon,.grid3c .pc .price s{display:none}
  .grid3c .pc .price{font-size:16px}.grid3c .pc .ft{margin-top:8px;padding-top:8px}.grid3c .pc .ft .btn{padding:7px 9px;font-size:11px}
  .grid3c .author .avatar{width:24px;height:24px;font-size:9px}.grid3c .author b{font-size:11.5px}
  .grid3c.list .pc .ph{width:104px}
  .toolbar .seg2{display:none}
}
@media (max-width:1100px){
  .det{grid-template-columns:minmax(0,1fr)}
  .g2{grid-template-columns:minmax(0,1fr) !important}
  .rcards{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:760px){
  .buy h1{font-size:24px}
  .pbox .pr b{font-size:32px}
  .gal .main{border-radius:0;margin:0 -16px;border:0}
  .rcards{grid-template-columns:minmax(0,1fr) !important}
  .mbar.buybar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70}
  .buybar .btn{flex:1}
  body:has(.buybar) .tabbar{display:none}
  .demo-acts .btn{flex:1;justify-content:center}
}
@media (max-width:760px){
  .hide-m{display:none !important}
  .show-m{display:inline}
  .hs>.slide{display:contents}
  .hs>.slide>*{flex:none;scroll-snap-align:start}
  .hero .ctas{display:flex;gap:10px}
  .creators .nums b{font-size:13px}
}
@media (max-width:760px){
  .only-m{display:block}
  .gens.only-m{display:grid}
  .sh{flex-wrap:nowrap}
  .sh .t{min-width:0}
  .demo-acts form,.demo-acts form .btn{width:100%;justify-content:center}
  .rsum .rbars{min-width:0}
  .sellm .chart{margin-top:14px}
}
@media (max-width:760px){
  .cover{height:150px;border-radius:18px}
  .prof{flex-wrap:wrap;margin:-50px 0 0 12px;gap:12px}
  .prof .avatar{width:96px;height:96px;font-size:30px}
  .pstats{margin-left:0;width:100%;justify-content:space-between;gap:10px}
  .prof-acts{margin:16px 0 0}
  .prof h1{font-size:24px}
}
@media (max-width:1100px){.catx{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.catx{grid-template-columns:minmax(0,1fr)}.bundle-hero .bstack{height:200px}}
@media (max-width:760px){.feat-post{grid-template-columns:minmax(0,1fr)}.post-h h1{font-size:28px}}
@media (max-width:1100px){.plans{grid-template-columns:minmax(0,1fr)}.sell-hero .wrap{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){
  .auth{grid-template-columns:minmax(0,1fr);min-height:100vh}
  .auth .art{padding:24px 20px 0;border-radius:0 0 28px 28px;min-height:auto}
  .auth .art .logo,.auth .art h2,.auth .art p,.art-stats{display:none}
  .auth-robot{width:260px;height:210px;margin:0 auto}
  .auth .form{padding:26px 18px 40px;align-items:flex-start}
  .otp{gap:7px}.otp input{width:44px;height:52px;font-size:20px}
}
@media (max-width:1100px){.co{grid-template-columns:minmax(0,1fr)}.co .sum{position:static !important}}
@media (max-width:760px){.g3{grid-template-columns:minmax(0,1fr)}.citem{grid-template-columns:76px minmax(0,1fr) auto;gap:12px}.citem h4{font-size:14px}.stepbar{gap:8px;font-size:12px}.upsell{flex-wrap:wrap}}
@media (max-width:1100px){.side-l.acc{grid-template-columns:minmax(0,1fr)}.acc-nav{position:static;display:flex;overflow-x:auto;gap:4px}.acc-nav .acc-user{display:none}.acc-nav>a{white-space:nowrap}.acc-k{grid-template-columns:repeat(2,minmax(0,1fr))}.lib{grid-template-columns:minmax(0,1fr)}.lib-list{position:static;max-height:300px}}
@media (max-width:760px){
  .has-mtop .mtop.mtop-app{display:flex}
  .has-mtop > .strip,.has-mtop > header.hd,.has-mtop .crumb,.has-mtop .pg-h{display:none}
  .has-mtop .stepbar{margin-top:16px}
  .has-mtop .co{display:flex;flex-direction:column}
  .has-mtop .co>.sum{order:-1}
  .mtop-app .theme-tg{width:56px;height:30px}
}
@media (max-width:760px){
  .oinfo{grid-template-columns:repeat(2,minmax(0,1fr))}
  .succ h1{font-size:28px}
  .succ-acts .btn{width:100%;justify-content:center}
  .has-mtop .co>*{width:100%}
  body:has([data-checkout]) .tabbar,body:has([data-pay]) .tabbar{display:none}
  .lib-head{flex-wrap:wrap}
  .lib-head .th{width:88px;height:60px}
  .lib-head h3{font-size:17px !important}
  .lib-acts{margin-left:0;width:100%}
  [data-lib] .frm{grid-template-columns:minmax(0,1fr) !important}
  .lib-btns .btn,.lib-btns .pop,.lib-btns .pop summary{width:100%;justify-content:center}
}
@media (max-width:760px){.frm{grid-template-columns:minmax(0,1fr) !important}.popt{padding:12px}.popt small{display:block;overflow-wrap:anywhere}}
@media (max-width:1100px){
  .app{grid-template-columns:minmax(0,1fr)}
  .side{position:fixed;left:0;top:0;bottom:0;width:270px;z-index:140;transform:translateX(-105%);transition:transform .25s;overflow:auto;height:100vh}
  .side-on .side{transform:none}
  .side-on .side-shade{display:block;position:fixed;inset:0;z-index:130;background:rgba(0,0,0,.55)}
  .side-open{display:grid}
  .top{padding:12px 16px;gap:10px}
  .top .hsearch{display:none}
  .cont{padding:18px 16px 40px}
  .kgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .top p,.top .top-cta{display:none}
  .top h2{font-size:17px}
  .top .avatar{display:none}
  .top .top-t{flex:1}
  .kgrid{gap:10px}.kc{padding:14px}.kc b{font-size:20px}.kc .spark{display:none}
}
@media (max-width:760px){
  .wiz{overflow-x:auto}.wiz button{flex:none;font-size:12px;padding:12px}
  .variation{grid-template-columns:minmax(0,1fr) 40px}.variation textarea{grid-column:1/-1;grid-row:2}
  .upgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .vars-tbl tr{display:block;padding:10px 0;border-top:1px solid var(--line)}.vars-tbl th{display:none}.vars-tbl td{display:block;padding:4px 0;border:0}
}
/* Tables become cards on phones: label on the left, value on the right */
@media (max-width:760px){
  .tbl,.tbl tbody{display:block;width:100%}
  .tbl tr:first-child:has(th){display:none}
  .tbl tr{display:block;padding:12px 0;border-top:1px solid var(--line)}
  .tbl td{display:block;text-align:right;padding:5px 0;border:0;overflow-wrap:anywhere}
  .tbl td[data-l]::before{content:attr(data-l);float:left;white-space:nowrap;color:var(--mu);font-size:12px;font-weight:700;margin-right:12px}
  .tbl td .pi{text-align:left;display:flex}
  .tbl td:first-child[data-l]::before{display:none}
  .tbl td .acts{justify-content:flex-end}
  .tbl td .spark{display:inline-block}
  .toolbar .r{flex-wrap:wrap;width:100%}
}
@media (max-width:760px){.bounty{flex-direction:column}.bounty-r{width:auto;align-self:stretch}.bounty-stats{gap:14px}}
@media (max-width:760px){
  .tbl.compact-m tr{display:flex;align-items:center;gap:10px}
  .tbl.compact-m td:not(:first-child):not(.keep){display:none}
  .tbl.compact-m td:first-child{flex:1;min-width:0}
  .tbl.compact-m td.keep::before{display:none}
}
