/* 战报的战场（art/battle.ts 画，ui/battleScene.ts 播放）：小人往前冲、倒下，远程兵放箭，两军相接处扬尘，最后盖胜负的印。
   游戏页面和预览页 /art.html 都引这一份。 */

.battle-scene {
  position: relative;
  /* 印的大小跟着画面宽度走 */
  container-type: inline-size;
  margin: 8px 0 6px;
  border: 2px solid #3b2f22;
  border-radius: 6px;
  overflow: hidden;
  background: #e6dcc0;
}

.battle-scene .battle-art {
  display: block;
  width: 100%;
  height: auto;
}

/* 往前冲：fwd 时往前，去掉以后退回原地。小人的局部坐标是放大过的，48 大约是画面里的 14 */
.battle-art .bf-move {
  transition: transform 0.34s ease-out;
}

.battle-art .bf-unit.fwd .bf-move {
  transform: translateX(48px);
  transition: transform 0.26s ease-in;
}

/* 远程兵只往前挪一小步 */
.battle-art .bf-unit.ranged.fwd .bf-move {
  transform: translateX(14px);
}

/* 倒下：以脚底为轴往后倒（守方是翻过来画的，往右倒）；骑兵连人带马往下一沉 */
.battle-art .bf-body {
  transition:
    transform 0.4s ease-in,
    opacity 0.4s;
}

.battle-art .bf-unit.dead .bf-body {
  transform: rotate(-84deg);
  opacity: 0.55;
}

.battle-art .bf-unit.mounted.dead .bf-body {
  transform: translateY(10px) rotate(-14deg);
  opacity: 0.4;
}

/* 一排箭（石子）：横着匀速飞，竖着先上后下，合起来是一道弧线 */
.battle-art .bf-shot {
  opacity: 0;
}

.battle-art .bf-volley.fire .bf-shot {
  animation: bf-shot-x 0.55s linear var(--delay) both;
}

.battle-art .bf-volley.fire .bf-arc {
  animation: bf-shot-y 0.55s var(--delay) both;
}

@keyframes bf-shot-x {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  8%,
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(var(--dx));
    opacity: 0;
  }
}

@keyframes bf-shot-y {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  50% {
    transform: translateY(-30px);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(16px);
  }
}

/* 两军相接处的尘土 */
.battle-art .bf-clash {
  opacity: 0;
}

.battle-art .bf-clash.on {
  animation: bf-clash 0.6s ease-out;
}

@keyframes bf-clash {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* 胜负的印：赢了是朱红，输了是墨色；盖下去的时候从大变小 */
.bf-stamp {
  position: absolute;
  left: 50%;
  top: 30%;
  padding: 0 0.3em;
  border: 4px double currentColor;
  border-radius: 8px;
  color: #b02a14;
  background: rgba(243, 234, 210, 0.4);
  font:
    bold 7.5cqw/1.25 'Songti SC',
    'STSong',
    'SimSun',
    Georgia,
    serif;
  letter-spacing: 2px;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-12deg);
  opacity: 0;
  pointer-events: none;
}

.bf-stamp.lost {
  color: #3b2f22;
}

.bf-stamp.show {
  opacity: 0.88;
  animation: bf-stamp 0.32s ease-in;
}

@keyframes bf-stamp {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-12deg) scale(2.4);
  }
  100% {
    opacity: 0.88;
    transform: translate(-50%, -50%) rotate(-12deg) scale(1);
  }
}

/* 直接摆到某个状态（打开战报、重播前复位）：不要过渡动画 */
.battle-scene.instant,
.battle-scene.instant * {
  transition: none !important;
  animation: none !important;
}

/* 官网（2026-11-06 改版）：开场是暗色的大图（灰潮翻涌的世界地图、金色的标题），往下暗处和羊皮纸交替；颜色、纸纹、墨线和游戏一样。
   画（城池、兵、头像、旗、雾）都是 build.mjs 用游戏的代码现画的；战场的动画用游戏里战报那一套 CSS（build.mjs 把 battle.css 拼在前面）。 */

