.collection-page { min-height: 100vh; padding: 132px 40px 64px; background: #0a0a0a; }
.collection-page [hidden], .collection-viewer [hidden] { display: none !important; }
.collection-container { max-width: 1340px; margin: auto; }
.collection-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #b7b7bd; font-size: 12px; text-decoration: none; }
.collection-back:hover { color: #00f0ff; }
.collection-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 46px 0 42px; }
.collection-eyebrow { display: block; color: #00f0ff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; }
.collection-intro h2 { margin: 18px 0 0; color: #fff; font: 800 clamp(36px, 4.8vw, 68px)/1.02 Archivo, sans-serif; letter-spacing: -.05em; }
.collection-intro h2 span { color: #00f0ff; }
.collection-intro p { max-width: 315px; color: #aaaab3; font-size: 14px; line-height: 1.9; margin: 0; }
.collection-categories { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; border-top: 1px solid #25252a; border-bottom: 1px solid #25252a; margin-bottom: 42px; }
.collection-category { display: inline-flex; align-items: center; gap: 14px; min-height: 46px; padding: 10px 18px; border: 1px solid #303037; color: #c7c7cf; background: #111114; font-size: 12px; font-weight: 600; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; }
.collection-category small { color: #a5a5af; font-size: 11px; }
.collection-category:hover { border-color: #00f0ff; color: #fff; }
.collection-category[aria-current="page"] { border-color: #00f0ff; background: #00f0ff; color: #070b0d; }
.collection-category[aria-current="page"] small { color: #214349; }
.collection-summary { margin: 0 0 30px; font-size: 12px; color: #a2a2ad; }
.collection-group { margin: 0 0 58px; }
.collection-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.collection-group-heading h3 { font-size: 25px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.collection-group-heading span { font-size: 12px; color: #aaaab3; }
.collection-albums, .collection-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.collection-album { display: block; text-decoration: none; color: #fff; min-width: 0; }
.collection-cover, .collection-photo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; border: 1px solid var(--frame-color, #3c6270); background: #060608; }
.collection-cover img, .collection-photo img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 350ms ease; }
.collection-album:hover img { transform: scale(1.018); }
.collection-cover span { position: absolute; right: 12px; bottom: 12px; background: #070709e8; border: 1px solid #ffffff25; padding: 7px 10px; color: #fff; font-size: 11px; }
.collection-album-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.collection-album-info h4 { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.collection-album-info > span { color: var(--frame-color); font-size: 20px; }
.collection-album-meta { color: #92929c; font-size: 11px; margin-top: 5px; }
.collection-album-heading { margin: 28px 0 32px; }
.collection-album-heading h3 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; letter-spacing: -.04em; margin: 10px 0; }
.collection-album-heading p { color: #aaaab3; font-size: 13px; }
.collection-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection-photo { padding: 0; cursor: zoom-in; }
.collection-photo::after { content: '+'; position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; background: #070709d9; color: #fff; font-size: 22px; line-height: 30px; }
.collection-photo:hover { outline: 1px solid var(--frame-color); outline-offset: 3px; }
.collection-status { color: #b7b7bf; padding: 48px 0; line-height: 1.8; }
.collection-retry { display: block; margin-top: 16px; padding: 12px 18px; color: #0a0a0a; background: #00f0ff; font-weight: 700; }
.collection-bottom { margin-top: 60px; padding-top: 28px; border-top: 1px solid #28282d; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.collection-bottom p { color: #9696a0; font-size: 12px; line-height: 1.7; }
.collection-page a:focus-visible, .collection-page button:focus-visible, .collection-viewer button:focus-visible { outline: 2px solid #00f0ff; outline-offset: 5px; }
.collection-page h2:focus, .collection-page h3:focus { outline: none; }
.collection-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #050506f7; color: #fff; z-index: 200; }
.collection-viewer::backdrop { background: #000e; }
.collection-viewer[open] { display: flex; flex-direction: column; }
.collection-viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; min-height: 76px; flex-shrink: 0; }
.collection-viewer-bar h2 { font-size: 16px; font-weight: 600; }
.collection-viewer-counter { color: #b6b6c0; font-size: 12px; margin-top: 4px; }
.collection-viewer button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 8px 14px; border: 1px solid #ffffff40; background: #111116; color: #fff; font-size: 20px; cursor: pointer; }
.collection-viewer button:hover { border-color: #00f0ff; color: #00f0ff; }
.collection-viewer button:disabled { opacity: .3; cursor: default; }
.collection-viewer-stage { flex: 1; min-height: 0; position: relative; display: flex; justify-content: center; align-items: center; padding: 12px 78px; }
.collection-viewer-image { width: 100%; height: 100%; object-fit: contain; }
.collection-viewer-stage > button { position: absolute; top: 50%; transform: translateY(-50%); }
.collection-viewer-prev { left: 16px; }
.collection-viewer-next { right: 16px; }
.collection-viewer-help { flex-shrink: 0; padding: 16px 24px 22px; margin: 0; text-align: center; color: #a1a1ad; font-size: 11px; }
.collection-viewer-error { position: absolute; background: #111; padding: 18px; color: #eee; max-width: 80%; text-align: center; }
@media (min-width: 1440px) { .collection-albums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .collection-albums, .collection-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-intro { align-items: start; flex-direction: column; gap: 24px; }
  .collection-intro p { max-width: 520px; }
}
@media (max-width: 580px) {
  .collection-page { padding: 110px 22px 44px; }
  .collection-intro { padding: 24px 0 32px; }
  .collection-albums, .collection-photos { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .collection-category { padding: 10px 12px; gap: 8px; }
  .collection-categories { gap: 8px; margin-bottom: 28px; }
  .collection-bottom { align-items: start; flex-direction: column; }
  .collection-viewer-bar { padding: 12px 16px; }
  .collection-viewer-stage { padding: 4px 8px 60px; }
  .collection-viewer-stage > button { top: auto; bottom: 0; transform: none; }
  .collection-viewer-prev { left: calc(50% - 58px); }
  .collection-viewer-next { right: calc(50% - 58px); }
}
@media (prefers-reduced-motion: reduce) {
  .collection-cover img, .collection-photo img, .collection-category { transition: none; }
  .collection-album:hover img { transform: none; }
}
