.world-gallery-accordion.world-rail {
  display: flex;
  height: auto;
  min-height: 0;
  flex-direction: column;
  align-self: center;
  gap: 9px;
  overflow: visible;
}
html.immersive-experience .world-gallery-accordion.world-rail { display: flex; grid-template-columns: none; flex-direction: column; overflow: visible; }

.world-rail .world-home-category {
  position: relative;
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  clip-path: none;
  border: 1px solid rgba(207,148,31,.32);
  background: linear-gradient(115deg,rgba(27,23,17,.95),rgba(10,10,9,.94));
  box-shadow: 0 10px 30px #0005;
}

.world-rail .world-home-category + .world-home-category { margin-left: 0; clip-path: none; }
.world-home-category > summary { display: flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 15px; cursor: pointer; list-style: none; }
.world-home-category > summary::-webkit-details-marker { display: none; }
.world-home-category > summary::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.045); }
.world-home-category__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.world-home-category__title small { color: #d9a13b; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.world-home-category__title strong { overflow: hidden; color: #eee9df; font: 600 clamp(14px,1.12vw,18px)/1.2 Georgia,serif; text-overflow: ellipsis; }
.world-home-category__meta { display: flex; align-items: center; gap: 11px; color: #aaa399; font-size: 10px; white-space: nowrap; }
.world-home-category__meta b { color: #d9a13b; font-size: 18px; font-weight: 400; transition: transform .18s; }
.world-home-category[open] .world-home-category__meta b { transform: rotate(45deg); }
.world-home-category__gallery { display: grid; max-height: clamp(155px,27vh,270px); grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 8px; overflow: auto; padding: 0 12px 12px; }
.world-category__photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(207,148,31,.18); background: #090908; }
.world-category__photo img { position: relative; inset: auto; display: block; width: 100%; height: auto; min-height: 96px; aspect-ratio: 4/3; object-fit: cover; opacity: 1; filter: none; transform: none; transition: transform .35s,filter .35s; }
html.immersive-experience .world-home-category .world-category__photo img { z-index: auto; padding: 0; object-fit: cover; object-position: center; filter: none; }
.world-category__photo:hover img { transform: scale(1.035); filter: brightness(1.08); }
.world-home-category__empty { grid-column: 1/-1; margin: 0; padding: 16px 2px; color: #a9a39a; font-size: 12px; }
.world-home-category > summary:focus-visible { outline: 2px solid #d9a13b; outline-offset: -3px; }
.world-story-gallery__track:empty { min-height: 160px; }
.world-story-gallery__track figure img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 780px) {
  .world-gallery-accordion.world-rail { width: min(100%,620px); max-height: 38vh; overflow: auto; padding: 2px; }
  html.immersive-experience .world-gallery-accordion.world-rail { display: flex; height: auto; max-height: 38vh; overflow: auto; }
  html.immersive-experience .world-gallery-accordion.world-rail { height: auto; max-height: 38vh; overflow: auto; }
  .world-rail .world-home-category { flex: none; }
  .world-home-category > summary { min-height: 49px; padding: 8px 12px; }
  .world-home-category__gallery { max-height: 24vh; grid-template-columns: repeat(auto-fill,minmax(96px,1fr)); }
  .world-category__photo img { min-height: 82px; }
}
