* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f5f7fa; }



/* 视频容器 */
.video-container{
  position:fixed;top:0;left:0;right:0;height:calc(100vw*9/16);
  background:#000;z-index:10;
}
#video{width:100%;height:100%;object-fit:contain;display:none;}
#cover{
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:url('https://yizhi.qingyunshe.top/baner1.jpg') center/cover;
  display:flex;align-items:center;justify-content:center;
}
.play-btn{
  width:80px;height:80px;background:rgba(255,255,255,0.9);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:transform 0.2s;
}
.play-btn:active{transform:scale(0.95);}
.play-btn::after{
  content:'';width:0;height:0;border-left:28px solid #1677ff;border-top:18px solid transparent;border-bottom:18px solid transparent;margin-left:8px;
}

/* 标题栏 */
.header{
  position:fixed;top:calc(100vw*9/16);left:0;right:0;height:70px;background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 20px;box-shadow:0 2px 10px rgba(0,0,0,0.1);z-index:10;
}
.header-left{display:flex;align-items:center;gap:16px;}
.header-logo{width:50px;height:50px;border-radius:50%;overflow:hidden;border:3px solid rgba(255,255,255,0.3);}
.header-logo img{width:100%;height:100%;object-fit:cover;}
.title{font-size:15px;font-weight:600;color:#fff;line-height:1.3;}
.header-btn{padding:10px 20px;background:#fff;color:#667eea;border:none;border-radius:25px;font-size:14px;font-weight:500;box-shadow:0 2px 8px rgba(0,0,0,0.1);transition:all 0.3s ease;}
.header-btn:hover{background:#f8f9fa;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.15);}
.header-btn:active{transform:translateY(0);}

/* 纯文字视频列表 */
#mainContent{
  padding-top:calc(100vw*9/16 + 70px); /* 为视频容器和标题栏留出空间 */
  padding-bottom:60px; /* 为底部栏留出空间 */
}
.video-list{
  min-height:200px; /* 最小高度，确保即使没有内容也有一定高度 */
  overflow-y:auto;padding:8px 0;background:#f5f7fa;
}
.video-item{
  padding:14px 16px;background:#fff;border-bottom:1px solid #e5e6eb;
  display:flex;justify-content:space-between;align-items:center;
}
.video-item:active{background:#f2f3f5;}
.video-item.active{background:#e6f2ff;border-left:4px solid #1677ff;}
.video-title{font-size:14px;color:#1d2129;font-weight:500;}
.video-arrow{color:#c9cdd4;font-size:18px;}
.video-lock{color:#ff4d4f;}

/* 底部按钮 */
.bottom-bar{
  position:fixed;bottom:0;left:0;right:0;height:60px;background:#fff;border-top:1px solid #e5e6eb;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 16px;
}
.bottom-left{
  display:flex;align-items:center;gap:8px;
  font-size:14px;color:#666;
}
.bottom-left i{font-size:16px;}
.buy-btn{
  padding:10px 24px;background:#ff4d4f;color:#fff;border-radius:24px;font-size:14px;font-weight:500;
  border:none;cursor:pointer;
  display:flex;align-items:center;gap:8px;
  transition:all 0.2s ease;
}
.buy-btn:active{background:#ff7875;}

/* 企业微信弹窗 */
#wecom-popup{
  position:fixed;bottom:-100%;left:0;right:0;background:linear-gradient(180deg, #ffe4c4 0%, #ffd4a3 50%, #ffcc99 100%);border-radius:20px 20px 0 0;padding:20px;transition:bottom 0.3s ease;z-index:1000;
}
#wecom-popup.show{bottom:0;}
.wecom-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;position:relative;}
.wecom-title{font-size:18px;font-weight:600;color:#8b4513;width:100%;text-align:center;}
.wecom-close{width:32px;height:32px;border-radius:50%;border:none;background:rgba(255,255,255,0.5);color:#8b4513;font-size:20px;cursor:pointer;position:absolute;right:0;top:0;}
.wecom-subtitle{text-align:center;color:#8b4513;font-size:14px;margin-bottom:20px;}
.wecom-qrcode{width:200px;height:200px;margin:0 auto 16px;display:block;border-radius:12px;background:#fff;padding:10px;box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.wecom-tip{text-align:center;color:#8b4513;font-size:14px;}
.wecom-bg-icon{position:absolute;bottom:20px;left:20px;font-size:60px;color:rgba(139,69,19,0.1);pointer-events:none;}

.video-password-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.7);z-index:20;display:none;align-items:center;justify-content:center;}
.video-password-overlay.show{display:flex;}
.password-content{text-align:center;color:#fff;padding:20px;display:flex;flex-direction:column;align-items:center;}
.password-title{font-size:18px;font-weight:600;margin-bottom:16px;}
.password-input{width:200px;padding:12px;border:1px solid #e5e6eb;border-radius:8px;font-size:14px;margin-bottom:16px;text-align:center;background:#fff;}
.password-btn{padding:12px 32px;background:#1677ff;color:#fff;border:none;border-radius:8px;font-size:14px;cursor:pointer;font-weight:500;}
.password-btn:active{background:#4096ff;}

/* 下拉提示 */
.scroll-hint{
  position:fixed;right:16px;bottom:80px;z-index:100;
  background:rgba(22,119,255,0.9);color:#fff;
  padding:12px 6px;border-radius:16px;
  font-size:12px;display:flex;flex-direction:column;align-items:center;gap:6px;
  box-shadow:0 4px 12px rgba(22,119,255,0.3);
  animation:float 2s ease-in-out infinite;
  min-width:32px;
}
.scroll-hint span{
  writing-mode:vertical-rl;
  letter-spacing:3px;
  line-height:1.4;
}
.scroll-hint i{font-size:14px;animation:arrowMove 1.5s ease-in-out infinite;}
@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}
@keyframes arrowMove{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(3px);}
}