/* riddlebrew.com v6（2026-11-20）——依独立设计审核重做：首屏＝Logo＋游戏店面窗＋真介面；色带＝真游戏小片＋大贴纸；少用粗框盒子 */
@font-face { font-family: Fredoka; src: url(/fonts/Fredoka.ttf) format('truetype'); font-weight: 300 700; font-display: swap; }
:root {
  --ink: #3a2410; --cream: #fff8ec; --paper: #f7ead2; --gold: #f2b84b; --gold-d: #b97c1c;
  --violet: #5b2d8e; --violet-d: #2c1645; --teal: #12857f; --rose: #c2456b; --green: #2f8f53;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: Fredoka, ui-rounded, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sticker { filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(0 14px 16px rgba(0,0,0,.35)); }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(44, 22, 69, .94); backdrop-filter: blur(8px); border-bottom: 3px solid #120a1f; }
.top .row { height: 64px; }
.brand img { height: 42px; width: auto; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: #fff3dc; text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--gold); }
.top nav a.lang { border: 2px solid rgba(255,243,220,.5); border-radius: 999px; padding: 2px 12px; }

/* ===== 首屏 ===== */
.hero { position: relative; overflow: hidden; color: #fff3dc; padding: 40px 0 96px;
  background: radial-gradient(800px 520px at 72% 40%, #8a4bc8 0, transparent 62%), linear-gradient(160deg, var(--violet-d), #47206f 55%, #1c6f78);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .1; background-image: radial-gradient(rgba(255,255,255,.9) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.sparkles { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 30% 70%, #ffe08a 50%, transparent 51%),
    radial-gradient(3px 3px at 55% 12%, #9ff3e3 50%, transparent 51%), radial-gradient(2px 2px at 85% 60%, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 70% 88%, #ffd1f0 50%, transparent 51%), radial-gradient(2px 2px at 45% 45%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .2; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.15fr; grid-template-areas: "head art" "body art"; column-gap: 40px; align-items: center; }
.hero-head { grid-area: head; align-self: end; } .hero-art { grid-area: art; } .hero-body { grid-area: body; align-self: start; }
.hero-logo { width: min(460px, 100%); filter: drop-shadow(0 8px 0 rgba(0,0,0,.25)); }
.hero h1 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08; margin: 10px 0 12px; text-shadow: 0 4px 0 rgba(0,0,0,.3); text-wrap: balance; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: #f3e3ff; margin: 0 0 22px; max-width: 30em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 16px; background: #120a1f; color: #fff; border: 3px solid #fff3dc33; font-weight: 600; font-size: 18px; line-height: 1.1; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: .75; }
.free { margin: 14px 0 0; font-size: 15px; color: #e5d3f5; font-weight: 600; letter-spacing: .01em; }

/* 首屏右边：大角色贴纸（Pip 和雪人）+ 飘着的药材瓶 + 谜语卡 + 煤球（2026-11-20 用户选回这个摆法） */
.hero-art { position: relative; width: 100%; max-width: 620px; justify-self: end; aspect-ratio: 1 / .95; }
.hero-art > * { position: absolute; }
.hero-art .glow { left: 8%; top: 12%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.5), rgba(255,214,120,0) 68%); }
.h-char { left: 14%; bottom: 0; width: 76%; height: auto; transform: rotate(-2deg); }
.h-soot { left: -2%; bottom: 0; width: 26%; height: auto; transform: rotate(-6deg); z-index: 2; }
.h-jar { width: 80px; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); animation: bob 3.4s ease-in-out infinite alternate; }
.h-jar.j1 { left: 4%; top: 8%; } .h-jar.j2 { left: 3%; top: 36%; width: 62px; animation-delay: -1.2s; } .h-jar.j3 { right: 4%; top: 36%; width: 66px; animation-delay: -2s; }
@keyframes bob { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-14px) rotate(5deg); } }
.h-card { right: 0; top: 0; width: 56%; z-index: 3; background: #fffdf6; color: var(--ink); border: 3px solid var(--ink); border-radius: 20px; padding: 12px 16px; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.4; font-weight: 500; text-align: left;
  box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 18px 30px rgba(0,0,0,.25); transform: rotate(2deg); }
.h-card::after { content: ''; position: absolute; left: 34px; bottom: -17px; border: 9px solid transparent; border-top: 13px solid var(--ink); }
.h-card .who { display: block; font-size: 13px; font-weight: 700; color: var(--violet); margin-bottom: 2px; }
.h-tag { right: -2%; top: 64%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--green); border: 3px solid var(--green); border-radius: 14px; padding: 4px 14px; font-weight: 700; font-size: 18px; box-shadow: 0 5px 0 rgba(0,0,0,.2); transform: rotate(-4deg); }
.h-tag img { width: 22px; height: 22px; }

