﻿/* ═══ 样式 05：影院沉浸 — 浅灰底 #f3f7fa + 全宽渐变主视觉 + 双栏 ═══ */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap");

:root {
  --ci-bg: #f3f7fa;
  --ci-card: #ffffff;
  --ci-ink: #142433;
  --ci-text: #31495a;
  --ci-muted: #6e7f8a;
  --ci-border: #dce7ee;
  --ci-cyan: #009ad6;
  --ci-gold: #fdb933;
  --ci-green: #006c54;
  --ci-brown: #845538;
  --ci-blue: #426ab3;
  --ci-navy: #2b4490;
  --ci-shadow: 0 6px 24px rgba(43, 68, 144, 0.08);
  --ci-radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-wide {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--ci-bg);
  color: var(--ci-ink);
  margin: 0;
  min-height: 100vh;
  min-width: 1440px;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home-wide > .ci-main {
  flex: 1 0 auto;
}

body.home-wide > .ci-footer {
  flex: 0 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════
   全宽影院式主视觉（440px，渐变 #2b4490→#426ab3→#009ad6）
   ═══════════════════════════════════════════════════ */
.ci-hero {
  position: relative;
  width: 100%;
  height: 410px;
  overflow: hidden;
  background: linear-gradient(135deg,
      #2b4490 0%,
      #426ab3 45%,
      #009ad6 100%);
}

.ci-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%,
      rgba(253, 185, 51, 0.1) 0%,
      transparent 45%),
    radial-gradient(ellipse at 85% 25%,
      rgba(0, 154, 214, 0.12) 0%,
      transparent 40%),
    radial-gradient(ellipse at 50% 90%,
      rgba(0, 108, 84, 0.07) 0%,
      transparent 35%);
  z-index: 1;
}

.ci-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--ci-bg));
  z-index: 2;
}

.ci-hero-inner {
  position: relative;
  z-index: 3;
  width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 64px;
}

/* Hero Left: Title + Welcome + Buttons */
.ci-hero-left {
  width: 620px;
  min-height: 235px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ci-hero-logo {
  width: 390px;
  height: auto;
  filter: none;
}

.ci-hero-logo-link {
  display: inline-flex;
  padding: 0;
  margin-bottom: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ci-hero-logo-link:hover .ci-hero-logo {
  transform: translateY(-2px);
}

.ci-hero-title {
  font-family: "Bebas Neue", "Noto Sans SC", sans-serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 14px;
  color: #fff;
  line-height: 1;
  margin: 0 0 6px;
}

.ci-hero-title-gold {
  color: var(--ci-gold);
  text-shadow: 0 0 48px rgba(253, 185, 51, 0.35);
}

.ci-hero-welcome {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 8px;
  font-weight: 300;
  margin: 0 0 38px;
}

.ci-hero-actions {
  display: flex;
  gap: 12px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(8, 24, 60, 0.14);
}

.ci-btn {
  min-width: 118px;
  height: 42px;
  padding: 0 26px;
  border: none;
  border-radius: 8px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 3px;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.ci-btn:hover {
  transform: translateY(-3px);
}

.ci-btn-login {
  background: linear-gradient(135deg, var(--ci-cyan), var(--ci-blue));
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 154, 214, 0.32);
}

.ci-btn-register {
  background: linear-gradient(135deg, var(--ci-gold), #e6a520);
  color: var(--ci-navy);
  box-shadow: 0 8px 22px rgba(253, 185, 51, 0.3);
}

.ci-user-chip {
  display: none;
  width: min(460px, 100%);
  min-height: 70px;
  padding: 10px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow:
    0 16px 38px rgba(8, 24, 60, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ci-user-chip.is-visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ci-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ci-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(135deg, var(--ci-gold), var(--ci-cyan));
  color: var(--ci-navy);
  font-weight: 900;
  font-size: 18px;
  box-shadow:
    0 10px 24px rgba(0, 154, 214, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.ci-user-avatar.has-img {
  background: rgba(255, 255, 255, 0.14);
  padding: 2px;
}

.ci-user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ci-user-meta {
  min-width: 0;
}

.ci-user-name {
  display: block;
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
  font-size: 15px;
}

.ci-user-desc {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.ci-user-role {
  display: inline-flex;
  width: fit-content;
  max-width: 86px;
  height: 18px;
  margin-top: 4px;
  padding: 0 7px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  background: rgba(253, 185, 51, 0.18);
  color: var(--ci-gold);
  font-size: 10px;
  line-height: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.ci-user-role.is-ok {
  background: rgba(0, 108, 84, 0.18);
  color: #7ee3c6;
}

.ci-user-role.is-wait {
  background: rgba(253, 185, 51, 0.2);
  color: var(--ci-gold);
}

.ci-user-role.is-muted {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
}

.ci-user-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.ci-user-link {
  min-width: 76px;
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ci-gold), #ffd86b);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--ci-navy);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(253, 185, 51, 0.22);
}

.ci-user-logout {
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.ci-user-link:hover {
  color: var(--ci-navy);
  transform: translateY(-1px);
}

.ci-user-logout:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero Right: Two glass-morphism cards */
.ci-hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 340px;
  transform: translateY(-8px);
}

.ci-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px 24px;
}

.ci-glass-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--ci-gold);
  margin: 0 0 14px;
}

.ci-glass-card .notice-item {
  display: block;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ci-glass-card .notice-item:last-child {
  border-bottom: none;
}

.ci-glass-card .notice-item:hover {
  color: #fff;
}

.ci-glass-card .mini-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ci-gold);
  margin-right: 8px;
  vertical-align: middle;
}

.ci-qr-inner {
  text-align: center;
}

.ci-qr-inner img {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  margin: 0 auto 10px;
}

.ci-qr-inner p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 10px;
}

.ci-qr-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--ci-green), #00a078);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 108, 84, 0.35);
}

