/* roulang page: index */
:root {
  --brand-50: #FBF1E7;
  --brand-500: #C2571C;
  --brand-600: #A84817;
  --pine-800: #25352C;
  --pine-900: #1E2B24;
  --paper: #F6F1E8;
  --surface: #FFFDF8;
  --sand: #ECE4D6;
  --ink-900: #1E211D;
  --ink-700: #3A3F38;
  --ink-500: #6A7067;
  --moss: #6D8B74;
  --radius-btn: 10px;
  --radius-input: 12px;
  --radius-card: 18px;
  --radius-hero-img: 24px;
  --radius-large: 24px;
  --border-soft: rgba(30, 33, 29, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  padding-bottom: 76px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.container-x {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 32px);
  padding-right: clamp(20px, 4vw, 32px);
}

.section-space {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-kicker.kicker-moss {
  background: rgba(109, 139, 116, 0.12);
  color: #49604f;
}

.section-kicker.kicker-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.serif-title {
  font-family: ui-serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  color: var(--ink-900);
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
}

.display-h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.display-h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.card-h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.body-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-700);
}

.muted {
  color: var(--ink-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: var(--radius-btn);
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-600);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid rgba(30, 33, 29, 0.18);
  color: var(--ink-900);
}

.btn-secondary:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
  background: rgba(194, 87, 28, 0.04);
}

.btn-secondary:active {
  transform: translateY(1px);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(246, 241, 232, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #fff;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  margin: 0 2px;
  border-radius: 10px;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: rgba(194, 87, 28, 0.06);
  color: var(--brand-600);
}

.main-nav a.active {
  color: var(--brand-600);
  box-shadow: inset 0 -2px 0 var(--brand-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  height: 40px;
  padding: 0 10px 0 14px;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(30, 33, 29, 0.14);
  border-radius: 12px;
  color: var(--ink-500);
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cmd-trigger:hover {
  border-color: rgba(194, 87, 28, 0.4);
  background: var(--surface);
  color: var(--ink-700);
}

.cmd-trigger kbd {
  margin-left: auto;
  background: var(--sand);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 12px;
  color: #555e55;
  font-family: inherit;
}

.nav-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-600);
}

.nav-cta:active {
  transform: translateY(1px);
}

.cmd-panel {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(640px, calc(100vw - 24px));
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-panel);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 70;
}

.cmd-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cmd-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  border: 1px solid rgba(30, 33, 29, 0.13);
  background: var(--surface);
  border-radius: 12px;
  padding: 0 12px;
}

.cmd-search-row input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ink-900);
}

.cmd-panel-title {
  padding: 14px 10px 6px;
  font-size: 13px;
  color: var(--ink-500);
}

.cmd-jump-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-700);
}

.cmd-jump-item:hover {
  background: var(--brand-50);
  color: var(--ink-900);
}

.mobile-toggle,
.mobile-search-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink-900);
}

.mobile-toggle:hover,
.mobile-search-btn:hover {
  background: rgba(194, 87, 28, 0.08);
}

.mobile-search-row {
  display: none;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-search-row.open {
  display: block;
}

.mobile-search-row input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(30, 33, 29, 0.16);
  background: var(--surface);
  border-radius: 12px;
  padding: 0 14px;
}

/* Hero */
.hero-wrap {
  position: relative;
  padding-top: 136px;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-2.jpg');
  background-size: cover;
  background-position: center 28%;
  opacity: 0.18;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 24% 30%, rgba(246,241,232,0) 0%, rgba(246,241,232,0.82) 66%, rgba(246,241,232,0.96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-h1 {
  margin-top: 18px;
}

.hero-desc {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-700);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-700);
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--moss);
  stroke-width: 2.2;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  border-radius: var(--radius-hero-img);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-panel);
}

.hero-panel-img {
  height: 220px;
}

.hero-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.group-card {
  padding: 22px;
}

.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}

.group-title svg {
  color: var(--brand-500);
}

.group-tag {
  font-size: 12px;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: 999px;
  padding: 4px 10px;
}

