@charset "UTF-8";
/* ==========================================================================
   彩票168网F1官方网站 jinruihui.cn —— 中式喜庆 · 红金 · 祥云灯笼 · 圆角温暖
   样式表：Reset → 变量 → 基础排版 → 顶部条 → Header/导航 → 按钮 → Hero
   → 公告条 → 号码球 → 卡片/网格 → 表格 → 排行榜 → 标签 → 分页 → 面包屑
   → 时间轴 → FAQ 折叠 → 表单 → 侧边栏 → 页脚 → 浮动层 → 滚动动画 → 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol, pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

svg {
  display: block;
  fill: currentColor;
}

address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   2. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 品牌色 */
  --primary: #C8102E;          /* 主色：中国红 */
  --primary-dark: #7A0C1E;     /* 撞色：深绛红 */
  --primary-light: #E64A5F;    /* 主色浅调 */
  --gold: #FFD166;             /* 辅色：祥云金 */
  --gold-deep: #E0A32E;        /* 金色深调 */
  --gold-soft: #FFF1CF;        /* 金色柔光底 */
  --bg: #FFF8F0;               /* 页面背景：暖米白 */
  --bg-alt: #FDEFE2;           /* 分区背景 */
  --card-bg: #FFFFFF;          /* 卡片背景 */
  --text: #2B1A1C;             /* 文字主色 */
  --text-sub: #7A5C52;         /* 文字次色 */
  --text-light: #A98F84;       /* 文字弱色 */
  --border: #F0D9C4;           /* 边框 */
  --border-strong: #E4BFA0;    /* 强边框 */
  --success: #1F9254;
  --danger: #D6293E;

  /* 形状与层次 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(122, 12, 30, .06);
  --shadow-sm: 0 4px 12px rgba(122, 12, 30, .08);
  --shadow: 0 10px 28px rgba(122, 12, 30, .10);
  --shadow-lg: 0 20px 48px rgba(122, 12, 30, .16);
  --shadow-gold: 0 8px 24px rgba(224, 163, 46, .28);

  /* 布局 */
  --container: 1200px;
  --gap: 24px;
  --header-h: 76px;

  /* 过渡 */
  --t-fast: .18s ease;
  --t: .3s cubic-bezier(.22, .61, .36, 1);
  --t-slow: .6s cubic-bezier(.22, .61, .36, 1);

  /* 字体 */
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   3. 基础排版
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 102, .22) 0, transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(200, 16, 46, .10) 0, transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 209, 102, .16) 0, transparent 42%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-dark);
  letter-spacing: .5px;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }

p {
  margin-bottom: 1em;
}

a:hover {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(253, 239, 226, .7), rgba(255, 248, 240, .2));
}

.section--dark {
  background: linear-gradient(135deg, var(--primary-dark), #5A0816 70%);
  color: #FFF3E2;
}

.section--dark h2,
.section--dark h3 {
  color: var(--gold);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-deep); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-sub); }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }

/* 装饰分割线（祥云纹） */
.divider {
  height: 26px;
  margin: 8px auto 34px;
  width: 220px;
  background-image: radial-gradient(circle at 50% 50%, var(--gold) 0 38%, transparent 40%);
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
  transform: translateY(-50%);
}

.divider::before { left: 0; }
.divider::after { right: 0; background: linear-gradient(270deg, transparent, var(--border-strong)); }

/* 区块标题 */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: 4px;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  padding: 0 18px;
}

.section-head h2::after {
  content: "";
  display: block;
  height: 4px;
  width: 68px;
  margin: 12px auto 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.section-head p {
  color: var(--text-sub);
  max-width: 720px;
  margin: 12px auto 0;
}

.section-head--left {
  text-align: left;
}

.section-head--left h2::after {
  margin-left: 0;
}

.section-head--left p {
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   4. 顶部信息条
   -------------------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary) 45%, var(--primary-dark));
  color: #FFE9C9;
  font-size: .82rem;
  letter-spacing: .3px;
  border-bottom: 1px solid rgba(255, 209, 102, .35);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex: none;
}

.topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6CF09A;
  box-shadow: 0 0 0 0 rgba(108, 240, 154, .7);
  animation: pulse 2s infinite;
  flex: none;
}

.topbar__lists {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--gold);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(108, 240, 154, .6); }
  70% { box-shadow: 0 0 0 8px rgba(108, 240, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 240, 154, 0); }
}

/* --------------------------------------------------------------------------
   5. Header / 导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 248, 240, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), background var(--t);
}

.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 248, 240, .99);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-sm), inset 0 0 0 2px rgba(255, 209, 102, .55);
  flex: none;
}

.logo__mark svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
}

.logo__slogan {
  font-size: .68rem;
  letter-spacing: 2px;
  color: var(--gold-deep);
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li > a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: .98rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: translateX(-50%);
  transition: width var(--t);
  border-radius: 2px;
}

.nav-list > li > a:hover {
  color: var(--primary);
  background: rgba(255, 209, 102, .18);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.is-active::after {
  width: 52%;
}

.nav-list > li > a.is-active {
  color: var(--primary);
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 209, 102, .28), rgba(255, 209, 102, .06));
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  transition: box-shadow var(--t), border-color var(--t);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .10);
}

.search-box svg {
  width: 16px;
  height: 16px;
  fill: var(--text-light);
  flex: none;
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 130px;
  font-size: .9rem;
  padding: 6px 8px;
}

.search-box button {
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  font-size: .84rem;
  padding: 6px 14px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff;
  place-items: center;
  flex: none;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--primary);
  transition: transform var(--t), opacity var(--t);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEFCB;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  color: #FFEFCB;
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 0 3px rgba(255, 209, 102, .35);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--primary);
}

.btn--outline {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--primary);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--gold-soft);
}

.btn--sm { padding: 8px 16px; font-size: .86rem; }
.btn--lg { padding: 14px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #A00E24 100%);
  color: #FFF3E2;
  border-bottom: 4px solid var(--gold);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 88% 16%, rgba(255, 209, 102, .35) 0, transparent 26%),
    radial-gradient(circle at 6% 90%, rgba(255, 209, 102, .22) 0, transparent 30%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero__content h1 {
  color: #fff;
  font-size: 2.9rem;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .28);
}

.hero__content h1 .hl {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero__content h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: rgba(255, 209, 102, .32);
  border-radius: 4px;
  z-index: -1;
}

.hero__sub {
  font-size: 1.08rem;
  color: rgba(255, 243, 226, .9);
  margin-bottom: 26px;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 620px;
}

.hero__stat {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 209, 102, .32);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform var(--t), background var(--t);
}

.hero__stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 209, 102, .16);
}

.hero__stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1.2;
}

.hero__stat span {
  font-size: .78rem;
  color: rgba(255, 243, 226, .82);
}

.hero__media {
  position: relative;
}

.hero__media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 209, 102, .4);
  border: 2px solid rgba(255, 209, 102, .6);
}

.hero__media-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__media-sub {
  position: absolute;
  right: -16px;
  bottom: -32px;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.hero__media-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  top: -16px;
  left: -16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   8. 公告条（跑马灯）
   -------------------------------------------------------------------------- */
