:root {
  --bg: #070013;
  --panel: rgba(19, 9, 38, 0.86);
  --panel-strong: rgba(24, 11, 48, 0.93);
  --line: rgba(174, 114, 255, 0.32);
  --line-strong: rgba(226, 190, 255, 0.6);
  --text: #f7efff;
  --muted: #ceb5e9;
  --violet: #c083ff;
  --violet-soft: #8f4be0;
  --cyan: #68f6ff;
  --pink: #ff62df;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(138, 75, 218, 0.24), transparent 24rem),
    radial-gradient(circle at 84% 14%, rgba(94, 242, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 74% 86%, rgba(255, 106, 223, 0.16), transparent 24rem),
    linear-gradient(180deg, #05000d 0%, #090118 58%, #04000c 100%);
}

body {
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 0.8px rgba(255, 204, 255, 0.35);
}

.noise,
.crt,
.orb {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.noise {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: soft-light;
}

.crt {
  opacity: 0.16;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(90deg, rgba(255, 0, 126, 0.05), rgba(0, 255, 255, 0.06));
  mix-blend-mode: screen;
}

.orb {
  filter: blur(52px);
  opacity: 0.74;
}

.orb-a {
  background: radial-gradient(circle, rgba(176, 93, 255, 0.25), transparent 48%);
  transform: translate(-8%, -16%);
}

.orb-b {
  background: radial-gradient(circle, rgba(68, 239, 255, 0.2), transparent 45%);
  transform: translate(38%, 28%);
}

.layout,
.info-footer {
  width: 100vw;
  margin: 0 auto;
}

.layout {
  height: 100vh;
  padding: 0;
}

.graph-panel,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.graph-panel {
  overflow: hidden;
  padding: 0;
  height: 100vh;
  border-radius: 0;
  border: 0;
}

.panel-bar {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 30;
}

.top-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(191, 126, 255, 0.42);
  border-radius: 999px;
  padding: 5px 8px 5px 14px;
  background:
    linear-gradient(90deg, rgba(16, 6, 34, 0.86), rgba(28, 11, 54, 0.72)),
    radial-gradient(circle at 72% 10%, rgba(104, 246, 255, 0.16), transparent 38%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 26px rgba(175, 107, 255, 0.22);
  backdrop-filter: blur(10px);
}

.top-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.56;
  pointer-events: none;
}

.top-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -24%;
  width: 28%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 250, 255, 0.16),
    rgba(255, 124, 236, 0.16),
    transparent
  );
  transform: skewX(-18deg);
  animation: top-card-scan 8s ease-in-out infinite;
  pointer-events: none;
}

.panel-kicker,
.detail-kicker {
  margin: 0;
  color: var(--cyan);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-logo {
  display: block;
  width: clamp(148px, 22vw, 242px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 18px rgba(104, 246, 255, 0.16));
}

.card-hover-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 14px;
  margin: 0;
  max-width: min(460px, calc(100vw - 48px));
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(173, 106, 255, 0.5);
  background: rgba(11, 4, 22, 0.88);
  color: rgba(224, 207, 244, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.top-card:hover .card-hover-tip,
.top-card:focus-within .card-hover-tip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes top-card-scan {
  0%,
  16% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  21%,
  45% {
    transform: translateX(420%) skewX(-18deg);
    opacity: 1;
  }
  60%,
  100% {
    transform: translateX(620%) skewX(-18deg);
    opacity: 0;
  }
}

.panel-actions,
.detail-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.panel-actions {
  margin-left: auto;
}

.filter-menu {
  position: relative;
  z-index: 2;
}

.filter-trigger {
  position: relative;
  z-index: 1;
}

.filter-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  padding: 10px;
  border: 1px solid rgba(173, 106, 255, 0.5);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(18, 8, 36, 0.96), rgba(10, 4, 21, 0.94)),
    rgba(11, 4, 22, 0.92);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(148, 76, 230, 0.22);
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.filter-menu:hover .filter-popover,
.filter-menu:focus-within .filter-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 12px;
  color: rgba(236, 223, 248, 0.94);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 140ms ease;
}

