/* One horizontal collection index; each category keeps its own canvas and type. */
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual){
 display:grid;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto minmax(0,1fr)!important;
 align-items:start;
 gap:0;
 width:100%;
 max-width:100%;
 margin:0;
 padding:88px 0 max(150px,env(safe-area-inset-bottom));
 box-sizing:border-box;
}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs{
 --archive-tab-type-size:25px;
 position:relative!important;
 inset:auto!important;
 grid-column:1!important;
 grid-row:1!important;
 align-self:start!important;
 display:flex;
 flex-direction:row!important;
 flex-wrap:nowrap;
 justify-content:center;
 align-items:center;
 gap:38px!important;
 width:auto;
 min-width:0;
 max-width:100%;
 min-height:40px;
 margin:0 clamp(20px,2.4vw,46px)!important;
 padding:0!important;
 border:0;
 background:transparent;
}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs button{
 position:relative;
 display:flex;
 flex:0 1 auto!important;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 align-self:center!important;
 min-width:0;
 min-height:40px!important;
 margin:0;
 padding:0!important;
 text-align:center;
 text-decoration:none!important;
 border:0!important;
 border-radius:0!important;
 background:transparent!important;
 box-shadow:none!important;
 transform:none!important;
 opacity:.4;
}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs button:is(.selected,:hover,:focus-visible){opacity:1}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs button.selected::after{display:none}
:root body #zz-fullscreen #zz-body .archive-shell.theme-product .archive-tabs button{color:#20383e!important;text-shadow:0 1px 2px #ffffff70;opacity:.65}
:root body #zz-fullscreen #zz-body .archive-shell.theme-product .archive-tabs button:is(.selected,:hover,:focus-visible){opacity:1}
:root body #zz-fullscreen #zz-body .archive-shell.theme-visual .archive-tabs button{opacity:.68}
:root body #zz-fullscreen #zz-body .archive-shell.theme-visual .archive-tabs button:is(.selected,:hover,:focus-visible){opacity:1}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs strong{
 display:block;
 max-width:none!important;
 overflow-wrap:normal;
 word-break:normal;
 white-space:nowrap!important;
}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) #archive-panel{
 grid-column:1!important;
 grid-row:2!important;
 width:100%;
 min-width:0;
 min-height:0;
 margin:0;
 box-sizing:border-box;
}
/* These two collections previously reserved a left sidebar. */
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-product,.theme-visual) #archive-panel{
 padding:40px clamp(24px,4.5vw,80px) 0!important;
}
:root body #zz-fullscreen #zz-body .archive-shell:is(.theme-product,.theme-visual) .collection-scene{
 width:100%;
 min-width:0;
 min-height:0;
}
/* Keep the approved gallery and book presentation below the shared index. */
:root body #zz-fullscreen #zz-body .archive-shell.theme-artwork{padding-bottom:180px}
:root body #zz-fullscreen #zz-body .archive-shell.theme-story{gap:14px;padding-bottom:112px}
@media(max-width:1000px){
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs{gap:28px!important}
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-product,.theme-visual) #archive-panel{padding:34px 28px 0!important}
}
@media(max-width:700px){
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs{
  --archive-tab-type-size:clamp(18px,4.8vw,25px);
  justify-content:space-between;
  gap:clamp(8px,2.4vw,16px)!important;
  margin:0 20px!important;
  min-height:48px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  scroll-padding-inline:2px;
  scrollbar-width:none;
  touch-action:pan-x pan-y pinch-zoom;
 }
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs::-webkit-scrollbar{display:none}
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs button{
  flex:0 0 auto!important;
  min-width:44px;
  min-height:44px!important;
  scroll-snap-align:center;
 }
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs button:focus-visible{outline-offset:-2px}
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-product,.theme-visual) #archive-panel{padding:30px 20px 0!important}
 :root body #zz-fullscreen #zz-body .archive-shell.theme-artwork{padding-bottom:150px}
 :root body #zz-fullscreen #zz-body .archive-shell.theme-story{gap:12px;padding-bottom:120px}
}
@media(max-width:360px){
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-artwork,.theme-story,.theme-product,.theme-visual) .archive-tabs{
  --archive-tab-type-size:16px;
  gap:8px!important;
  margin-inline:14px!important;
 }
 :root body #zz-fullscreen #zz-body .archive-shell:is(.theme-product,.theme-visual) #archive-panel{padding-inline:16px!important}
}
:root body #zz-fullscreen #zz-body .archive-shell.theme-visual #archive-panel{padding:24px 0 0!important}