.notice-bar {
  background: linear-gradient(90deg, var(--gold-soft), #FFFDF7 50%, var(--gold-soft));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}

.notice-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  background: var(--primary);
  color: #FFEBC8;
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.notice-bar__label svg { width: 14px; height: 14px; fill: var(--gold); }

.marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.marquee__track {
  display: flex;
  gap: 48px;
  position: absolute;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-size: .9rem;
  color: var(--primary-dark);
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marquee__track span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. 号码球
   -------------------------------------------------------------------------- */
.balls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ball {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  flex: none;
  position: relative;
  box-shadow: inset -4px -6px 10px rgba(0, 0, 0, .18), inset 3px 3px 8px rgba(255, 255, 255, .45), var(--shadow-xs);
  transition: transform var(--t);
}

.ball::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 12px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  filter: blur(1px);
}

.ball:hover { transform: translateY(-4px) scale(1.06); }

.ball--red { background: radial-gradient(circle at 34% 30%, #F2536B, var(--primary) 62%, #8E0A1F); }
.ball--gold { background: radial-gradient(circle at 34% 30%, #FFE49A, var(--gold-deep) 62%, #A8741A); color: #4A2B06; }
.ball--dark { background: radial-gradient(circle at 34% 30%, #9E3244, var(--primary-dark) 62%, #4E0611); }
.ball--sm { width: 34px; height: 34px; font-size: .85rem; }
.ball--lg { width: 56px; height: 56px; font-size: 1.3rem; }

/* --------------------------------------------------------------------------
   10. 卡片 / 网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity var(--t);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.card:hover::before { opacity: 1; }

.card__body { padding: 20px; }

.card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card__title a:hover { color: var(--primary); }

.card__text {
  color: var(--text-sub);
  font-size: .9rem;
}

/* 玩法分类小卡片 */
.cat-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  height: 100%;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, var(--gold-soft));
}

.cat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  box-shadow: inset 0 0 0 2px rgba(255, 209, 102, .5);
}

.cat-card__icon svg { width: 26px; height: 26px; fill: var(--gold); }

.cat-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cat-card p { color: var(--text-sub); font-size: .88rem; margin: 0; }

/* 图片卡片 */
.media-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.media-card__media {
  position: relative;
  overflow: hidden;
}

.media-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.media-card:hover .media-card__media img { transform: scale(1.06); }

.media-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  font-size: .74rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.media-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.media-card__title a:hover { color: var(--primary); }

.media-card__desc {
  color: var(--text-sub);
  font-size: .88rem;
  flex: 1;
}

.media-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

/* 优势 / 图标卡片 */
.feature-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 30%, #FFF1CF, var(--gold-soft));
  border: 2px solid var(--gold);
}

.feature-card__icon svg { width: 30px; height: 30px; fill: var(--primary); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text-sub); margin: 0; }

/* 数据概览指标 */
.metric-card {
  background: linear-gradient(160deg, #fff, var(--gold-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 209, 102, .35);
}

.metric-card b {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.2;
  position: relative;
}

.metric-card span {
  font-size: .84rem;
  color: var(--text-sub);
  position: relative;
}

/* --------------------------------------------------------------------------
   11. 表格
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow-xs);
}

.data-table {
  min-width: 720px;
  font-size: .92rem;
}

.data-table thead th {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
  font-size: .9rem;
}

.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tbody tr:nth-child(even) { background: rgba(255, 241, 207, .35); }
.data-table tbody tr:hover { background: var(--gold-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .col-issue { font-family: var(--font-serif); color: var(--primary-dark); font-weight: 600; }
.data-table .col-link a { color: var(--primary); font-weight: 600; }

/* 状态徽标 */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge--live { background: rgba(31, 146, 84, .14); color: var(--success); }
.badge--done { background: rgba(122, 92, 82, .14); color: var(--text-sub); }
.badge--soon { background: rgba(255, 209, 102, .35); color: #96690F; }

/* 冷热号分布 */
.dist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dist-row .dist-label {
  width: 84px;
  flex: none;
  font-size: .86rem;
  color: var(--text-sub);
}

.dist-track {
  flex: 1;
  height: 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  overflow: hidden;
}

.dist-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary), var(--gold));
  width: 0;
  transition: width 1.2s cubic-bezier(.22, .61, .36, 1);
}

.dist-value {
  width: 54px;
  text-align: right;
  flex: none;
  font-size: .84rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* 柱状图（纯 CSS） */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 220px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.bar-chart__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}

.bar-chart__bar {
  width: 100%;
  max-width: 42px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  height: 0;
  transition: height 1.2s cubic-bezier(.22, .61, .36, 1);
  position: relative;
}

.bar-chart__bar span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .74rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.bar-chart__label {
  font-size: .78rem;
  color: var(--text-sub);
  white-space: nowrap;
}

/* 环形图（纯 CSS conic-gradient） */
.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(
    var(--primary) 0 42%,
    var(--gold) 42% 68%,
    var(--gold-deep) 68% 86%,
    var(--border-strong) 86% 100%
  );
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.donut::after {
  content: "";
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--border);
  position: absolute;
}

.donut__center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.donut__center b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
}