.group-question {
  margin-top: 18px;
  border: 1px dashed rgba(30, 33, 29, 0.16);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.6;
}

.progress-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-500);
}

.progress-track {
  margin-top: 10px;
  height: 8px;
  background: var(--sand);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  width: 82%;
  height: 100%;
  background: var(--brand-500);
  border-radius: 999px;
}

.group-action {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.group-action .btn {
  flex: 1;
}

/* Voucher grid */
.voucher-section {
  background: var(--paper);
  position: relative;
}

.voucher-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.voucher {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(30, 33, 29, 0.13);
  border-radius: 14px;
  padding: 24px 22px 26px;
  box-shadow: var(--shadow-warm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher::before,
.voucher::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
  top: 56px;
}

.voucher::before {
  left: -9px;
}

.voucher::after {
  right: -9px;
}

.voucher:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(194, 87, 28, 0.28);
}

.voucher-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-500);
  border-bottom: 1px dashed rgba(30, 33, 29, 0.16);
  padding-bottom: 14px;
}

.voucher-top .dot-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(30,33,29,0.22) 0 4px, transparent 4px 8px);
}

.voucher-cat {
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  color: var(--brand-600);
  font-weight: 700;
  font-size: 16px;
  margin-top: 14px;
}

.voucher-q {
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
  min-height: 54px;
}

.voucher-q span {
  color: var(--moss);
  font-weight: 700;
}

.voucher-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.voucher-count {
  font-size: 13px;
  color: var(--ink-500);
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.voucher:nth-child(2) {
  margin-top: 30px;
}

.voucher:nth-child(3) {
  margin-top: 6px;
}

/* Rules */
.rules-section {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.rules-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.rules-step-list {
  margin-top: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rules-step {
  position: relative;
  padding-left: 58px;
  padding-bottom: 32px;
}

.rules-step:last-child {
  padding-bottom: 0;
}

.rules-step::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 2px;
  width: 1px;
  background: rgba(30, 33, 29, 0.14);
}

.rules-step:last-child::before {
  display: none;
}

.step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.rules-step h3 {
  font-size: 19px;
  color: var(--ink-900);
  font-weight: 700;
}

.rules-step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-700);
}

.rules-visual {
  border-radius: 20px;
  background: var(--pine-900);
  color: #fff;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.rules-visual::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(194,87,28,0.4) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  pointer-events: none;
}

.rules-visual img {
  border-radius: 16px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.12);
}

.demo-note {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

.answer-chip {
  display: inline-block;
  background: rgba(255,255,255,0.13);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  margin-top: 12px;
  color: #fff;
}

.rules-visual img {
  border-radius: 14px;
}

/* News / Q & A */
.news-section {
  background: var(--paper);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  gap: 40px;
  margin-top: 36px;
}

.qa-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(30, 33, 29, 0.12);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.qa-list-title h3 {
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  color: var(--ink-900);
  font-weight: 700;
}

.qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qa-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid rgba(30, 33, 29, 0.08);
  transition: background-color 0.18s ease;
}

.qa-item a {
  display: block;
  padding: 18px 8px 18px 0;
}

.qa-item a:hover {
  background: rgba(255, 253, 248, 0.75);
}

.qa-rank {
  font-family: ui-serif, "Georgia", "Noto Serif SC", serif;
  color: var(--brand-500);
  font-weight: 700;
  margin-right: 8px;
  font-size: 15px;
}

.qa-main-title {
  font-size: 16px;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.6;
}

.qa-summary {
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-box {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 22px;
}

.hot-box + .hot-box {
  margin-top: 20px;
}

.hot-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.hot-tag-list li a {
  display: inline-block;
  background: rgba(109, 139, 116, 0.12);
  color: #49604f;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.hot-tag-list li a:hover {
  background: rgba(109, 139, 116, 0.23);
}

.hot-read-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.hot-read-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(30,33,29,0.1);
}

.hot-read-list li:last-child {
  border-bottom: 0;
}

.hot-read-list a {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.6;
}

