/* Relic Forge RC4.7D — shared visual shell + richer Upcoming Mints metadata */

:root {
  --rf47d-bg: #080808;
}

html { background: var(--rf47d-bg); }
body,
.site-page-body,
.studio-page-body,
.dashboard-page-body,
.rc47b-page {
  background:
    radial-gradient(circle at 20% -8%, rgba(255,255,255,.055), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.025), transparent 24%),
    var(--rf47d-bg) !important;
  background-attachment: fixed !important;
}

/* Match the Studio header everywhere inside the Studio ecosystem. */
.rf-shell-ready .rf-shell-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: transparent;
}
.rf-shell-ready .rf-shell-header .rf-shell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  letter-spacing: normal;
}
.rf-shell-ready .rf-shell-header .rf-shell-brand img,
.rf-shell-ready .rf-shell-header .rf-shell-brand .brand-logo {
  width: 42px;
  height: 42px;
}
.rf-shell-ready .rf-shell-header .rf-shell-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .13em;
}
.rf-shell-ready .rf-shell-header .rf-shell-brand span {
  display: block;
  margin-top: 3px;
  color: #9a9a9a;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: none;
}

/* RC4.7B utility pages now use the same 1440px / 28px Studio frame. */
.rc47b-page .rc47b-nav {
  position: relative;
  top: auto;
  z-index: 20;
  width: min(1440px, 100%);
  min-height: 84px;
  margin: 0 auto;
  padding: 0 28px;
  background: transparent;
  backdrop-filter: none;
}
.rc47b-page .rc47b-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 28px 40px;
}
.rc47b-page .rc47b-hero {
  padding: 34px 0 30px;
}

/* Homepage Upcoming Mints metadata. */
.site-upcoming-copy {
  min-width: 0;
  display: grid;
  align-content: center;
}
.site-upcoming-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 820px;
  margin-top: 16px;
}
.site-upcoming-meta > div,
.rc47d-upcoming-meta > div {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255,255,255,.018);
}
.site-upcoming-meta span,
.rc47d-upcoming-meta span {
  display: block;
  color: #707070;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.site-upcoming-meta b,
.rc47d-upcoming-meta b {
  display: block;
  margin-top: 5px;
  color: #d8d8d8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Full Upcoming Mints card metadata. */
.rc47d-upcoming-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 8px 0 2px;
}

@media (max-width: 900px) {
  .site-upcoming-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .rc47b-page .rc47b-nav,
  .rc47b-page .rc47b-shell { padding-left: 14px; padding-right: 14px; }
  .rf-shell-ready .rf-shell-header,
  .rc47b-page .rc47b-nav { min-height: 70px; }
  .rf-shell-ready .rf-shell-header .rf-shell-brand img,
  .rf-shell-ready .rf-shell-header .rf-shell-brand .brand-logo { width: 36px; height: 36px; }
  .rf-shell-ready .rf-shell-header .rf-shell-brand strong { font-size: 14px; }
  .rf-shell-ready .rf-shell-header .rf-shell-brand span { font-size: 10px; }
  .rc47b-page .rc47b-hero { padding-top: 26px; }
  .site-upcoming-slide { grid-template-columns: 96px minmax(0,1fr); gap: 14px; }
  .site-upcoming-meta { margin-top: 10px; }
}

@media (max-width: 520px) {
  .site-upcoming-slide { grid-template-columns: 78px minmax(0,1fr); padding: 12px; }
  .site-upcoming-slide img { width: 78px; height: 78px; }
  .site-upcoming-meta,
  .rc47d-upcoming-meta { grid-template-columns: 1fr 1fr; }
  .site-upcoming-meta > div,
  .rc47d-upcoming-meta > div { padding: 8px; }
}
