/* Potato-core lyrics page */
@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700;800&display=swap");

:root {
  --comic-font: "Comic Sans MS", "Comic Sans", "Comic Neue", system-ui, sans-serif;
  --ink: #25162f;
  --paper: #fff8d6;
  --hot-pink: #ff4fd8;
  --banana: #ffe45c;
  --acid: #9cff3b;
  --sky: #60e7ff;
  --purple: #8c5cff;
  --danger: #ff5a5f;
  --mint: #baffef;
  --lavender: #e1d3ff;
  --shadow: 0 18px 45px rgba(37, 22, 47, 0.22);
  --border: 4px solid #25162f;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Comic Sans MS", "Comic Sans", "Comic Neue", system-ui, sans-serif;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(255, 79, 216, 0.35),
      transparent 26rem
    ),
    radial-gradient(
      circle at 92% 7%,
      rgba(96, 231, 255, 0.34),
      transparent 28rem
    ),
    linear-gradient(rgba(255, 248, 214, 0.22), rgba(255, 248, 214, 0.22)),
    url("assets/cloudbackground.gif");
  background-size: auto, auto, auto, cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "📜 🥔 🔒 🎸";
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 0;
  font-size: clamp(1.8rem, 4vw, 4rem);
  opacity: 0.16;
  pointer-events: none;
  animation: floaty 4s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0 !important;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 99;
  padding: 0.75rem 1rem;
  background: var(--banana);
  border: var(--border);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.nav-shell {
  width: min(1180px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 248, 214, 0.88);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 7px 7px 0 rgba(37, 22, 47, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-potato {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--banana);
  border: 3px solid var(--ink);
  font-size: 1.5rem;
  animation: wiggle 1.8s ease-in-out infinite;
}

.brand strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1;
}

.brand small {
  display: block;
  max-width: 32ch;
  font-size: 0.8rem;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links > a,
.dropdown-button {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.nav-links > a:hover,
.nav-links > a.active,
.dropdown:hover .dropdown-button,
.dropdown-button:focus {
  background: var(--hot-pink);
  border-color: var(--ink);
  transform: rotate(-1deg);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--paper);
  border: var(--border);
  border-radius: 20px;
  box-shadow: 7px 7px 0 rgba(37, 22, 47, 0.35);
  opacity: 0;
  transform: translateY(-0.5rem) scale(0.96);
  pointer-events: none;
  transition: 0.18s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  font-weight: 900;
}

.dropdown-menu a:hover {
  background: var(--sky);
}

main {
  position: relative;
  z-index: 1;
}

.lyrics-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.stats-card,
.browser-shell,
.lyrics-shell,
.link-vault,
.site-footer {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow),
    9px 9px 0 rgba(37, 22, 47, 0.24);
}

.hero-copy {
  position: relative;
  min-height: 470px;
  padding: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 228, 92, 0.95), rgba(255, 79, 216, 0.88)),
    url("assets/buttonbackground.gif");
  background-size: cover;
  overflow: hidden;
}

.hero-copy::after {
  content: "LYRICS";
  position: absolute;
  right: -1.5rem;
  bottom: 0.5rem;
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.23);
  -webkit-text-stroke: 2px rgba(37, 22, 47, 0.22);
  transform: rotate(-7deg);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  background: var(--acid);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  max-width: 10ch;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  text-shadow:
    4px 4px 0 var(--sky),
    8px 8px 0 var(--purple);
}

.hero-copy > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 800;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.1rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.35);
  transition: 0.15s ease;
}

.button:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 8px 8px 0 rgba(37, 22, 47, 0.35);
}

.button-primary {
  background: var(--sky);
}

.button-secondary {
  background: var(--paper);
}

.stats-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
    url("assets/pinkclouds.jpg");
  background-size: cover;
}

.stats-sticker {
  position: absolute;
  top: 0.6rem;
  left: 0.4rem;
  z-index: 2;
  padding: 0.55rem 0.8rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--danger);
  color: white;
  font-weight: 900;
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.3);
  transform: rotate(-9deg);
}

.stat {
  padding: 1.25rem;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 248, 214, 0.92);
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.16);
}

