
:root{
    --bg:#FFF8F5;
    --deep:#F4E4E0;
    --surface:#FFFFFF;
    --soft:#F8EBE8;
    --title:#2C1414;
    --text:#4A2828;
    --muted:#7A5050;
    --faint:#A07A7A;
    --brand:#C42B2B;
    --bright:#E24A4A;
    --dark:#8A1C1C;
    --gold:#C4844A;
    --ink:#2C1414;
    --border:rgba(196,43,43,.16);
    --shadow:0 12px 28px rgba(44,20,20,.08);
    --glow:0 6px 16px rgba(196,43,43,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img{display:block;max-width:100%;object-fit:contain;object-position:center}
button{cursor:pointer}
.skip-link{position:fixed;left:16px;top:-80px;z-index:1000;background:var(--surface);color:var(--dark);padding:8px 12px;border-radius:8px}
.skip-link:focus{top:8px}
.topline{position:fixed;z-index:90;top:0;left:0;right:0;height:18px;background:var(--dark);color:#fff;font-size:12px}
.topline-inner,.site-header-inner,.bead-nav-inner,.footer-inner,.page-shell{max-width:960px;margin:0 auto}
.topline-inner{height:18px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.text-button{position:relative;border:0;background:transparent;color:#fff;padding:0;min-width:44px;height:18px}.text-button:after{content:"";position:absolute;left:0;right:0;top:-13px;bottom:-13px}
.site-header{position:fixed;z-index:89;top:18px;left:0;right:0;height:54px;background:#fff;border-bottom:1px solid var(--border)}
.site-header-inner{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.brand-link{display:inline-flex;align-items:center;min-height:44px;max-width:180px}
.brand-link img,.drawer-brand img,.footer-brand img{height:24px;width:auto;max-width:150px;object-fit:contain}
.brand-fallback{font-size:16px;font-weight:800;color:var(--title)}
.header-actions{display:flex;align-items:center;gap:8px}
.header-app,.drawer-button{height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:0 14px;font-size:14px}
.header-app{background:linear-gradient(135deg,#E24A4A 0%,#C42B2B 52%,#8A1C1C 100%);color:#fff;box-shadow:var(--glow);transition:180ms}
.drawer-button{border:1px solid var(--border);background:#fff;color:var(--dark);min-width:64px}
.bead-nav{position:fixed;z-index:88;top:72px;left:0;right:0;height:44px;background:var(--soft);border-bottom:1px solid var(--border)}
.bead-nav-inner{height:44px;display:flex;align-items:center;gap:26px;padding:0 16px}
.shared-bead{width:16px;height:16px;border:2px solid var(--brand);border-radius:50%;background:#fff;flex:0 0 16px}.bead-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border-radius:10px;color:var(--title);font-size:13px;border:1px solid var(--brand)}
.bead-dot{width:16px;height:16px;border:2px solid var(--brand);border-radius:50%;background:transparent}
.bead-link.is-current{background:var(--dark);color:#fff;box-shadow:var(--glow)}

.site-main{min-height:70vh;padding:140px 0 48px}
.page-shell{padding:0 16px}
.breadcrumb{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:13px;margin:0 0 16px}
.breadcrumb a{color:var(--dark)}
h1,h2,h3{color:var(--title);margin-top:0}
h1{font-size:24px;line-height:1.3;margin-bottom:14px}
h2{font-size:20px;line-height:1.4;margin-bottom:12px}
h3{font-size:16px;line-height:1.5;margin-bottom:8px}
p{margin:0 0 14px}
.lead{font-size:16px;color:var(--title)}
.eyebrow{font-size:13px;color:var(--dark);font-weight:800;letter-spacing:.04em;margin-bottom:10px}
.section{margin:0 0 26px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:20px}
.soft-card{background:var(--soft);border:1px solid var(--border);border-radius:12px;padding:18px}
.primary-button,.secondary-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:10px;font-size:14px;transition:180ms}
.primary-button{background:linear-gradient(135deg,#E24A4A 0%,#C42B2B 52%,#8A1C1C 100%);color:#fff;box-shadow:var(--glow)}
.secondary-button{background:#fff;color:var(--dark);border:1px solid var(--border)}
.primary-button:hover,.header-app:hover,.bead-link.is-current:hover,.mobile-bottom .is-current:hover{filter:brightness(1.05);box-shadow:0 0 0 3px rgba(226,74,74,.28),0 10px 24px rgba(138,28,28,.28)}
.primary-button:active,.header-app:active,.bead-link.is-current:active,.mobile-bottom .is-current:active{filter:brightness(1.08);box-shadow:0 0 0 4px rgba(196,132,74,.40),0 0 22px rgba(226,74,74,.50)}
a:focus-visible,button:focus-visible{outline:2px solid #E24A4A;outline-offset:2px}
.image-slot{background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.image-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.image-160{height:160px}
.image-168{height:168px}
.image-176{height:176px}
.image-200{height:200px}
.image-app{height:320px;width:240px;max-width:100%;margin:0 auto}
.image-circle{width:240px;height:176px;border-radius:50%}
.icon-48{width:48px;height:48px}
.tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(196,132,74,.12);color:var(--dark);font-size:13px;font-weight:700}
.status{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--ink);color:#fff;font-size:13px}
.home-lead{background:linear-gradient(180deg,#fff,var(--soft));border:1px solid var(--border);border-radius:16px;padding:24px;margin-bottom:28px}
.home-index{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.home-index .bead-dot{flex:0 0 16px}
.home-lead .lead{max-width:760px}
.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.circle-slice{display:grid;grid-template-columns:minmax(0,240px) 1fr;gap:22px;align-items:center}
.double-news{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.double-news article{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.bead-pages{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bead-pages article{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px}
.bead-pages article:before{content:"";position:absolute;left:14px;top:14px;width:12px;height:12px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px rgba(196,43,43,.10)}
.bead-pages article h3{padding-left:22px}
.single-strip{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:18px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.topic-lines{display:grid;gap:10px}
.topic-line{padding:12px 14px;border-left:3px solid var(--gold);background:var(--soft);border-radius:0 10px 10px 0}
.app-wrap{display:flex;flex-direction:column;gap:24px;align-items:stretch;background:var(--deep);border-radius:16px;padding:22px}.app-wrap .app-visuals{margin-top:4px}
.app-visuals{display:flex;flex-direction:column;gap:12px;align-items:center}
.home-tail{display:grid;grid-template-columns:1fr;gap:18px}
.faq-mini{display:grid;gap:12px}
.faq-mini details,.faq-list details{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px 16px}
summary{cursor:pointer;color:var(--title);font-weight:700}
.faq-list details p{margin-top:10px}
.double-wen-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:20px}
.double-wen-layout .stack{display:grid;gap:16px}
.beed-index-list,.bead-index-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bead-index-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;position:relative}
.bead-index-item:before{content:"";width:14px;height:14px;border-radius:50%;background:var(--brand);display:block;margin-bottom:12px}
.bead-cut-layout{display:grid;grid-template-columns:250px 1fr;gap:24px;align-items:start}
.cut-rail{position:sticky;top:136px;background:var(--soft);border:1px solid var(--border);border-radius:12px;padding:16px}
.cut-rail a{display:block;padding:10px 0;border-bottom:1px solid var(--border)}
.cut-body{display:grid;gap:16px}
.bead-page-layout{display:grid;gap:16px}
.bead-page-layout article{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;display:grid;grid-template-columns:34px 1fr;gap:14px}
.bead-page-layout .page-bead{width:18px;height:18px;border-radius:50%;background:var(--brand);margin-top:4px;box-shadow:0 0 0 7px rgba(196,43,43,.08)}
.status-track{display:grid;gap:0}
.status-item{display:grid;grid-template-columns:140px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid var(--border)}
.status-item:last-child{border-bottom:0}
.editorial-longform{max-width:780px}
.editorial-longform .editor-note{border-left:4px solid var(--gold);padding:14px 16px;background:#fff;border-radius:0 12px 12px 0;margin-bottom:20px}
.topic-directory{display:grid;gap:16px}
.topic-directory article{display:grid;grid-template-columns:180px 1fr;gap:18px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.scene-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.scene-notes article{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.letters-page{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}
.wrap-bead-page{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px}
.wrap-bead-body{display:grid;grid-template-columns:1fr 260px;gap:22px;align-items:start}
.policy-page{display:grid;gap:16px}
.policy-page section{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}
.steps{counter-reset:step;display:grid;gap:14px}
.steps article{counter-increment:step;background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}
.steps article h2:before{content:counter(step) ". ";color:var(--brand)}
.about-banner{margin-bottom:20px}
.brand-panel{display:grid;grid-template-columns:220px 1fr;gap:22px;align-items:center}
.site-footer{background:var(--ink);color:#F8EBE8;border-top:1px solid var(--brand);font-size:13px}
.footer-inner{padding:28px 16px 72px}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.footer-brand strong{display:block;font-size:16px;color:#fff}
.footer-brand span{display:block;color:#E8CFCB;font-size:12px}
.footer-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.footer-groups h2{font-size:14px;color:#fff;margin-bottom:8px}
.footer-groups a{display:block;color:#F8EBE8;padding:3px 0}
.footer-note{border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:14px;color:#E8CFCB}
.copyright{color:#D7BDB8;margin-bottom:0}
.page-overlay{position:fixed;z-index:120;inset:0;background:rgba(44,20,20,.36);opacity:0;visibility:hidden;pointer-events:none;transition:180ms}
.page-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.site-drawer{position:fixed;z-index:130;left:0;right:0;top:0;width:100%;max-height:180px;background:#fff;border-bottom:1px solid var(--border);box-shadow:var(--shadow);transform:translateY(-110%);visibility:hidden;pointer-events:none;transition:180ms;overflow:auto}
.site-drawer.is-open{transform:translateY(0);visibility:visible;pointer-events:auto}
.drawer-top{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--border)}
.drawer-brand{display:flex;align-items:center;gap:10px}
.close-button{min-width:52px;min-height:44px;border:1px solid var(--border);background:#fff;color:var(--dark);border-radius:10px}
.drawer-groups{display:grid;grid-template-columns:1.1fr 1fr 1.4fr;gap:16px;padding:10px 16px 14px;max-width:1200px;margin:0 auto}
.drawer-groups section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.drawer-groups h2{grid-column:1/-1;font-size:13px;margin:0;color:var(--dark)}
.drawer-groups a{min-height:44px;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:baseline;padding:3px 0}
.drawer-groups a strong{font-size:12px;white-space:nowrap;color:var(--title)}
.drawer-groups a span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-search{position:fixed;z-index:132;top:72px;left:0;right:0;visibility:hidden;pointer-events:none;opacity:0;transition:180ms}
.site-search.is-open{visibility:visible;pointer-events:auto;opacity:1}
.search-card{max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:0 0 14px 14px;padding:18px}
.search-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.search-head strong{font-size:18px;color:var(--title)}
.search-head p{margin:2px 0 0;color:var(--muted)}
.search-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.search-presets a{min-height:44px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--border);border-radius:999px;color:var(--dark);background:var(--soft)}
.mobile-bottom{display:none}
.ui-locked{overflow:hidden}
.meta-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.note-box{background:var(--deep);border-radius:12px;padding:16px;border:1px solid var(--border)}
.link-row{display:flex;flex-wrap:wrap;gap:10px}
.link-row a{min-height:44px;display:inline-flex;align-items:center;padding:0 14px;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--dark)}
hr{border:0;border-top:1px solid var(--border);margin:22px 0}
@media (max-width:760px){
    .bead-nav{display:none}
    .site-main{padding-top:96px;padding-bottom:72px}
    .page-shell{padding:0 16px}
    .circle-slice,.single-strip,.app-wrap,.double-wen-layout,.bead-cut-layout,.letters-page,.wrap-bead-body,.brand-panel{grid-template-columns:1fr}
    .double-news,.bead-pages,.scene-notes,.footer-groups{grid-template-columns:1fr}
    .topic-directory article{grid-template-columns:1fr}
    .image-circle{margin:0 auto}
    .cut-rail{position:static;display:flex;gap:8px;overflow-x:auto}
    .cut-rail a{white-space:nowrap;border:1px solid var(--border);border-radius:999px;padding:8px 12px}
    .status-item{grid-template-columns:1fr;gap:8px}
    .site-drawer{max-height:62vh}
    .drawer-groups{grid-template-columns:1fr;padding:12px 16px 18px}
    .drawer-groups section{grid-template-columns:1fr}
    .drawer-groups a{grid-template-columns:118px 1fr}
    .site-search{top:0;bottom:0;background:var(--dark);padding:18px 16px;display:flex;align-items:flex-start}
    .search-card{width:100%;max-width:none;margin:0;background:var(--dark);color:#fff;border-color:rgba(255,255,255,.2);border-radius:14px}
    .search-head strong,.search-head p{color:#fff}
    .search-card .close-button{background:#fff}
    .search-presets a{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
    .mobile-bottom{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:80;left:0;right:0;bottom:0;height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--border)}
    .mobile-bottom a{display:flex;align-items:center;justify-content:center;min-height:48px;color:var(--text);font-size:13px}
    .mobile-bottom .is-current{background:var(--dark);color:#fff;box-shadow:var(--glow)}
    .footer-inner{padding-bottom:88px}
    .topline-inner,.site-header-inner{padding-left:16px;padding-right:16px}
}
@media (max-width:420px){
    .header-app,.drawer-button{padding:0 11px}
    .home-lead,.card,.wrap-bead-page{padding:18px}
    .bead-index-list{grid-template-columns:1fr}
}
