/* ============================================================
 * 功能扩展样式：AI 晨起关怀 + 运动视频库
 * ------------------------------------------------------------
 * 单独成文件，避免把 app.css 继续堆长；由 index.html 在 app.css 之后引入。
 * 颜色全部走 app.css 里的设计变量，字号与点击区沿用长者标准。
 * ============================================================ */

/* ============================================================
 * 一、AI 晨起关怀（视频通话式）
 * ------------------------------------------------------------
 * 页面用暖色晨光；通话面板用深绿夜色 + 浅色答题卡：
 *   · 深色背景让长者一眼知道「现在是在通话里」；
 *   · 答题卡保持浅底深字，避免在暗底上读小字；
 *   · 所有选项 ≥64px，窄屏一个选项占一整行。
 * ============================================================ */
.morning-hero {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 24px;
  border: 1px solid #F2CFAF;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 214, 153, 0.75), transparent 42%),
    linear-gradient(135deg, #FFF6EA 0%, #FFE9D2 56%, #FFDDBD 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.morning-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.morning-hero-art { position: relative; z-index: 1; }
.morning-hero-art img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(156, 91, 33, 0.18));
}
.morning-hero-text { position: relative; z-index: 1; min-width: 0; }
.morning-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #EFC9A6;
  color: var(--primary-text-deep);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.morning-hero-title {
  margin: 10px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  color: var(--text);
}
.morning-hero-desc {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.85;
}
.morning-hero-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.morning-hero-hint { font-size: var(--fs-sm); color: var(--text-3); }
.morning-hero-today { margin-top: 12px; padding-top: 14px; border-top: 1px dashed #E7BE99; }
.morning-risk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.morning-hero-msg {
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--text);
  max-width: 66ch;
}
.morning-start { min-height: 62px; font-size: var(--fs-lg); }

.morning-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.morning-quote {
  padding: 16px 18px;
  border-left: 6px solid var(--primary);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--primary-l);
  font-size: var(--fs-body);
  line-height: 1.95;
}
.morning-suggestions { margin: 0; padding-left: 1.4em; }
.morning-suggestions li { font-size: var(--fs-body); line-height: 1.9; margin-bottom: 8px; }
.morning-flags { display: flex; flex-direction: column; gap: 8px; }
.morning-flag {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: var(--r-s);
  background: var(--bg-alt);
  font-size: var(--fs-sm);
  line-height: 1.8;
}
.morning-q-preview { display: flex; flex-direction: column; gap: 12px; }
.morning-q-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-s);
  background: var(--bg-alt);
}
.morning-q-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-btn);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.morning-q-icon { flex-shrink: 0; font-size: 22px; line-height: 1.4; }
.morning-history { display: flex; flex-direction: column; }
.morning-history-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.morning-history-row:last-child { border-bottom: none; }
.morning-history-date { font-weight: 700; font-size: var(--fs-sm); color: var(--text-2); }
.morning-history-main { min-width: 0; }
.morning-history-main .fs-13 { line-height: 1.7; }

