:root{
    --bg:#E8F4F0;
    --deep:#C8E4DC;
    --surface:#F4FAF8;
    --soft:#DCEEE8;
    --title:#16382E;
    --text:#245044;
    --muted:#4A7468;
    --faint:#6A9488;
    --green:#2A8A72;
    --green2:#3AA88A;
    --gold:#C4A050;
    --line:rgba(22,56,46,.12);
    --line-strong:rgba(42,138,114,.48);
    --shadow:0 12px 28px rgba(22,56,46,.08);
    --head-h:122px;
    --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-size:15px;line-height:1.7;overflow-x:hidden}
body.is-locked{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input{font:inherit}
button{cursor:pointer}
.shell{width:min(960px,calc(100% - 32px));margin:0 auto}
.site-head{position:fixed;z-index:50;top:0;left:0;right:0;box-shadow:0 2px 10px rgba(22,56,46,.05)}
.brand-strip{height:20px;background:var(--green);color:var(--surface);font-size:12px;line-height:20px}
.strip-inner,.brand-inner{display:flex;align-items:center;justify-content:space-between;height:100%}
.text-control{border:0;background:transparent;color:var(--surface);padding:0 4px;min-height:20px}
.brand-row{height:54px;background:var(--surface);border-bottom:1px solid var(--line-strong)}
.brand-link{display:inline-flex;align-items:center;min-height:44px;max-width:180px}
.brand-logo,.drawer-logo,.footer-logo{height:24px;width:auto;object-fit:contain;object-position:center}
.brand-fallback{font-size:16px;font-weight:800;color:var(--title);letter-spacing:.04em}
.head-actions{display:flex;align-items:center;gap:8px}
.head-app,.menu-control,.drawer-close,.search-head button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:10px;font-size:14px}
.head-app{background:linear-gradient(135deg,var(--green),var(--green2));color:var(--surface);box-shadow:0 7px 16px rgba(42,138,114,.18)}
.menu-control,.drawer-close,.search-head button{background:var(--surface);border:1px solid var(--green);color:var(--title)}
.dot-nav{height:48px;background:var(--surface);border-bottom:1px solid var(--line)}
.dot-track{height:100%;display:flex;justify-content:center;align-items:center;gap:48px;position:relative}
.dot-link{min-width:72px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:13px;line-height:1.2;position:relative}
.dot-link.dot-3{transform:translateY(-4px)}
.dot-mark{display:block;width:10px;height:10px;border-radius:50%;background:var(--green2);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--line-strong)}
.dot-link.is-current{font-weight:800;color:var(--title)}
.dot-link.is-current .dot-mark{width:14px;height:14px;background:var(--green);box-shadow:0 0 0 3px var(--soft)}
.site-main{padding-top:calc(var(--head-h) + 28px);min-height:70vh}
h1,h2,h3{color:var(--title);margin-top:0;letter-spacing:.01em}
h1{font-size:24px;line-height:1.3;margin-bottom:12px}
h2{font-size:20px;line-height:1.4;margin-bottom:10px}
h3{font-size:16px;line-height:1.45;margin-bottom:6px}
p{margin:0 0 14px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-weight:800;font-size:13px;margin-bottom:10px}
.eyebrow:before{content:"";width:22px;height:2px;background:var(--gold);border-radius:2px}
.lead{font-size:16px;color:var(--muted);max-width:760px}
.page-hero{padding:34px 0 26px}
.page-hero .lead{margin-bottom:0}
.page-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:10px;font-size:14px;font-weight:700;border:1px solid transparent}
.btn-primary{color:var(--surface);background:linear-gradient(135deg,var(--green),var(--green2))}
.btn-secondary{color:var(--title);background:var(--surface);border-color:var(--green)}
a:hover,.text-control:hover,button:hover{filter:brightness(.98)}
a:focus-visible,button:focus-visible{outline:3px solid rgba(196,160,80,.55);outline-offset:2px}
.section{padding:28px 0}
.section-soft{background:var(--soft);border-block:1px solid var(--line)}
.section-deep{background:var(--deep)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}
.section-head p{max-width:620px;margin:0;color:var(--muted)}
.media-slot{display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:130px}
.media-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.media-slot:empty:after{content:"";display:block;width:34px;height:4px;border-radius:4px;background:rgba(42,138,114,.12)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.small-note{font-size:13px;color:var(--faint)}
.inline-link{color:var(--green);font-weight:800;border-bottom:1px solid rgba(42,138,114,.28)}

/* 首页 */
.home-indexes{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.home-indexes a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 13px;background:var(--surface);border:1px solid var(--line);border-radius:999px;color:var(--title)}
.home-indexes i{width:9px;height:9px;border-radius:50%;background:var(--green2);display:block}
.home-intro{padding:26px 0 32px}
.home-intro .intro-box{background:linear-gradient(180deg,rgba(244,250,248,.94),rgba(232,244,240,.78));border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:var(--shadow)}
.home-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.home-split .split-pane{padding:22px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.home-split .split-pane.visual{padding:0;overflow:hidden}
.home-split .split-pane.visual .media-slot{height:164px;border:0;border-radius:0;background:var(--surface)}
.vertical-records{display:grid;gap:14px;border-left:2px solid rgba(42,138,114,.28);padding-left:18px}
.record-item{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;position:relative}
.record-item:before{content:"";position:absolute;left:-25px;top:24px;width:10px;height:10px;border-radius:50%;background:var(--green)}
.record-item .mini-media{height:110px}
.record-item.no-media{grid-template-columns:1fr}
.clip-pair{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;align-items:stretch}
.clip-card{padding:20px;position:relative;overflow:hidden}
.clip-card:after{content:"";position:absolute;top:10px;right:14px;width:34px;height:10px;border:2px solid rgba(196,160,80,.45);border-bottom:0;border-radius:10px 10px 0 0;transform:rotate(4deg)}
.clip-card .media-slot{height:180px;margin-bottom:14px}
.shelf-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.shelf-card{padding:22px}
.shelf-card .media-slot{height:145px;margin:-2px -2px 16px}
.period-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.period-card{padding:18px;background:var(--surface);border-top:4px solid var(--green);border-radius:10px;border-inline:1px solid var(--line);border-bottom:1px solid var(--line)}
.period-media{height:160px;margin-bottom:16px}
.status-stack{display:grid;gap:10px}
.status-item{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px 18px}
.status-tag{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:999px;font-weight:800;background:var(--soft);color:var(--title)}
.status-media{height:145px;margin-bottom:16px}
.app-feature{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:var(--shadow)}
.app-copy-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.app-icon{width:48px;height:48px;min-width:48px;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line)}
.app-icon img{width:48px;height:48px;object-fit:contain}
.app-shot{height:300px}
.home-late{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.info-panel{padding:22px}
.faq-six{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.faq-mini{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.brand-block{padding:24px;border-radius:14px;background:var(--title);color:var(--surface)}
.brand-block h2,.brand-block h3{color:var(--surface)}
.brand-block p{color:#DCEEE8}

/* 内页通用与差异布局 */
.content-shell{padding-bottom:46px}
.prose-block{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:16px}
.prose-block p:last-child{margin-bottom:0}
.prose-block ul{margin:8px 0 0;padding-left:20px}
.prose-block li{margin:5px 0}

.vertical-page{display:grid;gap:16px;border-left:2px solid var(--line-strong);padding-left:22px}
.vertical-page article{padding:22px;position:relative}
.vertical-page article:before{content:"";position:absolute;left:-30px;top:28px;width:12px;height:12px;background:var(--green);border-radius:50%;border:2px solid var(--bg)}
.vertical-page .media-slot{height:230px;margin-bottom:16px}

.split-page{display:grid;gap:14px}
.split-row{display:grid;grid-template-columns:1fr 1fr;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.split-row>div{padding:22px;min-height:165px}
.split-row>div+div{border-left:1px solid var(--line)}
.split-row .media-slot{height:210px;border:0;border-radius:0;background:var(--surface)}

.clip-page{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.clip-page article{padding:22px;min-height:230px;position:relative}
.clip-page article:nth-child(odd){transform:rotate(-.3deg)}
.clip-page article:nth-child(even){transform:rotate(.3deg)}
.clip-page .media-slot{height:210px;margin-bottom:14px}

.single-page{max-width:760px;margin-inline:auto}
.single-step{padding:22px 0;border-bottom:1px solid var(--line)}
.single-step:first-child{border-top:1px solid var(--line)}
.single-step .media-slot{height:240px;margin:14px 0}

.period-page{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}
.period-page article{padding:22px;border-top:5px solid var(--green);min-height:310px}
.period-page .media-slot{height:170px;margin-bottom:14px}

.state-page{display:grid;gap:12px}
.state-line{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:start;padding:18px 20px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.state-line strong{display:inline-flex;justify-content:center;padding:7px 10px;border-radius:999px;background:var(--soft);color:var(--title)}
.state-page .media-slot{height:180px;margin-bottom:16px}

.check-page{display:grid;gap:14px}
.check-item{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.check-no{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--green);color:var(--surface);font-weight:900}
.check-page .media-slot{grid-column:1/-1;height:220px}

.method-page{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.method-card{padding:22px;min-height:240px}
.method-card:nth-child(2n){margin-top:24px}

.topic-list{display:grid;gap:12px}
.topic-entry{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.topic-entry strong{font-size:16px;color:var(--title)}

.center-cards{max-width:780px;margin:auto;display:grid;gap:16px}
.center-card{text-align:center;padding:24px 30px}
.center-card .media-slot{height:220px;margin-bottom:16px}

.app-page-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;align-items:start}
.app-page-layout .app-shot{height:320px;position:sticky;top:150px}

.term-list{display:grid;gap:14px}
.term-section{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.term-section h2{padding-bottom:8px;border-bottom:1px solid var(--line)}

.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.help-card{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px}

.faq-list{display:grid;gap:12px}
.faq-item{padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.faq-item h2{font-size:16px;margin-bottom:8px}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-item{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}

.about-banner{height:200px;margin-bottom:22px}
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.about-brand-image{height:280px}

/* 页脚 */
.site-footer{background:var(--title);color:var(--bg);border-top:1px solid rgba(244,250,248,.28);font-size:13px;padding:34px 0 calc(34px + env(safe-area-inset-bottom))}
.footer-inner{display:grid;gap:24px}
.footer-brand{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid rgba(244,250,248,.2)}
.footer-brand>div{display:flex;flex-direction:column;line-height:1.35}
.footer-brand strong{font-size:16px;color:var(--surface)}
.footer-brand span{color:#BFDCD3}
.footer-links{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.footer-links h2{font-size:13px;color:var(--surface);margin:0 0 8px}
.footer-links a{display:block;color:#D9ECE6;padding:3px 0}
.footer-note{margin:0;color:#D9ECE6;max-width:800px}
.footer-copy{margin:0;color:#BFDCD3}

/* 抽屉、搜索、遮罩 */
.site-drawer{position:fixed;z-index:90;left:0;top:20px;width:min(36vw,420px);max-height:calc(100vh - 40px);overflow:auto;background:var(--surface);box-shadow:20px 0 50px rgba(22,56,46,.18);border-radius:0 14px 14px 0;transform:translateX(-104%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease}
.site-drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.drawer-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--line)}
.drawer-brand{display:flex;align-items:center;gap:10px;font-weight:900;color:var(--title)}
.drawer-groups{padding:12px 16px 20px}
.drawer-groups section+section{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.drawer-groups h2{font-size:14px;margin-bottom:8px}
.drawer-groups a{display:grid;grid-template-columns:92px 1fr;gap:10px;min-height:44px;align-items:center;padding:7px 5px;border-radius:8px}
.drawer-groups a:hover{background:var(--soft)}
.drawer-groups strong{color:var(--title)}
.drawer-groups span{font-size:12px;color:var(--muted)}
.site-search{position:fixed;z-index:88;left:0;right:0;top:74px;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-10px);transition:.2s ease}
.site-search.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0)}
.search-card{width:min(720px,calc(100% - 32px));margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:var(--shadow);padding:20px}
.search-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.search-head strong{font-size:18px;color:var(--title)}
.search-head p{margin:3px 0 0;color:var(--muted)}
.search-options{display:flex;flex-wrap:wrap;gap:10px}
.search-options a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;background:var(--soft);border:1px solid var(--line);border-radius:10px;color:var(--title);font-weight:700}
.page-mask{position:fixed;z-index:80;inset:0;background:rgba(16,45,37,.35);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease}
.page-mask.is-active{opacity:1;visibility:visible;pointer-events:auto}
.mobile-bar{display:none}

@media (max-width:760px){
    :root{--head-h:74px}
    .shell{width:calc(100% - 32px)}
    .dot-nav{display:none}
    .site-main{padding-top:calc(var(--head-h) + 20px);padding-bottom:62px}
    .brand-row{height:54px}
    .brand-link{max-width:130px}
    .head-actions{gap:4px}
    .head-app,.menu-control{padding:0 10px}
    .section{padding:22px 0}
    .page-hero{padding:26px 0 20px}
    .section-head{display:block}
    .section-head p{margin-top:6px}
    .home-intro .intro-box{padding:22px}
    .home-split,.clip-pair,.shelf-pair,.app-feature,.home-late,.split-row,.clip-page,.period-page,.method-page,.help-grid,.contact-grid,.about-grid,.app-page-layout{grid-template-columns:1fr}
    .record-item{grid-template-columns:82px 1fr;gap:12px}
    .record-item .mini-media{height:82px}
    .period-row{grid-template-columns:1fr}
    .status-item,.state-line{grid-template-columns:1fr;gap:8px}
    .faq-six{grid-template-columns:1fr}
    .app-shot{height:280px}
    .split-row>div+div{border-left:0;border-top:1px solid var(--line)}
    .clip-page article,.method-card:nth-child(2n){transform:none;margin-top:0}
    .topic-entry{grid-template-columns:1fr;gap:8px}
    .app-page-layout .app-shot{position:static;height:300px}
    .footer-links{grid-template-columns:1fr 1fr}
    .site-drawer{top:0;width:82vw;max-width:360px;max-height:100vh;border-radius:0 14px 14px 0}
    .drawer-groups a{grid-template-columns:80px 1fr}
    .site-search{inset:0;top:0;background:var(--green);padding:16px;display:flex;align-items:flex-start}
    .site-search.is-open{transform:none}
    .search-card{width:100%;margin:0;background:transparent;border:0;box-shadow:none;color:var(--surface);padding:8px 0}
    .search-head strong,.search-head p{color:var(--surface)}
    .search-head button{background:transparent;border-color:rgba(244,250,248,.7);color:var(--surface)}
    .search-options{display:grid;grid-template-columns:1fr 1fr}
    .search-options a{background:var(--surface);color:var(--title)}
    .mobile-bar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(22,56,46,.08)}
    .mobile-bar a{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:13px;color:var(--title)}
    .mobile-bar a.is-current{background:var(--green);color:var(--surface);font-weight:800}
    .site-footer{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
}

@media (max-width:420px){
    .brand-strip .shell{width:calc(100% - 20px)}
    .head-app,.menu-control{font-size:13px;padding:0 8px}
    .home-indexes{gap:7px}
    .home-indexes a{padding:0 10px;font-size:13px}
    .footer-links{gap:14px}
}

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