div.doc-space-styles-provider .video-upload-container div.video-upload-plugin {
  width: 100%;
  box-sizing: border-box;
}

div.doc-space-styles-provider .video-upload-container,
div.doc-space-styles-provider .video-upload-container *,
div.doc-space-styles-provider .video-upload-container *::before,
div.doc-space-styles-provider .video-upload-container *::after {
  box-sizing: border-box;
}

.video-upload-container {
  position: relative;
  display: flex;
  padding: 0 4px 4px 4px;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  align-self: stretch;
  padding: 0 4px 4px 4px;
  border-radius: var(--mantine-radius-md, 8px);
  background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
  gap: 0;
}

.video-upload-container[data-state=video-preview] {
  padding: 0 4px 4px 4px;
  background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
  gap: 0;
}

.video-upload-container[data-state=video-preview][data-ready=true] {
  padding: 0;
  background: transparent;
}

.video-upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 0;
  pointer-events: auto !important;
}
.video-upload-header * {
  pointer-events: auto !important;
}

.video-upload-source-select__root {
  display: inline-flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.video-upload-source-select__wrapper {
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.video-upload-source-select__root .video-upload-source-select__input {
  height: 32px;
  min-height: 32px;
  width: auto;
  min-width: 0;
  white-space: nowrap;
  border-radius: var(--mantine-radius-md, 8px);
  background-color: var(--mantine-color-body, #fff);
  font-size: 14px;
  line-height: 1.45;
  padding: 0 32px 0 12px;
  border: 1px solid var(--mantine-color-body, #fff);
  border-color: var(--mantine-color-body, #fff);
  pointer-events: auto !important;
  cursor: pointer;
}

.video-upload-source-select {
  pointer-events: auto !important;
}

.video-upload-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background: var(--mantine-color-body, #fff);
  border-radius: var(--mantine-radius-md, 8px);
  padding: 8px;
  pointer-events: auto !important;
}
.video-upload-link * {
  pointer-events: auto !important;
}

.video-upload-link-input .mantine-TextInput-input {
  background: var(--input-filled-input-bg, #f1f3f5);
  border: 1px solid transparent;
  height: 36px;
  min-height: 36px;
  border-radius: var(--mantine-radius-md, 8px);
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.45;
  width: 100%;
  pointer-events: auto !important;
}

.video-upload-link-input {
  width: 100%;
  pointer-events: auto !important;
}

.video-upload-link-error {
  color: var(--mantine-color-red-6);
}

.video-upload-link-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.video-upload-link-actions .mantine-Button-root {
  height: 36px;
  padding: 6px 18px;
  font-size: 14px;
  min-width: 109px;
}

.video-embed-container {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  pointer-events: auto;
}

.video-embed-frame {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: auto;
  display: block;
}

.video-upload-container[data-state=video-preview] .video-upload-processing-banner,
.video-upload-container[data-state=video-preview] .video-upload-title-text {
  width: calc(100% - 16px);
  margin: 0 8px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  color: #1f2328;
  box-shadow: none;
  border: none;
}

.video-upload-container[data-state=video-preview] .video-upload-processing-text,
.video-upload-container[data-state=video-preview] .video-upload-title-text {
  color: var(--mantine-color-default-color, #000);
  font-size: var(--font-size-font-size-sm, 14px);
  font-style: normal;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.video-upload-container .video-upload-title-text {
  color: var(--mantine-color-bright);
  font-size: var(--mantine-font-size-sm, 14px);
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
  height: 32px;
  display: flex;
  align-items: center;
  padding-left: var(--mantine-spacing-xs);
}

.video-upload-processing-banner {
  display: flex;
  align-items: center;
  gap: var(--mantine-spacing-xs);
  width: 100%;
  height: 32px;
}

.video-upload-processing-text {
  color: var(--mantine-color-bright);
  font-size: var(--mantine-font-size-sm, 14px);
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
}

.video-upload-dropzone {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.video-upload-icon {
  width: 32px;
  height: 32px;
  color: var(--mantine-color-gray-9);
}

.video-upload-title {
  font-size: var(--mantine-font-size-md);
  font-weight: 500;
  color: var(--mantine-color-gray-9);
  line-height: 1.55;
}
.video-upload-title .highlight {
  color: var(--mantine-primary-color-filled);
}

.video-upload-description {
  font-size: var(--mantine-font-size-sm);
  color: var(--mantine-color-gray-6);
  line-height: 1.45;
}

.video-upload-progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--mantine-spacing-xs);
}

.video-upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--mantine-font-size-sm);
}

.video-upload-progress-info {
  display: flex;
  gap: var(--mantine-spacing-xs);
  align-items: center;
  font-size: var(--mantine-font-size-xs);
  color: var(--mantine-color-gray-6);
}

.video-upload-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

.video-upload-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mantine-spacing-xs);
}

.video-upload-error-icon {
  width: 32px;
  height: 32px;
  color: var(--mantine-color-red-6);
}

.video-upload-error-message {
  font-size: var(--mantine-font-size-xs);
  color: var(--mantine-color-red-6);
  text-align: center;
}

.video-upload-preview {
  position: relative;
  width: 100%;
  border-radius: var(--mantine-radius-md);
  overflow: hidden;
  cursor: pointer;
}
.video-upload-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.video-upload-preview-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: var(--mantine-spacing-sm);
  align-items: center;
}

.video-upload-preview-badge {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  padding: 6px var(--mantine-spacing-sm);
  border-radius: var(--mantine-radius-md);
  font-size: var(--mantine-font-size-sm);
  font-weight: 500;
  color: white;
}

.video-upload-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  color: white;
}

.video-analysis-animation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
}

