    .form-row {
      display: flex;
      gap: 12px;
    }
    .form-row .form-group {
      flex: 1;
    }
    .input-unit {
      position: relative;
    }
    .input-unit input {
      padding-right: 48px;
    }
    .input-unit .unit {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-tertiary);
      font-size: 14px;
      pointer-events: none;
    }
    .upload-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin: 12px 0;
    }
    .upload-grid .upload-zone {
      padding: 20px 8px;
      aspect-ratio: 3/4;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .upload-grid .upload-zone .upload-icon {
      width: 40px;
      height: 40px;
      font-size: 20px;
    }
    .upload-grid .upload-zone .upload-title {
      font-size: 12px;
    }
    .upload-grid .upload-zone .upload-hint {
      font-size: 10px;
    }
    .video-upload {
      margin: 12px 0;
    }
    .video-upload .upload-zone {
      padding: 28px 20px;
    }
    .textarea-field {
      width: 100%;
      padding: 14px 16px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 15px;
      line-height: 1.6;
      min-height: 100px;
      resize: vertical;
      font-family: inherit;
      transition: border-color 0.2s;
    }
    .textarea-field:focus {
      outline: none;
      border-color: var(--primary);
    }
    .textarea-field::placeholder {
      color: var(--text-tertiary);
    }
    .form-hint {
      font-size: 12px;
      color: var(--text-tertiary);
      margin-top: 4px;
    }
    .photo-preview-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin: 12px 0;
    }
    .photo-preview-grid img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: var(--radius-sm);
    }
    .photo-preview-grid .preview-item {
      position: relative;
    }
    .photo-preview-grid .preview-label {
      position: absolute;
      bottom: 6px;
      left: 6px;
      right: 6px;
      background: rgba(0,0,0,0.6);
      color: white;
      font-size: 11px;
      text-align: center;
      padding: 3px 0;
      border-radius: 6px;
    }

    /* ===== 动作评估卡片（美化重设计） ===== */
    .action-card {
      background: var(--card-bg);
      border-radius: 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      margin-bottom: 20px;
      overflow: hidden;
      border: 1.5px solid var(--border-light);
      transition: all 0.25s ease;
    }
    .action-card.done {
      border-color: #86efac;
      box-shadow: 0 2px 12px rgba(34,197,94,0.1);
    }

    /* 卡片头部 */
    .action-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 16px 12px;
    }
    .action-card-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(99,102,241,0.3);
    }
    .action-card.done .action-card-num {
      background: linear-gradient(135deg, #22c55e, #16a34a);
      box-shadow: 0 2px 6px rgba(34,197,94,0.3);
    }
    .action-card-title-group {
      flex: 1;
      min-width: 0;
    }
    .action-card-title {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.01em;
      line-height: 1.3;
      color: var(--text);
    }
    .action-card-targets {
      font-size: 11px;
      color: var(--text-tertiary);
      margin-top: 3px;
      line-height: 1.4;
    }
    .action-card-status {
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 12px;
      white-space: nowrap;
      background: #fef3c7;
      color: #92400e;
    }
    .action-card-status.done {
      background: #dcfce7;
      color: #166534;
    }

    /* 标准参考视频区域 */
    .action-reference-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #0f0f1a;
      margin: 0;
      overflow: hidden;
    }
    .action-reference-video {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .action-reference-empty {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.3);
      font-size: 14px;
      font-weight: 600;
      flex-direction: column;
      gap: 8px;
    }
    .action-reference-empty::before {
      content: '🎬';
      font-size: 32px;
      display: block;
    }
    .action-reference-label {
      position: absolute;
      top: 8px;
      left: 10px;
      background: rgba(99,102,241,0.85);
      color: white;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 6px;
      backdrop-filter: blur(4px);
    }

    /* 评估内容标签 */
    .action-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 12px 16px 8px;
    }
    .action-tag {
      font-size: 11px;
      font-weight: 500;
      color: #6366f1;
      background: #eef2ff;
      padding: 3px 8px;
      border-radius: 6px;
      white-space: nowrap;
    }

    /* 必拍面水平排列 */
    .action-angles-row {
      display: flex;
      gap: 10px;
      padding: 12px 16px 16px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .action-angle-btn {
      flex: 1;
      min-width: 90px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 14px 8px;
      border-radius: 14px;
      border: 2px dashed #c7d2fe;
      background: #faf5ff;
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
    }
    .action-angle-btn:active {
      transform: scale(0.96);
      border-color: #6366f1;
      background: #eef2ff;
    }
    .action-angle-btn .angle-icon {
      font-size: 24px;
      line-height: 1;
    }
    .action-angle-btn .angle-label {
      font-size: 13px;
      font-weight: 700;
      color: #4338ca;
    }
    .action-angle-btn .angle-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #d1d5db;
      margin-top: 2px;
    }
    /* 已完成角度 */
    .action-angle-btn.done {
      border-style: solid;
      border-color: #86efac;
      background: #f0fdf4;
    }
    .action-angle-btn.done .angle-label {
      color: #166534;
    }
    .action-angle-btn.done .angle-status-dot {
      background: #22c55e;
      box-shadow: 0 0 6px rgba(34,197,94,0.4);
    }
    .action-angle-btn.done::after {
      content: '✓';
      position: absolute;
      top: 6px;
      right: 8px;
      font-size: 12px;
      font-weight: 700;
      color: #22c55e;
    }

    /* 进度条 */
    .upload-progress {
      padding: 16px;
      text-align: center;
    }
    .upload-progress .progress-text {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 10px;
    }
    .upload-progress .progress-bar-wrap {
      width: 100%;
      height: 8px;
      background: #e5e7eb;
      border-radius: 4px;
      overflow: hidden;
    }
    .upload-progress .progress-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #6366f1, #8b5cf6);
      border-radius: 4px;
      transition: width 0.5s ease;
    }

    /* ===== 体态照片采集 ===== */
    .photo-hero {
      text-align: center;
      padding: 24px 0 16px;
    }
    .photo-hero-icon {
      font-size: 48px;
      margin-bottom: 12px;
      display: inline-block;
      animation: floatIcon 3s ease-in-out infinite;
    }
    @keyframes floatIcon {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    .photo-hero h1 {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 6px;
    }
    .photo-hero .subtitle {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* 人体环绕卡片 */
    .body-diagram-card {
      background: linear-gradient(160deg, #1a1f2e 0%, #0f172a 100%);
      border-radius: var(--radius);
      padding: 20px;
      margin-bottom: 16px;
      color: #e2e8f0;
      position: relative;
      overflow: hidden;
    }
    .body-diagram-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -30%;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 70%);
      pointer-events: none;
    }
    .body-diagram-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
    }
    .body-diagram-badge {
      background: rgba(251,191,36,0.15);
      color: #fbbf24;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      letter-spacing: 0.5px;
    }
    .body-diagram-progress {
      font-size: 14px;
      font-weight: 700;
      color: #fbbf24;
    }

    /* 中央人体 + 环绕点 */
    .body-circle-layout {
      position: relative;
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .body-outline {
      width: 55%;
      height: auto;
      color: #475569;
      position: absolute;
    }
    .angle-points {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
    }
    .angle-point {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .angle-point:active {
      transform: scale(0.9);
    }
    .angle-point.done .angle-point-circle {
      background: linear-gradient(135deg, #10b981, #059669);
      border-color: #10b981;
      box-shadow: 0 0 12px rgba(16,185,129,0.4);
    }
    .angle-point.done .angle-point-label {
      color: #34d399;
    }
    .angle-point-circle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(30,41,59,0.9);
      border: 2px solid #475569;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all 0.3s;
      backdrop-filter: blur(4px);
    }
    .angle-point:hover .angle-point-circle {
      border-color: #fbbf24;
      box-shadow: 0 0 8px rgba(251,191,36,0.25);
    }
    .angle-point-label {
      font-size: 10px;
      color: #94a3b8;
      margin-top: 4px;
      font-weight: 600;
      white-space: nowrap;
      text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
    .angle-point-thumb {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #10b981;
      box-shadow: 0 0 10px rgba(16,185,129,0.3);
    }

    /* 总进度条 */
    .photo-total-progress {
      height: 4px;
      background: rgba(255,255,255,0.08);
      border-radius: 2px;
      margin-top: 20px;
      overflow: hidden;
    }
    .photo-total-bar {
      height: 100%;
      background: linear-gradient(90deg, #fbbf24, #f59e0b);
      border-radius: 2px;
      transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 角度详情列表 */
    .photo-detail-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }
    .photo-detail-item {
      background: var(--card-bg);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 14px;
      border: 1.5px solid var(--border);
      transition: all 0.2s;
    }
    .photo-detail-item.done {
      border-color: var(--success);
      background: #f0fdf4;
    }
    .photo-detail-item:active {
      transform: scale(0.99);
    }
    .photo-detail-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--border-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
      color: var(--text);
    }
    .photo-detail-item.done .photo-detail-num {
      background: var(--success);
      color: white;
    }
    .photo-detail-info {
      flex: 1;
    }
    .photo-detail-name {
      font-size: 15px;
      font-weight: 600;
    }
    .photo-detail-status {
      font-size: 12px;
      color: var(--text-tertiary);
      margin-top: 2px;
    }
    .photo-detail-item.done .photo-detail-status {
      color: var(--success);
      font-weight: 600;
    }
    .photo-detail-preview {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .photo-detail-upload {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      background: var(--border-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
      cursor: pointer;
      border: 1.5px dashed var(--border);
      transition: all 0.2s;
    }
    .photo-detail-upload:active {
      background: var(--primary-light);
      border-color: var(--primary);
    }

    /* 拍摄指南 */
    .photo-guide-card {
      background: linear-gradient(135deg, #fef3c7, #fde68a);
      border-radius: var(--radius);
      padding: 20px;
      margin-bottom: 16px;
      color: #78350f;
    }
    .photo-guide-card h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .photo-guide-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .photo-guide-card li {
      font-size: 13px;
      line-height: 1.8;
      padding-left: 18px;
      position: relative;
    }
    .photo-guide-card li::before {
      content: '\2022';
      position: absolute;
      left: 4px;
      color: #b45309;
      font-weight: 700;
    }

    /* ===== MediaPipe 评估模态框样式 ===== */
    .training-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: #000;
      z-index: 300;
      display: flex;
      flex-direction: column;
    }
    .training-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: rgba(255,255,255,0.05);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .training-modal-title {
      color: white;
      font-size: 16px;
      font-weight: 600;
    }
    .training-modal-close {
      background: none;
      border: none;
      color: rgba(255,255,255,0.6);
      font-size: 22px;
      cursor: pointer;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
    }
    .training-modal-close:active {
      background: rgba(255,255,255,0.1);
    }
    .training-modal-body {
      flex: 1;
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
    }
    .modal-video-wrap {
      position: relative;
      width: 100%;
      flex: 1;
      min-height: 200px;
      background: #000;
      overflow: hidden;
    }
    /* 动作评估：主画面（全屏） */
    .assess-view-main {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 1;
      object-fit: contain;
      background: #000;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .assess-view-main.is-pip {
      bottom: 10px; right: 10px; top: auto; left: auto;
      width: 28%;
      aspect-ratio: 9 / 16;
      z-index: 20;
      border-radius: 8px;
      border: 2px solid rgba(255,255,255,0.3);
      object-fit: contain;
      background: #000;
    }
    /* 动作评估：小画面（右下角PIP） */
    .assess-view-pip {
      position: absolute;
      bottom: 10px; right: 10px;
      width: 28%;
      aspect-ratio: 9 / 16;
      z-index: 20;
      border-radius: 8px;
      border: 2px solid rgba(255,255,255,0.3);
      object-fit: contain;
      background: #000;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .assess-view-pip.is-main {
      bottom: auto; right: auto; top: 0; left: 0;
      width: 100%; height: 100%;
      aspect-ratio: auto;
      z-index: 1;
      border-radius: 0;
      border: none;
      object-fit: contain;
      background: #000;
    }
    /* Pose 骨骼画布（覆盖主画面，与video对齐） */
    .assess-pose-canvas {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: contain;
      z-index: 15;
      pointer-events: none;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .assess-pose-canvas.is-pip {
      bottom: 10px; right: 10px; top: auto; left: auto;
      width: 28%;
      aspect-ratio: 9 / 16;
      object-fit: contain;
      z-index: 25;
      border-radius: 8px;
      pointer-events: none;
    }
    /* 切换按钮 */
    .assess-swap-btn {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      z-index: 35;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(8px);
      border: 2px solid rgba(255,255,255,0.3);
      color: white;
      width: 48px; height: 48px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .modal-video-wrap:hover .assess-swap-btn,
    .assess-swap-btn:focus {
      opacity: 1;
    }
    .assess-swap-btn:active {
      transform: translate(-50%, -50%) scale(0.9);
    }
    .pose-status-overlay {
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 30;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(8px);
      color: white;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pose-status-overlay.ok {
      background: rgba(16,185,129,0.8);
    }
    .pose-status-overlay.warn {
      background: rgba(245,158,11,0.8);
    }
    .pose-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ef4444;
      animation: pulseDot 1.5s infinite;
    }
    .pose-status-overlay.ok .pose-status-dot {
      background: #10b981;
      animation: none;
    }
    @keyframes pulseDot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
    }
    .rep-counter {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 30;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(8px);
      color: white;
      padding: 10px 16px;
      border-radius: 12px;
      text-align: center;
      min-width: 70px;
    }
    .rep-counter .rep-num {
      font-size: 28px;
      font-weight: 800;
      line-height: 1;
    }
    .rep-counter .rep-label {
      font-size: 11px;
      opacity: 0.8;
      margin-top: 2px;
    }
    .pose-start-btn {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 30;
      background: linear-gradient(135deg, var(--primary), #8b5cf6);
      color: white;
      border: none;
      padding: 14px 36px;
      border-radius: 30px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(99,102,241,0.4);
      transition: all 0.3s;
      display: none;
    }
    .pose-start-btn.show {
      display: block;
      animation: bounceIn 0.5s;
    }
    @keyframes bounceIn {
      0% { transform: translateX(-50%) scale(0.8); opacity: 0; }
      60% { transform: translateX(-50%) scale(1.05); }
      100% { transform: translateX(-50%) scale(1); opacity: 1; }
    }
    .pose-complete-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 40;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(4px);
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
    }
    .pose-complete-overlay.show {
      display: flex;
    }
    .pose-complete-overlay .complete-icon {
      font-size: 56px;
      margin-bottom: 12px;
    }
    .pose-complete-overlay h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .pose-complete-overlay p {
      font-size: 14px;
      opacity: 0.8;
      margin-bottom: 20px;
    }
    .pose-complete-overlay .complete-btn {
      background: var(--success);
      color: white;
      border: none;
      padding: 12px 32px;
      border-radius: 24px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
    }
    .modal-play-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.5);
      z-index: 10;
      cursor: pointer;
    }
    .modal-play-overlay.hidden {
      display: none;
    }
    .modal-play-btn {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(255,255,255,0.95);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: var(--primary);
      padding-left: 4px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    }
    .training-modal-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px calc(12px + var(--safe-bottom));
      background: rgba(255,255,255,0.05);
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .ctrl-btn {
      background: rgba(255,255,255,0.12);
      border: none;
      color: white;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
      flex-shrink: 0;
    }
    .ctrl-btn:active {
      background: rgba(255,255,255,0.2);
    }
    .ctrl-time {
      color: rgba(255,255,255,0.7);
      font-size: 13px;
      font-variant-numeric: tabular-nums;
      flex-shrink: 0;
    }
    .ctrl-progress-wrap {
      flex: 1;
      height: 4px;
      background: rgba(255,255,255,0.15);
      border-radius: 2px;
      overflow: hidden;
      pointer-events: none;
    }
    .ctrl-progress-bar {
      height: 100%;
      width: 0%;
      background: var(--primary);
      border-radius: 2px;
      transition: width 0.3s linear;
    }

    /* 评估动作卡片改造 */
    .action-card .assess-btn {
      margin: 12px 16px 16px;
      width: calc(100% - 32px);
    }

    /* ===== 体态照片拍摄模态框（竖屏） ===== */
    .photo-capture-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: #000;
      z-index: 300;
      display: flex;
      flex-direction: column;
    }
    .photo-capture-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: rgba(255,255,255,0.05);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .photo-capture-title {
      color: white;
      font-size: 16px;
      font-weight: 600;
    }
    .photo-capture-close {
      background: none;
      border: none;
      color: rgba(255,255,255,0.6);
      font-size: 22px;
      cursor: pointer;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
    }
    /* 摄像头设备选择下拉菜单 */
    .camera-select {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      color: white;
      padding: 6px 10px;
      border-radius: 8px;
      font-size: 12px;
      max-width: 140px;
      cursor: pointer;
      outline: none;
    }
    .camera-select option {
      background: #1a1a2e;
      color: white;
    }
    /* 跳过方向检测复选框 */
    .skip-facing-check {
      display: flex;
      align-items: center;
      gap: 4px;
      color: rgba(255,255,255,0.7);
      font-size: 11px;
      cursor: pointer;
      white-space: nowrap;
    }
    .skip-facing-check input {
      width: 14px;
      height: 14px;
      cursor: pointer;
    }
    /* 镜像翻转复选框 */
    .mirror-check {
      display: flex;
      align-items: center;
      gap: 4px;
      color: rgba(255,255,255,0.7);
      font-size: 11px;
      cursor: pointer;
      white-space: nowrap;
    }
    .mirror-check input {
      width: 14px;
      height: 14px;
      cursor: pointer;
    }
    /* 镜像翻转CSS类 */
    .photo-camera-main.mirrored,
    .photo-pose-canvas.mirrored,
    .assess-view-main.mirrored,
    .assess-view-pip.mirrored,
    .assess-pose-canvas.mirrored {
      transform: scaleX(-1);
    }
    .photo-capture-close:active {
      background: rgba(255,255,255,0.1);
    }
    .photo-capture-body {
      flex: 1;
      overflow: hidden;
      position: relative;
      background: #000;
    }
    .photo-camera-main {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: contain;
      background: #000;
      z-index: 1;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .photo-video-pip {
      position: absolute;
      bottom: 10px; right: 10px;
      width: auto; height: auto;
      max-width: 28%;
      max-height: 25%;
      aspect-ratio: 9 / 16;
      z-index: 20;
      border-radius: 8px;
      object-fit: contain;
      border: 2px solid rgba(255,255,255,0.3);
      background: #111;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* 切换：摄像头变小窗口 */
    .photo-camera-main.is-pip {
      bottom: 10px; right: 10px;
      top: auto; left: auto;
      width: 28%;
      aspect-ratio: 9 / 16;
      z-index: 20;
      border-radius: 8px;
      border: 2px solid rgba(255,255,255,0.3);
    }
    /* 切换：标准图变主画面 */
    .photo-video-pip.is-main {
      bottom: auto; right: auto;
      top: 0; left: 0;
      width: 100%; height: 100%;
      max-width: none;
      max-height: none;
      aspect-ratio: auto;
      z-index: 1;
      border-radius: 0;
      border: none;
      object-fit: contain;
    }
    .photo-pose-canvas {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: contain;
      z-index: 15;
      pointer-events: none;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* 切换：骨骼画布跟随摄像头 */
    .photo-pose-canvas.is-pip {
      bottom: 10px; right: 10px;
      top: auto; left: auto;
      width: 28%;
      aspect-ratio: 9 / 16;
      object-fit: contain;
      z-index: 25;
      border-radius: 8px;
      pointer-events: none;
    }
    /* 标准姿势骨骼绘制层（覆盖在标准图PIP上） */
    .photo-reference-pose-canvas {
      position: absolute;
      bottom: 10px; right: 10px;
      width: auto; height: auto;
      max-width: 28%;
      max-height: 25%;
      aspect-ratio: 9 / 16;
      z-index: 21;
      pointer-events: none;
      border-radius: 8px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* 切换：标准图骨骼跟随标准图变主画面 */
    .photo-reference-pose-canvas.is-main {
      bottom: auto; right: auto;
      top: 0; left: 0;
      width: 100%; height: 100%;
      max-width: none;
      max-height: none;
      aspect-ratio: auto;
      z-index: 5;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* 相似度提示徽章 */
    .similarity-badge {
      position: absolute;
      bottom: 60px; right: 10px;
      z-index: 30;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(8px);
      color: white;
      padding: 6px 14px;
      border-radius: 16px;
      font-size: 13px;
      font-weight: 700;
      transition: all 0.3s;
      pointer-events: none;
    }
    .similarity-badge.high {
      background: rgba(16,185,129,0.85);
    }
    .similarity-badge.medium {
      background: rgba(245,158,11,0.85);
    }
    .photo-status-overlay {
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 30;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(8px);
      color: white;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s;
      white-space: nowrap;
    }
    .photo-status-overlay.ok {
      background: rgba(16,185,129,0.8);
    }
    .photo-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ef4444;
      animation: pulseDot 1.5s infinite;
    }
    .photo-status-overlay.ok .photo-status-dot {
      background: #10b981;
      animation: none;
    }
    .countdown-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 40;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.3);
    }
    .countdown-overlay.show {
      display: flex;
    }
    .countdown-num {
      font-size: 120px;
      font-weight: 800;
      color: white;
      text-shadow: 0 0 30px rgba(0,0,0,0.8);
      animation: countdownPulse 0.8s ease-out;
    }
    @keyframes countdownPulse {
      0% { transform: scale(1.5); opacity: 0; }
      50% { transform: scale(1.1); opacity: 1; }
      100% { transform: scale(1); opacity: 1; }
    }
    .capture-flash {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: white;
      z-index: 50;
      opacity: 0;
      pointer-events: none;
    }
    .capture-flash.flash {
      animation: flashAnim 0.3s ease-out;
    }
    @keyframes flashAnim {
      0% { opacity: 0.8; }
      100% { opacity: 0; }
    }
    .capture-done-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 45;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
    }
    .capture-done-overlay.show {
      display: flex;
    }
    .capture-done-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      margin-bottom: 12px;
    }
    .capture-done-text {
      color: white;
      font-size: 18px;
      font-weight: 700;
    }
    .photo-capture-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px calc(12px + var(--safe-bottom));
      background: rgba(255,255,255,0.05);
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    /* ===== 动作评估列表（与训练模块一致） ===== */
    .exercise-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .exercise-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      background: var(--border-light);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s;
      border: 1.5px solid transparent;
    }
    .exercise-item:active {
      transform: scale(0.98);
      background: var(--primary-light);
      border-color: var(--primary);
    }
    .exercise-item.done {
      background: #dcfce7;
      border-color: var(--success);
      opacity: 0.7;
    }
    .exercise-item.done .exercise-status {
      color: var(--success);
    }
    .exercise-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .exercise-item.done .exercise-num {
      background: var(--success);
    }
    .exercise-info {
      flex: 1;
    }
    .exercise-name {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 3px;
    }
    .exercise-meta {
      font-size: 12px;
      color: var(--text-tertiary);
    }
    .exercise-status {
      font-size: 12px;
      font-weight: 600;
      color: var(--primary);
      flex-shrink: 0;
    }
    .exercise-status.completed {
      color: var(--success);
    }
