* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: #181716;
  color: #fff4e9;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
header,
footer,
main {
  max-width: 1080px;
  margin: auto;
  padding: 24px clamp(18px, 4vw, 48px);
}
header,
footer,
nav,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header {
  border-bottom: 1px solid #49413d;
}
header img {
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header a,
nav a {
  font-size: 0.9rem;
}
main {
  min-height: 64vh;
}
footer {
  border-top: 1px solid #49413d;
  color: #c8bcb1;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
nav {
  flex-wrap: wrap;
}
.hero {
  min-height: 440px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(0deg, #130e0ae8, transparent 92%),
    url("/djhero.webp") center 43% / cover;
  border-radius: 4px;
}
.eyebrow {
  color: #f9a68b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
  font-size: 0.75rem;
}
h1,
h2,
p {
  margin: 0 0 14px;
}
h1 {
  font:
    500 clamp(2.5rem, 7vw, 5.5rem)/0.98 Georgia,
    serif;
  letter-spacing: -0.055em;
}
.hero h1 {
  max-width: 9em;
}
.panel {
  max-width: 620px;
  margin: 36px auto;
}
.panel h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 12px 0 24px;
}
h2 {
  font-size: 1.35rem;
}
.item,
.actions {
  padding: 20px 0;
  border-top: 1px solid #514842;
}
.actions {
  margin-top: 16px;
}
.row {
  flex-wrap: wrap;
}
.row p,
.row h2 {
  margin: 0;
}
button,
.btn {
  border: 1px solid transparent;
  border-radius: 6px;
  background: #ffac90;
  color: #24120d;
  font: 700 1rem/1.3 system-ui;
  min-height: 46px;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.secondary {
  background: transparent;
  color: #ffe4d3;
  border-color: #89766b;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button:hover:not(:disabled),
.btn:hover {
  filter: brightness(1.1);
}
:focus-visible {
  outline: 3px solid #f6da8a;
  outline-offset: 3px;
}
input,
select {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid #887a70;
  background: #211e1c;
  color: inherit;
  border-radius: 5px;
  margin: 6px 0 16px;
  min-height: 46px;
}
label {
  display: block;
}
.summary {
  color: #d3c6bc;
}
.error {
  color: #ffb49b;
}
.qr {
  width: min(260px, 100%);
  display: block;
  border-radius: 4px;
  margin: 16px 0;
}
code {
  overflow-wrap: anywhere;
}
.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
video {
  width: 100%;
  max-height: 280px;
}
.success {
  color: #a9e5b5;
}
.status {
  min-height: 1.5em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}
.stats strong {
  display: block;
  font: 2rem Georgia;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .hero {
    min-height: 310px;
  }
  main {
    padding-top: 16px;
  }
  .panel {
    margin: 20px auto;
  }
  .row {
    gap: 12px;
  }
  .stats {
    font-size: 0.86rem;
  }
  .stats strong {
    font-size: 1.55rem;
  }
  .actions button {
    width: 100%;
  }
  header,
  footer {
    padding-block: 18px;
  }
}
@media print {
  header,
  footer,
  button,
  .btn,
  .back {
    display: none;
  }
  .panel {
    color: black;
  }
  .qr {
    width: 230px;
  }
}
.status:empty {
  display: none;
}
.status:not(:empty) {
  font-weight: 700;
  font-size: 1.15rem;
}
