/* Every fandom has its own visible cover, followed by a calm reading surface. */
.roles-page .role-catalog-card {
  min-height: 0;
  padding: 0;
  background: #1d141b;
  border-color: #c48b9b55;
}
.roles-page .role-catalog-card::before,
.roles-page .role-catalog-card::after {
  display: none;
}
.role-catalog-art {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid #c48b9b44;
  background: #281d28;
}
.role-catalog-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.95);
}
.role-catalog-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #100c1630, transparent 30%, transparent 75%, #1d141b55);
}
.role-catalog-card .role-catalog-index {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  right: 44px;
  margin: 0;
}
.role-catalog-index > span,
.role-catalog-index > small {
  padding: 6px 10px;
  border: 1px solid #ebd7df66;
  border-radius: 20px;
  background: #19111de8;
  color: #f6e9f0;
}
.roles-page .role-catalog-card h3 {
  margin: 0;
  padding: 22px 24px 14px;
  color: #f5e8ef;
}
.roles-page .role-catalog-card .occupied-role-tags {
  margin-top: auto;
  padding: 0 24px 26px;
  gap: 8px;
}
.role-catalog-card .moon-frame::after {
  display: none;
}
.role-catalog-card .living-detail {
  z-index: 4;
  color: #f6e0cc;
}
#attack-on-titan .role-catalog-art img { object-position: center 30%; }
#alien-stage .role-catalog-art img { object-position: center 38%; }
#cowboy-bebop .role-catalog-art img { object-position: center 30%; }
@media (max-width: 720px) {
  .role-catalog-art { aspect-ratio: 16 / 11; }
  .roles-page .role-catalog-card h3 { padding: 20px 22px 12px; }
  .roles-page .role-catalog-card .occupied-role-tags { padding: 0 22px 24px; }
}
