.native-visible-sheet {
  display: block;
}

.native-detail-standalone {
  min-height: 100vh;
  background: #08090d;
}

.native-detail-standalone .app-shell {
  padding-bottom: calc(104px + var(--safe-bottom));
}

.detail-page-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 66px;
  padding: max(10px, var(--safe-top)) 14px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  background: rgba(8, 9, 13, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.detail-page-topbar > div {
  min-width: 0;
  text-align: center;
}

.detail-page-topbar strong,
.detail-page-topbar small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-page-topbar strong { font-size: 14px; }
.detail-page-topbar small { margin-top: 2px; color: var(--muted); font-size: 10px; }

.detail-page-back,
.detail-page-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.detail-page-close { font-size: 22px; }

.detail-page-main {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 18px;
}

.native-detail-standalone .native-detail-sheet {
  position: relative;
  inset: auto;
  width: 100%;
  max-height: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  transform: none;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .32);
}

.native-visible-sheet .sheet-scrim {
  display: block;
  position: absolute;
  inset: 0;
}

.native-detail-sheet {
  overflow: auto;
  max-height: min(92vh, 900px);
}

.native-detail-sheet .sheet-close {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.native-detail-sheet .detail-hero {
  min-height: 420px;
}

.native-detail-sheet .detail-body {
  padding-bottom: calc(30px + var(--safe-bottom));
}

.detail-favorite.disabled,
.player-top-actions .mac_ulog.disabled {
  color: var(--accent);
}

.detail-favorite.is-loading,
.player-top-actions .mac_ulog.is-loading {
  opacity: .58;
  pointer-events: none;
}

.detail-favorite.disabled,
.player-top-actions .mac_ulog.disabled {
  border-color: rgba(241, 66, 114, .42);
  background: rgba(241, 66, 114, .12);
}

.native-player-page .player-top-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.native-player-page .player-top-actions a {
  display: grid;
  place-items: center;
  gap: 1px;
  min-width: 38px;
  padding: 0 2px;
  color: #fff;
}

.native-player-page .player-top-actions a > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(28, 30, 38, .78);
  font-size: 14px;
}

.native-player-page .player-top-actions small {
  color: #aeb2bd;
  font-size: 8px;
  white-space: nowrap;
}

.native-player-page .player-list {
  max-height: 0;
  padding: 0;
  border: 0;
  transition: max-height .3s ease;
}

.native-player-page .player-list:target {
  max-height: 55vh;
  padding: 12px 14px calc(12px + var(--safe-bottom));
  border-top: 1px solid var(--line);
}

.yimo-hls-player {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
  background: #000;
}

.yimo-hls-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.yimo-videojs-player .video-js,
.yimo-videojs-player .vjs-tech {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.yimo-videojs-player .video-js {
  position: relative;
  z-index: 3;
  font-size: 10px;
}

.yimo-videojs-player .video-js .vjs-control-bar,
.yimo-videojs-player .video-js.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  z-index: 20;
  display: flex;
  visibility: visible;
  opacity: 1;
}

.yimo-videojs-player .video-js .vjs-progress-control,
.yimo-videojs-player .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.yimo-videojs-player .video-js .vjs-big-play-button {
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 21;
  width: 74px;
  height: 74px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(10, 11, 15, .68);
  font-size: 42px;
  line-height: 72px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.yimo-videojs-player .video-js.vjs-has-started.vjs-paused:not(.vjs-ended) .vjs-big-play-button {
  display: block;
}

.inline-player-layer[hidden] {
  display: none;
}

.inline-player-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
  background: #090a0e;
}

.inline-player-layer.is-preloading {
  display: block;
  inset: auto auto 0 0;
  width: 2px;
  height: 2px;
  z-index: -1;
  overflow: hidden;
  opacity: .001;
  pointer-events: none;
  background: transparent;
}

.inline-player-layer.is-preloading iframe {
  width: 2px;
  height: 2px;
}

.inline-player-layer iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #090a0e;
}

.inline-player-loading {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #aeb2bd;
  font-size: 13px;
  pointer-events: none;
}

.inline-player-layer.is-ready .inline-player-loading {
  display: none;
}

body.inline-player-open {
  overflow: hidden;
}

.yimo-hls-status {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: max(14px, env(safe-area-inset-top, 0px));
  bottom: auto;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(16, 18, 24, .86);
  color: #d8dae0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

.yimo-hls-status.actionable {
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(16, 18, 24, .92);
  color: #fff;
}

@media (min-width: 700px) {
  .native-detail-standalone .native-detail-sheet {
    left: auto;
    right: auto;
    width: 100%;
    transform: none;
  }

  .native-detail-sheet {
    left: 50%;
    right: auto;
    width: 520px;
    transform: translateX(-50%);
  }
}
