/* ============================================================
   dl_sport · home.css
   体育竞技主题（活力橙 #ff6b35 + 深蓝 #1e3a8a）
   Hero区: 左7右5分栏 + 悬浮赛事比分卡片组
   ============================================================ */

/* ===========================
 * Hero 区
 * =========================== */
.hero-sport {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
}

.hero-sport-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 107, 53, .25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(30, 58, 138, .35), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, .08), transparent 60%);
  z-index: 0;
}

.hero-sport-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255, 107, 53, .03) 24px 25px),
    repeating-linear-gradient(-45deg, transparent 0 24px, rgba(255, 255, 255, .02) 24px 25px);
  pointer-events: none;
}

.position-relative { position: relative; z-index: 2; }

/* 左侧：标题区 */
.sport-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--ks-primary) 0%, #ef4444 100%);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, .4);
  margin-bottom: 22px;
}

.sport-hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ks-text);
  letter-spacing: -1px;
}

.sport-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ks-primary) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sport-title-accent {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, .4);
}

.sport-hero-sub {
  font-size: 16px;
  color: var(--ks-text-2);
  margin-bottom: 24px;
  line-height: 1.7;
}
.sport-hero-sub small {
  display: block;
  font-size: 13px;
  color: var(--ks-muted);
  margin-top: 6px;
}

/* 横向加宽搜索框 */
.sport-search {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ks-border);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.sport-search-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-right: 1px solid var(--ks-border);
  color: var(--ks-text-2);
}
.sport-search-cat i { color: var(--ks-primary); }
.sport-search-cat select {
  background: transparent;
  border: none;
  color: var(--ks-text);
  outline: none;
  font-size: 14px;
  cursor: pointer;
}
.sport-search-cat select option { background: var(--ks-bg-2); color: var(--ks-text); }

.sport-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ks-text);
  padding: 12px 16px;
  font-size: 15px;
}
.sport-search input::placeholder { color: var(--ks-muted); }

.sport-search-btn {
  background: linear-gradient(135deg, var(--ks-primary) 0%, #ef4444 100%);
  color: #fff;
  border: none;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: all .25s;
  white-space: nowrap;
}
.sport-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, .5);
  color: #fff;
}

/* CTA 按钮组 */
.sport-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sport-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--ks-primary) 0%, #ef4444 100%);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 107, 53, .4);
  transition: all .25s;
}
.sport-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, .55);
}
.sport-btn-primary i { font-size: 22px; }
.sport-btn-primary span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.sport-btn-primary strong { font-size: 16px; }
.sport-btn-primary small { font-size: 11px; opacity: .85; font-weight: 400; }

.sport-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--ks-border-strong);
  color: var(--ks-text) !important;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
}
.sport-btn-outline:hover {
  background: rgba(255, 107, 53, .15);
  border-color: var(--ks-primary);
  color: var(--ks-primary) !important;
}

/* 紧凑数据条 */
.sport-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ks-border);
}
.sport-stat { display: flex; flex-direction: column; }
.sport-stat strong {
  font-size: 24px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.1;
}
.sport-stat span {
  font-size: 12px;
  color: var(--ks-muted);
  margin-top: 4px;
}

/* ===========================
 * 右侧：错位悬浮赛事比分卡片组
 * =========================== */
.sport-match-stack {
  position: relative;
  height: 480px;
  width: 100%;
}

.sport-match-card {
  position: absolute;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ks-border-strong);
  border-radius: 18px;
  padding: 18px 20px;
  text-decoration: none !important;
  color: var(--ks-text);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  display: block;
}

.sport-match-1 {
  top: 30px; left: 8%; right: 8%;
  z-index: 3;
  background: linear-gradient(145deg, rgba(255, 107, 53, .15) 0%, rgba(30, 58, 138, .25) 100%);
  border-color: rgba(255, 107, 53, .35);
}
.sport-match-2 {
  top: 220px; left: -6%; right: 38%;
  z-index: 2;
  transform: rotate(-4deg);
}
.sport-match-3 {
  top: 280px; left: 38%; right: -4%;
  z-index: 2;
  transform: rotate(3deg);
}

.sport-match-card:hover {
  transform: translateY(-8px) rotate(0);
  box-shadow: 0 24px 56px rgba(255, 107, 53, .35);
  border-color: var(--ks-primary);
  color: var(--ks-text);
  z-index: 5;
}