:root {
  --night: #14191c;
  --night-2: #1d252a;
  --tide: #8ea3a7;
  --mist: #c9d2d3;
  --parchment: #efe4c8;
  --parchment-dark: #d9c9a3;
  --ink: #3b2f22;
  --gold: #d9a92f;
  --gold-2: #f1d78a;
  --accent: #8a3b23;
  --max: 1180px;
  font-family: 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', Georgia, serif;
  color: var(--ink);
  line-height: 1.75;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* 英文页用西文的衬线字体 */
html[lang='en'] {
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 6px 12px;
  background: var(--gold);
  color: var(--night);
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 页头 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(14px, 4vw, 40px);
  color: var(--parchment);
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
}

.site-header.solid,
body:not(.page-index) .site-header {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(14, 18, 21, 0.92);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  white-space: nowrap;
}

html[lang='en'] .brand {
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  margin-left: auto;
}

.site-nav a:not(.btn) {
  padding: 4px 0;
  color: var(--parchment);
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  opacity: 0.86;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.site-nav a:not(.btn):hover,
.site-nav a.active {
  color: var(--gold-2);
  opacity: 1;
}

.site-nav a.active {
  border-bottom-color: var(--gold);
}

.site-nav .lang {
  font-size: 13px;
  opacity: 0.7;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 40px;
  padding: 6px 12px;
  color: var(--parchment);
  font: inherit;
  background: transparent;
  border: 1px solid rgba(241, 215, 138, 0.5);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 1px;
  content: '';
}

.nav-toggle .bars {
  position: relative;
}

.nav-toggle .bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle .bars::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 58px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 20px 22px;
    background: rgba(14, 18, 21, 0.97);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(-130%);
    transition: transform 0.3s;
  }

  body.nav-open .site-nav {
    transform: none;
  }

  .site-nav a:not(.btn) {
    padding: 8px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(241, 215, 138, 0.12);
  }

  .site-nav .btn {
    margin-top: 8px;
  }
}

/* 英文的游戏名、菜单都长：比手机宽、又不够宽的屏幕上排得紧一点，菜单才排得成一行 */
@media (min-width: 961px) and (max-width: 1200px) {
  html[lang='en'] .site-header {
    gap: 10px;
  }

  html[lang='en'] .brand {
    gap: 8px;
    font-size: 17px;
    letter-spacing: 0;
  }

  html[lang='en'] .site-nav {
    gap: 13px;
  }

  html[lang='en'] .site-nav a:not(.btn) {
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  html[lang='en'] .site-nav .btn {
    padding-right: 14px;
    padding-left: 14px;
    white-space: nowrap;
  }
}

/* 菜单还没收成按钮、又放不下英文的游戏名（加了论坛以后菜单长了）：只留徽记 */
@media (min-width: 961px) and (max-width: 1040px) {
  html[lang='en'] .brand span {
    display: none;
  }
}

/* 窄的手机上英文的游戏名长：字小一点，菜单按钮只留三道杠（按钮有 aria-label） */
@media (max-width: 480px) {
  html[lang='en'] .brand {
    font-size: 16px;
    letter-spacing: 0;
  }

  html[lang='en'] .nav-toggle .label {
    display: none;
  }
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s,
    filter 0.2s;
}

.btn-gold {
  color: #2a1d0e;
  background: linear-gradient(180deg, #f8e19a 0%, #dcae3a 52%, #b8862a 100%);
  border: 1px solid #7a5a1a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 190, 0.45),
    0 4px 14px rgba(217, 169, 47, 0.32);
}

.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 190, 0.55),
    0 6px 26px rgba(217, 169, 47, 0.55);
}

.btn-big {
  padding: 14px 36px;
  font-size: 19px;
}

.btn-ghost {
  color: var(--parchment);
  background: rgba(14, 18, 21, 0.35);
  border: 1px solid rgba(241, 215, 138, 0.65);
}