.stat strong {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.stat span {
  font-weight: 900;
  text-transform: uppercase;
}

.marquee-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: var(--border);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 7px 7px 0 rgba(37, 22, 47, 0.22);
}

.marquee-strip div {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  animation: scroll 18s linear infinite;
}

.marquee-strip span {
  font-weight: 900;
}

.browser-shell,
.lyrics-shell,
.link-vault {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255, 248, 214, 0.92);
}

.release-shelf {
  padding: 1rem;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.release-shelf + .release-shelf {
  margin-top: 1.25rem;
}

.shelf-heading,
.section-heading,
.lyrics-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shelf-heading h2,
.section-heading h2,
.lyrics-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.release-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-height: 100%;
  padding: 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: white;
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.16);
  transition: 0.16s ease;
}

.release-card:hover,
.release-card.active {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 9px 9px 0 rgba(37, 22, 47, 0.22);
  background: var(--banana);
}

.cover-wrap {
  position: relative;
  display: block;
}

.cover-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
}

.release-badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.25rem 0.45rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
}

.release-badge.locked {
  background: var(--danger);
  color: white;
}

.release-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.release-info strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.release-info small {
  flex: none;
  opacity: 0.75;
  font-weight: 900;
}

.release-desc {
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0.9;
  font-weight: 700;
}

.lyrics-heading {
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 3px dashed rgba(37, 22, 47, 0.35);
}

.lyrics-heading p {
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.release-meta {
  color: #7a28ff;
  font-weight: 900 !important;
}

.empty-state,
.album-lock,
.release-panel {
  margin-top: 1rem;
  padding: 1.25rem;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.16);
}

.empty-state strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.empty-state p,
.album-lock p {
  margin-bottom: 0;
  font-weight: 800;
}

.album-lock {
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 209, 236, 0.94),
      rgba(255, 248, 214, 0.94)
    ),
    url("assets/buttonbackground.gif");
  background-size: cover;
}

.lock-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 1rem auto 0;
  flex-wrap: wrap;
}

.album-lock input[type="password"] {
  width: min(100%, 280px);
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  font-weight: 900;
}

.album-lock button {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(37, 22, 47, 0.25);
}

.album-lock button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(37, 22, 47, 0.25);
}

.lock-error {
  min-height: 1.4em;
  margin-top: 0.8rem !important;
  color: #b60032;
}

.release-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 248, 214, 0.92)
  );
}

details.lyric {
  padding: 0;
  border: 3px solid rgba(37, 22, 47, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

details.lyric + details.lyric {
  margin-top: 0.9rem;
}

details.lyric[open] {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.14);
}

details.lyric summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 1rem;
  font-weight: 900;
  background: var(--paper);
}

details.lyric summary::-webkit-details-marker {
  display: none;
}

details.lyric summary::after {
  content: "＋";
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--hot-pink);
  color: white;
  font-weight: 900;
}

details.lyric[open] summary::after {
  content: "−";
  background: var(--sky);
  color: var(--ink);
}

.song-title {
  font-size: 1.15rem;
}

.meta {
  font-size: 0.9rem;
  color: rgba(37, 22, 47, 0.62);
  font-weight: 800;
}

.song-actions {
  margin: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.song-actions audio {
  width: min(100%, 460px);
}

.song-actions iframe {
  width: 100%;
  max-width: 760px;
  min-height: 152px;
  border: 0;
  border-radius: 14px;
}

pre.lyric-text {
  white-space: pre-wrap;
  line-height: 1.65;
  margin: 0;
  padding: 1rem;
  font-family: "Comic Sans MS", "Comic Sans", "Comic Neue", system-ui, sans-serif;
  font-weight: 700;
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("assets/sillytextbox.jpg");
  background-size: cover;
  border-top: 3px dashed rgba(37, 22, 47, 0.24);
  overflow-x: auto;
}

.link-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.link-box {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.16);
}

.link-box h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.link-box a {
  padding: 0.65rem 0.75rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-weight: 900;
}

.link-box a:hover {
  background: var(--acid);
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto 2rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(37, 22, 47, 0.92);
  color: var(--paper);
}