.video-analysis-animation__icon {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--mantine-color-bright);
}

.video-analysis-animation__path {
  animation: fillAnimation 2s steps(5, end) infinite;
  animation-fill-mode: both;
  fill: currentColor;
}

.video-analysis-animation__path--1,
.video-analysis-animation__path--2,
.video-analysis-animation__path--3 {
  animation-name: fillAnimationTop;
}

.video-analysis-animation__path--4,
.video-analysis-animation__path--5 {
  animation-name: fillAnimationBottom;
}

@keyframes fillAnimationTop {
  0% {
    fill: var(--mantine-color-bright);
  }
  25% {
    fill: var(--mantine-color-bright);
  }
  50% {
    fill: var(--mantine-color-bright);
  }
  75% {
    fill: var(--mantine-color-bright);
  }
  100% {
    fill: var(--mantine-color-bright);
  }
}
@keyframes fillAnimationBottom {
  0% {
    fill: var(--mantine-color-bright);
  }
  25% {
    fill: var(--mantine-color-bright);
  }
  50% {
    fill: var(--mantine-color-bright);
  }
  75% {
    fill: var(--mantine-color-bright);
  }
  100% {
    fill: var(--mantine-color-bright);
  }
}
.video-analysis-animation__line {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  width: 100%;
  height: 2px;
  background-color: var(--primary-color-text, #4c6ef5);
  border-radius: 1px;
  transform: translateY(-50%);
  z-index: 10;
  animation: linePosition 2s steps(5, end) infinite;
  animation-fill-mode: both;
}

@keyframes linePosition {
  0% {
    top: calc(100% - 2px);
    transform: translateY(-50%);
  }
  18% {
    top: 50%;
    transform: translateY(-50%);
  }
  22% {
    top: 50%;
    transform: translateY(-50%);
  }
  40% {
    top: 2px;
    transform: translateY(-50%);
  }
  58% {
    top: 50%;
    transform: translateY(-50%);
  }
  62% {
    top: 50%;
    transform: translateY(-50%);
  }
  100% {
    top: calc(100% - 2px);
    transform: translateY(-50%);
  }
}
.stars-animation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform: translateY(-1px);
}

.stars-animation__icon {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--mantine-color-bright);
}

.stars-animation__star {
  transform-box: fill-box;
  transform-origin: center;
}

.stars-animation__star--a {
  animation: starAAnimation 0.8s ease-in-out infinite;
}

.stars-animation__star--b {
  animation: starBAnimation 0.8s ease-in-out infinite;
}

@keyframes starAAnimation {
  0% {
    transform: scale(1.05);
    fill: #fab005;
  }
  50% {
    transform: scale(0.8);
    fill: #808080;
  }
  100% {
    transform: scale(1.05);
    fill: #fab005;
  }
}
@keyframes starBAnimation {
  0% {
    transform: scale(1);
    fill: #808080;
  }
  50% {
    transform: scale(1.4);
    fill: #fab005;
  }
  100% {
    transform: scale(1);
    fill: #808080;
  }
}
.switching-animation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switching-animation__item {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.video-player-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  --video-timeline-hitbox-padding: 6px;
  --video-timeline-height: 10px;
  --video-controls-gap: 6px;
  --video-controls-row-height: 28px;
  --video-controls-padding-bottom: 12px;
  --video-subtitles-offset: 48px;
}