.btn-ghost:hover {
  background: rgba(241, 215, 138, 0.14);
}

.btn-ink {
  color: var(--parchment);
  background: var(--accent);
  border: 2px solid var(--ink);
}

.btn-ink:hover {
  filter: brightness(1.12);
}

/* ---------- 首页的大图 ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: var(--parchment);
  text-align: center;
  isolation: isolate;
}

.hero-map {
  position: absolute;
  inset: -4%;
  z-index: -4;
  background: center / cover no-repeat;
  filter: brightness(0.5) saturate(0.85) blur(2px);
  animation: map-drift 48s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(10, 13, 15, 0.1) 0%, rgba(10, 13, 15, 0.55) 60%, rgba(10, 13, 15, 0.92) 100%);
  content: '';
}

.hero-fog {
  position: absolute;
  right: 0;
  left: 0;
  pointer-events: none;
  background-repeat: repeat-x;
}

.hero-fog-back {
  bottom: 0;
  z-index: -2;
  height: 420px;
  background-image: url('art/fog-back.svg');
  background-size: 1600px 420px;
  background-position: 0 100%;
  opacity: 0.55;
  animation: fog-left 150s linear infinite;
}

.hero-fog-top {
  top: 0;
  z-index: -2;
  height: 420px;
  background-image: url('art/fog-back.svg');
  background-size: 1600px 420px;
  background-position: 0 100%;
  opacity: 0.4;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  animation: fog-right 190s linear infinite;
}

.hero-fog-front {
  bottom: -14px;
  z-index: 1;
  height: 200px;
  background-image: url('art/fog-front.svg');
  background-size: 1600px 200px;
  background-position: 0 100%;
  animation: fog-right 110s linear infinite;
}

/* 开场时两边合拢的雾幕往外退开：灰潮退去，露出地图和王座 */
/* 大图的下沿慢慢变成下一节的羊皮纸 */
.hero-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 70px;
  background: linear-gradient(180deg, rgba(239, 228, 200, 0), var(--parchment));
  pointer-events: none;
}

.hero-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 58%;
  background: #a7b0af url('art/fog-side.svg') right center / auto 100% no-repeat;
  pointer-events: none;
}

.hero-curtain.left {
  left: 0;
  animation: curtain-left 1.9s cubic-bezier(0.62, 0.02, 0.3, 1) 0.15s forwards;
}

.hero-curtain.right {
  right: 0;
  transform: scaleX(-1);
  animation: curtain-right 1.9s cubic-bezier(0.62, 0.02, 0.3, 1) 0.15s forwards;
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 1000px;
  padding: 100px 20px 150px;
}

.hero-inner > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-inner > :nth-child(1) {
  animation-delay: 0.75s;
}

.hero-inner > :nth-child(2) {
  animation-delay: 0.9s;
}

.hero-inner > :nth-child(3) {
  animation-delay: 1s;
}

.hero-inner > :nth-child(4) {
  animation-delay: 1.1s;
}

.hero-inner > :nth-child(5) {
  animation-delay: 1.2s;
}

.hero-inner > :nth-child(6) {
  animation-delay: 1.3s;
}

.hero-inner > :nth-child(7) {
  animation-delay: 1.4s;
}

.hero-emblem {
  width: min(320px, 66vw);
  height: auto;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.55));
}

.kicker {
  margin: 4px 0 0;
  color: var(--gold-2);
  font-size: 14px;
  letter-spacing: 3px;
  opacity: 0.92;
}

