.app-only,.sidebar-signout{display:none}
.mobile-dock a[aria-current=page]{color:var(--accent);font-weight:800}
.mobile-dock a[aria-current=page] span{background:var(--tint);border-radius:999px;padding:3px 14px}
.site-footer-links{display:flex;gap:.85rem 1.25rem;flex-wrap:wrap}
.site-footer-links .brand{margin-right:auto}
.catalog-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 3px 10px;margin:0 0 10px;scrollbar-width:thin}
.catalog-tabs a{flex:none;padding:.48rem .88rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:700;color:var(--ink)}
.catalog-tabs a:hover,.catalog-tabs [aria-current=page]{background:var(--tint);color:var(--accent);text-decoration:none}
.poster-art:not(:has(img))::after{content:"";position:absolute;inset:20% 17%;border:1px solid #fff3;border-radius:58% 38% 64% 30%;transform:rotate(30deg) scale(.85);box-shadow:0 0 0 9px #fff1,0 0 0 22px #fff1}
.poster-art:not(:has(img)) span{filter:drop-shadow(0 0 14px #ecddff);color:#fff9}
@media(max-width:760px){
    .topbar{min-height:61px;gap:8px;flex-wrap:nowrap}
    .topbar>.row{min-width:0;flex-wrap:nowrap;gap:7px}
    .topbar .crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.92rem}
    .topbar .category-menu summary{font-size:.86rem}
    .topbar .brand{min-width:0}
    body.workspace .topbar form{display:none}
    .sidebar .sidebar-signout{display:block;margin:8px 0 0}
    body:has(.mobile-dock){padding-bottom:0}
    body .mobile-dock{display:none}
    #content{min-height:calc(100dvh - 165px)}
    .footer{border-top:1px solid var(--line);background:var(--surface);padding:20px clamp(16px,4vw,48px)}
    .site-footer-links .brand{flex-basis:100%}
    .catalog-mode #content{padding-top:20px}
    .catalog-mode .page-heading h1{font-size:clamp(1.85rem,7.5vw,2.65rem)}
    .catalog-hero{border-radius:19px}
    .poster-card{border-radius:13px}
    html.studio-installed body:not(.admin-workspace):has(.mobile-dock){padding-bottom:calc(70px + env(safe-area-inset-bottom))}
    html.studio-installed body:not(.admin-workspace) .mobile-dock{display:flex;align-items:center;padding:5px 3px max(7px,env(safe-area-inset-bottom));background:var(--surface);min-height:62px}
    html.studio-installed body:not(.admin-workspace) .footer{display:none}
    html.studio-installed body:not(.admin-workspace) .topbar{position:sticky;z-index:4;top:0;padding-top:max(8px,env(safe-area-inset-top));background:var(--surface);border-bottom:0;box-shadow:0 4px 22px #2e1a4510}
    html.studio-installed body:not(.admin-workspace) .topbar .category-menu{display:none}
    html.studio-installed body:not(.admin-workspace) .topbar .crumb{font-size:1.08rem}
    html.studio-installed body:not(.admin-workspace) .app-only{display:inline-flex}
    html.studio-installed body:not(.admin-workspace) .chat-thread{height:clamp(175px,calc(100dvh - 330px),590px)}
    html.studio-installed [data-install-studio],html.studio-installed .top-about{display:none}
    html.studio-installed .topbar .menu-toggle{background:var(--tint);border-color:transparent;color:var(--accent)}
    html.studio-installed .catalog-mode #content{padding-top:16px}
    body.menu-open .sidebar{top:61px}
    html.studio-installed body.menu-open .sidebar{top:calc(61px + env(safe-area-inset-top))}
}
@media(max-width:390px){.topbar .top-about{display:none}.topbar .crumb{max-width:31vw}.topbar .category-menu summary{font-size:.78rem}}
@media print{.mobile-dock,.app-only{display:none!important}}