/* DoriSan staging only: isolated NEW cards, legacy classes untouched. */
.d30-grid > .ds-release-card {
  position:relative; display:flex; flex-direction:column; min-width:0; width:100%;
  overflow:hidden; isolation:isolate; background:rgba(0,0,0,.62);
  border:1px solid rgba(160,215,255,.28); border-radius:12px;
  box-shadow:0 18px 46px rgba(0,0,0,.38);
  color:inherit; box-sizing:border-box;
}
.ds-release-card .ds-release-info {
  display:flex; flex:1; flex-direction:column; padding:13px 14px 15px;
  background:rgba(0,0,0,.72); color:inherit;
}
.ds-release-card .ds-release-info h3 {
  margin:0 0 6px; font-size:.98rem; font-weight:950; text-transform:uppercase;
  overflow-wrap:anywhere;
}
.ds-release-cover.ds-stage-media,
.ds-stage-tile > .ds-release-cover.ds-stage-media {
  display:block; position:relative; isolation:isolate; width:100%;
  aspect-ratio:1 / 1; overflow:hidden; border-radius:0;
  background:linear-gradient(140deg,#09233f,#4b1972);
}
.ds-release-cover.ds-stage-media > img,
.ds-release-cover.ds-stage-media > video {
  display:block; width:100%; height:100%; object-fit:cover;
}
.ds-release-cover.ds-stage-media > img {position:relative; z-index:1;}
.ds-release-cover.ds-stage-media > video.ds-stage-video {
  position:absolute; inset:0; z-index:2; width:100%; height:100%;
  object-fit:cover; opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .24s linear; transform:none!important; filter:none!important;
}
.ds-release-cover.ds-stage-media > video.ds-stage-video.ds-stage-playing {
  opacity:1; visibility:visible;
}
.ds-stage-section {
  box-sizing:border-box; padding:1.5rem; margin:1.4rem auto;
  max-width:1200px; background:#0d1023; color:white; border-radius:12px;
}
.ds-stage-section h2 {color:white}
.ds-stage-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.ds-stage-tile {min-width:0;overflow:hidden;box-sizing:border-box}
.ds-stage-tile > .ds-release-cover {border-radius:10px}
.ds-stage-tile h3 {font-size:1rem;color:white;margin:.5rem 0;overflow-wrap:anywhere}
.ds-stage-no-cover {display:flex!important;align-items:center;justify-content:center;
  padding:1rem;text-align:center;color:white;font-weight:700;box-sizing:border-box}
@media(max-width:900px){.ds-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ds-stage-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){
 .ds-release-cover.ds-stage-media > video.ds-stage-video{display:none!important}
}

/* DORISAN_FIVE_CARD_FONT_PARITY_V1 — match historic 900px title rule. */
@media (max-width: 900px) {
  .d30-grid > .ds-stage-release .ds-release-info h3 {font-size:.88rem;}
}

/* DORISAN_YEAR_VISUAL_PARITY_V2: same historic gold year badge, only five new Home cards. */
.d30-grid > article.ds-stage-release .ds-release-info > .d30-album-year.ds-release-year {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  align-self:flex-start;
  width:fit-content;
  max-width:100%;
  margin-top:4px;
  padding:5px 9px;
  border:1px solid rgba(244,199,120,.62);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(244,199,120,.18),rgba(5,8,14,.88));
  color:#f4c778 !important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.78rem;
  font-weight:950;
  line-height:1.1;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 8px 20px rgba(0,0,0,.24);
  visibility:visible !important;
  opacity:1 !important;
}
