/* =========================================================
 * 录播课模块样式
 * 视觉语言与知识库广场完全一致：浅米色底、大圆角卡片、橙色主色
 * 依赖 knowledge.css 的 :root 变量与 header/footer 样式
 * ========================================================= */

/* ================= 一、广场页 ================= */

.cs-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 16px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cs-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: var(--kn-text);
  letter-spacing: .5px;
}
.cs-hero p {
  margin: 0;
  font-size: 14px;
  color: var(--kn-muted);
  line-height: 1.8;
}
.cs-hero-stat {
  display: flex;
  gap: 22px;
}
.cs-hero-stat div { text-align: center; }
.cs-hero-stat b {
  display: block;
  font-size: 22px;
  color: var(--kn-orange);
  font-weight: 700;
}
.cs-hero-stat span { font-size: 12px; color: var(--kn-muted); }

.cs-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 44px;
}

/* 分类筛选 */
.cs-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.cs-cat {
  padding: 7px 16px;
  font-size: 13px;
  color: #5a6478;
  background: #fff;
  border: 1px solid #f0e9e2;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.cs-cat:hover { border-color: var(--kn-orange); color: var(--kn-orange); }
.cs-cat.on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  box-shadow: 0 6px 16px rgba(255, 107, 53, .24);
}

/* 卡片网格 */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--kn-card);
  border: 1px solid #f0e9e2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(24, 30, 48, .04);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 107, 53, .12);
}
.cs-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ffe8dc, #fff4ed);
  overflow: hidden;
}
.cs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-cover-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  opacity: .55;
  background: linear-gradient(135deg, #ffd9c7, #ffeede 60%, #fff8f2);
}
.cs-cover-tags {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cs-badge {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(31, 38, 55, .72);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.cs-badge.trial { background: rgba(16, 185, 129, .92); }
.cs-badge.vip { background: linear-gradient(135deg, #ffb800, #ff8a4c); }
.cs-badge.bought { background: rgba(47, 124, 246, .92); }
.cs-badge.fission { background: linear-gradient(135deg, #ff006e, #ff6b35); }
.cs-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  border-radius: 6px;
}

.cs-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cs-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--kn-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--kn-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cs-tag {
  padding: 2px 8px;
  font-size: 11px;
  color: #9a6b4f;
  background: #fff4ed;
  border-radius: 6px;
}
.cs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--kn-muted);
  flex-wrap: wrap;
}
.cs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.cs-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--kn-orange);
}
.cs-price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--kn-muted);
  margin-left: 4px;
}
.cs-price.free { color: #059669; font-size: 15px; }
.cs-enter {
  padding: 8px 18px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.cs-enter:hover { filter: brightness(1.05); }
/* 卡片内「试看 / 立即购买」双按钮 */
.cs-card-btns { display: flex; gap: 8px; }
.cs-enter.ghost {
  padding: 8px 14px;
  color: var(--kn-orange);
  background: #fff;
  border: 1px solid #ffd9c7;
}
.cs-enter.ghost:hover { background: #fff4ed; }

.cs-empty, .cs-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--kn-muted);
  font-size: 14px;
  line-height: 2;
}
.cs-empty-ico { font-size: 42px; display: block; margin-bottom: 10px; opacity: .6; }

/* ================= 二、播放页 ================= */

body.cs-play-body { background: #14161d; }

.cs-play-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #1b1e27;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #e8ebf2;
  position: sticky;
  top: 0;
  z-index: 30;
}
.cs-play-top a {
  color: #b9c0d0;
  font-size: 13px;
  text-decoration: none;
}
.cs-play-top a:hover { color: #fff; }
.cs-play-top .cs-play-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46vw;
}
.cs-play-top .cs-play-progress {
  margin-left: auto;
  font-size: 12px;
  color: #9aa4b8;
  white-space: nowrap;
}

.cs-play-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: calc(100vh - 56px);
}
.cs-play-main {
  padding: 18px;
  min-width: 0;
}
.cs-play-side {
  background: #1b1e27;
  border-left: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* 桌面端目录吸顶：页面下滚看笔记/AI 时目录始终在场，不再出现"整页 + 目录"双滚动 */
  position: sticky;
  top: 46px;
  align-self: start;
  height: calc(100vh - 46px);
}

