:root {
  --text: #fff4e9;
  --muted: #d6bfb3;
  --line: #ffd0ac36;
  --accent: #ffb67b;
}

body { background: #100c10; }
a { color: inherit; }
.sky {
  background:
    radial-gradient(ellipse at 50% 22%, #522b26 0%, transparent 56%),
    radial-gradient(ellipse at 18% 87%, #2d1c25 0%, transparent 58%),
    #100c10;
}

.stage {
  padding: 74px 16px;
}
.profile-frame { width: min(100%, 448px); }
.profile {
  position: relative;
  width: 100%;
  isolation: isolate;
  border-color: #efbf9c38;
  border-radius: 26px;
  background: linear-gradient(157deg, #43292ae8, #24191ef2 47%, #1d161de8);
  backdrop-filter: blur(15px) saturate(130%);
  box-shadow: 0 30px 80px #090409ae, 0 0 55px #ffad7220, inset 0 1px #fff2;
  animation: arrive 700ms cubic-bezier(.2,.8,.2,1) both;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .profile {
    transform: perspective(950px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 210ms cubic-bezier(.18,.75,.24,1), box-shadow 210ms ease;
  }
  .profile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(ellipse at var(--glare-x, 50%) var(--glare-y, 50%), #ffe5c944, #ffd3b51b 24%, transparent 58%),
      linear-gradient(118deg, #fff8ed13, transparent 34%, transparent 77%, #ffd2b514);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 240ms ease;
  }
  .profile.is-tilted::after { opacity: .76; }
  .profile.is-tilted { box-shadow: 0 34px 86px #090409bc, 0 0 58px #ffad7227, inset 0 1px #fff3; }
}
@keyframes arrive {
  from { opacity: 0; translate: 0 15px; scale: .965; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
.banner {
  height: 144px;
  background: linear-gradient(#120c0f 81%, transparent);
  border-bottom: 0;
}
.banner .banner-wave {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(#000 80%, transparent);
  pointer-events: none;
}
.banner-caption { top: 18px; left: 20px; color: #ffe9d5; text-shadow: 0 1px 9px #1c0f13; }
.banner-caption::before { box-shadow: 0 0 10px #ff9d67; }
.avatar {
  position: relative;
  width: 92px;
  height: 92px;
  margin: -47px auto 12px;
  border-color: #412a28;
  background: #815047;
  box-shadow: 0 0 0 1px #ffd2b187, 0 6px 24px #19090a80;
}
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
h1 { text-shadow: 0 3px 22px #ffad723a; }
.profile-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.profile-heading h1 { grid-column: 2; }
.netcode-badge {
  grid-column: 3;
  justify-self: start;
  display: grid;
  place-items: center;
  margin-inline-start: 6px;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  transition: scale 160ms, filter 160ms;
}
.netcode-badge:hover { scale: 1.15; filter: drop-shadow(0 0 6px #b2a3ff80); }
.netcode-badge video {
  display: block;
  width: 21px;
  height: 21px;
  /* Match the visible letterforms rather than the heading line box. */
  translate: 0 1.5px;
  pointer-events: none;
}
.intro { padding-bottom: 23px; }
.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 12px;
  padding: 3px 11px;
  border: 1px solid #ffd0a630;
  border-radius: 100px;
  color: #f7cfb5;
  background: #ffe5ca0a;
  font: 660 11px/1 var(--mono);
}
.panels { gap: 13px; padding: 0 20px 19px; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.social-card {
  --social-tint: #a9dcf5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #ffd5bd22;
  border-radius: 11px;
  background: #ffe9db06;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 170ms, translate 170ms;
}
.social-card.discord { --social-tint: #c6c3ff; }
.social-card:hover { border-color: var(--social-tint); translate: 0 -2px; }
.social-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--social-tint);
}
.social-icon svg { width: 16px; height: 16px; }
.social-card .panel-title { font-size: 12px; }
.social-card .panel-detail { font-size: 10px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.panel { background: #1c1016b0; border-color: #ffccaa28; }
.player { padding: 11px 12px 7px; background: linear-gradient(135deg, #2a1d25, #181319 76%); }
.player-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.track-cover { display: block; border-radius: 8px; object-fit: cover; background: #341e25; }
.track-label .panel-title { font-size: 14px; }
.track-origin { width: fit-content; text-decoration: none; }
.track-origin:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.player-toggle {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid #fff4;
  border-radius: 50%;
  background: #ffe3c5;
  color: #321a17;
  box-shadow: 0 0 16px #ffb88038;
  cursor: pointer;
  transition: scale 180ms, background 180ms, box-shadow 180ms;
}
.player-toggle svg { width: 19px; height: 19px; }
.player-toggle:hover:enabled { scale: 1.07; background: #fff1df; }
.player-toggle:disabled { opacity: .5; cursor: default; }
.pause-mark, .is-playing .play-mark { display: none; }
.is-playing .pause-mark { display: block; }
.is-playing .player-toggle { box-shadow: 0 0 19px #ffad6d80; }
.player-timeline {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: var(--muted);
  font: 600 10px/1 var(--mono);
  font-variant-numeric: tabular-nums;
}
.player-timeline span:last-child { text-align: right; }
.player-seek {
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-seek:disabled { cursor: default; }
.player-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 10px; background: linear-gradient(to right, var(--accent) var(--progress, 0%), #ffe1cb24 var(--progress, 0%)); }
.player-seek::-moz-range-track { height: 4px; border-radius: 10px; background: #ffe1cb24; }
.player-seek::-moz-range-progress { height: 4px; border-radius: 10px; background: var(--accent); }
.player-seek::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -3px; appearance: none; border-radius: 50%; background: #ffe7cc; }
.player-seek::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #ffe7cc; }
.player-status { margin: 0 0 3px; }
.profile-footer { padding-inline: 20px; border-color: #ffccaa24; letter-spacing: .035em; align-items: center; }
.profile-footer a { text-decoration: none; }
.profile-footer a:hover { color: #fff4e9; }
.share { padding: 6px 3px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.share:hover { color: var(--text); }
.views { display: inline-flex; align-items: center; gap: 5px; }
.views svg { width: 15px; height: 15px; }
@media (max-width: 480px) {
  .stage { padding: 65px 14px; }
  .profile { border-radius: 22px; }
  .banner { height: 128px; }
  .panels, .profile-footer { padding-inline: 15px; }
}
