/* =========================================================
   Lovemoai2.cn · lovemo 安卓下载站
   视觉：墨绿黑 + 米纸 + 柿子橙，硬边阴影编辑风
   ========================================================= */

:root {
  --ink: #111614;
  --ink-2: #1c2421;
  --paper: #f4ede1;
  --paper-2: #fcf7ef;
  --coral: #ef5b3f;
  --coral-deep: #c9432a;
  --sage: #8fa294;
  --sage-light: #dbe4da;
  --sage-deep: #3f5548;
  --gold: #d8ad5b;
  --cream: #f6efe3;
  --muted: #6c665c;
  --line: rgba(17, 22, 20, 0.16);
  --line-soft: rgba(17, 22, 20, 0.08);
  --line-light: rgba(246, 239, 227, 0.18);
  --wrap: 1180px;
  --head: 72px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 14px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1, h2, h3, h4, p, dl, dd, blockquote, figure {
  margin: 0;
}

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

::selection {
  background: var(--coral);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 14px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 滚动进度 ---------- */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

/* ---------- 动态背景 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 8% 66%, rgba(239, 91, 63, 0.1), transparent 66%),
    radial-gradient(680px 520px at 92% 22%, rgba(143, 162, 148, 0.2), transparent 70%),
    linear-gradient(180deg, #f7f1e7 0%, #f2ebdf 58%, #f6efe4 100%);
}

.aurora::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: repeating-linear-gradient(
    116deg,
    rgba(17, 22, 20, 0.035) 0 1px,
    transparent 1px 26px
  );
  opacity: 0.8;
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 22, 20, 0.05) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.4;
}

.blob {
  position: absolute;
  display: block;
  filter: blur(70px);
  opacity: 0.7;
  animation: drift 30s ease-in-out infinite alternate;
}

.blob-a {
  width: 44vw;
  height: 44vw;
  left: -12vw;
  top: 52vh;
  background: rgba(239, 91, 63, 0.16);
}

.blob-b {
  width: 38vw;
  height: 38vw;
  right: -10vw;
  top: 12vh;
  background: rgba(143, 162, 148, 0.26);
  animation-duration: 36s;
  animation-delay: -8s;
}

.blob-c {
  width: 30vw;
  height: 30vw;
  left: 40vw;
  top: 74vh;
  background: rgba(216, 173, 91, 0.16);
  animation-duration: 42s;
  animation-delay: -16s;
}

@keyframes drift {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to { transform: translate3d(5%, -4%, 0) scale(1.14); }
}

/* ---------- 顶部细条 ---------- */
.railbar {
  background: var(--ink);
  color: rgba(246, 239, 227, 0.6);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(246, 239, 227, 0.1);
}

.railbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.railbar p {
  margin: 0;
}

.railbar-note {
  color: rgba(246, 239, 227, 0.4);
}

/* ---------- 吸顶导航 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--head);
  background: #131917;
  border-bottom: 1px solid rgba(246, 239, 227, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mast-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--head);
}

.mast-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.mast-logo img {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(246, 239, 227, 0.25);
}

.mast-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--cream);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mast-word small {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(246, 239, 227, 0.45);
}

.mast-nav {
  display: flex;
  gap: 22px;
}

.mast-nav a {
  padding: 6px 0;
  font-size: 14px;
  color: rgba(246, 239, 227, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mast-nav a:hover {
  color: #fff;
  border-bottom-color: var(--coral);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(246, 239, 227, 0.28);
  background: transparent;
  cursor: pointer;
  flex: none;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--cream);
}

.masthead.is-solid {
  background: rgba(252, 247, 239, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 26px rgba(17, 22, 20, 0.08);
}

.masthead.is-solid .mast-word { color: var(--ink); }
.masthead.is-solid .mast-word small { color: var(--muted); }
.masthead.is-solid .mast-logo img { border-color: var(--line); }
.masthead.is-solid .mast-nav a { color: var(--ink-2); }
.masthead.is-solid .burger { border-color: var(--line); }
.masthead.is-solid .burger span { background: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
}

.btn-xl {
  height: 54px;
  padding: 0 26px;
  font-size: 15.5px;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-ink:hover {
  box-shadow: 4px 4px 0 var(--coral);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-coral:hover {
  background: #f36a4e;
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-cream:hover {
  box-shadow: 5px 5px 0 rgba(239, 91, 63, 0.85);
}

.btn-outline-cream {
  border-color: rgba(246, 239, 227, 0.4);
  color: var(--cream);
}

.btn-outline-cream:hover {
  border-color: var(--cream);
  background: rgba(246, 239, 227, 0.08);
}

.btn-outline-cream.is-copied {
  border-color: #9fd3b4;
  color: #b6e7c9;
}

.btn-ghost {
  border-color: rgba(246, 239, 227, 0.42);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(246, 239, 227, 0.1);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  padding: clamp(34px, 5vw, 62px) 0 0;
  background:
    radial-gradient(760px 520px at 86% 6%, rgba(239, 91, 63, 0.3), transparent 66%),
    radial-gradient(560px 460px at 6% 92%, rgba(143, 162, 148, 0.22), transparent 70%),
    linear-gradient(160deg, #151c19 0%, #101513 58%, #161f1b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 239, 227, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(246, 239, 227, 0.04) 1px, transparent 1px);
  background-size: 25% 100%, 100% 120px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(239, 91, 63, 0.3);
  background: radial-gradient(circle at 50% 50%, rgba(239, 91, 63, 0.16), transparent 68%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to { transform: translate3d(-24px, 20px, 0) scale(1.08); opacity: 1; }
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(246, 239, 227, 0.5);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5.3vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 mark {
  background: var(--coral);
  color: #fff;
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-sub {
  max-width: 36em;
  margin-bottom: 26px;
  font-size: clamp(14.5px, 1.35vw, 16.5px);
  line-height: 1.95;
  color: rgba(246, 239, 227, 0.72);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-cta .btn-ghost {
  color: var(--cream);
}

.hero-note {
  font-size: 12px;
  color: rgba(246, 239, 227, 0.42);
}

/* ---------- 首屏拼贴 ---------- */
.poster {
  position: relative;
  min-height: 560px;
  will-change: transform;
}

.poster-word {
  position: absolute;
  left: -6%;
  top: 24%;
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 239, 227, 0.12);
  pointer-events: none;
}

.poster-frame {
  position: absolute;
  top: 2%;
  right: 3%;
  z-index: 2;
  width: 58%;
  max-width: 280px;
  padding: 10px;
  background: #1a211e;
  border: 1px solid rgba(246, 239, 227, 0.32);
  box-shadow: 14px 14px 0 rgba(239, 91, 63, 0.9);
}

.poster-frame img {
  display: block;
  width: 100%;
}

.poster-frame figcaption {
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(246, 239, 227, 0.55);
}

.poster-mini {
  position: absolute;
  z-index: 3;
  padding: 6px;
  background: #1a211e;
  border: 1px solid rgba(246, 239, 227, 0.3);
}

.poster-mini img {
  display: block;
  width: 100%;
}

.mini-a {
  left: 0;
  top: 10%;
  width: 27%;
  box-shadow: 8px 8px 0 rgba(143, 162, 148, 0.85);
}

.mini-b {
  left: 6%;
  right: auto;
  bottom: 0;
  width: 25%;
  box-shadow: 8px 8px 0 rgba(216, 173, 91, 0.85);
}

.poster-stamp {
  position: absolute;
  left: 4%;
  top: 3%;
  z-index: 4;
  padding: 6px 10px;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.poster-square {
  position: absolute;
  left: 4%;
  bottom: 6%;
  z-index: 1;
  width: 34%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(239, 91, 63, 0.55);
  background: linear-gradient(135deg, rgba(239, 91, 63, 0.22), transparent 74%);
}

/* ---------- 数据条 ---------- */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(246, 239, 227, 0.16);
}

.stat {
  padding: 0 16px;
  border-left: 1px solid rgba(246, 239, 227, 0.12);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(246, 239, 227, 0.45);
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--cream);
}

