:root{--bg:#fbfaf7;--paper:#fff;--ink:#171819;--muted:#6e7074;--line:#e8e2da;--pink:#df7183;--pink-soft:#f8e8eb;--mint:#eaf3ee;--cream:#f3ece4;--dark:#1b1c1e;--shadow:0 14px 44px rgba(45,32,24,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,calc(100% - 38px));margin:auto}.hidden{display:none!important}
header{position:sticky;top:0;z-index:30;background:rgba(251,250,247,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}nav{min-height:72px;display:flex;align-items:center;gap:28px}.brand{font-size:25px;font-weight:900;letter-spacing:-1px}.brand i{font-style:normal;color:var(--pink)}.links{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:14px}.links a:hover{color:var(--pink)}.member-link{font-weight:750}.menu-btn{display:none;margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 11px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;padding:11px 15px;font-weight:800;border:1px solid var(--line);background:white;cursor:pointer}.btn.primary{background:var(--pink);color:white;border-color:var(--pink)}.btn.dark{background:var(--dark);color:white;border-color:var(--dark)}.btn.soft{background:var(--pink-soft);border-color:transparent;color:#9e4b5a}.btn.small{padding:8px 11px;font-size:12px}.btn:disabled{opacity:.5;cursor:not-allowed}
.hero{padding:82px 0 68px;background:linear-gradient(110deg,#fbfaf7,#faefe9)}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center}.eyebrow,.kicker{font-size:12px;letter-spacing:.13em;font-weight:850;color:var(--pink)}h1{font-size:60px;line-height:1.06;letter-spacing:-2.7px;margin:10px 0}h2{font-size:38px;letter-spacing:-1.2px;margin:0 0 18px}h3{font-size:28px;letter-spacing:-.6px}.lead{font-size:19px;line-height:1.8;color:#4b4d50;max-width:680px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.art{min-height:360px;border-radius:34px;background:radial-gradient(circle at 72% 35%,#f5cfd7,transparent 27%),linear-gradient(145deg,#efe3d8,#fff9f6);position:relative;overflow:hidden;border:1px solid #e9ded5}.art:before{content:"西西酱";position:absolute;right:17%;top:74px;width:190px;height:190px;border-radius:50%;background:#f6d5c6;display:grid;place-items:center;font-size:38px;font-weight:900;color:#ad746b;border:26px solid #493631}.note-card{position:absolute;background:white;border:1px solid #eadfd6;padding:10px 13px;border-radius:8px;font-family:Georgia,serif;font-style:italic;box-shadow:0 8px 18px rgba(0,0,0,.05)}.n1{left:10%;top:70px;transform:rotate(-4deg)}.n2{left:17%;top:145px;transform:rotate(3deg)}.n3{left:8%;top:222px;transform:rotate(-2deg)}
section{padding:72px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.section-head h2,.section-head h3{margin:5px 0 0}.section-head p{color:var(--muted);max-width:500px;line-height:1.7}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;transition:.18s}.card.clickable:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#ded4cb}.card .num{font-size:13px;color:#999}.card h3,.card h4{margin:10px 0 12px}.card h4{font-size:21px}.card p{font-size:14px;color:#55585b;line-height:1.7}.tag{display:inline-block;font-size:11px;padding:6px 9px;border-radius:999px;background:#f4f1ed;margin:3px 3px 0 0}.tag.pink{background:var(--pink-soft);color:#9d4f5d}.meta{font-size:12px;color:#929292}.category-card{min-height:190px;display:flex;flex-direction:column}.category-card .tags{margin-top:auto}
.friends{background:#f5efe8;color:#241d19}.friends .section-head p{color:#766b64}.friends .kicker{color:#c56d7a}.chat-card{background:#fffdfb;border:1px solid #e8ded6;border-radius:20px;padding:22px;box-shadow:0 8px 24px rgba(72,52,42,.04)}.chat-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(72,52,42,.07);border-color:#dfcfc4}.chat-card h3{font-size:21px;line-height:1.45;margin:10px 0;color:#241d19}.chat-card p{color:#6c625c;font-size:14px;line-height:1.75}.chat-card .meta{color:#b86573}.chat-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.chat-actions .btn{background:#fffaf7;color:#6f5d55;border-color:#e1d5cc}.chat-actions .btn:hover{border-color:#d2bdb0;background:#fff}.chat-actions .btn.primary{background:#e38a97;color:#fff;border-color:#e38a97}.chat-actions .btn.primary:hover{background:#d97385;border-color:#d97385}.friends .rail-hint{color:#9a8378}
.tools{background:#f7f1eb}.tool-card{display:flex;flex-direction:column;min-height:220px}.tool-card .tool-actions{margin-top:auto;padding-top:14px;display:flex;gap:8px;flex-wrap:wrap}.tool-type{font-size:11px;color:#9f5965;font-weight:800;letter-spacing:.06em}.article-card{overflow:hidden;padding:0}.article-cover{aspect-ratio:16/9;background:#eee;object-fit:cover;width:100%;display:block}.article-body{padding:19px}.article-card h3{font-size:20px;line-height:1.45;margin:9px 0}.article-card p{font-size:14px;color:#626468;line-height:1.7}.empty{color:#999;padding:24px 0}.about{background:#f1ebe5}.contact-strip{background:#fff;border-top:1px solid var(--line)}
.page-hero{padding:64px 0 30px}.page-hero h1{font-size:48px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px}.article-content{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;line-height:1.85}.article-content img{max-width:100%;height:auto}.article-content p{margin:1em 0}.article-content h2,.article-content h3{margin-top:1.6em}.side-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;height:max-content}.list{display:grid;gap:14px}.list-row{display:flex;gap:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px;align-items:flex-start}.list-row .grow{flex:1}.list-row h3{font-size:18px;margin:2px 0 8px}.list-row p{margin:0;color:#666;line-height:1.65;font-size:14px}.pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f4f0eb;font-size:11px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}.field{display:grid;gap:7px;margin:14px 0}.field label{font-size:13px;font-weight:800}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:#fff;outline:none}.field textarea{min-height:150px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#d9a1ab;box-shadow:0 0 0 3px #f9e8eb}.check-grid{display:flex;gap:8px;flex-wrap:wrap}.choice{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:8px 11px;background:#fff;cursor:pointer}.choice input{accent-color:var(--pink)}
.modal{position:fixed;inset:0;z-index:100;background:rgba(20,18,18,.58);display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-card{width:min(590px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.22);position:relative}.modal-card h2{font-size:30px;margin:0 0 10px}.modal-card p{color:#696b6f;line-height:1.7}.modal-close{position:absolute;right:17px;top:13px;border:0;background:transparent;font-size:27px;cursor:pointer}.reward-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.reward-box{border:1px dashed #d8cfc6;border-radius:16px;padding:13px;text-align:center;background:#fcfaf8}.reward-box img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px}.reward-box b{display:block;margin-top:9px}.toast{position:fixed;right:22px;bottom:22px;z-index:140;background:#222;color:#fff;border-radius:11px;padding:12px 15px;opacity:0;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:none}
.account-grid{display:grid;grid-template-columns:260px 1fr;gap:20px}.account-nav{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;height:max-content}.account-nav button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:11px;cursor:pointer}.account-nav button.active{background:var(--pink-soft);color:#9a4f5b;font-weight:800}.account-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
footer{padding:28px 0;border-top:1px solid var(--line);color:#777;font-size:12px}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:920px){.links{display:none}.menu-btn{display:block}.links.mobile-open{display:flex;position:absolute;left:0;right:0;top:72px;margin:0;background:var(--bg);border-bottom:1px solid var(--line);padding:18px 20px;flex-direction:column;align-items:flex-start}.hero-grid,.grid4,.grid3,.content-grid{grid-template-columns:1fr 1fr}.hero-grid{gap:28px}h1{font-size:46px}.account-grid{grid-template-columns:1fr}}
@media(max-width:640px){.wrap{width:min(100% - 28px,1180px)}.hero{padding:52px 0}.hero-grid,.grid4,.grid3,.content-grid{grid-template-columns:1fr}h1,.page-hero h1{font-size:38px}h2{font-size:31px}.art{min-height:280px}.section-head{align-items:flex-start;flex-direction:column}.reward-grid{grid-template-columns:1fr}.article-content{padding:20px}.list-row{flex-direction:column}.footer{flex-direction:column}.page-hero{padding-top:42px}}


/* ===== V6 unified UX ===== */
.links a{position:relative;padding:25px 0 22px}
.links a.active{color:var(--pink);font-weight:800}
.links a.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--pink);border-radius:999px}
.nav-logout{border:0;background:transparent;font:inherit;color:#6d6d70;cursor:pointer;padding:8px 0}
.nav-logout:hover{color:var(--pink)}
.breadcrumb{border-bottom:1px solid var(--line);background:rgba(255,255,255,.55)}
.breadcrumb .wrap{min-height:48px;display:flex;align-items:center;gap:9px;font-size:13px;color:#8b8b8d}
.breadcrumb a:hover{color:var(--pink)}.breadcrumb i{font-style:normal;color:#c4bcb5}

.interest-pills{display:flex;flex-wrap:wrap;gap:9px}
.interest-pill{cursor:pointer}.interest-pill input{position:absolute;opacity:0;pointer-events:none}
.interest-pill span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;transition:.18s}
.interest-pill input:checked+span{background:var(--pink-soft);border-color:#efb9c2;color:#9c4b5a;font-weight:800;box-shadow:0 0 0 2px rgba(223,113,131,.08)}

.support-source{font-size:13px;color:#7f8083;background:#faf7f3;border-radius:12px;padding:10px 12px;margin:8px 0 14px}
.support-source:empty{display:none}
.support-amounts{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.amount-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer;font-weight:800}
.amount-chip.active{background:var(--pink-soft);border-color:#efb9c2;color:#9c4b5a}
.custom-amount{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:#fff;font-size:13px}
.custom-amount input{width:72px;border:0;outline:none;background:transparent}
.pay-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.pay-btn{border:0;border-radius:13px;padding:13px 16px;color:#fff;font-weight:900;cursor:pointer}
.pay-btn.wechat{background:#14b865}.pay-btn.alipay{background:#1677ff}
.support-report{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}
.support-report summary{cursor:pointer;font-weight:800;color:#555}
.support-board{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}
.support-board-head{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:10px}
.support-board-head a{color:var(--pink);font-weight:800}
.support-top{display:grid;gap:7px}
.support-rank{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:8px 10px;border-radius:10px;background:#faf7f4;font-size:13px}
.support-rank span{color:#aaa}.support-rank strong{color:#a44e5d}
.support-rank:nth-child(1){background:#fff3f5}.support-rank:nth-child(1) span{color:#df7183;font-weight:900}

.tip-article{margin-top:32px;padding:24px;border:1px solid #efd6da;background:linear-gradient(135deg,#fff,#fff5f7);border-radius:20px;text-align:center}
.tip-article h3{margin:0 0 8px}.tip-article p{color:#6d6e72;margin:0 auto 15px;max-width:520px}
.tip-article .actions{justify-content:center;margin-top:12px}

.article-content{overflow:hidden;min-width:0}
.article-content *{box-sizing:border-box;max-width:100%!important}
.article-content img{display:block!important;max-width:100%!important;width:auto!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
.article-content section,.article-content div,.article-content p,.article-content span,.article-content figure{min-width:0!important}
.article-content table{display:block;max-width:100%!important;overflow-x:auto}
.article-content iframe,.article-content video{max-width:100%!important}
.article-content [style*="width"]{max-width:100%!important}
.article-content [style*="margin-left"]{margin-left:0!important}
.article-content [style*="margin-right"]{margin-right:0!important}

.support-page-list{display:grid;gap:10px}.support-page-row{display:grid;grid-template-columns:60px 1fr auto;gap:14px;align-items:center;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:16px}
.support-page-row .rank{font-size:28px;font-weight:900;color:#d8a3ad}.support-page-row:nth-child(1) .rank{color:var(--pink)}
.support-page-row strong{font-size:18px;color:#a34e5c}

@media(max-width:920px){
  .links a{padding:8px 0}.links a.active:after{display:none}
  .nav-logout{padding:8px 0}
}
@media(max-width:640px){
  .modal{padding:10px;align-items:flex-end}
  .modal-card{border-radius:22px 22px 0 0;padding:22px 18px;max-height:90vh}
  .modal-card h2{font-size:26px}
  .interest-pills{gap:7px}.interest-pill span{min-height:36px;padding:8px 12px}
  .pay-buttons{grid-template-columns:1fr}
  .page-hero{padding:28px 0 18px}
  .page-hero h1{font-size:32px;line-height:1.18;letter-spacing:-1.3px}
  .page-hero .lead{font-size:16px;line-height:1.7}
  .content-grid{display:block}
  .article-content{border-left:0;border-right:0;border-radius:0;padding:20px 0;background:transparent;font-size:16.5px;line-height:1.9}
  .side-card{display:none}
  .article-content img{width:100%!important;max-width:100%!important}
  .article-content p{margin:1.15em 0}
  .breadcrumb .wrap{overflow:auto;white-space:nowrap}
  .support-page-row{grid-template-columns:42px 1fr auto;padding:13px}
}


/* ===== V6.4 mobile drawer navigation ===== */
.mobile-drawer-overlay{
  position:fixed;inset:0;background:rgba(25,18,15,.34);backdrop-filter:blur(2px);
  opacity:0;pointer-events:none;transition:.2s;z-index:998;
}
.mobile-drawer{
  position:fixed;left:0;top:0;bottom:0;width:min(84vw,330px);background:#fffaf7;
  z-index:999;transform:translateX(-102%);transition:transform .24s ease;
  padding:22px 18px 26px;display:flex;flex-direction:column;box-shadow:20px 0 50px rgba(45,30,22,.14);
}
.mobile-drawer.open{transform:translateX(0)}
.mobile-drawer-overlay.show{opacity:1;pointer-events:auto}
.mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 18px;border-bottom:1px solid var(--line)}
.mobile-drawer-head .brand{font-size:25px}
.mobile-drawer-close{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:23px;cursor:pointer}
.mobile-drawer-current{margin:16px 0 8px;padding:12px 13px;border-radius:13px;background:var(--pink-soft);color:#8f4c58;font-size:12px;line-height:1.55}
.mobile-drawer-links{display:grid;gap:5px;margin-top:8px}
.mobile-drawer-links a,.mobile-drawer-links button{
  width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;
  border:0;background:transparent;border-radius:12px;padding:12px 13px;font:inherit;color:#262326;cursor:pointer;
}
.mobile-drawer-links a:after{content:"›";color:#b7aca5}
.mobile-drawer-links a.active{background:#f9e6ea;color:#9f4c5a;font-weight:850}
.mobile-drawer-links a.active:before{content:"";width:3px;height:20px;background:var(--pink);border-radius:999px;margin-right:9px}
.mobile-drawer-links a.active{justify-content:flex-start}
.mobile-drawer-links a.active:after{margin-left:auto}
.mobile-drawer-section{margin:16px 12px 5px;color:#aaa;font-size:10px;letter-spacing:.12em;font-weight:850}
.mobile-drawer-back{display:none!important}
.mobile-drawer-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:14px;color:#999;font-size:11px;line-height:1.6}

@media(max-width:920px){
  header nav{min-height:64px}
  header .links{display:none!important}
  .menu-btn{display:inline-flex!important;align-items:center;justify-content:center;font-weight:800}
  .mobile-drawer-back{display:flex!important}
}
@media(min-width:921px){
  .mobile-drawer,.mobile-drawer-overlay{display:none!important}
}


/* ===== V6.6 member modal refinement ===== */
.member-card-v2{max-width:560px;padding:30px 30px 26px}
.member-card-v2 h2{margin-bottom:8px}
.member-card-v2>p{margin-top:0}
.member-steps{display:flex;align-items:center;gap:9px;margin:18px 0 20px}
.member-steps i{width:54px;height:1px;background:#eaded8}
.member-step{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f2eeeb;color:#aaa;font-size:12px;font-weight:900}
.member-step.active{background:var(--pink);color:#fff}
.member-step-panel{display:grid;gap:14px}
.member-main-btn{min-height:48px;font-size:15px}
.member-safe-tip{font-size:12px!important;color:#9a9592!important;margin:0!important;text-align:center}
.member-email-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#faf6f3;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font-size:12px;color:#777}
.member-email-row b{color:#333}
.link-btn,.resend-btn{border:0;background:transparent;color:#b35364;font-weight:800;cursor:pointer;padding:0}
.link-btn{margin-left:auto}
.resend-btn{justify-self:center;font-size:12px;margin-top:-4px}
.otp-input{font-size:22px!important;letter-spacing:5px!important;font-weight:800}
.label-note{font-size:11px;color:#aaa;font-weight:400}
.interest-pills-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.interest-pills-v2 .interest-pill span{
  width:100%;min-height:42px;padding:9px 8px;border-radius:12px;background:#fff;border:1px solid #e8ded7;
  font-size:13px;font-weight:700;color:#555;
}
.interest-pills-v2 .interest-pill input:checked+span{
  background:#f9e4e8;border-color:#e6a5b1;color:#9c4b5a;box-shadow:none;
}
.member-msg{min-height:18px;margin-top:8px!important}
@media(max-width:640px){
  .member-card-v2{padding:24px 18px 22px}
  .interest-pills-v2{grid-template-columns:repeat(2,1fr)}
  .member-email-row{font-size:11px}
}


/* ===== V6.7 content browsing ===== */
.article-rail{
  display:flex!important;grid-template-columns:none!important;gap:16px;overflow-x:auto;overflow-y:hidden;
  padding:2px 2px 18px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.article-rail>.article-card{flex:0 0 31.8%;min-width:280px;scroll-snap-align:start}
.article-rail::-webkit-scrollbar{height:8px}.article-rail::-webkit-scrollbar-thumb{background:#ddd2cb;border-radius:999px}

.article-feed{display:grid;gap:18px;max-width:820px;margin:0 auto}
.article-feed-card{
  display:grid;grid-template-columns:250px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid var(--line);
  border-radius:18px;transition:.18s;min-height:165px
}
.article-feed-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#ded4cb}
.article-feed-cover{width:100%;height:100%;min-height:165px;object-fit:cover;background:#f5f0ec}
.article-feed-body{padding:18px 20px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.article-feed-body h3{font-size:20px;line-height:1.42;margin:8px 0 8px;letter-spacing:-.2px}
.article-feed-body p{margin:0 0 10px;color:#666;line-height:1.7;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:720px){
  .article-rail>.article-card{flex-basis:82vw;min-width:260px}
  .article-feed{gap:14px}
  .article-feed-card{grid-template-columns:1fr;min-height:0;border-radius:16px}
  .article-feed-cover{height:auto;aspect-ratio:2.05/1;min-height:0}
  .article-feed-body{padding:14px 15px 16px}
  .article-feed-body h3{font-size:18px}
}


/* ===== V6.8 UX polish ===== */
.home-rail-wrap{position:relative}
.rail-hint{font-size:12px;color:#9a918b;margin-top:-12px;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.rail-hint:before{content:"↔";font-size:14px;color:var(--pink)}
.content-rail{display:flex!important;gap:16px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 18px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.content-rail>*{flex:0 0 31.8%;min-width:280px;scroll-snap-align:start}
.content-rail::-webkit-scrollbar{height:8px}.content-rail::-webkit-scrollbar-thumb{background:#ddd2cb;border-radius:999px}
.topic-block{margin:20px 0 4px;padding:18px;border-radius:18px;background:#fff7f7;border:1px solid #f1dfe3}
.topic-block h3{font-size:16px;margin:0 0 12px}
.topic-chips{display:flex;flex-wrap:wrap;gap:8px}
.topic-chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #ecd4da;color:#8d5360;font-size:12px;font-weight:750}
.search-box{display:flex;gap:10px;max-width:760px;margin:20px auto 0}
.search-box input{flex:1;border:1px solid var(--line);background:#fff;border-radius:13px;padding:13px 15px;font-size:15px;outline:none}
.search-box input:focus{border-color:#e1aab5;box-shadow:0 0 0 3px #fbecef}
.search-results{display:grid;gap:14px;max-width:860px;margin:28px auto 0}
.search-result{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;transition:.18s}
.search-result:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.search-result h3{font-size:19px;margin:6px 0 7px}
.search-result p{color:#666;line-height:1.7;margin:0 0 8px}
.account-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:16px}
.account-summary strong{font-size:18px}
.account-nav.compact{grid-template-columns:repeat(4,1fr)}
.interest-edit{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.interest-edit label{cursor:pointer}
.interest-edit input{display:none}
.interest-edit span{display:inline-flex;padding:8px 11px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px}
.interest-edit input:checked+span{background:#f9e4e8;border-color:#e5a9b4;color:#98505d;font-weight:800}

@media(max-width:720px){
  .content-rail>*{flex-basis:82vw;min-width:260px}
  .rail-hint{margin-top:-8px}
  .search-box{flex-direction:column}
  .search-box .btn{width:100%}
  .account-summary{align-items:flex-start;flex-direction:column}
  .account-nav.compact{grid-template-columns:1fr 1fr}
}
\n\n/* ===== V6.9 requested article layout ===== */
.home-article-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-article-row>.article-card{min-width:0}
.article-feed{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;max-width:860px;margin:0 auto}
.article-feed-card{width:100%;display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;min-height:178px}
.article-feed-card .article-feed-cover{min-height:178px;height:100%;aspect-ratio:auto}
.article-feed-card .article-feed-body{padding:20px 22px}
.article-feed-card .article-feed-body h3{font-size:21px;line-height:1.42;margin:8px 0}
@media(max-width:760px){
  .home-article-row{grid-template-columns:1fr;gap:14px}
  .home-article-row>.article-card:nth-child(n+4){display:none}
  .article-feed-card{grid-template-columns:1fr!important;min-height:0}
  .article-feed-card .article-feed-cover{height:auto;min-height:0;aspect-ratio:2.05/1}
  .article-feed-card .article-feed-body{padding:14px 15px 16px}
}


/* ===== V6.10 homepage recent articles: one horizontal row ===== */
.home-article-wrap{position:relative;overflow:hidden}
.home-article-carousel{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 18px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.home-article-carousel::-webkit-scrollbar{display:none}
.home-article-carousel>.article-card{
  flex:0 0 calc((100% - 32px)/3)!important;
  min-width:calc((100% - 32px)/3)!important;
  scroll-snap-align:start;
  display:block!important;
}
.article-section-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.rail-arrow{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#3b3532;font-size:18px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.18s}
.rail-arrow:hover{background:var(--pink-soft);border-color:#e7b6c0;color:#9f4c5a}
@media(max-width:760px){
  .home-article-carousel>.article-card{flex-basis:82vw!important;min-width:82vw!important}
  .article-section-actions{width:100%;justify-content:flex-start}
}

@media(max-width:640px){
  .friends{background:#f7f2ed}
  .chat-card{padding:18px;border-radius:18px}
  .chat-card h3{font-size:18px}
  .chat-actions .btn{min-height:44px}
}


/* ===== V6.13 chat detail simplified ===== */
.chat-detail-simple{display:grid;gap:18px;max-width:900px}
.chat-detail-note{background:#fffdfb;border:1px solid #e8ded6;border-radius:18px;padding:20px 22px}
.chat-detail-note b{font-size:16px}
.chat-detail-note p{margin:8px 0 0;color:#6c625c;line-height:1.75}
.page-hero .actions #download,.page-hero .actions #fav,.page-hero .actions #support{min-height:46px}
@media(max-width:640px){
  .page-hero .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .page-hero .actions #download{grid-column:1/-1}
  .page-hero .actions .btn{width:100%}
}

/* ===== V6.15 payment fallback ===== */
.pay-help{margin-top:14px;padding:14px 15px;border:1px solid #eadfd8;border-radius:14px;background:#fffaf7}
.pay-help b{display:block;margin-bottom:6px}
.pay-help p{margin:0;color:#716761;line-height:1.65;font-size:13px}
.pay-help-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.pay-help-actions .btn{background:#fff}


/* ===== V6.16 support QR codes ===== */
.support-qr-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:18px 0 10px;
}
.support-qr-card{
  background:#fffaf7;
  border:1px solid #eadfd8;
  border-radius:18px;
  padding:16px;
  text-align:center;
}
.support-qr-head{
  font-weight:850;
  margin-bottom:10px;
}
.support-qr-card img{
  width:min(100%,220px);
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fff;
  border-radius:14px;
  padding:10px;
  border:1px solid #eee5df;
}
.support-qr-card p{
  margin:9px 0 0;
  color:#756b65;
  font-size:12px;
}
.support-voluntary{
  text-align:center;
  margin-top:10px!important;
}
@media(max-width:640px){
  .support-qr-grid{grid-template-columns:1fr 1fr;gap:10px}
  .support-qr-card{padding:12px}
  .support-qr-card img{padding:7px}
}

/* ===== V6.18 audit fixes ===== */
.support-qr-tip{text-align:center;margin:10px 0 2px;color:#746861}
.account-panel .list-row.clickable{color:inherit;text-decoration:none;align-items:center}
.account-panel .list-row.clickable:hover{border-color:#d9c7bc;box-shadow:0 8px 20px rgba(65,45,35,.05)}
.account-panel .list-row.clickable>span:last-child{font-size:24px;color:#c4828e}
@media(max-width:640px){.support-qr-tip{font-size:12px}.account-panel .list-row{padding:14px}}


/* ===== V6.20 support modal softer wechat only ===== */
.reward-card-soft h2{margin-bottom:10px}
.support-qr-grid.single{grid-template-columns:minmax(0,280px);justify-content:center}
.support-qr-grid.single .support-qr-card{background:#fffdfb;box-shadow:0 8px 26px rgba(207,142,156,.08)}
.support-source{color:#8b7a72;margin-top:8px}
.support-qr-tip{line-height:1.8;max-width:560px;margin:12px auto 4px}
.support-voluntary{line-height:1.8}
@media(max-width:640px){.support-qr-grid.single{grid-template-columns:1fr}}


/* ===== V6.22 article comments ===== */
.comments-section{padding:18px 0 72px}
.comments-wrap{max-width:900px}
.comments-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.comments-head h2{font-size:30px;margin:3px 0 0}
.comment-compose{border:1px solid var(--line);border-radius:20px;background:#fffdfb;padding:18px;margin-bottom:20px}
.comment-login-tip{margin:0 0 12px;color:#756a64;font-size:13px}
.comment-compose textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #e7dcd4;border-radius:14px;padding:14px 15px;background:#fff;font:inherit;line-height:1.7;outline:none}
.comment-compose textarea:focus{border-color:#df9aa7;box-shadow:0 0 0 3px rgba(227,138,151,.09)}
.comment-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.comment-msg{min-height:18px;margin:8px 0 0}
.comment-list{display:grid;gap:12px}
.comment-item{display:flex;gap:13px;padding:17px 18px;border:1px solid var(--line);border-radius:18px;background:#fffdfb}
.comment-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#f8e4e8;color:#a95766;font-weight:900}
.comment-body{min-width:0;flex:1}
.comment-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.comment-meta span{font-size:11px;color:#aaa}
.comment-body p{margin:8px 0 0;line-height:1.75;white-space:pre-wrap;word-break:break-word;color:#4e4743}
@media(max-width:640px){
  .comments-section{padding-bottom:48px}
  .comments-head h2{font-size:25px}
  .comment-compose{padding:15px}
  .comment-item{padding:14px}
}


/* ===== V6.23 discussion forum ===== */
.forum-section{padding:24px 0 72px}
.forum-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}
.forum-tabs{display:flex;gap:8px;flex-wrap:wrap}
.forum-tabs button{border:1px solid var(--line);background:#fffdfb;border-radius:999px;padding:8px 13px;cursor:pointer}
.forum-tabs button.active{background:#f8e4e8;border-color:#efc4cc;color:#a75665;font-weight:800}
.forum-list{display:grid;gap:12px}
.forum-post-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--line);border-radius:20px;padding:20px;background:#fffdfb;transition:.18s ease}
.forum-post-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(70,45,35,.06)}
.forum-post-top,.forum-post-bottom,.forum-post-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.forum-post-top{justify-content:space-between}
.forum-post-card h3{font-size:20px;margin:12px 0 8px}
.forum-post-card p{margin:0;color:#635a55;line-height:1.75}
.forum-post-bottom{margin-top:13px;color:#8b8079;font-size:12px;justify-content:space-between}
.forum-back{display:inline-block;margin-bottom:16px;text-decoration:none;color:#9e6873}
.forum-post-detail{border:1px solid var(--line);border-radius:22px;background:#fffdfb;padding:28px}
.forum-post-detail h1{font-size:36px;line-height:1.25;margin:15px 0}
.forum-post-meta{color:#8a8079;font-size:12px}
.forum-post-content{white-space:pre-wrap;line-height:1.9;color:#433d39;font-size:16px}
.forum-replies{margin-top:26px;max-width:900px}
.forum-compose-card textarea{min-height:180px}
.forum-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
@media(max-width:640px){
  .forum-post-detail{padding:20px}
  .forum-post-detail h1{font-size:27px}
  .forum-post-card{padding:16px}
}


/* ===== V6.24 profile + social comments ===== */
.account-user-head{display:flex;align-items:center;gap:12px}
.profile-avatar{border-radius:50%;overflow:hidden;background:#f7e3e7;color:#a85867;display:grid;place-items:center;font-weight:900;border:1px solid #efd5da;flex:0 0 auto}
.profile-avatar img,.comment-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-avatar-lg{width:48px;height:48px;font-size:18px}
.profile-avatar-xl{width:104px;height:104px;font-size:34px}
.profile-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:start;margin-top:18px}
.profile-editor-fields{max-width:560px}
.profile-editor .field{margin-bottom:16px}

.comment-thread{border:1px solid var(--line);border-radius:18px;background:#fffdfb;overflow:hidden}
.comment-thread>.comment-item{border:0;border-radius:0;background:transparent}
.comment-thread .comment-replies{margin:0 18px 16px 62px;border-left:2px solid #f2dfe3;padding-left:12px;display:grid;gap:8px}
.comment-reply-item{padding:11px 12px;border-radius:14px;background:#fff9f7}
.comment-avatar{overflow:hidden}
.comment-avatar span{display:grid;place-items:center;width:100%;height:100%}
.comment-avatar-sm{width:30px;height:30px;flex-basis:30px;font-size:12px}
.comment-actions{display:flex;align-items:center;gap:14px;margin-top:9px;flex-wrap:wrap}
.comment-action{border:0;background:transparent;padding:0;color:#887c75;cursor:pointer;font-size:12px}
.comment-action:hover{color:#c56f7f}
.comment-action.liked{color:#d85f77;font-weight:800}
.danger-text{color:#b88686}
.reply-box{margin-top:12px;padding:12px;border:1px solid #eadfd8;border-radius:14px;background:#fff}
.reply-box textarea{width:100%;min-height:76px;border:0;outline:none;resize:vertical;font:inherit;line-height:1.6}
.reply-box-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}

@media(max-width:640px){
  .profile-editor{grid-template-columns:1fr}
  .profile-avatar-xl{width:88px;height:88px}
  .comment-thread .comment-replies{margin-left:40px;margin-right:10px}
}


/* ===== V6.27 separate login / register ===== */
.member-card-v3{max-width:590px;padding:30px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f5efeb;border-radius:14px;padding:4px;margin:18px 0}
.auth-tabs button{border:0;background:transparent;border-radius:11px;padding:11px 14px;font-weight:850;color:#81756e;cursor:pointer}
.auth-tabs button.active{background:#fff;box-shadow:0 4px 14px rgba(62,43,34,.06);color:#c75f73}
.auth-pane{display:grid;gap:14px}
.auth-password-grid{grid-template-columns:1fr 1fr}
.auth-text-btn,.auth-back-btn{border:0;background:transparent;color:#a15f6b;cursor:pointer;text-align:center;padding:4px;font-size:13px}
.auth-back-btn{text-align:left;padding-left:0;margin-bottom:-4px}
#memberRecoverPane h3{margin:0}
@media(max-width:640px){
  .member-card-v3{padding:24px 18px 22px}
  .auth-password-grid{grid-template-columns:1fr}
}


/* ===== V6.28 UX improvements ===== */

/* notification / knowledge center visual */
.notification-badge{
  display:inline-flex;
  min-width:18px;
  height:18px;
  align-items:center;
  justify-content:center;
  padding:0 5px;
  border-radius:999px;
  background:#d9687e;
  color:#fff;
  font-size:11px;
  font-weight:800;
}

/* empty states */
.ux-empty{
  padding:32px 20px;
  text-align:center;
  color:#8b8078;
  background:#fffaf7;
  border-radius:18px;
}

/* knowledge cards */
.knowledge-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:18px;
}

/* mobile friendly action bar */
.mobile-action-bar{
  position:sticky;
  bottom:12px;
  z-index:20;
}

@media(max-width:640px){
  .mobile-action-bar{
    bottom:8px;
  }
}
