@font-face {
  font-family: "SV Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "SV Noto Sans SC";
  src: url("/assets/fonts/NotoSansCJKsc-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SV Noto Sans SC";
  src: url("/assets/fonts/NotoSansCJKsc-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --sv-font-latin: "SV Inter", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sv-font-cn: "SV Noto Sans SC", "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sv-font-ui: "SV Inter", "SV Noto Sans SC", Inter, "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--sv-font-ui) !important;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.membership-modal-backdrop,
.membership-modal,
.account-required-backdrop,
.account-required-dialog,
.pricing-modal-page,
.sv-membership-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.sv-video-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.sv-video-loading-overlay.show {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sv-loader-root {
  position: relative;
  display: grid !important;
  place-items: center;
  gap: 18px;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(77, 160, 108, .08), transparent 24%),
    linear-gradient(180deg, #fafdfb 0%, #eef5f0 100%);
  color: #234035;
}

.sv-loader-shell,
.sv-loader-caption {
  display: none !important;
}

.sv-loader-root::before {
  content: "";
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #44b96f 0 28%, #4d6ff2 28% 52%, #44b96f 52% 78%, #4d6ff2 78% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
  animation: svLoaderSpin 0.9s linear infinite;
  box-shadow: 0 14px 34px rgba(45, 70, 55, .10);
}

.sv-loader-root::after {
  content: "\6B63\5728\51C6\5907\5185\5BB9";
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.sv-video-loading-card {
  width: min(320px, 82vw);
  min-height: 220px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(77, 160, 108, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(35, 67, 49, 0.12);
  color: #203328;
}

.sv-video-loading-mark {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 2px solid #dcefe3;
  border-radius: 50%;
  background: #f8fcf9;
}

.sv-video-loading-mark::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #4da06c;
  clip-path: polygon(28% 18%, 78% 50%, 28% 82%);
  animation: svVideoPulse 950ms ease-in-out infinite;
}

.sv-video-loading-mark span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4da06c;
  animation: svVideoOrbit 1500ms linear infinite;
}

.sv-video-loading-mark span:nth-child(1) {
  animation-delay: 0ms;
}

.sv-video-loading-mark span:nth-child(2) {
  animation-delay: -500ms;
  opacity: 0.72;
}

.sv-video-loading-mark span:nth-child(3) {
  animation-delay: -1000ms;
  opacity: 0.46;
}

.sv-video-loading-title {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.sv-video-loading-text {
  color: #687a70;
  font-size: 13px;
  font-weight: 600;
}

.sv-video-loading-bars {
  width: 124px;
  height: 24px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  margin-top: 4px;
}

.sv-video-loading-bars i {
  width: 8px;
  height: 10px;
  border-radius: 999px;
  background: #4da06c;
  animation: svVideoBars 780ms ease-in-out infinite;
}

.sv-video-loading-bars i:nth-child(2) {
  animation-delay: 100ms;
}

.sv-video-loading-bars i:nth-child(3) {
  animation-delay: 200ms;
}

.sv-video-loading-bars i:nth-child(4) {
  animation-delay: 300ms;
}

body .loading-container {
  display: none !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  color: #203328 !important;
  gap: 14px !important;
}

body .loading-container .spinner {
  position: relative !important;
  width: 70px !important;
  height: 70px !important;
  border: 2px solid #dcefe3 !important;
  border-radius: 50% !important;
  background: #f8fcf9 !important;
  box-shadow: 0 16px 36px rgba(35, 67, 49, 0.1) !important;
  animation: none !important;
}

body .loading-container .spinner::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 7px;
  background: #4da06c;
  clip-path: polygon(28% 18%, 78% 50%, 28% 82%);
  animation: svVideoPulse 950ms ease-in-out infinite;
}

body .loading-container .spinner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #4da06c;
  box-shadow: 0 -34px 0 #4da06c, 24px 24px 0 rgba(77, 160, 108, 0.62), -24px 24px 0 rgba(77, 160, 108, 0.34);
  animation: svVideoSpin 1500ms linear infinite;
}

body .loading-container p {
  color: #687a70 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

html:not(.sv-reference-video-ui) .sv-video-more {
  display: none !important;
}

@keyframes svLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes svVideoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.82);
  }
}

@keyframes svVideoOrbit {
  from {
    transform: rotate(0deg) translateY(-39px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateY(-39px) rotate(-360deg);
  }
}

@keyframes svVideoBars {
  0%, 100% {
    height: 9px;
    opacity: 0.42;
  }
  50% {
    height: 24px;
    opacity: 1;
  }
}

@keyframes svVideoSpin {
  to {
    transform: rotate(360deg);
  }
}

.sv-local-panel {
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(77, 160, 108, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(31, 63, 48, 0.08);
  color: #26362d;
}

.sv-local-panel.sv-floating {
  position: fixed;
  left: 18px;
  top: 120px;
  z-index: 50;
  width: 300px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.sv-local-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.sv-local-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #234331;
}

.sv-local-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f7ed;
  color: #308453;
  font-size: 11px;
  font-weight: 800;
}

.sv-local-section {
  padding: 10px 0;
  border-top: 1px solid rgba(77, 160, 108, 0.12);
}

.sv-local-section:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.sv-local-section h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5f7168;
  font-weight: 800;
}

.sv-local-stack,
.sv-local-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sv-local-btn,
.sv-local-tab {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(77, 160, 108, 0.18);
  border-radius: 10px;
  background: #f8fbf8;
  color: #24382d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.sv-local-btn:hover,
.sv-local-tab:hover,
.sv-local-tab.active {
  border-color: rgba(77, 160, 108, 0.45);
  background: #eaf7ef;
  color: #22633f;
}

.sv-local-status {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf2ef;
  color: #648070;
  font-size: 11px;
  font-weight: 800;
}

.sv-local-status.ok {
  background: #dcfce7;
  color: #15803d;
}

.sv-local-status.added {
  background: #dbeafe;
  color: #1d4ed8;
}

.sv-local-status.partial {
  background: #fef3c7;
  color: #a16207;
}

.sv-local-note {
  margin: 8px 0 0;
  color: #708177;
  font-size: 12px;
  line-height: 1.55;
}

.sv-filter-panel {
  padding: 14px;
}

.sv-filter-panel .sv-local-head {
  margin-bottom: 12px;
}

.sv-filter-panel .sv-local-chip {
  background: transparent;
  color: #26362d;
  font-size: 13px;
  padding: 0;
}

.sv-filter-search {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(77, 160, 108, 0.12);
  background: #f6faf7;
  color: #6b7c72;
}

.sv-filter-search-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: #7b8b82;
}

.sv-filter-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #26362d;
  font-size: 13px;
}

.sv-filter-search input::placeholder {
  color: #8b9990;
}

.sv-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.sv-filter-dropdown {
  position: relative;
}

.sv-filter-control {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(77, 160, 108, 0.2);
  border-radius: 12px;
  background: #ffffff;
  color: #26362d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.sv-filter-control:hover {
  border-color: rgba(77, 160, 108, 0.48);
  background: #f2fbf5;
}

.sv-filter-dropdown.open .sv-filter-control {
  border-color: rgba(77, 160, 108, 0.55);
  background: #eef9f2;
}

.sv-filter-label {
  flex: 1 1 auto;
}

.sv-filter-value {
  max-width: 130px;
  color: #4f6759;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-filter-chevron {
  color: #4f6759;
  font-size: 16px;
}

.sv-filter-dropdown.open .sv-filter-chevron {
  transform: rotate(180deg);
}

.sv-filter-menu {
  display: none;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid rgba(77, 160, 108, 0.18);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 63, 48, 0.1);
}

.sv-filter-dropdown.open .sv-filter-menu {
  display: grid;
  gap: 5px;
}

.sv-filter-dropdown[data-filter-key="author"] .sv-filter-menu {
  max-height: min(48vh, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(77, 160, 108, 0.45) transparent;
}

.sv-filter-dropdown[data-filter-key="author"] .sv-filter-menu::-webkit-scrollbar {
  width: 4px;
}

.sv-filter-dropdown[data-filter-key="author"] .sv-filter-menu::-webkit-scrollbar-track {
  background: transparent;
}

.sv-filter-dropdown[data-filter-key="author"] .sv-filter-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(77, 160, 108, 0.42);
}

.sv-filter-option {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #26362d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.sv-filter-option:hover,
.sv-filter-option.active {
  background: #eaf7ef;
  color: #22633f;
}

.sv-filter-count {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  border-top: 1px solid rgba(77, 160, 108, 0.12);
  color: #26362d;
  font-size: 13px;
}

.sv-filter-count strong {
  font-size: 16px;
  font-weight: 900;
}

.sv-mobile-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: none;
  pointer-events: none;
}

.sv-mobile-filter-drawer.open {
  display: block;
  pointer-events: auto;
}

.sv-mobile-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 37, 31, 0.28);
}

.sv-mobile-filter-sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  overflow: auto;
  background: #ffffff;
  box-shadow: -18px 0 42px rgba(18, 31, 24, 0.14);
}

