*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#09070f;color:#f4f0fa;font:15px/1.7 system-ui,-apple-system,"Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button,a{transition:filter .18s,box-shadow .18s,background .18s}a:hover,button:hover{filter:brightness(1.08)}:focus-visible{outline:2px solid #a678e9;outline-offset:3px}.wrap{width:min(1080px,calc(100% - 32px));margin:auto}.topbar{height:22px;background:#06040a;position:fixed;top:0;left:0;right:0;z-index:40;font-size:12px}.topin{display:flex;align-items:center;justify-content:space-between;height:100%}.topbar button{background:none;border:0;color:#f4d781}.sitehead{position:fixed;top:22px;left:0;right:0;background:#151020;border-bottom:1px solid rgba(232,190,88,.24);z-index:40}.headin{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-size:16px;font-weight:800;white-space:nowrap;min-width:0}.logo{height:24px;max-width:160px;object-fit:contain}.head-actions{display:flex;gap:8px;align-items:center}.smallbtn,.menubtn,.btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid rgba(232,190,88,.35);color:white;background:#21152f;white-space:nowrap}.menubtn,.btn-primary{background:linear-gradient(135deg,#a678e9,#7544c8 60%,#492476);box-shadow:0 6px 16px rgba(117,68,200,.24)}.desktopnav{margin-top:76px;background:#100b19;border-bottom:1px solid rgba(166,120,233,.24)}.navin{display:flex;flex-wrap:wrap;gap:3px;padding:7px 0}.navin a{padding:7px 11px;border-radius:8px;font-size:14px}.selected{background:#492476!important;box-shadow:0 6px 16px rgba(117,68,200,.3);color:white}.maincontent{min-height:70vh;padding:30px 0 70px}h1{font-size:24px;line-height:1.3;margin:0 0 18px}h2{font-size:20px;margin:0 0 12px}h3{font-size:16px;margin:0 0 8px}p{margin:0 0 16px}.eyebrow{color:#f4d781;letter-spacing:.08em;font-size:13px}.hero{display:grid;grid-template-columns:1.4fr .8fr;gap:24px;align-items:center;padding:34px;border-radius:20px;background:radial-gradient(circle at 90% 20%,#492476,#151020 60%);border:1px solid rgba(232,190,88,.2)}.hero p{max-width:660px}.hero-art{min-height:180px;display:grid;place-items:center}.hero-art img{max-height:230px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.btn{background:#21152f}.btn-primary{border-color:#a678e9}.section{margin-top:34px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-heading a,.more{color:#f4d781}.feature-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.feature,.card,.article,.sidebox{background:#151020;border:1px solid rgba(232,190,88,.17);border-radius:14px;padding:22px}.feature:nth-child(2){background:#21152f}.image-slot{display:grid;place-items:center;background:#21152f;border-radius:14px;margin-bottom:14px}.image-slot:empty{display:none}.image-slot img{max-width:100%;height:auto;max-height:230px;object-fit:contain;object-position:center}.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.tile{padding:15px;border:1px solid rgba(166,120,233,.24);background:#251a35;border-radius:14px}.tile img{width:100%;max-height:110px;object-fit:contain}.tile h3{margin-top:8px}.duo{display:grid;grid-template-columns:1fr 1fr;gap:18px}.article{max-width:820px;margin:auto}.article.wide{max-width:none}.article p{line-height:1.9}.article h2{margin-top:24px;color:#fff}.article .image-slot img{max-height:280px}.article .banner img{max-height:200px}.two-col{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:20px}.sidebox a,.related a{display:inline-flex;padding:8px 12px;margin:5px;border-radius:9px;background:#251a35}.faq-item{border-bottom:1px solid rgba(166,120,233,.24);padding:16px 0}.faq-item h2{font-size:17px}.footer{background:#07050c;border-top:1px solid #492476;padding:35px 0 85px;font-size:13px;color:#f0eaf5}.footer-brand{display:flex;gap:16px;align-items:center;font-weight:700;font-size:17px}.footer-brand span{font-size:12px;color:#b6a7c6}.footer-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin:18px 0}.footer p{color:#d9d0e4}.mobilebar{display:none}.shade{position:fixed;inset:76px 0 0;background:rgba(0,0,0,.67);z-index:45}.shade[hidden]{display:none}.panel{position:fixed;right:max(16px,calc((100vw - 1080px)/2));top:82px;z-index:50;background:#151020;border:1px solid #7544c8;border-radius:16px;padding:18px;box-shadow:0 14px 36px rgba(0,0,0,.38);visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-10px);transition:opacity .18s,transform .18s,visibility .18s;overflow:auto;max-height:68vh}.panel.open{visibility:visible;pointer-events:auto;opacity:1;transform:none}.menu-panel{width:min(440px,calc(100vw - 32px))}.search-panel{width:min(500px,calc(100vw - 32px))}.paneltop{display:flex;align-items:center;justify-content:space-between;gap:12px}.paneltop small{display:block;font-size:11px;color:#d9d0e4}.paneltop button{background:#251a35;color:white;border:1px solid #7544c8;border-radius:9px;min-width:44px;min-height:44px}.panel h2{font-size:15px;color:#f4d781;margin:16px 0 8px}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.menu-grid a{background:#251a35;border-radius:10px;padding:10px}.menu-grid small{display:block;font-size:11px;color:#d9d0e4}.search-panel input{width:100%;padding:13px;border-radius:10px;background:#251a35;border:1px solid #a678e9;color:white;margin:12px 0}.search-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}.search-results a{padding:10px;border-radius:9px;background:#251a35}.search-results a[hidden]{display:none}.locked{overflow:hidden}@media(max-width:760px){.desktopnav{display:none}.maincontent{padding-top:105px;padding-bottom:80px}.hero{grid-template-columns:1fr;padding:23px}.hero-art{min-height:0}.feature-grid,.duo,.two-col{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.mobilebar{position:fixed;bottom:0;left:0;right:0;z-index:35;display:grid;grid-template-columns:repeat(4,1fr);padding:4px 8px calc(4px + env(safe-area-inset-bottom));background:#100b19;border-top:1px solid #7544c8}.mobilebar a{text-align:center;min-height:44px;display:grid;place-items:center;border-radius:10px}.footer{padding-bottom:105px}.panel{top:80px;right:16px;max-height:calc(100dvh - 100px)}.search-panel{inset:76px 0 0;width:100%;max-height:none;border-radius:0}.head-actions .smallbtn{padding:8px}.menu-grid{grid-template-columns:1fr 1fr}}@media(max-width:360px){.brand{font-size:14px}.menubtn{padding:7px}.tiles{grid-template-columns:1fr}}

