/* ============================================================
   LK Studio — 设计系统
   明亮 / 蓝青为骨 / 黄色当家
   粗边框 + 硬阴影（offset shadow），不用柔和阴影
   ============================================================ */

:root {
  --ink: #0B2C3D;
  --ink-2: #4A6F82;
  --ink-3: #8AA9B8;

  --sky: #38BDF8;
  --sky-d: #0284C7;
  --cyan: #22D3EE;
  --teal: #14B8A6;
  --teal-d: #0D9488;

  --sun: #FACC15;
  --sun-l: #FDE047;
  --sun-xs: #FEF9C3;
  --amber: #F59E0B;
  --amber-d: #B45309;

  --cream: #FFFBEB;
  --foam: #F0F9FF;
  --line: #D8ECF5;

  --r: 20px;
  --r-sm: 12px;
  --hard: 5px 5px 0 var(--ink);
  --hard-lg: 8px 8px 0 var(--ink);

  --wrap: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle, #E4F4FB 1px, transparent 1px) 0 0 / 24px 24px,
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sky-d);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- 容器 ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 700px;
}

/* ---------- 顶栏 ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--sun);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  box-shadow: 2.5px 2.5px 0 var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--ink);
  padding: 7px 11px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.nav a:hover {
  background: var(--sun-xs);
  border-color: var(--ink);
  text-decoration: none;
}

.lang {
  border: 2px solid var(--ink) !important;
  background: var(--white, #fff);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  font-weight: 800 !important;
}

.lang:hover {
  background: var(--cyan) !important;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--sun);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 8%, rgba(34, 211, 238, 0.35), transparent 44%),
    radial-gradient(circle at 4% 96%, rgba(250, 204, 21, 0.55), transparent 50%),
    linear-gradient(155deg, #FFFDF0 0%, #FEF9C3 40%, #DFF6FE 100%);
  border-bottom: 2px solid var(--ink);
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(11, 44, 61, 0.12);
  background: rgba(56, 189, 248, 0.12);
}

.hero-in {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.d {
  position: absolute;
  border: 2px solid var(--ink);
}

.d1 {
  width: 116px;
  height: 116px;
  border-radius: 26px;
  background: var(--cyan);
  right: 9%;
  top: 15%;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-9deg);
}

.d2 {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--sun);
  right: 23%;
  bottom: 15%;
  box-shadow: 5px 5px 0 var(--ink);
}

.d3 {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 14px solid rgba(56, 189, 248, 0.45);
  right: 2%;
  bottom: 36%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  margin-bottom: 22px;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.hero h1 {
  font-size: clamp(36px, 6.6vw, 66px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hl {
  background-image: linear-gradient(var(--sun), var(--sun));
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  background-position: 0 calc(100% - 0.06em);
  padding: 0 2px;
}

.hl-sky {
  color: var(--sky-d);
}

.hero p.lead {
  font-size: clamp(16px, 2.1vw, 19px);
  color: #22506A;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 2px dashed rgba(11, 44, 61, 0.18);
}

.hero-meta div {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 600;
}

.hero-meta b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-meta b.is-text {
  font-size: 20px;
  letter-spacing: 0;
  padding-bottom: 2px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-sun {
  background: var(--sun);
}

.btn-sun:hover {
  background: var(--sun-l);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-sky {
  background: var(--sky);
}

.btn-ghost {
  background: #fff;
}

/* ---------- 通用区块 ---------- */
.sec {
  padding: 78px 0;
}

.sec-alt {
  background: #fff;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.sec-sun {
  background: linear-gradient(180deg, var(--sun-xs) 0%, var(--cream) 100%);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.sec-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--sun);
  border: 2px solid var(--ink);
  margin-right: 11px;
  vertical-align: 2px;
}

.sec-head .sub {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 8px;
  max-width: 520px;
}

.sec-link {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  padding-bottom: 4px;
}

/* ---------- 游戏卡 ---------- */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.game {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--hard);
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.game:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard-lg);
  text-decoration: none;
}

.game-shot {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--foam);
}

.game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.game:hover .game-shot img {
  transform: scale(1.04);
}

/* 统一手绘封面 */
.game-shot.cover {
  display: grid;
  place-items: center;
  padding: 14px;
}

