:root {
  color-scheme: dark;
  --mtx-bg: #070706;
  --mtx-panel: rgba(19, 18, 16, 0.88);
  --mtx-panel-2: rgba(25, 23, 20, 0.96);
  --mtx-paper: #ddd0b7;
  --mtx-paper-2: #c7b79c;
  --mtx-ink: #e8ddc9;
  --mtx-muted: rgba(214, 200, 178, 0.64);
  --mtx-muted-2: rgba(193, 180, 157, 0.42);
  --mtx-line: rgba(176, 161, 134, 0.18);
  --mtx-line-strong: rgba(214, 196, 166, 0.34);
  --mtx-teal: #48c7bb;
  --mtx-coral: #ee6957;
  --mtx-yellow: #f1c14e;
  --mtx-green: #89b487;
  --mtx-black: #11110f;
  --mtx-loaded-glow: rgba(137, 180, 135, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--mtx-bg);
}

body {
  color: var(--mtx-ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.mtx-v1 {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(7, 7, 6, 0.92), rgba(4, 4, 4, 0.98)),
    linear-gradient(rgba(232, 221, 201, 0.025) 1px, transparent 1px),
    url("/legacy-home/images/forge-wall-tile.png") center center / 300px 560px repeat,
    var(--mtx-bg);
  background-size: cover, 100% 28px, 300px 560px, cover;
}

.mtx-v1-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.mtx-v1-kicker,
.mtx-v1-brand,
.mtx-v1-button,
.mtx-v1-mini,
.mtx-v1-status,
.mtx-v1-slot__number,
.mtx-v1-side h2,
.mtx-v1-player-meta,
.mtx-v1-track-button,
.mtx-v1-print-label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mtx-v1-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--mtx-yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.mtx-v1-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.94;
}

.mtx-v1-brand span {
  display: inline-block;
}

.mtx-v1-brand:hover,
.mtx-v1-brand:focus-visible {
  color: #ffd873;
  outline: none;
}

.mtx-v1-hero {
  display: grid;
  gap: 18px;
  padding: 14px 0 22px;
}

