/* ═══ yusho.chat · 夜海 ═══
   全站一套：深海做外框（顶栏、页头、页脚），长文读在浅色“纸面”上。正文用系统中文字体；标题用自带的 Noto Sans SC 粗体子集（只含标题用到的字，真粗体，不靠系统加粗）。
   动效只放两处：首页的水面（WebGL 焦散光）+ 会呼吸、会看你的 Sho；首页“一件事怎么做完”随滚动讲故事。其余克制 */
@font-face { font-family: "Yusho Display"; src: url(/fonts/display.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }
:root {
  --abyss: #050B24; --deep: #0A1740; --tide: #12307E; --brand: #3D64FF; --brand-hi: #6E8DFF; --lagoon: #62D6FF; --foam: #F3F7FF; --coral: #FF8A65;
  --ink: #0B1230; --ink-2: #4A5272; --ink-3: #6B7390; --line: rgba(11, 18, 48, .10);
  --on-dark: #EAF0FF; --on-dark-2: #A9B6E2; --on-dark-3: #7C89B8; --glass: rgba(255, 255, 255, .06); --glass-line: rgba(160, 190, 255, .16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --display: "Yusho Display", var(--font);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --max: 1180px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--abyss); }
body { margin: 0; font: 400 17px/1.8 var(--font); color: var(--on-dark); background: var(--abyss); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
h1, h2, h3, .brand { font-family: var(--display); text-wrap: balance; }
p, li { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: rgba(98, 214, 255, .35); }

/* ── 顶栏：一条玻璃，滚动后变实 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 11, 36, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--glass-line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.14); }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--on-dark-2); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav nav a:hover { color: #fff; background: var(--glass); }
.nav nav a[aria-current="page"] { color: #fff; background: rgba(110, 141, 255, .18); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--glass); color: #fff; }
@media (max-width: 1000px) {
  .menu-btn { display: grid; place-items: center; }
  .nav nav { position: fixed; inset: 68px 12px auto; flex-direction: column; padding: 10px; border-radius: 20px; background: rgba(8, 16, 48, .96); border: 1px solid var(--glass-line); display: none; }
  .nav.open nav { display: flex; } .nav nav a { padding: 12px 16px; font-size: 17px; }
}

/* ── 按钮 */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn.pri { color: #fff; background: linear-gradient(180deg, #5376FF, #2F55F0); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 34px -12px rgba(61, 100, 255, .9); }
.btn.pri:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 20px 40px -12px rgba(61, 100, 255, 1); }
.btn.ghost { color: var(--on-dark); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn svg { width: 18px; height: 18px; }

/* ── 页头（除首页外每页一样）：深海 + 一道光 */
.pagehead { position: relative; padding: 168px 0 72px; overflow: hidden; isolation: isolate; }
.pagehead::before { content: ''; position: absolute; inset: -40% -10% auto; height: 140%; z-index: -1; background: radial-gradient(50% 45% at 30% 30%, rgba(61, 100, 255, .45), transparent 70%), radial-gradient(40% 40% at 80% 10%, rgba(98, 214, 255, .25), transparent 70%); filter: blur(10px); }
.pagehead::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-line), transparent); }
.pagehead h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 30%, #B9CBFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehead .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.pagehead .pose { width: auto; height: 230px; margin: -40px 0 -72px; flex: none; filter: drop-shadow(0 24px 30px rgba(0, 8, 50, .55)); animation: poseIn 1s var(--ease) both .15s; }
@keyframes poseIn { from { opacity: 0; transform: translateY(30px); } }
@media (max-width: 760px) { .pagehead .pose { height: 130px; margin: 0 -6px -72px 0; } .pagehead .wrap { gap: 8px; } }
.pagehead p { margin: 20px 0 0; max-width: 38em; font-size: clamp(17px, 2vw, 20px); color: var(--on-dark-2); }

/* ── 首页 · 水面 */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero canvas.water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(180deg, transparent, var(--abyss)); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px; padding-top: 68px; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.06; font-weight: 900; letter-spacing: -.035em; }
.hero h1 .l2 { display: block; background: linear-gradient(90deg, #8FE6FF, #8DA6FF 60%, #C9B4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 28px 0 0; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); color: var(--on-dark-2); font-size: 14px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #5BF0B0; box-shadow: 0 0 0 0 rgba(91, 240, 176, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91,240,176,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(91,240,176,0); } }
.sho-stage { position: relative; justify-self: center; width: min(460px, 82vw); aspect-ratio: 2 / 3; }
.sho-stage canvas, .sho-stage img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 96%); mask-image: linear-gradient(180deg, #000 70%, transparent 96%); }
.js .sho-stage .still { opacity: 0; } .js .sho-stage.nolive .still { opacity: 1; transition: opacity .6s; }
.sho-stage canvas { animation: liveIn 1.1s var(--ease) both; } @keyframes liveIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.sho-stage canvas, .sho-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sho-stage .glow { position: absolute; inset: 18% 6% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 214, 255, .35), transparent); filter: blur(30px); z-index: -1; }
.sho-stage .say { position: absolute; left: -6%; top: 12%; z-index: 2; max-width: 230px; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 15px; line-height: 1.5; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sho-stage .say.on { opacity: 1; transform: none; }
.scrollhint { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 48px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.6)); animation: wheel 2.2s var(--ease) infinite; }
.scrollhint i { position: absolute; left: -4px; bottom: 0; width: 9px; height: 9px; border-right: 1px solid rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.75); transform: rotate(45deg); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; text-align: left; padding-top: 96px; } .sho-stage { order: -1; width: min(300px, 70vw); margin-bottom: -40px; } .sho-stage .say { left: auto; right: 64%; top: 8%; max-width: 160px; font-size: 13.5px; padding: 9px 12px; } .scrollhint { display: none; } }