.site-footer p {
  margin: 0.25rem 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--sky);
  font-weight: 900;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(7deg) scale(1.06);
  }
}

@keyframes floaty {
  from {
    transform: translateY(0) rotate(-4deg);
  }
  to {
    transform: translateY(-1rem) rotate(5deg);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .nav-shell {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-menu {
    left: 0;
    right: auto;
  }

  .lyrics-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 430px;
  }

  .stats-card {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 3.2rem;
  }

  .release-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  }

  .shelf-heading,
  .section-heading,
  .lyrics-heading {
    display: block;
  }

  .link-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand small {
    white-space: normal;
  }

  .nav-links > a,
  .dropdown-button {
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-card,
  .link-columns {
    grid-template-columns: 1fr;
  }

  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-card {
    padding: 0.55rem;
  }

  .release-desc {
    display: none;
  }

  details.lyric summary {
    align-items: flex-start;
  }

  details.lyric summary::after {
    margin-left: 0;
  }

  .marquee-strip div {
    animation-duration: 12s;
  }
}

@media (max-width: 380px) {
  .release-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ===== v2 polish fixes =====
   Fixes clipped borders/shadows, long single names, and cleaner status badges. */
.release-shelf,
.link-vault,
.release-grid,
.link-columns {
  overflow: visible;
}

.release-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  padding: 0 0.75rem 0.9rem 0;
}

.link-columns {
  padding: 0 0.75rem 0.9rem 0;
}

.release-card,
.link-box,
.link-box a,
.album-lock button,
.button,
.nav-links > a,
.dropdown-button {
  min-width: 0;
  overflow: visible;
}

.release-card {
  align-content: start;
}

.release-info {
  display: block;
  min-width: 0;
}

.release-info strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.release-info small {
  display: block;
  margin-top: 0.25rem;
}

.cover-wrap img {
  width: 100%;
  max-width: 100%;
}

.release-badge {
  font-size: clamp(0.56rem, 1.8vw, 0.68rem);
  line-height: 1;
  max-width: calc(100% - 0.9rem);
  white-space: nowrap;
}

.release-badge.locked {
  background: var(--danger);
  color: white;
}

@media (max-width: 560px) {
  .release-grid {
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    padding-right: 0.5rem;
  }
}

/* ===== organization/pass 3 clipping + card-size fixes =====
   Inline anchors were the real goblin: inline elements with fat padding/borders can
   visually clip at the bottom. These are block/flex now. */
.nav-links > a,
.dropdown-button,
.dropdown-menu a,
.button,
.release-card,
.link-box a,
.album-lock button,
.release-badge {
  line-height: 1.2;
}

.nav-links > a,
.dropdown-button,
.dropdown-menu a,
.link-box a,
.release-card,
.button {
  min-width: 0;
  overflow: visible;
}

.dropdown-menu a,
.link-box a {
  display: flex;
  align-items: center;
  min-height: 3rem;
}

.release-grid,
.link-columns {
  overflow: visible;
  padding: 0 0.9rem 1rem 0;
}

.release-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.release-card {
  width: 100%;
  max-width: 100%;
  align-content: start;
}

.cover-wrap,
.cover-wrap img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.release-info,
.release-info strong,
.release-desc {
  min-width: 0;
  max-width: 100%;
}

.release-info {
  display: block;
}

.release-info strong,
.release-desc {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.release-info small {
  display: block;
  margin-top: 0.3rem;
}

/* Singles do not need a track count; keep card height sane even for cursed long names. */
.release-card[data-target="kumamon"] .release-info strong {
  font-size: clamp(0.82rem, 1.2vw, 1rem);
}

.release-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  max-width: calc(100% - 0.9rem);
  white-space: nowrap;
  overflow: visible;
}

@media (max-width: 560px) {
  .release-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    padding-right: 0.5rem;
  }
}

/* ===== Compact color-coded redirect bunker ===== */
.link-vault {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.link-vault .compact-heading,
.link-vault .section-heading {
  align-items: center;
  margin-bottom: 0.85rem;
}

.redirect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.7rem;
  overflow: visible;
}

