:root {
  font-family: "Times New Roman", serif;
  color: #000;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px 16px;
  background-color: #000;
  background-image: url("site-assets/6IOFNFBLJWVCIWFA7GNNOIG5AWEGJ6PH.gif");
  background-repeat: repeat;
  font-family: "Times New Roman", serif;
}

a {
  color: #00e;
}

a:visited {
  color: #551a8b;
}

/* THREE-COLUMN LAYOUT */
.site-layout {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px;
  gap: 12px;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.side-window,
.gallery-window,
.now-playing-window {
  min-width: 0;
}

/* LEFT: LINKS */
.side-window .window-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.link-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* CENTER: VIDEO GALLERY */
.gallery-window .window-body {
  padding: 12px;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.video-gallery[hidden],
.video-viewer[hidden],
.video-message[hidden] {
  display: none;
}

.video-thumb {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  color: #000;
  font: inherit;
}

.video-thumb:hover {
  outline: 1px dotted #000;
  outline-offset: 1px;
}

.video-thumb video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}

.video-thumb-label {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.video-viewer {
  width: 100%;
  min-width: 0;
}

#back-to-gallery {
  margin-bottom: 10px;
}

#video-player {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 75vh;
  background: #000;
}

.video-message {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}

/* RIGHT: SIDEBAR */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* NOW PLAYING */
.now-playing-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  text-align: center;
}

.player-gif {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.now-playing-title {
  width: 100%;
  font-family: "Times New Roman", serif;
  font-size: 15px;
  font-weight: bold;
  overflow-wrap: anywhere;
}

#audio-toggle {
  min-width: 44px;
  min-height: 34px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

/* UPCOMING RELEASE */
.drop-announcement-body {
  padding: 10px;
  text-align: center;
  background: #c0c0c0;
}

.drop-announcement-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.drop-announcement-body::after {
  content: "#00000 is yours october 29th";
  display: block;
  margin-top: 6px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  color: #000080;
}

/* GIF PANEL ONE */
.gif-panel-one-body {
  align-items: center;
  text-align: center;
  padding: 8px;
}

.gif-panel-one-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

.gif-panel-one-caption {
  margin-top: 6px;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  overflow-wrap: anywhere;
  text-align: center;
}

/* DISCOGRAPHY SIDEBAR BUTTON */
.discography-button-body {
  padding: 7px;
  text-align: center;
}

.discography-gif-button {
  display: block;
  width: 100%;
  padding: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: #000;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.discography-gif {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 5px;
  object-fit: contain;
  transition:
    filter 120ms ease,
    opacity 120ms ease;
}

.discography-gif-button span {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.discography-gif-button:hover {
  border: 1px dotted #000;
  outline: 1px dotted #fff;
  outline-offset: -3px;
  background: #d8d8d8;
}

.discography-gif-button:hover .discography-gif {
  filter: brightness(1.15);
}

.discography-gif-button:active .discography-gif {
  filter: brightness(0.8);
}

.discography-gif-button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -2px;
}

/* VIEW SWITCHING */
#discography-view[hidden],
#videos-view[hidden] {
  display: none !important;
}

#back-to-videos {
  margin-bottom: 10px;
}

/* DISCOGRAPHY RELEASE GRID */
.discography-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.discography-release {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 6px;
  border: 1px solid #808080;
  background: #c0c0c0;
  color: #000;
}

.discography-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}

.discography-release-info {
  min-width: 0;
}

.discography-release-title {
  margin: 0 0 3px;
  font-family: "Times New Roman", serif;
  font-size: 14px;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.discography-release-meta {
  margin-bottom: 6px;
  font-size: 10px;
  color: #444;
}

.discography-tracklist {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.discography-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid #808080;
  font-size: 11px;
}

.discography-platforms a {
  overflow-wrap: anywhere;
}

.discography-empty {
  grid-column: 1 / -1;
  margin: 4px 0;
  font-size: 12px;
}

/* PHOTO GALLERY */
#photo-gallery-view[hidden],
#photo-gallery[hidden],
#photo-viewer[hidden] {
  display: none !important;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-thumb {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  color: #000;
  font: inherit;
}

.photo-thumb:hover {
  outline: 1px dotted #000;
  outline-offset: 1px;
}

.photo-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}

.photo-thumb-error img {
  min-height: 60px;
}

.photo-viewer {
  width: 100%;
  min-width: 0;
}

#back-to-photos {
  margin-bottom: 10px;
}

#photo-viewer-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #000;
}

#photo-viewer-caption {
  margin: 8px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