/* ---------- 关键词条 ---------- */
.strip {
  background: var(--coral);
  color: #fff;
}

.strip-in {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 46px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  overflow-x: auto;
  scrollbar-width: none;
}

.strip-in p {
  padding: 0 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.strip-in p:first-child {
  padding-left: 0;
  border-left: 0;
}

/* ---------- 通用区块 ---------- */
.section {
  position: relative;
  padding: clamp(56px, 7vw, 94px) 0;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.sec-label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--coral-deep);
}

.sec-head h2,
.recipe-head h2,
.about-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.sec-lead {
  font-size: clamp(14px, 1.3vw, 15.5px);
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-card {
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 6px 6px 0 rgba(17, 22, 20, 0.12);
}

.b-large { grid-column: span 7; }
.b-coral { grid-column: span 5; }
.b-sage { grid-column: span 4; }
.b-outline { grid-column: span 4; }
.b-dark { grid-column: span 4; }

.b-kicker {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--coral-deep);
}

.bento-card h3 {
  margin-bottom: 14px;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.35;
}

.b-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.bubble {
  max-width: 90%;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.7;
}

.bubble.them {
  align-self: flex-start;
  background: #e9e1d3;
  color: var(--ink);
}

.bubble.me {
  align-self: flex-end;
  background: var(--ink);
  color: var(--cream);
}

