.links-page {
  --links-paper: #eeeae1;
  --links-muted: #a5a29a;
  --links-line: #35342e;
  background: #080808;
}

.links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}

.links-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 12px/1.5 'Home Video', monospace;
}

.links-home:hover { color: #ff6749; }
.links-header .music-player { display: none; }
.links-header .music-artist { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.links-main {
  width: min(100% - 40px, 600px);
  margin: 16px auto 0;
  padding-bottom: 50px;
}

.links-profile { text-align: center; }

.links-profile .links-avatar {
  width: 72px;
  height: 96px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.links-profile h1 {
  display: block;
  margin: 0;
  font: 400 clamp(25px, 7.4vw, 46px)/1.06 'DX Burst Smooth', sans-serif;
  letter-spacing: -.5px;
}

.links-handle {
  display: inline-block;
  margin-top: 17px;
  font: 12px/1.5 'Home Video', monospace;
  color: var(--links-muted);
}

.links-bio {
  margin: 12px auto 20px;
  max-width: 340px;
  font: 16px/1.6 Arial, sans-serif;
  color: #c8c4bc;
}

.links-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}

.links-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--links-line);
  border-radius: 4px;
  font: 12px/1.4 'Home Video', monospace;
  transition: background .18s, border-color .18s;
}

.links-socials a:hover { background: #1d1d1b; border-color: #aaa69d; }
.links-socials svg { width: 17px; height: 17px; fill: currentColor; }

.links-group { margin-top: 30px; }

.links-group h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font: 11px/1.5 'Home Video', monospace;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--links-muted);
}

.links-group h2::after { content: ''; height: 1px; flex: 1; background: #282823; }
.links-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.links-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 14px 20px 14px 14px;
  border: 1px solid var(--links-line);
  border-radius: 6px;
  background: #10100f;
  box-shadow: 0 3px 10px #0003;
  transition: transform .32s cubic-bezier(.17, .89, .32, 1.4), border-color .18s, background .18s;
}

.links-card:hover,
.links-card:focus-visible { transform: translateY(-3px); border-color: #aaa69d; background: #191917; }
.links-card:active { transform: translateY(0) scale(.985); }
.links-card:focus-visible { outline-offset: 4px; }

.links-art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  border-radius: 4px;
}

.links-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.links-art svg { width: 42px; height: 42px; }
.links-art--poster img { object-fit: cover; }
.links-art--mark { width: 70px; flex-basis: 70px; }
.links-art--letters { font: 35px/1 Georgia, serif; color: #e8e3cf; }
.links-art--symbols { font: 45px/1 Georgia, serif; color: #e8e3cf; }

.links-card-copy { flex: 1; min-width: 0; }
.links-card-title { display: block; font: 16px/1.5 'Home Video', monospace; }
.links-card-note { display: block; margin-top: 5px; font: 13px/1.5 Arial, sans-serif; color: var(--links-muted); }
.links-arrow { flex: 0 0 auto; font: 24px/1 Arial, sans-serif; color: #bcb8af; }

.links-card--agency { background: #e8e3cf; color: #141510; border-color: #e8e3cf; }
.links-card--agency:hover,
.links-card--agency:focus-visible { background: #f2eedf; border-color: #f2eedf; }
.links-card--agency .links-card-note { color: #53554b; }
.links-card--agency .links-arrow { color: #141510; }
.links-card--agency .links-art { background: #d8d3bc; }
.links-card--agency svg { fill: none; stroke: #252a19; stroke-width: 2; }
.links-card--agency .links-card-title { letter-spacing: .5px; }

.links-drawer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 3px;
  font: 11px/1.5 'Home Video', monospace;
  color: var(--links-muted);
}

.links-drawer:hover { color: var(--links-paper); }
.links-footer { display: flex; justify-content: center; margin-top: 38px; padding-top: 24px; border-top: 1px solid #282823; }
.links-footer a { font: 11px/1.5 'Home Video', monospace; color: var(--links-muted); }
.links-footer a:hover { color: var(--links-paper); }

@media (min-width: 901px) {
  .links-main { width: min(100% - 64px, 1120px); }
  .links-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links-list > li { min-width: 0; }
  .links-card { height: 100%; }
}

@media (min-width: 1200px) {
  .links-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .links-header { flex-wrap: wrap; justify-content: center; padding: 14px 20px 0; gap: 8px; }
  .links-home { margin-right: auto; }
  .links-header .music-player { width: min(300px, calc(100% - 44px)); margin-left: 44px; }
  .links-main { margin-top: 20px; }
  .links-profile .links-avatar { width: 60px; height: 80px; margin-bottom: 16px; }
  .links-card { gap: 12px; padding: 12px; min-height: 88px; }
  .links-art, .links-art--mark { width: 54px; height: 58px; flex-basis: 54px; }
  .links-card-title { font-size: 14px; }
  .links-card-note { font-size: 12px; }
  .links-arrow { font-size: 21px; }
}

@media (max-width: 460px) {
  .links-header { align-items: flex-start; }
  .links-home { flex-basis: 100%; }
  .links-header .music-player { margin-right: 0; }
  .links-main { width: calc(100% - 32px); }
  .links-card-title { font-size: 13px; }
  .links-socials a { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .links-profile .links-avatar { animation: none; }
  .links-card { transition: none; }
  .links-card:is(:hover, :focus-visible, :active) { transform: none; }
}
