/* Compact catalog header and province/city filters, shared by both themes. */
body .header.catalog-header{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;padding:12px 24px}
body #header.catalog-header .catalog-logo{flex:1 1 auto;min-width:0;margin:0;gap:8px}
body #header.catalog-header .header-right{display:flex;flex:0 0 auto;width:auto;flex-wrap:nowrap;gap:8px;margin:0}
body #header.catalog-header .agency-nav{display:flex;margin:0;flex:none}
body #header.catalog-header .agency-nav a{white-space:nowrap}
body #main .filter-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"search search search search search search" "province province province city city city" "season season style style tags tags";gap:10px;padding:0;background:transparent;border:0;box-shadow:none}
body #fProvince{grid-area:province}body #fCity{grid-area:city}body #fSeason{grid-area:season}body #fStyle{grid-area:style}body #tagDrop{grid-area:tags}
body #main .filter-bar .catalog-search{grid-area:search;display:flex;align-items:stretch;min-width:0;gap:6px;height:44px;background:none;border:0;box-shadow:none}
body #main .catalog-search .search-input{flex:1 1 auto;min-width:0;width:0;height:44px;margin:0;border:1px solid var(--border,#ddd);border-radius:10px;padding:0 12px;background:white;font-size:14px}
body #main .catalog-search button{flex:0 0 auto;min-width:48px;border-radius:9px;border:0;padding:0 12px;font-size:14px;white-space:nowrap;cursor:pointer;background:var(--pw-accent,var(--agency-primary,#6c5ce7));color:white}
body #main .catalog-search .btn-reset{grid-area:auto;width:auto;height:44px;color:var(--pw-accent,var(--agency-primary,#6c5ce7));background:var(--surface,#fff);border:1px solid var(--border,#ddd)}
body #main .filter-bar>select,body #main .filter-bar .tag-drop-btn{height:42px;min-height:42px;min-width:0;width:100%;padding:0 10px;font-size:14px;border-radius:9px}
body #main .filter-bar .tag-drop{min-width:0;width:100%}
@media(max-width:620px){
 body .header.catalog-header{gap:6px;padding:10px 12px;min-height:58px}
 body #header.catalog-header .catalog-logo{flex:1 1 auto;font-size:14px;gap:5px;max-width:none;overflow:hidden}
 body #header.catalog-header .catalog-logo>img{width:25px;height:25px;max-height:25px;object-fit:contain}
 body #header.catalog-header .catalog-logo[aria-label="S云相册"]>img{width:76px;height:auto;max-height:30px}
 body #header.catalog-header .pw-brand-copy{display:flex;flex-direction:column;min-width:0;gap:1px;align-items:flex-start}
 body #header.catalog-header .pw-brand{font-size:14px;line-height:18px;white-space:nowrap}
 body #header.catalog-header .pw-tagline{font-size:9px;line-height:12px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body #header.catalog-header .header-right{gap:5px}
 body #header.catalog-header .agency-nav a,body #header.catalog-header .pill-btn,body #header.catalog-header .user-badge{height:32px;min-height:32px;padding:0 7px;font-size:12px;line-height:32px;border-radius:8px;white-space:nowrap}
 body #header.catalog-header .user-badge{max-width:53px;gap:3px;display:inline-flex;align-items:center}
 body #header.catalog-header #userNick{max-width:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.peiwan.pw-home .main,body.compact-catalog .main{padding-top:14px}
 body #main .filter-bar{gap:8px}
 body #main .catalog-search button{padding:0 10px;min-width:44px}
 body #main .filter-bar>select,body #main .filter-bar .tag-drop-btn{font-size:13px;padding:0 7px}
 body .tabs{margin-top:20px;margin-bottom:16px}
}

body .ue-field-stack[hidden]{display:none!important}
