/* ============================================
   本草启蒙 - 游戏样式
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg-dark: #1a0f0a;
  --bg-card: #2a1f18;
  --bg-card-light: #3a2f25;
  --gold: #d4a017;
  --gold-light: #f0d060;
  --cinnabar: #c41e3a;
  --jade: #2d8b56;
  --jade-light: #4caf6a;
  --rice: #f5f0e8;
  --rice-dim: rgba(245,240,232,0.7);
  --wood: #4caf50;
  --fire: #e74c3c;
  --earth: #d4a017;
  --metal: #bdc3c7;
  --water: #3498db;
  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  font-family: var(--font-sans);
  color: var(--rice);
  touch-action: manipulation;
}

#app {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

/* 屏幕切换 */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(30px);
}
.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* ===== 开始界面 ===== */
#screenStart {
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a0808 0%, #0d1a0d 50%, #0a0a1a 100%);
}
.start-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(45,139,86,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(212,160,23,0.08) 0%, transparent 50%);
}
.start-content {
  position: relative;
  text-align: center;
  padding: 20px;
  animation: fadeInUp 0.8s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.game-logo {
  font-size: 72px;
  margin-bottom: 12px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(45,139,86,0.4));
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}
.game-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(212,160,23,0.5);
  margin-bottom: 6px;
}
.game-subtitle {
  font-size: 15px;
  color: var(--rice-dim);
  margin-bottom: 24px;
}
.start-divider {
  width: 50px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 16px;
}
.start-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

/* 按钮 */
.btn-primary {
  display: block;
  width: 220px;
  margin: 0 auto 12px;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,160,23,0.5); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: block;
  width: 220px;
  margin: 0 auto;
  padding: 12px 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid rgba(212,160,23,0.4);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(212,160,23,0.1); border-color: var(--gold); }

.btn-back {
  background: none;
  border: none;
  color: var(--rice-dim);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-back:hover { background: rgba(255,255,255,0.1); }

/* ===== 关卡选择 ===== */
#screenLevels {
  background: var(--bg-dark);
}
.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-header h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-light);
}

.levels-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  overflow-y: auto;
}

.level-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.level-card:hover { background: var(--bg-card-light); transform: translateY(-1px); }
.level-card:active { transform: scale(0.98); }
.level-card.locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.level-card.locked:hover { transform: none; background: var(--bg-card); }

.level-num {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.level-card:nth-child(1) .level-num { background: rgba(76,175,80,0.15); color: var(--wood); }
.level-card:nth-child(2) .level-num { background: rgba(231,76,60,0.15); color: var(--fire); }
.level-card:nth-child(3) .level-num { background: rgba(212,160,23,0.15); color: var(--earth); }
.level-card:nth-child(4) .level-num { background: rgba(52,152,219,0.15); color: var(--water); }
.level-card:nth-child(5) .level-num { background: rgba(196,30,58,0.15); color: var(--cinnabar); }

.level-info-box { flex: 1; }
.level-info-box h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--rice);
  margin-bottom: 3px;
}
.level-info-box p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.level-stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.level-stars .earned { color: var(--gold); }
.level-lock {
  font-size: 18px;
  flex-shrink: 0;
}

.total-stars {
  text-align: center;
  padding: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.total-stars span:nth-child(2) {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

/* ===== 游戏界面 ===== */
#screenGame {
  background: var(--bg-dark);
}
.game-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.game-area {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 80px;
}
.game-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.level-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.level-info span:first-child {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.level-info span:last-child {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold-light);
}
.game-progress {
  font-size: 14px;
  color: var(--rice-dim);
}
.game-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  margin: 0 16px 8px;
  border-radius: 2px;
  overflow: hidden;
}
.game-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
}

/* 题目区域 */
.question-area {
  text-align: center;
  margin-bottom: 20px;
}
.question-image {
  margin-bottom: 12px;
  animation: questionPop 0.4s ease;
}
.question-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: questionPop 0.4s ease;
}
@keyframes questionPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.question-text {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--rice);
  line-height: 1.6;
}
.question-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* 草药图片通用样式 */
.herb-img {
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f0e8;
  margin: 0 auto;
}
.herb-img-question {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin: 0 auto;
}
.herb-img-opt {
  width: 56px;
  height: 56px;
  border-radius: 8px;
}
.herb-img-match {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 6px;
}
.herb-img-lg {
  width: 80px;
  height: 80px;
}

/* 选项按钮 */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.options-grid-img {
  gap: 10px;
}
.option-btn {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.1s;
  color: var(--rice);
  font-size: 15px;
  font-family: var(--font-serif);
  line-height: 1.4;
  text-align: center;
  min-height: 80px;
}
.option-btn:hover:not(:disabled) { background: var(--bg-card-light); border-color: rgba(255,255,255,0.15); }
.option-btn:active:not(:disabled) { transform: scale(0.96); }
.option-btn .opt-icon { font-size: 28px; }
/* 答题后：禁用浏览器原生灰，统一用自定义样式 */
.option-btn:disabled {
  cursor: default;
  opacity: 1;
  -webkit-text-fill-color: var(--rice);
}
.option-btn.correct {
  border-color: var(--jade);
  background: rgba(45,139,86,0.18);
  animation: correctPulse 0.4s ease;
}
.option-btn.wrong {
  border-color: var(--cinnabar);
  background: rgba(196,30,58,0.18);
  animation: shake 0.4s ease;
}
/* 其余未选中的选项统一变淡，保持颜色一致 */
.option-btn.faded {
  border-color: rgba(255,255,255,0.05);
  background: var(--bg-card);
  opacity: 0.45;
}
.option-btn.disabled { pointer-events: none; opacity: 0.5; }