.redirect-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.72rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(37, 22, 47, 0.22);
  line-height: 1.15;
  font-weight: 900;
  overflow: visible;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.redirect-card:hover,
.redirect-card:focus {
  transform: translate(-2px, -2px) rotate(-0.75deg);
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.24);
  filter: saturate(1.12);
}

.redirect-card span {
  font-size: 1.02rem;
}

.redirect-card small {
  margin-top: 0.22rem;
  font-size: 0.78rem;
  opacity: 0.88;
}

.redirect-card.spotify {
  background: #1db954;
  color: #111;
}
.redirect-card.youtube {
  background: #ff0033;
  color: #fff;
}
.redirect-card.steam {
  background: #1b2838;
  color: #fff;
}
.redirect-card.reddit {
  background: #ff5700;
  color: #fff;
}
.redirect-card.wikipedia {
  background: #f8f9fa;
  color: #202122;
}
.redirect-card.chess {
  background: #81b64c;
  color: #111;
}
.redirect-card.timeguessr {
  background: #7c6cff;
  color: #fff;
}
.redirect-card.lycaon {
  background: #e1d3ff;
  color: #25162f;
}

@media (max-width: 560px) {
  .redirect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .redirect-card {
    min-height: 3.9rem;
    padding: 0.65rem 0.75rem;
  }
}

/* ===== Release shelf sizing: max 5 normal tiles per category ===== */
.release-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
  justify-content: center;
  gap: 1rem;
  padding: 0 0.75rem 0.95rem;
}

.release-card {
  width: 100%;
  max-width: 200px;
}

.release-info small:empty {
  display: none;
}

/* Keep the ridiculous bear title inside the card instead of letting it become a war crime. */
.release-card[data-target="kumamon"] .release-info strong {
  font-size: clamp(0.76rem, 0.9vw, 0.92rem);
  letter-spacing: -0.02em;
}

@media (min-width: 1000px) {
  .release-grid {
    grid-template-columns: repeat(5, minmax(0, 200px));
  }

  .release-shelf:nth-of-type(2) .release-grid {
    grid-template-columns: repeat(3, minmax(0, 200px));
  }
}

@media (max-width: 560px) {
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0.45rem 0.75rem;
  }

  .release-card {
    max-width: none;
  }
}