html[lang='en'] .kicker {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  margin: 4px 0 0;
  color: #f0cf73;
  font-size: clamp(54px, 10vw, 108px);
  line-height: 1.12;
  letter-spacing: 0.2em;
  background: linear-gradient(180deg, #fff6d8 8%, #ecc867 52%, #b5832a 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.65));
}

html[lang='en'] .hero-title {
  font-size: clamp(34px, 5.2vw, 66px);
  letter-spacing: 0.02em;
}

.hero-latin {
  margin: 2px 0 18px;
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.55em;
}

@media (max-width: 600px) {
  .hero-latin {
    font-size: 12px;
    letter-spacing: 0.3em;
  }

  .kicker {
    font-size: 12.5px;
    letter-spacing: 1.5px;
  }
}

.hero-tagline {
  margin: 0 auto;
  max-width: 720px;
  color: #ece6d4;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 28px 0 12px;
}

.hero-note {
  margin: 0;
  color: var(--mist);
  font-size: 13.5px;
  opacity: 0.9;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(241, 215, 138, 0.7);
  border-radius: 14px;
  animation: rise 0.9s 1.7s both;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold-2);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes map-drift {
  to {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

@keyframes fog-left {
  to {
    background-position-x: -1600px;
  }
}

@keyframes fog-right {
  to {
    background-position-x: 1600px;
  }
}

@keyframes curtain-left {
  to {
    transform: translateX(-102%);
    opacity: 0.2;
  }
}

@keyframes curtain-right {
  to {
    transform: translateX(102%) scaleX(-1);
    opacity: 0.2;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- 一节一节 ---------- */

.band {
  position: relative;
  padding: clamp(60px, 8vw, 112px) clamp(16px, 5vw, 48px);
}

.band > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.band.dark {
  color: #e7e0cd;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(58, 78, 88, 0.55) 0%, rgba(20, 25, 28, 0) 70%),
    var(--night);
}

.band.parchment {
  color: var(--ink);
  background-color: var(--parchment);
  background-image: url('art/grain.svg'), url('art/mottle.svg');
  box-shadow: inset 0 0 70px rgba(122, 82, 36, 0.24);
}

.section-head {
  margin-bottom: clamp(30px, 4vw, 50px);
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.12em;
}

html[lang='en'] .section-head h2 {
  letter-spacing: 0.02em;
}

.dark .section-head h2 {
  color: var(--gold-2);
}

.ornament {
  display: block;
  width: 240px;
  max-width: 70%;
  height: 14px;
  margin: 12px auto 14px;
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.92;
}

.more {
  margin-top: 36px;
  text-align: center;
}

h3 {
  line-height: 1.4;
}

/* 滚到眼前才淡入（没有脚本的时候不藏） */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* 三根柱子 */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.pillar {
  padding: 28px 26px 22px;
  text-align: center;
  background: rgba(255, 252, 240, 0.45);
  border: 1px solid rgba(59, 47, 34, 0.35);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(80, 55, 25, 0.12);
}

.pillar .icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
}

.pillar h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: 0.1em;
}

.pillar p {
  margin: 0;
  text-align: left;
}

/* 左字右图（reverse 是左图右字） */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
}

.split > * {
  max-width: none;
  margin: 0;
}

.split.reverse .split-text {
  order: 2;
}

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

.split .section-head .ornament {
  margin-left: 0;
}

.split .lead {
  margin: 0;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-text {
    order: 0;
  }
}

.split-art {
  margin: 0;
}

/* 实机视频（site/film 录的）：静音循环，滚到眼前才放；暂停时画面中间一个播放的记号 */
.clip {
  position: relative;
  overflow: hidden;
  background: #a9bfc3;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

figure.clip {
  margin: 0;
}

.dark .clip {
  border-color: rgba(241, 215, 138, 0.45);
}

.clip:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.clip video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.clip figcaption {
  padding: 8px 14px 10px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
  background: var(--parchment);
  border-top: 1px solid rgba(59, 47, 34, 0.3);
}

.clip-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 0 7px;
  color: var(--parchment);
  font-size: 12px;
  letter-spacing: 0.1em;
  vertical-align: 1px;
  background: var(--accent);
  border-radius: 3px;
}

.clip::after {
  position: absolute;
  top: calc(50% - 54px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  background: rgba(20, 25, 28, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23f1d78a'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  content: '';
  pointer-events: none;
}

.clip.paused::after {
  opacity: 1;
}

.clip.wide {
  max-width: 900px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: 26px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0 0 16px;
  padding-left: 52px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--night);
  font-weight: bold;
  background: linear-gradient(180deg, #f8e19a, #c99a30);
  border-radius: 50%;
  content: counter(step);
}

.steps b,
.feature-list b {
  display: block;
  color: var(--gold-2);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 0 0 16px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.parchment .feature-list b {
  color: var(--accent);
}

.parchment .feature-list li {
  border-left-color: rgba(138, 59, 35, 0.65);
}

/* 一节右下角的小字（规则里的限制） */
.note {
  margin: 18px 0 0;
  font-size: 14.5px;
  opacity: 0.78;
}

.more.left {
  margin-top: 24px;
  text-align: left;
}

/* 横着排的几步（联盟页"和朋友一起玩"） */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.steps-row li {
  margin: 0;
}

/* 五个时代 */
.ages {
  --period: 6500ms;
}

.age-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.age-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 12px;
  overflow: hidden;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 252, 240, 0.4);
  border: 1px solid rgba(59, 47, 34, 0.35);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.age-tab b {
  font-size: 16px;
  letter-spacing: 0.06em;
}

.age-tab span {
  font-size: 12.5px;
  opacity: 0.7;
}

.age-tab:hover {
  background: rgba(255, 252, 240, 0.75);
}

.age-tab.active {
  color: var(--parchment);
  background: var(--accent);
  border-color: var(--ink);
}

.age-tab .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-2);
}

.ages.running .age-tab.active .progress {
  animation: progress var(--period) linear forwards;
}

.ages.paused .age-tab.active .progress {
  width: 100%;
}

@keyframes progress {
  to {
    width: 100%;
  }
}

.age-slide {
  display: none;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.age-slide.active {
  display: grid;
  animation: fade 0.6s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.age-city {
  margin: 0;
  overflow: hidden;
  background: #e6dcc0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(60, 40, 15, 0.28);
}

.age-city img {
  display: block;
  width: 100%;
  height: auto;
}

.age-info h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.1em;
}

.age-day {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: bold;
}

.age-units-title {
  margin: 18px 0 4px;
  font-size: 14px;
  opacity: 0.75;
}

@media (max-width: 860px) {
  .age-tabs {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    overflow-x: auto;
  }

  .age-slide.active {
    grid-template-columns: 1fr;
  }
}

/* 兵 */
.unit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.unit-row.wide {
  justify-content: center;
  gap: 18px 26px;
}

.unit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 104px;
  margin: 0;
  text-align: center;
}

.unit-card .unit-art {
  width: 104px;
  height: 91px;
}

.unit-card figcaption b {
  display: block;
  font-size: 14.5px;
}

.unit-card figcaption span {
  display: block;
  font-size: 12px;
  opacity: 0.72;
}

.dark .unit-card .unit-art {
  padding: 4px;
  background: radial-gradient(circle at 50% 70%, rgba(239, 228, 200, 0.92) 0%, rgba(239, 228, 200, 0.75) 55%, rgba(239, 228, 200, 0) 72%);
  border-radius: 50%;
}

/* 四方之民 */
.peoples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.people-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  color: var(--ink);
  text-decoration: none;
  background: var(--parchment) url('art/grain.svg');
  border: 1px solid #000;
  border-top: 6px solid var(--civ);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.people-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.people-emblem svg {
  display: block;
  width: 86px;
  height: 100px;
  margin: 0 auto;
}

.people-card h3 {
  margin: 8px 0 6px;
  font-size: 23px;
  text-align: center;
  letter-spacing: 0.12em;
}

.people-card p {
  margin: 0 0 10px;
  font-size: 15px;
}

.people-units {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.people-units svg {
  width: 92px;
  height: 80px;
}

.people-unique {
  font-size: 13px !important;
  text-align: center;
  opacity: 0.8;
}

/* 英灵 */
.legend-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 14px;
  max-width: 1060px;
}

.legend-medal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s;
}

.legend-medal img {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 5px 10px rgba(70, 45, 15, 0.35));
}

