:root{--guide-bg:#f3f7f1;--guide-surface:#fff;--guide-text:#173b2f;--guide-muted:#667a70;--guide-line:#d8e3d8;--guide-brand:#1f5b48;--guide-soft:#eaf3ec;--guide-warn:#c25d39;--guide-shadow:0 18px 48px rgba(24,60,42,.10)}
*{box-sizing:border-box}
html{background:var(--guide-bg);color:var(--guide-text);font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
body{margin:0;min-height:100svh;background:radial-gradient(circle at 50% 0,#fff 0,var(--guide-bg) 48%);color:var(--guide-text)}
button,a{font:inherit}
.guide-header{position:sticky;top:0;z-index:4;padding:calc(env(safe-area-inset-top) + 10px) 16px 10px;background:color-mix(in srgb,var(--guide-bg) 92%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--guide-line)}
.guide-header-inner{width:min(100%,720px);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-brand{display:flex;align-items:center;gap:10px;color:var(--guide-text);text-decoration:none;font-weight:900}
.guide-logo{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--guide-brand);color:#fff;font-size:24px}
.guide-back{min-height:44px;padding:9px 14px;border:1px solid var(--guide-line);border-radius:13px;background:var(--guide-surface);color:var(--guide-text);text-decoration:none;font-weight:800}
.guide-main{width:min(calc(100% - 24px),720px);margin:0 auto;padding:22px 0 calc(32px + env(safe-area-inset-bottom))}
.guide-heading{margin:0 0 18px;text-align:center}
.guide-heading h1{margin:0;font-size:clamp(25px,7vw,38px);line-height:1.2;letter-spacing:-.03em}
.guide-heading p{margin:9px auto 0;max-width:560px;color:var(--guide-muted);font-size:15px;line-height:1.65}
.preview-label{display:inline-flex;align-items:center;min-height:34px;margin-bottom:12px;padding:6px 12px;border-radius:999px;background:#fff1e8;color:var(--guide-warn);font-weight:900;font-size:13px}
.video-card{padding:12px;border:1px solid var(--guide-line);border-radius:26px;background:var(--guide-surface);box-shadow:var(--guide-shadow)}
.video-frame{position:relative;width:min(100%,430px);margin:auto;overflow:hidden;border-radius:20px;background:#071c16;box-shadow:0 10px 30px rgba(4,25,18,.18)}
.video-frame video{display:block;width:100%;height:auto;aspect-ratio:9/16;background:#071c16;object-fit:contain}
.video-status{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;margin-top:12px;padding:10px 13px;border-radius:14px;background:var(--guide-soft);color:var(--guide-muted);font-size:13px;font-weight:750;text-align:center}
.video-status[hidden]{display:none}
.video-status.is-loading::before{content:"";width:16px;height:16px;border:2px solid var(--guide-line);border-top-color:var(--guide-brand);border-radius:50%;animation:guide-spin .8s linear infinite}
@keyframes guide-spin{to{transform:rotate(1turn)}}
.video-error{margin-top:12px;padding:14px;border:1px solid #efcbbb;border-radius:14px;background:#fff3ed;color:#7c3f2d;text-align:center}
.video-error[hidden]{display:none}
.video-error p{margin:0 0 10px;line-height:1.55}
.retry-button{min-height:44px;padding:9px 18px;border:0;border-radius:12px;background:var(--guide-brand);color:#fff;font-weight:900;cursor:pointer}
.guide-tips{display:grid;gap:10px;margin:16px 0 0;padding:0;list-style:none}
.guide-tips li{padding:12px 14px;border-radius:14px;background:var(--guide-soft);color:var(--guide-muted);font-size:13px;line-height:1.55}
.guide-footer-back{display:flex;justify-content:center;margin-top:22px}
.guide-footer-back a{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 26px;border-radius:15px;background:var(--guide-brand);color:#fff;text-decoration:none;font-weight:900;font-size:16px}
.guide-chapters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.chapter-btn{min-height:40px;padding:8px 13px;border:1px solid var(--guide-line);border-radius:999px;background:var(--guide-soft);color:var(--guide-text);font-size:13px;font-weight:800;cursor:pointer}
.chapter-btn.is-active{background:var(--guide-brand);border-color:var(--guide-brand);color:#fff}
.guide-methods{display:grid;gap:14px;margin-top:20px}
.method-card{padding:18px;border:1px solid var(--guide-line);border-radius:22px;background:var(--guide-surface);box-shadow:0 10px 28px rgba(24,60,42,.06)}
.method-card h2{margin:10px 0 12px;font-size:19px;line-height:1.35}
.method-badge{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:900}
.method-wechat .method-badge{background:#fff1e8;color:var(--guide-warn)}
.method-online .method-badge{background:var(--guide-soft);color:var(--guide-brand)}
.method-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 14px}
.method-thumbs img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:14px;background:#fff;border:1px solid var(--guide-line);padding:6px}
.method-steps{margin:0;padding-left:20px;display:grid;gap:9px;color:var(--guide-muted);font-size:14px;line-height:1.6}
.method-steps strong{color:var(--guide-text)}
html[data-theme="dark"] .chapter-btn.is-active{background:#1f6a52;border-color:#1f6a52;color:#fff}
html[data-theme="dark"]{--guide-bg:#071c16;--guide-surface:#0d2b22;--guide-text:#edf8f1;--guide-muted:#a9c0b5;--guide-line:#315649;--guide-brand:#7fd9b3;--guide-soft:#15382d;--guide-shadow:0 18px 50px rgba(0,0,0,.34)}
html[data-theme="dark"] .guide-logo,html[data-theme="dark"] .guide-footer-back a,html[data-theme="dark"] .retry-button{background:#1f6a52;color:#fff}
html[data-theme="dark"] .preview-label{background:#3b291f;color:#f2aa7d}
html[data-theme="dark"] .video-error{background:#3b241d;border-color:#704434;color:#ffd9ca}
@media(max-width:430px){.guide-header{padding-left:12px;padding-right:12px}.guide-main{width:calc(100% - 20px);padding-top:18px}.guide-brand{font-size:14px}.guide-back{padding-inline:11px}.video-card{padding:9px;border-radius:22px}.video-frame{border-radius:17px}}
@media(prefers-reduced-motion:reduce){.video-status.is-loading::before{animation:none}}