/* --- 播放器 --- */
.csp {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  user-select: none;
}
.csp video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.csp-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: #e8ebf2;
  background: radial-gradient(circle at 50% 40%, rgba(255, 107, 53, .18), rgba(0, 0, 0, .86));
  z-index: 8;
}
.csp-lock .ico { font-size: 38px; }
.csp-lock h3 { margin: 0; font-size: 17px; }
.csp-lock p { margin: 0; font-size: 13px; color: #b9c0d0; line-height: 1.7; max-width: 420px; }
.csp-lock .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

.csp-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}
.csp-watermark span {
  position: absolute;
  font-size: 12px;
  color: rgba(255, 255, 255, .16);
  white-space: nowrap;
  transform: rotate(-18deg);
  text-shadow: 0 0 2px rgba(0, 0, 0, .35);
  animation: cspDrift 26s linear infinite;
}
@keyframes cspDrift {
  0%   { transform: translate(0, 0) rotate(-18deg); opacity: .10; }
  50%  { transform: translate(-28px, 26px) rotate(-18deg); opacity: .22; }
  100% { transform: translate(0, 0) rotate(-18deg); opacity: .10; }
}

/* 控制条 */
.csp-ctrl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
  opacity: 0;
  transition: opacity .2s ease;
}
.csp.show-ctrl .csp-ctrl, .csp.paused .csp-ctrl { opacity: 1; }

.csp-bar {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.csp-bar-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .26);
  border-radius: 999px;
  overflow: hidden;
  transition: height .15s ease;
}
.csp-bar:hover .csp-bar-track { height: 6px; }
.csp-bar-played {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #ffb800, #ff6b35);
}
.csp-bar-buffer {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(255, 255, 255, .18);
}
.csp-bar-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px; height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .35);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.csp-bar:hover .csp-bar-dot { opacity: 1; }
.csp-bar.locked { cursor: not-allowed; }
.csp-clip-mark {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, .12);
}

