








.cc-intro {
  max-width: var(--measure);
  margin: 0 0 var(--s4);
  font-size: var(--t-body);
  line-height: var(--lh-prose);
  color: var(--text-muted);
}
.cc-empty { color: var(--text-faint); }



.cc-jump { margin-bottom: var(--s5); }
.cc-jump__n { color: var(--text-muted); font-weight: 400; }





.cc-year { scroll-margin-top: 66px; }

.cc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s3);
}





.cc-item {
  display: flex;
  flex-direction: column;
  border: var(--hair) solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  overflow: hidden;
}
.cc-item:hover,
.cc-item:focus-within { border-color: var(--rule-strong); }
.cc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}





.cc-card__thumb {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--bg-sunken);
}
.cc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cc-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s2) var(--s3) 0;
}
.cc-card__label {
  font-family: var(--font-game);
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: var(--track-h);
}

.cc-card__label.is-special { color: var(--accent); }




.cc-card__credit {
  display: block;
  padding: 2px var(--s3) var(--s3);
  font-size: var(--t-micro);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--text-faint);
  text-decoration: none;
}
a.cc-card__credit { color: var(--accent-blue); }
a.cc-card__credit:hover { text-decoration: underline; }


.cc-card__credit.is-missing { color: var(--accent-red); font-style: italic; }

.cc-credits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
}
.cc-credits__row {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border: var(--hair) solid var(--rule);
  border-radius: var(--radius-card);
}
.cc-credits__n { font-size: var(--t-micro); color: var(--text-faint); }



.cc-view {
  width: min(900px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--bg-raised);
  color: var(--text);
  overflow: hidden;
}
.cc-view[open] { display: flex; flex-direction: column; }
.cc-view::backdrop { background: rgba(0, 0, 0, 0.78); }

.cc-view__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  

  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  padding: var(--s3) var(--s4);
  border-bottom: var(--hair) solid var(--rule);
}
.cc-view__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-game);
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: var(--track-h);
}


.cc-view__nav {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.cc-view__pos {
  min-width: 5ch;
  text-align: center;
  font-size: var(--t-micro);
  letter-spacing: var(--track-caps);
  color: var(--text-muted);
}
.cc-view__step {
  cursor: pointer;
  
  min-width: 44px;
  min-height: 44px;
  border: var(--hair) solid var(--rule-strong);
  border-radius: var(--radius);
  background: none;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
}
.cc-view__step:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }


.cc-view__step:disabled { opacity: .35; cursor: default; }

.cc-view__close {
  cursor: pointer;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
}
.cc-view__close:hover { color: var(--text); }






.cc-view__body {
  min-height: 0;
  overflow-y: auto;
}
.cc-view__img {
  display: block;
  width: 100%;
  height: auto;
}
