* {
  box-sizing: border-box;
}
html {
  background: #ebe7db;
  color: #263b32;
}
body {
  margin: 0;
  font-family: 'PingFang SC', sans-serif;
  background: radial-gradient(ellipse at 10% 5%, #f8f3e8, transparent 60%);
}
main {
  width: min(1160px, 94vw);
  margin: auto;
  padding: 23px 0 28px;
}
header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #9d9f8d;
  padding-bottom: 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.13em;
}
.filmtype {
  margin-left: auto;
  font-weight: 400;
  color: #536054;
}
.mark {
  display: flex;
  align-items: center;
  width: 41px;
  height: 23px;
}
.mark i {
  width: 23px;
  height: 22px;
  background: #849b97;
  clip-path: polygon(0 72%, 22% 22%, 57% 1%, 100% 57%, 80% 99%, 20% 98%);
}
.mark i + i {
  margin-left: -3px;
  background: #af8449;
  transform: scale(0.84) rotate(12deg);
}
.heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 19px;
}
h1 {
  font:
    700 clamp(34px, 4.4vw, 59px) / 1.12 'Songti SC',
    'STSong',
    serif;
  letter-spacing: 0.095em;
  margin: 0 0 8px;
}
.heading p {
  margin: 0;
  color: #586253;
  font-size: 14px;
}
button {
  cursor: pointer;
  font: inherit;
  color: inherit;
}
#chaptersBtn {
  background: transparent;
  border: 1px solid #979c88;
  padding: 8px 13px;
  white-space: nowrap;
}
#chaptersBtn span {
  margin-left: 7px;
  color: #a24a33;
}
.player {
  background: #152821;
  box-shadow: 0 10px 24px #33453322;
}
.player video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
}
.controls {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 18px;
  color: #ece7d8;
  background: #24372e;
}
.controls button {
  border: 0;
  background: none;
  color: inherit;
  min-height: 32px;
  padding: 2px 4px;
}
#play {
  width: 30px;
}
#stamp {
  font:
    12px Menlo,
    monospace;
  white-space: nowrap;
}
#seek {
  min-width: 0;
  flex: 1;
  accent-color: #dfad78;
  cursor: pointer;
}
#sound {
  font-size: 12px;
}
#full {
  font-size: 23px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #aaaf9e;
  padding: 13px 0;
  font-size: 12px;
  color: #526353;
}
#chapterName {
  font-family: 'Songti SC', serif;
  font-size: 16px;
  font-weight: 600;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
}
.silver {
  background: #829c9a;
}
.gold {
  background: #bd9150;
}
#chapters:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: #babbaa;
  border: 1px solid #babbaa;
  margin-bottom: 14px;
}
#chapters button {
  background: #eeeadd;
  text-align: left;
  padding: 10px;
  border: 0;
}
#chapters button[aria-current='true'] {
  background: #304539;
  color: #fff1d9;
}
#chapters small {
  margin-right: 9px;
  opacity: 0.72;
}
.player:fullscreen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player:fullscreen video {
  height: calc(100vh - 56px);
  object-fit: contain;
}
#error:empty {
  display: none;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid #bb6c41;
  outline-offset: 2px;
}
@media (max-width: 650px) {
  main {
    width: 96vw;
    padding-top: 13px;
  }
  .heading {
    align-items: center;
  }
  .heading p {
    font-size: 12px;
    max-width: 27em;
  }
  .controls {
    gap: 6px;
    padding: 6px;
  }
  .controls #stamp {
    font-size: 10px;
  }
  #chaptersBtn {
    font-size: 11px;
    padding: 7px;
  }
  #full {
    font-size: 19px;
  }
  footer {
    font-size: 11px;
  }
  .heading h1 {
    font-size: 35px;
  }
}

.live-link {display:inline-block;margin-top:9px;color:#475e51;font-size:13px;}