/* ---------- 首页入口 ---------- */
.morning-entry {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid #F0C9A6;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 220, 170, 0.85), transparent 46%),
    linear-gradient(120deg, #FFF8EE 0%, #FFEAD5 100%);
  box-shadow: var(--shadow-sm);
}
.morning-entry.is-done {
  border-color: #D8E6D5;
  background: linear-gradient(120deg, #FBFDF8 0%, #EAF3E6 100%);
}
.morning-entry-art img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(134, 82, 34, 0.16));
}
.morning-entry-text { min-width: 0; }
.morning-entry-eyebrow {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: 0.02em;
}
.morning-entry-title {
  margin: 4px 0;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.35;
  color: var(--text);
}
.morning-entry-desc { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.8; }
.morning-entry-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.morning-entry-hint { font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- 通话面板 ---------- */
.morning-call {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  flex-direction: column;
  color: #FFF8ED;
  background: #14251F;
  overflow: hidden;
}
.morning-call-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 560px at 50% 6%, rgba(255, 196, 120, 0.20), transparent 62%),
    radial-gradient(900px 480px at 88% 96%, rgba(70, 128, 98, 0.32), transparent 60%),
    linear-gradient(180deg, #1B2E27 0%, #12201B 58%, #0E1915 100%);
  pointer-events: none;
}
.morning-call-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
}
.morning-call-brand { font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.04em; color: #FFE0BB; }
.morning-call-top-right { display: flex; align-items: center; gap: 10px; }
.morning-call-timer {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.morning-icon-btn {
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  color: #FFF8ED;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}
.morning-icon-btn:hover { background: rgba(255, 255, 255, 0.18); }
.morning-icon-btn.is-end {
  min-width: 150px;
  border-color: rgba(255, 139, 120, 0.55);
  background: rgba(198, 62, 42, 0.26);
}
.morning-call-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 22px 16px;
  text-align: center;
}
.morning-avatar { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
.morning-avatar img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF6E8 0%, #FFE3C4 100%);
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 6px rgba(255, 226, 188, 0.14);
  position: relative;
  z-index: 2;
}
.morning-avatar-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 213, 160, 0.55);
  animation: morning-pulse 2.8s ease-out infinite;
}
.morning-avatar-ring.is-2 { animation-delay: 1.4s; }
@keyframes morning-pulse {
  0% { transform: scale(0.86); opacity: 0.9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.morning-call-name { font-size: var(--fs-lg); font-weight: 800; letter-spacing: 0.04em; }
.morning-call-status { font-size: var(--fs-sm); color: rgba(255, 241, 224, 0.68); }
.morning-subtitle {
  margin-top: 8px;
  max-width: 780px;
  min-height: 34px;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: #FFF3E2;
}
.morning-call-panel {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 22px;
  max-height: 56vh;
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: #FFFCF6;
  color: var(--text);
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.34);
}
.morning-call-end-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 10px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #FFFCF6;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
}
.morning-call-end-row .morning-icon-btn {
  border-color: #E3B9AA;
  background: #FBE9E4;
  color: #8C2F1F;
}
.morning-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.morning-progress-dots { display: flex; gap: 6px; flex: 1; }
.morning-progress-dot {
  height: 8px;
  flex: 1;
  border-radius: var(--r-full);
  background: #EADFD2;
  transition: background 0.2s ease;
}
.morning-progress-dot.done { background: #C99A6E; }
.morning-progress-dot.on { background: var(--primary-btn); }
.morning-progress-text { font-size: var(--fs-sm); color: var(--text-3); white-space: nowrap; }
.morning-question { text-align: center; margin-bottom: 14px; }
.morning-question-icon { font-size: 34px; line-height: 1.2; }
.morning-question-title { margin: 4px 0 2px; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; }
.morning-question-hint { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; }
.morning-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.morning-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 16px;
  border: 2px solid #E8DCCD;
  border-radius: 16px;
  background: #FFFDF8;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.morning-opt:hover { border-color: #D9B792; background: #FFF7EC; }
.morning-opt:active { transform: scale(0.99); }
.morning-opt.on {
  border-color: var(--primary-btn);
  background: var(--primary-l);
  box-shadow: inset 0 0 0 1px var(--primary-btn);
}
.morning-opt-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.morning-opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.morning-opt-label { font-size: var(--fs-body); font-weight: 700; line-height: 1.45; }
.morning-opt-desc { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.55; }
.morning-opt-check { color: var(--primary-btn); font-size: 22px; font-weight: 900; flex-shrink: 0; }
.morning-note {
  width: 100%;
  margin-top: 10px;
  min-height: 70px;
  padding: 12px 14px;
  border: 2px solid #E8DCCD;
  border-radius: 14px;
  font: inherit;
  font-size: var(--fs-body);
  background: #FFFDF8;
  resize: vertical;
}
.morning-call-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.morning-call-tip { font-size: var(--fs-sm); color: var(--text-3); }
.morning-thinking { padding: 26px 10px; text-align: center; }
.morning-thinking-avatar img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--primary-l);
  padding: 6px;
  animation: morning-bob 1.6s ease-in-out infinite;
}
@keyframes morning-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.morning-thinking-text { margin-top: 10px; font-size: var(--fs-body); font-weight: 700; }
.morning-thinking-dots { display: inline-flex; gap: 6px; margin-top: 6px; }
.morning-thinking-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  animation: morning-dot 1.1s ease-in-out infinite;
}
.morning-thinking-dots span:nth-child(2) { animation-delay: 0.16s; }
.morning-thinking-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes morning-dot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}
.morning-result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.morning-result-message {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--primary-l);
  border-left: 6px solid var(--primary);
  font-size: var(--fs-body);
  line-height: 1.95;
}
.morning-result-block { margin-top: 14px; }
.morning-result-title { font-size: var(--fs-sm); font-weight: 800; color: var(--text-2); margin-bottom: 6px; }
.morning-followup {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #EEF6EC;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .morning-grid { grid-template-columns: 1fr; }
  .morning-entry { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px 18px; }
  .morning-entry-art img { width: 78px; height: 78px; }
  .morning-entry > .badge { grid-column: 2; justify-self: start; }
  .morning-history-row { grid-template-columns: 92px minmax(0, 1fr); }
  .morning-history-row > .badge { grid-column: 2; justify-self: start; }
  .morning-options { grid-template-columns: 1fr; }
  .morning-call-panel { max-height: 58vh; padding: 16px 16px; }
  .morning-call-end-row {
    width: 100%;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .morning-call-stage { padding: 0 16px 10px; }
  .morning-avatar { width: 120px; height: 120px; }
  .morning-avatar img { width: 96px; height: 96px; }
  .morning-subtitle { font-size: var(--fs-body); padding: 8px 14px; }
}

@media (max-width: 620px) {
  .morning-hero { grid-template-columns: 1fr; gap: 12px; padding: 20px 18px; text-align: center; }
  .morning-hero-art img { max-width: 132px; margin: 0 auto; }
  .morning-hero-actions { justify-content: center; }
  .morning-hero-actions .btn { width: 100%; }
  .morning-hero-today { text-align: left; }
  .morning-call-brand { font-size: 12px; }
  .morning-icon-btn { padding: 0 12px; font-size: 12px; min-width: 0; }
  .morning-icon-btn.is-end { min-width: 112px; }
  .morning-call-timer { padding: 6px 10px; }
  .morning-call-panel { max-height: 56vh; border-radius: 20px 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .morning-avatar-ring,
  .morning-thinking-avatar img,
  .morning-thinking-dots span { animation: none; }
}

@media print {
  .morning-call { display: none !important; }
}

/* ============================================================
 * 二、运动视频库
 * ------------------------------------------------------------
 * 视频只占「看动作」这一件事；文字步骤、关键点、禁忌与视频同屏，
 * 保证看不清楚、听不见、浏览器不支持 WebM 时仍然能跟练。
 * ============================================================ */
.exv-page { gap: 20px; }

.exv-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 24px;
  border: 1px solid #CBDCBF;
  background:
    radial-gradient(circle at 86% 16%, rgba(197, 226, 173, 0.8), transparent 44%),
    linear-gradient(135deg, #F6FBF1 0%, #E8F4DF 58%, #DCEDD0 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.exv-hero-text { min-width: 0; }
.exv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #BFD6AC;
  color: #2B4F20;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.exv-hero-title {
  margin: 10px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  color: var(--text);
}
.exv-hero-desc {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.85;
}
.exv-hero-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.exv-hero-art img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 14px 26px rgba(61, 107, 46, 0.16));
}