.donut__center span { font-size: .76rem; color: var(--text-sub); }

.legend {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  color: var(--text-sub);
}

.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
  font-style: normal;
}

.legend b { margin-left: auto; color: var(--primary-dark); }

/* --------------------------------------------------------------------------
   12. 排行榜
   -------------------------------------------------------------------------- */
.rank-list { counter-reset: rank; }

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--border);
  transition: background var(--t-fast);
}

.rank-item:hover { background: var(--gold-soft); }
.rank-item:last-child { border-bottom: 0; }

.rank-no {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .9rem;
  background: var(--bg-alt);
  color: var(--text-sub);
  flex: none;
}

.rank-item:nth-child(1) .rank-no { background: linear-gradient(135deg, #FFD166, #E0A32E); color: #4A2B06; }
.rank-item:nth-child(2) .rank-no { background: linear-gradient(135deg, #E8E8E8, #B9B9B9); color: #3A3A3A; }
.rank-item:nth-child(3) .rank-no { background: linear-gradient(135deg, #E4A97A, #C17642); color: #3A1E06; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  flex: none;
  box-shadow: inset 0 0 0 2px rgba(255, 209, 102, .5);
  font-size: .95rem;
}

.rank-info { flex: 1; min-width: 0; }
.rank-info b { display: block; font-size: .94rem; }
.rank-info span { font-size: .78rem; color: var(--text-light); }

.rank-rate {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  flex: none;
}

/* --------------------------------------------------------------------------
   13. 标签
   -------------------------------------------------------------------------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  color: var(--primary-dark);
  font-size: .82rem;
  transition: transform var(--t-fast), background var(--t), color var(--t);
}

.tag:hover {
  background: var(--primary);
  color: #FFEBC8;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tag--solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  border-color: transparent;
}

/* 文章分类导航 */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cat-nav button {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: .9rem;
  color: var(--text-sub);
  transition: all var(--t-fast);
}

.cat-nav button:hover { border-color: var(--primary); color: var(--primary); }

.cat-nav button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   14. 分页
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-sub);
  font-size: .9rem;
  transition: all var(--t-fast);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.pagination .is-current {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  border-color: transparent;
  font-weight: 700;
}

.pagination .is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   15. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .86rem;
  color: var(--text-sub);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "›";
  color: var(--gold-deep);
  font-weight: 700;
}

.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--primary); font-weight: 600; }

/* 栏目头图 */
.page-hero {
  position: relative;
  color: #FFF3E2;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

.page-hero__inner {
  position: relative;
  padding: 58px 0;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .35);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 243, 226, .9);
  margin: 0;
}

/* --------------------------------------------------------------------------
   16. 时间轴
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--primary), var(--gold));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding: 0 0 30px 24px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, .35);
}

.timeline__year {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline__item p { color: var(--text-sub); font-size: .92rem; margin: 0; }

/* --------------------------------------------------------------------------
   17. FAQ 折叠
   -------------------------------------------------------------------------- */
.faq { max-width: 900px; margin: 0 auto; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}

.faq-item.is-open {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-family: var(--font-serif);
}

.faq-q .faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  margin-left: auto;
  transition: transform var(--t), background var(--t);
}

.faq-q .faq-icon svg { width: 14px; height: 14px; fill: var(--primary); }

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
}

.faq-item.is-open .faq-icon svg { fill: var(--gold); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t);
  padding: 0 20px;
  color: var(--text-sub);
  font-size: .92rem;
  border-top: 0 solid var(--border);
}

.faq-item.is-open .faq-a {
  max-height: 480px;
  padding: 0 20px 20px;
  border-top-width: 1px;
  border-top: 1px dashed var(--border);
}

/* --------------------------------------------------------------------------
   18. 表单
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .88rem;
  color: var(--text-sub);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .94rem;
  outline: 0;
  transition: border-color var(--t), box-shadow var(--t);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .10);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control { min-height: 120px; resize: vertical; }

.form-hint { font-size: .78rem; color: var(--text-light); }
.form-hint.is-error { color: var(--danger); }
.form-hint.is-ok { color: var(--success); }

.subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe .form-control { flex: 1; min-width: 200px; }

/* --------------------------------------------------------------------------
   19. 侧边栏
   -------------------------------------------------------------------------- */