.sport-match-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ks-text-2);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ks-border);
}
.sport-match-head i { color: var(--ks-primary); font-size: 14px; }
.sport-match-live {
  margin-left: auto;
  color: var(--ks-danger);
  font-size: 11px;
  animation: livePulse 1.5s ease-in-out infinite;
}
.sport-match-upcoming {
  margin-left: auto;
  color: #fbbf24;
  font-size: 11px;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.sport-match-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sport-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 80px;
}
.sport-team span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ks-text);
}
.sport-team-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.sport-team-logo-1 { background: linear-gradient(135deg, #6cabdd, #1e3a8a); }
.sport-team-logo-2 { background: linear-gradient(135deg, #ef4444, #991b1b); }
.sport-team-logo-3 { background: linear-gradient(135deg, #fbbf24, #7c3aed); }
.sport-team-logo-4 { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.sport-team-logo-5 { background: linear-gradient(135deg, #10b981, #047857); }
.sport-team-logo-6 { background: linear-gradient(135deg, #f97316, #c2410c); }

.sport-match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.sport-match-score strong {
  font-size: 28px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  letter-spacing: 1px;
}
.sport-match-score small {
  font-size: 11px;
  color: var(--ks-muted);
}

.sport-match-vs {
  font-size: 18px;
  font-weight: 900;
  color: var(--ks-primary);
  flex: 1;
  text-align: center;
}

.sport-match-foot {
  display: flex;
  gap: 6px;
}
.sport-odd {
  flex: 1;
  text-align: center;
  padding: 7px 4px;
  background: rgba(255, 255, 255, .06);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ks-text-2);
  border: 1px solid var(--ks-border);
  transition: all .2s;
}
.sport-match-card:hover .sport-odd {
  background: rgba(255, 107, 53, .15);
  color: #fbbf24;
  border-color: rgba(255, 107, 53, .3);
}

/* ===========================
 * 联赛分类标签条
 * =========================== */
.sport-league-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0 28px;
}
.sport-league-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--ks-bg-3);
  border: 1px solid var(--ks-border);
  color: var(--ks-text-2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
}
.sport-league-tab:hover {
  border-color: var(--ks-primary);
  color: var(--ks-primary);
}
.sport-league-tab.active {
  background: linear-gradient(135deg, var(--ks-primary) 0%, #ef4444 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 53, .4);
}

/* ===========================
 * 赛事表格列表
 * =========================== */
.sport-match-list {
  background: var(--ks-bg-2);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius-lg);
  overflow: hidden;
}

.sport-match-row {
  display: grid;
  grid-template-columns: 100px 120px 1fr 240px 130px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ks-border);
  transition: all .2s;
}
.sport-match-row:last-child { border-bottom: none; }
.sport-match-row:hover {
  background: rgba(255, 107, 53, .06);
}

.sport-match-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sport-match-time strong {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}
.sport-match-time small {
  font-size: 11px;
  color: var(--ks-muted);
}

.sport-match-league {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--ks-bg-3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ks-text-2);
  width: fit-content;
}

.sport-match-vs-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.sport-team-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ks-text);
  flex: 1;
  text-align: center;
}
.sport-team-name:first-child { text-align: right; }
.sport-team-name:last-child { text-align: left; }
.sport-vs {
  color: var(--ks-primary);
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}

.sport-match-odds {
  display: flex;
  gap: 6px;
}
.sport-odd-pill {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  background: var(--ks-bg-3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  border: 1px solid var(--ks-border);
}

.sport-match-action { text-align: center; }
.sport-bet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--ks-primary) 0%, #ef4444 100%);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.sport-bet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, .45);
  color: #fff !important;
}

/* ===========================
 * 站点简介
 * =========================== */
.sport-about-img {
  position: relative;
  border-radius: var(--ks-radius-lg);
  overflow: hidden;
  box-shadow: var(--ks-shadow-lg);
}
.sport-about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.sport-about-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--ks-primary), #ef4444);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(255, 107, 53, .5);
}
.sport-about-badge i { font-size: 20px; display: block; margin-bottom: 4px; }
.sport-about-badge strong { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.sport-about-badge small { font-size: 11px; opacity: .9; margin-top: 4px; display: block; }

.sport-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.sport-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--ks-text-2);
  border-bottom: 1px dashed var(--ks-border);
}
.sport-feature-list li:last-child { border-bottom: none; }
.sport-feature-list i {
  color: #22c55e;
  font-size: 18px;
}

