:root {
  color-scheme: light;
  --ink: #182b25;
  --paper: #f3f1e7;
  --line: #b8b9a9;
  --sleeve: #103e37;
  --ivory: #f7f3e8;
  --brass: #dfbc79;
  --muted-on-sleeve: #c9d9ca;
  --focus: #0e6952;
  --sans: "Archivo", "PingFang SC", "Microsoft Yahei", Arial, sans-serif;
  --mono:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --side: clamp(20px, 5.5vw, 100px);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
input,
select {
  color: inherit;
  font: inherit;
}
button,
a,
input[type="range"],
select,
input[type="date"] {
  touch-action: manipulation;
}
button,
select,
input[type="date"] {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled,
input:disabled,
select:disabled {
  opacity: 0.5;
  cursor: default;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
.masthead {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 68px);
  min-height: 72px;
  padding: 0 var(--side);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  font:
    900 italic clamp(20px, 2vw, 29px)/1 "Archivo Black",
    "Arial Black",
    Arial,
    sans-serif;
  letter-spacing: -0.095em;
}
.brand span {
  margin-left: 0.12em;
}
.brand-disc {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.25em;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--paper) 0 10%,
    var(--ink) 11% 25%,
    var(--paper) 26% 31%,
    var(--ink) 32% 54%,
    var(--paper) 55% 59%,
    var(--ink) 60%
  );
  transform: skew(-8deg);
}
.masthead nav,
.archive {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 650;
}
.masthead nav a {
  text-decoration: none;
}
.masthead nav a:hover {
  text-decoration: underline;
}
.archive {
  margin-left: auto;
  gap: 10px;
}
.archive input,
.archive button {
  height: 34px;
  border: 1px solid #9b9e8f;
  border-radius: 0;
  background: transparent;
  padding: 0 10px;
}
.archive input {
  font: 600 13px var(--mono);
}
.archive button:hover {
  background: #dedfd0;
}
.pressing {
  position: relative;
  --focus: #f8d899;
  color: var(--ivory);
  background-color: var(--sleeve);
  background-image:
    radial-gradient(ellipse at 19% 7%, #52705970, transparent 58%),
    linear-gradient(110deg, #193e32 4%, var(--sleeve) 62%, #102f2a);
  border-bottom: 1px solid #193a2b;
  overflow: hidden;
  isolation: isolate;
}
.pressing::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg, transparent 0 4px, #e2d6ab05 4px 5px, transparent 5px 7px
  );
}
.pressing-inner {
  width: min(1510px, 100%);
  padding: clamp(26px, 3.7vw, 65px) var(--side) clamp(30px, 4vw, 68px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  grid-template-areas: "machine sleeve" "feedback feedback";
  align-items: center;
  gap: 0 clamp(32px, 5.2vw, 88px);
}
.sleeve {
  grid-area: sleeve;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  align-self: stretch;
}
.edition {
  color: var(--brass);
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  font: 700 clamp(10px, 1vw, 13px)/1.3 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.edition-indicator {
  display: inline-block;
  width: 24px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 2px,
    transparent 2px 4px,
    currentColor 4px 5px,
    transparent 5px 7px
  );
}
#sample-tag {
  font: 600 10px var(--sans);
  border: 1px solid;
  padding: 2px 4px;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1 {
  font:
    900 clamp(68px, 6.5vw, 112px)/1.03 "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    var(--sans);
  letter-spacing: -0.06em;
  -webkit-text-stroke: 0.012em currentColor;
  margin: clamp(22px, 2.1vw, 36px) 0 17px;
}
h1 > span {
  display: block;
  white-space: nowrap;
}
h1 .period {
  font:
    900 1.2em/0.6 "Archivo Black",
    "Arial Black",
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin-left: 0.015em;
  color: var(--brass);
  -webkit-text-stroke: 0;
}
.intro {
  color: var(--muted-on-sleeve);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 580;
  line-height: 1.65;
  letter-spacing: 0.02em;
}
.sleeve-data {
  margin-top: clamp(8px, 1vw, 15px);
  border-block: 1px solid #9eb39a75;
}
.figures {
  display: grid;
  grid-template-columns: 0.93fr 0.9fr 1.17fr;
  gap: 6px;
  padding: 12px 0 14px;
}
.figures dt {
  color: var(--muted-on-sleeve);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}
.figures dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font: 600 clamp(25px, 2.7vw, 47px)/1 var(--mono);
  letter-spacing: -0.1em;
}
.figures small {
  color: var(--muted-on-sleeve);
  font: 650 12px var(--sans);
  letter-spacing: 0;
}
.machine {
  --focus: #0e6952;
  color: var(--ink);
  grid-area: machine;
  min-width: 0;
  position: relative;
  isolation: isolate;
  border: 1px solid #afae9b;
  border-radius: 12px 12px 9px 9px;
  padding: 0 clamp(15px, 1.55vw, 27px) clamp(14px, 1.4vw, 23px);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 2px,
      #fffdf411 2px 3px,
      transparent 3px 4px
    ),
    linear-gradient(128deg, #e9e5d6 3%, #d4d2c4 37%, #b6b9ab 74%, #d5cfba);
  box-shadow:
    inset 0 2px 1px #fffdf0,
    inset 0 -3px 1px #98998a,
    0 4px 0 #57594d,
    0 7px 0 #242a22,
    0 14px 16px -5px #071c17a3,
    0 27px 37px -13px #051d15b5;
}
.deck-art {
  position: relative;
  aspect-ratio: 1.39/1;
  width: 100%;
  isolation: isolate;
}
.screw {
  position: absolute;
  top: 4.8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(
    143deg,
    #fbf9ee 10%,
    #b9b7a9 35%,
    #656454 44%,
    #8d897c 58%,
    #ebe9d8 90%
  );
  box-shadow: 0 1px 1px #757263;
}
.screw-a {
  left: 0;
}
.screw-b {
  right: 0;
}
.platter {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 68%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid #1b1b19;
  padding: 0;
  display: block;
  background: #171716;
  box-shadow:
    0 0 0 2px #75736b,
    0 1px 0 4px #a09f94,
    0 4px 0 5px #6c6b62,
    2px 8px 8px 3px #4e4e4755;
  isolation: isolate;
}
.platter:disabled {
  opacity: 1;
}
.platter:focus-visible {
  outline-offset: 8px;
}
.platter > span {
  display: block;
}
.rotor,
.reflection {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}
.rotor {
  background: repeating-radial-gradient(
    circle at center,
    #151515 0 0.75px,
    #222222 0.95px 1.55px,
    #2e2d2d 1.65px 1.9px,
    #171616 2.05px 2.8px
  );
  box-shadow:
    inset 0 0 0 5px #151515,
    inset 0 0 0 7px #282826;
  will-change: transform;
}
#grooves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reflection {
  pointer-events: none;
  background: conic-gradient(
    from -26deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.03) 15deg,
    rgba(226, 239, 225, 0.24) 46deg,
    rgba(255, 255, 255, 0.02) 77deg,
    transparent 100deg,
    rgba(0, 0, 0, 0.14) 156deg,
    transparent 184deg,
    rgba(238, 227, 196, 0.17) 221deg,
    transparent 256deg,
    rgba(0, 0, 0, 0.18) 300deg,
    transparent 360deg
  );
  mask-image: radial-gradient(circle, #0000 0 22%, #000 23% 70%, #0000 71%);
  mix-blend-mode: screen;
}
.disc-label {
  position: absolute;
  inset: 32.2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 63%, #62533755 63.5% 64%, transparent 64.5%),
    linear-gradient(135deg, #eedcaf, #d8be84 55%, #bea376);
  color: #152f29;
  box-shadow:
    0 0 0 2px #100f0f,
    inset 0 0 0 1px #f4deb4;
}
.disc-label b {
  font:
    900 italic clamp(33px, 4.7vw, 82px)/0.85 "Archivo Black",
    "Arial Black",
    Arial,
    sans-serif;
  letter-spacing: -0.12em;
  padding-right: 0.08em;
}
.disc-label span {
  font: 750 clamp(7px, 0.7vw, 11px)/1 var(--mono);
  letter-spacing: -0.04em;
}
.spindle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.9%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    at 35% 25%,
    #fff 0,
    #f3f4e8 18%,
    #757872 50%,
    #dcdccf 73%,
    #35352f
  );
  box-shadow: 1px 2px 2px #24221a;
}
#arm {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cue-panel {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 18%;
  max-width: 100px;
  color: #26261e;
}
.cue-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  border-bottom: 1px solid #827f73;
  padding-bottom: 3px;
  font: 550 10px var(--sans);
}
.cue-readout b {
  font: 700 12px var(--mono);
  font-variant-numeric: tabular-nums;
}
.cue-keys {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}
.cue-keys button {
  flex: 1;
  padding: 0;
  height: 25px;
  font-size: 19px;
  line-height: 1;
  border: 1px solid #908f82;
  border-radius: 2px;
  box-shadow: 0 2px #77776c;
  background: linear-gradient(#e7e5da, #c3c2b6);
}
.cue-keys button:hover:not(:disabled) {
  background: #eae7d9;
}
.cue-keys button:active:not(:disabled) {
  box-shadow: none;
  transform: translateY(1px);
}
.transport {
  --focus: #f8d899;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
  padding: clamp(10px, 0.9vw, 16px);
  background: linear-gradient(105deg, #25342b, #1a2722);
  border: 1px solid #434c3e;
  box-shadow:
    inset 0 1px 2px #141410,
    inset 0 -1px #5f6058;
  border-radius: 4px;
  color: #faf3e6;
}
.play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 118px;
  height: 49px;
  padding: 0 15px;
  background: linear-gradient(#f8f4e8, #d6d3c5);
  color: #161613;
  border: 1px solid #f1ecdc;
  border-bottom-color: #898978;
  border-radius: 3px;
  box-shadow: 0 3px 0 #171813;
  font: 800 15px var(--sans);
}
.play:hover:not(:disabled) {
  background: #f4e9c8;
}
.play:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: none;
}
.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent currentColor;
}
.play.playing .play-icon {
  width: 11px;
  height: 12px;
  border: 0;
  border-inline: 4px solid;
}
.fader {
  flex: 1;
  min-width: 50px;
}
.readout {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 10px var(--mono);
  color: #cbcbbd;
  margin-bottom: 2px;
}
.clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.clock b {
  color: var(--brass);
}
#signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65756a;
}
#signal.on {
  background: #efd293;
  box-shadow: 0 0 6px 1px #ddbd718c;
}
#seek {
  width: 100%;
  display: block;
  appearance: none;
  background: transparent;
  height: 18px;
  margin: 0;
  cursor: pointer;
}
#seek::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--brass) var(--progress, 0%),
    #68685c var(--progress, 0%)
  );
  border-radius: 1px;
  box-shadow: 0 1px #161714;
}
#seek::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 16px;
  margin-top: -6px;
  border-radius: 1px;
  background: linear-gradient(90deg, #bcbcb1, #fffdec 48%, #b4b6a8);
  border: 1px solid #a3a497;
  box-shadow: 0 1px 3px #171714;
}
#seek::-moz-range-track {
  height: 4px;
  background: #68685c;
}
#seek::-moz-range-progress {
  height: 4px;
  background: var(--brass);
}
#seek::-moz-range-thumb {
  width: 12px;
  height: 16px;
  background: #dedccd;
  border-radius: 1px;
}
.feedback {
  grid-area: feedback;
  font-size: 13px;
  font-weight: 550;
}
.feedback p:not(:empty) {
  margin-top: 20px;
}
.feedback a,
.feedback button {
  font-size: 13px;
  font-weight: 700;
}
.feedback button {
  border: 1px solid;
  padding: 6px 12px;
  margin-top: 8px;
  margin-right: 12px;
}
.tracks {
  width: min(1510px, 100%);
  margin: auto;
  padding: 33px var(--side) 0;
}
.tracks-head,
.record-head,
footer,
.record-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tracks-head {
  margin-bottom: 14px;
}
.tracks-head > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.tracks-head h2,
.record-head h2 {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.tracks-head p,
footer {
  font-size: 12px;
  color: #505f52;
}
.tracks-head p span {
  padding: 0 3px;
  color: #687062;
}
.rule-icon {
  width: 18px;
  height: 17px;
  border-block: 3px solid;
  background: linear-gradient(var(--ink), var(--ink)) center/100% 3px no-repeat;
}
.score-box {
  background: #eae9db;
  border-block: 1px solid #89907d;
  padding: 7px 0 0;
}
#notes {
  display: block;
  width: 100%;
  height: 116px;
  cursor: crosshair;
}
.ticks {
  display: flex;
  justify-content: space-between;
  padding: 8px 3px 6px;
  color: #4b574a;
  font: 600 10px var(--mono);
}
.file {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 2.2fr);
  margin: 35px 0 30px;
  border: 1px solid var(--line);
}
.globe-shell {
  position: relative;
  background: #17362d;
  color: #f2dfb9;
  min-height: 220px;
}
.globe-shell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.globe-shell canvas:active {
  cursor: grabbing;
}
.globe-shell span {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  text-align: center;
  font: 550 10px var(--sans);
  pointer-events: none;
}
.record {
  padding: clamp(16px, 2.4vw, 34px);
}
.record-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.record-head select {
  max-width: 52%;
  min-width: 0;
  border: 1px solid #aaa698;
  border-radius: 0;
  background: var(--paper);
  padding: 6px;
  font: 500 12px var(--mono);
}
.event-time {
  font: 550 11px var(--mono);
  margin: 15px 0 5px;
}
.record h3 {
  font-size: clamp(17px, 1.9vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.record-data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin: 16px 0;
}
.record-data dt {
  font-size: 10px;
  color: #515f51;
}
.record-data dd {
  font: 650 13px var(--mono);
}
.record-links {
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 650;
}
.record-links button {
  border: 1px solid currentColor;
  padding: 6px 10px;
}
.record-empty {
  font-size: 14px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 14px 0 22px;
}
footer a {
  font-weight: 650;
}
@media (min-width: 1600px) {
  .masthead {
    padding-inline: max(var(--side), calc((100vw - 1510px) / 2 + var(--side)));
  }
}
@media (max-width: 1000px) and (min-width: 761px) {
  :root {
    --side: 28px;
  }
  .pressing-inner {
    grid-template-columns: 1.22fr 1fr;
    gap: 0 28px;
  }
  h1 {
    font-size: clamp(62px, 7.2vw, 78px);
  }
  .play {
    min-width: 95px;
    height: 44px;
    padding: 0 8px;
  }
  .archive label {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --side: 20px;
  }
  .masthead {
    min-height: 56px;
    gap: 12px;
  }
  .masthead nav,
  .archive label {
    display: none;
  }
  .archive {
    gap: 6px;
  }
  .archive input,
  .archive button {
    height: 32px;
    font-size: 11px;
    padding: 0 6px;
  }
  .pressing-inner {
    padding-block: 20px 25px;
    grid-template-columns: 1fr;
    grid-template-areas: "sleeve" "machine" "feedback";
    gap: 17px 0;
  }
  .sleeve {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .edition {
    font-size: 10px;
    gap: 6px;
  }
  .edition-indicator {
    width: 19px;
    height: 8px;
  }
  h1 {
    font-size: clamp(40px, 8.7vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.06em;
    margin: 9px 0 4px;
  }
  h1 > span {
    display: inline;
  }
  .intro {
    font-size: 13px;
  }
  .sleeve-data {
    margin: 12px 0 0;
    border-bottom: 0;
  }
  .figures {
    display: flex;
    gap: clamp(12px, 4vw, 27px);
    padding: 8px 0 0;
    align-items: baseline;
  }
  .figures > div {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .figures dt {
    font-size: 10px;
  }
  .figures dd {
    font-size: 17px;
    gap: 2px;
  }
  .figures small {
    font-size: 9px;
  }
  .machine {
    padding: 0 12px 13px;
    border-radius: 8px;
  }
  .deck-art {
    aspect-ratio: 1.38;
  }
  .disc-label b {
    font-size: clamp(27px, 8vw, 46px);
  }
  .disc-label span {
    font-size: clamp(6px, 1.3vw, 9px);
  }
  .play {
    height: 42px;
    min-width: 97px;
    padding: 0 9px;
    font-size: 13px;
  }
  .transport {
    padding: 7px 9px;
    gap: 13px;
  }
  .readout {
    font-size: 9px;
  }
  .tracks {
    padding-top: 23px;
  }
  .tracks-head,
  .record-head {
    align-items: flex-start;
    gap: 7px;
    flex-wrap: wrap;
  }
  .tracks-head h2,
  .record-head h2 {
    font-size: 22px;
  }
  .tracks-head p {
    font-size: 10px;
  }
  .rule-icon {
    width: 14px;
    height: 14px;
  }
  .score-box canvas {
    height: 110px;
  }
  .file {
    margin: 22px 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .globe-shell {
    min-height: 175px;
  }
  .record-head select {
    max-width: 62%;
  }
  .feedback p:not(:empty) {
    margin-top: 0;
  }
  footer {
    display: grid;
    gap: 8px;
  }
}
@media (max-width: 365px) {
  :root {
    --side: 13px;
  }
  .brand {
    font-size: 18px;
  }
  .archive {
    gap: 4px;
  }
  .archive button {
    padding: 0 4px;
  }
  .figures {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rotor {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .cue-panel {
    width: 21%;
    bottom: 7%;
  }
  .cue-readout {
    font-size: 9px;
  }
  .cue-readout b {
    font-size: 10px;
  }
  .cue-keys button {
    height: 27px;
  }
}
.archive button {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .archive {
    min-width: 0;
  }
  .archive input {
    width: 104px;
    min-width: 0;
  }
}
@media (max-width: 365px) {
  .masthead {
    gap: 6px;
  }
  .brand {
    font-size: 16px;
  }
  .archive button {
    padding: 0 5px;
  }
}

html:lang(en) h1 { font-family: "Arial Black", var(--sans); }
@media (max-width: 580px) {
  .masthead { flex-wrap: wrap; padding-block: 7px; row-gap: 5px; }
  html:lang(en) h1 > span + span::before { content: " "; }
  html:lang(en) .figures { flex-wrap: wrap; }
  html:lang(en) .figures > div { flex-direction: column; align-items: flex-start; }
}