.sidebar { display: grid; gap: 22px; }

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

.widget__head {
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--gold-soft), #fff);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget__head::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
}

.widget__body { padding: 16px 18px; }

.hot-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}

.hot-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.hot-list .hot-no {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: .76rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-sub);
}

.hot-list li:nth-child(1) .hot-no { background: var(--primary); color: #FFEBC8; }
.hot-list li:nth-child(2) .hot-no { background: var(--gold); color: #4A2B06; }
.hot-list li:nth-child(3) .hot-no { background: var(--gold-deep); color: #fff; }

.hot-list a {
  font-size: .9rem;
  line-height: 1.55;
  display: block;
}

.hot-list a:hover { color: var(--primary); }
.hot-list time { font-size: .74rem; color: var(--text-light); }

/* 目录导航 */
.toc ol {
  counter-reset: toc;
  display: grid;
  gap: 8px;
}

.toc a {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.toc a:hover { color: var(--primary); }

.toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-weight: 700;
}

.toc li:last-child a { border-bottom: 0; }

/* --------------------------------------------------------------------------
   20. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(160deg, var(--primary-dark), #4E0611 80%);
  color: #F3D9C0;
  margin-top: 40px;
  border-top: 4px solid var(--gold);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(circle at 8% 12%, rgba(255, 209, 102, .12) 0, transparent 24%),
    radial-gradient(circle at 92% 20%, rgba(255, 209, 102, .10) 0, transparent 22%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 52px 0 34px;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer-col p,
.footer-col li {
  font-size: .88rem;
  color: rgba(243, 217, 192, .78);
  line-height: 1.9;
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; transition: padding var(--t-fast); }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo__mark {
  box-shadow: inset 0 0 0 2px rgba(255, 209, 102, .6);
}

.footer-logo .logo__name { color: var(--gold); }

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  flex: none;
  margin-top: 5px;
}

.footer-sitemap {
  position: relative;
  border-top: 1px solid rgba(255, 209, 102, .22);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .84rem;
}

.footer-sitemap span { color: rgba(243, 217, 192, .6); }
.footer-sitemap a { color: rgba(243, 217, 192, .8); }
.footer-sitemap a:hover { color: var(--gold); }

.footer-links {
  position: relative;
  border-top: 1px solid rgba(255, 209, 102, .22);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: .82rem;
}

.footer-links .label { color: var(--gold); font-weight: 600; }
.footer-links a { color: rgba(243, 217, 192, .68); }
.footer-links a:hover { color: var(--gold); }

.footer-disclaimer {
  position: relative;
  background: rgba(0, 0, 0, .22);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .8rem;
  color: rgba(243, 217, 192, .66);
  line-height: 1.9;
  margin-bottom: 18px;
}

.footer-disclaimer b { color: var(--gold); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 209, 102, .22);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(243, 217, 192, .6);
}

/* --------------------------------------------------------------------------
   21. 浮动层
   -------------------------------------------------------------------------- */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 950;
}

.float-service__btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  box-shadow: 0 8px 24px rgba(200, 16, 46, .4);
  position: relative;
}

.float-service__btn svg { width: 26px; height: 26px; fill: var(--gold); }

.float-service__btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 209, 102, .55);
  animation: ripple 2.4s infinite;
}