.b-note {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.b-coral {
  background: linear-gradient(158deg, #f1684a 0%, #e2502f 100%);
  color: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.b-coral .b-kicker { color: rgba(255, 255, 255, 0.75); }
.b-coral h3 { color: #fff; }
.b-coral .b-note { color: rgba(255, 255, 255, 0.82); }

.b-sage {
  background: var(--sage-light);
}

.b-outline {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.b-dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 6px 6px 0 rgba(239, 91, 63, 0.8);
}

.b-dark .b-kicker { color: #f09a86; }
.b-dark h3 { color: var(--cream); }
.b-dark .b-note { color: rgba(246, 239, 227, 0.6); }

.b-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.b-list {
  display: grid;
  gap: 10px;
}

.b-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 239, 227, 0.72);
}

.b-list li span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #f09a86;
  padding-top: 2px;
  flex: none;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.16);
  cursor: zoom-in;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: 238px;
  object-fit: cover;
  object-position: top center;
}

.shot span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 9px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

/* ---------- 关系样例 ---------- */
.scenes {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-arrows {
  display: flex;
  gap: 8px;
  flex: none;
}

.rail-arrows button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.rail-arrows button:hover:not(:disabled) {
  background: var(--ink);
  color: var(--cream);
}

.rail-arrows button:disabled {
  opacity: 0.3;
  cursor: default;
}

.scene-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scene-rail::-webkit-scrollbar {
  display: none;
}

.scene-card {
  flex: 0 0 306px;
  scroll-snap-align: start;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(17, 22, 20, 0.1);
}

.scene-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scene-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--coral-deep);
}

.scene-top p {
  font-size: 15px;
  font-weight: 700;
}

.scene-status {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
  border: 1px solid rgba(63, 85, 72, 0.35);
  padding: 2px 6px;
}

.scene-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
}

.scene-chat .bubble {
  max-width: 92%;
  font-size: 13px;
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scene-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

.rail-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.rail-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(17, 22, 20, 0.14);
}

.rail-track span {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 20%;
  background: var(--coral);
  transition: width 0.15s linear;
}

