#homeCover[hidden] { display: none; }
#homeCover {
  display: block;
  padding: 0;
  position: fixed;
  inset: 0;
  z-index: 19;
  overflow: auto;
  overscroll-behavior: contain;
  background: radial-gradient(ellipse at 44% 40%, #293338, #0b1115 75%);
  color: #f2e1b6;
}
body:has(#homeCover:not([hidden])) { overflow: hidden; }
.cover-layout {
  min-height: 100%;
  display: grid;
  grid-template-columns: auto minmax(190px, 300px);
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.cover-art {
  display: block;
  width: min(54vw, 650px, calc((100svh - 32px) * .8));
  height: auto;
  border: 1px solid #b89b6266;
  box-shadow: 0 12px 40px #0009;
}
.cover-actions { display: grid; gap: 9px; width: 100%; }
.cover-actions button {
  min-height: 46px;
  width: 100%;
  background: #172125;
  color: #f2e1b6;
  border: 1px solid #a28a55;
  border-radius: 4px;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: .13em;
  padding: 8px 12px;
}
.cover-actions button:first-child { background: #e4c487; color: #202022; font-weight: 700; }
.cover-actions button:not(:disabled):hover { background: #f4dfa7; color: #202022; }
.cover-actions button:disabled { opacity: .7; cursor: default; }
.cover-actions small {
  display: block;
  margin-top: 2px;
  font: 11px/1.4 system-ui, sans-serif;
  letter-spacing: .04em;
  opacity: .83;
}
@media (orientation: portrait), (max-width: 520px) {
  .cover-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(10px, 2vh, 24px);
  }
  .cover-art { width: min(100%, 650px, calc((100svh - 258px) * .8)); min-width: min(100%, 190px); }
  .cover-actions { max-width: 350px; }
}
@media (orientation: landscape) and (max-height: 480px) {
  .cover-layout { gap: clamp(16px, 4vw, 32px); grid-template-columns: auto minmax(170px, 240px); }
  .cover-art { width: min(48vw, calc((100svh - 28px) * .8)); }
  .cover-actions button { font-size: 16px; }
}