.ci-qr-download img {
  height: 16px;
  width: auto;
}

.ci-service-list {
  display: grid;
  gap: 10px;
}

.ci-service-link {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ci-service-link:hover {
  border-color: rgba(253, 185, 51, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════════════════
   彩种导航条 — 顶部彩色渐变线
   ═══════════════════════════════════════════════════ */
.ci-nav-strip {
  background: var(--ci-card);
  position: relative;
  border-bottom: 1px solid var(--ci-border);
  box-shadow: 0 4px 16px rgba(43, 68, 144, 0.04);
}

.ci-nav-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--ci-cyan),
      var(--ci-gold),
      var(--ci-green));
}

.ci-nav-strip-inner {
  width: 1400px;
  margin: 0 auto;
  display: flex;
}

.ci-nav-strip .lottery-tab {
  flex: 1;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  font-size: 14px;
  color: var(--ci-ink);
  border-right: 1px solid var(--ci-border);
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
  border-radius: 0;
  background: transparent;
  border-top: none;
  border-left: none;
  border-bottom: none;
}

.ci-nav-strip .lottery-tab:last-child {
  border-right: none;
}

.ci-nav-strip .lottery-tab:hover {
  background: rgba(0, 154, 214, 0.06);
  color: var(--ci-cyan);
}

.ci-nav-strip .lottery-tab:hover img {
  filter: none;
}

.ci-nav-strip .lottery-tab img {
  width: 30px;
  height: 30px;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}

.ci-news-ticker {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ci-border);
}

.ci-news-ticker[hidden] {
  display: none;
}

.ci-news-ticker-inner {
  width: 1400px;
  height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.ci-news-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ci-gold), var(--ci-cyan));
  box-shadow: 0 6px 16px rgba(43, 68, 144, 0.14);
}

.ci-news-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
  stroke-width: 2.4;
}

.ci-news-track {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--ci-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

#tickerText {
  --ci-news-start: 100%;
  --ci-news-distance: 900px;
  --ci-news-duration: 22s;
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  transform: translateX(var(--ci-news-start, 100%));
  will-change: transform;
}

#tickerText.is-running {
  animation: ciNoticeMarquee var(--ci-news-duration, 22s) linear infinite;
}

.ci-news-track:hover #tickerText.is-running {
  animation-play-state: paused;
}

.ci-news-run {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 36px;
  white-space: nowrap;
}

.ci-news-link {
  position: relative;
  flex: 0 0 auto;
  color: var(--ci-text);
  white-space: nowrap;
}

.ci-news-link::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ci-gold);
  transform: translateY(-50%);
}

.ci-news-run .ci-news-link:last-child::after {
  display: none;
}

.ci-news-link:hover {
  color: var(--ci-cyan);
}

@keyframes ciNoticeMarquee {
  from {
    transform: translateX(var(--ci-news-start, 100%));
  }

  to {
    transform: translateX(calc(-1 * var(--ci-news-distance, 900px)));
  }
}

.ci-home-state {
  width: 1400px;
  min-height: 42px;
  margin: 14px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(253, 185, 51, 0.34);
  border-radius: 8px;
  background: rgba(253, 185, 51, 0.08);
  color: var(--ci-text);
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(43, 68, 144, 0.05);
}

.ci-home-state[hidden] {
  display: none;
}