.legend-medal span {
  margin-top: 4px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.legend-medal:hover {
  transform: translateY(-4px) scale(1.04);
}

/* 战场 */
.battle-scene.split-art {
  margin: 0;
  background: #e6dcc0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.battle-scene figcaption {
  padding: 8px 14px 10px;
  color: var(--ink);
  font-size: 13.5px;
  background: var(--parchment);
  border-top: 1px solid rgba(59, 47, 34, 0.3);
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 112px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--accent) 70%, rgba(138, 59, 35, 0.15));
  content: '';
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 34px;
  padding: 0 0 22px;
}

.tl-item::before {
  position: absolute;
  top: 7px;
  left: 105px;
  width: 16px;
  height: 16px;
  background: var(--parchment);
  border: 3px solid var(--accent);
  border-radius: 50%;
  content: '';
}

.tl-expansion::before,
.tl-crown::before {
  top: 3px;
  left: 101px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(217, 169, 47, 0.3);
}

.tl-day {
  padding-top: 3px;
  color: var(--accent);
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}

.tl-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-item ul li {
  margin: 0 0 4px;
}

.tl-expansion ul li:first-child {
  font-size: 18px;
  font-weight: bold;
}

.tl-next {
  opacity: 0.75;
}

.tl-next::before {
  background: #c9d2d3;
  border-style: dashed;
  border-color: var(--ink);
}

