* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: #09151e;
  color: #e8ddc9;
  font-family: "Microsoft YaHei", system-ui, sans-serif;
  background-image: radial-gradient(
    ellipse at 70% 0,
    #16314280,
    transparent 60%
  );
}
main {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: "KaiTi", serif;
  font-size: 27px;
  text-decoration: none;
  color: #f1d2a5;
}
.wordmark span {
  font: 10px system-ui;
  letter-spacing: 3px;
  margin-left: 20px;
  color: #82949c;
}
.edition {
  font-size: 12px;
  color: #8e9ea5;
  letter-spacing: 2px;
}
.cinema {
  position: relative;
  overflow: hidden;
  background: #06121c;
  border: 1px solid #40526050;
  border-radius: 10px;
  box-shadow: 0 32px 90px #0005;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
}
.start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #d6b68060;
  border-radius: 14px;
  padding: 20px 27px;
  background: #091c29d9;
  color: #f3dbc0;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 15px 60px #0005;
  backdrop-filter: blur(8px);
  font-size: 18px;
  font-family: inherit;
}
.start small {
  display: block;
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 2px;
  color: #b7c1bd;
}
.play-icon {
  font-size: 24px;
}
.controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: #09131dcc;
  border-top: 1px solid #35404766;
}
.controls button {
  color: #cfcec1;
  background: none;
  border: 0;
  font: 12px inherit;
  white-space: nowrap;
  cursor: pointer;
  padding: 4px;
}
.controls input {
  flex: 1;
  min-width: 25px;
  accent-color: #d9b47c;
  cursor: pointer;
}
.controls #time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #9aa6a8;
  white-space: nowrap;
}
.caption {
  display: flex;
  justify-content: space-between;
  padding: 60px 6px 48px;
  gap: 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: #ba9564;
  margin: 0 0 17px;
}
h1 {
  font-family: "KaiTi", "Songti SC", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 4px;
  margin: 0 0 21px;
}
.caption p:not(.eyebrow) {
  font-size: 14px;
  line-height: 2;
  color: #9cabae;
  letter-spacing: 1px;
}
.details {
  align-self: center;
  max-width: 330px;
}
.details a {
  color: #dfbe8e;
  text-decoration: none;
  font-size: 12px;
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid #8c755b;
  padding-bottom: 5px;
}
footer {
  border-top: 1px solid #52606a33;
  padding: 24px 6px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: #657b86;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #ddbc88;
  outline-offset: 4px;
}
@media (max-width: 650px) {
  header {
    height: 75px;
  }
  .wordmark span {
    display: none;
  }
  .edition {
    font-size: 10px;
  }
  .controls {
    gap: 6px;
    padding: 11px 8px;
  }
  .controls #time {
    font-size: 9px;
  }
  .controls button {
    font-size: 10px;
  }
  .start {
    padding: 14px 18px;
    font-size: 15px;
  }
  .caption {
    padding: 34px 2px;
    flex-direction: column;
    gap: 15px;
  }
  h1 {
    font-size: 29px;
  }
  .details {
    align-self: flex-start;
  }
  footer {
    line-height: 2;
    display: block;
  }
  footer span {
    display: block;
  }
}