/* ===========================
 * APP 特色卡片
 * =========================== */
.sport-feature-card {
  background: var(--ks-bg-2);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.sport-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ks-primary), #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.sport-feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--ks-primary);
  box-shadow: 0 16px 40px rgba(255, 107, 53, .25);
}
.sport-feature-card:hover::before { transform: scaleX(1); }

.sport-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 53, .15), rgba(30, 58, 138, .25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--ks-primary);
  border: 1px solid rgba(255, 107, 53, .25);
}
.sport-feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ks-text);
}

/* ===========================
 * 三步骤区
 * =========================== */
.sport-step-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.sport-step-card {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 320px;
  background: var(--ks-bg-2);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all .3s;
}
.sport-step-card:hover {
  border-color: var(--ks-primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(255, 107, 53, .2);
}
.sport-step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ks-primary), #ef4444);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(255, 107, 53, .5);
}
.sport-step-icon {
  font-size: 40px;
  color: #fbbf24;
  margin: 16px 0 14px;
}
.sport-step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ks-text);
}
.sport-step-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--ks-primary);
  opacity: .5;
}

/* ===========================
 * 焦点资讯列表
 * =========================== */
.sport-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.sport-news-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--ks-bg-2);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  text-decoration: none !important;
  color: var(--ks-text);
  transition: all .25s;
}
.sport-news-item:hover {
  border-color: var(--ks-primary);
  transform: translateX(6px);
  background: linear-gradient(90deg, rgba(255, 107, 53, .08), transparent);
  color: var(--ks-text);
}
.sport-news-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ks-primary), #ef4444);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}
.sport-news-info { flex: 1; min-width: 0; }
.sport-news-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ks-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sport-news-info p {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--ks-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sport-news-time {
  font-size: 12px;
  color: var(--ks-muted);
}
.sport-news-arrow {
  color: var(--ks-muted);
  font-size: 14px;
  transition: all .25s;
}
.sport-news-item:hover .sport-news-arrow {
  color: var(--ks-primary);
  transform: translateX(4px);
}

/* ===========================
 * 版本时间线
 * =========================== */
.sport-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 24px;
}
.sport-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ks-primary), transparent);
}
.sport-timeline-item {
  position: relative;
  margin-bottom: 18px;
}
.sport-timeline-dot {
  position: absolute;
  left: -22px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ks-primary);
  border: 3px solid var(--ks-bg);
  box-shadow: 0 0 0 2px var(--ks-primary);
}
.sport-timeline-card {
  background: var(--ks-bg-2);
  border: 1px solid var(--ks-border);
  border-radius: var(--ks-radius);
  padding: 14px 18px;
  transition: all .25s;
}
.sport-timeline-card:hover {
  border-color: var(--ks-primary);
  transform: translateX(4px);
}
.sport-timeline-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 107, 53, .15);
  color: var(--ks-primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sport-timeline-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ks-text);
}

/* ===========================
 * 响应式适配
 * =========================== */
@media (max-width: 991.98px) {
  .hero-sport { padding: 64px 0 56px; }
  .sport-hero-title { font-size: 42px; }
  .sport-match-stack { height: 420px; margin-top: 32px; }
  .sport-match-row {
    grid-template-columns: 80px 100px 1fr 200px 110px;
    padding: 16px 18px;
    gap: 12px;
  }
  .sport-step-row { flex-direction: column; align-items: center; }
  .sport-step-arrow { transform: rotate(90deg); }
  .sport-about-img img { height: 320px; }
}