@media (max-width: 600px) {
  .timeline::before {
    left: 9px;
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-left: 34px;
  }

  .tl-item::before {
    left: 2px;
  }

  .tl-expansion::before,
  .tl-crown::before {
    left: -2px;
  }

  .tl-day {
    text-align: left;
  }
}

/* 公平 */
.fair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.fair-card {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(241, 215, 138, 0.25);
  border-radius: 6px;
}

.fair-card .icon {
  width: 46px;
  height: 46px;
  color: var(--gold-2);
}

.fair-card h3 {
  margin: 10px 0 6px;
  color: var(--gold-2);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.fair-card p {
  margin: 0;
  font-size: 15px;
  opacity: 0.88;
}

/* 截图 */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--parchment);
  text-decoration: none;
  background: #222;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(40, 28, 15, 0.3);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s;
}

.shot:hover img {
  transform: scale(1.04);
}

.shot span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 14px 10px;
  font-size: 14px;
  background: linear-gradient(180deg, rgba(10, 13, 15, 0), rgba(10, 13, 15, 0.85));
}

.cities .shot img {
  aspect-ratio: 16 / 9;
  background: #e6dcc0;
}

/* 常见问题 */
.faq {
  max-width: 860px;
}

.faq details {
  margin: 0 0 12px;
  background: rgba(255, 252, 240, 0.5);
  border: 1px solid rgba(59, 47, 34, 0.3);
  border-radius: 6px;
}

.faq summary {
  position: relative;
  padding: 14px 44px 14px 18px;
  font-size: 17px;
  font-weight: bold;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 12px;
  right: 18px;
  color: var(--accent);
  font-size: 22px;
  content: '+';
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 0;
  padding: 0 18px 16px;
}

/* 最后的号召 */
.final {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 20px clamp(90px, 12vw, 150px);
  overflow: hidden;
  color: var(--parchment);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 30%, rgba(80, 100, 108, 0.6), rgba(20, 25, 28, 0) 70%),
    var(--night);
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final img {
  width: 220px;
  height: auto;
}

.final h2 {
  margin: 6px 0;
  color: var(--gold-2);
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0.14em;
}

.final p {
  margin: 0 0 26px;
  font-size: 18px;
  opacity: 0.9;
}

.fog-strip {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 120px;
  background: url('art/fog-strip.svg') repeat-x;
  background-size: 1600px 120px;
  background-position: 0 100%;
  opacity: 0.6;
  pointer-events: none;
  animation: fog-left 120s linear infinite;
}

.fog-strip.dim {
  opacity: 0.14;
}