.game-shot.cover svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.game:hover .game-shot.cover svg {
  transform: scale(1.05) rotate(-1deg);
}

.bg-sky {
  background: #DFF6FE;
}

.bg-sun {
  background: #FEF9C3;
}

.bg-teal {
  background: #D9FBF3;
}

.game-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.game-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-title .go {
  font-size: 15px;
  color: var(--sky-d);
  flex-shrink: 0;
}

.game-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tag-sun {
  background: var(--sun);
}

.tag-cyan {
  background: var(--cyan);
}

.tag-teal {
  background: #CCFBF1;
}

.tag-white {
  background: #fff;
}

/* ---------- 三栏说明 ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.col {
  padding: 26px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.col .num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 2px solid var(--ink);
  background: var(--cyan);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.col:nth-child(2) .num {
  background: var(--sun);
}

.col:nth-child(3) .num {
  background: var(--teal);
  color: #fff;
}

.col h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.col p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- 文章列表 ---------- */
.posts {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hard);
}

.post {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1.5px solid var(--line);
  color: var(--ink);
  transition: background 0.14s;
}

.post:last-child {
  border-bottom: none;
}

.post:hover {
  background: var(--sun-xs);
  text-decoration: none;
}

.post time {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 78px;
}

.post .t {
  font-weight: 700;
  font-size: 15.5px;
  flex: 1;
}

.post .k {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--cyan);
  white-space: nowrap;
}

.post .k.sun {
  background: var(--sun);
}

/* ---------- CTA 条 ---------- */
.cta {
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sun-l) 0%, var(--sun) 55%, var(--amber) 100%);
  box-shadow: var(--hard-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.03em;
}

.cta p {
  margin-top: 8px;
  color: #6B4A05;
  font-size: 15px;
  font-weight: 600;
  max-width: 480px;
}

/* ---------- 页脚 ---------- */
.ftr {
  border-top: 2px solid var(--ink);
  background: #fff;
  padding: 52px 0 34px;
  margin-top: 0;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 34px;
}

.ftr h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 800;
}

.ftr ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.ftr ul a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.ftr ul a:hover {
  color: var(--sky-d);
}

.ftr-about p {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 300px;
  margin-top: 12px;
}

.ftr-bot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 作者的话 ---------- */
.note-card {
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFDF0 0%, #FFFBEB 100%);
  padding: 30px 34px 24px;
  box-shadow: 5px 5px 0 var(--ink);
}

.note-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--sun);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.note-card p {
  font-size: 17px;
  line-height: 1.85;
  color: #1E4356;
}

.note-card p + p {
  margin-top: 12px;
}

.note-sign {
  margin-top: 16px;
  text-align: right;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* ---------- 更新记录 ---------- */
.log {
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  margin-bottom: 30px;
}

.log-month {
  padding: 13px 24px;
  background: var(--sun);
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.log-row {
  display: flex;
  gap: 20px;
  padding: 15px 24px;
  border-bottom: 1.5px solid var(--line);
  align-items: baseline;
}

.log-row:last-child {
  border-bottom: none;
}

.log-row time {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 52px;
  letter-spacing: 0.02em;
}

.log-row span {
  font-size: 15.5px;
  color: #1E4356;
  line-height: 1.6;
}

/* ---------- 画廊式首页（进来就是游戏） ---------- */
.lead-row {
  padding: 38px 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.lead-row h1 {
  font-size: clamp(23px, 3.2vw, 32px);
  letter-spacing: 0;
}

.lead-sub {
  margin-top: 7px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 18px;
  padding-bottom: 58px;
}

.tile {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
  text-decoration: none;
}

.tile-shot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 10px;
  border-bottom: 2px solid var(--ink);
}

.tile-shot svg {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.tile:hover .tile-shot svg {
  transform: scale(1.05);
}

.tile-body {
  padding: 11px 14px 13px;
}

.tile-name {
  font-size: 15px;
  font-weight: 800;
}

.tile-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* ---------- 顶栏（LK 版） ---------- */
.brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

/* ---------- 内页 ---------- */
.page-head {
  background: linear-gradient(160deg, var(--sun-xs) 0%, var(--cream) 70%);
  border-bottom: 2px solid var(--ink);
  padding: 54px 0 46px;
}

.page-head h1 {
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-head p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 620px;
}

.prose {
  padding: 56px 0 72px;
  font-size: 16.5px;
  line-height: 1.78;
}

.prose h2 {
  font-size: 26px;
  margin: 42px 0 14px;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 19px;
  margin: 30px 0 10px;
}

.prose p {
  margin: 14px 0;
  color: #1E4356;
}

.prose ul,
.prose ol {
  margin: 14px 0 14px 22px;
}

.prose li {
  margin: 7px 0;
  color: #1E4356;
}

.prose blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 5px solid var(--sun);
  background: var(--sun-xs);
  border-radius: 0 12px 12px 0;
  color: #5C4409;
  font-weight: 600;
}

.prose code {
  background: #EAF6FC;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.9em;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.prose hr {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 34px 0;
}

/* ---------- 游戏玩页 ---------- */
.play-shell {
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--hard-lg);
  background: #fff;
  margin: 30px 0 12px;
}

.play-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--sun);
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.play-frame {
  width: 100%;
  height: min(78vh, 760px);
  border: 0;
  display: block;
  background: var(--foam);
}

