/* Keep gallery space separate from preview, filters and the save action. */
#profileFxStudio .fx-action-footer{flex:none;padding:9px 0 3px;border-top:1px solid #a5c6ed22}#profileFxStudio .fx-action-footer [data-fx-save]{position:static!important;width:100%;min-height:40px!important;padding:10px!important;font:750 13px system-ui!important;border-radius:12px;box-shadow:inset 0 2px #fff5,0 3px 0 #050c17!important}
#profileFxStudio .studio-filter-toggle,#themeStudio .studio-filter-toggle{display:none}#profileFxStudio [data-fx-expand]{position:absolute;left:12px;right:auto;bottom:12px;z-index:4;padding:8px 12px;border:1px solid #a8d9ee66;border-radius:12px;background:#172e46;color:#e8faff;font:700 11px system-ui}#profileFxStudio .fx-preview>[data-fx-replay]{left:auto;right:12px;width:auto;min-height:32px;bottom:12px;padding:7px 12px;font:700 11px system-ui}
#themeStudio [data-ts-expand]{position:absolute;right:9px;top:9px;z-index:2;border:1px solid #89bee477;border-radius:10px;padding:7px 10px;background:#17283edb;color:#ecf5ff;font:650 10px system-ui;backdrop-filter:blur(10px)}
#profileFxStudio.fx-preview-expanded .fx-layout,#themeStudio.ts-preview-expanded .ts-layout{display:flex;flex-direction:column}#profileFxStudio.fx-preview-expanded .fx-library,#themeStudio.ts-preview-expanded .ts-controls{display:none}#profileFxStudio.fx-preview-expanded .fx-preview,#themeStudio.ts-preview-expanded .ts-preview{flex:1;height:auto;min-height:0;width:100%}
@media(max-width:680px){
#profileFxStudio[open],#themeStudio[open]{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;inset:0!important;border-radius:0!important;padding:10px 12px max(10px,env(safe-area-inset-bottom))!important;gap:8px!important;border-width:0!important}
#profileFxStudio .fx-top h2,#themeStudio .ts-head h2{font:750 20px/1.15 system-ui!important;margin:3px 0!important}#profileFxStudio .fx-top small,#themeStudio .ts-head small{font:650 8px system-ui!important;letter-spacing:.13em}#profileFxStudio .fx-top p,#themeStudio .ts-head p{display:none}#profileFxStudio .fx-top [data-fx-close],#themeStudio .ts-head>button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;font-size:17px!important;border-radius:11px!important;box-shadow:inset 0 1px #fff4,0 2px #030815!important}
#profileFxStudio .fx-layout,#themeStudio .ts-layout{gap:9px!important;margin-top:0!important}#profileFxStudio .fx-preview{height:112px!important;min-height:112px!important;max-height:112px;flex:none!important;border-radius:13px}#profileFxStudio .fx-profile{inset:10px 12px!important;text-align:left!important;display:grid;grid-template-columns:32px 1fr;grid-template-rows:18px 18px;gap:0 9px;align-items:center}#profileFxStudio .fx-avatar{width:32px!important;height:32px!important;font-size:16px!important;border-radius:10px!important;grid-row:1/3;margin:0!important}#profileFxStudio .fx-profile h3{font-size:12px!important;margin:0!important}#profileFxStudio .fx-profile p{font-size:9px!important;margin:0!important;grid-column:2}#profileFxStudio .fx-profile>div:not(.fx-avatar){display:none!important}#profileFxStudio .fx-preview>span{bottom:46px!important;font-size:8px!important;left:12px;right:12px;text-align:left}#profileFxStudio .fx-preview>[data-fx-replay],#profileFxStudio .fx-preview>[data-fx-expand]{bottom:9px!important;min-height:27px!important;height:27px!important;padding:5px 9px!important;font-size:10px!important;border-radius:9px!important;box-shadow:inset 0 1px #fff3,0 2px #030815!important}
#profileFxStudio .fx-browse-head,#themeStudio .ts-toolbar{padding-bottom:5px!important}#profileFxStudio .fx-tabs,#themeStudio .ts-lighting{padding:4px 4px 6px!important;gap:7px!important;border-radius:12px!important}#profileFxStudio .fx-tabs button,#themeStudio .ts-lighting button{height:30px!important;min-height:30px!important;max-height:30px!important;padding:5px 7px!important;font-size:11px!important;border-radius:9px!important;box-shadow:inset 0 1px #fff3,0 2px #030815!important}
#profileFxStudio .fx-search-label,#themeStudio .ts-search{margin:6px 0!important}#profileFxStudio .fx-search-label input,#themeStudio .ts-search input{height:32px!important;min-height:32px!important;padding:6px 10px!important;font:11px system-ui!important;border-radius:9px!important}#profileFxStudio .studio-filter-toggle,#themeStudio .studio-filter-toggle{display:block!important;width:100%;min-height:27px!important;height:27px!important;padding:4px 9px!important;font:650 10px system-ui!important;text-align:left;color:#d6ecff;border:1px solid #a1c6e633;border-radius:8px;background:#20354b;box-shadow:inset 0 1px #ffffff22,0 2px #050a13!important}
#profileFxStudio:not(.studio-filters-open) .fx-filter-row,#themeStudio:not(.studio-filters-open) .ts-filter-row{display:none!important}#profileFxStudio.studio-filters-open .fx-filter-row,#themeStudio.studio-filters-open .ts-filter-row{display:grid!important;margin-top:7px}
#profileFxStudio .fx-filter-row :is(select,.glass-select-trigger),#themeStudio .ts-filter-row :is(select,.glass-select-trigger){height:32px!important;min-height:32px!important;max-height:32px!important;width:100%!important;padding:5px 8px!important;border-radius:9px!important;font:11px system-ui!important;box-shadow:inset 0 1px #fff3,0 2px #030815!important}#profileFxStudio .fx-filter-row .glass-select-value,#themeStudio .ts-filter-row .glass-select-value{font:11px/1.2 system-ui!important}#profileFxStudio .fx-filter-row .glass-select-arrow,#themeStudio .ts-filter-row .glass-select-arrow{width:18px!important;height:18px!important;font-size:13px!important}#profileFxStudio .fx-filter-row label,#themeStudio .ts-filter-row label{font-size:9px!important;gap:3px}
#profileFxStudio .fx-result-count,#themeStudio .ts-count{font-size:9px!important;margin:5px 2px 0!important}#profileFxStudio .fx-options{gap:9px!important;margin:5px 0!important}#profileFxStudio .fx-art{height:68px!important}#profileFxStudio .fx-options>button{padding:6px 6px 8px!important;gap:4px!important;min-width:0;box-shadow:inset 0 1px #fff2,0 3px #030815!important}#profileFxStudio .fx-options strong{font:650 10px/1.2 system-ui!important}#profileFxStudio .fx-options small{font-size:8px!important}#profileFxStudio .fx-options button[data-fx-choice=none]{min-height:33px!important;height:33px!important;gap:5px!important;padding:5px 8px!important}#profileFxStudio .fx-options button[data-fx-choice=none] .fx-art{display:none!important}#profileFxStudio .fx-equipped{font:9px/1.5 system-ui!important;padding:8px!important}#profileFxStudio .fx-local{display:none}
#themeStudio .ts-preview{height:112px!important;min-height:112px!important;max-height:112px;flex:none!important;border-radius:13px}#themeStudio .ts-cover{height:35px!important}#themeStudio .ts-cover>span{font-size:6px!important;top:7px}#themeStudio .ts-identity{margin-top:-10px!important;padding:0 10px!important;gap:7px!important}#themeStudio .ts-avatar{width:29px!important;height:29px!important;font-size:15px!important;border-radius:9px!important}#themeStudio .ts-identity strong{font-size:11px!important}#themeStudio .ts-identity small{font-size:7px!important;margin-top:2px!important}#themeStudio .ts-demo-content{position:absolute;right:10px;left:auto;bottom:26px;padding:0!important}#themeStudio .ts-demo-card{padding:5px 8px!important;border-radius:8px!important}#themeStudio .ts-demo-card h3{font-size:11px!important;margin:0!important}#themeStudio .ts-demo-pills,#themeStudio .ts-demo-post{display:none!important}#themeStudio .ts-preview-footer{padding:5px 10px!important;height:21px!important}#themeStudio .ts-preview-mode{font-size:6px!important}#themeStudio [data-ts-expand]{top:6px!important;right:7px!important;padding:4px 7px!important;font-size:8px!important;min-height:23px!important}#themeStudio .ts-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;padding-top:4px!important}#themeStudio .ts-card-art{height:85px!important}#themeStudio .ts-card-label{padding:8px!important}#themeStudio .ts-card-label strong{font-size:11px!important}#themeStudio .ts-card-label small{font-size:8px!important}#themeStudio .ts-bottom{padding-top:8px!important}#themeStudio [data-ts-apply]{min-height:36px!important;padding:9px 15px!important;font-size:12px!important}#themeStudio .ts-bottom small{display:none}
#profileFxStudio.fx-preview-expanded .fx-preview,#themeStudio.ts-preview-expanded .ts-preview{flex:1!important;height:auto!important;min-height:0!important;max-height:none!important}#profileFxStudio.fx-preview-expanded .fx-profile{inset:30px!important;display:block;text-align:center!important}#profileFxStudio.fx-preview-expanded .fx-avatar{width:60px!important;height:60px!important;margin:0 auto 12px!important;font-size:28px!important}#profileFxStudio.fx-preview-expanded .fx-profile h3{font-size:20px!important;margin:8px!important}#profileFxStudio.fx-preview-expanded .fx-profile p{font-size:12px!important;margin:8px!important}#profileFxStudio.fx-preview-expanded .fx-profile>div:not(.fx-avatar){display:block!important;height:90px!important;margin-top:20px!important}#themeStudio.ts-preview-expanded .ts-cover{height:130px!important}#themeStudio.ts-preview-expanded .ts-identity{padding:0 20px!important}#themeStudio.ts-preview-expanded .ts-avatar{width:65px!important;height:65px!important;font-size:28px!important}#themeStudio.ts-preview-expanded .ts-identity strong{font-size:20px!important}#themeStudio.ts-preview-expanded .ts-demo-content{position:static;padding:20px!important}#themeStudio.ts-preview-expanded .ts-demo-card{padding:20px!important}#themeStudio.ts-preview-expanded .ts-demo-card h3{font-size:24px!important}#themeStudio.ts-preview-expanded .ts-demo-pills{display:flex!important;margin-top:15px}
}