.mtx-v1-kicker {
  margin: 18px 0 0;
  color: var(--mtx-yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mtx-v1-hero h1,
.mtx-v1-player-title,
.mtx-v1-print-title {
  margin: 0;
  color: #ffffff;
  font-family: "Syne", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.35rem, 12vw, 5.6rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.94;
}

.mtx-v1-hero h1 {
  font-family: "Russo One", "Syne", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.mtx-v1-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--mtx-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.mtx-v1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 16px;
  align-items: start;
}

.mtx-v1-stack {
  display: grid;
  gap: 14px;
}

.mtx-v1-panel {
  border: 1px solid var(--mtx-line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 21, 0.92), rgba(12, 11, 10, 0.94)),
    url("/legacy-home/images/forge-wall-tile.png") center center / 300px 560px repeat;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  padding: clamp(14px, 3vw, 22px);
}

.mtx-v1-panel h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.mtx-v1-helper {
  margin: -4px 0 16px;
  color: var(--mtx-muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.mtx-v1-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mtx-v1-field {
  display: grid;
  gap: 7px;
}

.mtx-v1-field.is-wide {
  grid-column: 1 / -1;
}

.mtx-v1-field span,
.mtx-v1-field label {
  color: var(--mtx-muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mtx-v1-field input,
.mtx-v1-field textarea,
.mtx-v1-song-search input,
.mtx-v1-title-edit {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(177, 162, 136, 0.12);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  line-height: 1.4;
  padding: 10px 12px;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.mtx-v1-field textarea {
  min-height: 94px;
  resize: vertical;
}

.mtx-v1-field input:focus,
.mtx-v1-field textarea:focus,
.mtx-v1-song-search input:focus,
.mtx-v1-title-edit:focus {
  border-color: var(--mtx-line-strong);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(222, 208, 184, 0.12);
  outline: none;
}

.mtx-v1-side-grid,
.mtx-v1-player-sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mtx-v1-side {
  display: grid;
  gap: 9px;
}

.mtx-v1-side h2 {
  margin: 0;
  color: var(--mtx-yellow);
  font-size: clamp(1.45rem, 5.7vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mtx-v1-slot {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--mtx-line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 21, 0.82), rgba(14, 13, 11, 0.9)),
    radial-gradient(circle at top right, rgba(214, 195, 159, 0.035), transparent 32%);
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mtx-v1-slot.is-filled {
  border-color: rgba(137, 180, 135, 0.42);
  background:
    linear-gradient(180deg, rgba(34, 31, 26, 0.96), rgba(16, 15, 13, 0.96)),
    radial-gradient(circle at top right, rgba(137, 180, 135, 0.06), transparent 32%);
}

.mtx-v1-slot::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mtx-green);
  box-shadow: 0 0 0 1px rgba(137, 180, 135, 0.14), 0 0 10px var(--mtx-loaded-glow);
  opacity: 0;
  transition: opacity 150ms ease;
}

.mtx-v1-slot.is-filled::after {
  opacity: 1;
}

.mtx-v1-slot__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.mtx-v1-slot__number {
  color: var(--mtx-muted-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 3px;
}

.mtx-v1-slot strong,
.mtx-v1-slot small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtx-v1-slot strong {
  color: #ffffff;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.22;
}

.mtx-v1-slot small {
  color: var(--mtx-muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.mtx-v1-slot.is-filled {
  cursor: grab;
}

.mtx-v1-slot.is-filled:active,
.mtx-v1-slot.is-dragging {
  cursor: grabbing;
}

.mtx-v1-slot.is-dragging {
  border-color: rgba(214, 196, 166, 0.44);
  opacity: 0.58;
  transform: scale(0.99);
}

.mtx-v1-slot.is-drag-over {
  border-color: rgba(245, 196, 0, 0.58);
  box-shadow: inset 0 0 0 1px rgba(245, 196, 0, 0.2);
}

.mtx-v1-slot__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.mtx-v1-song-search {
  display: grid;
  gap: 8px;
}

.mtx-v1-crate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.mtx-v1-button.is-crate {
  border-color: rgba(214, 196, 166, 0.42);
  background: linear-gradient(180deg, var(--mtx-paper), var(--mtx-paper-2));
  color: #17110b;
}

.mtx-v1-crate-results {
  display: grid;
  gap: 7px;
}

.mtx-v1-crate-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(209, 190, 155, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  padding: 7px;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.mtx-v1-crate-result:hover,
.mtx-v1-crate-result:focus-visible {
  border-color: rgba(209, 190, 155, 0.36);
  background: rgba(255, 255, 255, 0.052);
  outline: none;
}

.mtx-v1-crate-result__body {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mtx-v1-crate-result__body strong,
.mtx-v1-crate-result__body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtx-v1-crate-result__body strong {
  color: rgba(242, 234, 219, 0.98);
  font-size: 0.86rem;
  font-weight: 850;
}

.mtx-v1-crate-result__body small,
.mtx-v1-crate-empty {
  color: var(--mtx-muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mtx-v1-crate-empty {
  border: 1px dashed rgba(209, 190, 155, 0.16);
  border-radius: 0;
  padding: 10px;
}

.mtx-v1-paste-fallback {
  border-top: 1px solid rgba(196, 181, 151, 0.08);
  padding-top: 8px;
}

.mtx-v1-label-edit,
.mtx-v1-paste-fallback {
  min-width: 0;
}

.mtx-v1-label-edit summary,
.mtx-v1-paste-fallback summary {
  width: fit-content;
  color: var(--mtx-muted);
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtx-v1-label-edit[open],
.mtx-v1-paste-fallback[open] {
  display: grid;
  gap: 9px;
}

.mtx-v1-slot__actions,
.mtx-v1-actions,
.mtx-v1-player-actions,
.mtx-v1-print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mtx-v1-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(214, 196, 166, 0.22);
  border-radius: 0;
  background: rgba(20, 18, 15, 0.74);
  color: rgba(232, 221, 201, 0.82);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  padding: 0 11px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.mtx-v1-button:hover,
.mtx-v1-button:focus-visible {
  border-color: rgba(214, 196, 166, 0.42);
  color: #ffffff;
  outline: none;
}

.mtx-v1-button:active {
  transform: translateY(1px);
}

.mtx-v1-button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.mtx-v1-button.is-primary {
  border-color: rgba(214, 196, 166, 0.42);
  background: linear-gradient(180deg, var(--mtx-paper), var(--mtx-paper-2));
  color: #17110b;
}

.mtx-v1-button.is-danger {
  border-color: rgba(214, 196, 166, 0.18);
  background: rgba(14, 12, 10, 0.56);
  color: rgba(232, 221, 201, 0.68);
}

.mtx-v1-button.is-danger:hover,
.mtx-v1-button.is-danger:focus-visible {
  border-color: rgba(214, 196, 166, 0.34);
  color: rgba(255, 255, 255, 0.92);
}

.mtx-v1-slot.is-filled .mtx-v1-slot__actions {
  justify-content: flex-end;
}

.mtx-v1-slot.is-filled .mtx-v1-slot__actions .mtx-v1-button {
  min-width: 7.2rem;
}

.mtx-v1-status {
  min-height: 40px;
  border: 1px solid rgba(214, 196, 166, 0.18);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.16);
  color: var(--mtx-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  padding: 10px 12px;
  text-transform: uppercase;
}

.mtx-v1-status.is-good {
  border-color: rgba(137, 180, 135, 0.5);
  color: #dff4c8;
}

.mtx-v1-status.is-warn {
  border-color: rgba(238, 105, 87, 0.54);
  color: #ffd7d1;
}

.mtx-v1-preview {
  position: sticky;
  top: 16px;
}

.mtx-v1-cassette {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(17, 17, 15, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, var(--mtx-paper), var(--mtx-paper-2));
  background-size: 20px 100%, cover;
  color: #17120c;
  padding: 16px;
  box-shadow:
    inset 0 0 0 4px rgba(17, 17, 15, 0.11),
    inset 0 -16px 28px rgba(17, 17, 15, 0.12);
}

.mtx-v1-cassette__topline,
.mtx-v1-cassette__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(17, 17, 15, 0.62);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mtx-v1-cassette__label {
  border: 1px solid rgba(17, 17, 15, 0.22);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.62);
  padding: 13px;
}

.mtx-v1-cassette__label strong {
  display: block;
  overflow-wrap: anywhere;
  color: #111111;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.05;
}

.mtx-v1-cassette__label span {
  display: block;
  margin-top: 8px;
  color: rgba(17, 17, 15, 0.65);
  font-size: 0.86rem;
  line-height: 1.35;
}

.mtx-v1-cassette__window {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
}

.mtx-v1-reel {
  aspect-ratio: 1;
  border: 10px solid rgba(17, 17, 15, 0.78);
  border-radius: 999px;
  background:
    radial-gradient(circle, #f8efdc 0 19%, transparent 20%),
    repeating-conic-gradient(rgba(17, 17, 15, 0.72) 0 10deg, rgba(17, 17, 15, 0.18) 10deg 24deg);
}

.mtx-v1-tape-window {
  height: 34px;
  border: 1px solid rgba(17, 17, 15, 0.28);
  border-radius: 999px;
  background: rgba(17, 17, 15, 0.72);
}

.mtx-v1-cassette__tracks {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.mtx-v1-cassette__tracks span {
  display: grid;
  min-height: 24px;
  place-items: center;
  border: 1px solid rgba(17, 17, 15, 0.2);
  border-radius: 4px;
  color: rgba(17, 17, 15, 0.42);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 900;
}

.mtx-v1-cassette__tracks span.is-filled {
  border-color: rgba(17, 17, 15, 0.48);
  background: rgba(72, 199, 187, 0.25);
  color: #111111;
}

.mtx-v1-cassette-real {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(214, 196, 166, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(241, 193, 78, 0.1), transparent 58%),
    #070706;
  color: #f2eadb;
  padding: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.mtx-v1-cassette-real__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mtx-v1-cassette-real__label {
  position: absolute;
  top: 17.2%;
  right: 15%;
  left: 15%;
  display: grid;
  gap: 5px;
  color: rgba(17, 17, 15, 0.82);
  text-shadow: none;
}

.mtx-v1-cassette-real__label div,
.mtx-v1-cassette-real__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.46rem, 1.35vw, 0.66rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mtx-v1-cassette-real__label strong {
  overflow: hidden;
  color: #111111;
  font-size: clamp(0.9rem, 2.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtx-v1-cassette-real__label > span {
  overflow: hidden;
  color: rgba(17, 17, 15, 0.66);
  font-size: clamp(0.54rem, 1.45vw, 0.74rem);
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtx-v1-cassette-real__tracks {
  position: absolute;
  right: 13%;
  bottom: 7.5%;
  left: 13%;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.mtx-v1-cassette-real__tracks span {
  display: grid;
  min-height: clamp(16px, 4vw, 24px);
  place-items: center;
  border: 1px solid rgba(232, 221, 201, 0.16);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(232, 221, 201, 0.46);
  font-size: clamp(0.48rem, 1.35vw, 0.6rem);
  font-weight: 900;
}

.mtx-v1-cassette-real__tracks span.is-filled {
  border-color: rgba(137, 180, 135, 0.72);
  background: rgba(137, 180, 135, 0.22);
  color: #f2eadb;
}

.mtx-v1-cassette-real__meta {
  position: absolute;
  right: 13%;
  bottom: 3.5%;
  left: 13%;
  color: rgba(232, 221, 201, 0.58);
}

.mtx-v1-cassette-real[data-design="ufo-black-minimal"] .mtx-v1-cassette-real__label {
  top: 10%;
  color: rgba(242, 234, 219, 0.82);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.84);
}

.mtx-v1-cassette-real[data-design="ufo-black-minimal"] .mtx-v1-cassette-real__label strong {
  color: #f8f1e5;
}

.mtx-v1-cassette-real[data-design="ufo-black-minimal"] .mtx-v1-cassette-real__label > span {
  color: rgba(242, 234, 219, 0.7);
}

.mtx-v1-cassette-real[data-design="ufo-black-minimal"] .mtx-v1-cassette-real__tracks {
  bottom: 9%;
}

.mtx-v1-cassette-real[data-design="ufo-black-minimal"] .mtx-v1-cassette-real__meta {
  bottom: 5%;
}

.mtx-v1-cassette-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.mtx-v1-cassette-choice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(214, 196, 166, 0.18);
  border-radius: 0;
  background: rgba(14, 12, 10, 0.62);
  color: rgba(232, 221, 201, 0.7);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.mtx-v1-cassette-choice__swatch {
  display: block;
  aspect-ratio: 3 / 2;
  width: 44px;
  border: 1px solid rgba(232, 221, 201, 0.14);
  background-color: #070706;
  background-position: center;
  background-size: cover;
}

.mtx-v1-cassette-choice:hover,
.mtx-v1-cassette-choice:focus-visible {
  border-color: rgba(241, 193, 78, 0.5);
  color: #f7d56d;
  outline: none;
}

.mtx-v1-cassette-choice.is-active {
  border-color: rgba(241, 193, 78, 0.72);
  background: rgba(241, 193, 78, 0.14);
  color: #f7d56d;
}

.mtx-v1-player-shell {
  display: grid;
  gap: 16px;
}

.mtx-v1-artifact-card {
  display: grid;
  gap: 8px;
}

.mtx-v1-artifact-card p {
  max-width: 760px;
  margin: 0;
  color: var(--mtx-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.mtx-v1-player-object {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(17, 17, 15, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, #f0e3c5, #c9b383);
  background-size: 22px 100%, cover;
  color: #17120c;
  padding: clamp(14px, 3vw, 22px);
  box-shadow:
    inset 0 0 0 5px rgba(17, 17, 15, 0.11),
    0 22px 70px rgba(0, 0, 0, 0.32);
}

.mtx-v1-player-window {
  min-height: 200px;
  overflow: hidden;
  border: 8px solid #17120c;
  border-radius: 8px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.mtx-v1-player-window iframe,
.mtx-v1-player-window > div {
  display: block;
  width: 100%;
  height: 100%;
}

.mtx-v1-now {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(17, 17, 15, 0.22);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.64);
  padding: 12px;
}

.mtx-v1-player-meta {
  color: rgba(17, 17, 15, 0.56);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mtx-v1-now strong {
  overflow-wrap: anywhere;
  color: #111111;
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.mtx-v1-now span {
  color: rgba(17, 17, 15, 0.68);
  line-height: 1.4;
}

.mtx-v1-track-list {
  display: grid;
  gap: 7px;
}

.mtx-v1-track-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--mtx-line);
  border-radius: 8px;
  background: rgba(255, 247, 227, 0.04);
  color: var(--mtx-ink);
  padding: 9px 10px;
  text-align: left;
}

.mtx-v1-track-button.is-active {
  border-color: rgba(241, 193, 78, 0.74);
  background: rgba(241, 193, 78, 0.14);
}

.mtx-v1-track-button b,
.mtx-v1-track-button span,
.mtx-v1-track-button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtx-v1-track-button b {
  color: var(--mtx-coral);
}

.mtx-v1-track-button span {
  color: #ffffff;
  font-weight: 850;
}

.mtx-v1-track-button small {
  color: var(--mtx-muted);
  font-size: 0.72rem;
}

.mtx-v1-share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 14px;
  align-items: center;
}

.mtx-v1-share-url {
  overflow-wrap: anywhere;
  color: var(--mtx-muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  line-height: 1.45;
}

.mtx-v1-qr {
  width: 116px;
  aspect-ratio: 1;
  border: 6px solid #fffaf1;
  border-radius: 8px;
  background: #fffaf1;
}

.mtx-v1-print-page {
  min-height: 100svh;
  background: #e7dac5;
  color: #17120c;
}

.mtx-v1-print-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 20px 14px 40px;
}

.mtx-v1-print-actions {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mtx-v1-print-sheet {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  gap: 18px;
}

.mtx-v1-bookmark,
.mtx-v1-jcard {
  border: 1px solid rgba(23, 18, 12, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(rgba(23, 18, 12, 0.08) 1px, transparent 1px),
    #fff5dc;
  background-size: 100% 26px, cover;
  box-shadow: 0 18px 46px rgba(55, 34, 14, 0.18);
  padding: 18px;
}

.mtx-v1-bookmark {
  min-height: 620px;
  display: grid;
  align-content: space-between;
}

.mtx-v1-bookmark h1,
.mtx-v1-jcard h1 {
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  color: #17120c;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.mtx-v1-bookmark .mtx-v1-qr {
  width: min(100%, 240px);
  margin-top: 24px;
}

.mtx-v1-print-label {
  color: rgba(23, 18, 12, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mtx-v1-jcard {
  display: grid;
  gap: 18px;
}

.mtx-v1-print-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mtx-v1-print-track-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.mtx-v1-print-track-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px dashed rgba(23, 18, 12, 0.24);
  padding-bottom: 7px;
}

.mtx-v1-print-track-list b {
  color: rgba(23, 18, 12, 0.56);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.mtx-v1-print-track-list span {
  overflow-wrap: anywhere;
  font-weight: 850;
  line-height: 1.25;
}

.mtx-v1-empty {
  display: grid;
  min-height: 70svh;
  place-items: center;
  text-align: center;
}

.mtx-v1-empty > div {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.mtx-v1-empty h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 10vw, 5rem);
  line-height: 0.94;
}

.mtx-v1-empty p {
  margin: 0;
  color: var(--mtx-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .mtx-v1-grid,
  .mtx-v1-print-sheet {
    grid-template-columns: 1fr;
  }

  .mtx-v1-preview {
    position: static;
  }
}

@media (max-width: 680px) {
  .mtx-v1-fields,
  .mtx-v1-side-grid,
  .mtx-v1-player-sides,
  .mtx-v1-print-tracks,
  .mtx-v1-share-panel {
    grid-template-columns: 1fr;
  }

  .mtx-v1-slot__media {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mtx-v1-crate-row,
  .mtx-v1-crate-result {
    grid-template-columns: 1fr;
  }

  .mtx-v1-player-actions,
  .mtx-v1-actions,
  .mtx-v1-slot__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtx-v1-button {
    width: 100%;
  }

  .mtx-v1-slot.is-filled .mtx-v1-slot__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mtx-v1-share-panel .mtx-v1-qr {
    width: 150px;
  }
}

@media print {
  html,
  body,
  .mtx-v1-print-page {
    background: #ffffff !important;
  }

  .mtx-v1-print-actions {
    display: none !important;
  }

  .mtx-v1-print-shell {
    width: 100%;
    padding: 0;
  }

  .mtx-v1-print-sheet {
    grid-template-columns: 2.25in 1fr;
    gap: 0.18in;
  }

  .mtx-v1-bookmark,
  .mtx-v1-jcard {
    box-shadow: none;
    break-inside: avoid;
  }
}