.ci-home-state strong {
  flex: 0 0 auto;
  color: #9b6500;
  font-weight: 900;
}

.ci-home-state span {
  min-width: 0;
  color: var(--ci-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════
   主体双栏布局（主内容 + 340px 侧栏）
   ═══════════════════════════════════════════════════ */
.ci-main {
  width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 28px 0 0;
}

/* ═══════════════════════════════════════════════════
   模块标题 — 渐变下划线
   ═══════════════════════════════════════════════════ */
.ci-section {
  margin-bottom: 36px;
}

.ci-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ci-border);
  position: relative;
}

.ci-section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
      var(--ci-cyan),
      var(--ci-gold),
      var(--ci-green));
}

.ci-section-head h2 {
  font-family: "Bebas Neue", "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 5px;
  margin: 0;
  color: var(--ci-navy);
}

.ci-section-head .ci-badge {
  margin-left: auto;
  font-size: 12px;
  color: var(--ci-cyan);
  background: rgba(0, 154, 214, 0.07);
  padding: 4px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════
   开奖结果 — 双列网格，卡片左侧 3px 渐变条
   ═══════════════════════════════════════════════════ */
.ci-draw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ci-draw-card {
  background: var(--ci-card);
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

.ci-draw-card:hover {
  border-color: rgba(0, 154, 214, 0.3);
  box-shadow: var(--ci-shadow);
}

/* Left-side gradient bar (3px) */
.ci-draw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--ci-cyan), var(--ci-blue));
}

.ci-draw-card:nth-child(2)::before {
  background: linear-gradient(180deg, var(--ci-gold), var(--ci-brown));
}

.ci-draw-card:nth-child(3)::before {
  background: linear-gradient(180deg, var(--ci-green), var(--ci-cyan));
}

.ci-draw-card:nth-child(4)::before {
  background: linear-gradient(180deg, var(--ci-blue), var(--ci-navy));
}

.ci-draw-card:nth-child(5)::before {
  background: linear-gradient(180deg, var(--ci-cyan), var(--ci-green));
}

.ci-draw-card:nth-child(6)::before {
  background: linear-gradient(180deg, var(--ci-gold), var(--ci-cyan));
}

.ci-draw-card:nth-child(7)::before {
  background: linear-gradient(180deg, var(--ci-navy), var(--ci-blue));
}

.ci-draw-card:nth-child(8)::before {
  background: linear-gradient(180deg, var(--ci-brown), var(--ci-gold));
}

.ci-draw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ci-draw-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 15px;
  color: var(--ci-ink);
}

.ci-draw-name img {
  width: 28px;
  height: 28px;
}

.ci-draw-issue {
  font-size: 11px;
  color: var(--ci-muted);
  background: rgba(0, 154, 214, 0.05);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.ci-draw-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  padding-left: 2px;
}

.ci-draw-balls .ball {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e73535, #b51224);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(229, 42, 42, 0.22);
}

.ci-draw-balls .ball.blue {
  background: linear-gradient(135deg, #2f8cff, #1d4fb7);
  box-shadow: 0 2px 8px rgba(47, 140, 255, 0.22);
}

.ci-draw-card.kl8 .ci-draw-balls {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  justify-content: stretch;
  gap: 8px 5px;
  padding-left: 0;
}

.ci-draw-card.kl8 .ci-draw-balls .ball {
  width: 40px;
  min-width: 40px;
  height: 40px;
  justify-self: center;
  font-size: 16px;
  background: linear-gradient(135deg, #e73535, #b51224);
  box-shadow: 0 2px 8px rgba(229, 42, 42, 0.22);
}

.ci-draw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ci-muted);
}

.ci-draw-footer a {
  color: var(--ci-cyan);
  font-weight: 700;
  transition: color 0.2s;
}

.ci-draw-footer a:hover {
  color: var(--ci-navy);
}

/* ═══════════════════════════════════════════════════
   三条渐变分隔线
   ═══════════════════════════════════════════════════ */
.ci-separator {
  height: 2px;
  border-radius: 1px;
  margin: 36px 0;
  background: linear-gradient(90deg,
      var(--ci-cyan),
      var(--ci-gold),
      var(--ci-green),
      var(--ci-blue),
      var(--ci-navy),
      transparent);
  opacity: 0.45;
  background-size: 220% 100%;
  animation: ciFlowLine 5s linear infinite;
}

.ci-nav-strip::before {
  background-size: 220% 100%;
  animation: ciFlowLine 5s linear infinite;
}

@keyframes ciFlowLine {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }

}