@keyframes correctPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* 配对游戏 */
.match-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.match-columns {
  display: flex;
  gap: 12px;
  flex: 1;
}
.match-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-col-title {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-bottom: 4px;
}
.match-item {
  padding: 10px 8px;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.match-item-herb {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.match-item:hover { background: var(--bg-card-light); }
.match-item.selected {
  border-color: var(--gold);
  background: rgba(212,160,23,0.1);
  box-shadow: 0 0 12px rgba(212,160,23,0.2);
}
.match-item.matched {
  border-color: var(--jade);
  background: rgba(45,139,86,0.12);
  opacity: 0.6;
  pointer-events: none;
}
.match-item.wrong-match {
  border-color: var(--cinnabar);
  background: rgba(196,30,58,0.12);
  animation: shake 0.4s ease;
}

/* 五行归类 */
.wuxing-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.wuxing-zone {
  width: calc(50% - 4px);
  min-height: 70px;
  padding: 10px;
  border-radius: var(--radius);
  border: 2px dashed rgba(255,255,255,0.12);
  text-align: center;
  transition: all 0.2s;
}
.wuxing-zone.zone-active {
  border-style: solid;
  border-width: 2px;
}
.wuxing-zone .zone-label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wuxing-zone .zone-items {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  min-height: 20px;
}
.wuxing-zone[data-element="wood"] { border-color: rgba(76,175,80,0.3); }
.wuxing-zone[data-element="wood"] .zone-label { color: var(--wood); }
.wuxing-zone[data-element="wood"].zone-active { border-color: var(--wood); background: rgba(76,175,80,0.08); }
.wuxing-zone[data-element="fire"] { border-color: rgba(231,76,60,0.3); }
.wuxing-zone[data-element="fire"] .zone-label { color: var(--fire); }
.wuxing-zone[data-element="fire"].zone-active { border-color: var(--fire); background: rgba(231,76,60,0.08); }
.wuxing-zone[data-element="earth"] { border-color: rgba(212,160,23,0.3); }
.wuxing-zone[data-element="earth"] .zone-label { color: var(--earth); }
.wuxing-zone[data-element="earth"].zone-active { border-color: var(--earth); background: rgba(212,160,23,0.08); }
.wuxing-zone[data-element="metal"] { border-color: rgba(189,195,199,0.3); }
.wuxing-zone[data-element="metal"] .zone-label { color: var(--metal); }
.wuxing-zone[data-element="metal"].zone-active { border-color: var(--metal); background: rgba(189,195,199,0.08); }
.wuxing-zone[data-element="water"] { border-color: rgba(52,152,219,0.3); }
.wuxing-zone[data-element="water"] .zone-label { color: var(--water); }
.wuxing-zone[data-element="water"].zone-active { border-color: var(--water); background: rgba(52,152,219,0.08); }

.herb-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}
.herb-chip {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-family: var(--font-serif);
}
.herb-chip:hover { background: var(--bg-card-light); }
.herb-chip.selected {
  border-color: var(--gold);
  background: rgba(212,160,23,0.12);
}
.herb-chip.classified {
  opacity: 0.3;
  pointer-events: none;
}
.herb-chip.correct-class {
  border-color: var(--jade);
  background: rgba(45,139,86,0.15);
}
.herb-chip.wrong-class {
  border-color: var(--cinnabar);
  background: rgba(196,30,58,0.12);
  animation: shake 0.4s ease;
}

/* 反馈弹窗 */
.feedback {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 48px;
  z-index: 1000;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.feedback.show {
  transform: translate(-50%, -50%) scale(1);
  animation: feedbackPop 0.6s ease forwards;
}
@keyframes feedbackPop {
  0% { transform: translate(-50%, -50%) scale(0); }
  40% { transform: translate(-50%, -50%) scale(1.2); }
  70% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* ===== 结算界面 ===== */
#screenResult {
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
}
.result-content {
  text-align: center;
  padding: 20px;
  animation: fadeInUp 0.6s ease;
}
.result-icon {
  font-size: 64px;
  margin-bottom: 12px;
}
.result-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.result-stars {
  font-size: 36px;
  letter-spacing: 8px;
  margin-bottom: 20px;
}
.result-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: var(--rice-dim);
  margin-bottom: 16px;
}
.result-score span:last-child {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}
.result-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  line-height: 1.8;
}
.result-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* 响应式 */
@media (max-width: 380px) {
  .game-title { font-size: 34px; }
  .option-btn { padding: 12px 8px; font-size: 14px; min-height: 70px; }
  .wuxing-zone { min-height: 60px; }
}
@media (min-width: 501px) {
  #app { border-left: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); }
}

/* ===== 登录/注册界面 ===== */
.auth-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1a0808 0%, #0d1a0d 50%, #0a0a1a 100%);
}
.auth-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(45,139,86,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(212,160,23,0.08) 0%, transparent 50%);
}
.auth-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  animation: fadeInUp 0.8s ease;
}
.auth-logo {
  font-size: 64px;
  margin-bottom: 12px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(45,139,86,0.4));
}
.auth-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(212,160,23,0.5);
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 14px;
  color: var(--rice-dim);
  margin-bottom: 32px;
}
.auth-form {
  width: 100%;
  max-width: 300px;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--rice);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(212,160,23,0.3);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-group input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.form-group input::placeholder {
  color: rgba(245,240,232,0.4);
}
.btn-full {
  width: 100% !important;
  max-width: 300px;
}

/* 免责声明复选框 */
.disclaimer-box { margin-bottom: 14px; }
.disclaimer-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.disclaimer-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.disclaimer-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--rice-dim);
}
.disclaimer-text b {
  color: var(--gold-light);
}
.auth-switch {
  font-size: 14px;
  color: var(--rice-dim);
}
.auth-switch a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

/* ===== 登录/注册界面 · 小屏适配（防止注册口被挤出屏幕） ===== */
.auth-container {
  overflow-y: auto;
}
@media (max-height: 640px) {
  .auth-container {
    justify-content: flex-start;
    padding: 28px 20px 40px;
  }
  .auth-logo { font-size: 44px; margin-bottom: 8px; }
  .auth-title { font-size: 28px; margin-bottom: 4px; }
  .auth-subtitle { font-size: 13px; margin-bottom: 18px; }
  .auth-form { margin-bottom: 16px; }
  .form-group { margin-bottom: 12px; }
  .form-group input { padding: 12px 14px; font-size: 14px; }
  .auth-switch { font-size: 13px; }
}
@media (max-height: 480px) {
  .auth-logo { display: none; }
  .auth-subtitle { display: none; }
  .auth-title { margin-bottom: 14px; }
}
.auth-switch a:hover {
  text-decoration: underline;
}

