body {
  overflow: hidden;
}

#karaoke {
  background: #0a1a4a;
  background-image: url(/assets/pisonet.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
#karaoke::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
  pointer-events: none;
}

#bg-preview {
  position: absolute;
  inset: -40px;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background-blend-mode: hue;
}
#bg-preview.active {
  opacity: 1;
}

#karaoke > *:not(#bg-preview):not(#settings-modal) {
  position: relative;
  z-index: 2;
}

#piece-wrapper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

#guide-bar {
  flex-shrink: 0;
  padding: 0.75rem 0 0;
  position: relative;
  z-index: 2;
}

#guide-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 2px solid rgba(60, 100, 200, 0.3);
}
#guide-header .guide-top {
  display: flex;
  flex-direction: column;
}
#guide-header .guide-date {
  font-size: 1rem;
  opacity: 0.5;
  margin-bottom: 0.2rem;
}
#guide-header .guide-brand {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#guide-header .guide-right {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
#guide-header .guide-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
}
#guide-header .guide-count {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.35;
}

#guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(60, 100, 200, 0.3);
}
#guide-filters .filter-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
  align-self: center;
  margin: 0 0.15rem;
}
#guide-filters .filter-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.15s;
}
#guide-filters .filter-tag:hover {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.4);
}
#guide-filters .filter-tag[data-tag=all] {
  padding: 0.5rem 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  border-width: 2px;
}
#guide-filters .filter-tag.active {
  opacity: 1;
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

.piece-link.dimmed {
  opacity: 0.15;
  pointer-events: none;
}

.piece-link.matched-tag {
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.3), 0 0 25px rgba(255, 204, 0, 0.1);
}

#piece-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.75rem;
  flex-shrink: 0;
  padding-bottom: 4rem;
}

.piece-link {
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: all 0.1s;
  border-bottom: 1px solid rgba(60, 100, 200, 0.3);
  background: rgba(20, 50, 130, 0.7);
}
.piece-link:nth-child(4n+3), .piece-link:nth-child(4n+4) {
  background: rgba(15, 40, 110, 0.6);
}
.piece-link .number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  align-self: stretch;
  flex-shrink: 0;
  background: rgba(10, 30, 90, 0.9);
  font-size: 0.85rem;
  border-right: 1px solid rgba(60, 100, 200, 0.3);
  opacity: 0.7;
}
.piece-link .program-info {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.75rem;
  display: flex;
  align-items: center;
}
.piece-link .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
}
.piece-link .visited {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1px 4px;
  margin-left: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  opacity: 0.5;
}
.piece-link .dots {
  flex: 1 0 15px;
  height: 1px;
  margin: 0 0.5rem;
  align-self: center;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}
.piece-link .artist {
  flex-shrink: 0;
  opacity: 0.45;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  text-align: right;
}
.piece-link:hover, .piece-link[matched] {
  background: #ffcc00;
  color: #000;
}
.piece-link:hover .number, .piece-link[matched] .number {
  background: #cca300;
  color: #000;
  opacity: 1;
}
.piece-link:hover .visited, .piece-link[matched] .visited {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}
.piece-link:hover .dots, .piece-link[matched] .dots {
  border-color: rgba(0, 0, 0, 0.15);
}
.piece-link:hover .artist, .piece-link[matched] .artist {
  opacity: 0.6;
  color: #000;
}

@media (min-width: 1400px) {
  .piece-link .artist {
    display: block;
  }
}
#caption {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90vw !important;
  max-width: 1200px !important;
  height: auto !important;
  z-index: 100 !important;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
}
#caption .wrapper {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#caption [line] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

@media (max-width: 900px) {
  #piece-list {
    grid-template-columns: 1fr;
  }
  #piece-wrapper {
    padding: 0 0.75rem;
    justify-content: flex-start;
  }
  #guide-bar {
    padding: 0.5rem 0 0;
  }
  .piece-link {
    font-size: 0.9rem;
  }
  .piece-link .number {
    width: 45px;
    font-size: 0.75rem;
  }
  .piece-link .artist {
    display: none;
  }
  .piece-link .dots {
    display: none;
  }
  #guide-header .guide-right {
    display: none;
  }
  .guide-brand {
    font-size: 1.2rem !important;
  }
}

/*# sourceMappingURL=browse.css.map */