.hot-read-list a:hover {
  color: var(--brand-600);
}

.hot-read-list span {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* FAQ */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.faq-head {
  padding-top: 4px;
}

.faq-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(30, 33, 29, 0.12);
  border-radius: 14px;
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(194, 87, 28, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(194,87,28,0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: var(--brand-600);
}

.faq-plus svg {
  width: 12px;
  height: 12px;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--brand-50);
}

.faq-answer {
  padding: 4px 20px 20px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* CTA banner */
.cta-banner {
  background: var(--pine-900);
  border-radius: var(--radius-large);
  padding: clamp(36px, 5vw, 74px);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(194,87,28,0.28) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--pine-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 52px 0 28px;
  margin-top: 76px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--surface);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  width: 38px;
  height: 38px;
  background: var(--brand-500);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-brand-mark svg {
  width: 20px;
  height: 20px;
}

.footer-desc {
  max-width: 280px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  text-align: right;
}

.footer-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 24px;
}

.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Bottom fixed bar */
.bottom-convert {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 44;
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.bottom-convert.visible {
  transform: translateY(0);
}

.bottom-bar-inner {
  max-width: 1080px;
  margin: 0 auto 14px;
  width: calc(100% - 28px);
  background: rgba(255, 253, 248, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,33,29,0.08);
  box-shadow: 0 18px 40px -14px rgba(28,24,16,0.28);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bottom-bar-copy {
  font-size: 15px;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.4;
}

.bottom-bar-copy span {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 400;
  margin-left: 6px;
}

.bottom-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-500);
  transition: background-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(30,33,29,0.06);
  color: var(--ink-900);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 0.82fr;
    gap: 28px;
  }

  .voucher-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hot-box {
    flex: 1 1 240px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 16px;
    gap: 4px;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    width: 100%;
    padding: 0 14px;
    height: 46px;
    border-radius: 10px;
    justify-content: flex-start;
  }

  .main-nav a.active {
    box-shadow: inset 3px 0 0 var(--brand-500);
  }

  .cmd-trigger {
    display: none;
  }

  .mobile-search-btn,
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-wrap {
    padding-top: 112px;
  }

  .hero-inner,
  .rules-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 480px;
  }

  .voucher:nth-child(2) {
    margin-top: 0;
  }

  .rules-visual {
    max-width: 480px;
  }

  .footer-desc {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section-space {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .voucher-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .voucher:nth-child(3) {
    margin-top: 0;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-cta-group .btn-secondary {
    margin-left: 0;
  }

  .hero-points {
    gap: 10px 12px;
  }

  .hero-points li {
    font-size: 13px;
  }

  .bottom-bar-inner {
    border-radius: 20px;
    padding: 10px 12px 10px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .bottom-bar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .faq-layout {
    gap: 20px;
  }

  .cta-banner {
    padding: 28px 22px;
  }

  .footer-middle {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category1 */
:root {
  --brand-50: #FBF1E7;
  --brand-500: #C2571C;
  --brand-600: #A84817;
  --pine-800: #25352C;
  --pine-900: #1E2B24;
  --paper: #F6F1E8;
  --surface: #FFFDF8;
  --sand: #ECE4D6;
  --ink-900: #1E211D;
  --ink-700: #3A3F38;
  --ink-500: #6A7067;
  --moss: #6D8B74;
  --radius-btn: 10px;
  --radius-input: 12px;
  --radius-card: 18px;
  --radius-hero-img: 24px;
  --radius-large: 24px;
  --border-soft: rgba(30, 33, 29, 0.10);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  padding-bottom: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input, textarea {
  font-family: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 8px;
}
.container-x {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 32px);
  padding-right: clamp(20px, 4vw, 32px);
}
.section-space {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.section-kicker.kicker-moss {
  background: rgba(109, 139, 116, 0.13);
  color: #49604f;
}
.section-kicker.kicker-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.serif-title,
h1, h2, h3 {
  font-family: ui-serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  color: var(--ink-900);
  font-weight: 700;
}
h1, h2, h3 {
  margin: 0;
}
.body-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-700);
}
.muted {
  color: var(--ink-500);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius-btn);
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 12px 24px -12px rgba(194, 87, 28, 0.55);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-secondary {
  background: var(--surface);
  border: 1px solid rgba(30, 33, 29, 0.18);
  color: var(--ink-900) !important;
}
.btn-secondary:hover {
  border-color: var(--brand-500);
  color: var(--brand-600) !important;
  background: rgba(194, 87, 28, 0.04);
}
.btn-secondary:active {
  transform: translateY(1px);
}
.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(246, 241, 232, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-wrap:hover {
  color: var(--brand-600);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #fff;
  flex: 0 0 auto;
}
.logo-mark svg {
  width: 18px;
  height: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  margin: 0 2px;
  border-radius: 10px;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.main-nav a:hover {
  background: rgba(194, 87, 28, 0.06);
  color: var(--brand-600);
}
.main-nav a.active {
  color: var(--brand-600);
  box-shadow: inset 0 -2px 0 var(--brand-500);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand-500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--brand-600);
}
.nav-cta:active {
  transform: translateY(1px);
}
.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-width: 250px;
  padding: 0 10px;
  border: 1px solid rgba(30, 33, 29, 0.14);
  background: var(--surface);
  border-radius: 12px;
  color: var(--ink-500);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cmd-trigger:hover {
  border-color: var(--brand-500);
  color: var(--ink-700);
  box-shadow: 0 8px 20px -12px rgba(30, 33, 29, 0.28);
}
.cmd-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--ink-500);
}
.cmd-hint {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1;
  margin-right: auto;
  text-align: left;
}
.cmd-key {
  font-family: ui-sans-serif, -apple-system, sans-serif;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--sand);
  color: var(--ink-700);
  line-height: 1.6;
  white-space: nowrap;
}
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--ink-900);
}
.mobile-toggle:hover {
  background: rgba(194, 87, 28, 0.07);
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 12px 20px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 24px 40px -24px rgba(30, 33, 29, 0.28);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  border-radius: 10px;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--brand-600);
  background: var(--brand-50);
}
.cmd-panel-wrap {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.cmd-panel-wrap.open {
  visibility: visible;
  opacity: 1;
}
.cmd-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 33, 29, 0.32);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cmd-panel {
  position: relative;
  z-index: 5;
  max-width: 640px;
  margin: 78px auto 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(30, 33, 29, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(30, 33, 29, 0.4);
}
.cmd-search-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cmd-search-line .cmds-input-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}
.cmd-search-line svg {
  width: 17px;
  height: 17px;
  color: var(--ink-500);
  flex: 0 0 auto;
}
.cmd-search-line input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-900);
  font-size: 15px;
}
.cmd-search-line input::placeholder {
  color: var(--ink-500);
}
.cmd-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-700);
  background: transparent;
}
.cmd-close:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}
.cmd-panel-title {
  padding: 16px 8px 6px;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
}
.cmd-jump-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.cmd-jump-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-700);
}
.cmd-jump-item:hover {
  background: var(--brand-50);
  color: var(--ink-900);
}
.cmd-jump-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-500);
}
/* category hero */
.cat-hero {
  position: relative;
  background: var(--surface);
  padding: 138px 0 36px;
  overflow: hidden;
}
.cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/backpic/back-3.jpg") center 28% / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.cat-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 70% 20%, rgba(194, 87, 28, 0.08), transparent 65%);
  z-index: 0;
}
.cat-hero .container-x {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink-500);
}
.breadcrumb a {
  color: var(--ink-500);
}
.breadcrumb a:hover {
  color: var(--brand-600);
}
.breadcrumb [aria-current="page"] {
  color: var(--ink-900);
  font-weight: 600;
}
.category-head h1 {
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.18;
  max-width: 860px;
  letter-spacing: 0.01em;
  color: var(--ink-900);
}
.category-head h1 .dot {
  color: var(--brand-500);
}
.category-intro {
  max-width: 780px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-700);
}
.category-quickbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 16px;
  background: rgba(246, 241, 232, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}