.filter-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.filter-option input {
  width: 15px;
  height: 15px;
  accent-color: #68f6ff;
}

.panel-actions button,
.detail-links button,
.detail-links .external-link {
  cursor: pointer;
  border: 1px solid rgba(197, 136, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(160, 86, 255, 0.2), rgba(92, 40, 154, 0.22)),
    rgba(177, 91, 255, 0.16);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 34px;
  line-height: 1;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.detail-links .external-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.panel-actions button:hover,
.detail-links button:hover,
.detail-links .external-link:hover {
  border-color: rgba(104, 246, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(105, 246, 255, 0.26), rgba(148, 84, 248, 0.22)),
    rgba(94, 242, 255, 0.16);
  box-shadow: 0 0 24px rgba(104, 246, 255, 0.28);
  transform: translateY(-1px);
}

.graph-stage {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border: 0;
  background:
    linear-gradient(180deg, rgba(6, 2, 16, 0.95), rgba(8, 3, 18, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(123, 66, 198, 0.18), transparent 38%);
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable both-edges;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.graph-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.065) 0px,
    rgba(255, 255, 255, 0.065) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.26;
  mix-blend-mode: screen;
}

.graph-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

#graph {
  display: block;
  width: 100%;
  height: auto;
}

.graph-stage::-webkit-scrollbar {
  width: 10px;
}

.graph-stage::-webkit-scrollbar-track {
  background: rgba(12, 5, 23, 0.88);
}

.graph-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(107, 245, 255, 0.8), rgba(192, 104, 255, 0.78));
}

.tooltip {
  position: absolute;
  max-width: 300px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(194, 128, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(23, 10, 42, 0.94), rgba(14, 5, 28, 0.96)),
    rgba(13, 4, 25, 0.94);
  box-shadow:
    0 0 30px rgba(179, 108, 255, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.44);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text);
  transform: translate3d(0, 0, 0);
  z-index: 10;
}

.tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: #fdf2ff;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: 0.03em;
}

.info-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}

.site-note {
  margin: 8px 4px 0;
  color: rgba(206, 181, 233, 0.84);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  text-shadow: none;
  white-space: normal;
  pointer-events: auto;
}

.site-note span {
  display: inline;
}

.site-note-link {
  color: rgba(120, 244, 255, 0.96);
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 244, 255, 0.42);
}

.site-note-link:hover,
.site-note-link:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

.detail-card {
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(18, 8, 36, 0.94), rgba(12, 5, 23, 0.92)),
    radial-gradient(circle at 92% 16%, rgba(104, 246, 255, 0.12), transparent 44%);
  border-color: rgba(187, 122, 255, 0.42);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.52),
    0 0 22px rgba(148, 76, 230, 0.24);
}

.detail-card h2 {
  margin: 4px 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
}

.detail-subtitle,
.detail-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
  white-space: pre-line;
}

.detail-artwork {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 16px 0 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(140deg, rgba(182, 122, 255, 0.25), rgba(94, 242, 255, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
}

.detail-artwork-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 9px 10px;
  margin: 0 0 14px;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  font-weight: 500;
  word-break: break-word;
}

.focus-bar {
  position: relative;
  min-height: 156px;
  display: grid;
  grid-template-columns: 130px minmax(260px, 1fr) minmax(340px, 1.3fr) minmax(220px, auto);
  grid-template-rows: auto auto;
  grid-template-areas:
    "art title meta links"
    "art sub meta links";
  align-items: center;
  column-gap: 18px;
  row-gap: 6px;
  padding: 14px 18px;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
  pointer-events: auto;
  overflow: visible;
}

.focus-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  border: 1px solid rgba(196, 131, 255, 0.48);
  border-radius: 999px;
  background: rgba(177, 91, 255, 0.13);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  min-height: 33px;
  padding: 6px 11px;
}

.info-footer.is-open .focus-bar {
  transform: translateY(0);
  opacity: 1;
}

.info-footer.is-open {
  pointer-events: auto;
}

.focus-bar h2 {
  grid-area: title;
  margin: 0;
  padding-top: 0;
}

