:root {
  color-scheme: dark;
  --bg: #090b0d;
  --panel: #14171a;
  --line: #30363b;
  --text: #f3f4ec;
  --muted: #a1aaa5;
  --accent: #bdff58;
  font:
    16px/1.5 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 32px 52px;
}
main {
  min-height: 70vh;
  padding-top: 64px;
  padding-bottom: 72px;
}
h1 {
  font-size: clamp(48px, 6.7vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.055em;
  margin: 20px 0 24px;
  font-weight: 850;
}
em {
  font-style: normal;
  color: var(--accent);
}
.eyebrow {
  font:
    700 11px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.intro {
  color: var(--muted);
  font-size: 18px;
  max-width: 590px;
  margin: 0 0 44px;
}
.catalog-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
}
.catalog-heading .download-all {
  flex: 0 0 auto;
  margin: 12px 0 24px;
  font:
    italic 900 18px/1.3 "Exo Shop",
    system-ui;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  padding: 13px 22px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.catalog-heading .download-all:focus-visible {
  clip-path: none;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@font-face {
  font-family: "Exo Shop";
  src: url("/fonts/exo-2-900-italic.9ab22b3c6d.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Shop";
  src: url("/fonts/archivo-900-italic-w125.20d5f3cd0b.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
.catalog {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.7fr);
  gap: 52px;
  align-items: start;
}
.track-menu {
  padding-top: 20px;
}
.track-menu-label {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 20px;
  margin: 0 0 22px;
}
.track-tabs {
  display: grid;
  gap: 30px;
}
.track-group {
  display: grid;
  gap: 14px;
}
.track-group .track-menu-label {
  margin-bottom: 2px;
}
.track-remix {
  display: block;
  margin-top: 5px;
  font:
    italic 900 14px/1.3 "Archivo Shop",
    system-ui;
  text-transform: none;
  letter-spacing: 0;
}
.track-artist {
  grid-column: 2;
  font:
    12px/1.5 system-ui,
    sans-serif;
  margin-top: 8px;
}
.release-artist {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.track-tab {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #edf0e9;
  text-align: left;
}
.track-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(-12deg);
  background: rgba(7, 9, 12, 0.32);
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  transition: background 0.18s ease;
}
.track-tab:hover {
  background: none;
  color: white;
}
.track-tab:hover::before {
  background: rgba(189, 255, 88, 0.13);
}
.track-number {
  font:
    10px ui-monospace,
    monospace;
  padding-top: 6px;
  opacity: 0.7;
}
.track-name {
  font:
    italic 900 clamp(21px, 2.05vw, 31px)/1.05 "Archivo Shop",
    system-ui;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.track-tab[aria-selected="true"] {
  color: #101608;
}
.track-tab[aria-selected="true"]::before {
  background: var(--accent);
  border-color: var(--accent);
}
.track-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.track-stage {
  min-width: 0;
}
.track {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: rgba(7, 9, 12, 0.82);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  backdrop-filter: blur(14px);
  scroll-margin-top: 28px;
}
.track[hidden] {
  display: none;
}
.track-release {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.track-body {
  min-width: 0;
}
.track h2 {
  font:
    italic 900 clamp(28px, 2.6vw, 40px)/1 "Exo Shop",
    system-ui;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  text-shadow: 0 3px 0 rgba(124, 255, 107, 0.18);
  overflow-wrap: anywhere;
}
.track .tag {
  color: var(--accent);
  letter-spacing: 0.17em;
}
.track .version {
  font:
    10px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.04em;
  margin: 0;
}
.track-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: 28px;
  padding-top: 22px;
}
.track-purchase label:first-child {
  margin-top: 0;
}
.purchase-delivery {
  min-width: 0;
}
.track button[type="submit"],
.project-purchase > button,
.track .supporter-portal-button,
.panel button,
.panel .button,
.library-track button,
.library-account button,
.portal-overview button,
.portal-overview .button,
.checkout-actions button,
.checkout-membership .button {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  min-height: 46px;
  font:
    italic 900 15px/1.3 "Exo Shop",
    system-ui;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.track button[type="submit"]:focus-visible,
.supporter-portal-button:focus-visible {
  clip-path: none;
}
.tag {
  color: var(--muted);
  font:
    10px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.version {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 14px 0 6px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #434c50;
  border-radius: 4px;
  background: #0c0f10;
  color: var(--text);
  padding: 12px;
  font: inherit;
  font-size: 16px;
  margin-top: 6px;
}
/* The browser's own arrow sits at the very edge and padding can't move it: draw the chevron, inset like the text. */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23bdff58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  cursor: pointer;
}
select:hover { border-color: var(--accent); }
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Each WAV card embeds the first of Spotify, SoundCloud and YouTube the song is on (content/listen.js). */
.listen-player { display: block; width: 100%; border: 0; border-radius: 12px; }
.listen-spotify { height: 152px; }
/* SoundCloud's widget only comes in white: inverted and turned back round the colour wheel, it reads as
   a dark player, and its accent (sent pre-inverted) lands on the site's green. */
.listen-soundcloud { height: 166px; border-radius: 0; filter: invert(1) hue-rotate(180deg) saturate(3); }
.listen-youtube { height: auto; aspect-ratio: 16 / 9; max-height: 360px; background: #000; }
/* The player gets the card's full width, under the artwork and title (Orlando, Nov 23). */
.track-listen { grid-column: 1 / -1; min-width: 0; }
.track-listen .track-player { max-width: none; margin-top: 0; }
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.check {
  display: flex;
  gap: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: #bbc2bc;
  font-weight: 400;
  min-height: 50px;
}
button,
.button {
  display: inline-block;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #12180a;
  padding: 12px 17px;
  border-radius: 4px;
  font: 700 13px/1.4 system-ui;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #d3ff92;
  color: #12180a;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.track button {
  width: 100%;
  margin-top: 12px;
}
.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}
.secondary:hover {
  background: #303830;
  color: var(--text);
}
.status {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.5;
  margin-bottom: 0;
}
.status:empty {
  display: none;
}
.error {
  color: #ffb6aa;
}
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.panel {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--panel);
  border-radius: 0;
  border-left: 3px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  margin: 24px 0;
}
.narrow {
  max-width: 620px;
}
.panel p {
  color: #bcc5be;
}
.panel h2 {
  margin-top: 0;
  letter-spacing: -0.03em;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details[open] > summary {
  margin-bottom: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid label {
  margin: 0;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
td,
th {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 500;
}
td button {
  font-size: 11px;
  padding: 6px 10px;
  margin: 3px;
}
code {
  font:
    11px ui-monospace,
    monospace;
  word-break: break-word;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.admin-prices {
  display: flex;
  gap: 5px;
  min-width: 180px;
}
.admin-prices input {
  width: 75px;
  font-size: 12px;
  padding: 5px;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .catalog {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr);
    gap: 28px;
  }
}
@media (max-width: 620px) {
  main {
    padding-left: 20px;
    padding-right: 20px;
  }

  main {
    padding-top: 40px;
  }
  .catalog {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .track h2 {
    min-height: 0;
  }

  .check {
    min-height: 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
}

/* The Music section's responsive video, with a readable scrim and still fallback. */
body[data-page="catalog"] {
  isolation: isolate;
}
.shop-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.shop-background picture,
.shop-background img,
.shop-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.shop-background img,
.shop-background video {
  object-fit: cover;
  object-position: center;
}
.shop-background video {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.shop-background video.has-frame {
  opacity: 1;
}
.shop-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 11, 13, 0.65),
      rgba(9, 11, 13, 0.42) 35%,
      rgba(9, 11, 13, 0.8)
    ),
    linear-gradient(90deg, rgba(9, 11, 13, 0.35), transparent 75%);
}
body[data-page="catalog"] .intro {
  color: #dde3dc;
  text-shadow: 0 1px 8px #000;
}
body[data-page="catalog"] .eyebrow,
body[data-page="catalog"] h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .shop-background video {
    transition: none;
  }
}

.price-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 10px;
}
.price-stepper {
  display: flex;
  flex: 0 0 156px;
  height: 44px;
  border: 1px solid #434c50;
  border-radius: 4px;
  background: #0c0f10;
}
.price-stepper input {
  flex: 1;
  width: 68px;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.price-stepper input::-webkit-inner-spin-button,
.price-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.track .price-stepper button {
  flex: 0 0 36px;
  width: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
  font: 500 22px/1 system-ui;
}
.track .price-stepper button:hover:not(:disabled) {
  background: #28351e;
}
.price-stepper :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.price-options {
  display: flex;
  flex: 1 1 130px;
  min-width: 0;
  border: 1px solid #59654e;
  border-radius: 999px;
  overflow: hidden;
  margin: 0;
}
.track .price-options button {
  flex: 1;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-right: 1px solid #59654e;
  border-radius: 0;
  background: #0c0f10;
  color: var(--text);
}
.track .price-options button:last-child {
  border-right: 0;
}
.track .price-options button:hover:not(:disabled) {
  background: #28351e;
}
.track .price-options button[aria-pressed="true"],
.track .price-options button[aria-pressed="true"]:hover:not(:disabled) {
  background: var(--accent);
  color: #12180a;
}
.track .price-options button:focus-visible {
  outline-offset: -4px;
}
.price-note {
  font-size: 12px;
  line-height: 1.5;
  color: #d9e7c6;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  margin: 12px 0 16px;
}

/* One supporter membership and individually purchased sessions. */
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.support-perks {
  padding-left: 20px;
  margin: 28px 0;
}
.support-perks li {
  padding-left: 6px;
  margin: 18px 0;
  line-height: 1.6;
}
.support-perks li::marker { color: var(--accent); }
.support-price .price-control { margin-top: 18px; }
.support-price .price-options { flex: 1 1 170px; }
.price-currency { color: var(--muted); font-size: 14px; pointer-events: none; }
.price-value { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center; gap: 3px; }
.price-stepper .price-value input { flex: 0 1 auto; width: 1ch; text-align: center; padding: 0; }
.support-summary {
  font: italic 900 32px/1.2 "Exo Shop", system-ui;
  color: var(--accent);
  overflow-wrap: anywhere;
  margin: 26px 0 12px;
}
.support-summary.error { color: #ffb6aa; font-size: 20px; }
.project-addon {
  border: 1px solid #7e69ba;
  border-left: 4px solid #bda0ff;
  background: linear-gradient(115deg, rgba(148, 98, 255, .2), rgba(17, 20, 30, .7));
  padding: 20px;
  margin-top: 22px;
}
.project-addon .check { min-height: 0; margin: 14px 0; font: italic 900 23px/1.15 "Exo Shop", system-ui; text-transform: uppercase; color: var(--text); }
.project-addon .check input { margin-top: 4px; }
.addon-heading, .addon-offer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.addon-offer strong { font: italic 900 32px/1.2 "Exo Shop", system-ui; }
.addon-offer span { color: #d1bfff; font-size: 12px; }
.project-addon.bundle-qualified { border-color: var(--accent); background: linear-gradient(115deg, rgba(189,255,88,.12), rgba(17,20,30,.7)); }
.bundle-qualified .addon-offer { color: var(--accent); }
.bundle-qualified .addon-offer span { color: var(--accent); }
.project-addon p { line-height: 1.6; }
.track-purchase[hidden] { display: none; }
.member-download { margin-top: 20px; }
.support-account { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.support-account .actions { margin-top: 12px; }
.support-account .actions button { width: auto; }
.support-account h3 { font-size: 15px; }
.library-signin { max-width: 620px; }
.library-signin .check { margin-top: 18px; }
.download-access-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.download-access-actions button,
.download-access-actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}
@media (max-width: 600px) {
  .download-access-actions { grid-template-columns: 1fr; }
}
.library-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; font-size: 13px; }
.library-tracks { display: grid; gap: 16px; }
.library-track { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px; background: rgba(7,9,12,.85); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.library-track img { width: 88px; aspect-ratio: 1; object-fit: cover; }
.library-track h2 { font: italic 900 24px/1.2 "Exo Shop", system-ui; margin: 0 0 6px; }
.library-track p { font-size: 13px; margin: 4px 0; }
.library-track .status { grid-column: 2 / -1; }
@media (max-width: 620px) {
  .library-track { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .library-track img { width: 64px; }
  .library-track > button { grid-column: 1 / -1; }
  .library-track .status { grid-column: 1 / -1; }
}
.coming-soon { display: inline-block; color: var(--accent); font-size: 10px; margin-left: 6px; text-transform: uppercase; }
.project-addon p { font-size: 12px; color: var(--muted); margin: 8px 0 4px; }
.project-addon a, .project-purchase > a, .supporter-benefits > a { font-size: 13px; }
.project-description { margin: 22px 0; }
.project-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-prices span, .project-prices small { display: block; font-size: 12px; color: var(--muted); }
.project-prices strong { display: block; font: italic 900 48px/1.2 "Exo Shop", system-ui; margin: 8px 0; }
.supporter-rate strong { color: var(--accent); }
.project-prices del { color: var(--muted); font-size: 24px; margin-right: 6px; }
.project-prices small a { font-size: 12px; }
/* What a buyer needs to open the project (content/project-details.js), before the prices. */
.project-needs { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.project-needs h3 { margin: 0 0 10px; font: italic 900 22px/1.2 "Exo Shop", system-ui; }
.needs-list { margin: 0 0 10px; padding-left: 18px; }
.needs-list li { margin: 4px 0; }
.plugin-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px; }
.plugin-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(7,9,12,.6); }
.plugin-name a { font-weight: 700; color: var(--text); }
.plugin-meta { font: 11px ui-monospace, monospace; color: var(--accent); letter-spacing: 0.04em; }
.plugin-use { font-size: 13px; color: var(--muted); }
.project-needs .small { margin: 6px 0; color: var(--muted); }
.project-more { margin-top: 12px; }
.project-more summary { cursor: pointer; font-weight: 700; }
.project-more p, .project-more ol { color: var(--muted); font-size: 14px; }
/* One way to buy a project: the email the download goes to and Buy, then becoming a supporter, then sign-in. */
.track-purchase.project-buy { grid-template-columns: 1fr; }
.project-buy label { margin: 0; }
.project-buy button[type="submit"] { white-space: nowrap; }
.project-buy .supporter-cta {
  display: block; margin-top: 10px; min-height: 46px; padding: 12px 17px; text-align: center;
  background: transparent; color: var(--accent); border: 1px solid var(--accent); border-radius: 0;
  font: italic 900 15px/1.3 "Exo Shop", system-ui; text-transform: uppercase; letter-spacing: 0.02em;
}
.project-buy .supporter-cta:hover { background: rgba(189, 255, 88, 0.12); color: var(--accent); }
.project-signin { margin: 16px 0 0; text-align: center; font-size: 16px; color: var(--text); }
.project-signin a { color: var(--accent); font-weight: 700; }
@media (max-width: 560px) {
  /* On a phone the old price sits on its own line above the current one. */
  .project-prices del { display: block; margin: 0 0 2px; line-height: 1.1; }
}
.track .tag.sale-tag { display: table; margin: 8px 0 0; padding: 2px 8px; background: var(--accent); color: #0b0d12; letter-spacing: 0.1em; }
.sale-pill { margin-left: 6px; color: var(--accent); font: 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.1em; }
.sale-notice { color: var(--text); }
.sale-notice strong { color: var(--accent); text-transform: uppercase; }
.project-support-link { display: inline-block; margin: 0 0 12px; }
@media (max-width: 760px) {
  .support-layout { grid-template-columns: 1fr; }
}

body[data-page="catalog"] h1 {
  font-family: "Exo Shop", system-ui;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(42px, 5.6vw, 72px);
}
@media (max-width: 1050px) {
  .track {
    padding: 22px;
  }
  .track-release {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
  }
  .track-purchase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .catalog {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .track-menu {
    padding-top: 0;
  }
  .track-menu-label {
    padding-left: 0;
    margin-bottom: 16px;
  }
  .track-tabs {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .track-group {
    gap: 10px;
  }
  .track-tab {
    padding: 14px 12px;
    grid-template-columns: 16px 1fr;
    column-gap: 6px;
  }
  .track-name {
    font-size: 22px;
    overflow-wrap: normal;
  }
  .track-number {
    font-size: 9px;
  }
  .track {
    padding: 20px;
  }
  .track h2 {
    font-size: 28px;
  }
  .track-release {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
  }
  .track-purchase {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .track-tab::before {
    transition: none;
  }
}

.portal-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 36px; }
.portal-overview h2 { font-size: clamp(24px, 3vw, 34px); }
.portal-overview .actions { margin: 24px 0 12px; }
.library-title { font: italic 900 32px/1.2 "Exo Shop", system-ui; margin: 32px 0 20px; }
@media (max-width: 760px) { .portal-overview { grid-template-columns: 1fr; } }

.checkout-review { width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; color: var(--text); background: #0b1016; border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.checkout-review::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.checkout-review h2 { font: italic 900 34px/1.1 "Exo Shop", system-ui; margin: 12px 0 24px; text-transform: uppercase; }
.checkout-wav, .checkout-total { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.checkout-wav { margin-bottom: 24px; }
.checkout-wav p { margin: 6px 0 0; }
.checkout-wav > strong { white-space: nowrap; }
.checkout-review .project-addon { margin: 0; }
.addon-price { display: flex; align-items: baseline; gap: 12px; }
.addon-price del { color: var(--muted); font-size: 20px; }
.checkout-total { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.checkout-total strong { color: var(--accent); font-size: 24px; }
.checkout-actions { display: grid; gap: 10px; margin-top: 20px; }
@media (max-width: 600px) { .checkout-review { padding: 20px; } }

.checkout-membership { margin-top: 20px; padding: 20px; border: 1px solid var(--line); background: rgba(189,255,88,.04); }
.checkout-membership h3 { font: italic 900 25px/1.2 "Exo Shop", system-ui; margin: 10px 0; }
.checkout-membership p { font-size: 13px; line-height: 1.6; }
.checkout-membership .button { margin: 4px 0; }
.checkout-membership .small { color: var(--muted); font-size: 12px; margin-bottom: 0; }

.checkout-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.checkout-extras .checkout-membership { margin: 0; }
@media (max-width: 700px) { .checkout-extras { grid-template-columns: 1fr; } }

.checkout-email-updates { margin-top: 20px; font-size: 13px; line-height: 1.5; }

.supporter-portal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  background: #ff80bd;
  border-color: #ff80bd;
  color: #190d17;
}
.supporter-portal-button:hover {
  background: #ffa3cf;
  border-color: #ffa3cf;
  color: #190d17;
}

.mobile-track-picker { display: none; }
@media (max-width: 760px) {
  .mobile-track-picker { display: block; margin: 0; font-size: 13px; }
  .mobile-track-picker select { width: 100%; min-height: 48px; font-size: 16px; margin-top: 8px; }
  .track-menu { display: none; }
  .catalog { gap: 18px; }
  input, select, textarea { font-size: 16px; }
  .price-control { gap: 8px; }
  .price-options { flex: 1 1 140px; }
  .price-stepper { flex: 1 0 156px; }
  .track-release { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
  .track h2 { overflow-wrap: anywhere; }
  .shop-utility a { display: inline-block; padding: 8px 0; }
}
@media (max-width: 360px) {
  main { padding-left: 16px; padding-right: 16px; }
  .track { padding: 16px; }
}

.library-account p { overflow-wrap: anywhere; }
.billing-panel { margin-top: 24px; }
.billing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.billing-actions .action-button { max-width: 100%; white-space: normal; }
.analytics-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-block: 24px; }
.analytics-filters label { flex: 1 1 160px; min-width: 0; }
.analytics-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.analytics-kpis > div { border-left: 3px solid var(--accent); background: var(--bg); padding: 16px; }
.analytics-kpis strong { display: block; font-size: clamp(24px,3vw,40px); }
.analytics-kpis span { color: var(--muted); font-size: 14px; }
.analytics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.analytics-table { min-width: 0; }
.analytics-table td { overflow-wrap: anywhere; }
.analytics-bars { display: flex; height: 120px; gap: 3px; align-items: end; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.analytics-bars > div { height: 100%; display: flex; align-items: end; flex: 1; }
.analytics-bars span { display: block; width: 100%; height: var(--bar-height); background: var(--accent); }
.analytics-headline { margin-bottom: 8px; }
.analytics-headline > div { display: grid; gap: 6px; align-content: start; }
.analytics-headline strong { font: italic 900 clamp(24px,3.4vw,46px)/1 "Exo Shop", system-ui; color: var(--text); }
.analytics-headline span { color: var(--muted); font: 10px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.analytics-headline small { color: var(--muted); font-size: 13px; }
.analytics-section { margin-top: 32px; }
.analytics-dashboard { --via-paid: #63a82a; --via-free: #2196c9; --via-supporter: #e0609a; }
.via-paid { background: var(--via-paid); }
.via-free { background: var(--via-free); }
.via-supporter { background: var(--via-supporter); }
.via-joined { background: var(--text); }
.analytics-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.analytics-legend li { display: flex; align-items: center; gap: 7px; }
.analytics-legend i { display: block; width: 12px; height: 12px; }
.analytics-legend .via-joined { width: 8px; height: 8px; border-radius: 50%; margin: 2px; }
.analytics-chart { position: relative; display: flex; gap: 2px; }
.analytics-day { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 150px 16px 18px; outline-offset: 1px; }
.analytics-day:hover .analytics-stack { background: rgba(255,255,255,.05); }
.analytics-day:focus-visible { outline: 2px solid var(--text); }
.analytics-stack { display: flex; flex-direction: column-reverse; gap: 2px; border-bottom: 1px solid var(--line); }
.analytics-stack span { display: block; min-height: 3px; }
.analytics-stack span:last-child { border-radius: 3px 3px 0 0; }
.analytics-joined { display: flex; align-items: center; justify-content: center; }
.analytics-joined i { display: block; width: 8px; height: 8px; border-radius: 50%; }
.analytics-day time { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: visible; }
.analytics-day:nth-last-child(2) time { direction: rtl; }
.analytics-tooltip { position: absolute; top: 0; z-index: 2; display: grid; gap: 3px; max-width: 260px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; pointer-events: none; }
.analytics-tooltip[hidden] { display: none; }
.analytics-tooltip span { color: var(--muted); }
.analytics-traffic { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.analytics-traffic > summary { cursor: pointer; font-weight: 600; }
.analytics-traffic[open] > summary { margin-bottom: 20px; }
.analytics-dashboard > [data-report] > .analytics-table .scroll { max-height: 420px; overflow-y: auto; }
.track-player { display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 14px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); text-decoration: none; }
.track-player .track-player-button { flex: none; display: grid; place-items: center; width: 46px; min-width: 46px; height: 46px; min-height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--accent); color: var(--bg); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); cursor: pointer; }
.track-player .track-player-button svg { width: 22px; height: 22px; }
.track-player .track-player-button:focus-visible { clip-path: none; outline: 2px solid var(--text); outline-offset: 2px; }
.track-player-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.track-player-copy strong { font: italic 900 14px/1.2 "Exo Shop", system-ui; text-transform: uppercase; letter-spacing: .02em; }
.track-player-copy small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.track-player-copy input[type="range"] { width: 100%; min-height: 16px; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--accent); }
.track-player-copy input[type="range"]:disabled { opacity: .5; }
.track-player-status:empty { display: none; }
a.track-player.is-locked { border-style: dashed; background: rgba(255, 255, 255, .02); color: var(--muted); }
.track-player.is-locked .track-player-button { background: #3a4045; color: #a1aaa5; }
a.track-player.is-locked:hover { color: var(--text); border-color: var(--muted); }
a.track-player.is-locked:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.upcoming-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; }
.upcoming-offer p { margin: 0; flex: 1 1 260px; }
.admin-upcoming { display: grid; gap: 8px; margin-top: 8px; }
@media(max-width:700px) { .analytics-grid { grid-template-columns: minmax(0,1fr); } .analytics-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .analytics-day { grid-template-rows: 120px 16px 18px; } }
.billing-summary { margin: 1.5rem 0 .5rem; padding: 1rem; border-left: 3px solid var(--accent); background: rgba(0,0,0,.2); }
.billing-summary dt { color: var(--muted); font-size: .875rem; }
.billing-summary dd { margin: .35rem 0 0; font-size: clamp(1.25rem,3vw,1.7rem); font-weight: 700; }

.legal-document { max-width: 850px; padding: clamp(22px, 4vw, 48px); font-size: 16px; line-height: 1.75; }
.legal-document h2 { margin-top: 2em; margin-bottom: .6em; font-size: clamp(22px, 3vw, 30px); }
.legal-document p, .legal-document li { overflow-wrap: anywhere; }
.legal-document a { text-decoration: underline; }
.legal-document ul { padding-left: 1.3em; }
.legal-date { color: var(--muted); }
.legal-acceptance { align-items: flex-start; margin: 20px 0; line-height: 1.6; font-size: 14px; }
.legal-acceptance a { text-decoration: underline; }
.legal-document button.linkish{display:inline;background:none;border:0;border-radius:0;clip-path:none;padding:0;color:var(--accent);font:inherit;text-transform:none;text-decoration:underline;min-height:0;box-shadow:none}

.catalog-names { margin-top: .7rem; max-width: 32rem; }
.catalog-names summary { cursor: pointer; color: var(--accent); }
.catalog-names form { padding: 1rem 0; min-width: 15rem; }
.catalog-names label { display: block; margin: .7rem 0; }
.catalog-names .small { white-space: normal; overflow-wrap: anywhere; }
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: auto;
  height: 64px;
}

.hud-socials {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hud-socials a,
.tog {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: var(--ink);
  background: rgba(9, 8, 18, 0.45);
  border: 1px solid var(--line);
  transform: skewX(-12deg);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.hud-socials a > *,
.tog > * {
  transform: skewX(12deg);
}
.hud-socials a:hover,
.tog:hover {
  background: var(--a);
  color: var(--cut);
  border-color: var(--a);
}
.hud-socials .i,
.tog .i {
  width: 19px;
  height: 19px;
}
.hud-toggles {
  display: flex;
  gap: 6px;
}
.tog {
  cursor: pointer;
  padding: 0;
}
.tog-sound .i-waves {
  display: none;
}
.tog-sound[aria-pressed="true"] .i-waves {
  display: inline;
}
.tog-sound[aria-pressed="true"] .i-mute {
  display: none;
}
.tog-motion .i-play {
  display: none;
}
.tog-motion[aria-pressed="true"] .i-pause {
  display: none;
}
.tog-motion[aria-pressed="true"] .i-play {
  display: block;
}

.hud-bottom p {
  margin: 0;
}
.prompts {
  font: 400 10.5px/1 var(--f-hud);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.k {
  display: inline-block;
  padding: 5px 7px 4px;
  border: 1px solid var(--faint);
  color: var(--ink);
  letter-spacing: 0.06em;
}
.k + .k {
  margin-left: -4px;
}
.k-round {
  border-radius: 50%;
  padding: 5px 7px 4px;
}
.p-kb,
.p-pad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.p-pad,
.pad .p-kb {
  display: none;
}
.pad .p-pad {
  display: inline-flex;
}
/* "produced by", small, over the Lucy Labs wordmark */
.made {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: 400 9.5px/1 var(--f-hud);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.lucy-logo {
  width: 140px;
  height: auto;
  color: var(--ink);
  opacity: 0.9;
}
.legal {
  font: 400 9.5px/1 var(--f-hud);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.linkish {
  background: none;
  border: 0;
  padding: 4px 2px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linkish:hover {
  color: var(--ink);
}

.credits {
  width: min(720px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 28px clamp(18px, 3vw, 36px);
  background: #0c0b16;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.credits::backdrop {
  background: rgba(3, 2, 8, 0.7);
  backdrop-filter: blur(4px);
}
.credits h2 {
  font: italic 900 32px/1 var(--f-display);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.credits h3 {
  font: 400 11px/1.3 var(--f-hud);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a);
  margin: 22px 0 8px;
}
.credits p,
.credits li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}
.credits ul {
  padding-left: 18px;
  margin: 0;
}
.credits a {
  color: var(--ink);
}
.credits .close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}
.credits .close .i {
  width: 20px;
  height: 20px;
}

/* Shared action treatment: use for runtime actions as well as static links. */
a.action-button, button.action-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background: var(--a, var(--accent)); color: var(--cut, #10110e);
  font: italic 900 15px/1.3 var(--f-menu, "Exo Shop", system-ui);
  text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer;
}
.action-button:hover { filter: brightness(1.1); }
.action-button:focus-visible { clip-path: none; outline: 2px solid var(--ink, #fff); outline-offset: 3px; }
.action-button[hidden] { display: none; }
a.header-account { margin-left: auto; min-height: 42px; padding: 9px 16px; font-size: 13px; }
@media (max-width: 400px) { a.header-account { font-size: 11px; padding-inline: 10px; } }
.hud-top .brand { margin-right: auto; }

a.action-button.secondary, button.action-button.secondary { background: transparent; color: var(--text, var(--ink)); border-color: var(--line); }

/* Shared legal and privacy controls. */
.privacy-banner[hidden] { display: none !important; }
.privacy-banner { position: fixed; z-index: 500; bottom: 16px; left: 16px; right: 16px; max-width: 960px; margin: auto; padding: 20px; border: 1px solid #697365; border-left: 4px solid #bdff58; background: #090b0d; color: #f3f4ec; box-shadow: 0 8px 50px #000a; display: flex; align-items: center; gap: 24px; }
.privacy-banner h2 { margin: 0 0 8px; font: italic 900 22px var(--f-menu, sans-serif); }
.privacy-banner p { margin: 0; font: 14px/1.6 Arial, sans-serif; }
.privacy-banner a { color: #bdff58; text-decoration: underline; }
.privacy-actions { display: flex; gap: 12px; flex-shrink: 0; }
.privacy-actions .action-button { min-height: 44px; padding: 14px 18px; background: #bdff58; color: #090b0d; font-size: 14px; }
.privacy-actions button:disabled { opacity: .5; cursor: not-allowed; }
.hud-bottom .legal { flex-wrap: wrap; line-height: 1.8; }
@media (max-width: 700px) { .privacy-banner { flex-direction: column; align-items: stretch; bottom: 8px; left: 8px; right: 8px; padding: 16px; gap: 16px; } .privacy-actions { display: grid; grid-template-columns: 1fr 1fr; } }
/* Shared game HUD; shop pages scroll naturally instead of covering the footer. */
@font-face {
  font-family: "Michroma";
  src: url("/fonts/michroma-400.585e530238.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.8909904ab6.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.f9a06e79cd.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #f7f5ff;
  --dim: rgba(247, 245, 255, 0.66);
  --faint: rgba(247, 245, 255, 0.4);
  --a: var(--accent);
  --cut: #0b0a12;
  --f-display: "Archivo Shop", system-ui;
  --f-menu: "Exo Shop", system-ui;
  --f-hud: "Michroma", monospace;
}
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  font-family: "Inter", system-ui;
}
.hud-top,
.hud-bottom {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  position: relative;
  z-index: 2;
}
.hud-top {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  padding: max(14px, env(safe-area-inset-top))
    max(4.2vw, env(safe-area-inset-right)) 0
    max(4.2vw, env(safe-area-inset-left));
}
.hud-socials {
  margin-left: auto;
}
.hud-top .hud-toggles {
  margin: 0;
}
.hud-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 22px max(4.2vw, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom)) max(4.2vw, env(safe-area-inset-left));
}
.hud-bottom .legal {
  justify-self: end;
  text-align: right;
  line-height: 1.8;
}
.hud-bottom button:hover {
  background: none;
}
body:not([data-page="catalog"]) .prompts {
  visibility: hidden;
}
main {
  width: 100%;
  flex: 1 0 auto;
  margin: 0 auto;
  min-height: 0;
  padding-top: 34px;
  padding-bottom: 28px;
}
/* Downloads uses the same numbered, italic menu and angled selection band as home. */
.downloads-header { margin-bottom: 32px; }
.downloads-header h1 { margin: 10px 0 26px; }
.shop-nav { margin: 0 0 36px; }
.shop-nav ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.shop-nav a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; position: relative; isolation: isolate; padding: 18px 20px; color: var(--ink); text-decoration: none; }
.shop-nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 10, 15, .72); border-left: 2px solid var(--line); transform: skewX(-14deg); transition: background .18s; }
.download-nav-number { font: 10px/1 var(--f-hud); color: var(--dim); }
.download-nav-label { font: italic 900 clamp(22px, 2.6vw, 34px)/1.1 var(--f-menu); text-transform: uppercase; }
.download-nav-hint { grid-column: 2; font: 9px/1.5 var(--f-hud); text-transform: uppercase; letter-spacing: .04em; margin-top: 7px; color: var(--dim); }
.shop-nav a:hover::before { background: rgba(189, 255, 88, .16); }
.shop-nav a[aria-current="page"]::before { background: var(--accent); border-color: var(--accent); }
.shop-nav a[aria-current="page"], .shop-nav a[aria-current="page"] span { color: var(--cut); }
.shop-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.download-page-title { font: italic 900 clamp(32px, 4vw, 46px)/1.1 var(--f-menu); letter-spacing: -.03em; margin: 12px 0 20px; }
@media (max-width: 700px) {
  .shop-nav ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .shop-nav a { min-height: 52px; display: flex; justify-content: center; align-items: center; padding: 10px 5px; text-align: center; }
  .download-nav-number, .download-nav-hint { display: none; }
  .download-nav-label { font-size: clamp(13px, 3.8vw, 20px); }
  .downloads-header h1 { margin-bottom: 18px; }
  .downloads-header { margin-bottom: 22px; }
  .shop-nav { margin-bottom: 0; }
  main { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .shop-nav a::before { transition: none; } }
.shop-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}
.credits {
  margin: auto;
}
.credits h2 {
  letter-spacing: -0.02em;
}
.credits button {
  color: var(--ink);
}
.i {
  width: 1.25em;
  height: 1.25em;
  display: block;
  flex: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.track-remix {
  font-size: 0.5em;
}
.track .track-remix {
  font-family: inherit;
  line-height: 1.3;
  margin-top: 6px;
}
@media (max-width: 860px) {
  .hud-top {
    gap: 8px;
  }
  .brand-logo {
    height: clamp(38px, 11.5vw, 48px);
  }
  .hud-socials a,
  .tog {
    width: 38px;
    height: 38px;
  }
  .hud-socials .i,
  .tog .i {
    width: 17px;
    height: 17px;
  }
  .hud-socials,
  .hud-toggles {
    gap: 4px;
  }
  .hud-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .hud-bottom .prompts {
    display: none;
  }
  .hud-bottom .legal {
    text-align: center;
    font-size: 8.5px;
  }
  .made {
    font-size: 8.5px;
    flex-basis: 100%;
  }
}
@media (max-width: 360px) {
  .hud-top {
    gap: 6px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .hud-socials a,
  .tog {
    width: 34px;
    height: 38px;
  }
}

/* The same display face on recovery, receipts, preferences, and the vault. */
body[data-page] h1 {
  font-family: var(--f-menu);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(42px, 5.6vw, 72px);
}
body[data-page] .panel h2 {
  font: italic 900 28px/1.1 var(--f-menu);
}
.shop-nav a {
  text-decoration: none;
}
body:not([data-page="catalog"]) .shop-background::after {
  background: rgba(6, 5, 11, 0.78);
}
body:not([data-page="catalog"]) .button.secondary {
  background: rgba(9, 8, 18, 0.8);
}

.downloads-breadcrumb { font: 10px/1.6 var(--f-hud); text-transform: uppercase; color: var(--dim); }
.downloads-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.downloads-breadcrumb li { display: flex; align-items: center; gap: 12px; }
.downloads-breadcrumb a { color: var(--dim); text-decoration: none; padding: 6px 0; }
.downloads-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.downloads-breadcrumb [aria-current] { color: var(--accent); }
.downloads-breadcrumb a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
html.route-pending {
  background: #080910;
}
.route-pending body {
  visibility: hidden;
}
/* Short diagonal loading-screen wipe between the game menu and the vault. */
.route-wipe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  background: #080910;
  color: #bdff58;
}
.route-wipe::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 90px,
    #bdff580c 91px 93px
  );
  transform: translateX(-8%);
}
.route-wipe::after {
  content: "";
  position: absolute;
  top: 62%;
  left: -10%;
  width: 120%;
  height: 4px;
  background: #bdff58;
  box-shadow:
    0 12px #bdff5838,
    0 -12px #bdff5820;
  transform: rotate(-5deg);
}
.route-wipe b {
  position: relative;
  font: italic 900 clamp(32px, 8vw, 90px)/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.route-wipe span {
  position: relative;
  margin-top: 16px;
  font: 10px/1.4 var(--f-hud);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f7f5ff;
}
.route-leaving .route-wipe {
  visibility: visible;
  animation: route-in 320ms cubic-bezier(0.7, 0, 0.2, 1) both;
}
.route-arriving .route-wipe {
  visibility: visible;
  animation: route-out 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes route-in {
  from {
    clip-path: polygon(0 0, 0 0, -20% 100%, 0 100%);
  }
  to {
    clip-path: polygon(0 0, 120% 0, 100% 100%, 0 100%);
  }
}
@keyframes route-out {
  from {
    clip-path: polygon(0 0, 120% 0, 100% 100%, 0 100%);
  }
  to {
    clip-path: polygon(120% 0, 120% 0, 100% 100%, 100% 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-wipe {
    display: none;
  }
}