@keyframes ripple {
  0% { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.float-service__panel {
  position: absolute;
  right: 68px;
  bottom: 0;
  width: 236px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: none;
}

.float-service.is-open .float-service__panel { display: block; animation: fadeUp .3s ease; }

.float-service__panel h4 {
  font-size: .96rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.float-service__panel p { font-size: .82rem; color: var(--text-sub); margin-bottom: 6px; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 34px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t);
  z-index: 940;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top svg { width: 20px; height: 20px; fill: var(--primary); }
.back-to-top:hover { background: var(--primary); }
.back-to-top:hover svg { fill: var(--gold); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast 提示 */
.toast {
  position: fixed;
  left: 50%;
  top: 90px;
  transform: translate(-50%, -16px);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
  z-index: 999;
  border: 1px solid rgba(255, 209, 102, .6);
}

.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   22. 滚动入场动画
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* --------------------------------------------------------------------------
   23. 文章正文
   -------------------------------------------------------------------------- */
.article-header {
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 { margin: 14px 0 16px; font-size: 2.1rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: .86rem;
  color: var(--text-light);
  align-items: center;
}

.article-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; fill: var(--gold-deep); }

.article-body {
  font-size: 1.02rem;
  line-height: 2;
  color: #3B2723;
}

.article-body > * + * { margin-top: 18px; }

.article-body h2 {
  font-size: 1.45rem;
  margin-top: 40px;
  padding-left: 16px;
  border-left: 5px solid var(--primary);
  line-height: 1.5;
}

.article-body h3 {
  font-size: 1.18rem;
  margin-top: 26px;
  color: var(--primary);
}

.article-body p { margin-bottom: 0; }

.article-body ul,
.article-body ol {
  padding-left: 4px;
  display: grid;
  gap: 10px;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 26px;
  color: var(--text-sub);
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary), var(--gold));
}

.article-body ol { counter-reset: art-ol; }

.article-body ol li::before {
  counter-increment: art-ol;
  content: counter(art-ol);
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .74rem;
  font-weight: 700;
  color: #FFEBC8;
  background: var(--primary);
}

.article-body blockquote {
  background: var(--gold-soft);
  border-left: 5px solid var(--gold-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  color: #6A3A16;
  font-family: var(--font-serif);
  font-size: 1.02rem;
}

.article-body figure { margin: 24px 0; }

.article-body figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  width: 100%;
}

.article-body figcaption {
  text-align: center;
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 10px;
}

.article-body table {
  font-size: .92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-body thead th {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #FFEBC8;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}

.article-body tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}

.article-body tbody tr:nth-child(even) { background: rgba(255, 241, 207, .4); }

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 文内小结论卡片 */
.conclusion-card {
  background: linear-gradient(140deg, var(--gold-soft), #fff);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.conclusion-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.conclusion-card h4 svg { width: 18px; height: 18px; fill: var(--gold-deep); }

.conclusion-card ul { display: grid; gap: 8px; }

.conclusion-card li {
  font-size: .92rem;
  color: var(--text-sub);
  padding-left: 20px;
  position: relative;
}

.conclusion-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* 标签区 & 分享 */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}

.article-tags .label { font-size: .88rem; color: var(--text-sub); font-weight: 600; }

.share-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.share-group .label { font-size: .88rem; color: var(--text-sub); font-weight: 600; }

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border-strong);
  transition: all var(--t-fast);
}

.share-btn svg { width: 18px; height: 18px; fill: var(--primary); }

.share-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.share-btn:hover svg { fill: var(--gold); }

/* 上下篇 */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.post-nav a {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .92rem;
  transition: all var(--t-fast);
}

.post-nav a:hover {
  border-color: var(--primary);
  background: var(--gold-soft);
  transform: translateY(-3px);
}

.post-nav span {
  display: block;
  font-size: .76rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* 评论区 */
.comment-list { display: grid; gap: 16px; }

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.comment-body { flex: 1; min-width: 0; }

.comment-body .comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.comment-body .comment-head b { font-size: .92rem; }

.comment-body .comment-head time {
  font-size: .76rem;
  color: var(--text-light);
}

.comment-body p { font-size: .9rem; color: var(--text-sub); margin: 0; }

.comment-form {
  margin-top: 22px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   24. 筛选器 / 流程 / 口碑 / 荣誉
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: flex-end;
  padding: 20px 22px;
  background: linear-gradient(140deg, #fff, var(--gold-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.filter-bar .filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.filter-bar label {
  font-size: .8rem;
  color: var(--text-sub);
  font-weight: 600;
}

.filter-bar select {
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .9rem;
  outline: 0;
  cursor: pointer;
  transition: border-color var(--t-fast);
}

.filter-bar select:focus { border-color: var(--primary); }

.filter-bar .filter-actions { margin-left: auto; display: flex; gap: 10px; }

.filter-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-sub);
  font-size: .94rem;
}

/* 参与流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
  position: relative;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.step-card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: rgba(200, 16, 46, .10);
  font-weight: 700;
  line-height: 1;
}

.step-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  box-shadow: inset 0 0 0 2px rgba(255, 209, 102, .5);
}

.step-card__icon svg { width: 26px; height: 26px; fill: var(--gold); }
.step-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step-card p { font-size: .86rem; color: var(--text-sub); margin: 0; }

/* 用户口碑 */
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}

.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 4.4rem;
  color: rgba(200, 16, 46, .12);
  line-height: 1;
}