.exv-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.exv-filter {
  min-height: 54px;
  padding: 0 20px;
  font-size: var(--fs-body);
  border-radius: var(--r-full);
}
.exv-filter.is-active {
  background: var(--primary-btn);
  border-color: var(--primary-btn);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(63, 110, 48, 0.7);
}

.exv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.exv-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  color: inherit;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.exv-card.is-active { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(63, 110, 48, 0.14); }
@media (hover: hover) {
  .exv-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(74, 62, 48, 0.6); }
}
.exv-card:active { transform: translateY(0) scale(0.99); }
.exv-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2E3B2A;
  overflow: hidden;
}
.exv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exv-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(20, 32, 18, 0.78);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.exv-missing {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255, 246, 234, 0.94);
  color: #8A4B12;
  font-size: 16px;
  font-weight: 700;
}
.exv-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.exv-card-title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.4; color: var(--text); }
.exv-card-desc { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; flex: 1; }
.exv-card-cta {
  margin-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary-text-deep);
}

.exv-detail { scroll-margin-top: 90px; }
.exv-stage {
  margin-top: 14px;
  border-radius: 18px;
  background: #17201A;
  overflow: hidden;
}
.exv-player {
  display: block;
  width: 100%;
  max-height: 62vh;
  background: #17201A;
  border-radius: 18px;
}
.exv-fallback { margin-top: 12px; }
.exv-fallback[hidden] { display: none !important; }
.exv-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.exv-controls .btn { min-height: 54px; padding: 0 20px; font-size: var(--fs-body); }
.exv-controls .btn.is-on { border-color: var(--primary); color: var(--primary-text-deep); background: var(--primary-l); }
.exv-status {
  margin-top: 10px;
  min-height: 1.5em;
  font-size: var(--fs-sm);
  color: var(--text-3);
  line-height: 1.7;
}
.exv-note {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: var(--r-s);
  background: var(--primary-l);
  border-left: 6px solid var(--primary);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text);
}
.exv-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.exv-block {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  background: var(--bg-alt);
}
.exv-block-ok { background: #F1F8EA; border-color: #CFE3BC; }
.exv-block-warn { background: #FFF6E6; border-color: #F0D9AE; }
.exv-block-title { font-size: var(--fs-body); font-weight: 700; margin-bottom: 10px; color: var(--text); }
.exv-steps { margin: 0; padding-left: 1.5em; }
.exv-steps li { font-size: var(--fs-body); line-height: 1.9; margin-bottom: 9px; }
.exv-list { margin: 0; padding-left: 1.35em; }
.exv-list li { font-size: var(--fs-sm); line-height: 1.9; margin-bottom: 7px; }
.exv-card:focus-visible,
.exv-controls .btn:focus-visible,
.exv-filter:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

@media (max-width: 900px) {
  .exv-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .exv-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .exv-hero { grid-template-columns: 1fr; padding: 20px 18px; text-align: center; }
  .exv-hero-art img { max-width: 140px; margin: 0 auto; }
  .exv-hero-actions { justify-content: center; }
  .exv-hero-actions .btn { width: 100%; }
  .exv-grid { grid-template-columns: 1fr; }
  .exv-filter { flex: 1 1 calc(50% - 10px); min-width: 0; padding: 0 10px; font-size: var(--fs-sm); }
  .exv-controls { gap: 8px; }
  .exv-controls .btn { flex: 1 1 calc(50% - 8px); padding: 0 10px; font-size: var(--fs-sm); }
  .exv-player { max-height: 42vh; }
}

@media (prefers-reduced-motion: reduce) {
  .exv-card { transition: none; }
}

@media print {
  .exv-stage, .exv-controls, .exv-status, .exv-filters { display: none !important; }
}

/* ---------- 「运动方案」页里的视频库入口 ---------- */
.videos-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid #CBDCBF;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.7), transparent 46%),
    linear-gradient(135deg, #F3FAEC 0%, #E3F2D6 60%, #D3E9C2 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.videos-entry-main { min-width: 0; }
.videos-entry-title {
  margin: 10px 0 6px;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.35;
  color: var(--text);
}
.videos-entry-desc {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.8;
}
.videos-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.videos-entry-hint { font-size: var(--fs-sm); color: #3D6B2E; font-weight: 700; }
.videos-entry-thumbs { display: flex; gap: 10px; align-items: center; }
.videos-entry-thumb {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid #C9DCB8;
  box-shadow: 0 10px 22px -16px rgba(45, 74, 33, 0.6);
}
.videos-entry-thumb:nth-child(1) { transform: rotate(-3deg); }
.videos-entry-thumb:nth-child(2) { transform: translateY(-6px); }
.videos-entry-thumb:nth-child(3) { transform: rotate(3deg); }
.videos-entry-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.videos-entry-thumb figcaption {
  padding: 6px 8px;
  font-size: 16px;
  text-align: center;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .videos-entry { grid-template-columns: 1fr; }
  .videos-entry-thumbs { max-width: 460px; }
}

@media (max-width: 620px) {
  .videos-entry { padding: 20px 18px; }
  .videos-entry-actions .btn { width: 100%; }
  .videos-entry-hint { width: 100%; text-align: center; }
  .videos-entry-thumbs { gap: 7px; }
  .videos-entry-thumb figcaption { font-size: 16px; }
}
