/* ===== 详情页专属样式 ===== */

/* 公告栏 */
.announce-bar { background: #fafafa; border-bottom: 1px solid #e8e8e8; font-size: 13px; overflow: hidden; }
.announce-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 38px; padding: 0 16px; }
.announce-left { display: flex; align-items: center; flex-shrink: 0; color: #e53935; font-weight: bold; gap: 4px; }
.announce-icon { font-size: 15px; }
.announce-label { white-space: nowrap; }
.announce-center { flex: 1; overflow: hidden; position: relative; margin: 0 16px; }
.announce-scroll { white-space: nowrap; animation: announceScroll 20s linear infinite; }
.announce-scroll span { color: #2196f3; }
@keyframes announceScroll { 0%{transform:translateX(100%);} 100%{transform:translateX(-100%);} }
.announce-right { flex-shrink: 0; color: #666; font-family: 'Courier New', Consolas, monospace; font-size: 13px; font-weight: bold; }

/* 导航栏 */
.detail-nav { background: linear-gradient(135deg, #b71c1c, #d32f2f); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.detail-nav.pl5 { background: linear-gradient(135deg, #e65100, #f4511e); }
.detail-nav.fc3dpl3 { background: linear-gradient(135deg, #f57f17, #ffa000); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; }
.nav-item { color: rgba(255,255,255,0.8); padding: 15px 28px; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.2s; border-bottom: 3px solid transparent; letter-spacing: 1px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-item.active { color: #fff; background: rgba(255,255,255,0.15); border-bottom-color: #fff; font-weight: bold; }
.nav-home { position: relative; }
.nav-home::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 20px; background: rgba(255,255,255,0.3); }
.nav-history { position: relative; }
.nav-history::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 20px; background: rgba(255,255,255,0.3); }
.nav-history::after { content: 'NEW'; position: absolute; top: 4px; right: 4px; font-size: 9px; background: #ff9800; color: #fff; padding: 1px 4px; border-radius: 6px; line-height: 1.2; }

/* 主展示区 */
.detail-hero { background: #f0f0f0; padding: 0; }
.hero-inner { max-width: 1200px; margin: 0 auto; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 32px 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.hero-left { display: flex; align-items: center; gap: 16px; min-width: 200px; }
.lot-logo-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: transform 0.3s; }
.lot-logo-img:hover { transform: scale(1.08); }
.lot-name { font-size: 22px; font-weight: bold; color: #333; letter-spacing: 2px; }
.lot-issue { font-size: 14px; color: #e53935; font-weight: bold; margin-top: 2px; }
.lot-issue.pl5 { color: #ff5722; }
.lot-issue.fc3dpl3 { color: #ffa000; }

/* 大号彩球 */
.hero-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.big-balls { display: flex; align-items: center; gap: 12px; }
.big-ball { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; font-size: 28px; font-weight: bold; background: linear-gradient(135deg, #ff6f61, #e53935); box-shadow: 0 4px 12px rgba(229,57,53,0.25); transition: transform 0.3s; }
.big-ball:hover { transform: scale(1.1); }
.big-ball.pl5 { background: linear-gradient(135deg, #ff8a65, #ff5722); box-shadow: 0 4px 12px rgba(255,87,34,0.25); }
.big-ball.fc3dpl3 { background: linear-gradient(135deg, #ffca28, #ffa000); box-shadow: 0 4px 12px rgba(255,160,0,0.25); color: #7c5200; }
.big-form { font-size: 13px; color: #888; margin-top: 4px; }
.big-param { font-size: 11px; color: #aaa; }

/* 翻牌倒计时 */
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 260px; }
.countdown-label { font-size: 14px; color: #e53935; font-weight: bold; }
.countdown-label.pl5 { color: #ff5722; }
.countdown-label.fc3dpl3 { color: #ffa000; }
.flip-clock { display: flex; align-items: center; gap: 6px; }
.flip-unit { display: flex; align-items: center; gap: 4px; }
.flip-num { display: inline-block; background: #2a2a2a; color: #fff; padding: 10px 14px; border-radius: 6px; font-family: 'Courier New', 'Consolas', monospace; font-size: 30px; font-weight: bold; min-width: 54px; text-align: center; box-shadow: 0 3px 8px rgba(0,0,0,0.2); position: relative; }
.flip-num::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: rgba(255,255,255,0.1); }
.flip-label { font-size: 14px; color: #666; font-weight: bold; margin: 0 2px; }
.hero-plan-btn { padding: 10px 28px; border: none; border-radius: 24px; background: linear-gradient(135deg, #ff4757, #ff6b81); color: #fff; cursor: pointer; font-size: 14px; font-weight: bold; letter-spacing: 2px; box-shadow: 0 3px 12px rgba(255,71,87,0.35); transition: all 0.3s; animation: planGlow 2s ease-in-out infinite; }
.hero-plan-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,71,87,0.5); }
.hero-plan-btn.pl5 { background: linear-gradient(135deg, #ff9f43, #ee5a24); box-shadow: 0 3px 12px rgba(238,90,36,0.35); }
.hero-plan-btn.fc3dpl3 { background: linear-gradient(135deg, #feca57, #ff9f43); color: #7c5200; box-shadow: 0 3px 12px rgba(254,202,87,0.35); }

/* 彩种切换 */
.lot-selector { max-width: 1200px; margin: 0 auto; padding: 12px 0; display: flex; justify-content: center; gap: 12px; background: #f0f0f0; }
.lot-pill { padding: 6px 24px; border-radius: 20px; text-decoration: none; font-size: 13px; font-weight: bold; color: #666; background: #fff; border: 2px solid #e0e0e0; transition: all 0.2s; }
.lot-pill:hover { border-color: #bbb; }
.lot-pill.active { color: #fff; }
.lot-pill.active.fc3d { background: #e53935; border-color: #e53935; }
.lot-pill.active.pl5 { background: #ff5722; border-color: #ff5722; }
.lot-pill.active.fc3dpl3 { background: #ffa000; border-color: #ffa000; }

/* 内容区域 */
.detail-content { max-width: 1200px; margin: 0 auto 20px; background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); min-height: 400px; }
.content-inner { padding: 0; }
.tab-pane { display: none; padding: 24px 32px; }
.tab-pane.active { display: block; }
.content-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #f0f0f0; }
.section-title { font-size: 18px; font-weight: bold; color: #333; letter-spacing: 2px; position: relative; padding-left: 14px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: #e53935; }
.detail-nav.pl5 ~ .detail-content .section-title::before { background: #ff5722; }
.detail-nav.fc3dpl3 ~ .detail-content .section-title::before { background: #ffa000; }

/* 期数筛选 */
.period-filter { display: flex; gap: 8px; }
.filter-btn { padding: 6px 18px; border: 2px solid #e0e0e0; border-radius: 4px; background: #fff; color: #666; font-size: 13px; font-weight: bold; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: #ccc; background: #fafafa; }
.filter-btn.active { background: #e53935; border-color: #e53935; color: #fff; }
.filter-btn.active.pl5 { background: #ff5722; border-color: #ff5722; }
.filter-btn.active.fc3dpl3 { background: #ffa000; border-color: #ffa000; }

/* 详情页表格 */
.detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-table thead th { padding: 12px 8px; background: #f8f8f8; color: #555; font-weight: bold; text-align: center; border-bottom: 2px solid #e0e0e0; font-size: 13px; }
.detail-table tbody td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.detail-table tbody tr:hover { background: #fafafa; }
.detail-table .td-balls { display: flex; align-items: center; justify-content: center; gap: 6px; }
.detail-table .ball-d { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: bold; border: 2px solid; background: #fff; }
.ball-d.fc3d { color: #e53935; border-color: #e53935; }
.ball-d.pl5 { color: #ff5722; border-color: #ff5722; }
.ball-d.fc3dpl3 { color: #ffa000; border-color: #ffa000; }

/* 走势/预测/介绍内容区复用主页弹窗样式 */
.detail-trend h3, .detail-predict h3 { color: #333; margin: 20px 0 10px; font-size: 16px; border-left: 4px solid #e53935; padding-left: 12px; }
.detail-predict .predict-section { margin: 16px 0; }
.detail-rules { line-height: 2; }
.detail-rules h3 { color: #333; margin: 20px 0 10px; font-size: 16px; border-left: 4px solid #e53935; padding-left: 12px; }
.detail-rules .rule-item { background: #f9f9f9; border-radius: 6px; padding: 12px 16px; margin: 10px 0; line-height: 1.8; }
.detail-help h3 { color: #333; margin: 20px 0 10px; font-size: 16px; border-left: 4px solid #e53935; padding-left: 12px; }
.detail-help .help-item { background: #f9f9f9; border-radius: 6px; padding: 14px 18px; margin: 10px 0; }
.detail-help .help-item .q { font-weight: bold; color: #333; margin-bottom: 6px; }
.detail-help .help-item .a { color: #666; line-height: 1.8; }

/* 响应式 */
@media (max-width: 1000px) {
  .hero-inner { flex-direction: column; gap: 20px; padding: 20px; }
  .hero-left, .hero-right { min-width: auto; }
  .nav-item { padding: 12px 14px; font-size: 13px; }
  .tab-pane { padding: 16px; }
  .content-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .lot-selector { flex-wrap: wrap; padding: 10px; }
}
@media (max-width: 600px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; }
  .nav-item { padding: 10px 12px; font-size: 12px; }
  .big-ball { width: 44px; height: 44px; font-size: 22px; }
  .flip-num { font-size: 22px; padding: 8px 10px; min-width: 42px; }
}
