@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/Manrope-Regular.woff) format("woff"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/Manrope-SemiBold.woff) format("woff"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/Manrope-Bold.woff) format("woff"); }

:root {
  --paper: #faf7f2;
  --paper-2: #f2ebdf;
  --card: #fffdf9;
  --ink: #1b1917;
  --muted: #6f6a65;
  --red: #ae432f;
  --red-deep: #8a2c20;
  --imperial: #8c2a1f;
  --imperial-2: #5f1a13;
  --gold: #d9b26a;
  --green: #2f6f4e;
  --line: #e6dccd;
  --night: #1f1a17;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-deep); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
[lang="zh-Hans"] { font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 242, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 18px/1 var(--sans); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 2px; }
.top nav a { padding: 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); background: var(--paper-2); }
.top nav a[aria-current="page"] { color: var(--red); }
@media (min-width: 720px) { .top nav { gap: 6px; } .top nav a { padding: 8px 12px; font-size: 15px; } }
@media (max-width: 459px) { .brand { font-size: 0; gap: 0; } .top nav a { padding: 8px 5px; font-size: 13.5px; } }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 7.4vw, 64px); }
h2 { font-size: clamp(28px, 4.6vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.eyebrow { font: 700 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.eyebrow::after { content: ""; display: block; width: 28px; height: 2px; background: currentColor; margin-top: 10px; opacity: .7; }
.lede { font-size: 19px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.head { max-width: 720px; margin-bottom: 36px; }

/* Store badge */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 14px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); }
a.store:hover { color: #fff; background: #222; }
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store > span { display: flex; flex-direction: column; font: 600 20px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.store small { font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.store.soon { cursor: default; }
.text-link { font-weight: 600; text-decoration: none; }

/* Hero: imperial red, matching the App Store screenshots */
.hero { position: relative; overflow: hidden; color: #fbefe3; background: radial-gradient(120% 90% at 85% 10%, #a63a2b 0%, var(--imperial) 45%, var(--imperial-2) 100%); padding: 48px 0 0; }
.hero::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 178, 106, .45); border-radius: 18px; pointer-events: none; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff7ee; }
.hero .lede { color: #f1d9c8; }
.hero .note { color: #e2bfa9; }
.hero .text-link { color: #ffe3c4; }
.hero .text-link:hover { color: #fff; }
.hero-inner { position: relative; display: grid; gap: 28px; }
.hero-text { position: relative; z-index: 1; }
.hero-art { position: relative; justify-self: center; width: min(84vw, 360px); padding-bottom: 40px; }
.hero-map { background: #f6efe1; padding: 10px; border-radius: 6px; transform: rotate(2.2deg); box-shadow: 0 30px 60px rgba(30, 6, 3, .5), 0 0 0 1px rgba(217, 178, 106, .5); }
.hero-map img { border-radius: 2px; }
.hero-lion { position: absolute; z-index: 2; width: 44%; left: -14%; bottom: 0; filter: drop-shadow(0 18px 24px rgba(30, 6, 3, .5)); }
@media (min-width: 880px) {
  .hero { padding: 88px 0 0; }
  .hero::before { inset: 20px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
  .hero-text { padding-bottom: 96px; align-self: center; }
  .hero-art { width: 430px; padding-bottom: 72px; }
}

/* Stats strip */
.stats { background: var(--night); color: #e9ddcf; }
.stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding-top: 24px; padding-bottom: 24px; }
.stats p { margin: 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #b9a99a; }
.stats strong { display: block; font: 600 32px/1.1 var(--serif); color: var(--gold); letter-spacing: 0; text-transform: none; }
@media (min-width: 720px) { .stats-inner { grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; } }

/* Bands */
.band { padding: 72px 0; }
.band.paper { background: var(--paper-2); }
@media (min-width: 880px) { .band { padding: 112px 0; } }

/* Guides */
.guides { display: grid; gap: 22px; }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0, 0, 0, .02), 0 12px 32px rgba(70, 40, 20, .07); transition: transform .25s ease, box-shadow .25s ease; }
.guide:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(70, 40, 20, .13); }
.guide-map { background: #efe6d4; overflow: hidden; }
.guide-map img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s ease; }
.guide:hover .guide-map img { transform: scale(1.04); }
.guide-text { padding: 20px 22px 24px; }
.guide-text h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.zh { font-size: 17px; color: var(--red); font-weight: 600; letter-spacing: .08em; }
.guide-text p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #f6e1dd; color: var(--red-deep); margin-bottom: 12px; }
.tag.free { background: #dcebe2; color: var(--green); }

/* Story + relic art */
.story { display: grid; gap: 32px; align-items: center; }
.story-text p:last-child { color: var(--muted); margin: 0; }
.relics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.relics img { filter: drop-shadow(0 14px 18px rgba(70, 40, 20, .2)); }
.relics img:nth-child(even) { transform: translateY(-14px); }
@media (min-width: 880px) { .story { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: f; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; counter-increment: f; }
.features li::before { content: "0" counter(f); display: block; font: 700 12px/1 var(--sans); letter-spacing: .12em; color: var(--red); margin-bottom: 12px; }
.features h3 { font-size: 20px; margin-bottom: .35em; }
.features p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Hand-drawn buildings */
.blds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 880px) { .blds { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.bld { margin: 0; background: #faf4e8; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.bld img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; }
.bld.fit img { object-fit: contain; padding: 10px 0; }
.bld .credit { display: block; margin-top: 4px; font-size: 11.5px; color: #8f857b; }
.bld .credit a { color: inherit; }
.bld figcaption { padding: 12px 14px 14px; font-size: 13px; color: var(--muted); line-height: 1.35; border-top: 1px solid var(--line); background: var(--card); }
.bld figcaption strong { display: block; font: 600 16px/1.25 var(--serif); color: var(--ink); }
@media (min-width: 880px) { .bld figcaption { padding: 14px 18px 16px; font-size: 14px; } .bld figcaption strong { font-size: 19px; } }

/* Coming next */
.dark { background: var(--night); color: #efe5d8; }
.dark h2 { color: #fff7ee; }
.dark .eyebrow { color: var(--gold); }
.dark .lede { color: #c9b9a8; }
.dark .lede strong { color: #fff3e3; font-weight: 600; }
.dark .fine { color: #8f8174; margin-top: 24px; }
.nexts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 880px) { .nexts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.next { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #2b2420; }
.next img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.next:hover img { transform: scale(1.05); }
.next.wide { grid-column: 1 / -1; }
.next.wide img { aspect-ratio: 2 / 1; }
@media (min-width: 720px) { .next.wide img { aspect-ratio: 3 / 1; } }
.next figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(20, 14, 10, .85)); color: #fff; font-size: 13px; line-height: 1.35; }
.next figcaption strong { display: block; font: 600 15px/1.2 var(--serif); }
.next figcaption span { color: #e6d6c3; }
@media (min-width: 880px) { .next figcaption { padding: 56px 18px 16px; font-size: 14px; } .next figcaption strong { font-size: 21px; } }

/* Price */
.price { display: grid; gap: 32px; align-items: center; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; box-shadow: 0 16px 40px rgba(70, 40, 20, .08); }
.price-card > p:not(.eyebrow):not(.note):not(.price-line) { color: var(--muted); }
.price-line { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 20px 0 10px; }
.price-line strong { font: 600 30px/1 var(--serif); color: var(--ink); margin-right: 8px; }
.price-art { width: min(70vw, 320px); justify-self: center; filter: drop-shadow(0 20px 28px rgba(70, 40, 20, .25)); }
@media (min-width: 880px) { .price { grid-template-columns: 1.3fr .7fr; gap: 64px; } .price-card { padding: 44px 44px 36px; } }

/* Documents: support, privacy, terms, credits */
.doc { max-width: 760px; padding-top: 44px; padding-bottom: 72px; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.doc pre { font-size: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
.doc details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; }
.doc details > summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.doc details > summary::-webkit-details-marker { display: none; }
.doc details > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red); }
.doc details[open] > summary::after { content: "–"; }
.doc details > p { padding: 0 18px 4px; color: var(--muted); }
.doc details > pre { margin: 0 14px 14px; }


/* Try-it band on home */
.tryit { background: var(--card); border-bottom: 1px solid var(--line); }
.tryit-inner { display: grid; gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.tryit-inner img { width: min(60vw, 260px); justify-self: center; border-radius: 14px; transform: rotate(-2deg); box-shadow: 0 16px 36px rgba(70, 40, 20, .18); }
.tryit h2 { font-size: clamp(26px, 4vw, 36px); }
.tryit p:not(.eyebrow) { color: var(--muted); }
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(174, 67, 47, .3); }
.btn:hover { background: var(--red-deep); color: #fff; }
@media (min-width: 760px) { .tryit-inner { grid-template-columns: 300px 1fr; gap: 56px; padding-top: 56px; padding-bottom: 56px; } .tryit-inner img { width: 280px; } }

/* Demo page */
.demo-head { padding-top: 36px; padding-bottom: 8px; max-width: 860px; margin-left: 0; }
@media (min-width: 1160px) { .demo-head { margin-left: auto; } }
.demo-head h1 { font-size: clamp(32px, 5.5vw, 48px); }
.demo { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 0 18px 50px rgba(70, 40, 20, .12); margin: 12px 0 28px; }
@media (min-width: 900px) { .demo { grid-template-columns: 1fr 380px; height: min(760px, calc(100vh - 120px)); } }
.dm-map { position: relative; overflow: hidden; background: #efe6d2; height: 62vh; min-height: 380px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dm-map:active { cursor: grabbing; }
@media (min-width: 900px) { .dm-map { height: auto; } }
.dm-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.dm-stage.dm-anim { transition: transform .45s ease; }
.dm-map-img { width: 100%; height: 100%; display: block; pointer-events: none; }
.dm-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dm-line-bg { fill: none; stroke: #fff; stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .9; }
.dm-line { fill: none; stroke: var(--red); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 0; }
.dm-markers { position: absolute; inset: 0; }
.dm-pin, .dm-gate, .dm-stop { position: absolute; transform: translate(-50%, -50%) scale(var(--inv, 1)); }
.dm-pin { border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.dm-pin i { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(40, 10, 5, .35); font: 700 14px/25px var(--sans); font-style: normal; text-align: center; transition: transform .15s; }
.dm-pin:hover i, .dm-pin.on i { transform: scale(1.18); background: var(--red-deep); }
.dm-pin.on { z-index: 4; }
.dm-pin b, .dm-gate b { position: absolute; top: 34px; white-space: nowrap; font: 700 12px/1 var(--sans); color: var(--ink); background: rgba(255, 253, 249, .94); padding: 5px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transition: opacity .2s; }
.dm-zoomed .dm-pin b, .dm-pin:hover b, .dm-pin.on b { opacity: 1; }
.dm-gate { pointer-events: none; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.dm-gate i { width: 14px; height: 14px; background: var(--green); border: 2px solid #fff; border-radius: 3px; transform: rotate(45deg); box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.dm-gate b { top: 18px; font-size: 11px; color: var(--green); }
.dm-zoomed .dm-gate b { opacity: .95; }
@media (min-width: 900px) { .dm-gate b { opacity: .95; } }
.dm-routing .dm-pin { opacity: .45; }
.dm-routing .dm-pin.on { opacity: 1; }
.dm-routing .dm-gate { opacity: 0; }
.dm-stop { z-index: 3; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--red-deep); border: 2.5px solid var(--red); font: 800 12px/19px var(--sans); text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); pointer-events: none; }
.dm-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.dm-zoom button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 253, 249, .95); font: 600 20px/1 var(--sans); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }

.dm-panel { display: flex; flex-direction: column; min-height: 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
@media (min-width: 900px) { .dm-panel { border-top: 0; border-left: 1px solid var(--line); } }
.dm-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dm-tabs button { flex: 1; border: 0; background: none; padding: 9px 6px; border-radius: 10px; font: 700 14px/1 var(--sans); color: var(--muted); cursor: pointer; }
.dm-tabs button[aria-selected="true"] { background: var(--card); color: var(--red); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.dm-panel-body { flex: 1; overflow-y: auto; padding: 18px 18px 24px; font-size: 15.5px; }
@media (max-width: 899px) { .dm-panel-body { max-height: none; } }
.dm-panel-body h3 { font-size: 26px; margin: 4px 0 6px; }
.dm-panel-body h4 { font: 700 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 22px 0 10px; }
.dm-panel-body p { color: #3d3833; }
.dm-hint { font-size: 13.5px; color: var(--muted) !important; }
.dm-intro { display: flex; gap: 12px; align-items: flex-start; background: var(--paper-2); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.dm-intro p { margin: 0; font-size: 14.5px; }
.dm-list, .dm-routes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dm-list button, .dm-routes button { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; cursor: pointer; font: inherit; color: inherit; }
.dm-list button:hover, .dm-routes button:hover { border-color: #d8c3a8; background: #fffaf2; }
.dm-list img, .dm-noart { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; background: #f4ecdd; flex: none; }
.dm-list strong, .dm-routes strong { display: block; font: 600 17px/1.2 var(--serif); }
.dm-list small, .dm-routes small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.dm-routes button { padding: 14px 16px; display: block; }
.dm-back { border: 0; background: none; color: var(--red); font: 700 14px/1 var(--sans); padding: 4px 0 12px; cursor: pointer; }
.dm-art { width: 100%; max-height: 240px; object-fit: contain; background: #f6efe1; border-radius: 14px; margin-bottom: 14px; }
.dm-cat { font: 700 11px/1.2 var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--red) !important; margin: 0 0 4px; }
.dm-sum { color: var(--muted) !important; font-style: italic; }
.dm-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; background: var(--paper-2); border-radius: 14px; padding: 12px; margin: 4px 0 16px; }
.dm-audio .dm-progress { flex: 1; min-width: 80px; }
.dm-play { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--red); color: #fff; font: 700 13px/1 var(--sans); padding: 8px 14px 8px 10px; border-radius: 999px; cursor: pointer; flex: none; }
.dm-play span { width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.dm-play.on span { width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.dm-play:hover { background: var(--red-deep); }
.dm-progress { height: 4px; background: #e2d3bd; border-radius: 4px; overflow: hidden; }
.dm-progress i { display: block; height: 100%; width: 0; background: var(--red); }
.dm-voice { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.dm-voice button { border: 0; background: none; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.dm-voice button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.dm-src { font-size: 12.5px; color: var(--muted) !important; margin-top: 14px; }
.dm-steps { list-style: none; padding: 0; margin: 14px 0 0; }
.dm-steps li { display: flex; gap: 12px; }
.dm-steps li > div { flex: 1; padding-bottom: 6px; }
.dm-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red-deep); font: 800 12px/22px var(--sans); text-align: center; }
.dm-steps button[data-i] { border: 0; background: none; padding: 3px 0; font: 600 17px/1.2 var(--serif); color: var(--ink); cursor: pointer; text-align: left; margin-right: 8px; text-decoration: underline; text-decoration-color: #d8c3a8; text-underline-offset: 3px; }
.dm-steps strong { display: inline-block; padding: 3px 0; font: 600 17px/1.2 var(--serif); }
.dm-steps .dm-play { padding: 5px 10px 5px 8px; font-size: 12px; vertical-align: middle; }
.dm-steps em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; padding-left: 2px; }
.dm-card { background: var(--night); color: #fff; border-radius: 16px; padding: 18px; }
.dm-card .dm-cat { color: var(--gold) !important; }
.dm-zh { font-size: 28px !important; line-height: 1.3; color: #fff !important; margin: 8px 0; font-weight: 600; }
.dm-zh span { font-size: 18px; color: #f2e4d2; }
.dm-small { font-size: 13px; color: #c9b9a8 !important; margin: 0; }
.dm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dm-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.dm-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.dm-table small { display: block; color: var(--muted); font-size: 12.5px; }
.dm-player { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 10px; align-items: center; padding: 12px 16px; background: var(--night); color: #fff; font-size: 13.5px; }
.dm-player[hidden] { display: none; }
.dm-player-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-player-time { color: #c9b9a8; grid-column: 2 / 4; text-align: right; }
.dm-player .dm-progress { grid-column: 1 / 2; background: #4a403a; }
.dm-player button { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 700 12px/1 var(--sans); cursor: pointer; }
.dm-player .dm-player-close { background: none; color: #c9b9a8; padding: 6px; }
@media (max-width: 899px) { .dm-player { position: sticky; bottom: 0; } }
.demo-cta { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; background: var(--paper-2); border-radius: 18px; padding: 22px; margin-bottom: 64px; }
.demo-cta p { margin: 0; max-width: 640px; color: var(--muted); }
.demo-cta strong { color: var(--ink); }

/* Footer */
.foot { background: var(--night); color: #d9cdbd; padding: 44px 0 52px; font-size: 15px; border-top: 1px solid #2f2824; }
.foot a { color: #f2c3a8; }
.foot strong { color: #fff; }
.foot .fine { color: #a89a8a; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
