.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.back-link { color: var(--text-muted); text-decoration: none; }
.back-link:hover { color: var(--amber); }

.shelf-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.shelf-label {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.shelf {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Each tape is a VHS spine viewed from the side, stacked in a pile.
   Slight per-tape rotation and offset (set inline from JS) keeps the
   stack from looking machine-perfect. */
.tape {
  position: relative;
  display: flex;
  align-items: center;
  height: 58px;
  background: #16181c;
  border: 1px solid #2b2e35;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.tape:hover { transform: translateX(10px) rotate(0deg) !important; }

.tape-label {
  flex: 1;
  margin: 0 14px;
  background: linear-gradient(#e8e2d2, #d9d1bc);
  border-radius: 2px;
  padding: 7px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  min-width: 0;
}

.tape-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  color: #23241d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tape-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6753;
  margin-left: 16px;
  white-space: nowrap;
}

.tape-end {
  width: 34px;
  align-self: stretch;
  border-right: 1px solid #2b2e35;
  background: repeating-linear-gradient(90deg, #1c1f24 0 3px, #16181c 3px 6px);
  border-radius: 3px 0 0 3px;
}

.tape-reel {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #3a3e46;
  margin-right: 14px;
  flex-shrink: 0;
}