.rail-hint {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 设定配方 ---------- */
.recipe-in {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.recipe-head {
  position: sticky;
  top: calc(var(--head) + 28px);
}

.recipe-head p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--coral-deep);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.recipe-list {
  border-top: 2px solid var(--ink);
}

.recipe-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.recipe-row:hover {
  background: rgba(255, 250, 240, 0.7);
  padding-left: 10px;
}

.recipe-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--coral-deep);
  padding-top: 3px;
}

.recipe-row h3 {
  margin-bottom: 6px;
  font-size: 16.5px;
}

.recipe-row p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 下载 ---------- */
.get {
  background:
    radial-gradient(620px 420px at 88% 0%, rgba(239, 91, 63, 0.26), transparent 68%),
    radial-gradient(480px 360px at 4% 100%, rgba(143, 162, 148, 0.2), transparent 70%),
    #101513;
  color: var(--cream);
  padding: clamp(52px, 6.5vw, 88px) 0;
}

.get-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.36fr 0.64fr;
  background: #1a211e;
  border: 1px solid rgba(246, 239, 227, 0.24);
  box-shadow: 12px 12px 0 var(--coral);
  overflow: hidden;
}

.get-copy {
  padding: clamp(24px, 3.4vw, 40px);
}

.get-kicker {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #f09a86;
}

.get-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.25;
  color: #fff;
}

.get-text {
  max-width: 36em;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(246, 239, 227, 0.65);
}

.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.get-small {
  font-size: 12px;
  color: rgba(246, 239, 227, 0.42);
}

.get-side {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3vw, 34px);
  border-left: 1px solid rgba(246, 239, 227, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.get-side > img {
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(246, 239, 227, 0.28);
  margin-bottom: 16px;
}

.get-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246, 239, 227, 0.12);
}

.get-facts div:last-child {
  border-bottom: 0;
}

.get-facts dt {
  font-size: 12px;
  color: rgba(246, 239, 227, 0.5);
}

.get-facts dd {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  text-align: right;
}

.get-word {
  display: none;
}

/* ---------- 评价墙 ---------- */
.wall {
  columns: 3;
  column-gap: 14px;
}

.wall-item {
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17, 22, 20, 0.1);
}

.wall-item blockquote {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.wall-item figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.wall-coral {
  background: linear-gradient(158deg, #f1684a, #e2502f);
  border-color: var(--ink);
}

.wall-coral blockquote { color: #fff; }
.wall-coral figcaption { color: rgba(255, 255, 255, 0.75); }

.wall-sage { background: var(--sage-light); }

.wall-ink {
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(239, 91, 63, 0.75);
}

.wall-ink blockquote { color: rgba(246, 239, 227, 0.9); }
.wall-ink figcaption { color: rgba(246, 239, 227, 0.5); }

/* ---------- 问答 ---------- */
.faq {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.ledger {
  border-bottom: 1px solid var(--line);
}

.ledger-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0 20px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.ledger-no {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  padding-top: 3px;
}

.ledger-item h3 {
  font-size: 16px;
  line-height: 1.6;
}

.ledger-item p {
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 搜索索引 ---------- */
.more {
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(216, 173, 91, 0.16), transparent 70%),
    var(--paper);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.tag-cloud a:hover {
  background: var(--coral);
  color: #fff;
}

/* ---------- 关于 ---------- */
.about-in {
  display: grid;
  grid-template-columns: 1.36fr 0.64fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about-copy h2 {
  margin-bottom: 16px;
}

.about-copy > p {
  margin-bottom: 16px;
  font-size: 14.2px;
  line-height: 2;
  color: var(--ink-2);
}

.about-copy h3 {
  margin: 24px 0 12px;
  font-size: 17px;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.related li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 12px;
  color: var(--muted);
}

.about-side {
  position: sticky;
  top: calc(var(--head) + 26px);
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(17, 22, 20, 0.1);
}

.side-label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--coral-deep);
}

.about-side dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.about-side dt {
  font-size: 12.5px;
  color: var(--muted);
}

.about-side dd {
  font-size: 13px;
  font-weight: 600;
}

.side-note {
  margin: 14px 0 16px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.about-side .btn {
  width: 100%;
}

/* ---------- 页脚 ---------- */
.foot {
  padding: clamp(46px, 5.5vw, 68px) 0 calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(600px 380px at 10% 0%, rgba(239, 91, 63, 0.16), transparent 68%),
    #0d1210;
  color: var(--cream);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(22px, 3vw, 36px);
}

.foot-word {
  margin-bottom: 12px;
  font-size: clamp(48px, 7.6vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 239, 227, 0.28);
}

.foot-brand > p:not(.foot-word) {
  max-width: 30em;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(246, 239, 227, 0.6);
}

.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(246, 239, 227, 0.85);
  text-decoration: none;
}

.foot-logo img {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
}

.foot-col h3 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(246, 239, 227, 0.45);
}

.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(246, 239, 227, 0.76);
  text-decoration: none;
}

.foot-col a:hover {
  color: #f09a86;
}

.foot-tip {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(246, 239, 227, 0.4);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(246, 239, 227, 0.12);
  font-size: 12px;
  color: rgba(246, 239, 227, 0.45);
}

.to-top {
  display: inline-block;
  padding: 10px 0;
  color: rgba(246, 239, 227, 0.75);
  text-decoration: none;
}

/* ---------- 移动底栏 ---------- */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 18, 16, 0.97);
  border-top: 1px solid rgba(246, 239, 227, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease;
}

.bottom-bar img {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 239, 227, 0.2);
}

