:root {
  color-scheme: light;
  --bg: #f7f7f7;
  --text: #111111;
  --muted: #666666;
  --line: #cfcfcf;
  --link: #111111;
  --link-soft: #eeeeee;
  --status: #111111;
  --font: "Space Grotesk", Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 0, 0, 0.035), transparent 24rem),
    radial-gradient(circle at 45% 64%, rgba(0, 0, 0, 0.04), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  transition: background-color 180ms ease, color 180ms ease;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -2;
  background:
    radial-gradient(ellipse 46rem 28rem at 8% 18%, rgba(0, 0, 0, 0.14), transparent 63%),
    radial-gradient(ellipse 58rem 36rem at 78% 24%, rgba(0, 0, 0, 0.1), transparent 62%),
    radial-gradient(ellipse 42rem 28rem at 58% 82%, rgba(0, 0, 0, 0.12), transparent 64%),
    conic-gradient(from 115deg at 72% 34%, transparent 0 26%, rgba(0, 0, 0, 0.08) 34%, transparent 48% 100%);
  filter: blur(18px);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.12);
  animation: liquid-haze 9s ease-in-out infinite alternate;
  mask-image: linear-gradient(to bottom, transparent 0, #000 7rem, #000 calc(100% - 7rem), transparent 100%);
}

body::after {
  z-index: -1;
  background-image:
    radial-gradient(ellipse 28rem 18rem at 34% 26%, rgba(0, 0, 0, 0.08), transparent 62%),
    radial-gradient(ellipse 30rem 20rem at 86% 70%, rgba(0, 0, 0, 0.07), transparent 64%),
    linear-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.075) 1px, transparent 1px);
  background-size: auto, auto, 92px 92px, 92px 92px;
  mix-blend-mode: multiply;
  opacity: 0.54;
  animation: liquid-haze-secondary 12s ease-in-out infinite alternate-reverse;
  mask-image: linear-gradient(to bottom, transparent 0, #000 7rem, #000 calc(100% - 7rem), transparent 100%);
}

@keyframes liquid-haze {
  0% {
    transform: translate3d(-5rem, -3rem, 0) scale(1.12) rotate(-4deg);
  }

  50% {
    transform: translate3d(8rem, 4rem, 0) scale(1.22) rotate(5deg);
  }

  100% {
    transform: translate3d(-3rem, 7rem, 0) scale(1.16) rotate(-2deg);
  }
}

@keyframes liquid-haze-secondary {
  0% {
    transform: translate3d(3rem, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-6rem, 4rem, 0) scale(1.08);
  }
}

body.dark {
  color-scheme: dark;
  --bg: #050505;
  --text: #f2f2f2;
  --muted: #a8a8a8;
  --line: #2a2a2a;
  --link: #ffffff;
  --link-soft: #151515;
  --status: #f2f2f2;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.07), transparent 24rem),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.055), transparent 28rem),
    var(--bg);
}

body.dark::before {
  background:
    radial-gradient(ellipse 48rem 28rem at 12% 18%, rgba(255, 255, 255, 0.16), transparent 64%),
    radial-gradient(ellipse 52rem 32rem at 78% 28%, rgba(255, 255, 255, 0.12), transparent 62%),
    radial-gradient(ellipse 40rem 26rem at 54% 84%, rgba(255, 255, 255, 0.1), transparent 66%),
    conic-gradient(from 115deg at 72% 34%, transparent 0 26%, rgba(255, 255, 255, 0.08) 34%, transparent 48% 100%);
  opacity: 0.98;
}

body.dark::after {
  background-image:
    radial-gradient(ellipse 28rem 18rem at 34% 26%, rgba(255, 255, 255, 0.08), transparent 62%),
    radial-gradient(ellipse 30rem 20rem at 86% 70%, rgba(255, 255, 255, 0.07), transparent 64%),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.105) 1px, transparent 1px);
  background-size: auto, auto, 92px 92px, 92px 92px;
  mix-blend-mode: screen;
  opacity: 0.62;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 5px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: calc(100% - 96px);
  max-width: 1120px;
  min-height: 100vh;
  margin: 0 48px;
  padding: 40px 0 48px;
}

.content {
  width: min(100%, 570px);
  padding-top: 10px;
}

