@view-transition {
  navigation: auto;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  font: 400 15px/1.4 Arial, Helvetica, sans-serif;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.i {
  display: block;
}

.player {
  position: fixed;
  inset: 0;
  user-select: none;
}

.player:not(.awake) {
  cursor: none;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.top,
.bar {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0 32px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.awake .top,
.awake .bar,
.player:not(.on) .top,
.player:not(.on) .bar {
  opacity: 1;
}

.awake .top > *,
.awake .bar > *,
.player:not(.on) .top > *,
.player:not(.on) .bar > * {
  pointer-events: auto;
}

.top {
  top: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 60px;
  background: linear-gradient(rgb(0 0 0 / .5), transparent);
}

.name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.name b {
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name span {
  color: rgb(255 255 255 / .7);
}

.lock {
  display: none;
  margin-left: auto;
  opacity: .85;
}

@media (pointer: coarse) {
  .lock {
    display: block;
  }
}

.locked .top,
.locked .bar,
.locked .menu,
.locked .skip,
.locked .next {
  opacity: 0 !important;
  pointer-events: none !important;
}

.unlock {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  height: 52px;
  margin: auto;
  padding: 0 22px;
  border-radius: 26px;
  background: rgb(0 0 0 / .7) linear-gradient(#fff, #fff) no-repeat left / 0 100%;
  font-weight: 700;
  transition: background-size .15s;
}

.unlock.holding {
  color: #000;
  background-size: 100% 100%;
  transition: background-size 1s linear, color .2s .5s;
}

.flash,
.cast-on {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.flash {
  top: 18%;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgb(0 0 0 / .7);
  font-size: 17px;
  font-weight: 700;
}

.cast-on {
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
  font-size: 22px;
}

.cast-on span {
  color: rgb(255 255 255 / .7);
  font-size: 15px;
}

.casting video {
  opacity: .15;
}

.ctx {
  position: absolute;
  z-index: 7;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  padding: 6px;
  border-radius: 10px;
  background: #1c1c1c;
  box-shadow: 0 12px 40px rgb(0 0 0 / .5);
}

.ctx button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  text-align: left;
  font-size: 15px;
}

.ctx button:hover {
  background: #2c2c2c;
}

.bar {
  bottom: 0;
  padding-top: 110px;
  padding-bottom: 28px;
  background: linear-gradient(transparent, rgb(0 0 0 / .55));
}

.seek {
  position: relative;
  height: 18px;
  cursor: pointer;
}

.seek::before,
.buf,
.fill {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  height: 3px;
  transition: height .15s, top .15s;
}

.seek::before {
  right: 0;
  background: rgb(255 255 255 / .25);
}

.buf {
  background: rgb(255 255 255 / .45);
}

.fill {
  background: #fff;
}

.seek:hover::before,
.seek:hover .buf,
.seek:hover .fill {
  top: 6px;
  height: 5px;
}

.tip {
  position: absolute;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

.tip .pic {
  display: none;
  width: 224px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 6px 24px rgb(0 0 0 / .5);
}

.tip.shot .pic {
  display: block;
}

.tip video {
  display: block;
  width: 224px;
  height: 126px;
  object-fit: cover;
}

.tip i {
  display: none;
  width: 224px;
  overflow: hidden;
}

.tip u {
  display: block;
  transform-origin: 0 0;
}

.tip.tile video {
  display: none;
}

.tip.tile i {
  display: block;
}

.tip small {
  color: rgb(255 255 255 / .75);
  font-size: 13px;
}

.tip small:empty {
  display: none;
}

.marks i {
  position: absolute;
  z-index: 1;
  top: 5px;
  width: 3px;
  height: 9px;
  margin-left: -1px;
  background: #000;
}

.heat {
  position: absolute;
  left: 0;
  bottom: 9px;
  width: 100%;
  height: 34px;
  opacity: 0;
  fill: rgb(255 255 255 / .22);
  pointer-events: none;
  transition: opacity .2s;
}

.heated .seek:hover .heat {
  opacity: 1;
}



.seek:hover .tip {
  opacity: 1;
}

.row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 14px;
}

.row button {
  opacity: .85;
  transition: opacity .15s, transform .15s;
}

.row button:hover {
  opacity: 1;
  transform: scale(1.1);
}

.play .i,
.next .i {
  fill: currentColor;
}

.play .i + .i,
.on .play .i:first-child,
.mute .i + .i,
.muted .mute .i:first-child,
.fs .i + .i,
.full .fs .i:first-child {
  display: none;
}

.on .play .i + .i,
.muted .mute .i + .i,
.full .fs .i + .i {
  display: block;
}

.volume {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vol {
  --v: 100%;
  width: 0;
  height: 20px;
  opacity: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  transition: width .25s, opacity .2s;
}

.volume:hover .vol,
.vol:focus-visible {
  width: 96px;
  opacity: 1;
}

.vol::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .3) var(--v));
}

.vol::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .3) var(--v));
}

.vol::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
  appearance: none;
}

