/* Gallery shell only: the approved inner gallery owns its header and language UI. */
.pn-curator.pn-gallery-shell { --curator-topbar: 0px; }
.pn-curator.pn-gallery-shell .curator-page > .pn-header { display: none; }
.pn-curator.pn-gallery-shell #current {
  margin-top: 0;
  height: 100vh;
  height: 100svh;
}
/* Keep the original, accessible menu control inside the persistent icon rail. */
.pn-curator.pn-gallery-shell .curator-sidebar > .curator-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-self: flex-start;
  margin: -10px 0 14px 4px;
}
/* The compact Gallery rail keeps its one existing language selector reachable. */
@media (max-width:1099px) {
  .pn-curator.pn-gallery-shell .curator-sidebar .curator-language-panel {
    position:static;
    display:block;
    align-self:stretch;
    margin:0 0 12px;
  }
  .pn-curator.pn-gallery-shell .curator-language-panel .pn-language {
    width:100%;
    min-width:0;
    flex-direction:column;
    align-items:center;
    gap:2px;
  }
}
