/* BIGBOY collection navigation: compact home and slide-in menu */
body.hub-home .hero,
body.hub-home .hub-controls{display:none}
body.hub-home #hubView{padding-top:6px}
body.hub-home main{padding-bottom:max(28px,env(safe-area-inset-bottom))}
body:not(.hub-home) main{padding-bottom:max(28px,env(safe-area-inset-bottom))}
.topbar{justify-content:flex-start;gap:13px}
.topbar #viewToggle{margin-left:auto}
.sidebar-toggle{flex:0 0 40px;width:40px;height:40px;border-radius:5px}
.hamburger{display:flex;flex-direction:column;gap:5px;width:18px}
.hamburger i{display:block;width:100%;height:2px;border-radius:2px;background:#d6ccff}
.hamburger i:nth-child(2){width:75%}
.hamburger i:nth-child(3){width:88%}
.sidebar-backdrop{position:fixed;inset:0;z-index:79;background:rgba(0,0,0,.67);backdrop-filter:blur(3px)}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:80;width:min(320px,88vw);max-height:100dvh;background:#090c1b;border-right:1px solid #37305f;box-shadow:20px 0 75px rgba(0,0,0,.5);display:flex;flex-direction:column;transform:translateX(-103%);transition:transform .22s ease;pointer-events:none}
body.sidebar-open .sidebar{transform:translateX(0);pointer-events:auto}
.sidebar-header{height:72px;min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #292742}
.sidebar-brand{display:flex;align-items:center;gap:10px}
.sidebar-brand .brand-mark{width:35px;height:35px;border-radius:8px}
.sidebar-brand>div{display:flex;flex-direction:column;gap:3px}
.sidebar-brand strong{font-size:13px;letter-spacing:.09em}
.sidebar-brand small{font-size:8px;letter-spacing:.15em;color:#9da5c1}
.sidebar-scroll{overflow-y:auto;overscroll-behavior:contain;padding:16px 10px max(28px,env(safe-area-inset-bottom));scrollbar-width:thin}
.sidebar-label{font-size:9px;color:#867daa;letter-spacing:.18em;font-weight:800;padding:10px 13px 8px}
.sidebar-main-nav{display:grid;gap:3px;margin:0 0 19px}
.sidebar-main-nav .nav-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:13px;width:100%;padding:12px 13px;border:1px solid transparent;border-radius:5px;color:#d4d6e8;background:transparent;font-size:18px;text-align:left;cursor:pointer}
.sidebar-main-nav .nav-item b{font-size:12px;text-transform:none;letter-spacing:0}
.sidebar-main-nav .nav-item.active{color:#e9ddff;background:#18142e;border-color:#383059}
.sidebar-family-nav{display:grid;gap:1px}
.sidebar-family-link{display:flex;align-items:center;gap:11px;min-height:45px;padding:10px 13px;width:100%;border:0;border-bottom:1px solid rgba(115,100,156,.14);background:transparent;color:#c4c8dd;text-align:left;font-size:12px;font-weight:650;cursor:pointer}
.sidebar-family-link:active,.sidebar-family-link:focus-visible{background:#21173d;color:white}
.sidebar-family-link .sidebar-mini-icon{width:24px;display:grid;place-items:center;color:#a99bfd;font-size:17px;flex:0 0 24px}
.sidebar-family-link .sidebar-mini-name{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.home-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px 13px 24px}
.home-family-card{min-width:0;min-height:128px;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:13px 12px 12px;background:linear-gradient(155deg,#12172a 0%,#0a0e1c 100%);border:1px solid #333352;border-radius:5px;text-align:left;cursor:pointer;position:relative;transition:border-color .16s,background .16s}
.home-family-card:active{border-color:#a386ff;background:#1b1732}
.home-family-icon{height:34px;width:34px;border:1px solid #4a3c78;background:#211a3d;color:#c5a9ff;border-radius:5px;display:grid;place-items:center;font-size:20px;line-height:1;margin-bottom:auto}
.home-family-name{display:block;margin-top:11px;font-size:13px;line-height:1.18;font-weight:800;letter-spacing:-.01em;color:#f5f2ff;overflow-wrap:anywhere}
.home-family-counts{display:block;margin-top:6px;font-size:10px;line-height:1.3;color:#a0a7c4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.home-family-grid .empty{grid-column:1/-1}
@media(min-width:540px){
 .home-family-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 18px 30px;gap:11px}
 .home-family-card{min-height:134px}
}
@media(min-width:720px){
 .home-family-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 28px 34px;gap:12px}
 .home-family-card{min-height:138px;padding:16px}
 .home-family-name{font-size:15px}
 .home-family-counts{font-size:11px}
 .topbar{gap:16px}
}
@media(min-width:1120px){.home-family-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.sidebar,.home-family-card{transition:none}}
/* Three-column mobile collection dashboard */
.home-family-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 10px 24px}
.home-family-card{min-height:134px;padding:10px 8px 11px;border-radius:4px}
.home-family-icon{width:34px;height:34px;min-height:34px;border-radius:4px}
.collection-category-svg{display:block;width:23px;height:23px;flex:none}
.home-family-name{font-size:11.4px;line-height:1.2;margin-top:10px;letter-spacing:-.015em}
.home-family-counts{font-size:9.2px;line-height:1.35;margin-top:5px;overflow-wrap:anywhere}
.sidebar-mini-icon .collection-category-svg{width:20px;height:20px}
.sidebar-scroll{padding-top:11px}
.sidebar-label{padding:10px 13px}
.sidebar-brand-copy{display:flex;flex-direction:column;gap:3px}
.sidebar-brand-copy strong{font-size:13px;letter-spacing:.09em}
.sidebar-brand-copy small{font-size:8px;letter-spacing:.15em;color:#9da5c1}
@media(min-width:540px){.home-family-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px 30px}.home-family-card{min-height:140px;padding:12px}.home-family-name{font-size:12.5px}.home-family-counts{font-size:10px}}
@media(min-width:720px){.home-family-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:20px 28px 34px}.home-family-card{min-height:144px;padding:15px}.home-family-name{font-size:14px}.home-family-counts{font-size:11px}}
@media(min-width:1120px){.home-family-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:360px){.home-family-grid{gap:6px;padding-left:8px;padding-right:8px}.home-family-card{padding:9px 7px 10px;min-height:131px}.home-family-name{font-size:10.7px}.home-family-counts{font-size:8.7px}}
