/* ===== 苹果风格弹窗样式 ===== */
    .apple-modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      z-index: 9999;
      justify-content: center;
      align-items: flex-end;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }
    .apple-modal-overlay.active {
      display: flex;
    }
    .apple-modal {
      background: #fff;
      width: 100%;
      max-width: 600px;
      max-height: 85vh;
      border-radius: 20px 20px 0 0;
      display: flex;
      flex-direction: column;
      animation: slideUp 0.35s cubic-bezier(0.32, 0.72, 0, 1);
      box-shadow: 0 -5px 40px rgba(0,0,0,0.2);
    }
    @keyframes slideUp {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }
    .apple-modal-handle {
      width: 36px;
      height: 5px;
      background: #d1d1d6;
      border-radius: 3px;
      margin: 8px auto;
    }
    .apple-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 20px;
      border-bottom: 1px solid #e5e5ea;
    }
    .apple-modal-title {
      font-size: 18px;
      font-weight: 600;
      color: #1c1c1e;
    }
    .apple-modal-close {
      font-size: 28px;
      color: #8e8e93;
      text-decoration: none;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #e5e5ea;
      border-radius: 50%;
      line-height: 1;
    }
    .apple-modal-close:hover {
      background: #d1d1d6;
      color: #333;
    }
    .apple-modal-body {
      overflow-y: auto;
      padding: 20px;
      -webkit-overflow-scrolling: touch;
    }
    .apple-modal-body img {
      width: 100%;
      max-width: 100%;
      margin-bottom: 15px;
      border-radius: 12px;
      display: block;
    }
    /* ===== 教程Tab按钮样式（渐变风格） ===== */
    .modal-tab-btns {
      display: flex;
      gap: 8px;
      flex: 1;
      justify-content: center;
      margin: 0 15px;
    }
    .modal-tab-btn {
      padding: 6px 14px;
      border: none;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
      color: #666;
      transition: all 0.3s ease;
      white-space: nowrap;
    }
    .modal-tab-btn:hover {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: #fff;
      transform: scale(1.05);
    }
    .modal-tab-btn.active {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: #fff;
      box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    }
    .tab-content {
      display: none;
    }
    .tab-content.active {
      display: block;
    }
    .tab-content img {
      width: 100%;
      max-width: 100%;
      margin-bottom: 15px;
      border-radius: 12px;
      display: block;
    }
    /* 电脑端适配 - 大图 */
    @media (min-width: 769px) {
      .apple-modal-overlay {
        align-items: center;
      }
      .apple-modal {
        border-radius: 20px;
        max-height: 80vh;
        max-width: 900px;
        margin: 20px;
      }
      .apple-modal-body img,
      .tab-content img {
        max-width: 100%;
        width: 100%;
      }
      .modal-tab-btn {
        padding: 8px 20px;
        font-size: 14px;
      }
    }
    /* 手机端适配 - 小图 */
    @media (max-width: 768px) {
      .modal-tab-btns {
        gap: 5px;
        margin: 0 8px;
      }
      .modal-tab-btn {
        padding: 5px 10px;
        font-size: 11px;
      }
      .apple-modal-body img,
      .tab-content img {
        width: 100%;
        border-radius: 8px;
      }
    }