/* ── 区块 */
.sec { padding: clamp(88px, 12vw, 150px) 0; position: relative; }
.sec-h { max-width: 40em; margin-bottom: 56px; }
.sec-h h2 { margin: 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; font-weight: 900; letter-spacing: -.025em; }
.sec-h p { margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark-2); }

/* 三种同伴：便当格 */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; padding: 34px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px var(--glass-line); min-height: 280px; display: flex; flex-direction: column; }
.tile h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.tile p { margin: 10px 0 0; color: var(--on-dark-2); max-width: 30em; font-size: 16px; }
.tile.big { grid-row: span 2; }
.tilepose { align-self: center; height: 300px; width: auto; margin: 18px 0 -6px; filter: drop-shadow(0 26px 30px rgba(0, 8, 50, .6)); }
.tile.big .shot { margin-top: 0; padding-top: 0; }
@media (max-width: 860px) { .tilepose { height: 200px; } }
.tile .shot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.tile::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(closest-side, var(--tint, rgba(61,100,255,.35)), transparent); pointer-events: none; }
.tile.a { --tint: rgba(98, 214, 255, .28); } .tile.b { --tint: rgba(110, 141, 255, .35); } .tile.c { --tint: rgba(255, 138, 101, .25); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile.big { grid-row: auto; } }
/* 截图里用的迷你界面 */
.mbub { justify-self: start; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: rgba(255,255,255,.1); font-size: 15px; line-height: 1.55; }
.mbub.me { justify-self: end; border-radius: 16px 16px 6px 16px; background: linear-gradient(135deg, #4C6DFF, #6D4DFF); color: #fff; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 15px; }
.mrow img, .mrow .dot { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; flex: none; }
.mrow .dot { display: grid; place-items: center; font-weight: 800; color: #fff; }
.mrow b { display: block; font-size: 15px; } .mrow small { color: var(--on-dark-3); font-size: 13px; }
.call { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: rgba(5, 11, 36, .45); box-shadow: inset 0 0 0 1px var(--glass-line); margin-bottom: 6px; }
.call .face { position: relative; width: 52px; height: 52px; flex: none; }
.call .face img { width: 52px; height: 52px; border-radius: 50%; }
.call .face::before, .call .face::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(98, 214, 255, .5); animation: ring 2.4s var(--ease) infinite; }
.call .face::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.call b { display: block; font-size: 16px; } .call small { color: #7CF5C2; font-size: 13px; }
.wave { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: linear-gradient(180deg, #8FE6FF, #6E8DFF); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { animation-delay: -0.00s; } .wave i:nth-child(2) { animation-delay: -0.37s; } .wave i:nth-child(3) { animation-delay: -0.74s; } .wave i:nth-child(4) { animation-delay: -0.01s; } .wave i:nth-child(5) { animation-delay: -0.38s; } .wave i:nth-child(6) { animation-delay: -0.75s; } .wave i:nth-child(7) { animation-delay: -0.02s; } .wave i:nth-child(8) { animation-delay: -0.39s; } .wave i:nth-child(9) { animation-delay: -0.76s; } .wave i:nth-child(10) { animation-delay: -0.03s; } .wave i:nth-child(11) { animation-delay: -0.40s; } .wave i:nth-child(12) { animation-delay: -0.77s; } .wave i:nth-child(13) { animation-delay: -0.04s; } .wave i:nth-child(14) { animation-delay: -0.41s; }
@keyframes wave { 50% { height: 100%; } }
.mrow .dot.term { background: #12161F; color: #7CF5C2; font: 700 13px var(--mono); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.mrow .dot.term.c { color: #FFB38A; }
.mrow .st.need { background: rgba(255, 184, 77, .16); color: #FFCB7A; }
.tile.b .shot, .tile.c .shot { gap: 8px; }
.mrow .st { margin-left: auto; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(91,240,176,.15); color: #7CF5C2; white-space: nowrap; }

/* 一件事怎么做完：左边文字一步步走，右边手机跟着演 */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; }
.steps { display: grid; gap: 0; }
.step { position: relative; min-height: 56vh; display: flex; flex-direction: column; justify-content: center; opacity: .45; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step::before { content: ''; position: absolute; left: -28px; top: 50%; width: 3px; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--lagoon), var(--brand-hi)); transform: translateY(-50%); transition: height .6s var(--ease); }
.step.on { opacity: 1; transform: translateX(8px); } .step.on::before { height: 120px; }
.mini { display: none; }
.step .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(110, 141, 255, .18); color: #C9D5FF; margin-bottom: 18px; }
.step h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.015em; }
.step p { margin: 12px 0 0; color: var(--on-dark-2); max-width: 26em; }
.phonewrap { position: sticky; top: calc(50vh - 330px); height: 660px; }
.phone { position: relative; width: 320px; height: 650px; margin-inline: auto; border-radius: 52px; padding: 14px; background: linear-gradient(160deg, #2A3566, #0B1235); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 90px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(61,100,255,.35); }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: linear-gradient(180deg, #E8EEFF, #F6F8FF 40%); color: var(--ink); display: flex; flex-direction: column; }
.screen .bar { display: flex; align-items: center; gap: 10px; padding: 46px 18px 12px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); }
.screen .bar img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; }
.screen .chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; overflow: hidden; }
.screen .msg.run { display: flex; align-items: center; gap: 8px; background: #EEF8F2; color: #116B3E; font-size: 13px; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(17,107,62,.25); border-top-color: #148A4C; animation: spin .9s linear infinite; flex: none; } @keyframes spin { to { transform: rotate(360deg); } }
.screen .card .file + .file { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.screen .msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; background: #fff; box-shadow: 0 1px 0 rgba(11,18,48,.05); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.screen .msg.me { align-self: flex-end; background: #DFE6FF; color: #1E2A78; }
.screen .msg.show { opacity: 1; transform: none; }
.screen .card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 10px 26px -18px rgba(11,18,48,.4); font-size: 13.5px; }
.screen .card b { font-size: 14px; } .screen .card .job { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.screen .card .job:first-of-type { border-top: 0; } .screen .card .job i { width: 24px; height: 24px; border-radius: 8px; flex: none; background: #1F2328; }
.screen .card .job i.c { background: #7A5FD6; } .screen .card .job span { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.screen .card .go { margin-top: 10px; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.screen .file { display: flex; align-items: center; gap: 10px; } .screen .file i { width: 34px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, #FF8A65, #E5532E); flex: none; }
.screen .file i.w { background: linear-gradient(160deg, #5C8BFF, #2F55F0); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; } .phonewrap { display: none; }
  .step { min-height: auto; padding: 28px 0 8px; opacity: 1; transform: none; } .step::before { display: none; } .step.on { transform: none; }
  .mini { display: grid; gap: 10px; margin-top: 18px; padding: 18px 16px; border-radius: 24px; background: linear-gradient(180deg, #E8EEFF, #F6F8FF); color: var(--ink); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
  .mini .msg { justify-self: start; max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; background: #fff; }
  .mini .msg.me { justify-self: end; background: #DFE6FF; color: #1E2A78; }
  .mini .card { justify-self: stretch; max-width: none; padding: 14px; border-radius: 18px; font-size: 13.5px; }
  .mini .card .job { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); } .mini .card .job:first-of-type { border-top: 0; }
  .mini .card .job i { width: 24px; height: 24px; border-radius: 8px; background: #1F2328; flex: none; } .mini .card .job i.c { background: #7A5FD6; } .mini .card .job span { margin-left: auto; font-size: 12px; color: var(--ink-3); }
  .mini .card .go { margin-top: 10px; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
  .mini .file { display: flex; align-items: center; gap: 10px; } .mini .file i { width: 34px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, #FF8A65, #E5532E); flex: none; }
}

/* 我们坚持的 */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { position: relative; border-radius: 24px; padding: 30px 26px 34px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--glass-line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.value:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(98,214,255,.4); }
.value svg { width: 50px; height: 50px; padding: 12px; border-radius: 16px; color: var(--lagoon); background: rgba(98,214,255,.1); }
.value h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 800; }
.value p { margin: 0; color: var(--on-dark-2); font-size: 15.5px; line-height: 1.75; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* 结尾 */
.finale { text-align: center; padding: clamp(100px, 14vw, 170px) 0; position: relative; overflow: hidden; isolation: isolate; }
.finale::before { content: ''; position: absolute; inset: 20% 10% -40%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61,100,255,.4), transparent); filter: blur(30px); }
.finale h2 { margin: 0 auto; max-width: 16em; font-size: clamp(34px, 5vw, 62px); font-weight: 900; letter-spacing: -.025em; line-height: 1.12; }
.finale p { margin: 18px auto 0; max-width: 26em; color: var(--on-dark-2); }
.finale .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 出现：只有首页的几个大块用 */
.rise { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } .status i, .scrollhint, .wave i, .call .face::before, .call .face::after, .arch .wire::before, .arch .wire::after, .spin, .pagehead .pose, .sho-stage canvas { animation: none; } .step.on { transform: none; } .step { opacity: 1; } .screen .msg { opacity: 1; transform: none; } }

/* ── 读文档：深色外框里一张浅色纸 */
.reader { background: var(--foam); color: var(--ink); border-radius: 40px 40px 0 0; margin-top: -24px; position: relative; padding: 72px 0 120px; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; font-size: 14.5px; }
.toc a { position: relative; padding: 7px 12px 7px 16px; border-radius: 10px; color: var(--ink-3); text-decoration: none; transition: color .2s, background .2s; }
.toc a::before { content: ''; position: absolute; left: 4px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .5; transition: all .2s; }
.toc a:hover { color: var(--ink); background: rgba(11,18,48,.04); }
.toc a.on { color: var(--brand); background: rgba(61,100,255,.08); font-weight: 600; } .toc a.on::before { height: 14px; margin-top: -7px; border-radius: 2px; opacity: 1; }
.prose { max-width: 70ch; font-size: 17px; line-height: 1.9; }
.prose h2 { font-size: 28px; line-height: 1.3; font-weight: 900; letter-spacing: -.015em; margin: 72px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 32px 0 8px; font-weight: 800; }
.prose p, .prose li { color: #2A3150; } .prose ul, .prose ol { padding-left: 1.25em; } .prose li { margin: 6px 0; } .prose li::marker { color: var(--brand); }
.prose b { color: var(--ink); }
.prose a { color: var(--brand); text-underline-offset: 3px; }
.prose code { font: 14px/1.5 var(--mono); background: #E6ECFF; padding: 2px 7px; border-radius: 7px; color: #1E2A78; }
.prose pre { margin: 18px 0; padding: 20px 22px; border-radius: 18px; background: #0B1230; color: #DCE5FF; overflow-x: auto; font: 14px/1.7 var(--mono); box-shadow: 0 20px 40px -28px rgba(11,18,48,.7); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; font-size: 15.5px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: #E9EEFF; color: var(--ink); font-weight: 700; } .prose tr:last-child td { border-bottom: 0; }
.callout { display: flex; gap: 14px; margin: 20px 0; padding: 16px 20px; border-radius: 16px; background: #FFF4EA; color: #6A3812; font-size: 15.5px; }
.callout svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--coral); }
.meta { color: var(--ink-3); font-size: 14.5px; margin: 0 0 40px; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc a { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .toc a::before { display: none; } .reader { border-radius: 28px 28px 0 0; } }

/* 白皮书架构图 */
.arch { display: grid; grid-template-columns: 1fr minmax(160px, .8fr) 1fr; gap: 14px; margin: 24px 0; }
.arch .node { background: #0B1230; color: #DCE5FF; border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: 0 20px 40px -28px rgba(11,18,48,.8); }
.arch .node b { color: #fff; font-size: 16px; margin-bottom: 4px; } .arch .node span { background: rgba(255,255,255,.07); border-radius: 10px; padding: 7px 11px; font-size: 14px; line-height: 1.5; }
.arch .node .key { background: rgba(255,138,101,.18); color: #FFD3C2; }
.arch .wire { position: relative; display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; padding: 34px 16px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.arch .wire::before, .arch .wire::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); animation: flow 1.2s linear infinite; opacity: .5; }
.arch .wire::before { top: 16px; } .arch .wire::after { bottom: 16px; animation-direction: reverse; }
@keyframes flow { to { background-position: 16px 0; } }
.arch .wire .lock { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #EEF2FF; color: var(--brand); margin-bottom: 4px; } .arch .wire .lock svg { width: 22px; height: 22px; }
.arch .wire i { font-style: normal; font-weight: 800; color: var(--brand); } .arch .wire b { font-size: 15px; color: var(--ink); } .arch .wire small { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 760px) { .arch { grid-template-columns: 1fr; } }

/* 技能 */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 32px; }
.filters button { font: 500 15px var(--font); border: 0; border-radius: 999px; padding: 9px 16px; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: all .2s; }
.filters button:hover { color: var(--ink); } .filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.search input { flex: 1; border: 0; background: none; font: 16px var(--font); color: var(--ink); outline: none; } .search svg { width: 18px; height: 18px; color: var(--ink-3); }
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.skill { position: relative; background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.skill:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(61,100,255,.25), 0 24px 40px -28px rgba(11,18,48,.5); }
.skill .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(160deg, #EEF2FF, #DCE5FF); }
.skill .ic svg { width: 24px; height: 24px; }
.skill[data-cat="生活"] .ic { color: #148A4C; background: linear-gradient(160deg, #EAF8F0, #D3F0E0); }
.skill[data-cat="设计"] .ic { color: #B3479B; background: linear-gradient(160deg, #FBEFF8, #F3DCEE); }
.skill[data-cat="鱼Sho"] .ic { color: #0A86B5; background: linear-gradient(160deg, #E8F8FF, #CDEFFF); }
.skill h3 { margin: 6px 0 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.skill p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; flex: 1; }
.skill footer { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; background: none; }
.skill .tag { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: #F0F3FF; color: #3A4470; }
.empty { color: var(--ink-3); padding: 40px 0; }

/* 反馈 */
.fb { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.form { display: grid; gap: 22px; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(11,18,48,.5); }
.form .lab { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 8px; display: block; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kinds label { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #F4F6FC; cursor: pointer; transition: all .2s; box-shadow: inset 0 0 0 1.5px transparent; }
.kinds label b { color: var(--ink); font-size: 15px; } .kinds label small { color: var(--ink-3); font-size: 12.5px; }
.kinds input { position: absolute; opacity: 0; }
.kinds label:has(input:checked) { background: #EEF2FF; box-shadow: inset 0 0 0 1.5px var(--brand); }
.kinds label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.form textarea, .form input[type=text] { width: 100%; font: 16px/1.6 var(--font); padding: 14px 16px; border-radius: 16px; border: 0; background: #F4F6FC; color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; }
.form textarea { min-height: 180px; resize: vertical; }
.form textarea:focus, .form input[type=text]:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand); }
.form .count { text-align: right; color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.form .btn { justify-self: start; }
.sent { display: none; text-align: center; padding: 30px 10px; } .sent.on { display: block; }
.sent svg { width: 56px; height: 56px; color: #22B573; margin: 0 auto 14px; } .sent h3 { margin: 0; font-size: 24px; color: var(--ink); } .sent p { color: var(--ink-2); }
.form.done > :not(.sent) { display: none; }
.err { color: #C0392B; font-size: 14.5px; min-height: 1em; margin: 0; }
.aside { display: grid; gap: 14px; color: var(--ink-2); font-size: 15px; }
.aside .card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.aside .card b { color: var(--ink); display: block; margin-bottom: 4px; }
.aside .flow { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 10px; }
.aside .flow li { counter-increment: f; display: flex; align-items: center; gap: 10px; }
.aside .flow li::before { content: counter(f); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12.5px; font-weight: 700; background: #EEF2FF; color: var(--brand); }
.aside .listen { justify-self: center; height: 220px; width: auto; margin-top: 6px; filter: drop-shadow(0 20px 26px rgba(11,18,48,.25)); }
@media (max-width: 860px) { .fb { grid-template-columns: 1fr; } .kinds { grid-template-columns: 1fr; } }

/* ── 页脚：海底 */
.foot { padding: 64px 0 56px; color: var(--on-dark-3); font-size: 14px; border-top: 1px solid var(--glass-line); background: var(--abyss); }
.foot > .wrap { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot b { color: var(--on-dark); display: block; margin-bottom: 10px; font-size: 15px; }
.foot a { display: block; color: var(--on-dark-2); text-decoration: none; padding: 3px 0; } .foot a:hover { color: #fff; }
.foot .legal { grid-column: 1 / -1; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--glass-line); }
@media (max-width: 760px) { .foot > .wrap { grid-template-columns: 1fr 1fr; } .foot > .wrap > :first-child { grid-column: 1 / -1; } }
/* 截图检查用（?shot）：首屏按 900 高算，出现动画直接显示 */
.shot .hero { min-height: 900px; } .shot .rise { opacity: 1; transform: none; } .shot .step { min-height: 420px; }
/* 语言切换：导航最右边，小一号，带地球图标 */
.nav nav a.lang { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; box-shadow: inset 0 0 0 1px var(--glass-line); }
.nav nav a.lang svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .nav nav a.lang { margin: 6px 0 0; } }
.hero h1 { overflow-wrap: anywhere; }
html[lang="en"] .hero h1 { font-size: clamp(38px, 5vw, 76px); letter-spacing: -.03em; }
/* 顶栏在亮的水面上：字后面垫一层淡阴影，保证看得清 */
.nav:not(.solid) nav a, .nav:not(.solid) .brand { text-shadow: 0 1px 10px rgba(3, 10, 40, .55); }
.nav:not(.solid) nav a:not([aria-current]) { color: #DCE6FF; }
.hero h1 .nb { white-space: nowrap; }

/* ── 博客 */
.posts { display: grid; gap: 16px; max-width: 760px; }
.postcard { display: grid; gap: 8px; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.postcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(61,100,255,.25), 0 24px 40px -28px rgba(11,18,48,.5); }
.postcard h2 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 800; }
.postcard p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.postcard .more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14.5px; } .postcard .more svg { width: 16px; height: 16px; }
.pmeta { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13.5px; margin: 0; }
.pmeta i { font-style: normal; font-weight: 600; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #EEF2FF; color: var(--brand); }
.pagehead.post .pmeta { color: var(--on-dark-2); margin-top: 18px; } .pagehead.post .pmeta i { background: rgba(110,141,255,.2); color: #C9D5FF; }
.pagehead.post h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 20em; }
.pagehead .back { display: inline-block; margin-bottom: 18px; color: var(--on-dark-2); text-decoration: none; font-size: 14.5px; } .pagehead .back:hover { color: #fff; }
.article { margin: 0 auto; } .article figure { margin: 24px 0; } .article figure img { border-radius: 16px; } .article figcaption { color: var(--ink-3); font-size: 14px; margin-top: 8px; text-align: center; }
.article blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.article h2:first-child { margin-top: 0; }

/* 导航的字和品牌名不折行；文章正文和标题左对齐 */
.brand, .nav nav a { white-space: nowrap; } .brand { flex: none; }
.article { margin: 0; }
/* 英文长命令、长链接在窄屏上可以断行，不把整栏撑宽 */
.doc > *, .prose { min-width: 0; } .prose { overflow-wrap: anywhere; } .prose code { word-break: break-all; }
.nav nav { background: #08102F; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); }
@media (min-width: 1001px) { .nav nav { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ── 加好友落地页（二维码扫进来） */
.addcard { padding: 120px 0 90px; position: relative; isolation: isolate; }
.addcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(50% 60% at 50% 20%, rgba(61,100,255,.45), transparent 70%); }
.addcard .wrap { max-width: 560px; }
.acard { text-align: center; padding: 36px 28px 30px; border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px var(--glass-line), 0 40px 80px -50px rgba(0,0,0,.9); }
.aface { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.akicker { margin: 0; color: var(--on-dark-3); font-size: 14px; }
.acard h1 { margin: 6px 0 0; font-size: clamp(28px, 6vw, 40px); font-weight: 900; letter-spacing: -.01em; }
.acard h1 span { font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #8FE6FF, #8DA6FF 60%, #C9B4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adesc { margin: 10px 0 0; color: var(--on-dark-2); }
.aacts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.amsg { min-height: 1.6em; margin: 14px 0 0; color: #7CF5C2; font-size: 14.5px; }
.asteps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.asteps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--glass-line); }
.asteps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(110,141,255,.2); color: #C9D5FF; }
.asteps b { font-size: 16px; } .asteps span { color: var(--on-dark-2); font-size: 15px; line-height: 1.7; }
.amore { text-align: center; margin: 26px 0 0; } .amore a { color: var(--lagoon); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .amore svg { width: 16px; height: 16px; }

/* 页脚上方：加入社群（1 到 3 个二维码，个数不同排法不同） */
.community { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--glass-line); }
.community .wrap { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 40px; align-items: center; }
.cm-head b { display: block; color: var(--on-dark); font-size: 22px; font-weight: 800; margin-bottom: 8px; letter-spacing: .02em; }
.cm-head span { color: var(--on-dark-2); line-height: 1.7; max-width: 26em; display: block; }
.cm-list { display: flex; gap: 20px; justify-content: flex-end; }
.cm { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 16px 16px 14px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--glass-line); }
.cm img { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 8px; box-sizing: border-box; display: block; }
.cm figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; } .cm figcaption b { margin: 0; font-size: 14px; } .cm figcaption span { font-size: 12px; color: var(--on-dark-3); }
.cm-list.n1 .cm img { width: 156px; height: 156px; }
@media (max-width: 900px) { .community .wrap { grid-template-columns: 1fr; gap: 24px; } .cm-list { justify-content: flex-start; flex-wrap: wrap; } }
@media (max-width: 520px) { .cm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; } .cm img { width: 112px; height: 112px; } .cm { padding: 12px; } }
@media (max-width: 1000px) { .foot > .wrap { grid-template-columns: 1fr 1fr 1fr; } .foot > .wrap > :first-child { grid-column: 1 / -1; } }

/* 首页公开数据 */
.stats { display: flex; gap: 28px; margin: 28px 0 0; padding: 0; } .stats[hidden] { display: none; }
.stats div { display: grid; gap: 2px; } .stats dt { font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; } .stats dd { margin: 0; font-size: 13px; color: var(--on-dark-3); }
@media (max-width: 600px) { .stats { gap: 18px; } .stats dt { font-size: 22px; } }

/* ── 下载页：三张平级的卡（三种装法，没有主次），下面两条补充说明。按钮还没开放时是灰的、点不了 */
@media (min-width: 1001px) { .foot > .wrap { grid-template-columns: 1.3fr repeat(5, 1fr); gap: 28px; } }
.btn[disabled] { cursor: not-allowed; color: var(--ink-3); background: rgba(11, 18, 48, .06); box-shadow: inset 0 0 0 1px var(--line); transform: none; }
.dl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px 28px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -44px rgba(11, 18, 48, .45); }
.dl-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--brand); background: #EEF2FF; margin-bottom: 22px; }
.dl-ic svg { width: 28px; height: 28px; }
.dl h2 { margin: 0; font: 800 26px/1.2 var(--display); color: var(--ink); }
.dl-state { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--brand); background: #EEF2FF; padding: 3px 10px; border-radius: 999px; }
.dl p { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.dl .dl-need { margin-top: 10px; font-size: 14px; color: var(--ink-3); flex: 1; }
.dl .btn { margin-top: 26px; }
.dl-more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.dl-more section { padding: 26px 28px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.dl-more h3 { margin: 0; font: 800 19px/1.3 var(--display); color: var(--ink); }
.dl-more p { margin: 10px 0 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.dl-more .more { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 15px; } .dl-more .more:hover { text-decoration: underline; }
.dl-social { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 960px) { .dl-list { grid-template-columns: 1fr; } .dl-more { grid-template-columns: 1fr; } }

/* ── 加入社群：二维码永远是正方形（宽度跟卡片走、高度按比例），窄屏两列铺满，群名不硬折 */
.cm img { width: 132px; height: auto; aspect-ratio: 1; max-width: 100%; object-fit: contain; }
.cm figcaption b, .cm figcaption span { text-wrap: balance; }
@media (max-width: 900px) { .cm-list { width: 100%; } }
@media (max-width: 520px) {
  .cm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .cm { padding: 14px 12px 12px; } .cm img { width: 100%; max-width: 168px; }
}