.hero {
  margin-bottom: 38px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(50px, 7vw, 74px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  width: min(100%, 540px);
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.mobile-word {
  display: none;
}

.button-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 40px;
}

.text-link {
  color: var(--link);
}

.button-links button,
.button-links .nav-link {
  position: relative;
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button-links button:hover,
.button-links .nav-link:hover,
.text-link:hover,
.writing-list a:hover span {
  background: var(--link-soft);
}

.button-links button:hover,
.button-links button.active,
.button-links .nav-link:hover {
  border-color: var(--link);
  color: var(--link);
}

.button-links button.active {
  background: transparent;
}

.button-links button:hover,
.button-links .nav-link:hover {
  transform: translateY(-1px);
}

.guestbook-nav .nav-particles {
  display: none;
}

.cd-nav-link::before {
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent) border-box;
  opacity: 0;
  transform: translateX(-100%);
  content: "";
  pointer-events: none;
}

.cd-nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  content: "";
  pointer-events: none;
}

.cd-nav-link:hover::after,
.cd-nav-link.is-loading::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.cd-nav-link.is-loading {
  border-color: var(--link);
  background: var(--link-soft);
  color: var(--link);
  animation: cd-nav-press 360ms ease both;
}

.cd-nav-link.is-loading::before {
  opacity: 1;
  animation: cd-nav-sweep 420ms ease both;
}

@keyframes cd-nav-press {
  0% {
    transform: translateY(-1px) scale(1);
  }

  45% {
    transform: translateY(1px) scale(0.97);
  }

  100% {
    transform: translateY(-1px) scale(1.02);
  }
}

@keyframes cd-nav-sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.panel-stage {
  min-height: 270px;
}

.section {
  margin-top: 54px;
}

.panel {
  animation: panel-in 180ms ease both;
}

.panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section h2 {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.philosophy-list {
  display: grid;
  gap: 14px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.philosophy-list li::before {
  margin-right: 16px;
  color: var(--text);
  content: "->";
}

.home-panel p {
  margin: 18px 0 0;
  color: var(--text);
}

.info-copy {
  margin: 18px 0 0;
  color: var(--text);
  line-height: 1.7;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.video-list iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 18px;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.social-list a span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.social-list img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.social-list a:hover {
  border-color: var(--social-color, var(--link));
  color: var(--social-color, var(--link));
  background: var(--social-bg, var(--link-soft));
  transform: translateY(-1px);
}

.social-list a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

.social-list b {
  color: currentColor;
  font-weight: 400;
}

.social-github {
  --social-color: #181717;
  --social-bg: rgba(24, 23, 23, 0.06);
}

.social-discogs {
  --social-color: #333333;
  --social-bg: rgba(51, 51, 51, 0.07);
}

.social-twitter {
  --social-color: #000000;
  --social-bg: rgba(0, 0, 0, 0.055);
}

.social-instagram {
  --social-color: #222222;
  --social-bg: rgba(34, 34, 34, 0.08);
}

.social-tiktok {
  --social-color: #111111;
  --social-bg: rgba(17, 17, 17, 0.08);
}

.social-telegram {
  --social-color: #444444;
  --social-bg: rgba(68, 68, 68, 0.09);
}

.discord-card {
  margin-top: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  overflow: hidden;
}

body.dark .discord-card {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.92);
}

.discord-body {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.discord-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

.discord-avatar,
.discord-avatar-fallback {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  background: var(--bg);
}

body.dark .discord-avatar,
body.dark .discord-avatar-fallback {
  border-color: #2a2a2a;
  background: #0f0f0f;
}

.discord-avatar[hidden] {
  display: none;
}

.discord-avatar {
  display: block;
  object-fit: cover;
}

.discord-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
}

.discord-avatar:not([hidden]) + .discord-avatar-fallback {
  display: none;
}

.discord-status {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--muted);
}

body.dark .discord-status {
  border-color: #0f0f0f;
}

.discord-card[data-status="online"] .discord-status {
  background: #3ba55d;
}

.discord-card[data-status="idle"] .discord-status {
  background: #faa61a;
}

.discord-card[data-status="dnd"] .discord-status {
  background: #ed4245;
}

.discord-card[data-status="offline"] .discord-status {
  background: #5f5f5f;
}

.discord-info {
  position: relative;
  min-width: 0;
  padding-top: 1px;
}

.discord-topline {
  position: absolute;
  top: 1px;
  right: 0;
}

.discord-identity {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.discord-name {
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-topline span,
.discord-info p {
  color: var(--muted);
  font-size: 14px;
}

.discord-handle {
  flex: 0 1 auto;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-created {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-created::before {
  width: 1px;
  height: 11px;
  background: var(--line);
  content: "";
}

.discord-info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-info p[data-discord-activity] {
  margin-top: 8px;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.birthday-card {
  min-width: 0;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent 56%),
    rgba(255, 255, 255, 0.22);
}

body.dark .birthday-card {
  border-color: #2a2a2a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 56%),
    rgba(8, 8, 8, 0.82);
}

.birthday-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
}

.birthday-row strong {
  display: block;
  overflow: hidden;
  font-size: 18px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.birthday-row span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.birthday-progress {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(111, 111, 111, 0.18);
}

body.dark .birthday-progress {
  background: rgba(168, 168, 168, 0.18);
}

.birthday-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--link);
  transition: width 260ms ease;
}

.presence-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

body.dark .presence-card {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
}

.presence-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.presence-card strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presence-card p {
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presence-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.presence-row img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  object-fit: cover;
}

body.dark .presence-row img,
body.dark .spotify-row img {
  border-color: #2a2a2a;
}

.presence-row img[hidden] {
  display: none;
}

.presence-row:has(img[hidden]) {
  grid-template-columns: 1fr;
}

.spotify-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.spotify-row img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.spotify-row img[hidden] {
  display: none;
}

.spotify-row:has(img[hidden]) {
  grid-template-columns: 1fr;
}

.spotify-progress {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(111, 111, 111, 0.18);
}

body.dark .spotify-progress {
  background: rgba(168, 168, 168, 0.18);
}

.spotify-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--link);
  transition: width 260ms ease;
}

.project-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  animation: stack-list-in 180ms ease both;
}