.focus-bar .detail-subtitle {
  grid-area: sub;
  margin: 0;
}

.focus-bar .detail-artwork {
  grid-area: art;
  width: 120px;
  height: 120px;
  margin: 0;
  max-width: 120px;
  border-radius: 14px;
}

.focus-bar .detail-list {
  grid-area: meta;
  margin: 0;
  grid-template-columns: 92px 1fr;
  gap: 7px 10px;
  max-height: 132px;
  overflow: auto;
  padding-right: 6px;
}

.focus-bar .detail-links {
  grid-area: links;
  justify-content: flex-start;
  align-self: stretch;
  align-content: flex-start;
  flex-wrap: wrap;
  max-height: 144px;
  overflow: auto;
  padding-left: 4px;
  padding-right: 18px;
}

.focus-bar .detail-links button,
.focus-bar .detail-links .external-link {
  padding: 8px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
  max-width: 100%;
}

code {
  color: var(--cyan);
  font-family: "Bricolage Grotesque", sans-serif;
}

.lane-panel {
  fill: transparent;
  stroke: rgba(207, 193, 227, 0.16);
  stroke-width: 1;
  stroke-dasharray: 4 10;
  pointer-events: none;
}

.lane-label {
  fill: rgba(229, 220, 240, 0.84);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.lane-sublabel {
  fill: rgba(198, 186, 212, 0.72);
  font-size: 13px;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.grid-line {
  stroke: rgba(198, 140, 255, 0.19);
  stroke-width: 1;
  stroke-dasharray: 3 9;
  pointer-events: none;
}

.year-label {
  fill: rgba(236, 218, 255, 0.72);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.edge {
  fill: none;
  stroke-linecap: round;
  mix-blend-mode: screen;
  transition:
    opacity 150ms ease,
    stroke-width 150ms ease,
    stroke 150ms ease;
}

.edge-release {
  stroke: rgba(104, 246, 255, 0.44);
  stroke-width: 2.4;
}

.edge-included {
  stroke: rgba(255, 98, 223, 0.34);
  stroke-width: 2.1;
}

.node {
  cursor: pointer;
  transition: opacity 150ms ease;
}

.single-card-bg {
  fill: rgba(20, 8, 38, 0.92);
  stroke: rgba(104, 246, 255, 0.14);
  stroke-width: 1.1;
}

.single-pill {
  fill: rgba(104, 246, 255, 0.17);
}

.song-pill {
  fill: rgba(255, 106, 223, 0.11);
  stroke: rgba(255, 106, 223, 0.56);
  stroke-width: 1.2;
}

.song-dot {
  fill: var(--cyan);
}

.album-card-base {
  fill: rgba(17, 7, 34, 0.95);
  stroke: rgba(188, 128, 255, 0.46);
  stroke-width: 1.35;
}

.album-card-sheen {
  fill: url(#albumSheenGradient);
}

.node-title,
.album-track-text,
.album-type,
.album-date,
.single-date,
.single-title,
.song-label {
  pointer-events: none;
}

.single-title,
.song-label,
.album-title {
  fill: var(--text);
  font-weight: 700;
}

.single-title,
.song-label {
  font-size: 14px;
}

.album-title {
  fill: #fef4ff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.album-title.is-compact {
  font-size: 17px;
  letter-spacing: 0.015em;
}

.single-date,
.album-date,
.album-type,
.album-track-text,
.track-count {
  fill: rgba(234, 215, 255, 0.78);
}

.single-date,
.album-date,
.album-type,
.track-count {
  font-size: 12px;
}

.album-track-text {
  font-size: 13px;
}

.track-hit {
  fill: rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: fill 140ms ease;
}

.track-proxy:hover .track-hit {
  fill: rgba(255, 255, 255, 0.04);
}

.node.is-hovered .single-card-bg,
.node.is-active .single-card-bg {
  stroke: rgba(111, 248, 255, 0.95);
  filter: drop-shadow(0 0 14px rgba(104, 246, 255, 0.45));
}

.node.is-hovered .song-pill,
.node.is-active .song-pill {
  fill: rgba(255, 106, 223, 0.2);
  stroke: rgba(255, 106, 223, 0.98);
  filter: drop-shadow(0 0 14px rgba(255, 106, 223, 0.42));
}

.node.is-hovered .album-card-base,
.node.is-active .album-card-base {
  stroke: rgba(199, 141, 255, 0.97);
  filter: drop-shadow(0 0 20px rgba(182, 122, 255, 0.39));
}

.edge.is-active.edge-release {
  stroke: rgba(94, 242, 255, 0.98);
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(94, 242, 255, 0.44));
}

.edge.is-active.edge-included {
  stroke: rgba(255, 106, 223, 0.98);
  stroke-width: 3.4;
  filter: drop-shadow(0 0 8px rgba(255, 106, 223, 0.42));
}

.graph-dimmed .node,
.graph-dimmed .edge,
.graph-dimmed .track-proxy {
  opacity: 0.16;
}

.graph-dimmed .node.is-active,
.graph-dimmed .edge.is-active,
.graph-dimmed .track-proxy.is-active {
  opacity: 1;
}

.track-proxy.is-active .album-track-text {
  fill: #fff9ff;
}

.track-proxy.is-active .track-hit {
  fill: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1180px) {
  .focus-bar {
    grid-template-columns: 116px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "art title"
      "art sub"
      "meta links";
    align-items: start;
    min-height: 0;
    max-height: min(46vh, 340px);
  }

  .focus-bar .detail-links {
    justify-content: flex-start;
  }

  .focus-bar .detail-list {
    max-height: 164px;
  }

  .focus-bar .detail-links {
    max-height: 164px;
  }
}

@media (max-width: 900px) {
  .layout,
  .info-footer {
    width: 100vw;
  }

  .graph-panel,
  .detail-card {
    border-radius: 0;
  }

  .panel-bar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .top-card {
    min-height: 42px;
    border-radius: 14px;
    gap: 8px;
    padding: 4px 6px 4px 10px;
  }

  .top-card .panel-kicker {
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    max-width: calc(100vw - 176px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-hover-tip {
    display: none;
  }

  .panel-actions {
    margin-left: auto;
    width: auto;
    gap: 4px;
  }

  .filter-popover {
    right: 0;
    min-width: 156px;
  }

  .panel-actions button {
    min-height: 32px;
    font-size: 0.74rem;
    padding: 7px 10px;
  }

  .tooltip {
    display: none;
  }

  .graph-stage {
    scrollbar-width: thin;
  }

  .info-footer {
    padding: 0 8px calc(8px + env(safe-area-inset-bottom));
  }

  .site-note {
    margin-top: 6px;
    font-size: 0.66rem;
    text-align: center;
  }

  .focus-bar {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "art title"
      "art sub"
      "meta meta"
      "links links";
    row-gap: 8px;
    column-gap: 12px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    padding-top: 28px;
    min-height: 0;
    max-height: min(62vh, 470px);
    overflow-y: auto;
  }

  .focus-bar .detail-artwork {
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }

  .focus-bar h2 {
    font-size: clamp(1.05rem, 4.7vw, 1.35rem);
    padding-top: 0;
    line-height: 1.15;
  }

  .focus-bar .detail-list {
    grid-template-columns: 82px 1fr;
    max-height: none;
    font-size: 0.87rem;
  }

  .focus-bar .detail-links {
    max-height: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .focus-bar .detail-links button,
  .focus-bar .detail-links .external-link {
    flex: 0 0 auto;
    font-size: 0.76rem;
    padding: 8px 11px;
  }

  .focus-close {
    top: 7px;
    right: 8px;
    min-height: 30px;
    font-size: 0.72rem;
    padding: 5px 9px;
  }
}

@media (max-width: 620px) {
  .lane-label {
    font-size: 22px;
  }

  .lane-sublabel {
    font-size: 11px;
  }

  .year-label {
    font-size: 11px;
  }

  .single-title,
  .song-label {
    font-size: 13px;
  }

  .album-track-text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-card::after {
    animation: none;
  }

  .focus-bar,
  .panel-actions button,
  .detail-links button {
    transition: none;
  }
}
