
/* AIKAZE RESPONSIVE POLISH V5 */
@media(max-width:760px){
html,body{overflow-x:hidden!important}
.top{height:64px!important;min-height:64px!important;max-height:64px!important;padding:9px 14px!important;display:flex!important;align-items:center!important}
.brandwrap{flex:0 0 auto!important}.brandmark{width:40px!important;height:40px!important;min-width:40px!important;border-radius:13px!important}.brandtext{display:none!important}
.top .row{margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;height:40px!important}
#bal,#accountBtn,#logout{height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;border-radius:11px!important;font-size:9px!important;white-space:nowrap!important;box-sizing:border-box!important}
#bal{min-width:96px!important;width:96px!important;max-width:96px!important;font-weight:900!important;letter-spacing:.05em!important}
#accountBtn{min-width:76px!important}#logout{min-width:68px!important}
#app.akStudioNew{width:100%!important;max-width:100%!important;padding:18px 12px 86px!important;margin:0!important}.akStudioShell{width:100%!important;max-width:100%!important;gap:12px!important}
.akHeroNew,.akSection,#apsRefs,#apsLive{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding:18px!important;border-radius:20px!important}
.akHeroNew{padding:20px 18px!important}.akHeroNew h1{font-size:28px!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:10px 0!important;max-width:100%!important}.akHeroNew p{font-size:10.5px!important;line-height:1.55!important;max-width:100%!important}.akEyNew,.apsLiveEy,.apsRefEy{font-size:7.5px!important;letter-spacing:.20em!important}
.akSectionHead{gap:12px!important;margin-bottom:14px!important}.akSectionHead h2,.apsLiveHead h3,.apsRefTitle{font-size:20px!important;line-height:1.08!important;margin-top:5px!important}.akSectionHead p,.apsRefSub{font-size:9.5px!important;line-height:1.45!important}.akEngineCount{font-size:7px!important;padding:6px 8px!important}
.akSearchNew{width:100%!important;margin:0 0 12px!important}.akSearchNew input{width:100%!important;height:44px!important;padding:0 14px 0 42px!important;font-size:11px!important;border-radius:13px!important}.akSearchNew span{left:15px!important}
#models.akModelGrid{display:grid!important;width:100%!important;max-width:none!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:8px!important;overflow:visible!important;margin:0!important;padding:0!important}
#models.akModelGrid>.simpleModelCard,.simpleModelCard{position:relative!important;width:100%!important;max-width:none!important;min-width:0!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:0 11px!important;align-items:start!important;min-height:104px!important;margin:0!important;padding:12px!important;border-radius:16px!important;overflow:hidden!important}
.simpleModelCard .akBrandIcon{grid-column:1!important;grid-row:1!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:13px!important;align-self:start!important}.simpleModelCard .akBrandIcon img{width:23px!important;height:23px!important}
.simpleModelCard .akModelMain{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;padding:0!important}.simpleModelCard .akModelName{font-size:12.5px!important;line-height:1.18!important;letter-spacing:-.01em!important;max-width:calc(100% - 72px)!important;padding:0!important;margin:0!important}.simpleModelCard .akCompany{font-size:6.8px!important;line-height:1.2!important;margin-top:3px!important;max-width:calc(100% - 72px)!important}.simpleModelCard .akModelDesc{font-size:8.8px!important;line-height:1.38!important;margin-top:6px!important;max-width:100%!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}.simpleModelCard .akModelTags{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin-top:7px!important;max-width:100%!important}.simpleModelCard .akTag{height:20px!important;min-height:20px!important;padding:0 6px!important;font-size:6.7px!important;line-height:18px!important;border-radius:999px!important;white-space:nowrap!important}.simpleModelCard .akSelectBtn{position:absolute!important;right:12px!important;top:12px!important;width:64px!important;min-width:64px!important;max-width:64px!important;height:31px!important;min-height:31px!important;padding:0!important;border-radius:10px!important;font-size:7px!important;letter-spacing:.10em!important;line-height:1!important}
.akPromptSection textarea{min-height:138px!important;padding:13px!important;font-size:11px!important;line-height:1.55!important}.akPromptFoot{margin-top:8px!important}.akSecondary,.akTextBtn{min-height:34px!important;font-size:7.5px!important;padding:0 10px!important}.akHelper{font-size:8.5px!important;line-height:1.4!important}
.apsRefHead{margin-bottom:13px!important}.apsFrameRow,.apsRefsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.apsFrameSlot,.apsAddRef,.apsRefThumb{min-height:98px!important;border-radius:14px!important}.apsRefAction{height:31px!important;font-size:7px!important}.apsRefCounter{font-size:7.5px!important}
.akFieldGrid{grid-template-columns:1fr!important;gap:8px!important}.akFieldGrid label{font-size:8.5px!important}.akFieldGrid select{height:42px!important;font-size:10px!important}.akSettingHelp{font-size:8.5px!important;padding:9px 10px!important}.akGenerateBar{grid-template-columns:96px minmax(0,1fr)!important;gap:7px!important;padding:7px!important;border-radius:16px!important;bottom:7px!important}.akEstimate{padding:4px 7px!important}.akEstimate span{font-size:6.5px!important}.akEstimate strong{font-size:12px!important}.akPrimary{min-height:48px!important;font-size:9.5px!important;border-radius:12px!important}
.akRedeemRow{grid-template-columns:minmax(0,1fr) 86px!important;gap:7px!important}.akRedeemRow input{height:42px!important;font-size:10px!important}.akRedeemRow button{height:42px!important;min-height:42px!important;font-size:8px!important}
#apsLive{padding:16px!important;overflow:hidden!important}.apsLiveHead{display:block!important;margin-bottom:12px!important}.apsLiveHead>span{display:none!important}#akQueueStatsV2{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:10px!important}.akQStat{height:27px!important;padding:0 9px!important;font-size:6.8px!important;letter-spacing:.06em!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important}
#apsLive .apsLiveGrid{display:grid!important;width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;overflow:visible!important;padding:0!important;margin:0!important;scroll-snap-type:none!important}
#apsLive .apsGenCard{width:100%!important;max-width:none!important;min-width:0!important;height:184px!important;min-height:184px!important;max-height:184px!important;display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;overflow:hidden!important;border-radius:16px!important;margin:0!important}
#apsLive .apsGenPreview{position:relative!important;width:118px!important;height:184px!important;min-height:184px!important;max-height:184px!important;aspect-ratio:auto!important;border-radius:0!important;overflow:hidden!important}#apsLive .apsGenPreview video,#apsLive .apsGenPreview .apsRefBg{width:100%!important;height:100%!important;object-fit:cover!important;background-size:cover!important;background-position:center!important}
#apsLive .apsGenPreview:not(.pending)::after{width:44px!important;height:44px!important;font-size:17px!important}
#apsLive .apsGenBody{min-width:0!important;width:100%!important;height:184px!important;min-height:184px!important;max-height:184px!important;padding:11px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.apsGenTop{gap:6px!important}.apsGenModel{font-size:11.5px!important;line-height:1.22!important}.apsGenMeta{font-size:7.5px!important;line-height:1.25!important}.apsGenPrompt{font-size:8.8px!important;line-height:1.35!important;margin-top:7px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}.apsProgress{height:3px!important;margin:8px 0 6px!important}
body #apsLive .apsGenActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-top:auto!important;align-items:stretch!important;width:100%!important}
body #apsLive .apsGenActions .apsGenBtn,body #apsLive .apsGenActions a.apsGenBtn,body #apsLive .apsGenActions button.apsGenBtn{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;max-height:35px!important;margin:0!important;padding:0 3px!important;border-radius:10px!important;font-size:7.3px!important;letter-spacing:.02em!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;display:flex!important;align-items:center!important;justify-content:center!important}
#apsLive .apsStatusPill{top:8px!important;left:8px!important;font-size:6.5px!important;padding:5px 7px!important}
#aikazePassInline{width:100%!important;max-width:100%!important;border-radius:18px!important;padding:16px!important}
}
@media(max-width:390px){#bal{width:90px!important;min-width:90px!important;max-width:90px!important}#accountBtn{min-width:72px!important}#logout{min-width:64px!important}.simpleModelCard .akModelName{font-size:12px!important}.simpleModelCard .akModelDesc{font-size:8.4px!important}#apsLive .apsGenCard{grid-template-columns:108px minmax(0,1fr)!important;height:176px!important;min-height:176px!important;max-height:176px!important}#apsLive .apsGenPreview{width:108px!important;height:176px!important;min-height:176px!important;max-height:176px!important}#apsLive .apsGenBody{height:176px!important;min-height:176px!important;max-height:176px!important;padding:10px!important}body #apsLive .apsGenActions .apsGenBtn,body #apsLive .apsGenActions a.apsGenBtn,body #apsLive .apsGenActions button.apsGenBtn{font-size:6.9px!important;height:33px!important;min-height:33px!important}}
