/* CursorSkins 网站。深色主题，配色取自 Steam 商店图（深蓝星空 + 霓虹）和应用图标（紫 → 蓝 → 青）。字体和客户端一样：Onest 正文、Unbounded 标题 */

@font-face { font-family: "Onest Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/static/fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded Variable"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/static/fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #070B20;
  --bg-2: #0B1130;
  --panel: #10183A;
  --panel-2: #172150;
  --line: rgba(150, 168, 255, .14);
  --line-2: rgba(150, 168, 255, .24);
  --fg: #EEF1FF;
  --fg-2: #C7CEEC;
  --muted: #94A0C8;
  --accent: #7E9BFF;
  --violet: #7A5CFF;
  --blue: #4C7DFF;
  --teal: #22C1B0;
  --pink: #FF6FB5;
  --ok: #3CCB86;
  --grad: linear-gradient(120deg, #7A5CFF 0%, #4C7DFF 48%, #22C1B0 100%);
  --radius: 18px;
  --wrap: 1200px;
  --gut: 24px;
  --font-ui: "Onest Variable", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-display: "Unbounded Variable", "Onest Variable", system-ui, "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (max-width: 720px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(122, 92, 255, .22), transparent 70%), radial-gradient(700px 420px at -10% 20%, rgba(34, 193, 176, .10), transparent 70%);
  background-repeat: no-repeat;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #A9BCFF; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font: 700 clamp(32px, 5.2vw, 58px)/1.08 var(--font-display); letter-spacing: -.02em; }
h2 { font: 650 clamp(24px, 3.2vw, 38px)/1.15 var(--font-display); letter-spacing: -.015em; }
h3 { font-size: 19px; font-weight: 650; }
:lang(zh) h1, :lang(zh) h2 { letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(122, 92, 255, .14); border: 1px solid rgba(122, 92, 255, .35); color: #D6CCFF; font-size: 13.5px; font-weight: 600; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(34, 193, 176, .2); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 14px; font: 650 16px/1 var(--font-ui); text-decoration: none; color: var(--fg); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; cursor: pointer; }
.btn:hover { color: var(--fg); background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-steam { border: 0; color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(76, 125, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-steam:hover { color: #fff; background: var(--grad); box-shadow: 0 14px 34px -10px rgba(76, 125, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14.5px; gap: 8px; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.steam-app { font-size: 14px; color: var(--muted); }
.steam-app:hover { color: var(--fg); }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 32, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 650 18px/1 var(--font-display); letter-spacing: -.01em; flex: none; }
.brand:hover { color: var(--fg); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current=page] { color: var(--fg); background: rgba(255, 255, 255, .06); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 550; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); }
.lang:hover { color: var(--fg); border-color: var(--line-2); }
@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 12px 0 0; gap: 10px 14px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -6px; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 10px; font-size: 14.5px; white-space: nowrap; }
}
@media (max-width: 420px) { .top-r .btn-sm span { display: none; } .top-r .btn-sm { width: 38px; padding: 0; } }

/* ---------- 区块 ---------- */
main { display: block; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-h { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-h p { margin-top: 14px; color: var(--fg-2); font-size: 17.5px; }
.section-h.center { margin-inline: auto; text-align: center; }
.band { background: linear-gradient(180deg, rgba(16, 24, 58, .0), rgba(16, 24, 58, .65) 18%, rgba(16, 24, 58, .65) 82%, rgba(16, 24, 58, 0)); }

/* ---------- 首页大图 ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-art { position: absolute; inset: 0 0 0 34%; z-index: -1; background: url(/media/hero-1200.webp) right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%); opacity: .9; }
@media (min-width: 1300px), (min-resolution: 1.5dppx) { .hero-art { background-image: url(/media/hero-2400.webp); } }
.hero-in { max-width: 640px; text-shadow: 0 2px 24px rgba(7, 11, 32, .8); }
.hero h1 { margin: 22px 0 18px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--fg-2); max-width: 600px; }
.hero .btn-row { margin-top: 30px; }
.hero .plat { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding-top: 0; }
  .hero-art { position: relative; inset: auto; height: 220px; margin: 0 calc(-1 * var(--gut)) 4px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); background-position: 70% center; z-index: 0; }
}

/* ---------- 试戴挑选 ---------- */
.pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick-i { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--fg); text-align: left; font: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.pick-i:hover { color: var(--fg); border-color: var(--line-2); transform: translateY(-2px); background: var(--panel-2); }
.pick-i img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.pick-i b { font-size: 15.5px; font-weight: 650; }
.pick-i small { color: var(--muted); font-size: 13px; margin-top: -6px; }
.pick-i[aria-pressed=true] { border-color: transparent; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(122, 92, 255, .6); }
.pick-i[aria-pressed=true]::after { content: "✓"; position: absolute; top: 20px; right: 20px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #05210F; font-weight: 800; font-size: 15px; }
.is-loading { opacity: .7; }
.touch-note { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--fg-2); font-size: 14.5px; }
html:not(.can-try) .touch-note { display: block; }
html:not(.can-try) .needs-mouse { display: none !important; }
.try-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.try-foot p { color: var(--muted); font-size: 14.5px; }

/* 整页试戴时左下角的提示 */
.wear-pill { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 99px; background: rgba(16, 24, 58, .92); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); font-size: 14px; max-width: calc(100vw - 32px); }
.wear-pill[hidden] { display: none; }
.wear-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.wear-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wear-off { border: 0; border-radius: 99px; padding: 6px 12px; background: rgba(255, 255, 255, .1); color: var(--fg); font: 600 13px/1 var(--font-ui); cursor: pointer; flex: none; }
.wear-off:hover { background: rgba(255, 255, 255, .18); }

/* ---------- 视频 ---------- */
.video { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 80px -40px rgba(76, 125, 255, .45); }
.video video { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* ---------- 功能 ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat + .feat { margin-top: clamp(56px, 8vw, 96px); }
.feat:nth-child(even) .feat-txt { order: 2; }
.feat-txt h3 { font: 650 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display); letter-spacing: -.01em; }
:lang(zh) .feat-txt h3 { letter-spacing: 0; }
.feat-txt p { margin-top: 14px; color: var(--fg-2); font-size: 17px; }
.feat-txt .note { font-size: 14.5px; color: var(--muted); }
.feat-img { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); background: var(--panel); }
.feat-img img { width: 100%; height: auto; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat:nth-child(even) .feat-txt { order: 0; } }

/* ---------- 动效试玩 ---------- */
.fx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fx-stage { position: relative; height: clamp(300px, 42vw, 440px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, #121A44 0%, #05081A 70%); touch-action: none; }
.fx-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: rgba(220, 228, 255, .5); font-size: 15px; pointer-events: none; transition: opacity .4s; }
.fx-stage:hover .fx-hint { opacity: 0; }
.mixes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mixes > span { color: var(--muted); font-size: 14.5px; margin-right: 4px; }
.mix { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 10px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg); font: 600 15px/1 var(--font-ui); cursor: pointer; }
.mix i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); }
.mix:hover { background: rgba(255, 255, 255, .08); }
.mix[aria-pressed=true] { border-color: var(--accent); background: rgba(126, 155, 255, .16); }

/* ---------- 光标卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; color: var(--fg); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.card:hover { color: var(--fg); transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); }
.card[hidden] { display: none; }
.card-img { display: block; aspect-ratio: 1; background: #1B2350; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.card-name { font-weight: 650; font-size: 15.5px; line-height: 1.3; }
.card-meta { color: var(--muted); font-size: 13px; }
.card-anim { color: #8CE6B6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--fg-2); font: 550 14.5px/1 var(--font-ui); text-decoration: none; cursor: pointer; }
.chip:hover { color: var(--fg); background: rgba(255, 255, 255, .07); }
.chip small { color: var(--muted); font-size: 12.5px; }
.chip[aria-pressed=true], .chip[aria-current=page] { color: var(--fg); border-color: var(--accent); background: rgba(126, 155, 255, .16); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(126, 155, 255, .12); color: #C9D5FF; font-size: 13.5px; font-weight: 550; text-decoration: none; }
a.tag:hover { background: rgba(126, 155, 255, .22); color: #fff; }

/* 光标库工具条 */
.tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 22px; }
.tools .chips { flex: 1 1 520px; }
.tools-r { display: flex; gap: 10px; align-items: center; }
.field { height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg); padding: 0 14px; font: 15px var(--font-ui); }
.field::placeholder { color: var(--muted); }
input.field { width: 200px; }
#gallery:not(.is-live) .tools { display: none; }
.count { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- 平台、问题、号召 ---------- */
.plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .plats { grid-template-columns: 1fr; } }
.plat-c { padding: 26px 26px 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.plat-c h3 { font: 650 20px/1.2 var(--font-display); display: flex; align-items: center; gap: 10px; }
.plat-c ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plat-c li { position: relative; padding-left: 26px; color: var(--fg-2); }
.plat-c li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-50%) rotate(-45deg); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 620; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--fg-2); }
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: url(/media/hero-1200.webp) center / cover; border: 1px solid var(--line-2); text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 32, .55), rgba(7, 11, 32, .85)); }
.cta > * { position: relative; }
.cta p { margin: 16px auto 28px; color: var(--fg-2); font-size: 18px; max-width: 620px; }
.cta .btn-row { justify-content: center; }

