/* 点播优化控件 */
.opt-stage {
  overflow-anchor: none;
  margin-bottom: 1.25rem;
}
.opt-shell {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #181818;
  color: #fff;
}
.opt-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.opt-shell.is-portrait .opt-video {
  aspect-ratio: 9 / 16;
}
.opt-video .dplayer {
  width: 100%;
  height: 100%;
}
.opt-video .dplayer-video-wrap video {
  object-fit: cover;
}
.opt-video .dplayer-danmaku {
  overflow: hidden;
}
.opt-video .dplayer-controller,
.opt-video .dplayer-controller-mask,
.opt-video .dplayer-play-icon {
  display: none !important;
}
.opt-video .dplayer-mobile-play {
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000 !important;
  opacity: 0.6;
  bottom: auto;
}
.opt-video .dplayer-mobile-play svg {
  width: 40px;
  height: 40px;
}
.opt-video .dplayer.dplayer-playing .dplayer-mobile-play {
  display: none !important;
}
.opt-video .dplayer-pause-ad {
  z-index: 3;
}
.opt-preview {
  position: absolute;
  bottom: 0.25rem;
  z-index: 4;
  width: 10rem;
  min-height: 7.25rem;
  transform: translateX(-50%);
  pointer-events: none;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.opt-preview[hidden] {
  display: none;
}
.opt-preview-image {
  position: relative;
  box-sizing: border-box;
  width: 10rem;
  height: 5.625rem;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 0.5rem;
  background-color: #181818;
  background-repeat: no-repeat;
}
.opt-preview-image[hidden] {
  display: none;
}
.opt-preview-loading {
  position: absolute;
  inset: 0;
  display: none;
  width: 28px;
  height: 28px;
  margin: auto;
}
.opt-preview-image.is-loading .opt-preview-loading {
  display: block;
  animation: opt-preview-spin 0.8s linear infinite;
}
@keyframes opt-preview-spin {
  to {
    transform: rotate(360deg);
  }
}
.opt-preview.is-time-only {
  min-height: 0;
}
.opt-speed-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3.125rem);
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: max-content;
  padding: 0.75rem;
  border: 0.0825rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: #2c2a2a;
  transform: translateX(-50%);
}
.opt-speed-menu[hidden] {
  display: none;
}
.opt-speed-menu .opt-speed-option {
  flex: none;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 0.4125rem;
  background: #181818;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.opt-speed-menu .opt-speed-option.is-selected,
.opt-line-menu .opt-line-option.is-selected,
.opt-danmaku-menu .opt-danmaku-options button.is-selected {
  background: #FF2B5C;
  color: #fffafb;
}
.opt-line-wrap,
.opt-speed-wrap,
.opt-danmaku-wrap {
  position: relative;
  display: flex;
}
.opt-line-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3.125rem);
  z-index: 7;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: max-content;
  padding: 0.75rem;
  border: 0.0825rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: #2c2a2a;
  transform: translateX(-50%);
}
.opt-line-menu[hidden] {
  display: none;
}
.opt-toolbar .opt-line[hidden] {
  display: none;
}
.opt-line-menu .opt-line-option {
  flex: none;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 0.4125rem;
  background: #181818;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.opt-line-connecting {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  z-index: 5;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  background: rgba(24, 24, 24, 0.65);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5125rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.opt-shell.is-portrait .opt-line-connecting {
  bottom: 1.125rem;
}
.opt-line-connecting[hidden] {
  display: none;
}
.opt-line-failure {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(24, 24, 24, 0.9);
  backdrop-filter: blur(0.5rem);
}
.opt-line-failure[hidden] {
  display: none;
}
.opt-line-warning {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.5313rem;
  background: rgba(44, 42, 42, 0.2);
}
.opt-line-warning svg {
  width: 3.1901rem;
  height: 3.1901rem;
}
.opt-line-warning svg.opt-icon {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 2.4rem;
  line-height: 1;
}
.opt-line-failure strong {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.89rem;
}
.opt-line-failure span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.125rem;
  line-height: 1.4175rem;
}
.opt-line-failure button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: 0.3968rem;
  background: #FF2B5C;
  color: #fffafb;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5873rem;
  cursor: pointer;
}
.opt-line-failure button svg {
  width: 1.5825rem;
  height: 1.5825rem;
}
.opt-line-failure button svg.opt-icon {
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.2rem;
  line-height: 1;
}
.opt-danmaku-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3.125rem);
  z-index: 8;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: max-content;
  padding: 0.75rem;
  border: 0.0788rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: #2c2a2a;
  transform: translateX(-50%);
}
.opt-danmaku-menu[hidden] {
  display: none;
}
.opt-danmaku-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.opt-danmaku-head strong {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}
.opt-danmaku-menu .opt-danmaku-toggle {
  display: flex;
  align-items: center;
  gap: 0.63rem;
  padding: 0;
  border: 0;
  background: none;
  color: #c7c7c7;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.opt-danmaku-toggle i {
  position: relative;
  width: 2.835rem;
  height: 1.575rem;
  border-radius: 0.7875rem;
  background: #777;
}
.opt-danmaku-toggle i:after {
  position: absolute;
  top: 0.2362rem;
  left: 0.2362rem;
  width: 1.1025rem;
  height: 1.1025rem;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.opt-danmaku-toggle.is-selected i {
  background: #FF2B5C;
}
.opt-danmaku-toggle.is-selected i:after {
  left: 1.4963rem;
}
.opt-danmaku-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #c7c7c7;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.opt-danmaku-options {
  display: flex;
  gap: 0.375rem;
}
.opt-danmaku-menu .opt-danmaku-options button {
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 0.3937rem;
  background: #181818;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.opt-danmaku-section label {
  display: flex;
  justify-content: space-between;
}
.opt-danmaku-section input {
  --opt-progress: 70%;
  width: 0;
  min-width: 100%;
  height: 1rem;
  margin: 0;
  appearance: none;
  background: linear-gradient(to right, #FF2B5C var(--opt-progress), rgba(255, 255, 255, 0.1) var(--opt-progress))
    center/100% 0.25rem no-repeat;
  cursor: pointer;
}
.opt-danmaku-section input::-webkit-slider-thumb {
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-danmaku-section input::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-feedback-panel {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 22.5rem;
  max-width: calc(100% - 1.5rem);
  padding: 1rem 1rem 1.125rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: #2c2c2e;
  transform: translate(-50%, -50%);
}
.opt-feedback-panel[hidden] {
  display: none;
}
.opt-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.opt-feedback-head strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
}
.opt-feedback-close {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.opt-feedback-close:focus,
.opt-feedback-close:focus-visible {
  outline: none;
}
.opt-feedback-close svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}
.opt-feedback-close svg.opt-icon {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  font-size: 0.95rem;
  line-height: 1;
}
.opt-feedback-types {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  row-gap: 0.75rem;
}
.opt-feedback-type {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.opt-feedback-type svg {
  flex: none;
  width: 1rem;
  height: 1rem;
}
.opt-feedback-type svg.opt-icon {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
}
.opt-feedback-type svg.opt-icon {
  color: #c7c7c7;
}
.opt-feedback-type.is-selected svg.opt-icon {
  color: #FF2B5C;
}
.opt-feedback-panel textarea,
.opt-feedback-panel input[name="contact"] {
  box-sizing: border-box;
  width: 0;
  min-width: 100%;
  padding: 0.75rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  background: #1c1c1e;
  color: #fff;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.opt-feedback-panel textarea {
  height: 4.5rem;
  resize: none;
}
.opt-feedback-panel input[name="contact"] {
  height: 2.75rem;
}
.opt-feedback-panel textarea::placeholder,
.opt-feedback-panel input::placeholder {
  color: #8e8e93;
}
.opt-feedback-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.opt-feedback-submit button {
  min-width: 8.5rem;
  padding: 0.625rem 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: #FF2B5C;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
  cursor: pointer;
}
.opt-feedback-submit button:disabled {
  opacity: 0.6;
  cursor: default;
}
.opt-feedback-submit [role="status"]:empty {
  display: none;
}
.opt-shell[data-danmaku-size="large"] .dplayer .dplayer-danmaku {
  font-size: 1.7875rem;
}
.opt-shell[data-danmaku-size="medium"] .dplayer .dplayer-danmaku {
  font-size: 1.375rem;
}
.opt-shell[data-danmaku-size="small"] .dplayer .dplayer-danmaku {
  font-size: 1.0725rem;
}
.opt-controls {
  box-sizing: border-box;
  padding: 0.5rem 1rem 0;
  background: #181818;
}
.opt-timeline {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.75rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
.opt-current,
.opt-duration {
  flex: none;
  text-align: center;
}
.opt-seek-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.opt-seek-hit {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.75rem;
  touch-action: none;
  pointer-events: none;
}
@media (pointer: coarse) {
  .opt-seek-hit {
    pointer-events: auto;
  }
}
.opt-seek {
  --opt-progress: 0%;
  flex: 1;
  min-width: 0;
  height: 0.75rem;
  touch-action: none;
  margin: 0;
  appearance: none;
  background: linear-gradient(to right, #FF2B5C var(--opt-progress), rgba(255, 255, 255, 0.1) var(--opt-progress))
    center/100% 0.25rem no-repeat;
  cursor: pointer;
}
.opt-seek::-webkit-slider-runnable-track {
  height: 0.25rem;
  background: transparent;
}
.opt-seek::-webkit-slider-thumb {
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: -0.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-seek::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-seek:disabled {
  cursor: default;
}
.opt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opt-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.opt-volume-wrap {
  position: relative;
  z-index: 6;
  display: flex;
}
.opt-volume-wrap::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 3.5rem;
  height: 4.5rem;
  transform: translateX(-50%);
}
.opt-volume-panel {
  position: absolute;
  bottom: 0.875rem;
  left: 3.5rem;
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 0.75rem 0.625rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: #2c2a2a;
  box-shadow: 0 0.3125rem 0.875rem rgba(0, 0, 0, 0.35);
  text-align: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0s linear 0.3s,
    opacity 0.15s linear 0.3s;
}
.opt-shell:has(.opt-volume-wrap:hover, .opt-volume-panel:hover, .opt-volume-range:focus-visible) .opt-volume-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.opt-shell:not(.is-portrait) .opt-volume-panel {
  left: 3.625rem;
}
.opt-volume-panel[hidden] {
  display: none;
}
.opt-volume-panel span,
.opt-volume-panel output {
  font-size: 0.9375rem;
  line-height: 1.125rem;
}
.opt-volume-panel output {
  color: #c7c7c7;
}
.opt-volume-range {
  --opt-volume: 100%;
  width: 0.875rem;
  height: 6.4375rem;
  margin: 0;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  background: linear-gradient(to top, #FF2B5C var(--opt-volume), rgba(255, 255, 255, 0.1) var(--opt-volume))
    center/0.25rem 100% no-repeat;
  cursor: pointer;
}
.opt-volume-range::-webkit-slider-thumb {
  appearance: none;
  width: 0.875rem;
  height: 0.875rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-volume-range::-moz-range-thumb {
  width: 0.875rem;
  height: 0.875rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.opt-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.opt-toolbar button {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0.5rem;
  border: 0;
  background: none;
  cursor: pointer;
}
.opt-toolbar .opt-speed {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: #2c2a2a;
  color: #fff;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
.opt-toolbar .opt-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: #2c2a2a;
  color: #fff;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
.opt-toolbar .opt-line svg {
  width: 1rem;
  height: 1rem;
}
.opt-toolbar .opt-line svg.opt-icon {
  width: 0.75rem;
  height: 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
}
.opt-toolbar .opt-line:disabled {
  opacity: 0.5;
  cursor: default;
}
.opt-toolbar .opt-danmaku {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: #2c2a2a;
  color: #fff;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
.opt-toolbar .opt-danmaku:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.opt-toolbar .opt-danmaku.is-active {
  background: #FF2B5C;
  color: #fffafb;
}
.opt-toolbar .opt-danmaku svg.opt-icon:first-child {
  width: 0.65rem;
  height: 0.65rem;
  font-size: 0.65rem;
  line-height: 1;
}
.opt-toolbar .opt-danmaku svg.opt-icon:last-child {
  width: 0.75rem;
  height: 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
}
.opt-toolbar .opt-feedback {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: #2c2a2a;
  color: #fff;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
.opt-toolbar button svg {
  width: 1.3rem;
  height: 1.3rem;
  /* 点在图标上要算按钮的点击。Chrome 点 SVG use 时事件有时落进图标，到不了按钮。 */
  pointer-events: none;
}
.opt-toolbar button > svg.opt-icon {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
}
.opt-title {
  display: flex;
  align-items: center;
  margin-block: 0.5rem;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}
.opt-shell:fullscreen,
.opt-shell:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  background: #000;
}
.opt-shell:fullscreen .opt-title,
.opt-shell:-webkit-full-screen .opt-title {
  display: none;
}
.opt-shell:fullscreen .opt-controls,
.opt-shell:-webkit-full-screen .opt-controls {
  flex: none;
  min-height: 0;
  margin-bottom: 10px;
}
.opt-shell:fullscreen .opt-video,
.opt-shell:-webkit-full-screen .opt-video {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
}
.opt-shell:fullscreen .opt-video .dplayer-video-wrap video,
.opt-shell:-webkit-full-screen .opt-video .dplayer-video-wrap video {
  object-fit: contain;
}
/* 全屏横屏高度不够，只收控件和弹出层的间距，字号不动。 */
@media (orientation: landscape) {
  .opt-shell:fullscreen .opt-controls,
  .opt-shell:-webkit-full-screen .opt-controls {
    padding-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  .opt-shell:fullscreen .opt-timeline,
  .opt-shell:-webkit-full-screen .opt-timeline {
    height: 1.25rem;
  }
  .opt-shell:fullscreen .opt-toolbar button,
  .opt-shell:-webkit-full-screen .opt-toolbar button {
    padding: 0.25rem;
  }
  .opt-shell:fullscreen .opt-toolbar .opt-speed,
  .opt-shell:-webkit-full-screen .opt-toolbar .opt-speed,
  .opt-shell:fullscreen .opt-toolbar .opt-line,
  .opt-shell:-webkit-full-screen .opt-toolbar .opt-line,
  .opt-shell:fullscreen .opt-toolbar .opt-danmaku,
  .opt-shell:-webkit-full-screen .opt-toolbar .opt-danmaku,
  .opt-shell:fullscreen .opt-toolbar .opt-feedback,
  .opt-shell:-webkit-full-screen .opt-toolbar .opt-feedback {
    padding: 0.25rem 0.75rem;
  }
  .opt-shell:fullscreen .opt-speed-menu,
  .opt-shell:-webkit-full-screen .opt-speed-menu,
  .opt-shell:fullscreen .opt-line-menu,
  .opt-shell:-webkit-full-screen .opt-line-menu,
  .opt-shell:fullscreen .opt-danmaku-menu,
  .opt-shell:-webkit-full-screen .opt-danmaku-menu {
    gap: 0.25rem;
    padding: 0.375rem 0.5rem;
  }
  .opt-shell:fullscreen .opt-speed-menu .opt-speed-option,
  .opt-shell:-webkit-full-screen .opt-speed-menu .opt-speed-option,
  .opt-shell:fullscreen .opt-line-menu .opt-line-option,
  .opt-shell:-webkit-full-screen .opt-line-menu .opt-line-option {
    padding: 0.125rem 0.5rem;
  }
  .opt-shell:fullscreen .opt-feedback-panel,
  .opt-shell:-webkit-full-screen .opt-feedback-panel {
    gap: 0.375rem;
    padding: 0.5rem 0.625rem;
  }
  .opt-shell:fullscreen .opt-feedback-head,
  .opt-shell:-webkit-full-screen .opt-feedback-head {
    gap: 0.5rem;
  }
  .opt-shell:fullscreen .opt-feedback-types,
  .opt-shell:-webkit-full-screen .opt-feedback-types {
    row-gap: 0.375rem;
  }
  .opt-shell:fullscreen .opt-feedback-panel textarea,
  .opt-shell:-webkit-full-screen .opt-feedback-panel textarea,
  .opt-shell:fullscreen .opt-feedback-panel input[name="contact"],
  .opt-shell:-webkit-full-screen .opt-feedback-panel input[name="contact"] {
    padding: 0.375rem 0.5rem;
  }
  .opt-shell:fullscreen .opt-feedback-panel textarea,
  .opt-shell:-webkit-full-screen .opt-feedback-panel textarea {
    height: 3rem;
  }
  .opt-shell:fullscreen .opt-feedback-panel input[name="contact"],
  .opt-shell:-webkit-full-screen .opt-feedback-panel input[name="contact"] {
    height: 2rem;
  }
  .opt-shell:fullscreen .opt-feedback-submit button,
  .opt-shell:-webkit-full-screen .opt-feedback-submit button {
    padding: 0.375rem 1.25rem;
  }
  .opt-shell:fullscreen .opt-danmaku-head,
  .opt-shell:-webkit-full-screen .opt-danmaku-head {
    gap: 0.5rem;
  }
  .opt-shell:fullscreen .opt-danmaku-section,
  .opt-shell:-webkit-full-screen .opt-danmaku-section {
    gap: 0.125rem;
  }
  .opt-shell:fullscreen .opt-danmaku-options,
  .opt-shell:-webkit-full-screen .opt-danmaku-options {
    gap: 0.25rem;
  }
  .opt-shell:fullscreen .opt-danmaku-menu .opt-danmaku-options button,
  .opt-shell:-webkit-full-screen .opt-danmaku-menu .opt-danmaku-options button {
    padding: 0.0625rem 0.5rem;
  }
  .opt-shell:fullscreen .opt-danmaku-toggle i,
  .opt-shell:-webkit-full-screen .opt-danmaku-toggle i {
    width: 2.25rem;
    height: 1.125rem;
    border-radius: 0.5625rem;
  }
  .opt-shell:fullscreen .opt-danmaku-toggle i:after,
  .opt-shell:-webkit-full-screen .opt-danmaku-toggle i:after {
    top: 0.125rem;
    left: 0.125rem;
    width: 0.875rem;
    height: 0.875rem;
  }
  .opt-shell:fullscreen .opt-danmaku-toggle.is-selected i:after,
  .opt-shell:-webkit-full-screen .opt-danmaku-toggle.is-selected i:after {
    left: 1.25rem;
  }
  .opt-shell:fullscreen .opt-danmaku-section input,
  .opt-shell:-webkit-full-screen .opt-danmaku-section input {
    height: 0.75rem;
  }
}
.opt-shell button:focus-visible,
.opt-shell input:focus-visible {
  outline: 0.125rem solid #FF2B5C;
  outline-offset: 0.125rem;
}
@media (max-width: 37.5rem) {
  .opt-shell {
    border-radius: 0.375rem;
  }
  .opt-preview {
    bottom: 0.125rem;
    min-height: 6.4375rem;
  }
  .opt-preview-image {
    border-radius: 0.25rem;
  }
  .opt-controls {
    padding: 0.25rem 0.5rem 0;
  }
  .opt-timeline {
    height: 1.125rem;
    gap: 0.1875rem;
  }
  .opt-seek {
    height: 0.625rem;
    background-size: 100% 0.125rem;
  }
  .opt-seek::-webkit-slider-thumb {
    width: 0.375rem;
    height: 0.375rem;
    margin-top: -0.125rem;
  }
  .opt-seek::-moz-range-thumb {
    width: 0.375rem;
    height: 0.375rem;
  }
  .opt-actions,
  .opt-tools {
    gap: 0.25rem;
  }
  .opt-actions {
    gap: 0.75rem;
  }
  .opt-toolbar button {
    padding: 0.125rem;
  }
  .opt-toolbar .opt-play,
  .opt-toolbar .opt-backward,
  .opt-toolbar .opt-forward {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
  }
  .opt-toolbar button svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  .opt-toolbar button > svg.opt-icon {
    width: 0.85rem;
    height: 0.85rem;
    font-size: 0.85rem;
  }
  .opt-toolbar .opt-fullscreen svg {
    width: 1.1875rem;
    height: 1.1875rem;
  }
  .opt-toolbar .opt-fullscreen svg.opt-icon {
    width: 0.9rem;
    height: 0.9rem;
    font-size: 0.9rem;
  }
  .opt-toolbar .opt-play svg,
  .opt-toolbar .opt-backward svg,
  .opt-toolbar .opt-forward svg,
  .opt-toolbar .opt-play > svg.opt-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
  }
  .opt-title {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .opt-speed-menu {
    bottom: calc(100% + 1.8125rem);
    gap: 0.25rem;
    padding: 0.6rem;
    border-width: 0.0413rem;
    border-radius: 0.25rem;
  }
  .opt-speed-menu .opt-speed-option {
    padding: 0.125rem 0.375rem;
    border-radius: 0.2063rem;
  }
  .opt-toolbar .opt-speed,
  .opt-toolbar .opt-feedback,
  .opt-toolbar .opt-line,
  .opt-toolbar .opt-danmaku {
    padding: 0.25rem 0.375rem;
    border-radius: 0.1875rem;
  }
  .opt-line-menu {
    bottom: calc(100% + 1.8125rem);
    gap: 0.25rem;
    padding: 0.6rem;
    border-width: 0.0413rem;
    border-radius: 0.25rem;
  }
  .opt-line-menu .opt-line-option {
    padding: 0.125rem 0.375rem;
    border-radius: 0.2063rem;
  }
  .opt-line-connecting {
    bottom: 1.125rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.5625rem;
    line-height: 0.7563rem;
  }
  .opt-line-failure {
    gap: 0.25rem;
    backdrop-filter: blur(0.25rem);
  }
  .opt-line-warning {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7656rem;
  }
  .opt-line-warning svg {
    width: 1.595rem;
    height: 1.595rem;
  }
  .opt-line-warning svg.opt-icon {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 1.2rem;
  }
  .opt-line-failure strong {
    font-size: 0.75rem;
    line-height: 0.945rem;
  }
  .opt-line-failure span {
    font-size: 0.5625rem;
    line-height: 0.7088rem;
  }
  .opt-line-failure button {
    gap: 0.25rem;
    margin-top: 0.125rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.1984rem;
    font-size: 0.5625rem;
    line-height: 0.7938rem;
  }
  .opt-line-failure button svg {
    width: 0.7913rem;
    height: 0.7913rem;
  }
  .opt-line-failure button svg.opt-icon {
    width: 0.6rem;
    height: 0.6rem;
    font-size: 0.6rem;
  }
  .opt-toolbar .opt-line {
    gap: 0.0625rem;
  }
  .opt-toolbar .opt-line svg {
    width: 0.5rem;
    height: 0.5rem;
  }
  .opt-toolbar .opt-line svg.opt-icon {
    width: 0.4rem;
    height: 0.4rem;
    font-size: 0.4rem;
  }
  .opt-danmaku-menu {
    bottom: calc(100% + 1.8125rem);
    gap: 0.3125rem;
    padding: 1rem;
    border-width: 0.0394rem;
    border-radius: 0.375rem;
  }
  .opt-danmaku-menu .opt-danmaku-toggle {
    gap: 0.315rem;
  }
  .opt-danmaku-toggle i {
    width: 1.4175rem;
    height: 0.7875rem;
    border-radius: 0.3938rem;
  }
  .opt-danmaku-toggle i:after {
    top: 0.1181rem;
    left: 0.1181rem;
    width: 0.5513rem;
    height: 0.5513rem;
  }
  .opt-danmaku-toggle.is-selected i:after {
    left: 0.7481rem;
  }
  .opt-danmaku-section {
    gap: 0.25rem;
  }
  .opt-danmaku-menu .opt-danmaku-options button {
    padding: 0.125rem 0.375rem;
    border-radius: 0.1969rem;
  }
  .opt-danmaku-section input {
    height: 0.5rem;
    background-size: 100% 0.125rem;
  }
  .opt-danmaku-section input::-webkit-slider-thumb,
  .opt-danmaku-section input::-moz-range-thumb {
    width: 0.375rem;
    height: 0.375rem;
  }
  .opt-shell[data-danmaku-size="large"] .dplayer .dplayer-danmaku {
    font-size: 1.4625rem;
  }
  .opt-shell[data-danmaku-size="medium"] .dplayer .dplayer-danmaku {
    font-size: 1.125rem;
  }
  .opt-shell[data-danmaku-size="small"] .dplayer .dplayer-danmaku {
    font-size: 0.8775rem;
  }
  .opt-toolbar .opt-danmaku {
    gap: 0.0625rem;
  }
  .opt-toolbar .opt-danmaku svg.opt-icon:first-child {
    width: 0.35rem;
    height: 0.35rem;
    font-size: 0.35rem;
  }
  .opt-toolbar .opt-danmaku svg.opt-icon:last-child {
    width: 0.4rem;
    height: 0.4rem;
    font-size: 0.4rem;
  }
  .opt-feedback-panel {
    width: 80%;
    max-width: 80%;
  }
  .opt-volume-wrap,
  .opt-volume-panel {
    display: none;
  }
}