/* ---------- 内页 ---------- */

.page-hero {
  position: relative;
  padding: 140px 20px 90px;
  overflow: hidden;
  color: var(--parchment);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 10%, rgba(70, 92, 102, 0.7), rgba(20, 25, 28, 0) 70%),
    var(--night);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 6px 0 0;
  color: var(--gold-2);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.16em;
}

html[lang='en'] .page-hero h1 {
  letter-spacing: 0.03em;
}

.page-hero .lead {
  color: #e7e0cd;
}

/* 编年史、诸侯手册的一章 */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin: 0 auto clamp(40px, 6vw, 70px);
}

/* 插画换到右边时，右边那一栏才是插画的宽度（不然插画一章大一章小） */
.chapter.flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
}

.chapter.flip .chapter-art {
  order: 2;
}

.chapter-art {
  position: sticky;
  top: 90px;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(60, 40, 15, 0.28);
}

.chapter-art img {
  display: block;
  width: 100%;
  height: auto;
}

.chapter-text h2,
.intro-chapter h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.1em;
}

.chapter-text .ornament,
.intro-chapter .ornament {
  margin-left: 0;
}

.chapter-body p,
.intro-chapter p {
  margin: 0 0 12px;
  font-size: 16.5px;
}

.story .chapter-body p:first-child::first-letter {
  float: left;
  margin: 4px 8px 0 0;
  color: var(--accent);
  font-size: 46px;
  line-height: 1;
}

@media (max-width: 860px) {
  .chapter,
  .chapter.flip {
    grid-template-columns: 1fr;
  }

  .chapter.flip .chapter-art {
    order: 0;
  }

  .chapter-art {
    position: static;
  }
}

.book-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
}

.book-layout > * {
  max-width: none;
  margin: 0;
}

.toc {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 16px 18px;
  background: rgba(255, 252, 240, 0.5);
  border: 1px solid rgba(59, 47, 34, 0.3);
  border-radius: 6px;
}

.toc h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.toc ol {
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: 15px;
}

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

@media (max-width: 960px) {
  .book-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

.intro-chapter {
  max-width: 860px;
}

.rules {
  max-width: 860px;
  margin: 30px auto 0;
  padding: 16px 20px;
  font-size: 15.5px;
  background: rgba(255, 252, 240, 0.5);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

/* 四方之民那一页 */
.people-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  max-width: 960px;
}

.people-flag svg {
  width: 170px;
  height: 198px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.people-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.14em;
}

.dark .people-head h2 {
  color: var(--gold-2);
}

.people-head .ornament {
  margin-left: 0;
}

.people-head .lead {
  margin: 0 0 14px;
}

.people-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.bonus-list {
  margin: 0 0 10px;
  padding-left: 20px;
}

.people-role {
  margin: 0;
  opacity: 0.85;
}

.units-title {
  margin: 34px auto 16px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .people-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .people-flag svg {
    width: 120px;
    height: 140px;
  }

  .people-head .ornament {
    margin-left: auto;
  }

  .bonus-list {
    display: inline-block;
    text-align: left;
  }
}

/* 英灵那一页 */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.legend-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  background: var(--parchment) url('art/grain.svg');
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 6px solid var(--hero);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.parchment .legend-card {
  background: rgba(255, 252, 240, 0.5);
  border-color: rgba(59, 47, 34, 0.35);
  border-left-color: var(--hero);
  box-shadow: none;
}

.legend-portrait img {
  width: 110px;
  height: 110px;
}

.legend-text h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: 0.08em;
}

.legend-meta {
  margin: 2px 0 8px;
  font-size: 14px;
  opacity: 0.85;
}

.legend-meta .renown {
  color: var(--accent);
  font-weight: bold;
}

.effects {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 14.5px;
}

.bio {
  margin: 0;
  font-size: 14.5px;
  opacity: 0.9;
}

@media (max-width: 420px) {
  .legend-grid {
    grid-template-columns: 1fr;
  }

  .legend-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .effects {
    text-align: left;
  }
}

