:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --ink: #232824;
  --moss: #244638;
  --melon: #ffa587;
  --line: #c7c7b8;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: calc(100% - 36px); max-width: 648px; margin: 0 auto; padding: 24px 0 44px; }
header { padding: 0 0 17px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
header a { display: inline-block; vertical-align: middle; }
.brand { display: block; width: 171px; height: auto; }
.sleeve, .ticket {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--melon);
}
.sleeve {
  height: clamp(236px, 53vw, 318px);
  padding: clamp(20px, 4vw, 29px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.kicker { font-size: 11px; font-weight: 750; letter-spacing: .2em; }
h1 { margin: 0; font-weight: 900; }
.sleeve h1 {
  position: relative;
  font-size: clamp(62px, 12vw, 89px);
  letter-spacing: -.075em;
  line-height: 1.01;
}
.record {
  position: absolute;
  z-index: -1;
  width: 78%;
  max-width: 490px;
  aspect-ratio: 1;
  top: -19%;
  right: -29%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background-color: #252a26;
  background-image:
    repeating-radial-gradient(circle closest-side, transparent 0 2px, #ffffff22 2.5px 3px, #0005 3.5px 4px),
    conic-gradient(from -28deg, #232824, #707568 35deg, #242925 65deg, #131814 128deg, #70776a 205deg, #242925 245deg, #232824);
  display: grid;
  place-items: center;
}
.label {
  width: 34%; height: 34%;
  border-radius: 50%; background: var(--moss);
  border: 1px solid #161e19;
  display: grid; place-items: center;
  transform: rotate(-12deg);
}
.label img { display: block; width: 52%; height: 52%; }
nav { display: grid; gap: 10px; margin: 17px 0; }
.button {
  min-height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--moss); border-radius: 6px;
  padding: 12px 18px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease, background-color 140ms ease;
}
.primary { color: var(--paper); background: var(--moss); }
.secondary { color: var(--moss); background: transparent; }
.button [aria-hidden] { font: 24px/1 Arial,sans-serif; }
@media (hover:hover) {
  .primary:hover { background: #17362a; }
  .secondary:hover { background: #e6ebdf; }
}
.button:active { transform: translateY(2px); }
:focus-visible { outline: 3px solid #1c6093; outline-offset: 3px; }
details { border-top: 1px solid var(--line); font-size: 14px; color: #49584f; }
summary { cursor: pointer; padding: 15px 0; }
p { line-height: 1.65; }
details p { margin: 0 0 12px; }
.ticket { background: #fffdf6; }
.ticket-head { padding: 21px 24px; background: var(--melon); border-bottom: 1px dashed #6f6357; }
.ticket-head h1 { font-size: clamp(30px,7vw,47px); margin-top: 7px; letter-spacing: -.04em; }
.ticket-body { text-align: center; padding: 12px 18px 20px; }
.ticket-body p { margin: 8px 0; }
.ticket + .button { margin-top: 16px; }
canvas { display: block; width: min(100%, 285px); height: auto; margin: 12px auto; image-rendering: pixelated; }
.url { font-size: 13px; color: #526156; overflow-wrap: anywhere; }
.url:empty { display: none; }
[hidden] { display: none !important; }
@media (min-width: 560px) {
  main { padding-top: 40px; }
  .brand { width: 200px; }
  .record { right: -10%; top: -25%; }
  nav { grid-template-columns: 1.25fr 1fr; }
}
@media (max-width: 359px) {
  main { width: calc(100% - 28px); padding-top: 14px; }
  .sleeve { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 19px/1 Arial,sans-serif; }
details[open] summary::after { content: "−"; }