.project-list[hidden] {
  display: none;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 44%),
    rgba(8, 8, 8, 0.78);
  box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.025);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.project:hover {
  border-color: var(--link);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 46%),
    rgba(18, 18, 18, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(242, 242, 242, 0.04),
    0 12px 36px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

.project strong {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: baseline;
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.project small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(168, 168, 168, 0.2);
  background: rgba(8, 8, 8, 0.36);
  font-size: 11px;
  line-height: 1;
}

.project-status::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.project-status.active-status {
  color: #f2f2f2;
}

.project-status.hold-status {
  color: #c8c8c8;
}

.project-status.inactive-status {
  color: #8a8a8a;
}

.project-status.other-status {
  color: #ffffff;
}

.project em {
  display: block;
  grid-column: 1 / -1;
  max-width: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.project b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.58);
  color: var(--link);
  font-weight: 400;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.project:hover b {
  border-color: var(--link);
  background: var(--link-soft);
  transform: translateX(4px);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
}

.writing-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.writing-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 20px;
  align-items: baseline;
}

.writing-list span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.writing-list time {
  color: var(--muted);
  font-size: 14px;
}

.tab-switch {
  position: relative;
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid var(--line);
}

body.dark .tab-switch {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.5);
}

.tab-switch-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 16px) / 2);
  background: var(--link-soft);
  transform: translateX(var(--stack-switch-x, 0));
  transition: transform 190ms ease;
}

.tab-switch[data-active="programs"],
.tab-switch[data-active="archive"] {
  --stack-switch-x: calc(100% + 8px);
}

.tab-switch button {
  position: relative;
  z-index: 1;
  min-width: 124px;
  min-height: 32px;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.tab-switch button:hover,
.tab-switch button.active {
  color: var(--link);
}

.stack-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  animation: stack-list-in 180ms ease both;
}

.stack-list[hidden] {
  display: none;
}

@keyframes stack-list-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stack-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

body.dark .stack-item {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
}

.stack-item:hover {
  border-color: var(--link);
  background: var(--link-soft);
  transform: translateY(-1px);
}

.stack-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.stack-duo {
  display: grid;
  gap: 4px;
}