/* ===== 主界面 ===== */
#screenHome {
  background: linear-gradient(180deg, #1a0808 0%, #0d1a0d 50%, #0a0a1a 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-avatar {
  font-size: 24px;
}
.user-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
}
.user-level {
  font-size: 12px;
  padding: 2px 8px;
  background: rgba(212,160,23,0.2);
  border: 1px solid rgba(212,160,23,0.4);
  border-radius: 12px;
  color: var(--gold);
}
.btn-logout {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--rice-dim);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-logout:hover {
  background: rgba(255,255,255,0.15);
}

/* 打卡区域 */
.checkin-section {
  padding: 20px;
}
.checkin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(135deg, rgba(45,139,86,0.15) 0%, rgba(212,160,23,0.1) 100%);
  border: 1px solid rgba(45,139,86,0.3);
  border-radius: 16px;
  margin-bottom: 16px;
}
.checkin-info h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--rice);
  margin-bottom: 4px;
}
.checkin-streak {
  font-size: 13px;
  color: var(--jade-light);
}
.checkin-streak span {
  font-weight: 700;
  color: var(--gold-light);
}
.btn-checkin {
  padding: 10px 24px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(212,160,23,0.3);
}
.btn-checkin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,0.5);
}
.btn-checkin:active {
  transform: scale(0.95);
}
.btn-checkin.checked {
  background: rgba(255,255,255,0.1);
  color: var(--rice-dim);
  box-shadow: none;
  cursor: default;
}
.checkin-stats {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label {
  font-size: 12px;
  color: var(--rice-dim);
}

/* 关卡列表 */
.levels-section {
  padding: 0 20px 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--rice);
  margin-bottom: 16px;
  padding-left: 4px;
}
.levels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.level-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.level-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.level-card:active {
  transform: scale(0.98);
}
.level-card.locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.level-card.locked:hover {
  transform: none;
}
.level-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(45,139,86,0.2) 0%, rgba(212,160,23,0.15) 100%);
  border-radius: 12px;
  flex-shrink: 0;
}
.level-info {
  flex: 1;
  min-width: 0;
}
.level-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--rice);
  margin-bottom: 4px;
}
.level-desc {
  font-size: 12px;
  color: var(--rice-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.level-stars {
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.level-stars .star {
  color: rgba(255,255,255,0.2);
}
.level-stars .star.filled {
  color: var(--gold-light);
}

/* ===== 关卡详情界面 ===== */
#screenLevelDetail {
  background: linear-gradient(180deg, #1a0808 0%, #0d1a0d 50%, #0a0a1a 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.level-detail-content {
  padding: 20px;
}
.detail-herbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.detail-herb-card {
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-align: center;
}
.detail-herb-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.detail-herb-effect {
  font-size: 12px;
  color: var(--rice-dim);
}
.detail-games {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-game-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.detail-game-btn:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.detail-game-btn:active {
  transform: scale(0.98);
}
.detail-game-btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.detail-game-btn.locked:hover {
  transform: none;
}
.detail-game-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-game-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(45,139,86,0.2) 0%, rgba(212,160,23,0.15) 100%);
  border-radius: 10px;
}
.detail-game-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--rice);
}
.detail-game-stars {
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.detail-game-stars .star {
  color: rgba(255,255,255,0.2);
}
.detail-game-stars .star.filled {
  color: var(--gold-light);
}

/* 结算奖励 */
.result-rewards {
  margin: 16px 0;
  padding: 12px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 12px;
  text-align: center;
}
.result-rewards p {
  font-size: 14px;
  color: var(--gold-light);
}

/* 药食同源标签 */
.food-badge {
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;
  padding: 2px 8px;
  font-size: 10px;
  color: var(--jade-light);
  background: rgba(45,139,86,0.2);
  border: 1px solid rgba(45,139,86,0.4);
  border-radius: 10px;
}
.toxic-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  font-size: 10px;
  color: #ff9b9b;
  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.4);
  border-radius: 10px;
}
.herb-meta {
  font-size: 11px;
  color: var(--gold);
  margin-top: 2px;
}
.herb-origin {
  font-size: 11px;
  color: var(--rice-dim);
  margin-top: 4px;
}
.detail-game-desc {
  font-size: 11px;
  color: var(--rice-dim);
  margin-top: 2px;
}
.question-desc-small {
  font-size: 13px;
  color: var(--rice-dim);
  text-align: center;
  margin-top: 8px;
}
.herb-card-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.herb-card-tags span {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 10px;
  color: var(--gold-light);
}

/* 理论关卡样式 */
.detail-theory {
  padding: 16px 0;
}
.theory-desc {
  font-size: 14px;
  color: var(--rice-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 理论题目样式 */
.question-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--rice);
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

/* 配对游戏说明 */
.match-instruction {
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 12px;
}
.match-instruction p {
  font-size: 14px;
  color: var(--rice);
  margin: 4px 0;
}
.match-progress {
  font-size: 13px !important;
  color: var(--gold-light) !important;
  font-weight: 600;
}
.match-column-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  padding: 8px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(212,160,23,0.3);
}

/* ===== 经络班专属样式 ===== */
/* 结算页星星（result-stars 容器内） */
.result-stars .star {
  color: rgba(255,255,255,0.2);
  font-size: 42px;
  transition: all 0.3s ease;
}
.result-stars .star.filled { color: var(--gold-light); text-shadow: 0 0 18px rgba(240,208,96,0.6); }