.vol::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.time {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.grow {
  flex: 1;
}

.subs {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 9%;
  font-size: calc(clamp(18px, 2.4vw, 34px) * var(--sub, 1));
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
  text-shadow: 0 0 6px #000, 0 2px 3px #000;
  pointer-events: none;
  transition: bottom .3s;
}

.awake .subs,
.player:not(.on) .subs {
  bottom: 18%;
}

.spin {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  border: 3px solid rgb(255 255 255 / .2);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: turn .8s linear infinite;
}

.wait .spin {
  opacity: 1;
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

.err {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  background: #000;
}

.err p {
  margin: 0;
  font-size: 18px;
}

.retry,
.skip,
.next button {
  padding: 10px 22px;
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 700;
}

.retry:hover,
.skip:hover,
.next button:hover {
  background: #fff;
  color: #000;
}

.skip {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 120px;
}

.next {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 320px;
}

.next span {
  color: rgb(255 255 255 / .7);
  font-size: 13px;
}

.next b {
  margin-bottom: 8px;
}

.menu {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  width: 340px;
  max-height: 70vh;
  padding: 8px;
  overflow-y: auto;
  border-radius: 12px;
  background: #1c1c1c;
  box-shadow: 0 12px 40px rgb(0 0 0 / .5);
  scrollbar-width: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu .head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 4px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
}

.menu button.head:hover {
  background: #262626;
}

.menu button:not(.head) {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 17px;
  text-align: left;
}

.menu button:not(.head):hover {
  background: #2c2c2c;
}

.menu small {
  margin-left: auto;
  color: rgb(255 255 255 / .6);
  font-size: 16px;
}

.menu .more::after {
  content: '›';
  margin-left: 4px;
  color: rgb(255 255 255 / .6);
  font-size: 22px;
  line-height: 1;
}

.menu [aria-current],
.menu .on {
  font-weight: 700;
}

.menu [aria-current]::after {
  content: '✓';
  margin-left: auto;
}

.menu button:disabled {
  cursor: default;
}

.menu button:disabled:hover {
  background: none;
}

.menu.wide {
  width: 460px;
}

.seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 6px 12px;
}

.menu .seasons button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  background: #2a2a2a;
  font-size: 15px;
}

.menu .seasons [aria-current] {
  background: #fff;
  color: #111;
}

.menu .seasons [aria-current]::after {
  content: none;
}

.ep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
}

.ep:hover,
.ep[aria-current] {
  background: #2c2c2c;
}

.ep.soon {
  opacity: .45;
  pointer-events: none;
}

.ep .still {
  flex: none;
  width: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #2a2a2a;
}

.ep .still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep b {
  font-size: 16px;
}

.menu b.head {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: 4px;
  padding: 0 14px;
  font-size: 18px;
}

.menu .label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu .inner {
  padding-left: 34px;
  color: rgb(255 255 255 / .85);
  font-size: 16px;
}

.menu .fold,
.menu .act {
  color: rgb(255 255 255 / .7);
  font-weight: 700;
}

.menu .act {
  margin-top: 10px;
}

.menu .find {
  margin: 6px 6px 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.menu .find:focus {
  outline: 2px solid #fff;
}

.menu .step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 8px;
}

.menu .step button {
  width: 56px;
  min-height: 56px;
  justify-content: center;
  border-radius: 50%;
  background: #2c2c2c;
  font-size: 26px;
}

.menu .step span {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.menu .reset {
  justify-content: center;
  margin: 8px 12px 0;
  background: #2c2c2c;
}

.timing input {
  --v: 50%;
  width: calc(100% - 24px);
  height: 24px;
  margin: 10px 12px 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.timing input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .25) var(--v));
}

.timing input::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .25) var(--v));
}

.timing input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  appearance: none;
}

.timing input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.field {
  padding: 10px 12px 4px;
}

.field .top {
  position: static;
  display: flex;
  justify-content: space-between;
  padding: 0;
  opacity: 1;
  background: none;
  pointer-events: auto;
  font-size: 16px;
}

.field .line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field input,
.timing input {
  --v: 50%;
  flex: 1;
  min-width: 0;
  height: 28px;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.field input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .25) var(--v));
}

.field input::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff var(--v), rgb(255 255 255 / .25) var(--v));
}

.field input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  appearance: none;
}

.field input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.menu .field .reset {
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  font-size: 14px;
}

.menu .sync {
  justify-content: center;
  margin: 14px 12px 0;
  background: #2c2c2c;
  color: #fff;
}

.menu .note {
  margin: 8px 14px 4px;
  color: rgb(255 255 255 / .6);
  font-size: 14px;
}

.menu .note:empty {
  display: none;
}

.ends {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px 0;
  color: rgb(255 255 255 / .55);
  font-size: 14px;
}

@media (max-width: 720px) {
  .top,
  .bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .row {
    gap: 16px;
  }

  .vol,
  .pip,
  .air,
  .back10,
  .fwd10 {
    display: none;
  }

  .menu {
    right: 16px;
    left: 16px;
  }
}

.menu .gap {
  margin-top: 10px;
}