/* 画廊的兵种图鉴 */
.codex-title {
  margin: 30px 0 14px;
  font-size: 21px;
  text-align: center;
}

.codex-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(59, 47, 34, 0.2);
}

.codex-row h3 {
  margin: 0;
  font-size: 17px;
}

@media (max-width: 600px) {
  .codex-row {
    grid-template-columns: 1fr;
  }
}

/* 隐私政策这类长文 */
.legal {
  padding-top: 120px;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);
  background: rgba(255, 252, 240, 0.55);
  border: 1px solid rgba(59, 47, 34, 0.35);
  border-radius: 6px;
}

.doc h1 {
  margin-top: 0;
  font-size: clamp(28px, 4vw, 38px);
}

.doc h2 {
  margin-top: 28px;
  padding-bottom: 4px;
  font-size: 20px;
  border-bottom: 1px solid rgba(59, 47, 34, 0.25);
}

.doc .meta {
  font-size: 14px;
  opacity: 0.7;
}

.doc li {
  margin: 4px 0;
}

.doc a {
  color: var(--accent);
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 46px clamp(16px, 5vw, 48px) 36px;
  color: #b9b4a6;
  font-size: 14px;
  text-align: center;
  background: #0d1113;
  border-top: 1px solid rgba(241, 215, 138, 0.15);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  text-align: left;
}

.footer-brand b {
  display: block;
  color: var(--gold-2);
  font-size: 18px;
  letter-spacing: 2px;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-nav a,
.footer-legal a {
  color: #d8d2c0;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--gold-2);
}

.footer-legal {
  font-size: 13px;
}

.copyright {
  margin-top: 14px;
  font-size: 12.5px;
  opacity: 0.6;
}

/* ---------- 截图放大 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(8, 10, 12, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(1400px, 96vw);
  margin: 0;
  text-align: center;
}

.lightbox img {
  max-height: 82vh;
  background: #e6dcc0;
  border: 2px solid var(--gold-2);
  border-radius: 4px;
}

.lightbox figcaption {
  margin-top: 10px;
  color: var(--parchment);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 20px;
  color: var(--parchment);
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

/* 系统设置了少动画：雾不漂、雾幕不出现、内容不淡入 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-curtain {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* 商店（M5.14e）：价格和买了得到什么，小图都是游戏里的画（议事厅戴着主城外观、一格边纹、扛着军旗的小队） */
.shop-how {
  max-width: 900px;
  margin: 0 auto;
}

.shop-note {
  max-width: 900px;
  margin: 18px auto 0;
  text-align: center;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 290px));
  justify-content: center;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  color: var(--ink);
  background: var(--parchment) url('art/grain.svg');
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-top: 5px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.parchment .shop-card {
  background: rgba(255, 252, 240, 0.5);
  border-color: rgba(59, 47, 34, 0.35);
  border-top-color: var(--gold);
  box-shadow: none;
}

.shop-arts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  min-height: 102px;
}

.shop-art.hall svg {
  width: 120px;
  height: 102px;
}

.shop-art.border svg {
  width: 72px;
  height: 72px;
}

.shop-art.banner svg {
  width: 86px;
  height: 67px;
}

.shop-art.title {
  align-self: center;
  padding: 4px 8px;
  color: #6e4a12;
  font-weight: bold;
  background: rgba(250, 232, 178, 0.5);
  border: 1px solid rgba(110, 74, 18, 0.4);
  border-radius: 4px;
}

.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.shop-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.shop-price {
  color: var(--accent);
  font-size: 19px;
  font-weight: bold;
  white-space: nowrap;
}

.shop-desc {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

.shop-limited {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
}

.shop-includes-title {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: bold;
  opacity: 0.8;
}

.shop-includes {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.shop-kind {
  max-width: 1200px;
  margin: 28px auto 12px;
  text-align: center;
  color: var(--gold-2);
  letter-spacing: 0.1em;
}