.testimonial p {
  font-size: .94rem;
  color: var(--text-sub);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.testimonial__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.testimonial__user b { display: block; font-size: .92rem; }
.testimonial__user span { font-size: .78rem; color: var(--text-light); }

.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: .9rem; }

/* 荣誉资质 */
.honor-card {
  text-align: center;
  padding: 22px 16px;
  background: var(--card-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  transition: all var(--t);
}

.honor-card:hover {
  border-style: solid;
  border-color: var(--primary);
  background: var(--gold-soft);
  transform: translateY(-4px);
}

.honor-card svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  fill: var(--gold-deep);
}

.honor-card b { display: block; font-size: .94rem; margin-bottom: 4px; }
.honor-card span { font-size: .78rem; color: var(--text-light); }

/* 团队 */
.team-card {
  text-align: center;
  padding: 24px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-card .avatar {
  width: 76px;
  height: 76px;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { color: var(--gold-deep); font-size: .84rem; margin-bottom: 8px; }
.team-card p { font-size: .84rem; color: var(--text-sub); margin: 0; }

/* 企业文化 / 价值观 */
.value-card {
  padding: 26px 22px;
  background: linear-gradient(160deg, #fff, var(--gold-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--gold);
  margin-bottom: 14px;
}

.value-card__icon svg { width: 24px; height: 24px; fill: var(--primary); }
.value-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.value-card p { font-size: .88rem; color: var(--text-sub); margin: 0; }

/* 服务承诺 */
.promise-list { display: grid; gap: 14px; }

.promise-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
}

.promise-list svg { width: 20px; height: 20px; fill: var(--gold-deep); flex: none; margin-top: 3px; }
.promise-list b { display: block; font-size: .96rem; margin-bottom: 2px; }
.promise-list span { font-size: .86rem; color: var(--text-sub); }

/* 联系方式 & 地图占位 */
.contact-info { display: grid; gap: 16px; }

.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-info .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  flex: none;
}

.contact-info .ci-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-info b { display: block; font-size: .92rem; margin-bottom: 2px; }
.contact-info span,
.contact-info address { font-size: .88rem; color: var(--text-sub); }

.map-placeholder {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    repeating-linear-gradient(0deg, rgba(200, 16, 46, .05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(200, 16, 46, .05) 0 1px, transparent 1px 40px),
    linear-gradient(140deg, var(--gold-soft), #fff);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.map-placeholder svg { width: 48px; height: 48px; fill: var(--primary); margin: 0 auto 10px; }
.map-placeholder b { display: block; font-size: 1rem; margin-bottom: 6px; }
.map-placeholder span { font-size: .86rem; color: var(--text-sub); }

/* CTA 区块 */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  color: #FFF3E2;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 209, 102, .5);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 209, 102, .14);
}

.cta-band::before { width: 220px; height: 220px; left: -70px; top: -90px; }
.cta-band::after { width: 300px; height: 300px; right: -110px; bottom: -150px; }

.cta-band h2 { color: var(--gold); position: relative; margin-bottom: 12px; }
.cta-band p { position: relative; color: rgba(255, 243, 226, .9); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn { position: relative; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: var(--card-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-sub);
}

.empty-state svg { width: 52px; height: 52px; fill: var(--border-strong); margin: 0 auto 12px; }

/* --------------------------------------------------------------------------
   25. 工具类
   -------------------------------------------------------------------------- */
.list-clean { list-style: none; padding: 0; margin: 0; }
.inline-flex { display: inline-flex; align-items: center; gap: 6px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   26. 响应式 —— 1200 / 992 / 768 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root { --container: 1080px; --gap: 20px; }

  .hero__grid { gap: 32px; }
  .hero__content h1 { font-size: 2.5rem; }
  .grid--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
  .search-box input { width: 100px; }
}

@media (max-width: 992px) {
  .hamburger { display: grid; }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #FFFDFA;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow);
    margin-left: 0;
  }

  .main-nav.is-open { max-height: 60vh; overflow-y: auto; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .nav-list > li > a {
    padding: 13px 12px;
    border-radius: var(--radius-sm);
    border-bottom: 1px dashed var(--border);
  }

  .nav-list > li:last-child > a { border-bottom: 0; }
  .nav-list > li > a::after { display: none; }

  .search-box { display: none; }

  .header-inner { position: relative; }
  .header-tools { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; padding: 52px 0 46px; }
  .hero__media { order: -1; }
  .hero__media-sub { width: 40%; right: 8px; bottom: -26px; }
  .hero__content h1 { font-size: 2.2rem; }

  .grid--4,
  .grid--5,
  .grid--6 { grid-template-columns: repeat(2, 1fr); }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--sidebar { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 46px 0; }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .hero__content h1 { font-size: 1.85rem; }
  .article-header h1 { font-size: 1.6rem; }

  .topbar__inner { justify-content: center; gap: 8px 16px; padding: 6px 0; }
  .topbar__lists { justify-content: center; gap: 12px; }
  .topbar__item--grow { display: none; }

  .logo__name { font-size: 1.3rem; }
  .logo__mark { width: 40px; height: 40px; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { flex: 1; }
  .hero__media-sub { display: none; }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5,
  .grid--6 { grid-template-columns: 1fr; }
  .grid--4.grid--keep-2 { grid-template-columns: repeat(2, 1fr); }

  .sidebar { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 24px; }

  .cta-band { padding: 32px 22px; }
  .filter-bar { padding: 16px; }
  .filter-bar .filter-item { min-width: 100%; }
  .filter-bar .filter-actions { margin-left: 0; width: 100%; }
  .filter-bar .filter-actions .btn { flex: 1; }

  .article-body h2 { font-size: 1.25rem; margin-top: 30px; }
  .article-cover img { aspect-ratio: 4 / 3; }

  .float-service { right: 14px; bottom: 88px; }
  .float-service__panel { right: 0; bottom: 64px; width: 210px; }
  .back-to-top { right: 14px; bottom: 26px; width: 42px; height: 42px; }

  .ball { width: 38px; height: 38px; font-size: .9rem; }
  .ball--lg { width: 46px; height: 46px; font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 36px 0; }

  h1 { font-size: 1.55rem; }
  .hero__content h1 { font-size: 1.55rem; }
  .hero__stats { gap: 10px; }
  .hero__stat b { font-size: 1.35rem; }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .topbar { font-size: .74rem; }
  .topbar__lists { gap: 10px; }

  .search-box input { width: 80px; }

  .balls { gap: 7px; }
  .ball { width: 32px; height: 32px; font-size: .8rem; }

  .card__body { padding: 16px; }
  .cat-card { flex-direction: column; gap: 12px; }

  .pagination a,
  .pagination span { min-width: 34px; height: 34px; font-size: .82rem; padding: 0 9px; }

  .article-body { font-size: .98rem; line-height: 1.95; }
  .article-body blockquote { padding: 14px 16px; font-size: .96rem; }
  .article-body ul li,
  .article-body ol li { padding-left: 22px; }

  .cta-band { border-radius: var(--radius); }
  .cta-band .btn { width: 100%; }

  .widget__body { padding: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .toast { width: calc(100% - 28px); text-align: center; padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar,
  .site-header,
  .back-to-top,
  .float-service,
  .notice-bar { display: none !important; }

  body { background: #fff; }
  .card,
  .widget { box-shadow: none; border-color: #ccc; }
}

/* auto-fit-long-brand-name: keep long brand text inside the header */
.logo__name,.logo-name,.logo-text b,.logo-text .name{font-size:clamp(12px,1.3vw,16px);white-space:nowrap;letter-spacing:0}