/* Mobile layout and image safety corrections */
html,body{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
main,section,article,aside,.wrap,.container,.hero,.feature,.panel,.card,.tile,.media,.visual,.home-visual,.image-slot,.section,.home-section,.hero-art,.hero-visual,.app-visual,.app-media{min-width:0;max-width:100%}
main *,section *,article *{overflow-wrap:break-word}
img{display:block;max-width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important;flex-shrink:1}
img[src$="mianfeikanpian-icon.webp"]{width:48px!important;height:48px!important;min-width:0!important;max-width:48px!important;max-height:48px!important;flex:none!important;object-fit:contain!important}
img[src$="mianfeikanpian-logo.webp"]{width:auto!important;height:24px!important;max-height:24px!important;max-width:155px!important}
img[src$="mianfeikanpian.webp"]{width:100%!important;max-width:500px!important;max-height:220px!important;margin-left:auto;margin-right:auto;object-fit:contain!important}
img[src$="mianfeikanpian-app.webp"]{width:100%!important;max-width:240px!important;max-height:320px!important;margin-left:auto;margin-right:auto;object-fit:contain!important}
img[src$="mianfeikanpian-banner.webp"]{width:100%!important;max-height:200px!important;object-fit:contain!important}
img[src$="mianfeikanpian-xin.webp"],img[src$="mianfeikanpian-re.webp"],img[src$="mianfeikanpian-wenhua.webp"],img[src$="mianfeikanpian-nvyanyuan.webp"],img[src$="mianfeikanpian-rukou.webp"],img[src$="mianfeikanpian-dianying.webp"],img[src$="mianfeikanpian-dianshiju.webp"],img[src$="mianfeikanpian-zongyi.webp"],img[src$="mianfeikanpian-dongman.webp"],img[src$="mianfeikanpian-duanju.webp"]{width:100%!important;max-height:225px!important;object-fit:contain!important}
.hero,.feature,.home-section,.split,.duo,.section,.section-card{align-items:center}
.hero>*,.feature>*,.home-section>*,.split>*,.duo>*,.section>*,.section-card>*{min-width:0}
@media(max-width:760px){
.hero,.feature,.feature.reverse,.home-section,.home-section.reverse,.split,.duo,.section.duo,.article-layout{grid-template-columns:minmax(0,1fr)!important}
.hero,.feature,.home-section,.section-card,.panel{max-width:100%;min-width:0}
.hero img,.feature img,.home-section img,.section-card img{max-height:220px!important}
.hero>*,.feature>*,.home-section>*,.split>*{width:auto;min-width:0;max-width:100%}
.feature.reverse .media,.home-section.reverse .home-visual{order:initial}
body{overflow-x:clip}
}
@media(max-width:390px){.brand,.header-actions,.brand-actions{min-width:0}.brand img{max-width:110px!important}.header-actions,.brand-actions{gap:4px}}