/* ═══════════════════════════════════════════════════
   走势入口 — 四列网格
   ═══════════════════════════════════════════════════ */
.ci-trend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ci-trend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--ci-card);
  border: 1px solid var(--ci-border);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-weight: 900;
  font-size: 14px;
}

.ci-trend-item:hover {
  border-color: rgba(0, 154, 214, 0.3);
  box-shadow: var(--ci-shadow);
}

.ci-trend-item img {
  width: 32px;
  height: 32px;
}

/* ═══════════════════════════════════════════════════
   福彩3D方案入口 — 断组 / 杀组合
   ═══════════════════════════════════════════════════ */
.ci-scheme-entry {
  position: relative;
}

.ci-scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ci-scheme-card {
  position: relative;
  min-height: 76px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 154, 214, 0.035), rgba(253, 185, 51, 0.055)),
    var(--ci-card);
  border: 1px solid var(--ci-border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(43, 68, 144, 0.06);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.ci-scheme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--ci-cyan);
}

.ci-scheme-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 154, 214, 0.28);
  box-shadow: var(--ci-shadow);
}

.ci-scheme-card span,
.ci-scheme-card strong,
.ci-scheme-card em,
.ci-scheme-card b {
  position: relative;
  z-index: 1;
}

.ci-scheme-symbol {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 8px;
}

.ci-scheme-icon {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(43, 68, 144, 0.14));
  transition: transform 0.2s;
}

.ci-scheme-card:hover .ci-scheme-icon {
  transform: translateY(-1px) scale(1.03);
}

.ci-scheme-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.ci-scheme-copy span {
  color: var(--ci-muted);
  font-size: 11px;
  font-weight: 800;
}

.ci-scheme-card strong {
  color: var(--ci-ink);
  font-size: 19px;
  line-height: 1.1;
  font-weight: 900;
}

.ci-scheme-card em {
  color: var(--ci-text);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.ci-scheme-card b {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--ci-cyan);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ci-scheme-card--break::before {
  background: linear-gradient(180deg, var(--ci-gold), #ff9850);
}

.ci-scheme-card--break .ci-scheme-symbol {
  color: #d78500;
}

.ci-scheme-card--break b {
  color: #b96b00;
}

.ci-scheme-card--kill::before {
  background: linear-gradient(180deg, var(--ci-cyan), var(--ci-blue));
}

.ci-scheme-card--kill .ci-scheme-symbol {
  color: var(--ci-blue);
}

.ci-scheme-card--kill b {
  color: var(--ci-blue);
}

/* ═══════════════════════════════════════════════════
   文章分组 — 双列网格
   ═══════════════════════════════════════════════════ */
.ci-article-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ci-article-group {
  background: var(--ci-card);
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius);
  overflow: hidden;
}

.ci-article-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ci-border);
  background: linear-gradient(90deg,
      rgba(0, 154, 214, 0.04),
      rgba(253, 185, 51, 0.06),
      rgba(0, 108, 84, 0.03));
}

.ci-article-group-head img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(43, 68, 144, 0.14);
}

.ci-article-group-head h3 {
  font-size: 14px;
  font-weight: 900;
  margin: 0;
  color: var(--ci-navy);
}

.ci-article-group-head .expert {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ci-article-group-head .expert img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ci-gold);
}

.ci-article-group-head .expert span {
  font-size: 11px;
  color: var(--ci-gold);
  font-weight: 700;
}

.ci-article-group-head .ci-article-more {
  padding: 4px 10px;
  border: 1px solid rgba(253, 185, 51, 0.42);
  border-radius: 999px;
  background: rgba(253, 185, 51, 0.08);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.ci-article-group-head .ci-article-more:hover {
  background: rgba(253, 185, 51, 0.16);
  border-color: rgba(253, 185, 51, 0.72);
  transform: translateY(-1px);
}

.ci-article-list {
  padding: 12px 18px 16px;
}

.ci-empty-state {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(0, 154, 214, 0.05);
  color: var(--ci-muted);
  font-size: 13px;
  font-weight: 800;
}

.ci-empty-state a {
  flex: 0 0 auto;
  color: var(--ci-cyan);
  font-weight: 900;
}

.ci-article-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 154, 214, 0.08);
  font-size: 13px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  color: var(--ci-text);
}

.ci-article-item:hover {
  color: var(--ci-cyan);
}

.ci-article-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ci-cyan);
}

.ci-article-item span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ci-article-item em {
  color: var(--ci-gold);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ci-article-item:last-child {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════
   广告区域
   ═══════════════════════════════════════════════════ */
.ci-ad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ci-ad-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ci-border);
}