/* ===== Extra funky redirect buttons ===== */
.redirect-card {
  appearance: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.redirect-card.ana {
  background: #005bac;
  color: #fff;
}

.redirect-card.killerfish {
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(255, 255, 255, 0.5),
      transparent 1.2rem
    ),
    linear-gradient(135deg, #00d4ff, #006d77);
  color: #fff;
}

.redirect-card.lootcart {
  background: linear-gradient(135deg, #ffd166, #b56b20);
  color: #25162f;
}

.redirect-card.do-not-click {
  background: repeating-linear-gradient(
    135deg,
    #ff2f4f 0 12px,
    #ffe45c 12px 24px
  );
  color: #25162f;
}

.redirect-card.do-not-click.is-playing {
  animation: jetpack-panic 0.18s linear infinite;
  filter: saturate(1.4) contrast(1.05);
}

@keyframes jetpack-panic {
  0% {
    transform: translate(-2px, -2px) rotate(-1deg);
  }
  50% {
    transform: translate(2px, -3px) rotate(1.5deg);
  }
  100% {
    transform: translate(-2px, -2px) rotate(-1deg);
  }
}

/* ===== Redirect bunker pass 4: match landing page buttons ===== */
.link-vault {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.link-vault .section-heading {
  align-items: center;
  margin-bottom: 0.85rem;
}

.redirect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.7rem;
  overflow: visible;
}

.redirect-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.72rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(37, 22, 47, 0.22);
  line-height: 1.15;
  font-weight: 900;
  overflow: visible;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
  appearance: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.redirect-card:hover,
.redirect-card:focus {
  transform: translate(-2px, -2px) rotate(-0.75deg);
  box-shadow: 5px 5px 0 rgba(37, 22, 47, 0.24);
  filter: saturate(1.12);
}

.redirect-card span {
  font-size: 1.02rem;
}

.redirect-card small {
  margin-top: 0.22rem;
  font-size: 0.78rem;
  opacity: 0.88;
}

.redirect-card.spotify {
  background: #1db954;
  color: #111;
}
.redirect-card.youtube {
  background: #ff0033;
  color: #fff;
}
.redirect-card.steam {
  background: #1b2838;
  color: #fff;
}
.redirect-card.reddit {
  background: #ff5700;
  color: #fff;
}
.redirect-card.wikipedia {
  background: #f8f9fa;
  color: #202122;
}
.redirect-card.chess {
  background: #81b64c;
  color: #111;
}
.redirect-card.timeguessr {
  background: #7c6cff;
  color: #fff;
}
.redirect-card.lycaon {
  background: #e1d3ff;
  color: #25162f;
}
.redirect-card.ana {
  background: #005bac;
  color: #fff;
}
.redirect-card.killerfish {
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(255, 255, 255, 0.5),
      transparent 1.2rem
    ),
    linear-gradient(135deg, #00d4ff, #006d77);
  color: #fff;
}
.redirect-card.lootcart {
  background: linear-gradient(135deg, #ffd166, #b56b20);
  color: #25162f;
}
.redirect-card.do-not-click {
  background: repeating-linear-gradient(
    135deg,
    #ff2f4f 0 12px,
    #ffe45c 12px 24px
  );
  color: #25162f;
}

.redirect-card.do-not-click.is-playing {
  animation: jetpack-panic 0.18s linear infinite;
  filter: saturate(1.4) contrast(1.05);
}

@media (max-width: 560px) {
  .redirect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .redirect-card {
    min-height: 3.9rem;
    padding: 0.65rem 0.75rem;
  }
}

/* ===== Nav pass 4: no dropdown, simple direct links ===== */
.nav-links > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
}

/* ===== Pass 5: sticky anchor offset ===== */
html {
  scroll-padding-top: 7.75rem;
}

#release-browser,
#lyrics-area,
#links {
  scroll-margin-top: 7.75rem;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 1rem;
  }

  #release-browser,
  #lyrics-area,
  #links {
    scroll-margin-top: 1rem;
  }
}

/* ===== Launch V1 nav dropdown ===== */

.nav-menu {
  position: relative;
  padding-bottom: 0.35rem;
  margin-bottom: -0.35rem;
}

.nav-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.55rem;
}

.nav-menu-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nav-menu-button:hover,
.nav-menu-button:focus,
.nav-menu:hover .nav-menu-button,
.nav-menu:focus-within .nav-menu-button {
  background: var(--hot-pink);
  border-color: var(--ink);
  transform: rotate(-1deg);
}

.nav-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 60;
  min-width: 240px;
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  background: rgba(255, 248, 214, 0.96);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 7px 0 rgba(37, 22, 47, 0.28);
  opacity: 0;
  transform: translateY(-0.35rem) scale(0.98);
  pointer-events: none;
  transition: 0.16s ease;
}

.nav-menu:hover .nav-menu-list,
.nav-menu:focus-within .nav-menu-list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-menu-list a {
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 900;
}

.nav-menu-list a:hover,
.nav-menu-list a:focus,
.nav-menu-list a.active {
  background: var(--sky);
  border-color: var(--ink);
}

@media (max-width: 560px) {
  .nav-menu-list {
    left: 0;
    right: auto;
  }

  .nav-menu-button {
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
  }
}

/* Match index hero label/content positioning */
.lyrics-hero .hero-copy {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-left: clamp(1rem, 2.2vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2.4rem);
}

/* ===== Mobile dropdown stacking fix ===== */

.site-header {
  position: relative;
  z-index: 9999;
}

.nav-shell {
  position: relative;
  z-index: 10000;
  overflow: visible;
}

.nav-links,
.nav-menu {
  position: relative;
  z-index: 10001;
}

.nav-menu-list {
  z-index: 10002;
}

main {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    z-index: 9999;
  }

  .nav-shell {
    overflow: visible;
  }
}

/* ===== Horizontal overflow guard ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}