html.roar-door-running [data-exhibit-shelves] { display: none; }

.roar-shelves {
  --shelf-columns: 5;
  --shelf-accent: #adc4ff;
  position: relative;
  isolation: isolate;
  color: #f5eddf;
  background: linear-gradient(165deg, #0d1628 0%, #101829 38%, #080d18 100%);
  border-top: 1px solid #bdcee747;
}
.roar-shelves[data-shelf-family="orveta"] {
  --shelf-columns: 2;
  --shelf-accent: #a8e1df;
  background: linear-gradient(165deg, #0d2326, #0b181a 68%, #070f11);
}
.roar-shelves[data-shelf-family="lumivo"] {
  --shelf-columns: 4;
  --shelf-accent: #d6e5b6;
  background: linear-gradient(165deg, #222c1d, #151d14 64%, #10150d);
}
.roar-shelves:focus, .exhibit-copy h2[tabindex="-1"]:focus { outline: none; }
.roar-shelves-inner { padding-block: clamp(37px, 6vw, 82px) clamp(38px, 6vw, 78px); }
.roar-shelves-heading, .roar-shelf-row-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}
.roar-shelves-heading {
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #dbe5ff30;
}
.roar-shelves-heading h2, .roar-shelf-row-heading h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.roar-shelves-heading h2 { font-size: clamp(32px, 5vw, 70px); line-height: 1; letter-spacing: -.05em; }
.roar-shelves-heading > span, .roar-shelf-index {
  color: var(--shelf-accent);
  font: 700 12px/1.3 Jakarta, sans-serif;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.roar-shelf-row { --shelf-light: var(--shelf-accent); padding-block: clamp(25px, 4vw, 52px) 15px; }
.roar-shelf-row[data-shelf-row="grade"] { --shelf-light: #e7cd93; }
.roar-shelf-row[data-shelf-row="hazirlik"] { --shelf-light: #edbbd9; }
.roar-shelf-row-heading { margin-bottom: 20px; }
.roar-shelf-row-heading h3 { font-size: clamp(25px, 3.1vw, 39px); line-height: 1.08; }
.roar-shelf-row-heading p { margin: 0 0 0 auto; color: #d8dfec; font-size: 13px; }
.roar-shelf-row-heading strong, .roar-shelf-index { color: var(--shelf-light); }
.roar-shelf-row-heading p span { margin-inline: 4px; }
.roar-shelf-track {
  display: grid;
  grid-template-columns: repeat(var(--shelf-columns), minmax(0, 1fr));
  gap: 14px clamp(12px, 2vw, 29px);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-shelf-family="orveta"] .roar-shelf-track { max-width: 760px; margin-inline: auto; }
.roar-shelf-set {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  color: #f7eedf;
  text-align: center;
}
.roar-shelf-set:focus-visible { outline: 2px solid var(--shelf-light); outline-offset: 4px; }
.roar-shelf-art {
  position: relative;
  isolation: isolate;
  height: clamp(100px, 14vw, 184px);
  border-bottom: 1px solid color-mix(in srgb, var(--shelf-light) 43%, transparent);
  background: radial-gradient(ellipse at 50% 89%, color-mix(in srgb, var(--shelf-light) 21%, transparent), transparent 69%);
}
.roar-shelf-art img {
  position: absolute;
  bottom: 7px;
  left: 7%;
  width: 63%;
  height: calc(100% - 10px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(2px 5px 5px #02050bb3);
  transform: rotate(-4deg);
  transform-origin: 60% 96%;
  transition: transform 260ms ease;
}
.roar-shelf-art img + img { z-index: -1; left: 30%; transform: rotate(7deg) scale(.95); }
.roar-shelf-art img:only-child { left: 18.5%; }
.roar-shelf-set:is(:hover, :focus-visible) img { transform: translateY(-5px) rotate(-5deg); }
.roar-shelf-set:is(:hover, :focus-visible) img + img { transform: translateY(-5px) rotate(8deg) scale(.95); }
.roar-shelf-art[data-shelf-art="separate"] {
  display: grid;
  grid-template: minmax(0, 1fr) / repeat(var(--shelf-book-columns), minmax(0, 1fr));
  gap: clamp(4px, .6vw, 9px);
  padding: 0 2px 7px;
}
[data-shelf-row="grade"] .roar-shelf-art { height: clamp(104px, 9vw, 142px); }
[data-shelf-row="hazirlik"] .roar-shelf-art { height: clamp(110px, 12vw, 166px); }
.roar-shelf-row[data-shelf-row="hazirlik"] .roar-shelf-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roar-shelf-set .roar-shelf-art[data-shelf-art="separate"] img {
  position: static;
  z-index: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
}
.roar-shelf-set:is(:hover, :focus-visible) .roar-shelf-art[data-shelf-art="separate"] img { transform: translateY(-4px); }
.roar-shelf-name {
  display: block;
  min-height: 44px;
  padding: 11px 2px 5px;
  font: 700 clamp(12px, 1.15vw, 15px)/1.35 Jakarta, sans-serif;
  text-wrap: balance;
}
.roar-shelf-set:is([aria-current="true"], :hover, :focus-visible) .roar-shelf-name { color: var(--shelf-light); }

@media (max-width: 850px) {
  .roar-shelves:not([data-shelf-family="orveta"]) .roar-shelf-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roar-shelf-art { height: clamp(117px, 20vw, 170px); }
}
@media (max-width: 500px) {
  .roar-shelves .roar-shelf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roar-shelf-row-heading { column-gap: 10px; }
  .roar-shelf-row-heading p { flex-basis: 100%; margin-left: 0; font-size: 12px; }
  .roar-shelf-art { height: clamp(105px, 29vw, 145px); }
}
@media (max-width: 900px) {
  .roar-shelf-row[data-shelf-row="hazirlik"] .roar-shelf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .roar-shelf-row[data-shelf-row="hazirlik"] .roar-shelf-track { grid-template-columns: minmax(0, 1fr); }
  [data-shelf-row="hazirlik"] .roar-shelf-art { height: clamp(104px, 30vw, 154px); }
}
@media (max-width: 400px) {
  .roar-shelves [data-shelf-row="grade"] .roar-shelf-track { grid-template-columns: minmax(0, 1fr); }
  [data-shelf-row="grade"] .roar-shelf-art { height: clamp(110px, 38vw, 145px); }
}
@media (prefers-reduced-motion: reduce) {
  .roar-shelf-art img { transition: none; }
}