.category-quickbar .bar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  margin-right: 4px;
}
.category-quickbar a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.category-quickbar a:hover {
  color: var(--brand-600);
  border-color: rgba(194, 87, 28, 0.35);
  background: var(--brand-50);
}
/* main grid */
.cat-main-section {
  padding-top: 64px;
  padding-bottom: clamp(64px, 7vw, 92px);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}
.content-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 92px;
}
.entries-zone {
  display: grid;
  gap: 28px;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.32;
  color: var(--ink-900);
}
.section-heading p {
  margin: 6px 0 0;
  max-width: 640px;
  color: var(--ink-500);
  font-size: 15px;
}
.feature-word {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 24, 16, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-word:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(28, 24, 16, 0.22);
}
.feature-media {
  min-height: 250px;
  background: var(--sand);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.word-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 600;
}
.mini-tag.tag-moss {
  background: rgba(109, 139, 116, 0.14);
  color: #4a5f50;
}
.feature-content h2 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--ink-900);
}
.feature-content .summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-700);
}
.feature-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.feature-foot .meta-line {
  font-size: 13px;
  color: var(--ink-500);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-500) !important;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}
.text-link:hover {
  color: var(--brand-600) !important;
  gap: 9px;
}
.entry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 6px 0;
  box-shadow: 0 1px 2px rgba(28, 24, 16, 0.04);
}
.word-entry {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 6px 22px 18px;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.2s ease;
}
.word-entry:hover {
  background: rgba(246, 241, 232, 0.5);
}
.entry-thumb {
  width: 76px;
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--border-soft);
}
.entry-copy {
  min-width: 0;
}
.entry-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.entry-topline .badge-dot {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  background: rgba(109, 139, 116, 0.12);
  border-radius: 999px;
  font-size: 11px;
  color: #4a5f50;
  font-weight: 700;
}
.entry-index {
  font-family: ui-serif, "Songti SC", serif;
  font-size: 15px;
  color: var(--brand-500);
  font-weight: 700;
}
.entry-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-900);
}
.entry-copy p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-500);
}
.entry-bottom .dot-sep {
  opacity: 0.6;
}
/* side */
.side-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(28, 24, 16, 0.05);
}
.side-card .side-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.side-card .side-title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 99px;
  background: var(--brand-500);
}
.side-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-bottom: 1px solid rgba(30, 33, 29, 0.06);
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.side-nav-item:last-child {
  border-bottom: 0;
}
.side-nav-item:hover {
  background: var(--brand-50);
  color: var(--brand-600);
  padding-left: 12px;
}
.side-nav-item svg {
  width: 15px;
  height: 15px;
  color: var(--brand-500);
  flex: 0 0 auto;
}
.related-item {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(30, 33, 29, 0.1);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}
.related-item:last-child {
  border-bottom: 0;
}
.related-item span {
  color: var(--brand-500);
  font-weight: 600;
}
.related-item:hover {
  color: var(--brand-600);
}
.cta-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(194, 87, 28, 0.1), transparent 50%),
    var(--brand-50);
  border: 1px solid rgba(194, 87, 28, 0.18);
}
.cta-card h3 {
  color: var(--ink-900);
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 8px;
}
.cta-card p {
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.cta-card .btn {
  width: 100%;
}
/* data band */
.data-strip-section {
  background: var(--sand);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.data-inner {
  margin-top: 74px;
  margin-bottom: 74px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.data-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.data-cell {
  padding: 28px 22px;
  text-align: left;
  position: relative;
}
.data-cell + .data-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: var(--border-soft);
}
.data-number {
  font-family: ui-serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.15;
}
.data-unit {
  font-size: 15px;
  color: var(--brand-600);
  font-weight: 600;
  margin-left: 4px;
}
.data-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 600;
}
.data-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}
/* faq */
.faq-pair-section {
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 24, 16, 0.05);
  align-self: start;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(194, 87, 28, 0.3);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .plus-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 33, 29, 0.16);
  border-radius: 50%;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.faq-item summary:hover .plus-icon {
  transform: rotate(180deg);
  border-color: var(--brand-500);
  color: var(--brand-500);
}
.faq-item[open] {
  border-color: rgba(194, 87, 28, 0.32);
}
.faq-item[open] .plus-icon {
  transform: rotate(45deg);
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-500);
}
.faq-body {
  padding: 0 20px 18px;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid rgba(30, 33, 29, 0.06);
}
.faq-body p {
  margin: 12px 0 0;
}
/* category footer cta */
.cat-cta {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}
.cta-banner-cat {
  position: relative;
  border: 1px solid rgba(194, 87, 28, 0.26);
  background:
    linear-gradient(rgba(246, 241, 232, 0.82), rgba(246, 241, 232, 0.82)),
    url("/assets/images/backpic/back-8.jpg") center / cover no-repeat;
  border-radius: 24px;
  padding: clamp(30px, 5vw, 60px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 300px;
}
.cta-banner-cat h2 {
  font-size: clamp(25px, 3.6vw, 38px);
  max-width: 640px;
  line-height: 1.3;
  margin-top: 16px;
}
.cta-banner-cat p {
  max-width: 580px;
  margin: 14px 0 24px;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.85;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
/* footer */
.site-footer {
  background: var(--pine-900);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0;
  padding: 58px 0 24px;
  border-radius: 28px 28px 0 0;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-serif, "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand-500);
  color: #fff;
  border-radius: 11px;
}
.footer-brand-mark svg {
  width: 19px;
  height: 19px;
}
.footer-desc {
  max-width: 390px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.75;
}
.footer-tagline {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  text-align: right;
  line-height: 1.8;
}
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.footer-col ul {
  margin: 0;
  list-style: none;
}
.footer-col li {
  margin: 6px 0;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}
/* responsive */
@media (max-width: 1080px) {
  .cmd-trigger {
    min-width: 200px;
  }
}
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .entry-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .cmd-trigger {
    min-width: 0;
    width: 44px;
    padding: 0;
    justify-content: center;
    background: transparent;
    border: 0;
  }
  .cmd-hint,
  .cmd-key {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .data-strip {
    grid-template-columns: 1fr 1fr;
  }
  .data-cell + .data-cell::before {
    display: none;
  }
  .data-cell:nth-child(even) {
    border-left: 1px solid var(--border-soft);
  }
  .data-cell:nth-child(3),
  .data-cell:nth-child(4) {
    border-top: 1px solid var(--border-soft);
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-actions {
    margin-left: auto;
  }
  .cmd-trigger {
    display: inline-flex;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cmd-panel {
    margin: 60px 12px 0;
  }
  .cmd-jump-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .entry-list {
    grid-template-columns: 1fr;
  }
  .feature-word {
    grid-template-columns: 1fr;
  }
  .feature-media {
    min-height: 180px;
  }
  .feature-media img {
    max-height: 220px;
  }
  .word-entry {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px 12px 18px 14px;
  }
  .entry-thumb {
    width: 64px;
    height: 84px;
  }
  .cta-banner-cat {
    padding: 26px 22px;
  }
  .data-strip {
    grid-template-columns: 1fr;
  }
  .data-cell {
    border-top: 1px solid var(--border-soft);
  }
  .data-cell:nth-child(n) {
    border-left: 0;
  }
  .data-cell:first-child {
    border-top: 0;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-tagline {
    text-align: left;
  }
  .footer-middle {
    grid-template-columns: 1fr 1fr;
  }
  .cmd-trigger {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    width: 44px;
  }
}
@media (max-width: 520px) {
  .main-nav {
    display: none;
  }
  .footer-middle {
    grid-template-columns: 1fr;
  }
  .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
  }
  .category-quickbar {
    align-items: flex-start;
  }
  .category-head h1 {
    font-size: clamp(30px, 8.4vw, 36px);
  }
  .content-side {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