@media (max-width: 767.98px) {
  .hero-sport { padding: 48px 0 40px; }
  .sport-hero-title { font-size: 32px; }
  .sport-search { flex-direction: column; gap: 8px; }
  .sport-search-cat { border-right: none; border-bottom: 1px solid var(--ks-border); padding: 10px 14px; }
  .sport-search-btn { padding: 12px; }
  .sport-actions { flex-direction: column; }
  .sport-actions .btn { width: 100%; justify-content: center; }
  .sport-stats-bar { gap: 18px; }
  .sport-stat strong { font-size: 20px; }
  .sport-match-stack { height: 380px; }
  .sport-match-1, .sport-match-2, .sport-match-3 { left: 0; right: 0; }
  .sport-match-2 { top: 200px; }
  .sport-match-3 { top: 250px; }

  /* 赛事表格 → 卡片式 */
  .sport-match-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .sport-match-time { flex-direction: row; align-items: baseline; gap: 8px; }
  .sport-match-vs-row { justify-content: space-between; }
  .sport-match-action { text-align: stretch; }
  .sport-bet-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
  .sport-hero-title { font-size: 26px; }
  .sport-hero-tag { font-size: 11px; padding: 6px 14px; }
  .sport-match-stack { height: 360px; }
  .sport-match-card { padding: 14px 16px; }
  .sport-match-score strong { font-size: 22px; }
  .sport-team-logo { width: 38px; height: 38px; font-size: 10px; }
  .sport-team span { font-size: 12px; }
  .sport-league-tab { padding: 8px 16px; font-size: 13px; }
  .sport-about-img img { height: 240px; }
  .sport-feature-card { padding: 24px 18px; }
}

/* ===========================
 * 多端 APP 实机画廊
 * =========================== */
.sport-app-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.sport-app-item {
  text-align: center;
  transition: transform .35s ease;
}
.sport-app-item:hover { transform: translateY(-8px); }
.sport-app-screen {
  position: relative;
  padding: 18px;
  background: linear-gradient(160deg, #ffe9de, #ffd9c4 60%, #ffba9a);
  border: 2px solid #ff6b35;
  border-radius: 26px;
  box-shadow:
    0 18px 40px rgba(255, 107, 53, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .55);
  overflow: hidden;
}
.sport-app-screen::before {
  content: '';
  position: absolute; top: -40%; left: -10%;
  width: 140%; height: 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent);
  pointer-events: none;
  transform: rotate(-8deg);
}
.sport-app-screen img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(30, 58, 138, .35));
}
.sport-app-meta { padding-top: 22px; }
.sport-app-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.sport-app-meta h4 {
  font-size: 18px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 6px 0 6px;
}
.sport-app-meta p { font-size: 13px; line-height: 1.6; margin: 0; }

@media (max-width: 991.98px) {
  .sport-app-gallery { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 575.98px) {
  .sport-app-gallery { gap: 18px; }
  .sport-app-screen { padding: 12px; border-radius: 20px; }
  .sport-app-meta h4 { font-size: 16px; }
}


/* =================================================== */
/* MOBILE ENHANCED · dl_* 特殊模板 H5 自适应规则       */
/* =================================================== */
.hero img, section img, .content img, .card img { max-width: 100%; height: auto; }

@media (max-width: 991.98px) {
  .hero { padding: 80px 20px 60px !important; }
  .hero h1 { font-size: 48px !important; line-height: 1.05 !important; }
  .hero p, .hero-lead { font-size: 16px !important; line-height: 1.7 !important; }
}

@media (max-width: 768px) {
  .hero { padding: 64px 20px 48px !important; }
  .hero h1 { font-size: 38px !important; line-height: 1.1 !important; }
  .hero h1 em { font-size: 38px !important; }
  .hero p, .hero-lead { font-size: 15px !important; line-height: 1.75 !important; }
  .hero-cta, .hero-actions { display: flex; flex-direction: column; gap: 10px; }
  .hero-cta a, .hero-actions a, .hero-cta .btn {
    width: 100%; box-sizing: border-box; padding: 14px 20px !important;
    font-size: 15px !important; text-align: center; min-height: 48px;
    border-radius: 10px !important;
  }
  .hero-stats, .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-stats strong, .stats-grid strong { font-size: 26px !important; }
  /* sections */
  section { padding: 48px 16px !important; }
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; margin-bottom: 14px; }
  .card { margin-bottom: 12px; border-radius: 12px; }
  .card-body { padding: 18px 16px; }
  h2 { font-size: 1.4rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.15rem !important; }
  .btn-lg { padding: 12px 20px !important; font-size: 15px !important; width: 100%; min-height: 48px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lot-hero, .ks-hero { padding: 60px 16px !important; }
  .lot-hero h1, .ks-hero h1 { font-size: 36px !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px !important; }
  .hero h1 em { font-size: 30px !important; }
  .lot-hero h1, .ks-hero h1 { font-size: 28px !important; }
}