.stack-duo img {
  width: 22px;
  height: 22px;
}

.stack-logo-fallback {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
}

.adobe-pr,
.adobe-ae {
  border-color: #d6d6d6;
  background: #0f0f0f;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.stack-item strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.guestbook-intro {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.guestbook-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

body.dark .guestbook-form {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
}

.guestbook-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

body.dark .guestbook-form input,
body.dark .guestbook-form textarea {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.62);
}

.guestbook-form input {
  height: 38px;
  padding: 0 11px;
}

.guestbook-form textarea {
  min-height: 94px;
  resize: vertical;
  padding: 10px 11px;
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
  color: var(--muted);
}

.guestbook-mode {
  position: relative;
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
}

body.dark .guestbook-mode {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.42);
}

.guestbook-mode-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 14px) / 2);
  background: var(--link-soft);
  transform: translateX(var(--guestbook-mode-x, 0));
  transition: transform 190ms ease;
}

.guestbook-mode[data-active="private"] {
  --guestbook-mode-x: calc(100% + 6px);
}

.guestbook-mode button,
.guestbook-submit {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.guestbook-mode button {
  position: relative;
  z-index: 1;
  min-width: 86px;
  min-height: 30px;
}

.guestbook-mode button:hover,
.guestbook-mode button.active {
  color: var(--link);
}

.guestbook-submit {
  width: fit-content;
  padding: 0;
  color: var(--link);
}

.guestbook-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.guestbook-submit:hover {
  background: var(--link-soft);
}

.guestbook-feedback {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guestbook-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.guestbook-entry {
  position: relative;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

body.dark .guestbook-entry {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
}

.guestbook-entry div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.guestbook-entry div span {
  display: inline-flex;
  min-width: 0;
  gap: 8px;
  align-items: baseline;
}

.guestbook-entry strong {
  font-size: 15px;
  font-weight: 500;
}

.guestbook-entry small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guestbook-loved {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--link);
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.guestbook-loved::before {
  content: "<3 ";
}

.guestbook-entry time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.guestbook-entry p {
  margin: 7px 120px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.guestbook-empty {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.message p {
  margin: 18px 0 0;
  color: var(--text);
}

.footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.music-player {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 20;
  width: min(300px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
}

body.dark .music-player {
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.music-player-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.music-player-top img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.music-player-top p,
.music-player-top span {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-player-top p {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.music-player-top span,
.music-time {
  color: var(--muted);
  font-size: 11px;
}

.music-visualizer {
  display: flex;
  height: 46px;
  align-items: end;
  gap: 3px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--link) 38%, transparent);
  background: color-mix(in srgb, var(--link-soft) 64%, transparent);
  overflow: hidden;
}

.music-visualizer span {
  flex: 1;
  min-width: 0;
  height: 10%;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--link) 72%, #ffffff) 45%, var(--link) 100%);
  opacity: 0.46;
  transform-origin: center bottom;
  transition: height 42ms linear, opacity 42ms linear;
}

.music-progress {
  height: 3px;
  margin-top: 11px;
  overflow: hidden;
  background: color-mix(in srgb, var(--line) 70%, transparent);
}

.music-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--link);
}

.music-time {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

.music-controls {
  display: grid;
  grid-template-columns: auto auto auto minmax(72px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.music-controls button {
  min-width: 50px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.music-controls button:hover {
  border-color: var(--link);
  color: var(--link);
}

.music-controls button[aria-pressed="true"] {
  border-color: var(--link);
  background: var(--link);
  color: var(--bg);
}

.music-volume-slider {
  width: 100%;
  accent-color: var(--link);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.dark .music-controls button[aria-pressed="true"] {
  color: #050505;
}

.cd-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.cd-content {
  width: min(100%, 940px);
  margin: 0 auto;
}

.cd-topnav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 8px auto 74px;
  color: var(--muted);
  font-size: 14px;
}

.cd-topnav a:hover,
.footer a:hover {
  color: var(--link);
}

.cd-topnav a[aria-current="page"] {
  color: var(--text);
}

.cd-topnav .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.cd-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.68fr);
  gap: 48px;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.cd-hero-copy {
  justify-self: center;
  width: 100%;
}

.cd-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.cd-hero p {
  max-width: 500px;
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.6;
}

.cd-hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  min-height: 330px;
  isolation: isolate;
}

.jewel-case {
  position: absolute;
  left: 8%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(242, 242, 242, 0.16) 0 5%, transparent 5% 13%, rgba(242, 242, 242, 0.08) 13% 14%, transparent 14%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(180, 180, 180, 0.12) 48%, rgba(8, 8, 8, 0.74));
  box-shadow:
    inset 0 0 0 8px rgba(8, 8, 8, 0.16),
    inset 0 0 0 9px rgba(242, 242, 242, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.32);
}

.jewel-case::before,
.jewel-case::after {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 1px;
  background: rgba(242, 242, 242, 0.14);
  content: "";
}

.jewel-case::before {
  top: 15px;
}

.jewel-case::after {
  bottom: 15px;
}

.case-one {
  --case-rotate: -7deg;
  top: 28px;
  transform: rotate(var(--case-rotate));
}

.case-two {
  --case-rotate: 6deg;
  top: 78px;
  left: 17%;
  z-index: -1;
  border-color: rgba(255, 255, 255, 0.24);
  transform: rotate(var(--case-rotate));
}

.compact-disc {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, #050505 0 11%, rgba(242, 242, 242, 0.8) 12% 13%, transparent 14%),
    conic-gradient(from 45deg, rgba(255, 255, 255, 0.86), rgba(155, 155, 155, 0.72), rgba(242, 242, 242, 0.18), rgba(92, 92, 92, 0.78), rgba(255, 255, 255, 0.86));
  box-shadow:
    inset 0 0 48px rgba(8, 8, 8, 0.72),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.cd-controls {
  display: block;
  margin-top: 34px;
}

.cd-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.cd-search input {
  min-height: 42px;
  border: 1px solid #2a2a2a;
  background: rgba(8, 8, 8, 0.78);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 0 13px;
}

.cd-search input::placeholder {
  color: var(--muted);
}

.cd-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cd-summary article {
  min-height: 94px;
  padding: 16px;
  border: 1px solid #2a2a2a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
    rgba(8, 8, 8, 0.78);
}

.cd-summary strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.cd-summary span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.cd-section {
  margin-top: 38px;
}

.wishlist-section {
  margin-top: 58px;
}

.cd-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.cd-section-heading h2 {
  border-bottom: 0;
}

.cd-section-heading span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.cd-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.wishlist-list {
  display: block;
  column-count: 2;
  column-gap: 34px;
  gap: 34px;
  margin-top: 24px;
}

.next-up {
  margin-top: 24px;
  margin-bottom: 34px;
  padding: 16px;
  border: 1px solid #2a2a2a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
    rgba(8, 8, 8, 0.54);
}

.next-up[hidden] {
  display: none;
}

.next-up .wishlist-genre-heading {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.next-up-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-top: 16px;
}

.next-up-list .cd-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  min-height: 168px;
  padding: 12px;
}

.next-up-list .cd-cover {
  align-self: start;
}

.next-up-list .cd-details {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.next-up-list .cd-details h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 36px;
  font-size: 16px;
  line-height: 1.15;
  text-overflow: initial;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.next-up-list .cd-title-swap {
  height: 36px;
}

.next-up-list .cd-title-track span {
  display: -webkit-box;
  overflow: hidden;
  height: 36px;
  text-overflow: initial;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.next-up-list .cd-artist {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.next-up-list .cd-meta {
  gap: 5px;
  margin-top: 9px;
}

.next-up-list .cd-meta span {
  padding: 3px 6px;
  font-size: 10px;
}

.next-up-list .cd-notes {
  display: -webkit-box;
  overflow: hidden;
  margin-top: auto;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wishlist-genre {
  display: inline-block;
  width: 100%;
  margin-bottom: 34px;
  break-inside: avoid;
}

.wishlist-genre-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(168, 168, 168, 0.22);
}

.wishlist-genre-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.wishlist-genre-heading span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.wishlist-genre .cd-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 14px;
}

.wishlist-genre .cd-card {
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 148px;
}

.wishlist-genre .cd-cover {
  align-self: start;
}

.wishlist-genre .cd-details h3 {
  white-space: normal;
}

.wishlist-genre .cd-meta {
  margin-top: 10px;
}

.wishlist-genre .cd-notes {
  margin-top: 10px;
}

.cd-page .footer {
  justify-content: center;
}

.cd-page .cd-topnav,
.cd-page .cd-hero-copy,
.cd-page .cd-hero-art,
.cd-page .cd-controls,
.cd-page .cd-summary,
.cd-page .cd-section,
.cd-page .footer {
  animation: cd-page-rise 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cd-page .cd-topnav {
  animation-delay: 30ms;
}

.cd-page .cd-hero-copy {
  animation-delay: 90ms;
}

.cd-page .cd-hero-art {
  animation-delay: 170ms;
}

.cd-page .cd-controls {
  animation-delay: 250ms;
}

.cd-page .cd-summary {
  animation-delay: 310ms;
}

.cd-page .cd-section {
  animation-delay: 380ms;
}

.cd-page .wishlist-section {
  animation-delay: 460ms;
}

.cd-page .footer {
  animation-delay: 520ms;
}

.cd-page .jewel-case {
  animation: jewel-case-load 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cd-page .case-two {
  animation-delay: 90ms;
}

.cd-page .compact-disc {
  animation: compact-disc-load 860ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cd-page .cd-card {
  animation: cd-card-load 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--cd-card-delay, 0ms);
}

@keyframes cd-page-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jewel-case-load {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(calc(var(--case-rotate) - 7deg)) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--case-rotate)) scale(1);
  }
}

@keyframes compact-disc-load {
  from {
    opacity: 0;
    transform: translate(28px, 12px) rotate(-38deg) scale(0.84);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

@keyframes cd-card-load {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cd-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-height: 166px;
  padding: 14px;
  border: 1px solid #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
  box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.025);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
  cursor: pointer;
}

.cd-card:hover {
  border-color: var(--link);
  background: rgba(18, 18, 18, 0.92);
  transform: translateY(-2px);
}

.cd-card:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 5px;
}

.cd-cover {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(242, 242, 242, 0.13) 0 10%, transparent 10%),
    linear-gradient(calc(120deg + (var(--cd-index) * 16deg)), rgba(255, 255, 255, 0.3), rgba(160, 160, 160, 0.2), rgba(8, 8, 8, 0.72));
  color: rgba(242, 242, 242, 0.82);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
  box-shadow: inset 0 0 0 7px rgba(8, 8, 8, 0.14);
  overflow: hidden;
}

.cd-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-details {
  min-width: 0;
}

.cd-details h3 {
  overflow: hidden;
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-title-swap {
  position: relative;
  height: 25px;
}

.cd-title-track {
  display: grid;
  gap: 0;
  will-change: transform;
  animation: cd-title-slide 6s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.cd-title-track span {
  display: block;
  overflow: hidden;
  height: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes cd-title-slide {
  0%,
  34% {
    transform: translateY(0);
  }

  46%,
  84% {
    transform: translateY(-25px);
  }

  100% {
    transform: translateY(0);
  }
}

.cd-artist {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 15px;
}

.cd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.cd-meta span {
  padding: 3px 7px;
  border: 1px solid rgba(168, 168, 168, 0.2);
  background: rgba(8, 8, 8, 0.36);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.cd-notes {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cd-popout[hidden] {
  display: none;
}

.cd-popout {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cd-popout-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(ellipse 40rem 24rem at 50% 45%, rgba(255, 255, 255, 0.09), transparent 62%),
    rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
  animation: cd-popout-backdrop-in 180ms ease both;
}

.cd-popout-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  width: min(100%, 620px);
  padding: 18px;
  border: 1px solid #3a3a3a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 56%),
    rgba(8, 8, 8, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(242, 242, 242, 0.04),
    0 32px 90px rgba(0, 0, 0, 0.48);
  animation: cd-popout-in 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cd-popout.closing .cd-popout-backdrop {
  animation: cd-popout-backdrop-out 260ms ease both;
}

.cd-popout.closing .cd-popout-card {
  animation: cd-popout-out 260ms cubic-bezier(0.55, 0, 0.4, 1) both;
}

@keyframes cd-popout-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cd-popout-backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes cd-popout-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cd-popout-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}

.cd-popout-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #3a3a3a;
  background: rgba(8, 8, 8, 0.46);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.cd-popout-close:hover {
  border-color: var(--link);
  color: var(--link);
}

.cd-popout-cover {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(242, 242, 242, 0.13) 0 10%, transparent 10%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(160, 160, 160, 0.2), rgba(8, 8, 8, 0.72));
  color: rgba(242, 242, 242, 0.82);
  font-size: 22px;
  font-weight: 600;
  overflow: hidden;
}

.cd-popout-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-popout-details {
  min-width: 0;
  padding: 34px 8px 4px 0;
}

.cd-popout-details h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
}

.cd-popout-details p {
  margin: 9px 0 0;
}

.cd-popout-details > p:first-of-type {
  color: var(--muted);
  font-size: 15px;
}

.cd-popout-stars {
  margin-top: 18px;
  color: #f2f2f2;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 2px;
}

.cd-popout-love {
  max-width: 340px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

body.cd-popout-open {
  overflow: hidden;
}

body.dark .social-list a {
  border-color: #2a2a2a;
  background: rgba(8, 8, 8, 0.82);
}

@media (max-width: 820px) {
  .page-shell {
    width: calc(100% - 40px);
    max-width: 570px;
    margin: 0 auto;
    padding-top: 28px;
  }

  .content {
    padding-top: 76px;
  }

  .intro {
    font-size: 17px;
  }

  .desktop-word {
    display: none;
  }

  .mobile-word {
    display: inline;
  }

  .button-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
  }

  .button-links button {
    min-width: 0;
    width: 100%;
  }

  .button-links .nav-link {
    min-width: 0;
    width: 100%;
  }

  .cd-topnav {
    margin-bottom: 42px;
  }

  .cd-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .cd-hero-art {
    min-height: 250px;
  }

  .cd-list {
    grid-template-columns: 1fr;
  }

  .wishlist-genre .cd-list {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .wishlist-list {
    column-count: 1;
  }

  .video-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .social-list {
    grid-template-columns: 1fr;
  }

  .presence-grid {
    grid-template-columns: 1fr;
  }

  .music-player {
    right: 20px;
    bottom: 18px;
    left: auto;
  }

  .footer {
    display: grid;
    gap: 9px;
  }

}

@media (max-width: 520px) {
  .content {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .discord-card {
    padding: 0;
  }

  .discord-body {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 14px;
  }

  .discord-avatar-wrap,
  .discord-avatar,
  .discord-avatar-fallback {
    width: 52px;
    height: 52px;
  }

  .discord-status {
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .project {
    grid-template-columns: minmax(0, 1fr) 22px;
    min-height: 104px;
  }

  .project time {
    display: none;
  }

  .project b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .writing-list a {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tab-switch {
    width: 100%;
  }

  .tab-switch button {
    flex: 1;
    min-width: 0;
  }

  .guestbook-mode {
    width: 100%;
  }

  .guestbook-mode button {
    flex: 1;
  }

  .cd-summary {
    grid-template-columns: 1fr;
  }

  .cd-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 142px;
  }

  .next-up {
    padding: 12px;
  }

  .next-up-list {
    grid-template-columns: 1fr;
  }

  .next-up-list .cd-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 148px;
  }

  .wishlist-genre .cd-card {
    grid-template-columns: 1fr;
  }

  .wishlist-genre .cd-cover {
    width: min(100%, 180px);
  }

  .cd-details h3 {
    font-size: 18px;
  }

  .cd-popout {
    padding: 20px;
  }

  .cd-popout-card {
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(100%, 360px);
  }

  .cd-popout-cover {
    width: 160px;
  }

  .cd-popout-details {
    padding: 0;
  }

  .cd-popout-details h2 {
    padding-right: 68px;
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-nav-link,
  .cd-nav-link.is-loading,
  .cd-nav-link.is-loading::before,
  .cd-page .cd-topnav,
  .cd-page .cd-hero-copy,
  .cd-page .cd-hero-art,
  .cd-page .cd-controls,
  .cd-page .cd-summary,
  .cd-page .cd-section,
  .cd-page .footer,
  .cd-page .jewel-case,
  .cd-page .compact-disc,
  .cd-page .cd-card {
    animation: none;
  }
}
