/* ==========================================================
   Bytebit Studio — 站点样式
   设计规则：粗黑描边 + 零模糊硬投影 + 贴纸旋转 + 散落几何
   ========================================================== */

/* ---------- 0. 本地字体 ---------- */
@font-face {
  font-family: "ZCOOL KuaiLe";
  src: url("../fonts/zcool-kuaile.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #171110;
  --cream: #FFF6EE;
  --pink: #F94A9C;
  --pink-deep: #C81B70;
  --mint: #7EDDD0;
  --orange: #F5822B;
  --yellow: #FFE24B;
  --violet: #8B5CF6;
  --sky: #4CC9F0;
  --lime: #C6FF4D;
  --coral: #FF6B5A;

  --bd: 3px;
  --bd-lg: 4px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --r-pill: 999px;
  --shadow: 0 8px 0 var(--ink);
  --shadow-lg: 0 12px 0 var(--ink);

  --font-display: "ZCOOL KuaiLe", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-lat: "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(64px, 8vw, 112px);
}

/* ---------- 3. Themes：每页一个主色 ---------- */
[data-theme="pink"] {
  --bg: var(--pink);
  --fg: var(--ink);
  --muted: #5E1039;
  --card: #FFFFFF;
  --accent: var(--mint);
  --pop: var(--yellow);
  --chip: #FFFFFF;
}
[data-theme="mint"] {
  --bg: var(--mint);
  --fg: var(--ink);
  --muted: #1C6B62;
  --card: #FFFFFF;
  --accent: var(--pink);
  --pop: var(--yellow);
  --chip: #FFFFFF;
}
[data-theme="orange"] {
  --bg: var(--orange);
  --fg: var(--ink);
  --muted: #7A3A0B;
  --card: #FFF6EE;
  --accent: var(--pink);
  --pop: var(--mint);
  --chip: #FFFFFF;
}
[data-theme="yellow"] {
  --bg: var(--yellow);
  --fg: var(--ink);
  --muted: #6B5A00;
  --card: #FFFFFF;
  --accent: var(--pink);
  --pop: var(--violet);
  --chip: #FFFFFF;
}
[data-theme="sky"] {
  --bg: var(--sky);
  --fg: var(--ink);
  --muted: #0B4C63;
  --card: #FFFFFF;
  --accent: var(--pink);
  --pop: var(--yellow);
  --chip: #FFFFFF;
}
[data-theme="violet"] {
  --bg: #E9DDFF;
  --fg: var(--ink);
  --muted: #4B3A6B;
  --card: #FFFFFF;
  --accent: var(--violet);
  --pop: var(--pink);
  --chip: #FFFFFF;
}
[data-theme="coral"] {
  --bg: var(--coral);
  --fg: var(--ink);
  --muted: #6B1A12;
  --card: #FFF6EE;
  --accent: var(--yellow);
  --pop: var(--mint);
  --chip: #FFFFFF;
}
[data-theme="dark"] {
  --bg: #171110;
  --fg: #FFF6EE;
  --muted: #A89893;
  --card: #241C1A;
  --accent: var(--lime);
  --pop: var(--pink);
  --chip: #241C1A;
}
[data-theme="night"] {
  --bg: #2A1150;
  --fg: #FFFFFF;
  --muted: #B9A6D6;
  --card: #3A1A69;
  --accent: var(--lime);
  --pop: var(--pink);
  --chip: #3A1A69;
}

/* 防止 grid 子项被长文本撑开 */
.hero__grid > *, .split > *, .duo > *, .sec-head > *, .ghero > *, .steps > *, .cards > * { min-width: 0; }

/* ---------- 4. Base ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  /* 网点纹理 */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  opacity: .5;
}
[data-theme="dark"] body::before,
[data-theme="night"] body::before {
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.6px);
  opacity: .7;
}
main, header, footer { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--sec); position: relative; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  text-wrap: balance;
}
.lat { font-family: var(--font-lat); letter-spacing: .01em; }

