:root {
  --bg: #cfe5d4;
  --text: #111;
  --line: #000;
  --line-opacity: 0.06;
  --muted: #7c897f;
  --accent: #e10600;
  --font: Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-pad-x: 28px;
  --tabs-pad-y: 16px;
  --tab-height: 48px;
  --header-line: 1px;
  --tabs-offset: calc(
    var(--safe-top) + var(--tabs-pad-y) + var(--tab-height) + var(--tabs-pad-y) +
      var(--header-line)
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

.page {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: var(--tabs-offset) var(--page-pad-x) calc(40px + var(--safe-bottom));
}

.tabs {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: calc(var(--safe-top) + var(--tabs-pad-y)) var(--page-pad-x) var(--tabs-pad-y);
  background: var(--bg);
  transform: translateX(-50%);
}

.tabs::before,
.tabs::after,
.artist::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.tabs::before {
  top: 0;
  height: 100%;
  background: var(--bg);
  z-index: -1;
}

.tabs::after,
.artist::after {
  bottom: 0;
  height: var(--header-line);
  background: var(--line);
  opacity: var(--line-opacity);
  mix-blend-mode: multiply;
}

.artist::after {
  height: 1px;
}

.tab {
  min-height: var(--tab-height);
  padding: 12px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.tab.is-active {
  color: var(--text);
  font-weight: 700;
}

.list[hidden] {
  display: none;
}

.artist {
  position: relative;
  padding: 56px 0;
}

.artist-heading {
  display: grid;
  gap: 4px;
}

.artist-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.artist-name {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.artist-badge {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.3;
}

.artist-number {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.artist-dash {
  flex: 0 0 auto;
  align-self: center;
  width: 1em;
  height: 1px;
  background: currentColor;
}

.artist-role {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 18px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  line-height: 1.3;
}

.links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  opacity: var(--line-opacity);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .links a:hover::before {
    opacity: 1;
    mix-blend-mode: normal;
  }
}

.links a:active {
  opacity: 0.6;
}

.links a span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.links a .link-status {
  color: var(--accent);
}

.links a .link-status.is-muted {
  color: var(--muted);
}

.note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

@media (min-width: 640px) {
  :root {
    --page-pad-x: 40px;
    --tabs-pad-y: 24px;
  }

  .page {
    padding-bottom: 64px;
  }
}
