@font-face {
  font-family: 'Deltarune';
  src: url('font.otf') format('opentype');
}

body {
  background: #000;
  color: #fff;
  font-family: 'Deltarune', monospace;
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.5px;
}

.stretched-text {
  display: inline-block;
  transform: scaleY(1.1); 
  transform-origin: bottom; 
}

.menu {
  width: min(90vw, 800px); 
}

a {
  color: inherit !important;
  text-decoration: none !important;
  outline: none !important;
  display: block;
}

.row {
  display: grid;
  grid-template-columns: 200px 1fr auto; 
  align-items: center;
  padding: 12px 0; 
  gap: 16px; 
  letter-spacing: 0.5px;
}

.disabled-row {
  display: grid;
  opacity: 0.7;
  grid-template-columns: 200px 1fr auto; 
  align-items: center;
  padding: 12px 0; 
  gap: 16px; 
  letter-spacing: 0.5px;
}

.row > *,
.title,
.badge,
.chapter {
  display: inline-block;
  transform: scaleY(1.1);
  transform-origin: bottom;
}

.row:hover .chapter,
.selected .chapter,
.selected .title,
.row:hover .title {
  color: #fefe00;
}
.row:hover img,
.selected img {
  filter: sepia(1) saturate(100);
}

.coming-soon {
  opacity: 0.7;
}

.badge {
  font-size: 24px; 
  color: #ff9;
  padding-left: 20px; 
}

.chapter {
  text-align: left;
}

.title {
  text-align: center;
}
.disabled-title {
  text-align: center;
  opacity: 0.7;
}

img {
  width: 60px;
  height: 50px;
  image-rendering: pixelated;
}

.logo {
  width: 700px; 
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto; 
}

#mute {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #222;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}
  /* Inline styles for in-page chapter iframe overlay */
  .chapter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .chapter-overlay iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
  }
  .chapter-overlay .close-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 12px;
    font-family: sans-serif;
    cursor: pointer;
    z-index: 10000;
    border-radius: 4px;
  }