/* Dime B's own adjustments on the 00е style: the about block, releases, feed, streams, photo album, and forms. */

.y2k-button,
a.y2k-button {
  display: inline-block;
  text-decoration: none;
}

/* Clips: each loop sits in an era frame, at most half its 540-px source width. */
.dime-clip {
  margin: 0;
  padding: 6px;
  border: 3px ridge var(--y2k-silver);
  background: #000;
  text-align: center;
}

.dime-clip a {
  display: block;
  background: none;
}

.dime-clip a:hover {
  background: none;
}

.dime-clip video {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.dime-clip figcaption {
  margin-top: 6px;
  color: var(--y2k-lime);
  font: bold 12px/1.3 var(--y2k-comic);
}

/* About: the concert loop beside the greeting. */
.dime-about {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.dime-avatar {
  margin: 0;
}

.dime-avatar img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.dime-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.dime-second {
  background: linear-gradient(#0a0, #050);
  color: var(--y2k-yellow);
}

.dime-track {
  margin: 8px 0 0;
  text-align: center;
  font-weight: bold;
}

/* Music: each release is a cover, its words and links, and its loop. */
.dime-release {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: start;
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--y2k-blue);
}

.dime-cover {
  margin: 0;
}

.dime-cover img {
  display: block;
  width: 200px;
  height: 200px;
  border: 3px ridge var(--y2k-silver);
}

.dime-release h3,
.dime-more h3 {
  margin: 0 0 6px;
  color: var(--y2k-yellow);
  font: 900 18px/1.2 var(--y2k-display);
  text-transform: uppercase;
}

.dime-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-weight: bold;
}

.dime-more {
  padding-top: 4px;
}

/* Feed: loops in a grid of era frames, each one a link to its post. */
.dime-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.dime-feed .dime-clip {
  margin: 0;
}

.dime-feed .dime-clip video {
  width: 100%;
}

/* Streams: posters in frames, each with its words and its post. */
.dime-streams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.dime-stream img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px ridge var(--y2k-silver);
}

.dime-stream figure {
  margin: 0;
  width: 100%;
}

.dime-stream h3 {
  margin: 8px 0 4px;
  color: var(--y2k-yellow);
  font: bold 14px/1.25 var(--y2k-body);
}

.dime-stream p {
  margin: 0 0 6px;
}

.dime-last {
  margin-top: 14px;
}

/* Photo album: thumbnails in frames; the lightbox shows each at 400 px, under half its source width. */
.y2k-album img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.y2k-lightbox img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}

/* Guestbook: the real form, with its empty state until the first entry arrives. */
.dime-privacy {
  margin: 0 0 8px;
  font-size: 12px;
}

.dime-empty {
  margin: 12px 0 0;
  color: var(--y2k-lime);
  font-weight: bold;
}

.dime-empty[hidden] {
  display: none;
}

/* Contacts: the links of the owner's accounts. */
.dime-contacts {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .dime-about {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dime-about > div {
    width: 100%;
  }

  .dime-release {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dime-release > div {
    width: 100%;
  }

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