.play-note {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 34px;
}

/* ---------- 游戏详情正文 ---------- */
.crumb {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.crumb a {
  color: var(--ink-2);
}

.detail {
  max-width: 700px;
}

.detail h2 {
  font-size: 24px;
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}

.detail h2:first-child {
  margin-top: 0;
}

.detail p {
  font-size: 16px;
  line-height: 1.75;
  color: #1E4356;
  margin: 12px 0;
}

.detail ol,
.detail ul {
  margin: 12px 0 12px 22px;
}

.detail li {
  margin: 8px 0;
  font-size: 15.5px;
  color: #1E4356;
  line-height: 1.65;
}

.detail details {
  border-top: 1.5px solid var(--line);
  padding: 16px 0;
}

.detail details:last-of-type {
  border-bottom: 1.5px solid var(--line);
}

.detail summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.detail summary::-webkit-details-marker {
  display: none;
}

.detail summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 800;
  color: var(--sky-d);
  line-height: 1;
}

.detail details[open] summary::after {
  content: "−";
}

.detail details p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.mathbox {
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--sun-xs);
  padding: 22px 24px;
  margin: 20px 0;
  box-shadow: 4px 4px 0 var(--ink);
}

.mathbox p {
  margin: 10px 0;
  color: #5C4409;
}

.mathbox p:first-child {
  margin-top: 0;
}

.mathbox p:last-child {
  margin-bottom: 0;
}

.mathbox strong {
  color: var(--ink);
}

/* ---------- 中文排版修正 ---------- */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .game-title,
html[lang="zh-CN"] .logo {
  letter-spacing: 0;
}

html[lang="zh-CN"] h1 {
  line-height: 1.28;
}

html[lang="zh-CN"] h2 {
  line-height: 1.32;
}

html[lang="zh-CN"] .hero p.lead {
  line-height: 1.8;
  max-width: 600px;
}

html[lang="zh-CN"] .game-desc {
  line-height: 1.72;
}

html[lang="zh-CN"] .col p {
  line-height: 1.75;
}

html[lang="zh-CN"] .cta p {
  line-height: 1.7;
}

html[lang="zh-CN"] .prose p {
  margin: 17px 0;
}

html[lang="zh-CN"] .prose li {
  line-height: 1.75;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hdr-in {
    height: 62px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 6px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 12px;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-deco {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .sec {
    padding: 54px 0;
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cta {
    padding: 32px 26px;
  }

  .post {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .post .t {
    flex-basis: 100%;
    order: 3;
  }

  .play-frame {
    height: 72vh;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-bottom: 40px;
  }

  .tile-shot {
    padding: 8px;
  }

  .tile-body {
    padding: 9px 11px 11px;
  }

  .tile-name {
    font-size: 13.5px;
  }

  .tile-desc {
    font-size: 11.5px;
  }

  .lead-row {
    padding: 26px 0 18px;
  }

  .games {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .game-shot,
  .game-shot.cover {
    aspect-ratio: 16 / 9;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .badge {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .ftr-about {
    grid-column: 1 / -1;
  }

  .hero-meta {
    gap: 18px;
  }

  .hero-meta b {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