.bottom-copy {
  min-width: 0;
  line-height: 1.35;
}

.bottom-copy strong {
  display: block;
  font-size: 13.5px;
  color: var(--cream);
}

.bottom-copy span {
  display: block;
  font-size: 11px;
  color: rgba(246, 239, 227, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-bar .btn {
  height: 44px;
  padding: 0 15px;
  font-size: 13.5px;
  box-shadow: none;
}

/* ---------- 大图 ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 13, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.viewer[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.viewer figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(92vw, 520px);
  max-height: 88vh;
}

.viewer img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid rgba(246, 239, 227, 0.3);
  background: #161d1a;
}

.viewer figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 239, 227, 0.8);
  text-align: center;
}

.viewer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 239, 227, 0.4);
  background: transparent;
  color: var(--cream);
  font-size: 13px;
  cursor: pointer;
}

.viewer-close:hover {
  background: rgba(246, 239, 227, 0.12);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 抽屉菜单 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 22px calc(26px + env(safe-area-inset-bottom));
  background:
    radial-gradient(420px 320px at 90% 0%, rgba(239, 91, 63, 0.24), transparent 68%),
    #0f1513;
  color: var(--cream);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(246, 239, 227, 0.5);
}

.drawer-close {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 239, 227, 0.35);
  background: transparent;
  color: var(--cream);
  font-size: 12.5px;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  gap: 2px;
}

.drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 239, 227, 0.1);
  font-size: 21px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}

.drawer-nav a span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: #f09a86;
}

.drawer-cta {
  width: 100%;
}

.drawer-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(246, 239, 227, 0.4);
}

/* ---------- 进场 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1080px) {
  .mast-nav { gap: 15px; }
  .mast-nav a { font-size: 13.5px; }
  .poster { min-height: 560px; }
  .bento-card { padding: 20px; }
}

@media (max-width: 900px) {
  :root { --head: 64px; }

  .shell { padding: 0 18px; }

  .railbar-note { display: none; }
  .railbar { font-size: 10.5px; }

  .mast-nav { display: none; }
  .mast-cta { display: none; }
  .burger { display: flex; }

  .hero-in {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 24px;
  }

  .poster {
    min-height: 440px;
    margin-top: 4px;
  }

  .poster-word { font-size: clamp(62px, 16vw, 104px); left: -4%; top: 30%; }
  .poster-frame { width: 57%; right: 3%; }
  .mini-a { width: 32%; top: 10%; }
  .mini-b { left: 5%; width: 30%; bottom: 0; }
  .poster-stamp { left: 0; top: 0; }
  .poster-square { left: 2%; bottom: 4%; width: 36%; }

  .stats { grid-template-columns: 1fr 1fr; gap: 14px 0; }

  .stat { padding: 0 14px; }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .strip-in {
    gap: 0;
    font-size: 10.5px;
  }

  .strip-in p { padding: 0 18px; }

  .sec-head-row {
    display: block;
  }

  .rail-arrows {
    display: none;
  }

  .scene-card { flex-basis: 82vw; max-width: 330px; }

  .bento { grid-template-columns: 1fr; }

  .b-large, .b-coral, .b-sage, .b-outline, .b-dark {
    grid-column: auto;
  }

  .bento-card { box-shadow: 5px 5px 0 rgba(17, 22, 20, 0.1); }

  .recipe-in { grid-template-columns: 1fr; }

  .recipe-head { position: static; }

  .get-panel { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--coral); }

  .get-side {
    border-left: 0;
    border-top: 1px solid rgba(246, 239, 227, 0.16);
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 18px;
    align-items: start;
  }

  .get-side > img { margin-bottom: 0; }
  .get-facts { grid-column: 1 / -1; margin-top: 12px; }

  .wall { columns: 2; }

  .ledger-item {
    grid-template-columns: 32px 1fr;
    padding: 17px 0;
  }

  .ledger-item h3 { grid-column: 2; }
  .ledger-item p { grid-column: 2; margin-top: 7px; }

  .about-in { grid-template-columns: 1fr; }

  .about-side { position: static; }

  .foot-top { grid-template-columns: 1fr 1fr; }

  .foot-brand { grid-column: 1 / -1; }

  .foot-col a { padding: 11px 0; }

  .foot { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

  .bottom-bar { display: grid; }

  .js .bottom-bar { transform: translateY(115%); }

  .js .bottom-bar.is-shown { transform: none; }
}

@media (max-width: 700px) {
  .hero { padding-top: 28px; }

  .hero-cta .btn { flex: 1 1 100%; }

  .poster { min-height: 420px; }

  .stat strong { font-size: 13.5px; }

  .shot img { height: 220px; }

  .strip-in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 0;
  }

  .strip-in p,
  .strip-in p:first-child {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 10.5px;
    text-align: center;
  }

  .wall { columns: 1; }

  .get-actions .btn { flex: 1 1 100%; }

  .tag-cloud a { padding: 10px 11px; font-size: 12.5px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 35px; }

  .poster { min-height: 430px; }

  .poster-frame { width: 58%; max-width: 230px; }
  .mini-a { width: 33%; }
  .mini-b { width: 31%; }
  .poster-word { display: none; }

  .stats { padding-bottom: 22px; }

  .foot-top { grid-template-columns: 1fr; }

  .scene-card { flex-basis: 86vw; }

  .bubble { font-size: 13px; }

  .ledger-item h3 { font-size: 15px; }

  .bottom-copy span { display: none; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 30px; }
  .mast-word small { display: none; }
  .poster { min-height: 370px; }
}

/* 平板与横屏手机：三屏并排，避免叠放遮挡 */
@media (min-width: 401px) and (max-width: 900px) {
  .poster {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    min-height: 0;
  }

  .poster-frame {
    position: static;
    width: 42%;
    max-width: 280px;
    box-shadow: 12px 12px 0 rgba(239, 91, 63, 0.9);
  }

  .mini-a {
    position: static;
    width: 27%;
    box-shadow: 8px 8px 0 rgba(143, 162, 148, 0.85);
  }

  .mini-b {
    position: static;
    width: 23%;
    box-shadow: 8px 8px 0 rgba(216, 173, 91, 0.85);
  }

  .poster-stamp,
  .poster-square,
  .poster-word {
    display: none;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .blob { display: none; }
}
