.manere-home main {
  display: block;
  padding: 56px 32px;
}
.home {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.home a {
  color: inherit;
}
.home-intro {
  position: sticky;
  top: 48px;
  min-width: 0;
}
.home-portrait {
  display: block;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: cover;
}
.home-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  min-width: 0;
}
.home-intro h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.055em;
}
.discord-presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.discord-presence[hidden] {
  display: none;
}
.discord-status-icon {
  display: none;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.discord-icon-online path,
.discord-icon-dnd path {
  fill: none;
  stroke: #000;
  stroke-width: 3;
}
.discord-presence[data-status="online"] .discord-icon-online {
  display: block;
  color: #43b581;
}
.discord-presence[data-status="idle"] .discord-icon-idle {
  display: block;
  color: #faa61a;
}
.discord-presence[data-status="dnd"] .discord-icon-dnd {
  display: block;
  color: #f04747;
}
.home-content {
  min-width: 0;
  display: grid;
  gap: 48px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
}
.spotify-attribution img {
  display: block;
  width: 70px;
  height: 21px;
}

.home-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
}
.home-directory > section,
.home-link {
  min-width: 0;
}
.home-directory h3 {
  font:
    12px Sora,
    sans-serif;
  margin: 0 0 8px;
}
.home-directory h3 a {
  text-decoration: none;
}
.home-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.home-link-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.home-link-text > span {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.home-link-text small {
  font:
    10px Sora,
    sans-serif;
  line-height: 1.6;
}
.home-link > .icon:last-child {
  width: 12px;
  height: 12px;
}
.home-status {
  margin: 10px 0 0;
  min-height: 16px;
}

.artist-grid {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}
.artist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}
.artist-image {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.artist-name {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;

  transform: translateY(calc((var(--artist-action-height) + var(--artist-action-gap)) / 2));
  transition:
    transform 200ms ease,
    background-size 220ms ease;
}
.artist-text {
  min-width: 0;
  --artist-action-height: 14px;
  --artist-action-gap: 6px;
}
.artist-action {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--artist-action-gap);
  min-height: var(--artist-action-height);
  font-size: 9px;
  line-height: var(--artist-action-height);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}
.artist-action .icon {
  width: 11px;
  height: 11px;
}
.artist-card:hover .artist-action,
.artist-card:focus-visible .artist-action {
  opacity: 1;
  transform: translateY(0);
}

.spotify-widget {
  margin-top: 32px;
}
.spotify-widget[hidden] {
  display: none;
}
.spotify-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 10px;
}
.spotify-label img {
  display: block;
  object-fit: contain;
}
.spotify-track {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;

  padding: 10px;
  margin: -10px;
  border-radius: 10px;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}
.spotify-cover {
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
}
.image-frame--spotify {
  width: 64px;
  height: 64px;
  padding: 10px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #191919 0 1px, #080808 1px 3px);
  box-shadow: inset 0 0 0 1px #ffffff18;
  animation: record-spin 8s linear infinite;
  animation-play-state: paused;
}
.image-frame--spotify > .spotify-cover {
  width: 100%;
  height: 100%;
}
.spotify-widget:not([hidden]) .image-frame--spotify[data-image-state="ready"] {
  animation-play-state: running;
}
@keyframes record-spin {
  to {
    transform: rotate(360deg);
  }
}
.spotify-details {
  display: grid;
  gap: 5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.spotify-title {
  font-size: 12px;
  line-height: 1.6;
}
.spotify-artist {
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home {
    gap: 40px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .manere-home main {
    padding: 40px 24px;
  }
  .home {
    max-width: 460px;
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .home-intro {
    position: static;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 20px;
    align-items: center;
  }
  .home-portrait,
  .image-frame--home {
    width: 80px;
    height: 80px;
  }
  .home-intro h1 {
    margin: 0;
    font-size: 36px;
  }
  .home-name {
    margin-top: 0;
  }
  .spotify-widget {
    grid-column: 1 / -1;
    margin-top: 24px;
    max-width: 320px;
  }
  .home-content {
    gap: 40px;
  }
  .home-directory {
    gap: 22px 20px;
  }
  .artist-grid {
    gap: 12px 16px;
  }
}
@media (max-width: 420px) {
  .home-directory {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 320px) {
  .manere-home main {
    padding: 28px 16px;
  }
  .home-intro {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 16px;
  }
  .home-portrait,
  .image-frame--home {
    width: 64px;
    height: 64px;
  }
  .home-intro h1 {
    font-size: 30px;
  }
}

#artists-title {
  font-size: 14px;
}
.artist-image[src$="/matt-proxy.jpg"],
.artist-image[src$="/lucy-bedroque.jpg"],
.artist-image[src$="/fakemink.jpg"] {
  object-position: center 25%;
}
@media (max-width: 360px) {
  .artist-grid {
    grid-template-columns: 1fr;
  }
}

.artists-heading {
  justify-content: flex-start;
  gap: 16px;
}

@media (max-height: 600px) {
  .home-intro {
    position: static;
  }
}

.artist-card:is(:hover, :focus-visible) .artist-name {
  transform: translateY(0);
}
@media (hover: none) {
  .artist-action {
    opacity: 1;
    transform: translateY(0);
  }
  .artist-name {
    transform: translateY(0);
  }
}

.spotify-track:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  background-color: #ffffff08;
  box-shadow: 0 0 0 1px #ffffff10;
}

.lyrics-panel {
  margin-top: 26px;
  padding-left: 14px;
  border-left: 1px solid #252525;
}
.lyrics-panel[hidden] {
  display: none;
}
.lyric-line {
  margin: 0;
  min-height: 3.3em;
  color: #e8e8e8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.lyric-text {
  background: linear-gradient(to right, #fff 50%, #747474 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.lyric-gap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1.65em;
  color: #888;
}
.lyric-text[hidden],
.lyric-gap[hidden] {
  display: none;
}
.lyric-gap svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  animation: lyric-gap-bounce 1200ms ease-in-out infinite;
}
.lyric-gap svg:nth-child(2) {
  animation-delay: 150ms;
}
.lyric-gap svg:nth-child(3) {
  animation-delay: 300ms;
}
@keyframes lyric-gap-bounce {
  0%,
  40%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  20% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.home .lyrics-source {
  display: inline-block;
  margin-top: 6px;
  font-size: 8px;
  line-height: 1.6;
  color: #454545;
  text-decoration: none;
  transition: color 180ms ease;
}
.home .lyrics-source:is(:hover, :focus-visible) {
  color: #999;
}

@media (min-width: 761px) and (max-height: 800px) {
  .manere-home main {
    padding: 20px 32px;
  }
  .home-content {
    gap: 32px;
  }
  .home-directory {
    row-gap: 20px;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  .home-link {
    min-height: 44px;
  }
  .artist-grid {
    row-gap: 8px;
  }
}