/* ---------- 5. 眉标 / 标题组 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 11px; height: 11px;
  background: currentColor;
  border-radius: 3px;
  transform: rotate(8deg);
}
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.22; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.lead { width: 100%; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.85; color: var(--muted); }
.muted { color: var(--muted); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sec-head__main { display: grid; gap: 12px; }
.sec-head__desc { width: 100%; max-width: 380px; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* ---------- 6. 按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 6px 0 rgba(23, 17, 16, .35);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 rgba(23, 17, 16, .35); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(23, 17, 16, .35); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: rgba(255, 255, 255, .45); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--wide { width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--chip);
  border: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.tag--solid { background: var(--accent); }
.tag--plain { border-color: transparent; background: rgba(23, 17, 16, .07); color: var(--muted); font-weight: 500; }

/* ---------- 7. Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: var(--bd) solid var(--ink);
}
.site-head__in {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 64px; width: auto; }
[data-theme="dark"] .brand img,
[data-theme="night"] .brand img {
  background: #FFF6EE;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  height: 56px;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  padding-block: 6px;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: right .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { font-weight: 700; }
.head-cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none;
  width: 48px; height: 48px;
  border: var(--bd) solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}
.mobile-nav {
  display: none;
  border-bottom: var(--bd) solid var(--ink);
  background: var(--bg);
  padding: 8px var(--pad) 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 2px dashed rgba(23, 17, 16, .18);
  font-size: 17px;
  font-weight: 600;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}
.badge-pill i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.18;
  display: grid;
  gap: 2px;
  justify-items: start;
}
.sticker-line {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 0 14px 2px;
  border: var(--bd-lg) solid var(--ink);
  border-radius: 16px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 0 var(--ink);
  margin-block: 4px;
}
.hero__sub { width: 100%; max-width: 520px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.hero__note b { color: var(--fg); }

/* 机器人舞台 */
.stage {
  position: relative;
  z-index: 1;
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--mint);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
[data-theme="mint"] .stage { background: var(--pink); }
.stage__screen {
  position: relative;
  height: clamp(300px, 40vw, 470px);
  border: var(--bd-lg) solid var(--ink);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  cursor: crosshair;
  touch-action: pan-y;
}
.stage__screen::after {
  /* 屏幕反光 */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 46%, rgba(126, 221, 208, .28) 46.5%, rgba(126, 221, 208, .28) 58%, rgba(255, 255, 255, 0) 58.5%);
  pointer-events: none;
}
.stage__floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 74px;
  background: repeating-linear-gradient(90deg, #F5EBE3 0 14px, #EFE1D6 14px 28px);
  border-top: var(--bd) solid var(--ink);
}
.stage__bot {
  position: absolute;
  bottom: 74px;
  left: 0;
  transform: translate3d(120px, 0, 0);
  width: clamp(132px, 15vw, 192px);
  height: auto;
  transform-origin: 50% 100%;
  will-change: transform;
  z-index: 3;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.bot-shadow {
  position: absolute;
  bottom: 66px;
  left: 0;
  width: clamp(132px, 15vw, 192px);
  height: 16px;
  border-radius: 50%;
  background: rgba(23, 17, 16, .18);
  filter: blur(1px);
  z-index: 2;
  will-change: transform;
}
.stage__hint {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
  transition: opacity .25s ease;
}
.stage__tag {
  position: absolute;
  top: -18px; right: 18px;
  z-index: 5;
  transform: rotate(3deg);
}
/* 舞台小游戏：HUD / 掉落零件 / 结算 */
.stage__timebar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: rgba(23, 17, 16, .12);
  z-index: 6;
}
.stage__timebar i {
  display: block;
  height: 100%;
  background: var(--pink);
  transform-origin: left center;
  transform: scaleX(1);
}
.stage__hud {
  position: absolute;
  top: 20px; left: 16px; right: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.hud__right { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.hud__time {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 1px 9px 2px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--ink);
  transform: rotate(2deg);
}
.hud__time b { font-family: var(--font-lat); font-size: 19px; line-height: 1; font-weight: 800; }
.hud__time span { font-size: 10px; font-weight: 700; color: var(--pink-deep); }
.hud__score {
  background: #fff;
  border: var(--bd) solid var(--ink);
  border-radius: 14px;
  padding: 4px 14px 6px;
  text-align: center;
  box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.hud__score b {
  display: block;
  font-family: var(--font-lat);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}
.hud__score span { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--pink-deep); }
.hud__lives { display: flex; gap: 6px; padding-top: 4px; }
.hud__lives i {
  width: 13px; height: 13px;
  border: 2.5px solid var(--ink);
  border-radius: 3px;
  background: var(--pink);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.hud__lives i.is-out { background: #fff; opacity: .45; transform: scale(.7) rotate(45deg); }

.drop {
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border: var(--bd) solid var(--ink);
  border-radius: 9px;
  background: var(--c, var(--pink));
  box-shadow: 0 3px 0 rgba(23, 17, 16, .8);
  z-index: 2;
  will-change: transform;
  pointer-events: none;
}
.drop--round { border-radius: 50%; }

.stage__over {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(23, 17, 16, .38);
}
.stage__over.is-on { display: flex; animation: overIn .26s ease both; }
@keyframes overIn { from { opacity: 0; } to { opacity: 1; } }
.over__card {
  width: 100%;
  max-width: 288px;
  padding: 22px 22px 20px;
  text-align: center;
  background: var(--cream);
  border: var(--bd-lg) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.over__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--pink-deep); }
.over__score { display: block; margin: 2px 0 4px; font-family: var(--font-lat); font-size: clamp(46px, 8vw, 62px); line-height: 1; font-weight: 800; }
.over__best { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.over__note { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.over__card .btn { width: 100%; margin-top: 14px; }
.stage__plate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px 0;
}

/* 散落几何 */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape--plus svg, .shape--dot svg, .shape--tri svg, .shape--ring svg, .shape--sq svg { display: block; }

/* 彩色色带：在页面内切出第二种主色 */
.band-mint {
  background: var(--mint);
  color: var(--ink);
  border-top: var(--bd-lg) solid var(--ink);
  border-bottom: var(--bd-lg) solid var(--ink);
  --fg: var(--ink);
  --muted: #1C6B62;
  --accent: var(--pink);
  --pop: var(--yellow);
  --card: #FFFFFF;
  --chip: #FFFFFF;
}
.band-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-top: var(--bd-lg) solid var(--ink);
  border-bottom: var(--bd-lg) solid var(--ink);
  --fg: var(--ink);
  --muted: #6B5A00;
  --accent: var(--pink);
  --card: #FFFFFF;
  --chip: #FFFFFF;
}
.band-ink {
  background: var(--ink);
  color: var(--cream);
  border-top: var(--bd-lg) solid var(--ink);
  border-bottom: var(--bd-lg) solid var(--ink);
  --fg: var(--cream);
  --muted: #A89893;
  --accent: var(--mint);
  --card: #241C1A;
  --chip: #2E2523;
}
.band-pink {
  background: var(--pink);
  color: var(--ink);
  border-top: var(--bd-lg) solid var(--ink);
  border-bottom: var(--bd-lg) solid var(--ink);
  --fg: var(--ink);
  --muted: #5E1039;
  --accent: #FFFFFF;
  --card: #FFFFFF;
  --chip: #FFFFFF;
}

/* ---------- 9. 作品窗口 ---------- */
.window {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
}
.window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
  padding-inline: 20px;
  background: var(--ink);
  color: #fff;
}
.window__bar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--pink); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: var(--mint); }
.window__path { font-family: var(--font-lat); font-size: 13.5px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window__status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; white-space: nowrap; }
.window__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: block; }
.window__body { padding: clamp(16px, 2vw, 24px); display: grid; gap: 18px; }
.window__foot {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: #8A6F78;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: inherit; }
.window .link-arrow, .gcard .link-arrow { color: var(--pink-deep); }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gcard {
  display: flex;
  flex-direction: column;
  border: var(--bd) solid var(--ink);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 0 rgba(23, 17, 16, .18);
}
.gcard:hover { transform: translateY(-5px); box-shadow: 0 9px 0 rgba(23, 17, 16, .28); }
.gcard__cover {
  position: relative;
  height: 176px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  overflow: hidden;
  border-bottom: var(--bd) solid var(--ink);
}
.gcard__cover .lat { font-size: 11px; font-weight: 700; letter-spacing: .16em; opacity: .75; }
.gcard__cover h3 { font-size: 27px; line-height: 1.15; }
.gcard__cover--mint { background: var(--mint); }
.gcard__cover--pink { background: var(--pink-deep); color: #fff; }
.gcard__cover--pink .lat { color: #FFB3D9; opacity: 1; }
.gcard__cover--orange { background: var(--orange); }
.gcard__cover--sky { background: var(--sky); }
.gcard__cover--violet { background: #6C4BE0; color: #fff; }
.gcard__cover--violet .lat { color: #D6C7FF; opacity: 1; }
.gcard__cover--yellow { background: var(--yellow); }
.gcard__deco { position: absolute; right: -14px; top: -14px; opacity: .9; }
.gcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.gcard__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gcard__meta span { font-size: 12px; color: #8A6F78; }
.gcard p { font-size: 14px; line-height: 1.7; color: #5A4048; }
.gcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gcard__tags span { padding: 4px 10px; background: #F5EBE3; border-radius: var(--r-pill); font-size: 11px; color: #6B5058; }
.gcard__act { margin-top: auto; padding-top: 6px; }

/* ---------- 10. 暗色游戏介绍 + 对话面板 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.spec { display: grid; gap: 14px; }
.spec__row { display: grid; gap: 4px; padding-top: 14px; border-top: 2px dashed rgba(23, 17, 16, .22); }
[data-theme="dark"] .spec__row, [data-theme="night"] .spec__row { border-color: rgba(255, 255, 255, .2); }
.spec__row:first-child { border-top: 0; padding-top: 0; }
.spec__k { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.spec__k b { font-family: var(--font-lat); font-size: 12px; font-weight: 800; opacity: .55; letter-spacing: .08em; }
.spec__v { font-size: 14px; line-height: 1.8; color: var(--muted); }

.chat {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--ink);
  padding: 20px;
  display: grid;
  gap: 13px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-.8deg);
}
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat__who { display: flex; align-items: center; gap: 10px; }
.chat__avatar {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--mint);
  border: var(--bd) solid var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.chat__avatar img { width: 30px; }
.chat__who b { font-family: var(--font-lat); font-size: 15px; font-weight: 800; display: block; line-height: 1.2; }
.chat__who span { font-size: 11px; color: #8A6F78; }
.chat__badge { background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.chat__rule { height: 2px; background: #E9DBD2; }
.bubble {
  max-width: 84%;
  padding: 12px 15px;
  border: 2px solid var(--ink);
  font-size: 14px;
  line-height: 1.7;
}
.bubble--bot { background: #fff; border-radius: 4px 16px 16px 16px; justify-self: start; }
.bubble--me { background: var(--mint); border-radius: 16px 4px 16px 16px; justify-self: end; }
.bubble--warn { background: #FFF3C4; justify-self: start; }
.typing { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 13px 17px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: block; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; padding-top: 4px; }
.meter { display: flex; align-items: center; gap: 8px; }
.meter__track { width: 96px; height: 9px; border-radius: var(--r-pill); background: #EDE0D7; overflow: hidden; }
.meter__fill { height: 100%; border-radius: var(--r-pill); background: var(--pink); }

/* ---------- 11. 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: 0 7px 0 rgba(23, 17, 16, .3);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .step, [data-theme="night"] .step { border-color: var(--ink); }
.step__n { font-family: var(--font-lat); font-size: 13px; font-weight: 800; letter-spacing: .1em; opacity: .45; }
.step h3 { font-size: 20px; }
.step p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.step__ico { width: 46px; height: 46px; display: grid; place-items: center; }

/* ---------- 12. 日志列表 ---------- */
.loglist { display: grid; border-top: var(--bd) solid var(--ink); }
.logrow {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 2px solid rgba(23, 17, 16, .18);
  transition: background .16s ease, padding .16s ease;
}
.logrow:hover { background: rgba(255, 255, 255, .5); padding-inline: 18px; }
.logrow__date { font-family: var(--font-lat); font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .7; }
.logrow__t { display: block; font-size: 18px; font-weight: 700; line-height: 1.5; }
.logrow__d { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.logrow__k { font-size: 12px; padding: 4px 11px; border: 2px solid var(--ink); border-radius: var(--r-pill); white-space: nowrap; }

/* ---------- 13. 订阅 ---------- */
.subscribe {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--pop);
  color: var(--ink);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.subscribe h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.subscribe p { font-size: 14px; line-height: 1.8; margin-top: 8px; }
.subform { display: flex; gap: 10px; flex-wrap: wrap; }
.subform input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 15px 18px;
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}
.subform input::placeholder { color: #A08E88; }

/* ---------- 14. Footer ---------- */
.site-foot {
  background: var(--bg);
  border-top: var(--bd) solid var(--ink);
  padding-block: clamp(40px, 5vw, 64px) 28px;
  position: relative;
}
[data-theme="dark"] .site-foot, [data-theme="night"] .site-foot { border-color: rgba(255,255,255,.2); }
.foot__top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.foot__wordmark { width: min(100%, 420px); }
.foot__tagline { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
[data-theme="dark"] .foot__wordmark { background: #FFF6EE; padding: 10px 16px; border-radius: 16px; }
.foot__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 40px; justify-content: end; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h4 { font-size: 12px; letter-spacing: .12em; color: var(--muted); font-weight: 700; font-family: var(--font-body); }
.foot__col a { font-size: 14px; font-weight: 500; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__rule { height: var(--bd); background: var(--ink); margin-block: 36px 22px; }
[data-theme="dark"] .foot__rule { background: rgba(255,255,255,.25); }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__sticker {
  position: absolute;
  right: 5%;
  top: -42px;
  width: 88px; height: 88px;
  background: var(--accent);
  border: var(--bd) solid var(--ink);
  border-radius: 20px;
  transform: rotate(-7deg);
  display: grid; place-items: center;
  box-shadow: 0 8px 0 var(--ink);
}
.foot__sticker img { width: 56px; }

/* ---------- 15. 页面头（内页） ---------- */
.page-head {
  padding-block: clamp(36px, 4.5vw, 64px) clamp(28px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
}
.page-head__in { display: grid; gap: 14px; max-width: 760px; position: relative; }
.page-head h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.16; }
.page-head p { width: 100%; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: var(--muted); max-width: 620px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.crumb a:hover { text-decoration: underline; }

/* ---------- 16. 游戏详情 ---------- */
.ghero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px) clamp(36px, 4vw, 64px);
}
.ghero__copy { display: grid; gap: 18px; justify-items: start; }
.ghero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.1; }
.ghero__en { font-family: var(--font-lat); font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .2em; font-weight: 700; opacity: .6; }
.ghero__lead { width: 100%; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.85; max-width: 500px; }
.gkeyart {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  transform: rotate(1deg);
}
.gkeyart__inner { display: grid; gap: 6px; text-align: center; padding: 24px; }
.gkeyart__inner h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.gkeyart__inner span { font-family: var(--font-lat); font-size: 12px; letter-spacing: .24em; font-weight: 700; }
.gkeyart__bot { width: clamp(96px, 12vw, 150px); margin: 0 auto 4px; }
.gkeyart__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: #fff; color: var(--ink);
  border: var(--bd) solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  color: var(--fg);
}
.fact { padding: 20px; border-right: 2px solid rgba(23, 17, 16, .12); display: grid; gap: 3px; }
.fact:last-child { border-right: 0; }
.fact dt { font-size: 11.5px; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.fact dd { margin: 0; font-size: 16px; font-weight: 700; font-family: var(--font-lat); }

.mech { display: grid; gap: 18px; }
.mech__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: clamp(18px, 2vw, 26px);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  color: var(--fg);
  box-shadow: 0 6px 0 rgba(23, 17, 16, .18);
}
.mech__n {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--ink);
  border: var(--bd) solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-lat);
  font-weight: 800;
  font-size: 16px;
  flex: 0 0 auto;
}
.mech__body { display: grid; gap: 7px; }
.mech__body h3 { font-size: clamp(19px, 1.9vw, 23px); }
.mech__body p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.mech__list { display: grid; gap: 7px; margin-top: 2px; }
.mech__list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.mech__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.loop { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.loop__step {
  border: var(--bd) solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  color: var(--fg);
  padding: 16px;
  display: grid;
  gap: 4px;
  position: relative;
}
.loop__step b { font-family: var(--font-lat); font-size: 11px; letter-spacing: .1em; opacity: .5; }
.loop__step span { font-size: 14.5px; font-weight: 700; }

.quote {
  border-left: 6px solid var(--accent);
  padding: 6px 0 6px 20px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.6;
}
.quote footer { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; }

.cta-band {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px);
  background: var(--accent);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.cta-band p { font-size: 14px; margin-top: 8px; line-height: 1.8; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 17. 关于 / 团队 ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.member {
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  color: var(--fg);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 6px 0 rgba(23, 17, 16, .18);
}
.member__av {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--mint);
  border: var(--bd) solid var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.member__av img { width: 46px; }
.member b { font-size: 16px; }
.member span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.poseswall {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--pink);
}
.poseswall img { width: 100%; display: block; }

/* ---------- 18. 媒体资料 ---------- */
.assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .assets { grid-template-columns: 1fr; } }
.asset {
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  color: var(--fg);
  display: flex;
  flex-direction: column;
}
.asset__preview { padding: 24px; display: grid; place-items: center; height: 186px; overflow: hidden; }
.asset__preview img { max-height: 110px; width: auto; }
.asset__meta { padding: 14px 16px; border-top: var(--bd) solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asset__meta b { font-size: 14px; }
.asset__meta a { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.swatch { border: var(--bd) solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--card); }
.swatch__c { height: 72px; }
.swatch__m { padding: 8px 10px; font-family: var(--font-lat); font-size: 12px; font-weight: 700; }

/* ---------- 19. 招聘 ---------- */
.joblist { display: grid; gap: 14px; }
.job {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  align-items: center; justify-content: space-between;
  border: var(--bd) solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  color: var(--fg);
  padding: 20px 22px;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 5px 0 rgba(23, 17, 16, .16);
}
.job:hover { transform: translate(-2px, -3px); box-shadow: 0 9px 0 rgba(23, 17, 16, .24); }
.job__main { display: grid; gap: 4px; }
.job__main b { font-size: 17px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job__meta span { font-size: 11.5px; padding: 4px 10px; background: rgba(23,17,16,.07); border-radius: var(--r-pill); }

/* ---------- 20. 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; gap: 16px; padding-block: 60px; }
.nf h1 { font-size: clamp(60px, 12vw, 140px); line-height: .9; }
.nf img { width: 120px; margin: 0 auto; }

/* ---------- 21. 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .typing i { animation: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__grid, .split, .ghero { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 560px; transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .gcard:last-child { grid-column: span 2; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { justify-content: start; }
  .subscribe { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 2px solid rgba(23,17,16,.12); }
  .steps, .steps--4 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav, .head-cta .btn { display: none; }
  .burger { display: grid; }
  .site-head__in { height: 74px; }
  .brand img { height: 44px; }
  .cards { grid-template-columns: 1fr; }
  .cards .gcard:last-child { grid-column: auto; }
  .logrow { grid-template-columns: 1fr; gap: 6px; padding-block: 18px; }
  .logrow__k { justify-self: start; }
  .foot__sticker { display: none; }
  .h2 { font-size: clamp(26px, 7vw, 34px); }
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); }
  .stage__screen { height: clamp(260px, 62vw, 380px); }
  .hero__note { font-size: 12px; }
  .window__status { display: none; }
  .mech__item { grid-template-columns: 1fr; gap: 12px; }
  .mech__n { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
}

@media (max-width: 520px) {
  .foot__nav { grid-template-columns: repeat(2, auto); gap: 24px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 2px solid rgba(23,17,16,.12); }
  .fact:last-child { border-bottom: 0; }
  .btn { width: 100%; }
  .hero__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__btns .btn { width: 100%; padding-inline: 8px; font-size: 14px; letter-spacing: 0; }
  .chat { padding: 14px; }
  .bubble { max-width: 92%; font-size: 13px; }
  .stage { padding: 10px; }
  .stage__screen { height: clamp(300px, 74vw, 380px); }
  .stage__hud { top: 18px; left: 12px; right: 12px; }
  .hud__score { padding: 3px 10px 4px; border-radius: 11px; }
  .hud__score b { font-size: 21px; }
  .stage__hint { left: 10px; bottom: 10px; font-size: 10px; padding: 5px 9px; }
  .over__note { font-size: 12px; }
}

/* ---------- 23. 作品列表（横向大卡） ---------- */
.glist { display: grid; gap: 22px; }
.grow {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  color: var(--fg);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.grow:hover { transform: translate(-2px, -4px); box-shadow: 0 14px 0 rgba(23, 17, 16, .3); }
.grow__cover {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  border-right: var(--bd-lg) solid var(--ink);
  overflow: hidden;
  min-height: 220px;
}
.grow__cover .lat { font-size: 11px; font-weight: 700; letter-spacing: .18em; opacity: .78; }
.grow__cover h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.grow__body { padding: 24px 26px; display: grid; gap: 12px; align-content: start; }
.grow__body p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.grow__foot { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-top: 2px; }
.grow__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 24. 时间线 ---------- */
.timeline { display: grid; gap: 0; border-left: var(--bd) solid var(--ink); margin-left: 8px; }
.tl {
  position: relative;
  padding: 0 0 26px 26px;
}
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: "";
  position: absolute;
  left: -9px; top: 8px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: var(--bd) solid var(--ink);
}
.tl__d { font-family: var(--font-lat); font-size: 12px; font-weight: 800; letter-spacing: .08em; opacity: .55; }
.tl__t { font-size: 16.5px; font-weight: 700; margin-top: 2px; }
.tl__x { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 3px; }

/* ---------- 25. 数值卡 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat {
  border: var(--bd) solid var(--ink);
  border-radius: 18px;
  background: var(--card);
  color: var(--fg);
  padding: 18px;
  display: grid;
  gap: 2px;
}
.stat b { font-family: var(--font-lat); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- 26. 双栏图文 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.duo__media {
  border: var(--bd-lg) solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.duo__media img { width: 100%; display: block; }

.steps--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .grow { grid-template-columns: 1fr; }
  .grow__cover { border-right: 0; border-bottom: var(--bd-lg) solid var(--ink); min-height: 170px; }
  .duo { grid-template-columns: 1fr; }
}

/* ---------- 27. 置顶日志卡 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border: var(--bd-lg) solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: #171110;
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 0 var(--ink); }
.feature__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.feature__body h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; }
.feature__body p { font-size: 14.5px; line-height: 1.85; color: #5A4048; }
.feature__media { background: #2A1150; display: grid; place-items: center; padding: 28px; border-left: var(--bd-lg) solid var(--ink); }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { border-left: 0; border-top: var(--bd-lg) solid var(--ink); padding: 20px; }
}

@media (max-width: 640px) {
  .steps--4 { grid-template-columns: 1fr; }
  .foot__nav { grid-template-columns: repeat(2, auto); }
  .logrow { padding-inline: 0; }
  .logrow:hover { padding-inline: 0; }
}

/* ---------- 28. 找到我们 / 二维码 ---------- */
.findus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.findus > * { min-width: 0; }
.qcard {
  border: var(--bd-lg) solid var(--ink);
  border-radius: 24px;
  background: #FFF6EE;
  color: var(--ink);
  box-shadow: 0 12px 0 rgba(23, 17, 16, .5);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.qcard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: var(--bd-lg) solid var(--ink);
  min-width: 0;
}
.qcard__brand {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
.qcard__name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.qcard__meta {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-lat);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}
.qcard__main { display: grid; grid-template-columns: 182px minmax(0, 1fr); gap: 20px; padding: 18px; align-items: center; }
.qcard__main > * { min-width: 0; }
.qcard__qr {
  background: #fff;
  border: var(--bd) solid var(--ink);
  border-radius: 16px;
  padding: 9px 9px 7px;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.qcard__qr img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.qcard__qr span { font-size: 11px; font-weight: 800; color: #171110; letter-spacing: .04em; }
.qcard__body { display: grid; gap: 8px; align-content: center; }
.qcard__body p { font-size: 13.5px; line-height: 1.8; color: #5A4048; }
.qcard__tag {
  justify-self: start;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: #FFE24B;
  border: 2px solid var(--ink);
  color: var(--ink);
  transform: rotate(-2deg);
}
.findus__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.findus__note a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.findus__note b { color: var(--fg); }

@media (max-width: 900px) {
  .findus { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .qcard__main { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .qcard__qr { width: 200px; }
  .qcard__body { justify-items: center; }
  .qcard__body .tag { justify-self: center; }
  .qcard__head { flex-wrap: wrap; }
  .qcard__meta { margin-left: 0; white-space: normal; }
}

/* ---------- 29. 可选封面 / 主视觉（丢图即生效） ---------- */
.art-swap { display: none; }
.has-art { color: #fff; }
.has-art .gcard__deco,
.has-art .gkeyart__inner { display: none; }
.has-art .art-swap {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.has-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 17, 16, .06) 34%, rgba(23, 17, 16, .66) 100%);
}
.has-art > *:not(.art-swap) { position: relative; z-index: 2; }
.has-art .lat { color: #fff; opacity: .88; }
.has-art h2, .has-art h3 { color: #fff; }

/* ---------- 30. 空链接兜底提示（把 # 换成真链接后自动失效） ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  background: var(--card, #fff);
  color: var(--ink, #171110);
  border: var(--bd, 3px) solid var(--ink, #171110);
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--ink, #171110);
  transform: translate(-50%, 130%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast__txt { font-size: 13px; line-height: 1.5; font-weight: 700; }
.toast__txt span { display: block; font-size: 11.5px; font-weight: 500; opacity: .62; margin-top: 2px; }
.toast__mail {
  flex: none;
  font-family: var(--font-lat, sans-serif);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  white-space: nowrap;
  border: 2px solid var(--ink, #171110);
  border-radius: 10px;
  background: #FFE24B;
  color: #171110;
  text-decoration: none;
  transition: transform .12s ease;
}
.toast__mail:hover { transform: translateY(-2px); }
@media (max-width: 560px) {
  .toast { left: 16px; right: 16px; bottom: 16px; transform: translate(0, 130%); max-width: none; }
  .toast.is-on { transform: translate(0, 0); }
  .toast__txt { font-size: 12.5px; }
}