.ci-ad-item img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════
   侧栏 — 带光点标识的卡片
   ═══════════════════════════════════════════════════ */
.ci-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 18px;
  align-self: start;
}

.ci-sidebar-card {
  background: var(--ci-card);
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius);
  overflow: hidden;
  box-shadow: var(--ci-shadow);
}

.ci-sidebar-card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ci-border);
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ci-navy);
}

.ci-sidebar-more {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(0, 154, 214, 0.08);
  color: var(--ci-cyan);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.ci-sidebar-more:hover {
  background: rgba(0, 154, 214, 0.14);
  color: var(--ci-blue);
}

.ci-sidebar-card-head .glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ci-cyan);
  box-shadow: 0 0 8px rgba(0, 154, 214, 0.4);
  flex-shrink: 0;
}

.ci-sidebar-card-head .glow-dot--gold {
  background: var(--ci-gold);
  box-shadow: 0 0 8px rgba(253, 185, 51, 0.4);
}

.ci-sidebar-card-head .glow-dot--green {
  background: var(--ci-green);
  box-shadow: 0 0 8px rgba(0, 108, 84, 0.4);
}

.ci-sidebar-card-head .glow-dot--blue {
  background: var(--ci-blue);
  box-shadow: 0 0 8px rgba(66, 106, 179, 0.4);
}

.ci-sidebar-card-body {
  padding: 16px 18px;
}

.ci-sidebar-card-body .notice-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 154, 214, 0.08);
  font-size: 13px;
  color: var(--ci-text);
  cursor: pointer;
  transition: color 0.2s;
}

.ci-sidebar-card-body .notice-item:hover {
  color: var(--ci-cyan);
}

.ci-sidebar-card-body .notice-item:last-child {
  border-bottom: none;
}

.ci-sidebar-card-body .mini-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ci-gold);
  margin-right: 0;
  vertical-align: middle;
}

/* QR card in sidebar */
.ci-qr-box {
  text-align: center;
  padding: 20px 18px;
}

.ci-qr-box img,
.ci-qr-box canvas {
  width: 138px;
  height: 138px;
  border-radius: 10px;
  margin: 0 auto 12px;
  display: block;
}

.ci-qr-box p {
  font-size: 12px;
  color: var(--ci-muted);
  margin: 0 0 14px;
}

.ci-qr-box.is-fallback .ci-qr-canvas {
  opacity: 0.72;
}

.ci-qr-box.is-fallback p {
  color: #9b6500;
  font-weight: 800;
}

.ci-download-btn {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ci-cyan), var(--ci-blue));
  color: #fff;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 20px rgba(43, 68, 144, 0.18);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.ci-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 68, 144, 0.24);
}

.ci-download-btn img {
  height: 18px;
  width: auto;
}

/* Side ads */
.ci-side-ads {
  display: grid;
  gap: 12px;
}

.ci-side-ads img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ci-border);
}

/* Friend links */
.ci-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ci-friend-link {
  padding: 6px 14px;
  background: rgba(0, 154, 214, 0.04);
  border: 1px solid var(--ci-border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ci-muted);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  font-weight: 700;
}

.ci-friend-link:hover {
  border-color: var(--ci-cyan);
  color: var(--ci-cyan);
}

.ci-other-links {
  display: grid;
  gap: 8px;
}

.ci-other-link {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--ci-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ci-text);
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(0, 154, 214, 0.04), rgba(253, 185, 51, 0.04));
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.ci-other-link:hover {
  border-color: rgba(0, 154, 214, 0.36);
  color: var(--ci-cyan);
  transform: translateX(2px);
}

.ci-other-link span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ci-other-link em {
  flex: 0 0 auto;
  color: var(--ci-gold);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

/* ═══════════════════════════════════════════════════
   页脚 — 浅色背景与顶部彩色线
   ═══════════════════════════════════════════════════ */
.ci-footer {
  position: relative;
  background: var(--ci-card);
  margin-top: 48px;
  padding: 28px 0;
  border-top: 0;
}

.ci-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--ci-cyan),
      var(--ci-gold),
      var(--ci-green),
      var(--ci-blue));
}

.ci-footer-inner {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ci-muted);
  font-size: 13px;
}

.ci-footer-links {
  display: flex;
  gap: 22px;
}

.ci-footer-links a {
  color: var(--ci-muted);
  text-decoration: none;
}

.ci-footer-links a:hover {
  color: var(--ci-cyan);
}

.ci-footer-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.ci-icp-link {
  color: var(--ci-muted);
}

.ci-icp-link:hover {
  color: var(--ci-cyan);
}