/* 登录注册反馈 */
.form-feedback.feedback-error { color: #ff6b6b; font-size: 13px; min-height: 18px; margin: 4px 0; }
.form-feedback.feedback-success { color: var(--jade-light); font-size: 13px; min-height: 18px; margin: 4px 0; }

/* 穴位详情卡上的穴性标签 */
.acu-nature-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-light);
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 6px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 游戏问题标签（如"识穴 · 手太阴肺经"） */
.jl-question-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-light);
  background: rgba(212,160,23,0.12);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 16px;
  font-weight: 500;
}

/* 复习提示 */
.jl-review-hint {
  text-align: center;
  color: var(--rice-dim);
  font-size: 14px;
  background: rgba(212,160,23,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0 4px;
  line-height: 1.7;
}

/* 课程切换链接 */
.course-switch { text-align: center; margin-top: 18px; font-size: 14px; }
.course-switch a { color: var(--jade-light); text-decoration: none; opacity: 0.9; }
.course-switch a:hover { opacity: 1; text-decoration: underline; }
.home-switch { margin: 24px 0 40px; }

/* ===== 配对游戏样式 ===== */
.pair-game {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}
.pair-column {
  flex: 1;
  max-width: 200px;
}
.pair-column-title {
  text-align: center;
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 10px;
  font-weight: 600;
}
.pair-item {
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  color: var(--rice);
}
.pair-item:hover:not(.matched) {
  background: var(--bg-card-light);
  border-color: var(--gold);
}
.pair-item.selected {
  background: rgba(212,160,23,0.2);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212,160,23,0.3);
}
.pair-item.matched {
  background: rgba(76,175,80,0.2);
  border-color: var(--jade);
  color: var(--jade-light);
  cursor: default;
  opacity: 0.7;
}
.pair-item.wrong {
  background: rgba(231,76,60,0.2);
  border-color: var(--fire);
  animation: shake 0.3s;
}

/* ===== 排序游戏样式 ===== */
.sort-game {
  margin: 20px 0;
}
.sort-hint {
  text-align: center;
  font-size: 13px;
  color: var(--rice-dim);
  background: rgba(212,160,23,0.1);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 16px;
}
.sort-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.sort-item {
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sort-item:hover:not(.selected):not(.disabled) {
  background: var(--bg-card-light);
  border-color: var(--gold);
}
.sort-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--rice);
}
.sort-nature {
  font-size: 12px;
  color: var(--gold-light);
}
.sort-item.selected {
  background: rgba(76,175,80,0.2);
  border-color: var(--jade);
  cursor: default;
  opacity: 0.6;
}
.sort-item.wrong {
  background: rgba(231,76,60,0.2);
  border-color: var(--fire);
  animation: shake 0.3s;
}
.sort-selected {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
}
.sort-selected-title {
  font-size: 13px;
  color: var(--rice-dim);
  margin-bottom: 8px;
}
.sort-selected-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sort-selected-item {
  background: rgba(76,175,80,0.2);
  border: 1px solid var(--jade);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--jade-light);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ===== 荣誉墙（家长截图到店兑换） ===== */