.csp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  color: #e8ebf2;
}
.csp-ico {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #e8ebf2;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s ease;
}
.csp-ico:hover { background: rgba(255, 255, 255, .14); }
.csp-time { font-size: 12px; color: #c8cede; font-variant-numeric: tabular-nums; }
.csp-spacer { flex: 1; }
.csp-rate {
  position: relative;
}
.csp-rate-btn {
  padding: 4px 10px;
  font-size: 12px;
  color: #e8ebf2;
  background: rgba(255, 255, 255, .1);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.csp-rate-menu {
  position: absolute;
  right: 0;
  bottom: 34px;
  display: none;
  flex-direction: column;
  min-width: 84px;
  padding: 6px;
  background: rgba(24, 27, 36, .96);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}
.csp-rate-menu.show { display: flex; }
.csp-rate-menu button {
  padding: 7px 10px;
  font-size: 12px;
  text-align: left;
  color: #dfe3ec;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.csp-rate-menu button:hover { background: rgba(255, 255, 255, .12); }
.csp-rate-menu button.on { color: #ff9d6b; font-weight: 600; }
.csp-toast {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 18px;
  font-size: 13px;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  border-radius: 10px;
  z-index: 12;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.csp-toast.show { opacity: 1; }
.csp-bigplay {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: rgba(255, 107, 53, .88);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 7;
  box-shadow: 0 10px 26px rgba(255, 107, 53, .4);
}
.csp.paused .csp-bigplay { display: flex; }
.csp:not(.paused) .csp-bigplay { display: none; }

/* --- 视频下方信息 --- */
.cs-info {
  margin-top: 16px;
  padding: 18px 20px;
  background: #1b1e27;
  border-radius: 14px;
  color: #e8ebf2;
}
.cs-info h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}
.cs-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #9aa4b8;
}
.cs-info-tip {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #ffd9c7;
  background: rgba(255, 107, 53, .1);
  border: 1px solid rgba(255, 107, 53, .22);
  border-radius: 10px;
}

/* --- 自动裂变：邀请面板 --- */
.cs-invite {
  margin-top: 14px;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(255, 138, 76, .16), rgba(255, 107, 53, .06));
  border: 1px solid rgba(255, 107, 53, .3);
  border-radius: 12px;
}
.cs-invite-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cs-invite-hd b { font-size: 14px; color: #ffd9c7; }
.cs-invite-hd span { font-size: 12px; color: #ffb894; font-weight: 600; }
.cs-invite-bar {
  margin-top: 10px;
  height: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  overflow: hidden;
}
.cs-invite-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffb800, #ff6b35);
  border-radius: 999px;
  transition: width .3s ease;
}
.cs-invite-txt {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #cbd2e0;
}
.cs-invite-link {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.cs-invite-link input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  color: #dfe3ec;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  outline: none;
}
.cs-invite-link button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 16px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.cs-invite-link button:active { filter: brightness(.94); }

/* 配套资料 */
.cs-panel {
  margin-top: 16px;
  padding: 16px 20px;
  background: #1b1e27;
  border-radius: 14px;
  color: #e8ebf2;
}
.cs-panel h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-panel h3 em {
  font-style: normal;
  font-size: 12px;
  color: #8a94a8;
  font-weight: 400;
}
.cs-doc-list, .cs-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  cursor: pointer;
  transition: all .16s ease;
}
.cs-doc:hover {
  background: rgba(255, 107, 53, .12);
  border-color: rgba(255, 107, 53, .3);
}
.cs-doc-ico { font-size: 16px; }
.cs-doc-txt { min-width: 0; }
.cs-doc-title {
  font-size: 13px;
  color: #eef1f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-doc-space { font-size: 11px; color: #8a94a8; margin-top: 2px; }
.cs-doc-go { margin-left: auto; font-size: 12px; color: #ff9d6b; white-space: nowrap; }
.cs-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  font-size: 13px;
  color: #dfe3ec;
  text-decoration: none;
}
.cs-file:hover { border-color: rgba(255, 107, 53, .3); color: #fff; }
.cs-file-size { margin-left: auto; font-size: 11px; color: #8a94a8; }
.cs-panel-empty { font-size: 12px; color: #8a94a8; line-height: 1.8; }

/* --- 右侧目录 --- */
.cs-side-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #e8ebf2;
}
.cs-side-head b { font-size: 14px; }
.cs-side-head span { font-size: 12px; color: #8a94a8; }
.cs-side-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px 20px;
}
.cs-chapter {
  margin: 8px 0 4px;
  padding: 8px 8px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd2e0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cs-chapter > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-chapter em {
  font-style: normal;
  font-size: 11px;
  color: #7c869c;
  font-weight: 400;
  flex-shrink: 0;
  white-space: nowrap;
}
.cs-lesson {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  margin-bottom: 2px;
  font-size: 13px;
  color: #b9c0d0;
  border-radius: 8px;
  cursor: pointer;
  transition: all .14s ease;
}
.cs-lesson:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.cs-lesson.on {
  background: rgba(255, 107, 53, .16);
  color: #ffb894;
  font-weight: 600;
}
.cs-lesson-no {
  width: 20px;
  flex: 0 0 20px;
  font-size: 11px;
  color: #7c869c;
  text-align: right;
}
.cs-lesson-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-lesson-dur { font-size: 11px; color: #7c869c; }
.cs-lesson-flag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, .18);
  color: #6ee7b7;
  white-space: nowrap;
}
.cs-lesson-flag.lock {
  background: rgba(255, 255, 255, .08);
  color: #8a94a8;
}
.cs-lesson-flag.done {
  background: rgba(47, 124, 246, .2);
  color: #93c5fd;
}

/* 移动端目录开关 */
.cs-side-toggle {
  display: none;
}

/* 播放页内的按钮（暗色底，与知识库按钮同一手感） */
.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 13px;
  color: #e8ebf2;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
}
.cs-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.cs-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  box-shadow: 0 8px 20px rgba(255, 107, 53, .3);
}
.cs-btn-primary:hover { filter: brightness(1.06); color: #fff; }

/* ================= 三、配套文档弹窗 ================= */
.cs-doc-mask {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 18, .72);
  backdrop-filter: blur(3px);
}
.cs-doc-mask.show { display: flex; }
.cs-doc-modal {
  width: 100%;
  max-width: 880px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.cs-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f4;
}
.cs-doc-head h3 {
  margin: 0;
  font-size: 15px;
  color: #1f2637;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-doc-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a94a6;
  background: #f6f7fa;
  border-radius: 8px;
  cursor: pointer;
}
.cs-doc-close:hover { color: #ff6b35; background: #fff2ea; }
.cs-doc-body {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.9;
  color: #2a3142;
}
.cs-doc-body img { max-width: 100%; height: auto; border-radius: 10px; }
.cs-doc-body pre {
  padding: 12px 14px;
  background: #f7f8fb;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 13px;
}
.cs-doc-body table { width: 100%; border-collapse: collapse; }
.cs-doc-body th, .cs-doc-body td { padding: 8px 10px; border: 1px solid #eceff5; font-size: 13px; }
.cs-doc-body video, .cs-doc-body iframe { width: 100%; aspect-ratio: 16/9; border-radius: 10px; }
.cs-doc-foot {
  padding: 10px 20px;
  border-top: 1px solid #f0f0f4;
  text-align: right;
}
.cs-doc-open { font-size: 13px; color: #ff6b35; text-decoration: none; }
.cs-doc-open:hover { text-decoration: underline; }
.cs-doc-loading { padding: 40px; text-align: center; color: #8a94a6; font-size: 13px; }

/* ================= 四、我的录播课（个人中心内嵌） ================= */
.my-course-summary {
  margin-bottom: 14px;
  padding: 12px 16px;
  font-size: 13px;
  color: #6b7280;
  background: #fff8f4;
  border: 1px solid #ffe3d4;
  border-radius: 12px;
}
.my-course-summary b { color: #ff6b35; font-weight: 700; }
.my-course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.my-course {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #f0e9e2;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all .18s ease;
}
.my-course:hover { border-color: #ffc7a8; box-shadow: 0 8px 20px rgba(255, 107, 53, .1); }
.my-course-cover {
  width: 108px;
  flex: 0 0 108px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe8dc, #fff4ed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #d9a184;
}
.my-course-cover img { width: 100%; height: 100%; object-fit: cover; }
.my-course-body { min-width: 0; flex: 1; }
.my-course-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--kn-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-course-meta { margin-top: 5px; font-size: 12px; color: var(--kn-muted); }
.my-course-bar {
  margin-top: 9px;
  height: 6px;
  background: #f4f1ec;
  border-radius: 999px;
  overflow: hidden;
}
.my-course-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffb800, #ff6b35);
}
.my-course-pct { margin-top: 6px; font-size: 11px; color: var(--kn-muted); }

/* ================= 四、响应式 ================= */
@media (max-width: 1080px) {
  .cs-play-layout { grid-template-columns: 1fr; }
  .cs-play-side {
    position: static;
    height: auto;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    max-height: 46vh;
  }
  .cs-side-body { max-height: none; }
}

/* ---------- 手机端：播放页深度适配 ---------- */

/* 触屏基础：禁用播放器上的双击缩放，进度条允许手指拖动 */
.csp { touch-action: manipulation; }
.csp-bar { touch-action: none; }
.cs-side-mask {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  background: rgba(10, 12, 18, .6);
}

@media (max-width: 720px) {
  .cs-hero { padding-top: 20px; }
  .cs-hero h1 { font-size: 22px; }
  .cs-hero-stat { gap: 16px; }
  .cs-grid { grid-template-columns: 1fr; }

  /* --- 顶部条：留出刘海安全区，标题占满剩余宽度 --- */
  .cs-play-top {
    gap: 8px;
    padding: 8px 10px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }
  .cs-play-top .cs-play-top-link { display: none; }          /* 手机上省空间 */
  .cs-play-top .cs-play-title {
    flex: 1;
    min-width: 0;
    max-width: none;
    font-size: 14px;
  }
  .cs-play-top .cs-play-progress { font-size: 11px; margin-left: 0; flex-shrink: 0; }

  /* 目录按钮：仅手机显示（桌面端右侧常驻目录） */
  .cs-side-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    color: #e8ebf2;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    cursor: pointer;
  }

  /* --- 布局：目录改为右侧抽屉，主内容独占整屏 --- */
  .cs-play-main { padding: 8px; }
  .cs-play-side {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    z-index: 810;
    max-height: none;
    border-left: 1px solid rgba(255, 255, 255, .08);
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -12px 0 30px rgba(0, 0, 0, .35);
  }
  body.cs-side-open .cs-play-side { transform: translateX(0); }
  .cs-side-mask { display: block; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  body.cs-side-open .cs-side-mask { opacity: 1; pointer-events: auto; }
  .cs-side-head {
    padding: 12px 14px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }
  .cs-side-body { flex: 1; padding: 8px 8px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .cs-lesson { padding: 11px 10px; }                          /* 加大目录行触控区 */

  /* --- 播放器：控制条加大触控目标 --- */
  .csp { border-radius: 10px; }
  .csp-ctrl { padding: 18px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .csp-bar { height: 22px; }                                  /* 加高进度条点击/触摸区 */
  .csp-bar-track { height: 5px; }
  .csp-bar-dot { width: 14px; height: 14px; margin-left: -7px; margin-top: -7px; }
  .csp-row { gap: 2px; margin-top: 2px; }
  .csp-ico { width: 36px; height: 36px; font-size: 17px; }
  .csp-time { font-size: 11px; white-space: nowrap; }
  .csp-rate-btn { padding: 6px 9px; font-size: 12px; }
  .csp-bigplay { width: 56px; height: 56px; font-size: 21px; }
  .csp-toast { font-size: 12px; padding: 8px 14px; }

  /* --- 未购买遮罩：文案与按钮适配小屏 --- */
  .csp-lock { padding: 16px; gap: 10px; }
  .csp-lock .ico { font-size: 30px; }
  .csp-lock h3 { font-size: 15px; }
  .csp-lock p { font-size: 12px; max-width: none; }
  .csp-lock .btns { width: 100%; }
  .csp-lock .btns .cs-btn { flex: 1 1 auto; min-width: 120px; }

  /* --- 视频下方信息与资料 --- */
  .cs-info, .cs-panel { padding: 14px; margin-top: 10px; }
  .cs-info h2 { font-size: 16px; }
  .cs-invite { padding: 12px; }
  .cs-invite-link { flex-wrap: wrap; }
  .cs-invite-link input { flex: 1 1 100%; }
  .cs-invite-link button { flex: 1 1 auto; }
  .cs-info-meta { gap: 10px; font-size: 11px; }
  .cs-info-tip { font-size: 12px; padding: 8px 10px; }
  .cs-doc, .cs-file { padding: 12px; font-size: 13px; }

  /* --- 配套文档弹窗：手机端全屏 --- */
  .cs-doc-mask { padding: 0; align-items: stretch; }
  .cs-doc-modal { max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .cs-doc-head { padding: 12px 14px; }
  .cs-doc-head h3 { font-size: 14px; }
  .cs-doc-close { width: 32px; height: 32px; }
  .cs-doc-body { padding: 14px; font-size: 14px; }
  .cs-doc-foot { padding: 8px 14px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }

  .my-course-list { grid-template-columns: 1fr; }
}

/* 横屏矮屏（手机横着看）：压缩顶部条，播放器尽量占满高度 */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
  .cs-play-top { padding-top: 4px; padding-bottom: 4px; }
  .cs-play-main { padding: 6px 10px; }
  .csp {
    aspect-ratio: auto;
    height: calc(100vh - 90px);
    max-height: calc(100vh - 90px);
  }
}

@media (max-width: 420px) {
  .cs-hero h1 { font-size: 19px; }
  .cs-meta { font-size: 11px; }
  .csp-ico { width: 32px; height: 32px; }
  .csp-time { font-size: 10px; }
  .cs-side-toggle { padding: 5px 10px; font-size: 11px; }
}

/* =========================================================
 * 播放页 2.0：影院级暗色 + 玻璃拟态 + 智能目录
 * ========================================================= */
:root {
  --cs-line: rgba(255, 255, 255, .07);
  --cs-line-strong: rgba(255, 255, 255, .13);
  --cs-accent: #ff6b35;
  --cs-accent-2: #ff9a5a;
  --cs-muted: #9aa4b8;
  --cs-top-h: 46px;
}

/* ---- 页面底色：角落两团柔光，避免大片死黑 ---- */
body.cs-play-body {
  background:
    radial-gradient(1100px 520px at 8% -10%, rgba(255, 107, 53, .16), transparent 62%),
    radial-gradient(880px 460px at 96% 2%, rgba(88, 101, 242, .13), transparent 64%),
    #10131a;
  color: #e8ebf2;
}

/* ---- 顶部条：毛玻璃 + 标题竖条 ---- */
.cs-play-top {
  padding: 10px 20px;
  background: rgba(19, 22, 30, .8);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--cs-line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}
.cs-play-top a {
  padding: 5px 11px;
  color: #c3cbdc;
  border-radius: 999px;
  transition: all .16s ease;
}
.cs-play-top a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.cs-play-top .cs-play-title {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  letter-spacing: .2px;
  max-width: 52vw;
}
.cs-play-top .cs-play-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 15px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffb800, #ff5f2e);
}
.cs-play-top .cs-play-progress {
  padding: 5px 12px;
  font-size: 12px;
  color: #cbd2e0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
  letter-spacing: .2px;
}

/* ---- 主区留白 ---- */
.cs-play-main { padding: 20px 22px 44px; }

/* ---- 播放器：大圆角 + 内外双光 ---- */
.csp {
  border-radius: 18px;
  background: #05070b;
  box-shadow:
    0 34px 70px -28px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 255, 255, .07),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.csp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 18%);
}
.csp-bigplay {
  width: 74px;
  height: 74px;
  font-size: 26px;
  background: linear-gradient(135deg, #ff9a5a, #ff5f2e);
  box-shadow:
    0 18px 42px rgba(255, 92, 40, .45),
    0 0 0 12px rgba(255, 107, 53, .09);
  transition: transform .18s ease, box-shadow .2s ease;
}
.csp-bigplay:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 22px 52px rgba(255, 92, 40, .55),
    0 0 0 16px rgba(255, 107, 53, .1);
}
.csp-lock {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 107, 53, .22), transparent 64%),
    linear-gradient(180deg, rgba(14, 16, 22, .95), rgba(7, 9, 13, .97));
}
.csp-lock .ico {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 16px 34px rgba(0, 0, 0, .45);
}
.csp-lock h3 { font-size: 19px; letter-spacing: .3px; }
.csp-lock p { color: #aab3c6; }
.csp-bar-track { background: rgba(255, 255, 255, .22); }
.csp-row { gap: 10px; }

/* ---- 课时信息卡：玻璃卡 + 工具条 ---- */
.cs-info {
  margin-top: 18px;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(33, 37, 48, .88), rgba(22, 25, 33, .94));
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.cs-info-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.cs-info-title { min-width: 0; }
.cs-info-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11px;
  color: #ffb894;
  background: rgba(255, 107, 53, .12);
  border: 1px solid rgba(255, 107, 53, .24);
  border-radius: 999px;
}
.cs-info-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .18);
  animation: csLive 1.6s ease-in-out infinite;
}
@keyframes csLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.82); }
}
.cs-info h2 {
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: .2px;
}
.cs-info-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cs-tool-btn {
  height: 32px;
  padding: 0 13px;
  font-size: 12px;
  color: #cfd6e6;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--cs-line);
  border-radius: 9px;
  cursor: pointer;
  transition: all .16s ease;
}
.cs-tool-btn:hover:not([disabled]) {
  color: #fff;
  border-color: rgba(255, 107, 53, .5);
  background: rgba(255, 107, 53, .14);
}
.cs-tool-btn[disabled] { opacity: .32; cursor: not-allowed; }
.cs-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cs-muted);
  cursor: pointer;
  user-select: none;
}
.cs-switch input { display: none; }
.cs-switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  transition: background .2s ease;
}
.cs-switch-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
.cs-switch input:checked + .cs-switch-track { background: linear-gradient(135deg, var(--cs-accent-2), #ff5f2e); }
.cs-switch input:checked + .cs-switch-track i { transform: translateX(16px); }

/* meta 变胶囊标签 */
.cs-info-meta { gap: 8px; }
.cs-info-meta > span {
  padding: 4px 11px;
  font-size: 12px;
  color: #b9c2d4;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
}

/* ---- 面板统一玻璃质感 ---- */
.cs-panel {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(33, 37, 48, .84), rgba(22, 25, 33, .92));
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  box-shadow: 0 20px 44px -32px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.cs-panel h3 { font-size: 14px; letter-spacing: .2px; }
.cs-doc { border-radius: 12px; padding: 12px 14px; }
.cs-doc:hover { transform: translateX(2px); }
.cs-doc-go { transition: transform .16s ease; }
.cs-doc:hover .cs-doc-go { transform: translateX(2px); }

/* ---- 目录侧栏 ---- */
.cs-play-side {
  top: var(--cs-top-h, 46px);
  height: calc(100vh - var(--cs-top-h, 46px));
  background: linear-gradient(180deg, rgba(26, 30, 40, .97), rgba(19, 22, 30, .99));
  border-left: 1px solid var(--cs-line);
  box-shadow: -20px 0 50px -40px rgba(0, 0, 0, .9);
}
.cs-side-head {
  display: block;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--cs-line);
}
.cs-side-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-side-hd b { font-size: 15px; letter-spacing: .3px; color: #fff; }
.cs-side-hd span {
  padding: 3px 9px;
  font-size: 11px;
  color: #a9b3c6;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.cs-side-search { position: relative; margin-top: 12px; }
.cs-side-search input {
  width: 100%;
  height: 36px;
  padding: 0 30px 0 34px;
  font-size: 13px;
  color: #e8ebf2;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--cs-line);
  border-radius: 10px;
  outline: none;
  transition: border-color .16s ease, background .16s ease;
}
.cs-side-search input::-webkit-search-cancel-button { display: none; }
.cs-side-search input::placeholder { color: #7c869c; }
.cs-side-search input:focus {
  border-color: rgba(255, 107, 53, .55);
  background: rgba(255, 255, 255, .07);
}
.cs-side-search-ico {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: .7;
  pointer-events: none;
}
.cs-side-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--cs-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.cs-side-clear:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cs-side-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cs-side-bar-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.cs-side-bar-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb800, #ff5f2e);
  transition: width .35s ease;
}
#csSidePct {
  padding: 0;
  font-size: 11px;
  color: var(--cs-muted);
  background: transparent;
  border: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cs-side-filters {
  display: flex;
  gap: 3px;
  padding: 2px;
  background: rgba(255, 255, 255, .06);
  border-radius: 8px;
}
.cs-side-filters button {
  padding: 4px 10px;
  font-size: 11px;
  color: var(--cs-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all .14s ease;
}
.cs-side-filters button:hover { color: #fff; }
.cs-side-filters button.on {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 138, 76, .95), rgba(255, 95, 46, .95));
  box-shadow: 0 3px 10px rgba(255, 96, 46, .28);
}

/* 目录列表：章节吸顶 + 折叠 + 课时行 */
.cs-side-body { padding: 0 10px 20px; }
.cs-side-body > .cs-group:first-child > .cs-chapter { margin-top: 8px; }
.cs-group { position: relative; }
.cs-group.collapsed > .cs-group-body { display: none; }
.cs-chapter {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 10px 0 2px;
  padding: 9px 8px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #c3cbdc;
  background: linear-gradient(180deg, #1e222c 72%, rgba(30, 34, 44, .94));
  border-radius: 9px;
  cursor: pointer;
  transition: color .14s ease;
}
.cs-chapter:hover { color: #fff; }
.cs-chapter-arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  color: #7c869c;
  transition: transform .18s ease;
}
.cs-chapter-arrow::before { content: '▾'; font-size: 11px; line-height: 1; }
.cs-group.collapsed > .cs-chapter .cs-chapter-arrow { transform: rotate(-90deg); }

.cs-lesson {
  padding: 10px;
  border-radius: 10px;
  color: #b6bfd1;
  position: relative;
}
.cs-lesson:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.cs-lesson.on {
  background: linear-gradient(90deg, rgba(255, 107, 53, .22), rgba(255, 107, 53, .05));
  color: #ffd0b8;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--cs-accent);
}
.cs-lesson.on .cs-lesson-no { color: #ffb894; }
.cs-lesson.done:not(.on) .cs-lesson-title { color: #8a94a8; }
.cs-lesson-no { font-variant-numeric: tabular-nums; }
.cs-lesson-dur { font-variant-numeric: tabular-nums; }

/* ---- 手机端 2.0 ---- */
@media (max-width: 720px) {
  .cs-play-top {
    padding: 8px 12px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    gap: 8px;
  }
  .cs-play-top .cs-play-title { max-width: none; padding-left: 12px; font-size: 14px; }
  .cs-play-top .cs-play-progress { padding: 4px 9px; font-size: 11px; }
  .cs-play-main { padding: 8px 8px 32px; }
  .csp {
    border-radius: 14px;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
  }
  .csp-bigplay { width: 62px; height: 62px; font-size: 22px; }
  .csp-lock .ico { width: 64px; height: 64px; font-size: 26px; }

  .cs-info { margin-top: 10px; padding: 14px; border-radius: 14px; }
  .cs-info h2 { font-size: 16px; margin: 8px 0 8px; }
  .cs-info-hd { gap: 10px; }
  .cs-info-tools { width: 100%; gap: 8px; }
  .cs-tool-btn { flex: 1 1 0; height: 36px; font-size: 12px; }
  .cs-switch { flex: 0 0 auto; }
  .cs-info-meta > span { padding: 3px 9px; font-size: 11px; }

  .cs-panel { padding: 14px; border-radius: 14px; margin-top: 10px; }
  .cs-panel h3 { font-size: 13px; }

  /* 目录抽屉：更大更好点（fixed 拉伸，需重置桌面吸顶高度） */
  .cs-play-side {
    width: min(92vw, 380px);
    height: auto;
    border-radius: 16px 0 0 16px;
  }
  .cs-side-head { padding: 12px 12px 10px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .cs-side-search { margin-top: 10px; }
  .cs-side-search input { height: 40px; font-size: 14px; }
  .cs-side-filters button { padding: 5px 12px; font-size: 12px; }
  .cs-side-body { padding: 0 8px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .cs-chapter { padding: 10px 8px; font-size: 13px; }
  .cs-lesson { padding: 12px 10px; font-size: 13px; }
  .cs-lesson-flag { font-size: 10px; }
}

@media (max-width: 420px) {
  .cs-play-main { padding: 6px 6px 28px; }
  .cs-info { padding: 12px; }
  .cs-info h2 { font-size: 15px; }
  .cs-tool-btn { padding: 0 8px; font-size: 11px; }
  .cs-switch-text { display: none; }
  .cs-play-top .cs-play-progress { display: none; }
}
