/* 知心忘忧 H5 · 全页面响应式样式（手机 + 电脑） */
:root{--pink:#e091b3;--pink-deep:#c46a9a;--ink:#4a3540;--muted:#a3939c;--line:#f7edf2;--bg:#fff7fa;--card:#fff;--shadow:0 6px 20px rgba(224,145,179,.08)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{background:#f2eef1;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.6}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:0}
a{color:inherit;text-decoration:none}
.app{max-width:520px;margin:0 auto;background:var(--bg);min-height:100vh;position:relative;overflow:hidden}
@media(min-width:768px){.app{max-width:760px;box-shadow:0 0 60px rgba(120,80,100,.12)}}

/* 顶部导航 */
.navbar{position:sticky;top:0;z-index:40;height:52px;background:#FDF9F8;color:#3A3436;display:flex;align-items:center;padding:0 12px;gap:8px;border-bottom:1px solid rgba(198,146,155,.12)}
.navbar .nav-back{width:40px;height:40px;display:flex;align-items:center;font-size:34px;font-weight:300;background:none;color:#3A3436;line-height:1;flex:none;cursor:pointer;margin-left:-6px}
.navbar .nav-back:active{color:var(--pink-deep)}
.navbar .nav-title{flex:1;text-align:center;font-size:16px;font-weight:700;color:#3A3436;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navbar .nav-slot{width:40px;flex:none}
.navbar.brand{padding:14px 16px;height:auto;display:block}
.navbar.brand .brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.navbar.brand .brand{display:flex;align-items:center;gap:10px}
.navbar.brand .brand-mark{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:700}
.navbar.brand .brand-name{font-size:23px;font-weight:700;letter-spacing:1px}
.navbar.brand .slogan{font-size:11px;opacity:.9}
.navbar.brand .search-bar{margin-top:14px;background:#fff;border-radius:999px;padding:11px 16px;display:flex;align-items:center;gap:9px;color:#bcaeb6;font-size:13px;box-shadow:0 6px 16px rgba(160,70,110,.12);cursor:pointer}

/* 页面容器 */
.page{padding:16px;min-height:calc(100vh - 52px);padding-bottom:80px}
.section{margin:22px 0 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}
.section-title{font-size:18px;font-weight:700;color:var(--ink)}
.section-sub{display:block;margin-top:3px;font-size:12px;color:var(--muted);font-weight:400}
.section-more{font-size:12px;color:var(--pink)}
.hint{color:var(--muted);font-size:12px}
.empty{color:var(--muted);font-size:13px;text-align:center;padding:36px 0}

/* 轮播 */
.banner{height:164px;border-radius:18px;overflow:hidden;position:relative;box-shadow:0 12px 28px rgba(194,85,129,.18);background:#f6dce7}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .55s;pointer-events:none}
.slide.on{opacity:1;pointer-events:auto}
.slide img{width:100%;height:100%;object-fit:cover}
.slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.75),rgba(255,255,255,.1))}
.banner-text{position:absolute;z-index:2;left:20px;top:50%;transform:translateY(-50%);max-width:72%}
.banner-title{display:block;font-size:18px;font-weight:700;color:#6b3b5a;text-shadow:0 1px 8px rgba(255,255,255,.8)}
.banner-desc{display:block;margin-top:6px;font-size:12px;color:#8b5a78}
.dots{position:absolute;z-index:3;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:6px}
.dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer}
.dot.on{background:#fff;width:16px;border-radius:4px}

/* 首页运营横幅（后台 cms_home_banners，与小程序同图同链接） */
.home-promo-web{position:relative;width:100%;aspect-ratio:2.8/1;margin:14px 0 0;border-radius:18px;overflow:hidden;cursor:pointer;background:#f7f0e5;box-shadow:0 12px 28px rgba(194,85,129,.14)}
.home-promo-web img{width:100%;height:100%;display:block;object-fit:cover}
.home-promo-web.with-text:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(74,59,64,0) 42%,rgba(74,59,64,.34) 100%)}
.home-promo-web-text{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;display:flex;flex-direction:column}
.home-promo-web-title{font-size:17px;font-weight:700;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.18)}
.home-promo-web-desc{margin-top:5px;font-size:12px;color:rgba(255,255,255,.9);text-shadow:0 2px 6px rgba(0,0,0,.16)}

/* 功能入口 */
.entry-grid{margin:16px 0 0;padding:16px 4px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}
.entry-row{display:flex;justify-content:space-around}
.entry-row+.entry-row{margin-top:14px}
.entry-item{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;cursor:pointer}
.entry-icon{width:48px;height:48px;border-radius:14px}
.entry-label{font-size:12px;color:#5c4750}

/* 课程卡片 */
.hscroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.course-card{flex:0 0 172px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);cursor:pointer}
.course-cover{height:124px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.course-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.course-emoji{font-size:54px;z-index:1;filter:drop-shadow(0 6px 10px rgba(0,0,0,.15))}
.course-price{position:absolute;z-index:2;right:10px;bottom:10px;background:rgba(255,255,255,.94);color:#c96a90;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:700}
.course-body{padding:12px}
.course-title{font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.course-meta{margin-top:6px;font-size:11px;color:var(--muted)}

/* 列表行 */
.list-row{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:12px;margin-bottom:10px;box-shadow:var(--shadow);cursor:pointer}
.thumb{width:54px;height:54px;flex:none;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff;overflow:hidden}
.thumb img{width:100%;height:100%;object-fit:cover}
.round{border-radius:50%;border:2px solid #fff}
.row-main{flex:1;min-width:0}
.row-title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-sub{margin-top:4px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-extra{font-size:11px;color:var(--pink);flex:none}
.row-arrow{color:#cbb9c3;font-size:20px;flex:none}

/* 分类筛选 */
.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:12px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;padding:7px 15px;border-radius:999px;background:#fff;color:#8a7480;font-size:13px;box-shadow:var(--shadow)}
.tab.on{background:linear-gradient(135deg,#e091b3,#c46a9a);color:#fff}
.subtabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:12px;scrollbar-width:none}
.subtabs::-webkit-scrollbar{display:none}
.subtab{flex:none;padding:5px 12px;border-radius:999px;background:#fdeaf2;color:#b06d92;font-size:12px}
.subtab.on{background:#c46a9a;color:#fff}

/* 卡片通用 */
.card{background:#fff;border-radius:16px;padding:16px;box-shadow:var(--shadow);margin-bottom:12px}
.card h3{margin:0 0 8px;font-size:16px}
.muted{color:var(--muted)}
.big-emoji{font-size:44px;text-align:center;padding:10px}
.btn,.primary-btn{display:block;width:100%;border-radius:999px;background:linear-gradient(135deg,#e091b3,#c46a9a);color:#fff;font-size:15px;font-weight:600;padding:13px;text-align:center;margin-top:14px}
.btn-ghost{display:block;width:100%;border-radius:999px;background:#fff;color:var(--pink-deep);border:1px solid #f0c5d7;font-size:14px;padding:12px;text-align:center;margin-top:10px}
.tag{display:inline-block;background:#fde8f0;color:#c46a9a;border-radius:999px;padding:3px 10px;font-size:11px;margin:0 6px 6px 0}

/* 详情头图 / 播放器 */
.hero{margin:-16px -16px 16px;border-radius:0 0 20px 20px;overflow:hidden;min-height:180px;display:flex;align-items:center;justify-content:center;position:relative}
.hero img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero .emoji{font-size:64px;z-index:1}
.hero-video{width:100%;aspect-ratio:16/9;background:#000;display:block}
/* 课程详情封面区：与小程序一致，有视频铺满播放器，无视频显示封面/emoji */
.course-hero{height:210px;min-height:0;border-radius:0 0 20px 20px}
.course-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#1d141a;z-index:2}
.course-hero img{width:100%;height:100%;object-fit:cover;z-index:0}
.course-hero .emoji{font-size:96px;z-index:1;filter:drop-shadow(0 8px 14px rgba(0,0,0,.16))}
@media(min-width:768px){.course-hero{height:280px}}
.detail-title{font-size:20px;font-weight:700;line-height:1.4}
.detail-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.detail-price{color:#c46a9a;font-size:20px;font-weight:700}
.block-title{font-size:15px;font-weight:700;margin:18px 0 8px;padding-left:10px;border-left:3px solid var(--pink)}
.intro-text{color:#6e5c66;font-size:13px;white-space:pre-wrap}

/* 课程目录（可点） */
.course-video{width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#2b1f27,#4a3540);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;flex-direction:column;gap:6px;margin-bottom:10px;overflow:hidden}
.course-video video{width:100%;height:100%;object-fit:contain}
.course-video img{width:100%;height:100%;object-fit:cover}
.now-playing{padding:9px 12px;background:#fdf0f5;border-radius:9px;font-size:12px;color:#c46a9a;font-weight:600;margin-bottom:12px}
.lesson{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:11px 8px;border-bottom:1px solid var(--line);font-size:13px;border-radius:8px;cursor:pointer}
.lesson:hover{background:#fdf5f8}
.lesson.active{background:#fde8f0}
.lesson .lx-name{flex:1;display:flex;align-items:center;gap:8px;min-width:0}
.lesson .lx-ico{width:24px;height:24px;flex:none;border-radius:50%;background:#f3d7e3;color:#c46a9a;display:flex;align-items:center;justify-content:center;font-size:11px}
.lesson.active .lx-ico{background:#c46a9a;color:#fff}
.lesson.active .lx-name{color:#c46a9a;font-weight:600}
.lesson .lx-dur{color:var(--muted);font-size:11px;flex:none}
.lesson.empty{cursor:default;color:var(--muted)}
.lesson.empty .lx-ico{background:#f4f0f2;color:#c9bfc5}

/* 底部 tabBar */
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;background:#fff;display:flex;border-top:1px solid #f6e9ef;z-index:35;padding:6px 0 env(safe-area-inset-bottom)}
@media(min-width:768px){.tabbar{max-width:760px}}
.tabbar .tb{flex:1;text-align:center;font-size:11px;color:#c2a4b2;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer}
.tabbar .tb.on{color:var(--pink)}
.tabbar .tb .ic{font-size:20px}

/* 弹层 */
.mask{position:fixed;inset:0;background:rgba(50,30,40,.45);z-index:80;display:flex;align-items:center;justify-content:center;padding:18px}
.hide{display:none!important}
.modal-box{background:#fff;border-radius:18px;width:100%;max-width:420px;max-height:88vh;overflow-y:auto;padding:22px;position:relative}
@media(min-width:768px){.modal-box{max-width:560px}}
.modal-box h3{margin:0 0 6px;font-size:18px}
.modal-box .sub{font-size:12px;color:var(--muted);margin-bottom:14px}
.modal-x{position:absolute;right:12px;top:8px;background:none;font-size:26px;color:#b0a1a9}
.modal-body{font-size:13px;line-height:1.85;color:#6e5c66}
.modal-body p{white-space:pre-wrap;margin:0 0 10px}
.modal-body video,.modal-body audio{width:100%;border-radius:10px;margin:10px 0}
.contact{background:#fdf5f8;border-radius:12px;padding:14px;margin-top:12px;font-size:13px;text-align:center}
.contact img{width:190px;max-width:100%;margin:10px auto;border-radius:8px}

/* 测评 */
.quiz-progress{height:6px;background:#f6e9ef;border-radius:999px;overflow:hidden;margin:8px 0 20px}
.quiz-progress>i{display:block;height:100%;background:linear-gradient(135deg,#e091b3,#c46a9a);border-radius:999px;transition:width .2s}
.q-count{font-size:12px;color:var(--muted);text-align:center;margin-bottom:6px}
.q-text{font-size:17px;font-weight:600;line-height:1.6;margin:8px 0 20px}
.q-options{display:flex;flex-direction:column;gap:10px}
.q-opt{border:1.5px solid #f0dde6;border-radius:12px;padding:13px 15px;background:#fff;font-size:14px;color:#6e5c66;text-align:left;display:flex;align-items:center;gap:10px}
.q-opt.on{border-color:var(--pink);background:#fdf0f5;color:#c46a9a;font-weight:600}
.q-opt .idx{width:24px;height:24px;flex:none;border-radius:50%;background:#f7e6ee;color:#c46a9a;display:flex;align-items:center;justify-content:center;font-size:12px}
.q-opt.on .idx{background:var(--pink);color:#fff}
.quiz-nav{display:flex;gap:10px;margin-top:22px}
.quiz-nav .btn,.quiz-nav .btn-ghost{margin:0;flex:1}

/* 结果卡 */
.result-hero{text-align:center;padding:16px 0}
.result-ring{width:96px;height:96px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;font-size:38px;background:linear-gradient(135deg,#fde8f0,#f8cfe0);border:4px solid #fff;box-shadow:0 8px 24px rgba(194,85,129,.16)}
.result-name{font-size:23px;font-weight:800;color:var(--pink-deep)}
.result-sub{font-size:13px;color:var(--muted);margin-top:4px}
.score-row{margin:12px 0}
.score-row .sl{display:flex;justify-content:space-between;font-size:12px;margin-bottom:4px}
.score-bar{height:9px;background:#f6e9ef;border-radius:999px;overflow:hidden}
.score-bar>i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e8a0bf,#c46a9a)}
.dim-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.dim-card{background:#fff;border-radius:12px;padding:12px;box-shadow:var(--shadow)}
.dim-card .dn{font-size:13px;font-weight:600;display:flex;justify-content:space-between}
.dim-card .dv{color:var(--pink-deep);font-weight:700}
.dim-card .db{height:6px;background:#f6e9ef;border-radius:999px;margin-top:8px;overflow:hidden}
.dim-card .db>i{display:block;height:100%;background:var(--pink)}

/* 付费墙 */
.paywall{text-align:center;padding:26px 18px}
.paywall .lock{font-size:44px}
.paywall .pw-tag{font-size:12px;color:var(--muted);margin-top:6px}
.paywall .pw-title{font-size:22px;font-weight:800;margin:10px 0;color:var(--ink)}
.paywall .pw-desc{font-size:13px;color:#7a6670;line-height:1.8;margin:0 auto 18px;max-width:300px}
.paywall .pw-price{font-size:30px;font-weight:800;color:var(--pink-deep);margin:6px 0 14px}
.paywall .pw-qr{margin:14px auto 6px;width:190px;height:190px;border:1px solid #f0dce6;border-radius:14px;overflow:hidden;background:#fff}
.paywall .pw-qr img{width:100%;height:100%;object-fit:contain}
.paywall .pw-qr-tip{font-size:11px;color:#a99aa3}
.paywall .pw-wx{margin-top:12px;font-size:13px;color:#7a6670}
.paywall .pw-wx b{color:var(--ink);font-size:15px}
.paywall .pw-wx span{color:var(--pink-deep);margin-left:8px;cursor:pointer}
.paywall .pw-note{font-size:11px;color:#b49faa;margin-top:8px}
.paywall .pw-err{color:#d0486a;font-size:12px;margin-top:12px;cursor:pointer}
.paywall .pw-foot{color:#c4b6bf;font-size:11px;margin-top:16px}

/* 心情 / 网格 */
.mood-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mood-item{border-radius:16px;padding:18px 8px;text-align:center;color:#fff;cursor:pointer}
.mood-item .em{font-size:36px}
.mood-item .lb{font-size:13px;margin-top:6px}

/* 表单 */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;color:#7a6670;margin-bottom:6px}
.field input,.field textarea{width:100%;border:1px solid #f0e3ea;border-radius:10px;padding:11px 13px;font-size:14px;outline:none;background:#fff;font-family:inherit}
.field textarea{min-height:90px;resize:vertical}
.seg{display:flex;gap:10px}
.seg>div{flex:1;text-align:center;border:1.5px solid #f0dde6;border-radius:10px;padding:10px;cursor:pointer}
.seg>div.on{border-color:var(--pink);background:#fdf0f5;color:#c46a9a;font-weight:600}

/* 数字大卡 */
.stat-card{background:linear-gradient(135deg,#e091b3,#c46a9a);color:#fff;border-radius:16px;padding:18px;margin-bottom:14px}
.stat-card .n{font-size:30px;font-weight:800}
.stat-card .l{font-size:12px;opacity:.9}

.foot-note{text-align:center;color:#bdaeb8;font-size:11px;margin:26px 0 10px}

/* ===== 导师详情页（简洁 · 正规 · 大气） ===== */
.t-hero{margin:-16px -16px 0;height:210px;position:relative;overflow:hidden;background:linear-gradient(135deg,#f7bfd6,#d47fae)}
.t-hero img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.t-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(74,53,64,.06) 0%,rgba(74,53,64,.02) 45%,rgba(255,247,250,.96) 100%)}
.t-hero-label{position:absolute;left:20px;top:18px;z-index:2;color:#fff;font-size:12px;letter-spacing:2px;text-shadow:0 1px 6px rgba(0,0,0,.3)}
.t-profile{position:relative;margin:-52px 0 0;padding:0 4px;z-index:3}
.t-avatar{width:76px;height:76px;border-radius:22px;border:4px solid #fff;background:linear-gradient(135deg,#e091b3,#c46a9a);box-shadow:0 8px 20px rgba(120,60,90,.18);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:700;color:#fff;overflow:hidden}
.t-avatar img{width:100%;height:100%;object-fit:cover}
.t-name-row{display:flex;align-items:center;gap:9px;margin-top:10px}
.t-name{font-size:23px;font-weight:800;letter-spacing:.5px}
.t-rating{background:#fff2d9;color:#d08a1e;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700}
.t-fav{margin-left:auto;width:38px;height:38px;border-radius:50%;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;font-size:22px;color:#d8bccb;cursor:pointer}
.t-fav.on{color:#e091b3}
.t-title{font-size:14px;color:var(--pink-deep);font-weight:600;margin-top:4px}
.t-stats{display:flex;gap:0;margin-top:14px;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:14px 0}
.t-stat{flex:1;text-align:center;border-right:1px solid var(--line)}
.t-stat:last-child{border-right:0}
.t-stat .n{font-size:19px;font-weight:800;color:var(--pink-deep)}
.t-stat .l{font-size:11px;color:var(--muted);margin-top:2px}
.t-section{margin-top:20px}
.t-section h4{margin:0 0 12px;font-size:15px;font-weight:700;display:flex;align-items:center;gap:8px}
.t-section h4:before{content:"";width:4px;height:15px;border-radius:2px;background:linear-gradient(180deg,#e091b3,#c46a9a)}
.t-text{color:#6e5c66;font-size:13.5px;line-height:1.9;white-space:pre-wrap}
.t-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.t-tag{background:#fdeaf2;color:#b8628d;border:1px solid #f7d9e7;border-radius:999px;padding:5px 14px;font-size:12px;font-weight:600}
.t-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.t-item{background:#fff;border-radius:13px;padding:13px 14px;box-shadow:var(--shadow);display:flex;gap:10px;align-items:flex-start}
.t-item .ic{width:32px;height:32px;flex:none;border-radius:9px;background:#fdeaf2;display:flex;align-items:center;justify-content:center;font-size:16px}
.t-item .tx b{display:block;font-size:13px;color:var(--ink)}
.t-item .tx span{display:block;font-size:11px;color:var(--muted);margin-top:2px;line-height:1.5}
.t-review{background:#fff;border-radius:13px;padding:13px 15px;box-shadow:var(--shadow);margin-bottom:10px}
.t-review .stars{color:#e8a33c;font-size:12px;letter-spacing:2px}
.t-review .q{font-size:13px;color:#5c4a54;margin:6px 0 8px;line-height:1.7}
.t-review .who{font-size:11px;color:var(--muted);text-align:right}
.t-bottom-bar{position:sticky;bottom:0;z-index:20;background:linear-gradient(180deg,rgba(255,247,250,0),var(--bg) 30%);padding:12px 0 4px;margin-top:22px}
.t-bottom-bar .btn{margin:0}
@media(min-width:768px){.t-hero{height:250px}.t-grid{grid-template-columns:repeat(3,1fr)}}

/* ---------- 文章底部广告位 ---------- */
.ad-zone{margin-top:20px}
.ad-zone-label{text-align:center;font-size:11px;color:var(--muted);letter-spacing:3px;margin-bottom:10px}
.ad-out{position:relative;width:100%;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);cursor:pointer;margin-bottom:12px;background:#fbe7ef}
.ad-out img{display:block;width:100%;height:auto;object-fit:cover}
.ad-flag{position:absolute;top:8px;right:8px;background:rgba(74,53,64,.55);color:#fff;font-size:10px;padding:2px 8px;border-radius:999px;letter-spacing:1px}
.ad-in-wrap{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ad-in{display:flex;align-items:center;gap:9px;background:#fff;border-radius:13px;padding:10px;box-shadow:var(--shadow);cursor:pointer;border:1px solid #fbeef4;min-width:0}
.ad-in:active{background:#fdf0f5}
.ad-in-thumb{width:46px;height:46px;border-radius:10px;overflow:hidden;flex:none;background:linear-gradient(135deg,#f6c9dd,#d97ea6)}
.ad-in-thumb img{width:100%;height:100%;object-fit:cover}
.ad-in-ph{display:flex;align-items:center;justify-content:center;font-size:22px}
.ad-in-main{min-width:0;flex:1}
.ad-in-name{font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-in-cta{font-size:11px;color:var(--pink-deep);margin-top:5px}

/* ---------- 落地页 ---------- */
.land{padding-bottom:20px}
.land-cover{width:100%;height:210px;overflow:hidden;background:linear-gradient(135deg,#f6c9dd,#d97ea6)}
.land-cover img{width:100%;height:100%;object-fit:cover;display:block}
.land-head{padding:20px 18px 6px}
.land-title{font-size:22px;font-weight:800;color:var(--ink);line-height:1.4}
.land-intro{font-size:13px;color:#6e5c66;line-height:1.7;margin-top:10px}
.land-body{padding:8px 18px}
.land-block{background:#fff;border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);margin-bottom:12px;border-left:3px solid var(--pink)}
.land-block-t{font-size:14px;font-weight:700;color:var(--pink-deep)}
.land-block-d{font-size:13px;color:#6e5c66;line-height:1.7;margin-top:6px}
.land-btn{margin:16px 18px 0;background:linear-gradient(135deg,#eaa0bf,#d97ea6);color:#fff;text-align:center;padding:14px;border-radius:999px;font-size:15px;font-weight:700;box-shadow:0 8px 20px rgba(224,145,179,.28);cursor:pointer}
.land-btn:active{opacity:.85}
.land-foot{text-align:center;font-size:11px;color:var(--muted);margin-top:24px;letter-spacing:1px}

/* ---------- 课程锁弹窗 ---------- */
.lock-modal{text-align:center;padding:4px 0}
.lock-qr{width:200px;height:200px;margin:12px auto 8px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.lock-qr img{width:100%;height:100%;object-fit:contain}
.lock-tip{font-size:11px;color:var(--muted);margin-bottom:14px}
.lock-wx{display:flex;align-items:center;justify-content:center;gap:10px;background:#fdf0f5;border:1px solid #f6dbe7;border-radius:12px;padding:11px 14px;font-size:13px;cursor:pointer;color:var(--ink)}
.lock-wx b{color:var(--pink-deep);font-size:15px}
.lock-wx em{font-style:normal;color:#fff;background:var(--pink);border-radius:999px;padding:3px 12px;font-size:11px;margin-left:auto}
.lock-note{font-size:11px;color:var(--muted);margin-top:12px}
/* 课时锁定态 */
.lesson.locked{opacity:.72}
.lx-lock{font-size:11px;color:#b9a9b2;flex:none}

/* ---------- FM 播放器（视频/播客） ---------- */
.fm-player{width:100%;background:#000;border-radius:0;overflow:hidden}
.fm-player video{width:100%;display:block;max-height:260px}
.fm-podcast{padding:20px 16px;text-align:center}
.fm-disc{width:180px;height:180px;border-radius:50%;margin:0 auto 18px;overflow:hidden;box-shadow:0 10px 30px rgba(190,120,160,.22);border:6px solid #fff;background:linear-gradient(135deg,#dfb8e0,#b87ac0);display:flex;align-items:center;justify-content:center}
.fm-disc.no-audio{opacity:.85}
.fm-cover-img{width:100%;height:100%;object-fit:cover}
.fm-cover-emoji{font-size:72px}

/* ---------- 社区三级栏目 ---------- */
.column-section{margin:16px 12px;border-radius:18px;padding:18px 16px 8px;box-shadow:var(--shadow)}
.column-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px}
.column-heading{display:flex;flex-direction:column}
.column-en{font-size:10px;font-weight:600;letter-spacing:3px;text-transform:uppercase}
.column-title{font-size:22px;font-weight:800;color:var(--ink);margin-top:3px;line-height:1.2}
.column-underline{width:38px;height:5px;border-radius:6px;margin-top:8px}
.column-more{font-size:12px;color:var(--muted);padding:6px 0 2px 12px;cursor:pointer}
.subcat-scroll{display:flex;gap:20px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-bottom:8px;padding-bottom:6px}
.subcat-scroll::-webkit-scrollbar{display:none}
.subcat{position:relative;display:inline-block;flex:none;padding:6px 3px 10px;font-size:13px;color:#8c7e78;cursor:pointer;transition:color .2s}
.subcat.active{color:var(--ink);font-weight:700}
.subcat.active::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:26px;height:5px;border-radius:6px;background:var(--accent)}
.column-post{display:flex;align-items:center;gap:11px;background:#fff;border-radius:14px;padding:12px;margin-bottom:10px;border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(190,150,165,.06);cursor:pointer;transition:background .15s,border-color .15s}
.column-post:active{background:var(--chip);border-color:var(--accent)}
.column-post-info{flex:1;min-width:0}
.column-post-title{font-size:14px;font-weight:700;color:var(--ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.column-post-intro{font-size:11px;color:#9a8b94;line-height:1.5;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.column-post-cover{flex:none;width:88px;height:66px;border-radius:10px;padding:8px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;box-sizing:border-box}
.column-post-cover-img{padding:0;background:#ece8e0}
.column-post-cover-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.72);border-radius:10px;display:block}
.cpc-icon{font-size:20px;line-height:1}
.cpc-text{min-width:0}
.cpc-name{font-size:10px;font-weight:700;color:#7a4a5e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cpc-sub{font-size:8px;color:#a97e90;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
/* 栏目更多页 */
.column-page{padding-bottom:20px}
.col-head{padding:22px 20px 18px;display:flex;flex-direction:column;border-radius:0 0 18px 18px}
.col-tabs{padding:14px 20px 2px;gap:24px}
.col-list{padding:6px 16px}

/* ---------- 导师列表（与小程序同款） ---------- */
.tu-banner{margin:-16px -16px 0;padding:20px 18px;background:linear-gradient(135deg,#e08aa6 0%,#f0a8bc 100%)}
.tu-banner-title{display:block;color:#fff;font-size:20px;font-weight:700;letter-spacing:.5px}
.tu-banner-sub{display:block;margin-top:6px;color:rgba(255,255,255,.9);font-size:12px}
.tu-list{padding-top:12px}
.tu-card{background:#fff;border-radius:14px;padding:14px;margin-bottom:10px;box-shadow:0 6px 20px rgba(224,145,179,.06);cursor:pointer;transition:background .15s}
.tu-card:active{background:#fdf5f8}
.tu-card-head{display:flex;align-items:center}
.tu-avatar{width:56px;height:56px;flex:none;border-radius:50%;border:2px solid #fff;box-shadow:0 6px 14px rgba(0,0,0,.12),inset 0 1px 6px rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;color:#fff;font-size:23px;font-weight:700;overflow:hidden;text-shadow:0 1px 4px rgba(0,0,0,.12)}
.tu-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.tu-head-info{margin-left:11px;flex:1;min-width:0}
.tu-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tu-name{font-size:16px;font-weight:700;color:#4a3540}
.tu-rating{color:#e07ba4;font-size:12px;flex:none}
.tu-title{display:block;margin-top:4px;color:#7a626e;font-size:12.5px}
.tu-exp{display:block;margin-top:3px;color:#b0a1a9;font-size:11px}
.tu-intro{margin-top:10px;color:#9b8791;font-size:12px;line-height:1.6}
.tu-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tu-tag{padding:4px 10px;border-radius:999px;background:#fce9f0;color:#c96a90;font-size:11px}
.tu-foot{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding-top:10px;border-top:1px solid #fdf0f5;color:#b0a1a9;font-size:11px}
.tu-foot span:last-child{color:#e091b3;font-size:12px}
.tu-end{padding:8px 0 16px;text-align:center;color:#c2b2ba;font-size:11px}

/* ============ 首页 · 心屿新版式（对齐小程序，PC 端同步） ============ */
.page.xy-page-wrap{padding:0;background:#FDF9F8}
.xy-home{position:relative;overflow:hidden;min-height:calc(100vh - 0px);
  background:
    radial-gradient(58% 22% at 50% 2%, rgba(252,232,235,.95) 0%, rgba(252,232,235,0) 100%),
    radial-gradient(66% 58% at 8% 78%, rgba(248,230,235,.9) 0%, rgba(248,230,235,0) 100%),
    radial-gradient(50% 22% at 45% 100%, rgba(249,231,236,.75) 0%, rgba(249,231,236,0) 100%),
    linear-gradient(155deg,#FDF7F5 0%,#FDF9F8 34%,#FEFBFB 68%,#FCF3F5 100%);
  padding-bottom:24px}
.xy-front{position:relative;z-index:2;padding:0 16px}
.xy-bg-deco{position:absolute;left:0;top:0;width:100%;height:2200px;z-index:0;overflow:hidden;pointer-events:none}
.xy-glow{position:absolute;border-radius:50%}
.xy-glow.xy-g1{width:300px;height:300px;top:-100px;left:50%;margin-left:-150px;background:radial-gradient(circle,rgba(253,236,242,.55) 0%,rgba(253,236,242,0) 70%)}
.xy-glow.xy-g2{width:280px;height:280px;top:430px;left:-140px;background:radial-gradient(circle,#F6E1EC 0%,rgba(246,225,236,0) 70%)}
.xy-glow.xy-g3{width:280px;height:280px;top:430px;right:-140px;background:radial-gradient(circle,#FBEAE2 0%,rgba(251,234,226,0) 70%)}
.xy-glow.xy-g4{width:330px;height:330px;bottom:-120px;left:50%;margin-left:-165px;background:radial-gradient(circle,#F7E6EE 0%,rgba(247,230,238,0) 70%)}
.xy-gold-stream{position:absolute;left:-30%;top:-120px;width:150%;height:1700px;z-index:1;transform:rotate(-24deg);transform-origin:top center;pointer-events:none;
  background:
    radial-gradient(ellipse closest-side at 26% 8%, rgba(255,235,178,.78) 0%,rgba(255,244,208,.4) 45%,rgba(255,245,220,0) 80%),
    radial-gradient(ellipse closest-side at 36% 30%, rgba(255,240,192,.55) 0%,rgba(255,244,208,0) 72%),
    radial-gradient(ellipse closest-side at 52% 55%, rgba(255,238,188,.5) 0%,rgba(255,244,208,0) 72%),
    radial-gradient(ellipse closest-side at 66% 80%, rgba(255,240,192,.46) 0%,rgba(255,244,208,0) 72%),
    radial-gradient(ellipse closest-side at 78% 98%, rgba(255,235,178,.42) 0%,rgba(255,245,220,0) 72%)}
.xy-gold-streak{position:absolute;left:-22%;top:-80px;width:120%;height:1600px;z-index:1;transform:rotate(-24deg);transform-origin:top center;pointer-events:none;
  background:
    radial-gradient(ellipse closest-side at 32% 10%, rgba(255,252,238,.7) 0%,rgba(255,250,228,0) 70%),
    radial-gradient(ellipse closest-side at 54% 56%, rgba(255,251,234,.42) 0%,rgba(255,250,228,0) 70%),
    radial-gradient(ellipse closest-side at 72% 88%, rgba(255,251,234,.36) 0%,rgba(255,250,228,0) 70%)}
.xy-ellipse{position:absolute;left:50%;top:160px;transform:translateX(-50%);border-radius:50%}
.xy-ellipse.xy-eo{width:360px;height:700px;border:1px dashed #EAD6DB;opacity:.55}
.xy-ellipse.xy-ei{width:266px;height:580px;border:1px solid #F0DDE2;opacity:.4}
.xy-arc{position:absolute;left:26px;width:calc(100% - 52px);height:72px;opacity:.75}
.xy-arc.xy-at{top:280px;border-bottom:2px solid #F1DCE1;border-radius:0 0 50% 50%}
.xy-arc.xy-ab{top:810px;border-top:2px solid #F1DCE1;border-radius:50% 50% 0 0}
.xy-sc{position:absolute;top:470px;width:58px;height:100px;opacity:.6}
.xy-sc.xy-sl{left:18px;border-left:2px solid #F4DEE4;border-radius:50% 0 0 50%}
.xy-sc.xy-sr{right:18px;border-right:2px solid #F4DEE4;border-radius:0 50% 50% 0}
.xy-core-dot{position:absolute;left:50%;top:550px;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#E8CDD4;opacity:.55}
.xy-greet-row{display:flex;align-items:center;justify-content:space-between;padding:26px 4px 0}
.xy-greeting{color:#A69A9C;font-size:13px;letter-spacing:1px}
.xy-search-ico{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.86);box-shadow:0 6px 16px rgba(198,146,155,.14);font-size:15px;cursor:pointer}
.xy-title{padding:8px 4px 0;color:#3A3436;font-size:23px;font-weight:700;letter-spacing:1px;line-height:1.3}
.xy-duo{display:flex;gap:12px;margin-top:20px}
.xy-big-card{position:relative;flex:1;min-height:186px;display:flex;padding:20px 12px 16px;align-items:flex-end;justify-content:center;border-radius:22px;border:1px solid rgba(255,255,255,.95);box-shadow:0 14px 34px rgba(198,146,155,.13),0 2px 6px rgba(198,146,155,.05);background:#fff;cursor:pointer;transition:opacity .15s;overflow:hidden}
.xy-big-card:active{opacity:.86}
.xy-card-shine{position:absolute;left:50%;top:-30px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,0) 70%);transform:translateX(-50%);pointer-events:none;z-index:1}
.xy-envelope{position:absolute;left:50%;top:8px;width:60px;height:46px;z-index:2;pointer-events:none}
.xy-big-card.xy-c1 .xy-envelope{transform:translateX(-50%) rotate(-8deg)}
.xy-big-card.xy-c2 .xy-envelope{transform:translateX(-50%) rotate(8deg)}
.xy-env-body{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:10px;border:1px solid rgba(255,255,255,.92);background:linear-gradient(150deg,rgba(255,255,255,.96) 0%,rgba(251,237,240,.86) 55%,rgba(243,214,222,.78) 100%);box-shadow:0 8px 16px rgba(198,146,155,.18),inset 0 1px 0 rgba(255,255,255,.95)}
.xy-env-flap{position:absolute;left:0;top:0;width:0;height:0;z-index:2;border-left:30px solid transparent;border-right:30px solid transparent;border-top:26px solid rgba(248,226,235,.94)}
.xy-env-flap:before{content:"";position:absolute;left:-21px;top:-26px;width:0;height:0;border-left:21px solid transparent;border-right:21px solid transparent;border-top:19px solid rgba(255,255,255,.88)}
.xy-env-line{position:absolute;left:8px;top:7px;width:26px;height:3px;border-radius:3px;background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.35));transform:rotate(-12deg)}
.xy-card-body{position:relative;z-index:3;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}
.xy-card-tag{display:inline-block;padding:3px 7px;border-radius:6px;background:rgba(255,255,255,.75);color:#B47C86;font-size:10px;font-weight:600;letter-spacing:.5px}
.xy-card-title{margin-top:9px;color:#3A3436;font-size:17px;font-weight:700;letter-spacing:1px}
.xy-card-sub{margin-top:4px;color:#8D8184;font-size:11px;line-height:1.4}
.xy-card-btn{display:inline-flex;align-items:center;margin-top:10px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.9);color:#B47C86;font-size:10px;font-weight:600;box-shadow:0 5px 14px rgba(198,146,155,.16),inset 0 0 0 1px rgba(255,255,255,.95)}
.xy-sym-row{display:flex;gap:9px;margin-top:14px}
.xy-mini{flex:1;min-height:95px;display:flex;padding:15px 4px 13px;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:15px;border:1px solid rgba(255,255,255,.92);background:linear-gradient(150deg,rgba(255,255,255,.94) 0%,rgba(253,244,247,.78) 100%);box-shadow:0 7px 17px rgba(198,146,155,.09),inset 0 1px 0 rgba(255,255,255,.95);cursor:pointer}
.xy-mini:active{background:#FDF1F5}
.xy-mini-ico{display:flex;width:38px;height:38px;margin-bottom:9px;align-items:center;justify-content:center;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px rgba(245,226,233,.7),0 5px 12px rgba(198,146,155,.12)}
.xy-mini-name{color:#413A3C;font-size:12.5px;font-weight:600;letter-spacing:.5px}
/* 轻量几何图标 */
.ico-book{position:relative;width:22px;height:16px;border-radius:3px;background:linear-gradient(135deg,#E7B8C8,#D5A0B6)}
.ico-book:before,.ico-book:after{content:"";position:absolute;top:3.5px;width:7px;height:9px;border-radius:2px;background:rgba(255,255,255,.95)}
.ico-book:before{left:2.5px}.ico-book:after{right:2.5px}
.ico-book .book-spine{position:absolute;z-index:2;left:50%;top:2px;width:2px;height:12px;margin-left:-1px;border-radius:1px;background:#D09BB1}
.ico-fm{position:relative;width:19px;height:16px;border:2px solid #D5A0B6;border-top-color:transparent;border-radius:0 0 11px 11px}
.ico-fm:before,.ico-fm:after{content:"";position:absolute;bottom:-3px;width:5px;height:9px;border-radius:3px;background:#E7B8C8}
.ico-fm:before{left:-3.5px}.ico-fm:after{right:-3.5px}
.ico-tutor{position:relative;width:20px;height:20px}
.ico-tutor:before{content:"";position:absolute;left:5.5px;top:.5px;width:9px;height:9px;border-radius:50%;background:#D5A0B6}
.ico-tutor:after{content:"";position:absolute;left:1px;bottom:0;width:18px;height:9px;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#E7B8C8,#D5A0B6)}
.ico-test{display:flex;width:20px;height:20px;flex-wrap:wrap;align-content:space-between;justify-content:space-between}
.ico-test i{width:8px;height:8px;border-radius:2px;background:#D5A0B6}
.ico-test i:nth-child(2),.ico-test i:nth-child(3){background:#E7B8C8}
/* 首页心屿版式下，横幅与板块间距 */
.xy-front .home-promo-web{margin-top:15px}
.xy-front .section{margin-top:26px}

/* 依恋类型测试 · 完整结果版式（与小程序同款） */
.att-hero .result-ring{border-width:3px}
.att-chips{display:flex;justify-content:center;gap:12px;margin:16px 0 6px}
.att-chip{min-width:110px;background:#fff;border:1px solid #f4dfe9;border-radius:14px;padding:10px 16px;box-shadow:0 4px 14px rgba(194,85,129,.08)}
.att-chip span{display:block;font-size:12px;color:#9b7d8c}
.att-chip b{display:block;font-size:22px;color:var(--pink-deep);margin-top:2px}
.att-scale-hint{font-size:11px;color:#b295a4;margin-top:4px}
.att-bubbles{position:relative;display:block;width:44px;height:40px;margin:0 auto}
.att-bubbles i{position:absolute;border-radius:50%;border:2px solid rgba(255,255,255,.9);background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(206,155,185,.55));box-shadow:0 2px 5px rgba(150,90,125,.18)}
.att-bubbles i:nth-child(1){width:21px;height:21px;left:1px;top:10px}
.att-bubbles i:nth-child(2){width:15px;height:15px;right:4px;top:3px}
.att-bubbles i:nth-child(3){width:11px;height:11px;right:7px;bottom:3px}
.att-quad{position:relative;width:100%;max-width:300px;height:220px;margin:16px auto 6px;background:linear-gradient(135deg,#fff8fb,#f9edf3);border-radius:14px;border:1px solid #f1dce6}
.att-qv,.att-qh{position:absolute;background:#e9cfdc}
.att-qv{left:50%;top:0;bottom:0;width:1px}
.att-qh{left:0;right:0;top:50%;height:1px}
.att-ql{position:absolute;font-size:11px;color:#b99aab;padding:2px 5px;border-radius:6px;background:rgba(255,255,255,.8)}
.ql-tl{left:8px;top:8px}.ql-tr{right:8px;top:8px}.ql-bl{left:8px;bottom:8px}.ql-br{right:8px;bottom:8px}
.att-qdot{position:absolute;width:14px;height:14px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.2);transform:translate(-50%,-50%)}
.att-axis{text-align:center;font-size:11px;color:#b295a4;margin-bottom:10px}
.att-caption{font-size:13px;color:#6e5c66;line-height:1.7;background:#fff8fb;border-radius:10px;padding:10px 12px}
.att-legends{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.att-lg{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#9b8a93;padding:4px 8px;border-radius:999px;background:#f8f3f6}
.att-lg.me{color:#fff;background:var(--pink);font-weight:700}
.att-lg i{width:7px;height:7px;border-radius:50%}
.att-dim{margin:14px 0}
.att-dim-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6e5c66}
.att-dim-head b{font-size:16px;color:var(--pink-deep)}
.att-dim-bar{position:relative;height:8px;border-radius:999px;background:#f6e9ef;margin:8px 0 4px}
.att-dim-bar i{display:block;height:100%;border-radius:999px}
.att-dim-bar em{position:absolute;top:-3px;width:2px;height:14px;background:#c9aebc}
.att-dim-scale{display:flex;justify-content:space-between;font-size:10px;color:#b295a4}
.att-dim-meaning{font-size:12px;color:#7d6b75;line-height:1.7;margin-top:8px}
.att-detail{margin:14px 0}
.att-dh{font-size:13px;font-weight:700;color:var(--pink-deep);padding-left:10px;border-left:3px solid var(--pink);margin-bottom:8px}
.att-li{position:relative;padding-left:14px;font-size:12px;color:#6e5c66;line-height:1.8;margin:4px 0}
.att-li:before{content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:#e7a9c3}
.att-p{font-size:12px;color:#6e5c66;line-height:1.8}
.att-ov{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.att-ov-item{border:1px solid #f1e2ea;border-radius:12px;padding:10px;background:#fff}
.att-ov-item.me{border-color:var(--pink);background:#fff6fa;box-shadow:0 4px 14px rgba(194,85,129,.12)}
.att-ov-nm{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#5d4b55}
.att-ov-nm i{width:8px;height:8px;border-radius:50%}
.att-ov-dx{font-size:11px;color:#a68d9b;margin-top:4px}
.att-ov-ds{font-size:11px;color:#8c7885;margin-top:2px}
.att-note{font-size:12px;color:#9b8a93;line-height:1.8}

/* ===== 公众号文章（自动同步，链接跳原文） ===== */
.wx-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;-webkit-overflow-scrolling:touch}
.wx-tabs::-webkit-scrollbar{display:none}
.wx-tab{flex:0 0 auto;font-size:13px;color:#9b8893;background:#fff;border:1px solid #f2e3eb;border-radius:999px;padding:7px 16px;white-space:nowrap;cursor:pointer;transition:all .15s}
.wx-tab.on{background:var(--pink);border-color:var(--pink);color:#fff;font-weight:600;box-shadow:0 4px 12px rgba(224,145,179,.28)}
.wx-desc{font-size:12px;color:#9b8893;line-height:1.7;margin:0 0 12px;padding:0 2px}
.wx-list{display:flex;flex-direction:column;gap:12px}
.wx-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow);cursor:pointer;transition:transform .15s,box-shadow .15s}
.wx-card:active{transform:scale(.985);background:#fff8fb}
.wx-thumb{flex:0 0 96px;width:96px;height:72px;border-radius:11px;overflow:hidden;background:linear-gradient(135deg,#fdeff4,#f6d2df);display:flex;align-items:center;justify-content:center;font-size:28px}
.wx-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.wx-info{flex:1;min-width:0}
.wx-title{font-size:14px;font-weight:600;color:var(--ink);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wx-meta{font-size:11px;color:var(--muted);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-go{flex:0 0 auto;color:var(--pink);font-size:16px}
.wx-footnote{text-align:center;font-size:11px;color:#b8a8b1;margin:18px 0 4px}
.wx-page{padding:2px 0 8px}

/* ---------- 三段式普法文章（案例 / 诉求 / 法条依据）· 简约商务庄严 ---------- */
.law-article{padding:0;overflow:hidden}
.law-tag{display:inline-block;margin:20px 20px 0;padding:5px 14px;border-radius:4px;background:#f2ede3;color:#8a7248;font-size:11px;font-weight:600;letter-spacing:1px}
.law-article .detail-title{margin:14px 20px 0;font-family:Georgia,'Songti SC','SimSun',serif;color:#2f3640;font-size:23px;line-height:1.45;letter-spacing:.5px}
.law-article>.hint{margin:8px 20px 0!important}
.law-cover{margin:18px 20px 0;border-radius:10px;overflow:hidden;background:#ece8e0}
.law-cover img{display:block;width:100%;max-height:300px;object-fit:cover;filter:saturate(.72)}
.law-cover-emoji{display:flex;align-items:center;justify-content:center;height:160px;font-size:64px;color:#fff}
.law-lead{margin:20px 20px 0;padding:13px 15px;border-left:3px solid #a4885c;background:#f7f5f1;color:#5c5347;font-size:13px;line-height:1.8;border-radius:0 8px 8px 0}
.law-section{margin:26px 20px 0}
.law-sec-head{display:flex;align-items:center;padding-bottom:10px;border-bottom:1px solid #ece6dc}
.law-sec-bar{width:3px;height:15px;margin-right:9px;border-radius:2px;background:#a4885c}
.law-sec-label{color:#2f3640;font-size:15px;font-weight:700;letter-spacing:1px}
.law-sec-en{margin-left:auto;color:#b7a888;font-size:9px;letter-spacing:2px}
.law-sec-text{margin-top:12px;color:#4a4f57;font-size:13px;line-height:1.95;text-align:justify;white-space:pre-wrap}
.law-disclaimer{margin:28px 20px 22px;padding:12px 14px;background:#faf8f4;border:1px dashed #dcd4c4;border-radius:8px;color:#9a9385;font-size:11px;line-height:1.7;text-align:center}