.sv-mobile-filter-panel {
  min-height: 100%;
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

.sv-mobile-filter-close {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(77, 160, 108, 0.18);
  border-radius: 50%;
  background: #f7faf8;
  color: #26362d;
  cursor: pointer;
  pointer-events: auto;
  font-size: 22px;
  line-height: 1;
}

body.sv-mobile-filter-open {
  overflow: hidden !important;
}

.home-page.home-layout-drawer button.mobile-home-tool-btn[aria-label*="\7b5b\9009"],
.home-page.home-layout-drawer button.mobile-home-tool-btn[title*="\7b5b\9009"] {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  z-index: 120 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.sv-library-left-filter .filter-section.home-desktop-filter-stage,
.sv-library-left-filter .home-desktop-filter-bar {
  display: none !important;
}

.sv-card-hidden-meta {
  display: none !important;
}

.sv-card-is-learned {
  position: relative !important;
}

.sv-card-learned-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(42, 145, 82, .18) !important;
  border-radius: 999px !important;
  background: #eaf8ef !important;
  color: #2d8a51 !important;
  font: 700 11px/1 var(--sv-font-cn) !important;
  pointer-events: none !important;
}

.sv-video-mask-host {
  position: relative !important;
  overflow: hidden !important;
}

.sv-video-watermark-mask {
  display: none !important;
  position: absolute;
  top: clamp(16px, 3.2%, 34px);
  left: clamp(22px, 3.4%, 42px);
  width: clamp(138px, 17.5%, 230px);
  height: clamp(38px, 7.2%, 78px);
  z-index: 8;
  pointer-events: none;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(64, 64, 54, 0.18), rgba(210, 206, 190, 0.11)),
    rgba(160, 160, 145, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(0.8);
  backdrop-filter: blur(18px) saturate(0.8);
  box-shadow:
    0 0 16px rgba(200, 200, 185, 0.22),
    inset 0 0 22px rgba(255, 255, 255, 0.08);
}

.sv-reference-video-ui,
.sv-reference-video-ui body,
.sv-reference-video-ui .app,
.sv-reference-video-ui .video-learning-page {
  background: #ffffff !important;
}

.sv-reference-video-ui .subtitle-section,
.sv-reference-video-ui .subtitle-display,
.sv-reference-video-ui .subtitle-list,
.sv-reference-video-ui .subtitle-items-container {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sv-reference-video-ui .subtitle-list-header {
  display: none !important;
}

.sv-reference-video-ui .subtitle-items-container {
  padding: 0 24px 140px !important;
  scroll-behavior: auto !important;
  overscroll-behavior: contain;
}

.sv-reference-video-ui .subtitle-item {
  position: relative !important;
  min-height: 112px !important;
  margin: 0 !important;
  padding: 42px 56px 22px 32px !important;
  border: 0 !important;
  border-bottom: 1px solid #eee7dc !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.sv-reference-video-ui .subtitle-item:first-child,
.sv-reference-video-ui .subtitle-item.active,
.sv-reference-video-ui .subtitle-item.current,
.sv-reference-video-ui .subtitle-item.playing {
  border-left: 0 !important;
  background: #ffffff !important;
}

.sv-reference-video-ui.sv-ab-selecting .subtitle-item[data-subtitle-id] {
  cursor: crosshair !important;
}

.sv-reference-video-ui.sv-ab-selecting .subtitle-item[data-subtitle-id]:hover {
  background: #fffaf0 !important;
  box-shadow: inset 0 0 0 2px rgba(210, 138, 41, 0.32) !important;
}

.sv-reference-video-ui .subtitle-item.sv-ab-range {
  background: #fffdf8 !important;
}

.sv-reference-video-ui .subtitle-item.sv-ab-point-a,
.sv-reference-video-ui .subtitle-item.sv-ab-point-b {
  border-left: 0 !important;
  background: #fff8ea !important;
}

.sv-reference-video-ui .subtitle-item.sv-follow-current,
.sv-reference-video-ui .subtitle-item.active.sv-follow-current,
.sv-reference-video-ui .subtitle-item.current.sv-follow-current,
.sv-reference-video-ui .subtitle-item.playing.sv-follow-current {
  border-left: 0 !important;
  background: #fff4c8 !important;
  box-shadow: inset 0 0 0 1px rgba(218, 170, 67, 0.36) !important;
}

.sv-reference-video-ui .subtitle-item.highlight-jump {
  animation: none !important;
  transform: none !important;
}

.sv-reference-video-ui .subtitle-item.sv-ab-point-a::before,
.sv-reference-video-ui .subtitle-item.sv-ab-point-b::before {
  position: absolute;
  top: 18px;
  right: 54px;
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #d28a29;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.sv-reference-video-ui .subtitle-item.sv-ab-point-a::before {
  content: "A";
}

.sv-reference-video-ui .subtitle-item.sv-ab-point-b::before {
  content: "B";
}

.sv-reference-video-ui .subtitle-time {
  position: absolute !important;
  top: 22px !important;
  left: 24px !important;
  color: #c98824 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.sv-reference-video-ui .subtitle-text {
  margin: 0 0 12px !important;
}

.sv-reference-video-ui .sv-inline-phonetic {
  display: block;
  margin: -5px 0 10px !important;
  color: #a67836 !important;
  font-family: var(--sv-font-latin) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  opacity: 0.88;
  overflow-wrap: anywhere;
}

.sv-reference-video-ui:not(.sv-phonetics-on) .sv-inline-phonetic {
  display: none !important;
}

.sv-reference-video-ui .subtitle-text,
.sv-reference-video-ui .subtitle-text-selectable {
  color: #2c241f !important;
  font-family: var(--sv-font-latin) !important;
  font-size: 18px !important;
  font-weight: 680 !important;
  line-height: 1.46 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

.sv-reference-video-ui .subtitle-translation {
  color: #766a60 !important;
  font-family: var(--sv-font-cn) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.64 !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}

.sv-reference-video-ui .subtitle-text mark,
.sv-reference-video-ui .subtitle-text-selectable mark,
.sv-reference-video-ui .subtitle-text .highlight-word,
.sv-reference-video-ui .subtitle-text-selectable .highlight-word,
.sv-reference-video-ui .subtitle-text .highlighted-word,
.sv-reference-video-ui .subtitle-text-selectable .highlighted-word {
  font-family: inherit !important;
  font-weight: inherit !important;
}

html.sv-font-small.sv-reference-video-ui .subtitle-text,
html.sv-font-small.sv-reference-video-ui .subtitle-text-selectable {
  font-size: 16px !important;
}

html.sv-font-small.sv-reference-video-ui .subtitle-translation {
  font-size: 15px !important;
}

html.sv-font-large.sv-reference-video-ui .subtitle-text,
html.sv-font-large.sv-reference-video-ui .subtitle-text-selectable {
  font-size: 21px !important;
}

html.sv-font-large.sv-reference-video-ui .subtitle-translation {
  font-size: 19px !important;
}

html.sv-font-xlarge.sv-reference-video-ui .subtitle-text,
html.sv-font-xlarge.sv-reference-video-ui .subtitle-text-selectable {
  font-size: 24px !important;
}

html.sv-font-xlarge.sv-reference-video-ui .subtitle-translation {
  font-size: 21px !important;
}

html.sv-blind-listening.sv-reference-video-ui .subtitle-text,
html.sv-blind-listening.sv-reference-video-ui .subtitle-text-selectable,
html.sv-blind-listening.sv-reference-video-ui .subtitle-translation {
  color: transparent !important;
  text-shadow: none !important;
}

html.sv-blind-listening.sv-reference-video-ui .subtitle-text mark,
html.sv-blind-listening.sv-reference-video-ui .subtitle-text-selectable mark,
html.sv-blind-listening.sv-reference-video-ui .subtitle-text .highlight-word,
html.sv-blind-listening.sv-reference-video-ui .subtitle-text-selectable .highlight-word {
  color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sv-reference-video-ui .subtitle-favorite-btn {
  top: 22px !important;
  right: 18px !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .82;
}

.sv-reference-video-ui .subtitle-favorite-btn svg {
  width: 20px !important;
  height: 20px !important;
}

.sv-reference-video-ui .subtitle-favorite-btn path {
  stroke: #b98a43 !important;
  stroke-width: 1.65 !important;
}

.sv-reference-video-ui .mobile-bottom-toolbar {
  display: block !important;
}

.sv-reference-video-ui .app.video-learning-page {
  --learning-mobile-toolbar-height: 160px !important;
}

.sv-reference-video-ui .toolbar-icon-btn > svg,
.sv-reference-video-ui .toolbar-icon-btn .toolbar-loop-icon,
.sv-reference-video-ui .toolbar-speed-selector > svg {
  display: block !important;
}

.sv-reference-video-ui .toolbar-icon-btn .toolbar-loop-icon {
  margin: 0 auto 3px !important;
}

.sv-reference-video-ui .toolbar-icon-btn > .sv-toolbar-svg,
.sv-reference-video-ui .toolbar-icon-btn > .sv-toolbar-text-icon {
  display: none !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-icon-btn::before,
.sv-toolbar-icons-css .toolbar-speed-selector::before,
.sv-toolbar-icons-css .mobile-primary-toolbar .toolbar-icon-btn::before {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto 3px;
  place-items: center;
  color: #4b514d;
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(1)::before {
  content: "文A";
  font-size: 21px;
  font-weight: 850;
}

.sv-toolbar-icons-css .toolbar-speed-selector::before {
  content: "1x";
  font-size: 20px;
  font-weight: 850;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(3)::before {
  content: "▱";
  font-size: 28px;
  transform: rotate(-10deg);
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(4)::before {
  content: "▯";
  font-size: 28px;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(5)::before {
  content: "∩";
  font-size: 30px;
  transform: translateY(-3px);
}

.sv-toolbar-icons-css .toolbar-loop-btn::before {
  content: "↻";
  font-size: 30px;
}

.sv-toolbar-icons-css .mobile-primary-toolbar .toolbar-jump-btn:first-of-type::before {
  content: "◀";
  font-size: 23px;
}

.sv-toolbar-icons-css .mobile-primary-toolbar .toolbar-jump-btn:last-of-type::before {
  content: "▶";
  font-size: 23px;
}

.sv-toolbar-icons-css .toolbar-toggle-btn::before {
  content: "⌄";
  font-size: 27px;
  transform: translateY(-2px);
}


.sv-toolbar-svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sv-toolbar-svg .sv-fill {
  fill: currentColor;
  stroke: none;
}

.sv-toolbar-text-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: currentColor;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.sv-toolbar-translate-icon {
  color: #3f4641;
  font-size: 22px;
}

.sv-toolbar-speed-mark {
  color: #3f4641;
  font-size: 22px;
}

.sv-reference-video-ui .toolbar-icon-btn {
  color: #4b514d !important;
}

.sv-reference-video-ui .toolbar-icon-btn .toolbar-label {
  margin-top: 3px !important;
  color: #4b514d !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

.sv-reference-video-ui .toolbar-primary-play-btn {
  background: #41b94f !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(65, 185, 79, 0.28) !important;
}





.sv-toolbar-icons-css .mobile-bottom-toolbar {
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(220, 226, 219, 0.95) !important;
  background: #ffffff !important;
  box-shadow: 0 -14px 34px rgba(32, 47, 39, 0.13) !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar,
.sv-toolbar-icons-css .mobile-primary-toolbar {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 6px !important;
}

.sv-toolbar-icons-css .toolbar-icon-btn {
  min-width: 0 !important;
  border-radius: 14px !important;
  color: #4f5a54 !important;
}

.sv-toolbar-icons-css .toolbar-icon-btn:hover,
.sv-toolbar-icons-css .toolbar-icon-btn:active {
  background: rgba(64, 178, 90, 0.08) !important;
}

.sv-toolbar-icons-css .toolbar-icon-btn .toolbar-label {
  margin-top: 2px !important;
  color: #3d4842 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-icon-btn::before,
.sv-toolbar-icons-css .mobile-primary-toolbar .toolbar-primary-btn::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  margin: 0 auto 3px !important;
  background-color: currentColor !important;
  background-image: none !important;
  transform: none !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: 24px 24px !important;
  mask-size: 24px 24px !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6'/%3E%3Cpath d='m4 14 6-6 2-3'/%3E%3Cpath d='M2 5h12'/%3E%3Cpath d='M7 2h1'/%3E%3Cpath d='m22 22-5-10-5 10'/%3E%3Cpath d='M14 18h6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6'/%3E%3Cpath d='m4 14 6-6 2-3'/%3E%3Cpath d='M2 5h12'/%3E%3Cpath d='M7 2h1'/%3E%3Cpath d='m22 22-5-10-5 10'/%3E%3Cpath d='M14 18h6'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .toolbar-speed-selector::before {
  content: "1x" !important;
  display: grid !important;
  width: 28px !important;
  height: 25px !important;
  margin: 0 auto 3px !important;
  place-items: center !important;
  color: #3f4a44 !important;
  background: none !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transform: none !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(3)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V6.5A2.5 2.5 0 0 1 6.5 4H20v15H6.5A2.5 2.5 0 0 1 4 16.5'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V6.5A2.5 2.5 0 0 1 6.5 4H20v15H6.5A2.5 2.5 0 0 1 4 16.5'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h6'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(4)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-secondary-btn:nth-child(5)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-primary-toolbar > .toolbar-loop-btn:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15'/%3E%3Cpath d='M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15'/%3E%3Cpath d='M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-primary-toolbar > .toolbar-jump-btn:nth-child(2)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 5h2v14H6z'/%3E%3Cpath d='M18.5 5.5 9 12l9.5 6.5z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 5h2v14H6z'/%3E%3Cpath d='M18.5 5.5 9 12l9.5 6.5z'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-primary-toolbar > .toolbar-jump-btn:nth-child(4)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 5h2v14h-2z'/%3E%3Cpath d='M5.5 5.5 15 12l-9.5 6.5z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 5h2v14h-2z'/%3E%3Cpath d='M5.5 5.5 15 12l-9.5 6.5z'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .mobile-primary-toolbar > .toolbar-toggle-btn:nth-child(5)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M8 5h8'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M8 5h8'/%3E%3C/svg%3E") !important;
}

.sv-toolbar-icons-css .toolbar-primary-play-btn {
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto !important;
  border-radius: 999px !important;
}


.sv-toolbar-icons-css .mobile-secondary-toolbar .toolbar-icon-btn.toolbar-secondary-btn.toolbar-speed-selector::before {
  content: "1x" !important;
  display: grid !important;
  width: 28px !important;
  height: 25px !important;
  margin: 0 auto 3px !important;
  place-items: center !important;
  color: #3f4a44 !important;
  background: none !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transform: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.sv-study-toolbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99990;
  display: grid;
  grid-template-columns: 1fr 1fr 88px 1fr 1fr;
  align-items: center;
  min-height: 96px;
  padding: 10px max(18px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  border-top: 1px solid #e5e0d7;
  background: rgba(255, 254, 249, 0.98);
  box-shadow: 0 -10px 30px rgba(43, 33, 20, 0.08);
  color: #6e6b62;
}

.sv-study-tool,
.sv-study-play {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.sv-study-tool {
  display: grid;
  min-width: 0;
  min-height: 72px;
  place-items: center;
  gap: 4px;
  border-radius: 16px;
}

.sv-study-tool-bilingual {
  background: #e8f1ff;
  color: #b87927;
}

.sv-study-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.sv-study-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sv-study-icon-text,
.sv-study-speed-text {
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
}

.sv-study-speed-text {
  color: #4d4b47;
}

.sv-study-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.sv-study-play {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d08b2d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(208, 139, 45, 0.28);
}

.sv-study-play-icon {
  width: 30px;
  height: 30px;
  display: block;
  clip-path: polygon(25% 16%, 25% 84%, 82% 50%);
  background: currentColor;
}

.sv-study-toolbar.is-playing .sv-study-play-icon {
  clip-path: none;
  background:
    linear-gradient(90deg, currentColor 0 32%, transparent 32% 68%, currentColor 68% 100%);
}

.sv-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99999;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(24, 47, 34, 0.92);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.sv-mia-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: max-content !important;
  color: #1f2f27 !important;
  font-family: "SV Noto Sans SC", "SV Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

.sv-mia-brand-avatar {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  display: block !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.18) !important;
  transform-origin: center !important;
  clip-path: circle(42% at 50% 50%) !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(77, 160, 108, 0.18), 0 8px 20px rgba(45, 70, 55, 0.12) !important;
}

.sv-mia-brand-name {
  color: #1f2f27 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.sv-video-more {
  position: fixed;
  top: 8px;
  right: 18px;
  z-index: 99991;
  font-family: "SV Noto Sans SC", "SV Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sv-reference-video-ui .subtitle-header-controls [data-tooltip="导出"] {
  display: none !important;
}

.sv-video-more.sv-more-in-header {
  position: static;
  z-index: auto;
  display: inline-flex;
  margin-left: 2px;
}

.sv-video-more.sv-more-in-header .sv-more-trigger {
  width: 52px;
  min-width: 52px;
  height: 44px;
  padding: 4px 6px;
  box-shadow: none;
}

.sv-video-more.sv-more-in-header .sv-more-menu {
  top: 38px;
}

@media (max-width: 768px) {
  .sv-video-more,
  .sv-video-more.sv-more-in-header {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 2px) !important;
    right: 10px !important;
    left: auto !important;
    z-index: 100005 !important;
    display: inline-flex !important;
  }

  .sv-video-more .sv-more-trigger,
  .sv-video-more.sv-more-in-header .sv-more-trigger {
    width: 52px !important;
    min-width: 52px !important;
    height: 44px !important;
    padding: 4px 6px !important;
  }

  .sv-video-more .sv-more-menu,
  .sv-video-more.sv-more-in-header .sv-more-menu {
    top: 36px !important;
    right: 0 !important;
  }
}

.sv-more-trigger {
  width: 54px;
  min-width: 54px;
  height: 46px;
  display: grid;
  grid-template-rows: 24px 14px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 6px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #4f5a54;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
}

.sv-more-trigger:hover,
.sv-more-trigger:active,
.sv-video-more.open .sv-more-trigger {
  background: rgba(64, 178, 90, 0.08);
  color: #2f6942;
}

.sv-more-icon {
  width: 22px;
  height: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: currentColor;
}

.sv-more-icon svg {
  width: 22px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.sv-more-label {
  color: currentColor;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.sv-more-menu {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(300px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  display: none;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(214, 190, 158, 0.58);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(42, 34, 25, 0.16);
}

.sv-video-more.open .sv-more-menu {
  display: grid;
  gap: 6px;
}

.sv-more-menu button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #322820;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
}

.sv-more-menu button:hover,
.sv-more-menu button:active {
  background: #fbf5eb;
}

.sv-more-slider-row {
  min-height: 76px;
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  color: #322820;
}

.sv-more-slider-row:hover {
  background: #fbf5eb;
}

.sv-more-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
}

.sv-font-range {
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  accent-color: #41b94f;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sv-font-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(65, 185, 79, .85), rgba(65, 185, 79, .24));
}

.sv-font-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #41b94f;
  box-shadow: 0 4px 12px rgba(29, 112, 57, .24);
  -webkit-appearance: none;
}

.sv-font-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(65, 185, 79, .85), rgba(65, 185, 79, .24));
}

.sv-font-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #41b94f;
  box-shadow: 0 4px 12px rgba(29, 112, 57, .24);
}

.sv-more-sub,
.sv-more-state {
  flex: 0 0 auto;
  color: #a17032;
  font-size: 12px;
  font-weight: 700;
}

.sv-more-state:not(:empty) {
  min-width: 32px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3eadc;
  text-align: center;
}

.sv-phonetic-panel {
  position: fixed;
  right: 14px;
  bottom: 176px;
  z-index: 99990;
  width: min(340px, calc(100vw - 28px));
  max-height: 45vh;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 158, 0.58);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(42, 34, 25, 0.16);
  color: #332820;
  font-family: "SV Noto Sans SC", "SV Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sv-phonetic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #eee5d8;
}

.sv-phonetic-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #f7f0e7;
  color: #5d4d3e;
  cursor: pointer;
  font-size: 18px;
}

.sv-phonetic-body {
  max-height: calc(45vh - 54px);
  padding: 8px;
  overflow: auto;
}

.sv-phonetic-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: 12px;
}

.sv-phonetic-row:nth-child(odd) {
  background: #fbf7ef;
}

.sv-phonetic-row b {
  color: #29231d;
  font-size: 14px;
}

.sv-phonetic-row span {
  color: #a17032;
  font-size: 13px;
  font-weight: 750;
}

.sv-phonetic-row small {
  grid-column: 1 / -1;
  color: #766b60;
  font-size: 12px;
  line-height: 1.45;
}

.sv-account-confirm {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.sv-account-confirm.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sv-account-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 38, 31, .42);
  backdrop-filter: blur(5px);
}

.sv-account-confirm-card {
  position: relative;
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(74, 139, 94, .2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(25, 42, 31, .22);
  transform: translateY(10px) scale(.98);
  transition: transform 160ms ease;
}

.sv-account-confirm.is-open .sv-account-confirm-card {
  transform: translateY(0) scale(1);
}

.sv-account-confirm-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff5e4;
  color: #c47b22;
}

.sv-account-confirm-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sv-account-confirm-copy h2 {
  margin: 0 0 6px;
  color: #26362d;
  font-size: 18px;
}

.sv-account-confirm-copy p {
  margin: 0;
  color: #718177;
  font-size: 13px;
  line-height: 1.6;
}

.sv-account-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.sv-account-confirm-actions button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.sv-account-confirm-cancel {
  border: 1px solid #dce8df;
  background: #fff;
  color: #53655a;
}

.sv-account-confirm-submit {
  border: 1px solid #c96f62;
  background: #c96f62;
  color: #fff;
}

.account-settings-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(77, 160, 108, .12), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(75, 94, 232, .10), transparent 26%),
    linear-gradient(180deg, #f6faf7 0%, #edf3ee 100%);
}

.account-settings-shell {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.account-settings-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.account-settings-title {
  margin: 0;
  color: #18251f;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-align: center;
}

.account-settings-back,
.account-button,
.account-theme-option,
.account-card,
.account-avatar-panel,
.account-order-item,
.account-billing-summary,
.account-empty-state {
  border-radius: 10px;
}

.account-settings-back {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(77, 160, 108, .18);
  background: rgba(255, 255, 255, .82);
  color: #1d7045;
  box-shadow: 0 10px 22px rgba(24, 64, 41, .08);
}

.account-settings-back-placeholder {
  visibility: hidden;
}

.account-settings-stack {
  display: grid;
  gap: 18px;
}

.account-card {
  border: 1px solid rgba(77, 160, 108, .14);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 52px rgba(25, 42, 31, .08);
}

.account-card-head {
  margin-bottom: 18px;
}

.account-card-title {
  margin: 0;
  color: #18251f;
  font-size: 22px;
  font-weight: 900;
}

.account-profile-layout,
.account-password-grid {
  gap: 18px;
}

.account-avatar-panel {
  padding: 20px;
  border: 1px solid #e0e8e2;
  background: #fbfdfb;
}

.account-avatar-name {
  margin-top: 12px;
  color: #24372d;
}

.account-field label {
  color: #24372d;
}

.account-field input {
  border-color: #d9e6dc;
  background: #fcfdfc;
}

.account-field input:focus {
  border-color: #43a667;
  box-shadow: 0 0 0 4px rgba(67, 166, 103, .12);
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 900;
}

.account-button.primary {
  background: linear-gradient(135deg, #43a667 0%, #2e8b55 100%);
  box-shadow: 0 14px 28px rgba(67, 166, 103, .22);
}

.account-button.secondary {
  border-color: #d7e3db;
  background: #fff;
  color: #476153;
}

.account-button.logout {
  border-color: #d7e3db;
  background: #fff;
  color: #4d5f55;
}

.account-theme-card .account-theme-option {
  border: 1px solid #dfe9e2;
  background: #fff;
}

.account-theme-option.is-selected {
  box-shadow: 0 0 0 3px rgba(67, 166, 103, .12);
}

.account-billing-summary,
.account-empty-state,
.account-order-item {
  border: 1px solid #e2ebe5;
  background: #fbfdfb;
}

.account-banner.success {
  border-color: #d6eddc;
  background: #eef8f1;
  color: #1d7045;
}

.account-banner.error {
  border-color: #f0d6d0;
  background: #fff3f1;
  color: #b65f53;
}

.account-loading,
.account-muted {
  color: #5f6d66;
}

.sv-account-confirm {
  padding: 20px;
}

html[data-local-theme="dark"] body {
  background: #111713 !important;
  color: #e8f3ec !important;
}

html[data-local-theme="dark"] .sv-local-panel {
  background: rgba(20, 29, 23, 0.94);
  border-color: rgba(114, 194, 143, 0.22);
  color: #e8f3ec;
}

html[data-local-theme="dark"] .sv-local-title,
html[data-local-theme="dark"] .sv-local-btn,
html[data-local-theme="dark"] .sv-local-tab {
  color: #e8f3ec;
}

html[data-local-theme="dark"] .sv-local-btn,
html[data-local-theme="dark"] .sv-local-tab {
  background: #18231c;
  border-color: rgba(114, 194, 143, 0.22);
}

html[data-local-theme="dark"] .sv-filter-search,
html[data-local-theme="dark"] .sv-filter-control {
  background: #18231c;
  border-color: rgba(114, 194, 143, 0.22);
  color: #e8f3ec;
}

html[data-local-theme="dark"] .sv-filter-search input,
html[data-local-theme="dark"] .sv-filter-count {
  color: #e8f3ec;
}

html[data-local-theme="dark"] .sv-filter-menu {
  background: #18231c;
  border-color: rgba(114, 194, 143, 0.22);
}

html[data-local-theme="dark"] .sv-filter-option {
  color: #e8f3ec;
}

@media (max-width: 980px) {
  .sv-local-panel.sv-floating {
    position: static;
    width: auto;
    max-height: none;
    margin: 12px;
  }
}


/* Keep play/pause owned by the original player to avoid state flicker. */
.sv-toolbar-icons-css .toolbar-primary-play-btn::before {
  content: none !important;
  display: none !important;
}

.sv-toolbar-icons-css .toolbar-primary-play-btn > svg {
  display: block !important;
}

html.sv-mobile-toolbar-icons .toolbar-primary-play-btn {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

html.sv-mobile-toolbar-icons .toolbar-primary-play-btn.is-playing {
  background: #2da84c !important;
  box-shadow: 0 10px 22px rgba(45, 168, 76, 0.30) !important;
  transform: translateY(-1px);
}

html.sv-mobile-toolbar-icons .toolbar-primary-play-btn.is-playing > svg,
html.sv-mobile-toolbar-icons .toolbar-primary-play-btn.is-playing > .sv-toolbar-svg {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  html.sv-reference-video-ui,
  html.sv-reference-video-ui body {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .sv-reference-video-ui .app.video-learning-page,
  .sv-reference-video-ui .video-learning-page.app {
    --sv-mobile-gutter: 16px;
    padding: 0 !important;
    gap: 0 !important;
    background: #ffffff !important;
  }

  .sv-reference-video-ui .video-learning-page .mobile-top-tab {
    min-height: 40px !important;
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center !important;
    column-gap: 6px !important;
    padding: calc(env(safe-area-inset-top, 0px) + 5px) calc(var(--sv-mobile-gutter) + 64px) 6px var(--sv-mobile-gutter) !important;
    border-bottom: 1px solid #edf0f2 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05) !important;
  }

  .sv-reference-video-ui .video-learning-page .mobile-top-back {
    width: 30px !important;
    height: 30px !important;
    color: #6b7280 !important;
  }

  .sv-reference-video-ui .video-learning-page .mobile-top-title {
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: #1f2937 !important;
    font-family: var(--sv-font-cn) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  .sv-video-more,
  .sv-video-more.sv-more-in-header {
    top: calc(env(safe-area-inset-top, 0px) + 2px) !important;
    right: var(--sv-mobile-gutter, 16px) !important;
  }

  .sv-video-more .sv-more-trigger,
  .sv-video-more.sv-more-in-header .sv-more-trigger {
    width: 46px !important;
    min-width: 46px !important;
    height: 38px !important;
    grid-template-rows: 20px 12px !important;
    gap: 1px !important;
    padding: 2px 4px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #4f5a54 !important;
  }

  .sv-reference-video-ui .video-section,
  .sv-reference-video-ui .subtitle-section,
  .sv-reference-video-ui .subtitle-display,
  .sv-reference-video-ui .subtitle-list {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .sv-reference-video-ui .video-section {
    padding: 0 !important;
  }

  .sv-reference-video-ui .video-player {
    width: calc(100% - 24px) !important;
    margin: 8px 12px 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .sv-reference-video-ui .video-wrapper,
  .sv-reference-video-ui .video-wrapper .video-container,
  .sv-reference-video-ui .video-wrapper video,
  .sv-reference-video-ui .video-container video {
    border-radius: 12px !important;
  }

  .sv-reference-video-ui .subtitle-section {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .sv-reference-video-ui .subtitle-display {
    max-height: none !important;
    border: 0 !important;
  }

  .sv-reference-video-ui .subtitle-items-container {
    padding: 8px var(--sv-mobile-gutter) calc(var(--learning-mobile-toolbar-height, 160px) + 28px) !important;
    scroll-behavior: auto !important;
    overscroll-behavior: contain;
  }

  .sv-reference-video-ui .subtitle-item {
    width: 100% !important;
    min-height: auto !important;
    margin: 0 0 12px !important;
    padding: 30px 22px 18px 18px !important;
    border: 1px solid rgba(232, 234, 236, .95) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    transform: none !important;
    animation: none !important;
    background: #ffffff !important;
    box-shadow: 0 1px 8px rgba(15, 23, 42, .04) !important;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease !important;
  }

  .sv-reference-video-ui .subtitle-item.active,
  .sv-reference-video-ui .subtitle-item.current,
  .sv-reference-video-ui .subtitle-item.playing,
  .sv-reference-video-ui .subtitle-item.sv-follow-current {
    margin: 0 0 14px !important;
    border: 1px solid rgba(215, 180, 101, .84) !important;
    border-radius: 12px !important;
    background: #fff7e2 !important;
    box-shadow: 0 8px 22px rgba(117, 82, 27, .08), inset 0 0 0 1px rgba(255, 255, 255, .45) !important;
    transform: none !important;
  }

  .sv-reference-video-ui .subtitle-item.highlight-jump {
    animation: none !important;
    transform: none !important;
  }

  .sv-reference-video-ui .subtitle-time {
    top: 14px !important;
    left: 18px !important;
    font-size: 12px !important;
  }

  .sv-reference-video-ui .mobile-bottom-toolbar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100004 !important;
    padding: 9px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(220, 226, 219, .96) !important;
    background: #ffffff !important;
    box-shadow: 0 -10px 28px rgba(32, 47, 39, .10) !important;
  }

  .sv-reference-video-ui .mobile-bottom-toolbar::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -18px !important;
    height: 20px !important;
    background: #ffffff !important;
    pointer-events: none !important;
  }

  .sv-reference-video-ui .subtitle-text,
  .sv-reference-video-ui .subtitle-text-selectable {
    margin: 0 0 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
  }

  .sv-reference-video-ui .subtitle-translation {
    font-size: 14px !important;
    font-weight: 450 !important;
    line-height: 1.58 !important;
  }

  .sv-reference-video-ui .subtitle-favorite-btn {
    top: 16px !important;
    right: 12px !important;
    width: 22px !important;
    height: 22px !important;
  }

  .sv-reference-video-ui .subtitle-favorite-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .sv-video-more.open .sv-more-trigger,
  .sv-video-more .sv-more-trigger:hover,
  .sv-video-more .sv-more-trigger:active {
    background: rgba(64, 178, 90, 0.08) !important;
    color: #2f6942 !important;
  }
}

html.sv-reference-video-ui .subtitle-text,
html.sv-reference-video-ui .subtitle-text-selectable {
  font-size: calc(18px * var(--sv-subtitle-scale, 1)) !important;
}

html.sv-reference-video-ui .subtitle-translation {
  font-size: calc(16px * var(--sv-subtitle-scale, 1)) !important;
}

@media (min-width: 769px) {
  html.sv-reference-video-ui .subtitle-text,
  html.sv-reference-video-ui .subtitle-text-selectable {
    font-size: calc(18px * var(--sv-subtitle-scale, 1)) !important;
  }

  html.sv-reference-video-ui .subtitle-translation {
    font-size: calc(17px * var(--sv-subtitle-scale, 1)) !important;
  }
}

/* Desktop reference workspace */
@media (min-width: 1100px) {
  html.sv-desktop-reference-layout,
  html.sv-desktop-reference-layout body {
    background: #f5efe7 !important;
    color: #2d2a26 !important;
    overflow: hidden !important;
  }

  html.sv-desktop-reference-layout .app.video-learning-page {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 1600px !important;
    height: 100vh !important;
    margin: 0 auto !important;
    padding: 76px 18px 104px 102px !important;
    overflow: hidden !important;
    background: #f5efe7 !important;
  }

  html.sv-desktop-reference-layout .mobile-top-tab.sv-desktop-topbar {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 100010 !important;
    display: flex !important;
    min-height: 60px !important;
    height: 60px !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 28px 0 104px !important;
    border-bottom: 1px solid #e5dace !important;
    background: #fffaf4 !important;
    box-shadow: 0 8px 24px rgba(93, 69, 49, .08) !important;
  }

  html.sv-desktop-reference-layout .mobile-top-back {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    color: #766d64 !important;
    border-radius: 10px !important;
  }

  html.sv-desktop-reference-layout .mobile-top-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #332c26 !important;
    font-family: var(--sv-font-cn) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-top-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-top-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #eadfd4 !important;
    border-radius: 999px !important;
    background: #fffdf9 !important;
    color: #61584f !important;
    cursor: pointer !important;
    font: 600 13px/1 var(--sv-font-ui) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-top-action:hover,
  html.sv-desktop-reference-layout .sv-desktop-top-action.is-active {
    border-color: #e2ae63 !important;
    background: #fff6e9 !important;
    color: #b56e25 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-top-icon,
  html.sv-desktop-reference-layout .sv-desktop-top-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  html.sv-desktop-reference-layout .video-section {
    grid-column: 1 !important;
    min-width: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-header,
  html.sv-desktop-reference-layout .video-section > .content-study-section {
    display: none !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-description {
    display: block !important;
    margin: 14px 0 0 !important;
    padding: 0 4px !important;
    color: #75685d !important;
    font: 500 13px/1.7 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .video-player {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #e3d6ca !important;
    border-radius: 18px !important;
    background: #160f0b !important;
    box-shadow: 0 18px 38px rgba(71, 45, 27, .14) !important;
  }

  html.sv-desktop-reference-layout .video-wrapper,
  html.sv-desktop-reference-layout .video-wrapper .video-container,
  html.sv-desktop-reference-layout .video-wrapper video,
  html.sv-desktop-reference-layout .video-container video {
    border-radius: 17px !important;
  }

  html.sv-desktop-reference-layout .subtitle-section {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e3d6ca !important;
    border-radius: 18px !important;
    background: #fffaf4 !important;
    box-shadow: 0 16px 34px rgba(71, 45, 27, .08) !important;
  }

  html.sv-desktop-reference-layout .subtitle-display {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 18px !important;
    background: #fffaf4 !important;
  }

  html.sv-desktop-reference-layout .subtitle-list-header.sv-desktop-subtitle-header {
    display: flex !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    min-height: 58px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #eadfd5 !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fffaf4 !important;
    box-shadow: none !important;
  }

  html.sv-desktop-reference-layout .subtitle-list-title {
    color: #40352d !important;
    font-family: var(--sv-font-cn) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin-left: auto !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button {
    min-height: 30px !important;
    padding: 0 7px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #6b5f55 !important;
    cursor: pointer !important;
    font: 600 12px/1 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button:hover {
    background: #f7eadc !important;
    color: #b56e25 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button.is-active,
  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button[aria-pressed="true"] {
    background: #f4dfc5 !important;
    color: #a9611d !important;
    box-shadow: inset 0 0 0 1px #e7bd87 !important;
  }

  html.sv-desktop-reference-layout .subtitle-items-container {
    padding: 8px 10px 22px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d5c4b5 transparent !important;
  }

  html.sv-desktop-reference-layout .subtitle-item {
    min-height: 106px !important;
    margin: 0 0 8px !important;
    padding: 18px 18px 13px !important;
    border: 1px solid #eee3d8 !important;
    border-radius: 13px !important;
    background: #fffdf9 !important;
    box-shadow: 0 2px 8px rgba(83, 59, 39, .035) !important;
  }

  html.sv-desktop-reference-layout .subtitle-item:hover {
    border-color: #e7c89f !important;
    background: #fff9f0 !important;
    transform: none !important;
  }

  html.sv-desktop-reference-layout .subtitle-item.sv-follow-current,
  html.sv-desktop-reference-layout .subtitle-item.active,
  html.sv-desktop-reference-layout .subtitle-item.current,
  html.sv-desktop-reference-layout .subtitle-item.playing {
    border-color: #efc27d !important;
    background: #fff3df !important;
    box-shadow: inset 0 0 0 1px rgba(228, 163, 82, .14), 0 7px 18px rgba(166, 105, 40, .08) !important;
  }

  html.sv-desktop-reference-layout .subtitle-time {
    position: static !important;
    display: block !important;
    margin-top: 8px !important;
    color: #a58261 !important;
    font: 700 11px/1 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .subtitle-text,
  html.sv-desktop-reference-layout .subtitle-text-selectable {
    display: block !important;
    margin: 0 0 7px !important;
    color: #382d26 !important;
    font-family: var(--sv-font-latin) !important;
    font-size: calc(16px * var(--sv-subtitle-scale, 1)) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
  }

  html.sv-desktop-reference-layout .subtitle-translation {
    color: #76695e !important;
    font-family: var(--sv-font-cn) !important;
    font-size: calc(14px * var(--sv-subtitle-scale, 1)) !important;
    line-height: 1.55 !important;
  }

  html.sv-desktop-reference-layout .subtitle-favorite-btn {
    top: auto !important;
    right: 15px !important;
    bottom: 12px !important;
    width: 26px !important;
    height: 26px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-reference-shell {
    display: contents !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail {
    position: fixed !important;
    top: 60px !important;
    bottom: 92px !important;
    left: 0 !important;
    z-index: 100020 !important;
    display: flex !important;
    width: 84px !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d5c4b5 transparent !important;
    gap: 8px !important;
    padding: 14px 8px !important;
    border-right: 1px solid #e5dace !important;
    background: #fffaf4 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail button {
    display: grid !important;
    width: 68px !important;
    min-height: 78px !important;
    place-items: center !important;
    gap: 5px !important;
    padding: 8px 4px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #74665a !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    font: 600 12px/1.15 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail button:hover {
    background: #f8ebdd !important;
    color: #b56e25 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail button.is-active {
    background: #fff0dc !important;
    color: #b56e25 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail-icon,
  html.sv-desktop-reference-layout .sv-desktop-rail-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    min-height: 112px !important;
    margin: 14px 0 0 !important;
    padding: 16px 20px !important;
    border: 1px solid #eadbcf !important;
    border-radius: 16px !important;
    background: #fffaf4 !important;
    box-shadow: 0 10px 24px rgba(81, 53, 31, .08) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-time {
    margin-bottom: 8px !important;
    color: #b07b43 !important;
    font: 700 11px/1 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-english {
    color: #352a24 !important;
    font: 700 19px/1.45 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-phonetic {
    margin-top: 5px !important;
    color: #ae865e !important;
    font: 500 12px/1.3 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-translation {
    margin-top: 7px !important;
    color: #75685d !important;
    font: 500 15px/1.5 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-badge {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    color: #b17534 !important;
    font: 600 12px/1 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100030 !important;
    min-height: 92px !important;
    padding: 10px 24px 12px 104px !important;
    border-top: 1px solid #e2d7cc !important;
    background: #fffaf4 !important;
    box-shadow: 0 -10px 28px rgba(72, 48, 30, .08) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 2px !important;
    width: 100% !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button {
    display: grid !important;
    width: 68px !important;
    min-width: 54px !important;
    height: 68px !important;
    place-items: center !important;
    gap: 4px !important;
    padding: 8px 3px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #71665c !important;
    cursor: pointer !important;
    font: inherit !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button:hover {
    background: #f8ebdd !important;
    color: #b56e25 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button.is-active,
  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button[aria-pressed="true"] {
    background: #f4dfc5 !important;
    color: #a9611d !important;
    box-shadow: inset 0 0 0 1px #e7bd87, 0 4px 12px rgba(166, 105, 40, .08) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button:focus-visible,
  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button:focus-visible {
    outline: 3px solid rgba(80, 145, 103, .35) !important;
    outline-offset: 2px !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button span,
  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button svg {
    display: grid !important;
    width: 24px !important;
    height: 24px !important;
    place-items: center !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button em {
    color: currentColor !important;
    font: 600 11px/1 var(--sv-font-cn) !important;
    font-style: normal !important;
    white-space: nowrap !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group .sv-desktop-toolbar-play {
    width: 76px !important;
    height: 76px !important;
    margin: -4px 4px 0 !important;
    border-radius: 999px !important;
    background: #d58a39 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(198, 116, 36, .26) !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group .sv-desktop-toolbar-play:hover {
    background: #c37628 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group .sv-desktop-toolbar-play.is-playing,
  html.sv-desktop-reference-layout .sv-desktop-toolbar-group .sv-desktop-toolbar-play[aria-pressed="true"] {
    background: #3f9968 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(50, 132, 86, .26) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group .sv-desktop-toolbar-play.is-playing:hover {
    background: #338657 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button.is-busy,
  html.sv-desktop-reference-layout .sv-desktop-toolbar-group button:disabled {
    opacity: .62 !important;
    cursor: wait !important;
    transform: none !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-meta {
    position: absolute !important;
    top: 18px !important;
    left: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #675c53 !important;
    font: 700 14px/1 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-font-panel {
    position: fixed !important;
    right: 28px !important;
    bottom: 98px !important;
    z-index: 100040 !important;
    display: none !important;
    width: 240px !important;
    padding: 14px 16px !important;
    border: 1px solid #eadbcf !important;
    border-radius: 14px !important;
    background: #fffaf4 !important;
    box-shadow: 0 16px 34px rgba(72, 48, 30, .14) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-font-panel.open {
    display: block !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-font-panel-head {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    color: #5c5148 !important;
    font: 700 13px/1 var(--sv-font-cn) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-font-panel .sv-font-range {
    width: 100% !important;
    accent-color: #d58a39 !important;
  }
}

.sv-learning-mode-panel {
  position: relative;
  z-index: 6;
  display: block;
  margin: 10px 0 12px;
  padding: 15px 16px 16px;
  border: 1px solid #dfe8e1;
  border-radius: 14px;
  background: #ffffff;
  color: #26352c;
  box-shadow: 0 8px 22px rgba(54, 75, 62, .08);
  font-family: var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif);
}

.sv-learning-mode-panel[hidden] {
  display: none !important;
}

.sv-learning-mode-head,
.sv-learning-mode-prompt,
.sv-dictation-input-row,
.sv-learning-mode-actions {
  display: flex;
  align-items: center;
}

.sv-learning-mode-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sv-learning-mode-kicker {
  display: block;
  margin-bottom: 4px;
  color: #4b8a63;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sv-learning-mode-head strong {
  color: #33433a;
  font: 700 13px/1.2 var(--sv-font-latin, Inter, Arial, sans-serif);
}

.sv-learning-mode-close {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f1;
  color: #526157;
  cursor: pointer;
  font: 500 20px/1 Arial, sans-serif;
}

.sv-learning-mode-close:hover {
  background: #e5eee7;
}

.sv-learning-mode-prompt {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #35443b;
  font-size: 15px;
  font-weight: 750;
}

.sv-learning-mode-prompt small {
  flex: 0 0 auto;
  color: #86938a;
  font: 600 12px/1.2 var(--sv-font-latin, Inter, Arial, sans-serif);
}

.sv-learning-mode-translation {
  min-height: 22px;
  margin-bottom: 12px;
  color: #718077;
  font-size: 13px;
  line-height: 1.55;
}

.sv-dictation-input-row {
  gap: 8px;
}

.sv-dictation-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cfdcd2;
  border-radius: 10px;
  outline: none;
  background: #fbfdfb;
  color: #26352c;
  font: 600 14px/1.2 var(--sv-font-latin, Inter, Arial, sans-serif);
}

.sv-dictation-input:focus {
  border-color: #6ca57e;
  box-shadow: 0 0 0 3px rgba(108, 165, 126, .14);
}

.sv-mode-primary,
.sv-mode-secondary {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  cursor: pointer;
  font: 700 13px/1 var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.sv-mode-primary {
  border: 1px solid #4b9864;
  background: #4b9864;
  color: #ffffff;
}

.sv-mode-primary:hover {
  background: #3e8355;
}

.sv-mode-secondary {
  border: 1px solid #d3dfd5;
  background: #f7faf7;
  color: #4c5f52;
}

.sv-mode-secondary:hover {
  border-color: #9fbea7;
  background: #edf5ef;
}

.sv-learning-mode-actions {
  gap: 8px;
  margin-top: 10px;
}

.sv-learning-mode-feedback {
  min-height: 20px;
  margin-top: 10px;
  color: #87938a;
  font-size: 12px;
  line-height: 1.5;
}

.sv-learning-mode-feedback.is-correct {
  color: #36834e;
}

.sv-learning-mode-feedback.is-wrong {
  color: #c05b4d;
}

.sv-follow-mode-status {
  min-height: 21px;
  margin-bottom: 8px;
  color: #4c7258;
  font-size: 13px;
  font-weight: 700;
}

html.sv-dictation-mode .subtitle-item.sv-dictation-current,
html.sv-follow-mode .subtitle-item.sv-follow-practice-current {
  border-color: #6ca57e !important;
  background: #f2f8f3 !important;
  box-shadow: inset 3px 0 0 #6ca57e, 0 6px 16px rgba(69, 104, 79, .08) !important;
}

html.sv-dictation-mode .subtitle-item.sv-dictation-current .subtitle-text,
html.sv-dictation-mode .subtitle-item.sv-dictation-current .subtitle-text-selectable {
  color: transparent !important;
  user-select: none !important;
  text-shadow: none !important;
}

html.sv-dictation-mode .sv-current-subtitle-card .sv-dictation-answer-hidden {
  color: #87938a !important;
  font-style: italic;
}

html.sv-dictation-mode .sv-desktop-subtitle-actions [data-action="dictation"],
html.sv-follow-mode .sv-desktop-subtitle-actions [data-action="follow"],
html.sv-follow-mode .sv-desktop-toolbar [data-action="follow"] {
  border-color: #6ca57e !important;
  background: #edf7ef !important;
  color: #3f8055 !important;
}

@media (max-width: 700px) {
  .sv-learning-mode-panel {
    margin: 8px 10px 10px;
    padding: 13px;
    border-radius: 12px;
  }

  .sv-dictation-input-row {
    flex-wrap: wrap;
  }

  .sv-dictation-input {
    flex-basis: 100%;
  }

  .sv-dictation-input-row .sv-mode-secondary {
    flex: 1 1 0;
  }

  .sv-learning-mode-actions > button {
    flex: 1 1 0;
  }
}

.sv-episode-badge,
.sv-video-episode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #e5bd88;
  border-radius: 999px;
  background: #fff6e8;
  color: #a8611e;
  font: 800 11px/1 var(--sv-font-latin, Inter, Arial, sans-serif);
  letter-spacing: .04em;
}

.sv-episode-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

a[href*="/videos/"] {
  position: relative;
}

.sv-video-episode-badge {
  margin: 0 0 10px 2px;
}

.sv-page-recovery {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100100;
  transform: translateX(-50%);
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d58a39;
  border-radius: 999px;
  background: #fffaf4;
  color: #a8611e;
  box-shadow: 0 10px 28px rgba(71, 45, 27, .18);
  cursor: pointer;
  font: 700 14px/1 var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif);
}

.sv-page-recovery:hover {
  background: #fff1dc;
}

html.sv-desktop-reference-layout .sv-desktop-toolbar,
html.sv-desktop-reference-layout .sv-desktop-toolbar *,
html.sv-desktop-reference-layout .sv-desktop-rail,
html.sv-desktop-reference-layout .sv-desktop-rail *,
html.sv-desktop-reference-layout .sv-desktop-top-actions,
html.sv-desktop-reference-layout .sv-desktop-top-actions *,
html.sv-desktop-reference-layout .sv-desktop-subtitle-actions,
html.sv-desktop-reference-layout .sv-desktop-subtitle-actions * {
  pointer-events: auto !important;
}

html:not(.sv-desktop-reference-layout) .sv-desktop-reference-shell,
html:not(.sv-desktop-reference-layout) .sv-desktop-toolbar,
html:not(.sv-desktop-reference-layout) .sv-desktop-rail,
html:not(.sv-desktop-reference-layout) .sv-current-subtitle-card,
html:not(.sv-desktop-reference-layout) .sv-desktop-top-actions,
html:not(.sv-desktop-reference-layout) .sv-desktop-subtitle-actions {
  display: none !important;
}

html:not(.sv-reference-video-ui),
html:not(.sv-reference-video-ui) body {
  overflow-y: auto !important;
}

@media (min-width: 1100px) {
  html.sv-library-left-filter,
  html.sv-library-left-filter body {
    overflow: hidden !important;
  }

  html.sv-library-left-filter .home-page.sv-library-scroll-layout {
    display: flex !important;
    height: 100dvh !important;
    min-height: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  html.sv-library-left-filter .home-page.sv-library-scroll-layout > .home-header {
    flex: 0 0 auto !important;
  }

  html.sv-library-left-filter .home-page > main.sv-library-main-scroll {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - var(--home-header-height, 88px)) !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 2rem 1.5rem 1.25rem !important;
    overflow: hidden !important;
  }

  html.sv-library-left-filter .home-page > main > .sidebar.sv-library-fixed-sidebar {
    position: relative !important;
    top: auto !important;
    width: 320px !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    align-self: stretch !important;
    overflow: hidden !important;
    z-index: 2 !important;
  }

  html.sv-library-left-filter .home-page > main > .content-area.sv-library-video-scroll {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: #b8c9bc transparent !important;
    padding: 0 8px 1.5rem 0 !important;
  }

  html.sv-library-left-filter .home-page > main > .content-area > .home-desktop-filter-stage {
    display: none !important;
  }

  html.sv-library-left-filter .home-page > main > .content-area .home-video-list-container {
    min-height: 100% !important;
  }

  html.sv-library-left-filter .home-page > main > .content-area .home-video-list-container > div {
    padding-bottom: 24px !important;
  }
}

@media (min-width: 1100px) {
  html.sv-desktop-reference-layout .sv-desktop-reference-shell {
    display: block !important;
    position: static !important;
    z-index: 100000 !important;
    pointer-events: none !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar,
  html.sv-desktop-reference-layout .sv-desktop-rail,
  html.sv-desktop-reference-layout .sv-desktop-top-actions,
  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions,
  html.sv-desktop-reference-layout .sv-desktop-toolbar button,
  html.sv-desktop-reference-layout .sv-desktop-rail button,
  html.sv-desktop-reference-layout .sv-desktop-top-actions button,
  html.sv-desktop-reference-layout .sv-desktop-subtitle-actions button {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar {
    z-index: 100200 !important;
    isolation: isolate !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-rail {
    z-index: 100210 !important;
    isolation: isolate !important;
  }

  html.sv-desktop-reference-layout .video-section {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-player {
    order: 1 !important;
  }

  html.sv-desktop-reference-layout .video-section > .sv-current-subtitle-card {
    order: 2 !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-description {
    order: 3 !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-card {
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 14px 18px 15px 20px !important;
    border: 1px solid #e7ded5 !important;
    border-left: 3px solid #6ca57e !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(67, 54, 42, .06) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-time {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 20px !important;
    margin: 0 0 7px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #eef7f0 !important;
    color: #4e8660 !important;
    font: 700 11px/1 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-english {
    color: #26352c !important;
    font: 650 18px/1.42 var(--sv-font-latin, Inter, Arial, sans-serif) !important;
    letter-spacing: 0 !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-phonetic {
    margin-top: 5px !important;
    color: #789282 !important;
    font: 500 12px/1.35 var(--sv-font-latin, Inter, Arial, sans-serif) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-translation {
    margin-top: 6px !important;
    color: #68756d !important;
    font: 500 14px/1.55 var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif) !important;
  }

  html.sv-desktop-reference-layout .sv-current-subtitle-empty {
    color: #8a968d !important;
    font: 500 14px/1.5 var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif) !important;
  }

  html.sv-desktop-reference-layout .subtitle-list-header .sv-desktop-subtitle-actions,
  html.sv-desktop-reference-layout .sv-episode-badge,
  html.sv-desktop-reference-layout .sv-video-episode-badge {
    display: none !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-player {
    order: 1 !important;
  }

  html.sv-desktop-reference-layout .video-section > .video-description {
    order: 2 !important;
  }

  html.sv-desktop-reference-layout .video-section > .sv-current-subtitle-card {
    order: 3 !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar-meta {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: min(760px, 72vw) !important;
    margin: 2px auto 0 !important;
    color: #675c53 !important;
    font: 700 13px/1 var(--sv-font-latin) !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-progress {
    flex: 1 1 auto !important;
    min-width: 180px !important;
    height: 6px !important;
    accent-color: #d58a39 !important;
    cursor: pointer !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-progress:disabled {
    cursor: not-allowed !important;
    opacity: .5 !important;
  }

  html.sv-desktop-reference-layout .sv-learning-mode-panel {
    margin: 10px 0 12px !important;
    border-left: 3px solid #6ca57e !important;
  }
}

html.sv-reference-video-ui .sv-video-episode-badge,
html.sv-reference-video-ui .sv-episode-badge {
  display: none !important;
}

/* Final responsive cleanup for the current three-device toolbar. */
html.sv-reference-video-ui .sv-desktop-rail {
  display: none !important;
  width: 0 !important;
  pointer-events: none !important;
}

html.sv-mobile-toolbar-icons .mobile-secondary-toolbar .toolbar-icon-btn > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-primary-toolbar .toolbar-icon-btn > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-bottom-toolbar .toolbar-icon-btn > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-secondary-toolbar button > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-primary-toolbar button > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-bottom-toolbar button > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-primary-toolbar .toolbar-primary-play-btn > .sv-toolbar-svg,
html.sv-mobile-toolbar-icons .mobile-secondary-toolbar .toolbar-speed-selector > .sv-toolbar-text-icon,
html.sv-mobile-toolbar-icons .mobile-bottom-toolbar .toolbar-speed-selector > .sv-toolbar-text-icon {
  display: grid !important;
  width: 23px !important;
  height: 23px !important;
  margin: 0 auto 3px !important;
  place-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.sv-mobile-toolbar-icons .mobile-secondary-toolbar .toolbar-icon-btn::before,
html.sv-mobile-toolbar-icons .mobile-primary-toolbar .toolbar-icon-btn::before,
html.sv-mobile-toolbar-icons .mobile-bottom-toolbar .toolbar-icon-btn::before {
  content: none !important;
  display: none !important;
}

html.sv-mobile-toolbar-icons .mobile-secondary-toolbar,
html.sv-mobile-toolbar-icons .mobile-primary-toolbar {
  align-items: center !important;
}

html.sv-mobile-toolbar-icons .toolbar-icon-btn .toolbar-label {
  display: block !important;
  min-height: 16px !important;
  margin-top: 2px !important;
  color: currentColor !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

@media (min-width: 1100px) {
  html.sv-desktop-reference-layout .sv-desktop-rail {
    display: none !important;
  }

  html.sv-desktop-reference-layout .app.video-learning-page {
    padding-left: 18px !important;
  }

  html.sv-desktop-reference-layout .mobile-top-tab.sv-desktop-topbar {
    padding-left: 28px !important;
  }

  html.sv-desktop-reference-layout .sv-desktop-toolbar {
    padding-left: 24px !important;
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  html.sv-reference-video-ui,
  html.sv-reference-video-ui body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #ffffff !important;
  }

  html.sv-reference-video-ui .sv-desktop-reference-shell,
  html.sv-reference-video-ui .sv-desktop-rail,
  html.sv-reference-video-ui .sv-desktop-toolbar,
  html.sv-reference-video-ui .sv-desktop-top-actions {
    display: none !important;
  }

  html.sv-reference-video-ui .app.video-learning-page {
    display: block !important;
    width: 100% !important;
    min-height: 100dvh !important;
    padding: 0 0 190px !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  html.sv-reference-video-ui .video-section,
  html.sv-reference-video-ui .subtitle-section {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html.sv-reference-video-ui .video-player {
    width: calc(100% - 32px) !important;
    margin: 12px 16px 0 !important;
  }

  html.sv-reference-video-ui .subtitle-items-container {
    max-height: none !important;
    padding: 12px 20px 210px !important;
    overflow-y: visible !important;
  }

  html.sv-reference-video-ui .mobile-bottom-toolbar {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100004 !important;
    padding: 12px 24px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e5ebe6 !important;
    background: #ffffff !important;
    box-shadow: 0 -14px 30px rgba(32, 47, 39, .12) !important;
  }
}

html:not(.sv-reference-video-ui) .home-page button.more,
html:not(.sv-reference-video-ui) .home-page .more,
html:not(.sv-reference-video-ui) .home-page button[aria-label*="??"] {
  display: none !important;
}

body.sv-loading-active {
  overflow: hidden !important;
}


/* Dictation modal: keep the listening/writing sheet centered and dominant on every device. */
html.sv-dictation-mode body {
  overflow: hidden !important;
}

html.sv-dictation-mode body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100008;
  background: rgba(28, 32, 30, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

html.sv-dictation-mode .sv-learning-mode-panel {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 100010 !important;
  width: min(560px, calc(100vw - 24px)) !important;
  max-height: min(86dvh, 760px) !important;
  margin: 0 !important;
  padding: 16px 16px 14px !important;
  overflow: auto !important;
  transform: translate(-50%, -50%) !important;
  border: 1px solid rgba(108, 165, 126, .26) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fffdfa 0%, #f7fbf7 100%) !important;
  box-shadow: 0 22px 60px rgba(34, 40, 36, .22), 0 0 0 100vmax rgba(34, 40, 36, .08) !important;
  -webkit-overflow-scrolling: touch !important;
}

html.sv-dictation-mode .sv-dictation-sheet-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

html.sv-dictation-mode .sv-dictation-title {
  margin: 4px 0 0 !important;
  color: #223128 !important;
  font: 800 22px/1.28 var(--sv-font-cn, "Noto Sans SC", Arial, sans-serif) !important;
  letter-spacing: 0 !important;
}

html.sv-dictation-mode .sv-dictation-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 12px 0 12px !important;
}

html.sv-dictation-mode .sv-dictation-index,
html.sv-dictation-mode .sv-dictation-time {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html.sv-dictation-mode .sv-dictation-index {
  color: #a84960 !important;
  background: #f8d8df !important;
}

html.sv-dictation-mode .sv-dictation-time {
  color: #776f62 !important;
  background: #f5f0e2 !important;
}

html.sv-dictation-mode .sv-dictation-instruction {
  margin: 0 0 12px !important;
  color: #6f776f !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html.sv-dictation-mode .sv-dictation-input {
  display: block !important;
  width: 100% !important;
  min-height: 138px !important;
  height: 138px !important;
  box-sizing: border-box !important;
  padding: 14px 14px 12px !important;
  resize: vertical !important;
  border: 1.5px solid #d9e4da !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #253329 !important;
  font: 600 17px/1.55 var(--sv-font-latin, Arial, sans-serif) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
}

html.sv-dictation-mode .sv-dictation-input::placeholder {
  color: #8c8b8b !important;
}

html.sv-dictation-mode .sv-dictation-answer {
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  color: #3f8055 !important;
  background: #edf7ef !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

html.sv-dictation-mode .sv-dictation-actions {
  display: grid !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

html.sv-dictation-mode .sv-dictation-actions-top {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html.sv-dictation-mode .sv-dictation-actions-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 8px !important;
}

html.sv-dictation-mode .sv-dictation-actions button {
  min-height: 42px !important;
  padding: 0 8px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html.sv-dictation-mode .subtitle-items-container,
html.sv-dictation-mode .subtitle-list,
html.sv-dictation-mode .subtitle-item,
html.sv-dictation-mode .sv-current-subtitle-card {
  display: none !important;
}

/* Final online cleanup: old account/paywall surfaces must never cover the learning page. */
.account-required-backdrop,
.account-required-dialog,
.membership-modal-backdrop,
.membership-modal,
.pricing-modal-page,
.pro-membership-modal,
[data-membership-modal],
[data-paywall-modal] { display: none !important; visibility: hidden !important; pointer-events: none !important; }
.sv-learning-mode-panel { pointer-events: auto !important; z-index: 1600 !important; }
.sv-learning-mode-panel button,
.sv-learning-mode-panel input { pointer-events: auto !important; }

/* Mobile action sheets must sit above the fixed playback toolbar and remain fully reachable. */
@media (max-width: 768px), (pointer: coarse) {
  .sv-reference-video-ui .action-sheet-overlay {
    z-index: 100005 !important;
  }
  .sv-reference-video-ui .action-sheet {
    z-index: 100006 !important;
    max-height: 100dvh !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
  .sv-reference-video-ui .action-sheet-panel {
    max-height: calc(100dvh - 8px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .sv-reference-video-ui .action-sheet .sheet-card {
    max-height: calc(100dvh - 8px) !important;
    overflow: hidden !important;
  }
  .sv-reference-video-ui .action-sheet .sheet-list {
    max-height: calc(100dvh - 58px) !important;
    overflow-y: auto !important;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Mobile dictation practice: a complete single-sentence listening/writing sheet. */
@media (max-width: 768px), (pointer: coarse) {
  .sv-reference-video-ui .sv-learning-mode-panel {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 100010 !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    padding: 16px 16px 14px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(108, 165, 126, .24) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #fffdfa 0%, #f7fbf7 100%) !important;
    box-shadow: 0 18px 44px rgba(34, 40, 36, .18), 0 0 0 100vmax rgba(34, 40, 36, .30) !important;
    -webkit-overflow-scrolling: touch !important;
    backdrop-filter: blur(10px);
  }
  .sv-reference-video-ui .sv-dictation-sheet-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .sv-reference-video-ui .sv-learning-mode-kicker {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #e6f4ea !important;
    color: #3f8055 !important;
  }
  .sv-reference-video-ui .sv-dictation-title {
    margin: 4px 0 0 !important;
    color: #233027 !important;
    font-size: 21px !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
  }
  .sv-reference-video-ui .sv-dictation-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 12px 0 12px !important;
  }
  .sv-reference-video-ui .sv-dictation-index,
  .sv-reference-video-ui .sv-dictation-time {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
  .sv-reference-video-ui .sv-dictation-index { color: #a84960 !important; background: #f8d8df !important; }
  .sv-reference-video-ui .sv-dictation-time { color: #776f62 !important; background: #f5f0e2 !important; }
  .sv-reference-video-ui .sv-dictation-instruction {
    margin: 0 0 12px !important;
    color: #6f776f !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  .sv-reference-video-ui .sv-learning-mode-translation {
    margin-bottom: 10px !important;
    color: #728077 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  .sv-reference-video-ui .sv-dictation-input {
    display: block !important;
    width: 100% !important;
    min-height: 138px !important;
    height: 138px !important;
    box-sizing: border-box !important;
    padding: 14px 14px 12px !important;
    resize: vertical !important;
    border: 1.5px solid #d9e4da !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #253329 !important;
    font: 600 17px/1.55 var(--sv-font-latin, Arial, sans-serif) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
  }
  .sv-reference-video-ui .sv-dictation-input::placeholder { color: #8c8b8b !important; }
  .sv-reference-video-ui .sv-dictation-answer {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    color: #3f8055 !important;
    background: #edf7ef !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  .sv-reference-video-ui .sv-dictation-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .sv-reference-video-ui .sv-dictation-actions-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 8px !important;
  }
  .sv-reference-video-ui .sv-dictation-actions button {
    min-height: 42px !important;
    padding: 0 8px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .sv-reference-video-ui.sv-dictation-mode .subtitle-item.sv-dictation-current {
    display: none !important;
  }
  .sv-reference-video-ui.sv-dictation-mode .sv-current-subtitle-card {
    display: none !important;
  }
  .sv-reference-video-ui .sv-learning-mode-close {
    width: 32px !important;
    height: 32px !important;
    background: #edf2ed !important;
    color: #486057 !important;
  }
}
@media (min-width: 769px) { .sv-dictation-input { display: block; width: 100%; min-height: 120px; padding: 14px; resize: vertical; } .sv-dictation-answer { margin-top: 8px; padding: 10px 12px; border-radius: 10px; color: #3f8055; background: #edf7ef; } .sv-dictation-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } }

/* v37: keep React-owned practice popovers intact and unify dictation entry points. */
#desktop-practice-popover .sv-dictation-practice-item .dlp-text,
.action-sheet .sv-dictation-sheet-item .asi-text { color: #3f8055 !important; }

.sv-force-dictation-item { color: #2f8052 !important; }
.sv-force-dictation-item .asi-text, .sv-force-dictation-item .dlp-text { color: #2f8052 !important; }

/* sv-library-v1-stability-20260913 */
html.sv-library-v1,
html.sv-library-v1 body {
  width: 100% !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: static !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page {
  width: 100% !important;
  min-height: 100dvh !important;
  height: auto !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page > .home-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page > main.sv-library-main-scroll {
  width: 100% !important;
  max-width: 1440px !important;
  min-height: calc(100dvh - 70px) !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: clamp(240px, 24vw, 320px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(14px, 2vw, 28px) !important;
  margin: 0 auto !important;
  padding: 18px clamp(12px, 2vw, 24px) 32px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page > main > .sidebar.sv-library-fixed-sidebar {
  display: flex !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: calc(100dvh - 104px) !important;
  position: sticky !important;
  top: 86px !important;
  align-self: start !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  z-index: 5 !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page > main > .content-area.sv-library-video-scroll {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 2px 32px 0 !important;
  scrollbar-width: auto !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page .home-video-list-container,
html.sv-library-v1 .home-page.sv-library-v1-page .home-video-list-container > div {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page .home-video-list-container > div {
  padding-bottom: 18px !important;
}

html.sv-library-v1 .home-page .sv-desktop-reference-shell,
html.sv-library-v1 .home-page .sv-desktop-toolbar,
html.sv-library-v1 .home-page .sv-desktop-rail,
html.sv-library-v1 .home-page .sv-desktop-top-actions,
html.sv-library-v1 .home-page .sv-desktop-subtitle-actions,
html.sv-library-v1 .home-page .sv-learning-mode-panel,
html.sv-library-v1 .home-page .sv-current-subtitle-card,
html.sv-library-v1 .home-page .sv-video-more,
html.sv-library-v1 .home-page .mobile-bottom-toolbar {
  display: none !important;
  pointer-events: none !important;
}

html.sv-library-v1 .home-page a[href*="/videos/"] {
  position: relative !important;
  min-width: 0 !important;
}

html.sv-library-v1 .home-page .sv-episode-badge {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  html.sv-library-v1 .home-page.sv-library-v1-page > main.sv-library-main-scroll {
    display: block !important;
    width: 100% !important;
    min-height: calc(100dvh - 64px) !important;
    padding: 12px 12px 28px !important;
    overflow: visible !important;
  }

  html.sv-library-v1 .home-page.sv-library-v1-page > main > .sidebar.sv-library-fixed-sidebar {
    display: none !important;
  }

  html.sv-library-v1 .home-page.sv-library-v1-page > main > .content-area.sv-library-video-scroll {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 0 28px !important;
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  html.sv-library-v1 .home-page.sv-library-v1-page > main.sv-library-main-scroll {
    grid-template-columns: minmax(220px, 27vw) minmax(0, 1fr) !important;
  }
}

@media (min-width: 1100px) {
  html.sv-library-v1 .home-page.sv-library-v1-page > main.sv-library-main-scroll {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
  }
}

@media (min-width: 769px) {
  html.sv-reference-video-ui .app.video-learning-page {
    overflow: visible !important;
  }

  html.sv-reference-video-ui .video-section {
    min-height: 0 !important;
    padding-bottom: 132px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable !important;
  }

  html.sv-reference-video-ui .video-section > .video-description,
  html.sv-reference-video-ui .video-section > .sv-current-subtitle-card {
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  html.sv-reference-video-ui .app.video-learning-page {
    overflow: visible !important;
    padding-bottom: 190px !important;
  }

  html.sv-reference-video-ui .video-section {
    padding-bottom: 180px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}

/* sv-library-v1-sidebar-stack-20260913 */
html.sv-library-v1 .home-page.sv-library-v1-page > main > .sidebar.sv-library-fixed-sidebar {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

html.sv-library-v1 .home-page.sv-library-v1-page > main > .sidebar.sv-library-fixed-sidebar > .sv-local-panel {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* sv-detail-bottom-space-priority-20260913 */
@media (min-width: 769px) {
  html.sv-reference-video-ui.sv-desktop-reference-layout body > #root .app.video-learning-page.two-column {
    overflow: visible !important;
  }

  html.sv-reference-video-ui.sv-desktop-reference-layout body > #root .app.video-learning-page.two-column > .video-section {
    min-height: 0 !important;
    padding-bottom: 132px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable !important;
  }

  html.sv-reference-video-ui.sv-desktop-reference-layout body > #root .app.video-learning-page.two-column > .video-section::after {
    content: "" !important;
    display: block !important;
    order: 99 !important;
    flex: 0 0 132px !important;
    min-height: 132px !important;
  }
}

@media (max-width: 768px) {
  html.sv-reference-video-ui body > #root .app.video-learning-page {
    overflow: visible !important;
    padding-bottom: 190px !important;
  }

  html.sv-reference-video-ui body > #root .app.video-learning-page > .video-section {
    padding-bottom: 180px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}

/* sv-mobile-detail-layout-clean-20260913 */
@media (max-width: 768px) {
  html.sv-reference-video-ui,
  html.sv-reference-video-ui body,
  html.sv-reference-video-ui body.video-scroll-locked {
    width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: static !important;
  }

  html.sv-reference-video-ui .app.video-learning-page {
    min-height: 100dvh !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  html.sv-reference-video-ui .video-learning-page .video-section {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }

  html.sv-reference-video-ui .video-learning-page .video-description {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
  }

  html.sv-reference-video-ui .video-learning-page .subtitle-section {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  html.sv-reference-video-ui .video-learning-page .subtitle-items-container {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
    padding-bottom: calc(var(--learning-mobile-toolbar-height, 156px) + 34px) !important;
  }

  html.sv-reference-video-ui .sv-desktop-top-actions,
  html.sv-reference-video-ui .sv-desktop-reference-shell,
  html.sv-reference-video-ui .sv-desktop-rail,
  html.sv-reference-video-ui .sv-desktop-toolbar {
    display: none !important;
    pointer-events: none !important;
  }
}

/* sv-mobile-detail-priority-20260913 */
@media (max-width: 768px) {
  html.sv-reference-video-ui body > #root .app.video-learning-page,
  html.sv-reference-video-ui .app.video-learning-page {
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  html.sv-reference-video-ui body > #root .app.video-learning-page > .video-section,
  html.sv-reference-video-ui .app.video-learning-page > .video-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }

  html.sv-reference-video-ui body > #root .app.video-learning-page > .subtitle-section,
  html.sv-reference-video-ui .app.video-learning-page > .subtitle-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }
}