/* ===== 游戏实录 ===== */
.watch { padding: 64px 0 40px; }
.device { max-width: 1000px; margin: 0 auto; padding: 12px; background: #120a1f; border-radius: 34px; box-shadow: 0 14px 0 rgba(0,0,0,.18), 0 30px 60px rgba(0,0,0,.22); }
.device video { width: 100%; border-radius: 22px; background: #2a1d14; }
.wsteps { list-style: none; padding: 0; margin: 22px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; font-weight: 700; font-size: 18px; }
.wsteps li { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wsteps span { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); display: inline-grid; place-items: center; font-size: 15px; }
.stat-row { max-width: 1000px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.stat-row b { display: block; font-size: clamp(34px, 4vw, 54px); color: var(--violet); line-height: 1; }
.stat-row span { font-size: 16px; font-weight: 600; color: #7b5b3a; }

/* ===== 标题 ===== */
.title { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 8px; line-height: 1.08; }
.sub { font-size: 19px; color: #6b4d2e; margin: 0 0 28px; max-width: 36em; }
.shout { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; margin: 0 0 14px; text-transform: uppercase; text-shadow: 0 4px 0 rgba(0,0,0,.28); }
html[lang="zh-Hans"] .shout { text-transform: none; }

/* ===== 色带：文字 + 真游戏小片 + 大贴纸 ===== */
.band { position: relative; color: #fff6e6; padding: 110px 0; clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); margin: -10px 0; }
.band::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: radial-gradient(rgba(255,255,255,.9) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.band > .wrap { position: relative; }
.band.violet { background: linear-gradient(135deg, #4b2379, #7a3fb8); }
.band.teal { background: linear-gradient(135deg, #0d6a66, #18a198); }
.band.rose { background: linear-gradient(135deg, #8f2a54, #d2587c); }
.band.night { background: linear-gradient(135deg, #150e24, #3a2160); }
.feat { display: grid; grid-template-columns: .8fr 1.5fr; gap: 50px; align-items: center; }
.feature.flip .feat { grid-template-columns: 1.5fr .8fr; } .feature.flip .feat-copy { order: 2; }
.feat-copy p { font-size: 20px; margin: 0; color: #fff3e6; max-width: 22em; }
.feat-art { position: relative; padding: 0 0 30px; }
.frame { padding: 10px; background: #120a1f; border-radius: 28px; box-shadow: 0 12px 0 rgba(0,0,0,.25), 0 26px 50px rgba(0,0,0,.3); transform: rotate(-1.2deg); }
.feature.flip .frame { transform: rotate(1.2deg); }
.frame video { width: 100%; border-radius: 19px; background: #2a1d14; aspect-ratio: 16 / 9; object-fit: cover; }
.f-char { position: absolute; right: -40px; bottom: -40px; height: 300px; width: auto; transform: rotate(4deg); z-index: 2; }
.feature.flip .f-char { right: auto; left: -40px; transform: rotate(-4deg); height: 230px; }

/* ===== 修店 ===== */
.shop { padding: 110px 0 60px; }
.compare { position: relative; border: 4px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 12px 0 rgba(0,0,0,.15); user-select: none; }
.compare > img { width: 100%; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare.anim .before { transition: clip-path .5s ease-in-out; } .compare.anim .handle { transition: left .5s ease-in-out; }
.compare .before img { width: 100%; height: 100%; object-fit: cover; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 2px var(--ink); pointer-events: none; }
.compare .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 24px; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; top: 14px; background: var(--ink); color: #fff3dc; font-weight: 600; padding: 4px 14px; border-radius: 999px; pointer-events: none; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.styles-h { margin: 40px 0 14px; font-size: 26px; }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.styles figure { margin: 0; }
.styles img { width: 100%; border-radius: 18px; border: 4px solid var(--ink); box-shadow: 0 8px 0 rgba(0,0,0,.14); }
.styles figure:nth-child(3) img { box-shadow: 0 0 0 4px var(--gold), 0 0 26px rgba(242,184,75,.8), 0 8px 0 rgba(0,0,0,.14); }
.styles figcaption { margin-top: 8px; font-weight: 700; font-size: 18px; }

/* ===== 试玩 ===== */
.try { padding: 70px 0 40px; }
.demo { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--cream); border: 4px solid #120a1f; border-radius: 28px; overflow: hidden; box-shadow: 0 12px 0 rgba(0,0,0,.15), 0 26px 50px rgba(0,0,0,.18); }
.scene { position: relative; min-height: 440px; overflow: hidden; background: #6b4a33; }
.scene > img { position: absolute; }
.scene .sbg, .scene .sct { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.scene .cust { left: 8%; bottom: 4%; height: 66%; width: auto; transform-origin: 50% 100%; }
.cust.in { animation: walkin .45s ease-out; } .cust.yay { animation: hop .6s ease-out; } .cust.oops { animation: shake .5s ease-out; }
@keyframes walkin { from { transform: translateX(-30px); opacity: 0; } }
@keyframes hop { 30% { transform: translateY(-16px) scale(1.04); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px) rotate(-2deg); } 40%, 80% { transform: translateX(8px) rotate(2deg); } }
.bubble { position: absolute; right: 4%; top: 6%; width: 50%; background: #fffdf6; border: 3px solid var(--ink); border-radius: 18px; padding: 10px 14px; font-size: 16px; line-height: 1.38; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.bubble::before { content: ''; position: absolute; left: -14px; top: 30px; border: 8px solid transparent; border-right: 10px solid var(--ink); }
.bubble .who { display: block; font-size: 13px; font-weight: 700; color: var(--violet); margin-bottom: 2px; }
.steam { position: absolute; left: 8%; bottom: 24%; width: 22%; height: 30%; pointer-events: none; opacity: 0; transition: opacity .3s; }
.steam i { position: absolute; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: #9ff57f; box-shadow: 0 0 10px #9ff57f; animation: rise 1s ease-in infinite; }
.steam i:nth-child(2) { left: 25%; animation-delay: .15s; } .steam i:nth-child(3) { left: 50%; animation-delay: .3s; } .steam i:nth-child(4) { left: 70%; animation-delay: .45s; } .steam i:nth-child(5) { left: 40%; animation-delay: .6s; }
@keyframes rise { to { transform: translateY(-120px) scale(.4); opacity: 0; } }
.demo.brewing .steam { opacity: 1; }
.spark { position: absolute; width: 20px; height: 20px; background: url(/img/p/ic_star.webp) center / contain no-repeat; animation: spk 1.2s ease-out both; pointer-events: none; z-index: 5; }
@keyframes spk { 0% { transform: scale(0) rotate(0); opacity: 0; } 30% { transform: scale(1.4) rotate(60deg); opacity: 1; } 100% { transform: scale(.6) translateY(-40px) rotate(160deg); opacity: 0; } }
.panel { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.pick { display: grid; gap: 8px; }
.ph { margin: 0; font-weight: 700; font-size: 17px; } .ph small { font-weight: 500; color: #8a6a48; margin-left: 6px; }
.jars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jar { background: #fff; border: 3px solid #d9c4a0; border-radius: 16px; padding: 6px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .12s, border-color .12s; }
.jar img { height: 64px; width: auto; }
.jar b { font-size: 15px; line-height: 1.1; text-align: center; } .jar i { font-style: normal; font-size: 13px; font-weight: 600; color: #fff; background: var(--violet); border-radius: 999px; padding: 0 9px; }
.jar:hover { transform: translateY(-2px); } .jar.on { border-color: var(--gold-d); background: #fff4cf; box-shadow: 0 0 0 3px rgba(242,184,75,.55); }
.scoops { display: flex; gap: 10px; }
.scoops button { flex: 1; min-height: 48px; border: 3px solid #d9c4a0; background: #fff; border-radius: 14px; font-size: 22px; font-weight: 700; }
.scoops button.on { border-color: var(--gold-d); background: #fff4cf; box-shadow: 0 0 0 3px rgba(242,184,75,.55); }
.btn { background: var(--gold); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 20px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 0 #8a5a20; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a5a20; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.brew { min-height: 54px; font-size: 22px; margin-top: 4px; }
.result { display: grid; gap: 10px; animation: pop .35s ease-out; }
.result b { justify-self: start; font-size: 24px; padding: 0 14px; border-radius: 12px; border: 3px solid currentColor; }
.result.win b { color: var(--green); background: #e9f7ee; } .result.fail b { color: var(--rose); background: #fbe9ee; }
.result span { font-size: 18px; line-height: 1.45; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.score { margin: 4px 0 0; text-align: center; font-weight: 600; color: #7b5b3a; font-size: 15px; }

/* ===== 谜语墙：先猜再翻 ===== */
.wall { padding: 70px 0 80px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border: 0; padding: 0; background: none; aspect-ratio: 4 / 5; perspective: 1400px; text-align: left; }
.card > span { position: absolute; inset: 0; border: 4px solid var(--ink); border-radius: 24px; overflow: hidden; backface-visibility: hidden; transition: transform .6s cubic-bezier(.3,1.3,.5,1); box-shadow: 0 8px 0 rgba(0,0,0,.15); }
.card .front { background: radial-gradient(circle at 50% 75%, #ffe7b0, #f2be78); }
.card .back { background: radial-gradient(circle at 50% 75%, #def6ea, #9fd8bd); transform: rotateY(180deg); }
.card.flip .front { transform: rotateY(-180deg); } .card.flip .back { transform: rotateY(0); }
.card .who { position: absolute; left: 50%; bottom: 0; height: 74%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.card .q { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; background: #fffdf6; border: 3px solid var(--ink); border-radius: 18px; padding: 9px 12px; font-size: 15px; line-height: 1.35; box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.card .q small { display: block; margin-top: 4px; font-weight: 700; font-size: 13px; color: var(--violet); }
.card .guess { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; background: rgba(58,36,16,.82); color: #fff3dc; border-radius: 16px; padding: 6px 10px; }
.card .guess b { font-size: 14px; flex: 1; } .card .guess img { height: 42px; width: auto; }
.card .back .who { height: 62%; }
.card .ans { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .ans b { width: 100%; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #1f6b4a; }
html[lang="zh-Hans"] .card .ans b { text-transform: none; }
.aj { display: flex; align-items: center; gap: 4px; background: #fffdf6; border: 3px solid var(--ink); border-radius: 14px; padding: 2px 10px 2px 4px; }
.aj img { height: 40px; width: auto; } .aj em { font-style: normal; font-weight: 700; font-size: 18px; } .aj small { font-weight: 600; font-size: 13px; }
.card .w { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; background: #fffdf6; border: 3px solid var(--ink); border-radius: 16px; padding: 8px 12px; font-size: 15px; line-height: 1.35; }
.card:hover > span { box-shadow: 0 11px 0 rgba(0,0,0,.18); }

/* ===== 阿嬷之谜 ===== */
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.story ul { margin: 0; padding-left: 1.1em; font-size: 20px; } .story li { margin: 10px 0; }
.mystery { position: relative; aspect-ratio: 1.15; }
.pol { position: absolute; width: 62%; aspect-ratio: 1.25; object-fit: cover; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 16px 30px rgba(0,0,0,.45); }
.pol.p1 { left: 2%; top: 4%; transform: rotate(-7deg); } .pol.p2 { right: 2%; top: 30%; transform: rotate(6deg); }
.mystery .vex { position: absolute; left: 0; bottom: -4%; height: 64%; width: auto; transform: rotate(-3deg); }
.mystery .soot { position: absolute; right: 8%; bottom: -6%; height: 36%; width: auto; transform: rotate(5deg); }

/* ===== 问答 ===== */
.faq { padding: 90px 0 60px; }
.faq details { border-bottom: 2px solid rgba(58,36,16,.18); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 20px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--violet); } .faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: #5b4128; font-size: 17px; }

/* ===== 结尾 ===== */
.ending { background: linear-gradient(160deg, #2c1645, #47206f 60%, #1c6f78); color: #fff3dc; padding: 80px 0 70px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
.ending-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.ending .soot { width: 100%; }
.end-logo { width: min(340px, 80%); margin-bottom: 8px; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.ending p { font-size: 20px; margin: 0 0 18px; }

/* ===== 页尾 / 文件页 ===== */
.foot { background: #120a1f; color: #cdb9e6; padding: 22px 0; font-size: 15px; }
.foot p { margin: 0; } .foot nav { display: flex; gap: 18px; flex-wrap: wrap; } .foot a { color: #fff3dc; }
.doc { padding: 48px 0 70px; }
.doc h1 { font-size: 38px; margin: 0 0 6px; } .doc .meta { color: #7b5b3a; margin-bottom: 26px; }
.doc section { background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; padding: 6px 24px 14px; margin: 16px 0; }
.doc li { margin: 8px 0; }

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

/* ===== 平板 ===== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "art" "body"; text-align: center; }
  .hero-head { align-self: auto; } .hero-logo { margin: 0 auto; width: min(360px, 80%); }
  .hero-art { justify-self: center; max-width: 560px; margin: 8px auto 24px; }
  .lede { margin-left: auto; margin-right: auto; } .stores { justify-content: center; }
  .feat, .feature.flip .feat { grid-template-columns: 1fr; gap: 30px; } .feature.flip .feat-copy { order: 0; }
  .demo { grid-template-columns: 1fr; } .scene { min-height: 0; aspect-ratio: 4 / 3; }
  .story-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
/* ===== 手机 ===== */
@media (max-width: 760px) {
  .top nav a:not(.lang) { display: none; }
  .hero { padding: 22px 0 76px; }
  .hero-logo { width: min(280px, 78%); }
  .hero h1 { font-size: 30px; }
  .lede { font-size: 16px; margin-bottom: 16px; }
  .stores { gap: 8px; } .store { font-size: 15px; padding: 7px 12px 7px 10px; } .store svg { width: 20px; height: 20px; }
  .free { font-size: 13px; }
  .h-card { width: 62%; font-size: 13px; padding: 8px 11px; } .h-jar { width: 54px; } .h-jar.j3 { display: none; } .h-jar.j2 { width: 46px; } .h-tag { font-size: 14px; padding: 2px 10px; }
  .watch { padding: 46px 0 30px; }
  .wsteps { grid-template-columns: repeat(2, 1fr); font-size: 16px; row-gap: 12px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .band { padding: 80px 0; }
  .feat-copy p { font-size: 17px; }
  .f-char { height: 170px; right: -10px; bottom: -36px; } .feature.flip .f-char { height: 140px; left: -10px; }
  .styles { gap: 10px; } .styles figcaption { font-size: 14px; }
  .scene { aspect-ratio: 1 / 1; } .scene .cust { left: 4%; height: 60%; } .bubble { width: 60%; font-size: 14px; }
  .result span { font-size: 16px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 18px; }
  .card { flex: 0 0 82%; scroll-snap-align: center; }
  .ending-grid { grid-template-columns: 1fr; text-align: center; } .ending .soot { width: 170px; margin: 0 auto; } .ending .stores { justify-content: center; } .end-logo { margin: 0 auto 8px; }
  .faq summary { font-size: 18px; }
}