@media (max-width: 480px) {
  .video-upload-container,
  .video-player-container,
  .video-player-container--with-player {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 360px) {
  .video-upload-container,
  .video-player-container,
  .video-player-container--with-player {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.video-player-container--with-player {
  aspect-ratio: 16/9;
  cursor: pointer;
  border-radius: 12px;
  background: #000;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player-media {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.video-player-container video::cue {
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.2em 0.4em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.video-player-container .shaka-text-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--video-controls-padding-bottom) + var(--video-controls-row-height) + var(--video-controls-gap) + var(--video-timeline-height) + var(--video-timeline-hitbox-padding) * 2 + var(--video-subtitles-offset)) !important;
  top: auto !important;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.video-player-container .shaka-text-container .shaka-text-wrapper,
.video-player-container .shaka-text-container .shaka-text-wrapper span,
.video-player-container .shaka-text-container span {
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.video-player-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px 12px;
  pointer-events: none;
}

.video-player-controls--no-chapters {
  --video-subtitles-offset: 16px;
}

.video-player-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  transition: transform 0.15s ease, background 0.15s ease;
}

.video-player-center-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: transparent;
}

.video-player-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 148px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.video-player-controls {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  pointer-events: auto;
}

.video-player-timeline {
  position: relative;
  width: 100%;
  height: 10px;
  display: flex;
  align-items: center;
}

.video-player-timeline-hitbox {
  position: relative;
  width: 100%;
  padding: 6px 0;
  margin: -6px 0;
  display: flex;
  align-items: center;
}

.video-player-timeline-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.video-player-buffered {
  position: absolute;
  top: 0;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.video-player-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--mantine-primary-color-filled);
}

.video-player-knob {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--mantine-primary-color-filled);
  transform: translate(-50%, -50%);
}

.video-player-storyboard-preview {
  position: relative;
  bottom: auto;
  transform: none;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--mantine-color-white, #fff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.video-player-storyboard-preview-image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-color: #000;
}