.honor-wall-section { margin: 20px 0; }
.honor-wall-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 4px;
}
.honor-wall-title { font-size: 18px; font-weight: 700; color: var(--gold-light); }
.honor-wall-tip { font-size: 12px; color: var(--rice-dim); }
.honor-card {
  background: linear-gradient(160deg, rgba(212,160,23,0.14), rgba(198,40,40,0.12));
  border: 2px solid rgba(212,160,23,0.45);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.honor-user {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.honor-name { font-size: 19px; font-weight: 700; color: var(--rice); }
.honor-rank {
  font-size: 15px; font-weight: 700; color: #2a1a05;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 20px; padding: 4px 14px;
}
.honor-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 14px;
}
.honor-stat {
  background: rgba(0,0,0,0.22); border-radius: 10px;
  padding: 10px 4px; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.honor-stat b { font-size: 20px; color: var(--gold-light); }
.honor-stat span { font-size: 11px; color: var(--rice-dim); }
.honor-badges {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px; margin-bottom: 12px;
}
.honor-badge {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 12px; padding: 10px 4px; text-align: center;
}
.honor-badge-emoji { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.honor-badge-name { font-size: 12px; color: var(--rice); font-weight: 500; }
.honor-empty {
  grid-column: 1 / -1; text-align: center;
  color: var(--rice-dim); font-size: 13px; padding: 14px 0;
}
.honor-date {
  text-align: center; font-size: 12px; color: var(--rice-dim);
  border-top: 1px dashed rgba(255,255,255,0.15); padding-top: 10px;
}

/* ===== 歌诀玩法样式 ===== */
.jues-school { padding: 10px 0; }
.jues-title { font-size: 22px; font-weight: 700; color: var(--gold-light); text-align: center; margin-bottom: 16px; }
.jues-lines { background: var(--bg-card); border-radius: 12px; padding: 18px 16px; margin-bottom: 18px; }
.jues-line { font-size: 19px; line-height: 2; color: var(--rice); padding: 4px 10px; border-radius: 8px; cursor: pointer; transition: background .2s; }
.jues-line.reading { background: rgba(212,160,23,0.18); color: var(--gold-light); }
/* 生僻字注音（ruby拼音，如 俞shū/髆bó/腨chuán） */
.jues-line ruby, .jues-paragraph ruby { ruby-align: center; }
.jues-line ruby rt, .jues-paragraph ruby rt { font-size: 10px; color: var(--gold-light); font-weight: 700; padding: 0 1px; opacity: .95; }
.jues-section-label { font-size: 16px; font-weight: 700; color: var(--gold-light); margin: 14px 0 8px; padding: 6px 12px; border-left: 4px solid var(--gold); border-radius: 4px; background: rgba(212,160,23,0.08); }
.jues-paragraph { line-height: 2; text-indent: 2em; margin-bottom: 12px; padding: 12px 14px; border-radius: 8px; }
.jues-paragraph.jues-line-raw { font-size: 18px; color: var(--rice); font-style: italic; background: rgba(139,90,43,.06); border-left: 3px solid #b8943a; }
.jues-paragraph.jues-line-baihua { font-size: 17px; color: var(--rice-dim); background: rgba(74,124,89,.06); border-left: 3px solid #5a9d6a; }
.jues-line-raw.reading { background: rgba(212,160,23,0.18); color: var(--gold-light); }
.jues-line-baihua.reading { background: rgba(212,160,23,0.18); color: var(--gold-light); }
.jues-empty { text-align: center; color: var(--rice-dim); padding: 30px 0; }
.jues-actions { display: flex; flex-direction: column; gap: 12px; }
.jues-actions .btn { width: 100%; }
.btn-read { background: linear-gradient(135deg,#2f8f6b,#1f6b4f); }
.btn-read-baihua { background: linear-gradient(135deg,#4a7c59,#2f5a3a); }
.jues-line.reading, .jues-paragraph.reading { background: rgba(212,160,23,0.18); border-radius: 6px; transition: background 0.3s; }
.jues-line, .jues-paragraph { cursor: pointer; transition: background 0.3s; }
.jues-line:hover, .jues-paragraph:hover { background: rgba(212,160,23,0.08); border-radius: 6px; }
.jues-fill-q { font-size: 22px; letter-spacing: 1px; }
.fill-slot { color: var(--gold); font-weight: 700; border-bottom: 2px dashed var(--gold); }
.jues-challenge-hint { text-align: center; color: var(--rice-dim); font-size: 14px; margin-bottom: 14px; }
.jues-school-badge { display: inline-block; font-size: 12px; color: var(--gold-light); background: rgba(212,160,23,0.15); border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.jues-entry-title { font-size: 20px; color: var(--gold); margin: 18px 0 8px; }

/* ===== 养生拓展板块入口（24节气茶饮食疗 / 穴位急救妙招） ===== */
.health-entry { margin: 18px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.health-entry-card {
  position: relative; border-radius: var(--radius-lg); padding: 18px 14px; text-align: center;
  cursor: pointer; overflow: hidden; color: var(--rice);
  background: linear-gradient(150deg, rgba(212,160,23,0.22), rgba(196,30,58,0.18));
  border: 1px solid rgba(212,160,23,0.35); transition: transform .2s, box-shadow .2s;
}
.health-entry-card:active { transform: scale(0.97); }
.health-entry-card .he-icon { font-size: 34px; display: block; margin-bottom: 8px; }
.health-entry-card .he-img { height: 96px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 8px; background: linear-gradient(150deg, rgba(212,160,23,0.25), rgba(196,30,58,0.2)); }
.health-entry-card .he-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.health-entry-card .he-name { font-size: 16px; font-weight: 700; color: var(--gold-light); font-family: var(--font-serif); }
.health-entry-card .he-desc { font-size: 12px; color: var(--rice-dim); margin-top: 4px; line-height: 1.5; }
.health-entry-card .he-tag { position: absolute; top: 8px; right: 8px; font-size: 10px; color: var(--bg-dark); background: var(--gold-light); border-radius: 999px; padding: 1px 8px; font-weight: 700; }

/* ===== 欢迎说明弹窗 ===== */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex;
  align-items: center; justify-content: center;
  background: rgba(10,6,4,0.82); backdrop-filter: blur(3px);
  padding: 20px;
}
.welcome-card {
  max-width: 420px; width: 100%;
  background: linear-gradient(145deg, #fdfbf5, #f7f0e3);
  border: 2px solid #c9a96e;
  border-radius: 16px; padding: 32px 24px;
  text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.welcome-icon { font-size: 48px; margin-bottom: 12px; }
.welcome-title { font-size: 22px; color: #8b4513; margin-bottom: 12px; font-weight: 700; }
.welcome-text { font-size: 15px; color: #5a4a3a; line-height: 1.7; margin-bottom: 16px; }
.welcome-notice {
  background: #fff8e7; border: 1px solid #e8d5a0;
  border-radius: 10px; padding: 12px 14px; margin-bottom: 20px;
  text-align: left;
}
.welcome-notice strong { color: #b8860b; font-size: 14px; display: block; margin-bottom: 4px; }
.welcome-notice p { font-size: 13px; color: #7a6a5a; line-height: 1.6; margin: 0; }
.welcome-btn { width: 100%; padding: 12px; font-size: 16px; }

/* 歌诀填空注解 */
.jues-pinyin-note {
  background: #fff8e7; border: 1px solid #e8d5a0;
  border-radius: 8px; padding: 8px 12px; margin: 8px 0;
  font-size: 13px; color: #7a6a5a; line-height: 1.6;
}
.jues-note-icon { margin-right: 4px; }

/* ===== 全屏弹窗 ===== */
.health-modal {
  position: fixed; inset: 0; z-index: 999; display: none;
  background: rgba(10,6,4,0.78); backdrop-filter: blur(2px);
  padding: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.health-modal.open { display: block; }
.health-modal-inner { max-width: 640px; margin: 0 auto; min-height: 100%; background: var(--bg-dark); padding: 0 0 40px; }
.hm-header {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: linear-gradient(135deg, #7a1f2b, #4a1219);
  border-bottom: 2px solid var(--gold); color: var(--rice);
}
.hm-header .hm-back { background: none; border: none; color: var(--rice); font-size: 22px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.hm-header .hm-title { font-size: 19px; font-weight: 700; font-family: var(--font-serif); color: var(--gold-light); flex: 1; text-align: center; }
.hm-header .hm-placeholder { width: 40px; }
.hm-body { padding: 16px; }
.hm-intro { text-align: center; color: var(--rice-dim); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }

/* —— 24节气 —— */
.term-current {
  border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 16px;
  background: linear-gradient(150deg, rgba(212,160,23,0.18), rgba(45,139,86,0.12)); margin-bottom: 20px;
}
.term-current .tc-badge { display:inline-block; font-size: 12px; color: var(--bg-dark); background: var(--gold-light); border-radius: 999px; padding: 2px 10px; font-weight: 700; margin-bottom: 8px; }
.term-card {
  background: var(--bg-card); border: 1px solid rgba(212,160,23,0.18); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
}
.term-card.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212,160,23,0.4); }
.term-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.term-head .t-icon { font-size: 28px; }
.term-head .t-name { font-size: 18px; font-weight: 700; color: var(--gold-light); font-family: var(--font-serif); }
.term-head .t-season { font-size: 11px; color: var(--rice-dim); border: 1px solid rgba(245,240,232,0.25); border-radius: 6px; padding: 0 6px; }
.term-climate { font-size: 13px; color: var(--rice-dim); margin-bottom: 10px; line-height: 1.5; }
.term-recipe { background: var(--bg-card-light); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.term-recipe .tr-label { font-size: 12px; font-weight: 700; color: var(--jade-light); margin-bottom: 3px; }
.term-recipe .tr-name { font-size: 15px; color: var(--rice); font-weight: 700; }
.term-recipe .tr-ing { font-size: 13px; color: var(--rice-dim); line-height: 1.6; margin: 2px 0; }
.term-recipe .tr-effect { font-size: 12px; color: var(--gold-light); line-height: 1.6; }
.term-tip { font-size: 12.5px; color: var(--rice-dim); line-height: 1.7; border-left: 3px solid var(--jade); padding-left: 10px; margin-top: 8px; }

/* —— 急救妙招 —— */
.aid-card {
  background: var(--bg-card); border: 1px solid rgba(196,30,58,0.25); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
}
.aid-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.aid-head .a-icon { font-size: 26px; }
.aid-head .a-title { font-size: 17px; font-weight: 700; color: var(--rice); font-family: var(--font-serif); }
.aid-acu { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.aid-acu .acu-chip { font-size: 12.5px; color: var(--gold-light); background: rgba(212,160,23,0.14); border: 1px solid rgba(212,160,23,0.3); border-radius: 999px; padding: 2px 10px; }
.aid-method { font-size: 14px; color: var(--rice); line-height: 1.8; margin-bottom: 8px; }
.aid-method::before { content: '✋ 居家操作：'; color: var(--jade-light); font-weight: 700; }
.aid-caution { font-size: 12.5px; color: #f0a0a0; line-height: 1.7; background: rgba(196,30,58,0.12); border-radius: 8px; padding: 8px 10px; }
.aid-caution::before { content: '⚠️ 注意：'; font-weight: 700; }
.aid-disclaimer {
  margin-top: 18px; font-size: 12.5px; color: var(--rice-dim); line-height: 1.8;
  background: var(--bg-card-light); border: 1px dashed rgba(212,160,23,0.4); border-radius: 10px; padding: 12px;
}

/* ============================================================
   经络班 登录/注册页样式补齐（bg-pattern / auth-card / logo-mark）
   说明：jingluo.html 使用这套类名，此前缺失导致标题继承 64px 巨字、
   登录框被挤出屏幕。此处显式补齐并做小屏适配。
   ============================================================ */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(45,139,86,0.12) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(212,160,23,0.10) 0%, transparent 45%),
    linear-gradient(180deg, #101c14 0%, #0d1a12 45%, #0c0f1a 100%);
}
#screenLogin, #screenRegister {
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#screenLogin .auth-container,
#screenRegister .auth-container {
  position: relative;
  z-index: 1;
  min-height: 100%;
  height: auto;
  width: 100%;
  justify-content: flex-start;
  padding: 26px 16px 40px;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  margin: auto;
  padding: 26px 22px 22px;
  background: rgba(20,28,22,0.86);
  border: 1px solid rgba(212,160,23,0.28);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.auth-card .auth-logo {
  font-size: inherit;        /* 覆盖共用 .auth-logo 的 64px，防止标题变巨字 */
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: none;
  filter: none;
}
.auth-card .logo-mark {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212,160,23,0.14);
  border: 1.5px solid rgba(212,160,23,0.45);
  margin-bottom: 10px;
  box-shadow: 0 0 16px rgba(212,160,23,0.25);
}
.auth-card .auth-logo h1 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(212,160,23,0.4);
  margin: 0 0 4px;
  line-height: 1.35;
  text-align: center;
}
.auth-card .auth-subtitle {
  font-size: 13px;
  color: var(--rice-dim);
  margin: 0;
}
.auth-card .auth-form { margin-bottom: 16px; max-width: none; }
.auth-card .form-group { margin-bottom: 13px; }
.auth-card .form-group label {
  display: block;
  font-size: 13px;
  color: var(--rice-dim);
  margin-bottom: 5px;
}
.auth-card .form-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--rice);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(212,160,23,0.3);
  border-radius: 12px;
  outline: none;
}
.auth-card .form-group input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.11);
}
.auth-card .form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--rice);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(212,160,23,0.3);
  border-radius: 12px;
}
.auth-card .auth-switch { text-align: center; font-size: 13.5px; color: var(--rice-dim); }
.auth-card .auth-switch a { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.auth-card .course-switch { margin-top: 14px; font-size: 13px; text-align: center; }
.btn-block { width: 100%; }
@media (max-height: 640px) {
  #screenLogin .auth-container,
  #screenRegister .auth-container { padding: 18px 14px 32px; }
  .auth-card { padding: 18px 18px 16px; }
  .auth-card .logo-mark { width: 48px; height: 48px; font-size: 24px; margin-bottom: 6px; }
  .auth-card .auth-logo { margin-bottom: 12px; }
  .auth-card .auth-logo h1 { font-size: 21px; }
}

/* === 经络SVG人体图 === */
.meridian-detail {
  max-width: 320px;
  margin: 12px auto;
  background: rgba(253,248,238,0.08);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 14px;
  overflow: hidden;
}
.meridian-detail svg { display: block; width: 100%; height: auto; }
.meridian-detail .md-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  text-align: center;
  padding: 8px 0 4px;
}
.meridian-detail .md-subtitle {
  font-size: 12px;
  color: var(--rice-dim);
  text-align: center;
  padding-bottom: 6px;
}
.meridian-dot {
  cursor: pointer;
  transition: r 0.2s;
}
.meridian-dot:hover { filter: brightness(1.3); }
.meridian-dot-label {
  font-size: 10px;
  fill: var(--rice);
  text-anchor: middle;
  pointer-events: none;
}
.meridian-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}
.meridian-path-animated {
  stroke-dasharray: 8 4;
  animation: meridian-flow 3s linear infinite;
}
@keyframes meridian-flow {
  to { stroke-dashoffset: -24; }
}
.meridian-detail .md-acupoint-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 8px 10px 10px;
}
.meridian-detail .md-acupoint-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--rice);
  white-space: nowrap;
}
.meridian-detail .md-acupoint-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   图片放大查看器（点击放大、拖拽、捏合缩放）
   ============================================ */
.img-viewer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.img-viewer-overlay .iv-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  border: none; backdrop-filter: blur(4px);
  touch-action: manipulation;
}
.img-viewer-overlay .iv-zoom-btns {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 2;
}
.img-viewer-overlay .iv-zoom-btns button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff; font-size: 22px;
  border: none; cursor: pointer;
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
}
.img-viewer-overlay .iv-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.img-viewer-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  transform-origin: center center;
  transition: transform 0.05s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}
.img-viewer-overlay .iv-hint {
  position: absolute;
  bottom: 76px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  white-space: nowrap;
  z-index: 2;
}
/* 可点击的药材图片样式 */
.herb-img, .herb-img-question {
  cursor: pointer;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.herb-img:active, .herb-img-question:active {
  opacity: 0.8;
}

/* ============================================
   理念横幅（饮食有节·起居有常·顺时而食）
   ============================================ */
.motto-banner {
  margin: 10px 14px 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(212,160,23,0.10), rgba(212,160,23,0.18), rgba(212,160,23,0.10));
  border: 1px solid rgba(212,160,23,0.30);
}
.motto-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  padding: 8px 0;
  animation: motto-scroll 22s linear infinite;
  font-size: 13px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  letter-spacing: 1px;
}
@keyframes motto-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   好习惯打卡（今日3件小事）
   ============================================ */
.habit-section { margin: 14px 14px 0; }
.habit-card {
  background: var(--bg-card);
  border: 1px solid rgba(76,175,106,0.35);
  border-radius: var(--radius);
  padding: 14px;
}
.habit-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.habit-head h3 { font-size: 16px; color: var(--jade-light); font-family: var(--font-serif); }
.habit-streak { font-size: 12px; color: var(--gold-light); }
.habit-tasks { display: flex; flex-direction: column; gap: 8px; }
.habit-task {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card-light);
  border: 1px solid rgba(245,240,232,0.10);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.habit-task input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--jade);
  flex-shrink: 0;
  cursor: pointer;
}
.habit-task .ht-emoji { font-size: 20px; flex-shrink: 0; }
.habit-task .ht-text { flex: 1; font-size: 14px; color: var(--rice); line-height: 1.5; }
.habit-task .ht-group {
  font-size: 11px; color: var(--gold-light);
  border: 1px solid rgba(212,160,23,0.4);
  border-radius: 999px; padding: 2px 8px;
  flex-shrink: 0;
}
.habit-task.done {
  border-color: rgba(76,175,106,0.55);
  background: rgba(76,175,106,0.10);
}
.habit-task.done .ht-text { color: var(--jade-light); text-decoration: line-through; opacity: 0.85; }
.habit-progress {
  height: 6px; border-radius: 999px;
  background: rgba(245,240,232,0.10);
  margin-top: 12px; overflow: hidden;
}
.habit-progress .hp-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--jade), var(--jade-light));
  transition: width 0.3s ease;
}
.habit-tip { margin-top: 8px; font-size: 12px; color: var(--rice-dim); text-align: center; }