/* ---------- 子页面通用 ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.page-h { padding: 22px 0 34px; max-width: 820px; }
.page-h h1 { font-size: clamp(30px, 4.4vw, 48px); }
.page-h p { margin-top: 16px; color: var(--fg-2); font-size: 18px; }
.more-styles { margin-top: 48px; }
.more-styles h2 { font-size: 20px; margin-bottom: 14px; }

/* ---------- 光标详情页 ---------- */
.skin-top { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: 22px 0 10px; }
@media (max-width: 860px) { .skin-top { grid-template-columns: 1fr; } }
.skin-cover { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 1; }
.skin-cover img { width: 100%; height: 100%; object-fit: cover; }
.skin-info h1 { font-size: clamp(30px, 4.2vw, 46px); }
.skin-info .lead { margin-top: 14px; color: var(--fg-2); font-size: 19px; }
.skin-info .chips { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 26px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { padding: 14px 16px; background: var(--panel); }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 0; font: 650 20px/1.2 var(--font-display); }
@media (max-width: 520px) { .facts dd { font-size: 16px; white-space: nowrap; } .facts div { padding: 12px; } }
.skin-info .free { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.btn[aria-pressed=true] { border-color: var(--ok); background: rgba(60, 203, 134, .14); }

/* 试衣间（样式照客户端 app.css 的 .fit） */
.fit-h { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.fit-h h2 { font-size: clamp(22px, 2.6vw, 28px); }
.fit-h p { color: var(--muted); margin-top: 6px; }
.seg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--fg-2); height: 32px; padding: 0 12px; border-radius: 9px; font: 550 14px var(--font-ui); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--panel-2); color: var(--fg); }
.fit { position: relative; border-radius: 22px; padding: 30px 30px 62px; border: 1px solid var(--line); overflow: hidden; }
.fit[data-bg=light] { background: #EEF1F6; --fw: #FFFFFF; --ff: #1A1F2E; --fm: #6B7385; --fl: #E1E5EE; --fb: #F4F6FA; }
.fit[data-bg=dark] { background: #10131B; --fw: #1B1F2A; --ff: #E9ECF3; --fm: #8C94A8; --fl: #2B3140; --fb: #232836; }
.fit[data-bg=wall] { background: radial-gradient(60% 80% at 15% 20%, #FF9A62 0%, transparent 60%), radial-gradient(60% 80% at 85% 30%, #6C63FF 0%, transparent 60%), radial-gradient(70% 70% at 50% 100%, #19C3A6 0%, transparent 60%), #2B2F5E; --fw: rgba(255, 255, 255, .88); --ff: #1A1F2E; --fm: #5A6276; --fl: rgba(0, 0, 0, .1); --fb: rgba(255, 255, 255, .6); }
.fwin { position: relative; max-width: 720px; margin: 0 auto; background: var(--fw); color: var(--ff); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45), 0 0 0 1px var(--fl); }
.fwin-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--fl); font-size: 13px; font-weight: 600; }
.lights { display: flex; gap: 6px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.fwin-bar .hint { margin-left: auto; color: var(--fm); font-weight: 400; font-size: 12px; }
.fwin-tools { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--fl); flex-wrap: wrap; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--fl); background: var(--fb); color: var(--ff); font: 500 13px var(--font-ui); }
.fbtn.primary { background: #0F5EFF; border-color: #0F5EFF; color: #fff; }
.fbtn[aria-disabled=true] { opacity: .5; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fhelp { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fl); color: var(--fm); font-weight: 700; font-size: 13px; }
.fwin-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding: 16px; }
@media (max-width: 640px) { .fwin-body { grid-template-columns: 1fr; } }
.ftext { font-size: 14.5px; line-height: 1.65; display: flex; flex-direction: column; gap: 10px; }
.ftext a { color: #0F5EFF; font-weight: 500; }
.fpads { display: grid; gap: 10px; }
.fpad { border-radius: 9px; border: 1px dashed var(--fl); display: grid; place-items: center; font-size: 12.5px; color: var(--fm); min-height: 54px; background-image: linear-gradient(var(--fl) 1px, transparent 1px), linear-gradient(90deg, var(--fl) 1px, transparent 1px); background-size: 14px 14px; }
.fchips { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--fl); background: var(--fb); font-size: 12.5px; }
.edge { position: absolute; z-index: 2; }
.edge.r { top: 12px; bottom: 12px; right: -6px; width: 12px; }
.edge.b { left: 12px; right: 12px; bottom: -6px; height: 12px; }
.edge.br { right: -8px; bottom: -8px; width: 18px; height: 18px; }
.edge.bl { left: -8px; bottom: -8px; width: 18px; height: 18px; }
.fit-status { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 99px; background: rgba(12, 16, 28, .82); color: #fff; font-size: 13px; max-width: calc(100% - 32px); }
.fit-status:not(.ready) { visibility: hidden; }
.fit-status img { width: 22px; height: 22px; flex: none; }
.fit-status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-status .k { font-family: var(--font-mono); color: #A9B3CC; font-size: 12px; flex: none; }

/* 全部状态 */
.states h3 { margin: 30px 0 14px; font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.st { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; position: relative; }
.st-pv { --t: 64px; flex: none; width: var(--t); height: var(--t); background-image: var(--atlas); background-repeat: no-repeat; background-size: calc(var(--cols) * var(--t)) calc(var(--rows) * var(--t)); background-position: 0 calc(var(--r) * -1 * var(--t)); image-rendering: auto; }
.st-pv.anim { animation: st-play calc(var(--n) * var(--d)) steps(var(--n)) infinite; }
@keyframes st-play { from { background-position-x: 0; } to { background-position-x: calc(var(--n) * -1 * var(--t)); } }
.st-nm { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.st-k { font: 12px/1.3 var(--font-mono); color: var(--muted); }
.st-b { font-size: 12px; color: #8CE6B6; }
.st-b.plat { color: #C9B8FF; }
.st-w { color: var(--muted); font-size: 13.5px; line-height: 1.45; text-align: left; align-self: stretch; }
.st-grid.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.st-grid.wide .st { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 16px; }
.st-grid.wide .st > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.about { max-width: 820px; }
.about h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.about p { color: var(--fg-2); font-size: 17px; }
.about p + p { margin-top: 12px; }
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 58px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--fg-2); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pn a { text-decoration: none; color: var(--fg-2); font-size: 15px; }
.pn a:hover { color: var(--fg); }
.pn b { display: block; color: var(--fg); font-size: 16.5px; }

/* ---------- 教程 ---------- */
.prose { max-width: 760px; font-size: 17.5px; color: var(--fg-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; color: var(--fg); font-size: clamp(23px, 2.6vw, 29px); }
.prose h3 { margin-top: 32px; color: var(--fg); font-size: 20px; }
.prose strong { color: var(--fg); font-weight: 650; }
.prose ol, .prose ul { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose code { font: 15px var(--font-mono); background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 6px; color: var(--fg); }
.prose .intro { font-size: 19.5px; color: var(--fg); }
.updated { color: var(--muted); font-size: 14px; margin-top: 12px; }
.toc { margin: 26px 0 8px; padding: 18px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); max-width: 760px; }
.toc b { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: transform .2s, border-color .2s; }
.guide-card:hover { color: var(--fg); transform: translateY(-3px); border-color: var(--line-2); }
.guide-card b { font: 650 19px/1.3 var(--font-display); }
.guide-card span { color: var(--fg-2); font-size: 15.5px; }
.aside-cta { margin-top: 56px; padding: 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line-2); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; max-width: 760px; }
.aside-cta p { color: var(--fg-2); max-width: 440px; }
.aside-cta b { color: var(--fg); display: block; font-size: 18px; margin-bottom: 4px; }

/* 帮助页 */
.req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .req { grid-template-columns: 1fr; } }
.req dl { margin: 14px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.req dt { color: var(--muted); }
.req dd { margin: 0; color: var(--fg-2); }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- 页脚 ---------- */
.foot { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); background: rgba(5, 8, 24, .6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid p { color: var(--muted); font-size: 14.5px; margin: 14px 0 18px; max-width: 320px; }
.foot h2 { font: 650 13px/1 var(--font-ui); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot ul a { color: var(--fg-2); text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: var(--fg); text-decoration: underline; }
.legal { padding: 20px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: grid; gap: 6px; }

/* 404 */
.nf { min-height: 50vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 80px 0; }
.nf .btn-row { justify-content: center; margin-top: 10px; }
