/* METAL BOOST unified static-page header FONT22 (2026-07-12)
   Matches the compact homepage header so navigation does not change layout. */
:root {
  --mb-header-gold: #d4af37;
  --mb-header-border: rgba(255,255,255,.1);
  --mb-header-font-body: "Roboto", "Noto Sans JP", sans-serif;
  --mb-header-font-display: "Cinzel",serif;
}
html { scroll-padding-top: 82px; }
body.mb-unified-header-page { padding-top: 70px !important; }
.site-header.mb-unified-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  height: 70px !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0,0,0,.9) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 0 !important;
  border-bottom: 1px solid var(--mb-header-border) !important;
  box-sizing: border-box !important;
}
.site-header.mb-unified-header .mb-unified-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1400px !important;
  height: 70px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  gap: 22px !important;
}
.site-header.mb-unified-header .brand {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mb-header-gold) !important;
  background: linear-gradient(135deg,#d4af37 0%,#fcf6ba 50%,#b38728 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--mb-header-font-display) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: 1px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.site-header.mb-unified-header .mb-unified-nav-list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  white-space: nowrap !important;
}
.site-header.mb-unified-header .mb-unified-nav-list::-webkit-scrollbar { display: none; }
.site-header.mb-unified-header .mb-unified-nav-list li {
  flex: 0 0 auto !important;
  margin: 0 0 0 20px !important;
  padding: 0 !important;
  text-align: center !important;
}
.site-header.mb-unified-header .mb-unified-nav-list a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: var(--mb-header-font-body) !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: 1px !important;
  text-decoration: none !important;
  transition: color .3s ease !important;
}
.site-header.mb-unified-header .mb-unified-nav-list a span {
  display: block !important;
  margin-top: -3px !important;
  color: #888 !important;
  font-size: .6rem !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: 0 !important;
}
.site-header.mb-unified-header .mb-unified-nav-list a:hover,
.site-header.mb-unified-header .mb-unified-nav-list a:focus-visible,
.site-header.mb-unified-header .mb-unified-nav-list a:hover span,
.site-header.mb-unified-header .mb-unified-nav-list a:focus-visible span {
  color: var(--mb-header-gold) !important;
}
@media (max-width: 900px) {
  .site-header.mb-unified-header .mb-unified-nav { gap: 12px !important; padding-inline: 14px !important; }
  .site-header.mb-unified-header .brand { font-size: 1.25rem !important; }
  .site-header.mb-unified-header .mb-unified-nav-list li { margin-left: 14px !important; }
}

/* --- Opt-in hamburger menu (activated by mb-unified-header-nav.js, which adds
   .mb-has-hamburger). Pages without that script keep the plain scrolling nav. --- */
.site-header.mb-unified-header .mb-nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle {
    display: inline-flex !important; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; flex: 0 0 auto;
  }
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle span {
    display: block; width: 24px; height: 2px; margin: 0 auto; background: var(--mb-header-gold);
    transition: transform .25s, opacity .25s;
  }
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle.open span:nth-child(2) { opacity: 0; }
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.mb-unified-header.mb-has-hamburger .mb-nav-toggle:focus-visible { outline: 2px solid var(--mb-header-gold); outline-offset: 2px; }

  .site-header.mb-unified-header.mb-has-hamburger .mb-unified-nav-list {
    position: fixed !important; top: 70px; left: 0; right: 0;
    flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important;
    max-height: calc(100vh - 70px); overflow-x: hidden !important; overflow-y: auto !important; white-space: normal !important;
    margin: 0 !important; padding: 6px 0 !important;
    background: rgba(0,0,0,.97); border-bottom: 1px solid var(--mb-header-border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s, opacity .25s, visibility .25s; z-index: 999;
  }
  .site-header.mb-unified-header.mb-has-hamburger .mb-unified-nav-list.open {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
  }
  .site-header.mb-unified-header.mb-has-hamburger .mb-unified-nav-list li { margin: 0 !important; text-align: left !important; }
  .site-header.mb-unified-header.mb-has-hamburger .mb-unified-nav-list a {
    display: flex !important; align-items: baseline; gap: 10px;
    padding: 14px 24px !important; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1rem !important;
  }
  .site-header.mb-unified-header.mb-has-hamburger .mb-unified-nav-list a span {
    display: inline !important; margin-top: 0 !important; font-size: .72rem !important;
  }
}

/* --- Opt-in mobile category dropdown for hub pages (DECADE/YEAR/GENRE/SCENE).
   mb-hub-filter-select.js adds .mb-hub-grid-collapsed to the link grid and inserts
   a .mb-hub-filter-select before it. The original <a> links stay in the DOM (only
   visually hidden on phones) so internal links remain crawlable — no SEO loss. --- */
.mb-hub-filter-select { display: none; }
@media (max-width: 768px) {
  .card-grid.mb-hub-grid-collapsed { display: none !important; }
  .mb-hub-filter-select {
    display: block; width: 100%; max-width: 420px; margin: 0 auto; box-sizing: border-box;
    padding: 13px 40px 13px 14px; color: #ddd; border: 1px solid #444; border-radius: 4px;
    background-color: rgba(0,0,0,.72);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23d4af37' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    font-family: "Oswald", "Noto Sans JP", sans-serif; font-size: 1rem; letter-spacing: .04em;
    -webkit-appearance: none; appearance: none; cursor: pointer;
  }
  .mb-hub-filter-select:focus-visible { outline: 2px solid var(--mb-header-gold); outline-offset: 2px; }
}

/* --- Larger main text on index/hub/album buttons (owner request, phones) --- */
@media (max-width: 768px) {
  .hub-btn-index-name { font-size: 1.35rem !important; }
  .artist-btn-index-name { font-size: 1.35rem !important; }
}

/* --- Album cards on hub leaf pages: make the whole card clickable (stretched
   link) and the album name prominent. The inner artist link in .meta is lifted
   above the overlay so it stays clickable. --- */
.card.hub-card { position: relative; }
.card.hub-card > a:first-child::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card.hub-card .meta a { position: relative; z-index: 1; }
.card.hub-card > a:first-child strong { font-size: 1.2rem; }
@media (max-width: 768px) {
  .card.hub-card > a:first-child strong { font-size: 1.35rem; }
}