.video-player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.video-player-left,
.video-player-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-player-button {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.video-player-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.video-player-time {
  font-size: var(--mantine-font-size-sm, 14px);
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.video-player-title {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  color: #fff;
  font-size: var(--mantine-font-size-sm, 14px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-player-chapter-title {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  color: #fff;
  font-size: var(--mantine-font-size-sm, 14px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.video-player-timeline-track--chapters {
  background: transparent;
}

.video-player-chapter-segments {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 3px;
}

.video-player-chapter-segment {
  position: relative;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.video-player-chapter-segment-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #2f80ed;
  border-radius: 4px;
}

.video-player-chapter-segment-buffered {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
}

.video-player-hover-preview {
  position: absolute;
  bottom: 100%;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  z-index: 10;
}

.video-player-hover-preview-info {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
  backdrop-filter: blur(2px);
  border-radius: 8px;
  max-width: 164px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.video-player-hover-preview-time {
  font-size: var(--mantine-font-size-xs, 12px);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.video-player-hover-preview-title {
  font-size: var(--mantine-font-size-xs, 12px);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.video-player-chapters-list {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 6px 8px;
  background: #0b0d10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--mantine-radius-default, 8px) var(--mantine-radius-default, 8px);
}
.video-player-chapters-list::-webkit-scrollbar {
  height: 4px;
}
.video-player-chapters-list::-webkit-scrollbar-track {
  background: transparent;
}
.video-player-chapters-list::-webkit-scrollbar-thumb {
  background: #424242;
  border-radius: 8px;
}

.video-player--compact .video-player-time {
  display: none;
}

.video-player--narrow .video-player-chapter-title,
.video-player--narrow .video-player-title,
.video-player--narrow .video-player-chapters-list {
  display: none;
}

.video-player-chapters-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--mantine-radius-default, 8px);
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 264px;
}
.video-player-chapters-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.video-player-chapters-item--active .video-player-chapters-item-time {
  background: #2f80ed;
  color: #fff;
}

.video-player-chapters-item-time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  min-width: 45px;
  background: rgba(47, 128, 237, 0.2);
  border-radius: 16px;
  font-size: var(--mantine-font-size-xs, 12px);
  font-weight: 600;
  line-height: 1.4;
  color: #2f80ed;
}

.video-player-chapters-item-title {
  font-size: var(--mantine-font-size-sm, 14px);
  font-weight: 400;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 223px;
}

.video-settings-anchor {
  position: relative;
  display: flex;
  align-items: center;
}

div.video-player-menu-dropdown .video-menu-header {
  font-size: var(--font-size-font-size-sm, 14px);
  font-style: normal;
  font-weight: 600;
}

div.video-player-menu-dropdown div.mantine-Menu-item,
div.video-player-menu-dropdown div.mantine-Menu-itemLabel,
div.video-player-menu-dropdown div.mantine-Menu-itemSection,
div.video-player-menu-dropdown .video-menu-item-text {
  font-size: var(--font-size-font-size-sm, 14px);
  font-weight: 400;
}

.video-menu-item {
  display: flex;
  height: 36px;
  min-height: 36px;
  padding: 6px var(--mantine-spacing-xs);
  align-items: center;
  gap: var(--mantine-spacing-xs, 10px);
}

.video-menu-item-text {
  font-size: var(--font-size-font-size-sm, 14px);
  font-weight: 400;
}

.video-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.video-menu-left {
  display: flex;
  align-items: center;
  gap: var(--mantine-spacing-xs, 10px);
}

.video-menu-right {
  display: flex;
  align-items: center;
  gap: var(--mantine-spacing-xs, 10px);
}

.video-menu-value {
  text-align: right;
}

.video-menu-chevron {
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.shaka-controls-container,
.shaka-controls-button-panel,
.shaka-controls-menu,
.shaka-spinner-container {
  display: none !important;
}

.video-settings-modal .mantine-Modal-body {
  padding: 0;
}
.video-settings-modal .video-settings-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--mantine-color-default-border);
}
.video-settings-modal .video-settings-modal-body {
  padding: 16px 20px 20px;
}
.video-settings-modal .video-settings-modal-section-title {
  font-size: var(--mantine-h5-font-size, 16px);
  font-weight: var(--mantine-h5-font-weight, 700);
  color: var(--mantine-color-bright);
}
.video-settings-modal .video-settings-modal-text-label {
  color: var(--mantine-color-bright);
  font-size: var(--font-size-font-size-sm, 14px);
  font-weight: 500;
}
.video-settings-modal .video-settings-modal-cover-carousel {
  position: relative;
  margin-top: 10px;
  margin-bottom: 12px;
}
.video-settings-modal .video-settings-modal-cover-controls {
  top: 50%;
  transform: translateY(-50%);
  padding: 0 4px;
}
.video-settings-modal .video-settings-modal-cover-control {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--mantine-color-gray-3);
  background: var(--mantine-color-white);
  color: var(--mantine-color-gray-7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.video-settings-modal .video-settings-modal-cover-control[data-inactive] {
  opacity: 0;
  pointer-events: none;
}
.video-settings-modal .video-settings-modal-cover-carousel .mantine-Carousel-slide {
  display: flex;
  height: 80px;
}
.video-settings-modal .video-settings-modal-cover-cell {
  width: 129.333px;
  height: 80px;
  border-radius: var(--radius-radius-default, 8px);
  overflow: hidden;
  min-height: 0;
  flex: 0 0 auto;
}
.video-settings-modal .video-settings-modal-cover-upload {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px dashed #d0d7de;
  border-radius: var(--radius-radius-default, 8px);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.video-settings-modal .video-settings-modal-cover-upload:hover {
  border-color: #9db6d6;
  background: #ffffff;
}
.video-settings-modal .video-settings-modal-cover-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.video-settings-modal .video-settings-modal-cover-upload-label {
  font-size: var(--font-size-font-size-sm, 14px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mantine-color-bright);
}
.video-settings-modal .video-settings-modal-cover-thumb {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-radius-default, 8px);
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  cursor: pointer;
}
.video-settings-modal .video-settings-modal-cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-settings-modal .video-settings-modal-cover-thumb.loading img {
  filter: blur(4px);
}
.video-settings-modal .video-settings-modal-cover-thumb.error img {
  filter: blur(4px);
}
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}
.video-settings-modal .video-settings-modal-cover-thumb .video-settings-modal-cover-error-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.video-settings-modal .video-settings-modal-cover-thumb.selected {
  border-color: var(--mantine-color-blue-5);
}
.video-settings-modal .video-settings-modal-cover-thumb.selected .video-settings-modal-cover-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mantine-color-blue-5);
  backdrop-filter: blur(2px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-header {
  border-bottom: 1px solid var(--mantine-color-dark-4);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-body {
  background: var(--mantine-color-dark-7);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-section-title {
  color: var(--mantine-color-bright);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-control {
  border-color: var(--mantine-color-dark-4);
  background: var(--mantine-color-dark-6);
  color: var(--mantine-color-gray-2);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload {
  border-color: var(--mantine-color-dark-4);
  background: var(--mantine-color-dark-6);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload:hover {
  border-color: var(--mantine-color-blue-4);
  background: var(--mantine-color-dark-5);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-upload-label {
  color: var(--mantine-color-gray-0, #f1f3f5);
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-thumb {
  border-color: transparent;
}
[data-mantine-color-scheme=dark] .video-settings-modal .video-settings-modal-cover-thumb.selected {
  border-color: var(--mantine-color-blue-4);
}

.video-settings-modal-subtitles-row {
  align-items: center;
  gap: 10px;
  margin-bottom: var(--mantine-spacing-sm);
}
.video-settings-modal-subtitles-row .mantine-Select-root {
  flex: 1;
}
.video-settings-modal-subtitles-row .mantine-Select-input,
.video-settings-modal-subtitles-row .mantine-Button-root {
  height: 36px;
}
.video-settings-modal-subtitles-row .mantine-Button-root {
  min-width: 140px;
  border-radius: 10px;
}

.video-settings-modal-subtitles-row:first-of-type {
  margin-top: var(--mantine-spacing-xs);
}

.video-settings-modal-subtitles-row:last-of-type {
  margin-bottom: 0;
}

.video-settings-modal-subtitles-label {
  color: #ff3b30;
  font-weight: 500;
}

.video-settings-modal-link {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--mantine-primary-color-light-color, #4c6ef5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.video-settings-modal .video-settings-modal-link {
  color: var(--mantine-primary-color-light-color, #4c6ef5);
  text-decoration: none;
}

.video-settings-modal .video-settings-modal-link.mantine-Text-root {
  color: var(--mantine-primary-color-light-color, #4c6ef5);
}

.video-settings-modal-link:disabled {
  opacity: 0.4;
  cursor: default;
}

.video-settings-modal-upload-button {
  height: var(--button-height-sm, 36px);
  padding: 6px var(--button-padding-x-sm, 18px);
  border-radius: var(--mantine-radius-default, 8px);
  background: var(--mantine-primary-color-light, rgba(76, 110, 245, 0.1)) !important;
  font-size: var(--mantine-font-size-sm, 14px);
  color: var(--mantine-primary-color-light-color, #4c6ef5) !important;
  font-weight: 500;
  border: none !important;
}

.video-settings-modal-upload-button:hover {
  background: var(--mantine-primary-color-light-hover, rgba(76, 110, 245, 0.16)) !important;
}

.video-settings-modal-chapter-row {
  max-width: 100%;
  align-items: flex-start;
  gap: 10px;
}

.video-settings-modal-chapter-times {
  gap: 10px;
  width: 72px;
  flex: 0 0 72px;
}

.video-settings-modal-chapter-title {
  flex: 1;
  min-width: 0;
  height: 82px;
}

.video-settings-modal-chapter-actions {
  width: 36px;
  flex: 0 0 36px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}._dropzone_8gcr8_1 {
  border-radius: var(--mantine-radius-default, 8px);
  padding: 31px 60px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px dashed var(--mantine-color-default-border);
  background-color: light-dark(#fff, var(--mantine-color-dark-8));
}
._dropzone_8gcr8_1:hover:not(._disabled_8gcr8_9) {
  background-color: var(--mantine-color-default-hover);
}
._dropzone_8gcr8_1._focused_8gcr8_12, ._dropzone_8gcr8_1[data-accept=true] {
  border: 1px dashed var(--primary-color-outline, #4c6ef5);
  background: linear-gradient(0deg, var(--mantine-primary-color-light-hover) 0%, rgba(76, 110, 245, 0.12) 100%), var(--Sidebar-app-container-bg, #fff);
}
._dropzone_8gcr8_1._disabled_8gcr8_9 {
  cursor: not-allowed;
}

._dropzoneContent_8gcr8_20 {
  border: none;
  background: transparent !important;
  padding: 0;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  gap: var(--spacing-spacing-xs, 10px);
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: var(--mantine-radius-default, 8px);
  transition: background-color 0.2s ease;
}
._dropzoneContent_8gcr8_20._disabled_8gcr8_9 {
  cursor: not-allowed;
}

._iconContainer_8gcr8_40 {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

._contentWrapper_8gcr8_48 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  width: 100%;
}

._contentWrapper_8gcr8_48 ._title_8gcr8_57 {
  line-height: 1.55;
  color: var(--mantine-color-bright);
}

._description_8gcr8_62 {
  line-height: 1.45;
}