*{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;padding-top:116px}body.locked{overflow:hidden}a{color:#f4d781;text-decoration:none}a:hover{color:white}button,input{font:inherit}button{cursor:pointer}button,a{transition:background .18s,box-shadow .18s,filter .18s}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #a678e9;outline-offset:3px}.wrap{width:min(1080px,calc(100% - 32px));margin-inline:auto}h1,h2,h3,p{margin-top:0}h1{font-size:24px;line-height:1.3;color:white}h2{font-size:20px;line-height:1.4;color:white}h3{font-size:16px;color:white}p{color:#d9d0e4}img{display:block;max-width:100%;height:auto;object-fit:contain;object-position:center}.topline{height:24px;position:fixed;top:0;left:0;right:0;background:#06040a;z-index:40;font-size:12px}.topline .wrap{display:flex;align-items:center;justify-content:space-between;height:100%}.text-button{border:0;background:none;color:#f4f0fa;padding:0 12px}.site-header{position:fixed;top:24px;left:0;right:0;height:54px;background:#151020;border-bottom:1px solid #7544c8;z-index:40}.header-row{display:flex;align-items:center;justify-content:space-between;height:100%}.brand{display:flex;align-items:center;min-width:0;color:white;font-size:16px}.brand img,.footer-brand img{max-height:24px;width:auto;max-width:190px;object-fit:contain}.header-actions{display:flex;gap:10px;align-items:center}.app-link,.menu-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #75528d;border-radius:10px;padding:0 13px;color:white;background:#21152f}.menu-button{gap:8px}.desktop-nav{position:fixed;top:78px;left:0;right:0;z-index:39;background:#100b19;border-bottom:1px solid rgba(232,190,88,.17)}.nav-row{min-height:38px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px}.nav-row a{padding:6px 12px;border-radius:8px;color:#f4f0fa;font-size:13px}.nav-row a[aria-current],.mobile-bottom a[aria-current]{background:linear-gradient(135deg,#7544c8,#492476);box-shadow:0 6px 16px rgba(117,68,200,.24);color:white}.nav-row a:hover,.panel-links a:hover{background:#492476}.eyebrow{color:#f4d781;font-size:12px;letter-spacing:.1em}.lead{font-size:17px;max-width:750px}.page-heading{padding:44px 0 22px;border-bottom:1px solid rgba(166,120,233,.24)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:28px;padding:24px 0 72px}.article{min-width:0}.article .visual{margin:0 0 28px;max-height:310px}.visual img{width:100%;max-height:300px;object-fit:contain}.article .banner img{max-height:200px}.prose{padding:20px 0;border-bottom:1px solid rgba(166,120,233,.16)}.prose p{max-width:820px}.aside{align-self:start;position:sticky;top:135px;background:#151020;padding:20px;border-radius:14px}.aside-links{display:grid;gap:6px}.aside-links a{display:block;padding:9px 0;border-bottom:1px solid #382648}.aside-links span{display:block;font-size:12px;color:#b6a7c6}.link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.link-grid a{background:#21152f;border:1px solid #49305e;border-radius:12px;padding:16px;min-width:0}.link-grid span{display:block;font-size:12px;color:#b6a7c6}.hero{padding:58px 0 48px;display:grid;grid-template-columns:1.3fr 1fr;gap:35px;align-items:center}.hero h1{font-size:32px}.en{letter-spacing:.13em;color:#e8be58}.hero-copy p{max-width:600px}.hero-art img{max-height:260px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border-radius:11px;color:white;font-size:14px}.primary{background:linear-gradient(135deg,#a678e9,#7544c8 60%,#492476);box-shadow:0 6px 16px rgba(117,68,200,.24)}.secondary{background:#21152f;border:1px solid #9d7a4a}.btn:hover{filter:brightness(1.08);box-shadow:0 0 0 3px rgba(166,120,233,.3)}.feature-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature,.editorial,.category,.faq-teasers>div{border:1px solid rgba(232,190,88,.17);background:#151020;border-radius:14px;padding:20px}.feature .visual img{max-height:180px}.home-section{padding:56px 0}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.category{color:white;padding:12px;min-width:0}.category .visual{margin:0 0 12px}.category img{height:112px;width:100%}.category strong,.category span{display:block}.category span{font-size:12px;color:#b6a7c6}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px 0 48px}.editorial{display:flex;gap:18px;align-items:center}.editorial:first-child{grid-column:1/-1}.editorial .visual{width:38%;flex:none}.editorial img{max-height:190px}.service-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px;background:#21152f;border-radius:14px}.service-strip .visual{max-width:240px}.service-strip img{max-height:260px}.text-link{display:inline-block;margin:12px}.faq-teasers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.about-teaser{padding:30px 0 70px}.faq-list{padding:25px 0 75px;max-width:900px}.faq-list details{background:#151020;border:1px solid #49305e;border-radius:12px;padding:14px 20px;margin-bottom:12px}.faq-list summary{cursor:pointer;font-weight:700;color:white}.faq-list p{margin:12px 0 0}.steps li{padding:8px 0}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:50}.overlay[hidden]{display:none}.panel{position:fixed;z-index:51;background:#21152f;border:1px solid #7544c8;border-radius:14px;padding:20px;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .18s;box-shadow:0 14px 36px rgba(0,0,0,.38)}.panel.visible{visibility:visible;pointer-events:auto;opacity:1}.menu-panel{top:83px;right:max(16px,calc((100vw - 1080px)/2));width:min(440px,calc(100vw - 32px));max-height:68vh;overflow-y:auto}.search-panel{top:83px;right:max(16px,calc((100vw - 1080px)/2));width:min(510px,calc(100vw - 32px))}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head small{display:block;font-size:11px;color:#d9d0e4}.panel-head button{min-width:44px;min-height:44px;border:1px solid #7544c8;border-radius:8px;background:#151020;color:white}.panel h2{font-size:16px;margin:18px 0 8px}.panel-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.panel-links a{padding:10px;border-radius:8px;background:#151020;color:white}.panel-links small{display:block;color:#b6a7c6;font-size:11px}.search-panel label{display:block;margin:18px 0 8px}.search-panel input{width:100%;min-height:44px;border:1px solid #a678e9;border-radius:9px;background:#09070f;color:white;padding:10px}.search-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:45vh;overflow-y:auto;margin-top:15px}.search-results a{padding:9px;background:#151020;border-radius:8px}.search-results a[hidden]{display:none}.site-footer{background:#07050c;border-top:1px solid #7544c8;padding:44px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-grid a{display:block;color:#f0eaf5;font-size:13px;margin:6px 0}.footer-grid h2{font-size:16px}.footer-grid p{font-size:13px}.copyright{border-top:1px solid #342346;margin-top:25px;padding-top:15px;font-size:12px;color:#b6a7c6}.mobile-bottom{display:none}.small-icon img{width:48px;height:48px}.app-visual img{max-height:320px;max-width:240px}@media(max-width:800px){body{padding-top:78px;padding-bottom:calc(62px + env(safe-area-inset-bottom))}.desktop-nav{display:none}.hero{grid-template-columns:1fr;padding:36px 0}.hero-art img{max-height:210px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:1fr}.aside{position:static}.mobile-bottom{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:39;min-height:52px;padding-bottom:env(safe-area-inset-bottom);background:#151020;border-top:1px solid #7544c8}.mobile-bottom a{display:flex;align-items:center;justify-content:center;color:white;min-height:48px;font-size:13px}.menu-panel{top:84px;max-height:calc(100dvh - 155px)}.search-panel{top:0;left:0;right:0;width:100%;height:100dvh;border-radius:0;max-height:none;overflow:auto}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}@media(max-width:520px){.wrap{width:calc(100% - 32px)}.brand img{max-width:130px}.header-actions{gap:5px}.app-link,.menu-button{padding:0 9px;font-size:12px}.feature-pair,.editorial-grid,.faq-teasers,.link-grid{grid-template-columns:1fr}.editorial:first-child{grid-column:auto}.editorial{display:block}.editorial .visual{width:100%}.service-strip{display:block}.service-strip .visual{margin:auto}.panel-links{grid-template-columns:1fr 1fr}.hero h1{font-size:26px}.footer-grid{gap:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}

/* 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}}

/* 2026-10-13 patch: fix shifted figures and mobile editorial images */
figure{margin:0}
.hero-art,.visual,.app-visual{margin:0;max-width:100%}
.feature,.editorial,.category,.service-strip,.faq-teasers>div{overflow:hidden}
.visual img,.hero-art img,.app-visual img{display:block;margin-left:auto;margin-right:auto}
.editorial{align-items:flex-start}
.editorial .visual{margin:0;flex:none;min-width:0}
.editorial img{width:100%;height:auto;object-fit:contain}
.service-strip .app-visual{display:flex;justify-content:center;align-items:center}
@media(max-width:520px){
  .editorial{display:block;padding:20px}
  .editorial .visual{width:100%;margin:0 0 14px}
  .editorial img{width:100%;max-width:100%;max-height:220px!important}
  .feature .visual,.category .visual{margin:0 0 12px}
  .service-strip{padding:20px}
}