/* ============================================
   家长专区（好习惯养成 · 专题弹窗）
   ============================================ */
.pz-motto {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin: 10px 0 14px;
  padding: 10px;
  border-top: 1px solid rgba(212,160,23,0.25);
  border-bottom: 1px solid rgba(212,160,23,0.25);
}
.pz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .pz-grid { grid-template-columns: 1fr; } }
.pz-card {
  background: var(--bg-card-light);
  border: 1px solid rgba(212,160,23,0.30);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s;
}
.pz-card:active { transform: scale(0.97); border-color: var(--gold); }
.pz-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.pz-icon { font-size: 20px; }
.pz-icon-lg { font-size: 32px; }
.pz-name { font-size: 14px; font-weight: 700; color: var(--rice); font-family: var(--font-serif); }
.pz-name-lg { font-size: 18px; }
.pz-tag {
  font-size: 10px; color: var(--gold-light);
  border: 1px solid rgba(212,160,23,0.45);
  border-radius: 999px; padding: 1px 7px;
  margin-left: auto;
}
.pz-pain {
  font-size: 12px; color: var(--rice-dim);
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pz-cta { margin-top: 8px; font-size: 12px; color: var(--gold-light); font-weight: 700; }
.pz-topic-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pz-quote {
  font-family: var(--font-serif);
  font-size: 13px; line-height: 1.9;
  color: var(--gold-light);
  background: rgba(212,160,23,0.10);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.pz-section { margin-bottom: 14px; }
.pz-sec-label {
  font-size: 14px; font-weight: 700;
  color: var(--jade-light);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}
.pz-section p { font-size: 13.5px; line-height: 1.9; color: var(--rice); }
.pz-plan-count { float: right; color: var(--gold-light); font-size: 12px; }
.pz-plan-bar {
  height: 6px; border-radius: 3px;
  background: rgba(0,0,0,0.28);
  margin: 8px 0 12px; overflow: hidden;
}
.pz-plan-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s;
}
.pz-day {
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 10px; margin-bottom: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.pz-day.done { border-color: rgba(76,175,106,0.35); background: rgba(76,175,106,0.06); }
.pz-day-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; }
.pz-day-no {
  flex: none; font-size: 10px; font-weight: 700;
  color: var(--gold-light);
  border: 1px solid rgba(212,160,23,0.5);
  border-radius: 999px; padding: 2px 8px;
}
.pz-day-title { flex: 1; font-size: 13px; color: var(--rice); }
.pz-day-check { color: #7bc47f; font-weight: 700; font-size: 14px; }
.pz-day-body { padding: 0 12px 12px; }
.pz-day-body p { font-size: 13px; line-height: 1.85; color: var(--rice-dim); margin: 0 0 8px; }
.pz-day-task {
  font-size: 12px; line-height: 1.7;
  color: var(--gold-light);
  background: rgba(212,160,23,0.10);
  border-radius: 8px; padding: 8px 10px;
  margin-bottom: 10px;
}
.pz-day-btn {
  width: 100%; border: none; border-radius: 8px;
  padding: 9px 0; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #2a1a12; cursor: pointer;
  font-family: var(--font-sans);
}
.pz-day-btn.done {
  background: rgba(76,175,106,0.12);
  color: var(--jade-light);
  border: 1px solid rgba(76,175,106,0.45);
}
.pz-plan-note { font-size: 11px; line-height: 1.7; color: var(--rice-dim); opacity: 0.7; margin-top: 8px; }
.pz-teach { margin-top: 14px; background: linear-gradient(135deg, rgba(200,154,74,0.10), rgba(200,154,74,0.18)); border: 1.5px dashed var(--tea-gold, #c89a4a); border-radius: 12px; padding: 13px 15px; }
.pz-teach-title { font-size: 14.5px; font-weight: bold; color: var(--tea-gold, #c89a4a); margin-bottom: 6px; letter-spacing: 1px; }
.pz-teach p { font-size: 13px; color: var(--ink); line-height: 1.75; }
.pz-teach p b { color: var(--tea-gold, #c89a4a); }
.pz-teach-tip { margin-top: 8px; font-size: 11.5px; color: var(--rice-dim); opacity: 0.85; }
.pz-progress { font-size: 11.5px; color: var(--rice-dim); margin-top: 8px; }
.pz-progress b { color: var(--gold-light); }
.pz-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.pz-img-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 10px; overflow: hidden;
}
.pz-img-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pz-img-name {
  font-size: 12px; font-weight: 700; color: var(--gold-light);
  padding: 6px 8px 0;
}
.pz-img-desc { font-size: 10.5px; line-height: 1.6; color: var(--rice-dim); padding: 2px 8px 8px; }
.pz-img-note { font-size: 10.5px; line-height: 1.6; color: var(--rice-dim); opacity: 0.7; margin-bottom: 8px; }
.pz-actions { list-style: none; }
.pz-actions li {
  font-size: 13px; line-height: 1.8; color: var(--rice);
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed rgba(245,240,232,0.10);
}
.pz-actions li:last-child { border-bottom: none; }
.pz-actions li::before {
  content: "✅";
  position: absolute; left: 0; top: 7px;
  font-size: 13px;
}
.pz-habit-link {
  background: rgba(76,175,106,0.10);
  border: 1px dashed rgba(76,175,106,0.45);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px; line-height: 1.7;
  color: var(--rice-dim);
  cursor: pointer;
  margin-bottom: 12px;
}
.pz-habit-link b { color: var(--jade-light); }
.pz-back-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.25);
  border-radius: 10px;
  padding: 10px;
  color: var(--rice-dim);
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
}

/* ============================================
   注册页 · 家长焦虑调研（多选）
   ============================================ */
.survey-group { margin-bottom: 4px; }
.survey-label {
  display: block;
  font-size: 12.5px;
  color: var(--rice-dim);
  margin-bottom: 8px;
  line-height: 1.5;
}
.survey-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.survey-options label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  color: var(--rice);
  background: var(--bg-card-light);
  border: 1px solid rgba(245,240,232,0.10);
  border-radius: 8px;
  padding: 7px 9px;
  cursor: pointer;
}
.survey-options input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.survey-options label:has(input:checked) {
  border-color: rgba(212,160,23,0.55);
  background: rgba(212,160,23,0.10);
}

/* ============================================
   家长引导层（20261111）：答题家长话 + 今晚就能用
   ============================================ */
.family-tip-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(212,160,23,0.10);
  border: 1px solid rgba(212,160,23,0.40);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.65;
  color: var(--gold-light);
  animation: tipFadeIn 0.4s ease;
}
.family-tip-box b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
}
.family-tip-box {
  animation: tipFadeIn 0.4s ease;
}
@keyframes tipFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tonight-box {
  margin: 14px auto 0;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45,139,86,0.12), rgba(212,160,23,0.10));
  border: 1px solid rgba(212,160,23,0.45);
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rice);
}
.tonight-box b {
  color: var(--gold-light);
  letter-spacing: 1px;
}
/* ===== 家长专区（经络推拿版）· 手法卡与视频位 ===== */
.pz-tuina-list { display: flex; flex-direction: column; gap: 10px; }
.pz-tuina-card {
  background: rgba(212, 160, 23, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 12px 14px;
}
.pz-tuina-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pz-tuina-no {
  background: linear-gradient(135deg, var(--gold), #b8860b); color: #2a1a12;
  font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.pz-tuina-fa { font-size: 16px; font-weight: 700; color: var(--gold-light); }
.pz-tuina-row { font-size: 13.5px; line-height: 1.8; color: var(--rice); }
.pz-tuina-row b { color: var(--gold); }
.pz-xue-link {
  display: inline-flex; align-items: center;
  margin-left: 8px; padding: 2px 10px;
  background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light); border-radius: 999px;
  font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap;
  vertical-align: middle;
}
.pz-xue-link:active { background: rgba(212, 175, 55, 0.25); }
.pz-tuina-use {
  margin-top: 6px; font-size: 13px; color: var(--jade-light);
  background: rgba(45, 139, 86, 0.14); border-radius: 6px;
  padding: 4px 10px; display: inline-block;
}
.pz-video-soon {
  background: rgba(212, 160, 23, 0.06);
  border: 1px dashed rgba(212, 160, 23, 0.4);
  border-radius: 10px; padding: 14px 16px;
  font-size: 13.5px; color: var(--gold-light); line-height: 1.8; text-align: center;
}
.pz-video-box video {
  width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 10px; display: block; object-fit: contain;
}
