:root{
  --bg:#f4f6fb;--card:#fff;--text:#12233f;--muted:#8b94a6;--line:#e8ebf1;
  --red:#f04444;--orange:#ff4b0b;--green:#7fc648;--blue:#2478d7;--purple:#8b45e6;
  --shadow:0 4px 18px rgba(24,40,72,.08);--radius:12px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;font-size:15px}
body{min-height:100vh}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
#app{width:100%;max-width:750px;min-height:100vh;margin:0 auto;background:var(--bg);padding-bottom:78px}
.page-loading{padding:80px 20px;text-align:center;color:var(--muted)}
.topbar{height:52px;position:sticky;top:0;z-index:30;background:#fff;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);padding:0 52px}
.topbar .back{position:absolute;left:14px;width:34px;height:34px;border:0;background:transparent;font-size:25px;color:#23334e}
.topbar .home{position:absolute;right:14px;border:0;background:transparent;color:#536079}
.topbar .title{font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page{padding:12px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:14px;overflow:hidden}
.card-pad{padding:16px}
.btn{border:0;border-radius:6px;min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.btn-primary{background:var(--orange);color:#fff}
.btn-red{background:var(--red);color:#fff}
.btn-green{background:var(--green);color:#fff}
.btn-blue{background:var(--blue);color:#fff}
.btn-light{background:#fff;color:#24344d;border:1px solid #cfd5df}
.btn-gray{background:#eef1f6;color:#5a6576}
.btn-block{width:100%}
.btn-sm{min-height:34px;padding:0 12px;font-size:13px}
.btn-link{border:0;background:transparent;color:var(--blue);padding:0}
.form-group{margin-bottom:16px}
.form-label{display:block;margin-bottom:8px;font-weight:700;color:#1c2f4b}
.form-tip{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5}
.input,.select,.textarea{width:100%;border:1px solid #d8dde7;border-radius:6px;background:#fff;padding:11px 12px;outline:none;color:#1b2b45}
.textarea{min-height:110px;resize:vertical}
.input:focus,.select:focus,.textarea:focus,.rich-editor:focus{border-color:var(--orange);box-shadow:0 0 0 2px rgba(255,75,11,.08)}
.switch-row{display:flex;align-items:center;justify-content:space-between;min-height:58px;border-bottom:1px solid var(--line);gap:12px}
.switch-row:last-child{border-bottom:0}
.switch{position:relative;width:52px;height:30px;flex:none}
.switch input{display:none}
.switch span{position:absolute;inset:0;background:#adb3bd;border-radius:20px;transition:.2s}
.switch span:after{content:"";position:absolute;width:26px;height:26px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:.2s}
.switch input:checked+span{background:var(--orange)}
.switch input:checked+span:after{transform:translateX(22px)}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:40;width:100%;max-width:750px;height:68px;background:#fff;border-top:1px solid #dfe3ea;display:flex;padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b8f98;font-size:12px;gap:4px}
.bottom-nav a .ico{font-size:23px;line-height:1}
.bottom-nav a.active{color:var(--orange)}
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.login-card{width:100%;max-width:430px;background:#fff;border-radius:16px;padding:28px;box-shadow:var(--shadow)}
.login-logo{width:68px;height:68px;border-radius:50%;background:linear-gradient(135deg,#ff783b,#f04444);color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;margin:0 auto 14px}
.login-title{text-align:center;font-size:22px;font-weight:800;margin-bottom:8px}
.login-sub{text-align:center;color:var(--muted);margin-bottom:24px}
.author-head{padding:15px;background:#fff;border-radius:14px 14px 0 0;display:flex;gap:12px;align-items:flex-start}
.avatar{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#eee;flex:none}
.author-main{min-width:0;flex:1}
.author-name{font-size:20px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.author-id{color:#555f70;margin-top:4px}
.author-home{color:#075ed5;font-weight:700;margin-top:4px;display:inline-block}
.money-mini{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:170px;text-align:center}
.money-mini .label{color:#757e8f;font-size:13px}
.money-mini .num{font-size:24px;color:var(--red);margin-top:2px}
.dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 16px 18px;background:#fff}
.dashboard-actions .btn{height:70px;font-size:22px;border-radius:4px}
.follow-stats{display:grid;grid-template-columns:1fr 1fr;background:#fff;padding:12px 0 20px;border-bottom:1px solid var(--line)}
.follow-stats .item{text-align:center}
.follow-stats .circle{width:42px;height:42px;border-radius:50%;margin:0 auto 8px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px}
.follow-stats .text{font-size:19px}
.income-strip{display:grid;grid-template-columns:1fr 1fr;background:#fff;padding:20px 10px;text-align:center;font-size:18px}
.income-strip>div:first-child{border-right:1px solid var(--line)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:12px;overflow:hidden}
.feature-item{min-height:160px;padding:22px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;gap:12px}
.feature-item:nth-child(3n){border-right:0}
.feature-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:25px}
.feature-item .name{font-size:17px}
.account-switch{margin:0 12px 12px;background:#fff;border-radius:8px;padding:10px 12px;display:flex;align-items:center;gap:10px}
.account-switch select{flex:1;border:0;background:transparent;outline:none;font-weight:700;color:#1d2f4c}
.section-title{font-size:18px;font-weight:800;margin:4px 2px 12px}
.search-bar{display:flex;gap:8px;background:#fff;padding:12px;border-radius:10px;margin-bottom:12px}
.search-bar .input,.search-bar .select{padding:9px 10px;min-width:0}
.search-bar .input{flex:1}
.tabs{display:flex;background:#fff;border-radius:10px;overflow:hidden;margin-bottom:12px}
.tab{flex:1;text-align:center;padding:14px 6px;border-bottom:3px solid transparent;color:#596378}
.tab.active{color:#1c2a41;border-bottom-color:var(--red);font-weight:800}
.article-card{position:relative;background:#fff;border-radius:10px;margin-bottom:12px;padding:18px 18px 14px;overflow:hidden}
.article-badge{position:absolute;right:-23px;top:10px;width:84px;transform:rotate(45deg);text-align:center;color:#fff;background:#ff6b20;font-size:12px;padding:2px}
.article-time{font-size:13px;color:#5f687a;margin-bottom:12px}
.article-title{font-size:20px;font-weight:800;line-height:1.45;padding-right:24px}
.article-price{color:#ff3f00;font-weight:800;white-space:nowrap;margin-left:8px}
.article-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center;margin:24px 0 14px;color:#4f586b}
.article-meta b{display:block;color:#111827;margin-top:4px}
.article-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:13px}
.cover-preview,.asset-preview{width:130px;height:130px;border:1px dashed #c8ced8;border-radius:7px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fafbfc;color:#8d96a7}
.cover-preview img,.asset-preview img{width:100%;height:100%;object-fit:cover}
.rich-tools{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}
.rich-editor{min-height:190px;border:1px solid #d8dde7;border-radius:6px;padding:14px;background:#fff;outline:none;line-height:1.65;overflow:auto}
.rich-editor img{max-width:100%;height:auto}
.editor-footer{position:sticky;bottom:68px;background:rgba(244,246,251,.96);padding:10px 0;z-index:20}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;padding:18px 6px;text-align:center;border-radius:10px;margin-bottom:12px}
.stat-grid .num{font-size:21px;color:#111827}
.stat-grid .txt{font-size:13px;color:#5e6677;margin-top:8px}
.list-row{display:flex;gap:12px;align-items:center;padding:15px;border-bottom:1px solid var(--line);background:#fff}
.list-row:last-child{border-bottom:0}
.list-row .grow{flex:1;min-width:0}
.list-row .title{font-size:17px;line-height:1.35}
.list-row .sub{font-size:13px;color:var(--muted);margin-top:5px}
.list-row .amount{color:var(--red);font-size:17px;text-align:right}
.status-blue{color:#0c46ff}.status-red{color:var(--red)}.status-green{color:#219653}
.daily-card{background:#fff;padding:18px;border-bottom:1px solid var(--line)}
.daily-date{font-size:20px;font-weight:800;margin-bottom:14px}
.daily-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.notice{padding:14px;border-radius:8px;background:#fff8b8;color:#252b35;line-height:1.55;margin-bottom:14px}
.empty{text-align:center;padding:60px 20px;color:var(--muted);background:#fff;border-radius:10px}
.thumb{width:54px;height:54px;border-radius:7px;object-fit:cover;background:#eee;flex:none}
.permission-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.permission-list label{background:#f5f6f8;padding:10px;border-radius:6px}
.qrcode-box{width:260px;height:260px;margin:20px auto;background:#fff;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:center}
.qrcode-box img{width:100%;height:100%;object-fit:contain}
.service-note{background:#fff;padding:24px 18px;line-height:1.9}
.service-note h3{color:var(--red);margin:0 0 8px}
.service-note p{margin:0 0 26px}
.fixed-back{position:fixed;right:16px;bottom:88px;width:52px;height:52px;border-radius:50%;border:1px solid #e7e9ef;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#667083;z-index:25}
#toast{position:fixed;left:50%;top:44%;transform:translate(-50%,-50%);z-index:9999;background:rgba(15,23,42,.88);color:#fff;border-radius:7px;padding:11px 18px;max-width:80%;display:none;text-align:center}
.modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100;display:flex;align-items:flex-end;justify-content:center}
.modal{width:100%;max-width:750px;max-height:88vh;overflow:auto;background:#fff;border-radius:16px 16px 0 0;padding:18px}
.modal-head{display:flex;justify-content:space-between;align-items:center;font-size:19px;font-weight:800;margin-bottom:16px}
.modal-close{border:0;background:transparent;font-size:26px;color:#747d8d}
.row{display:flex;gap:12px}.row>*{flex:1;min-width:0}
.muted{color:var(--muted)}.red{color:var(--red)}.orange{color:var(--orange)}.blue{color:var(--blue)}
.text-center{text-align:center}.mt10{margin-top:10px}.mt16{margin-top:16px}.mb0{margin-bottom:0}
@media(max-width:560px){
  .money-mini{min-width:130px}.money-mini .num{font-size:20px}.author-name{font-size:17px}.avatar{width:64px;height:64px}
  .feature-item{min-height:132px}.feature-item .name{font-size:15px}.feature-icon{width:45px;height:45px}
  .dashboard-actions .btn{height:60px;font-size:19px}.article-title{font-size:18px}.stat-grid .num{font-size:18px}
  .search-bar{flex-wrap:wrap}.search-bar .select{width:calc(50% - 4px);flex:auto}.row{flex-direction:column;gap:0}
}

/* ===== V2.2 文章管理页 / 详情页 ===== */
.article-title-link{cursor:pointer;color:#111827;transition:.15s}
.article-title-link:hover{color:#e93421;text-decoration:underline}
.article-manage-page{padding-bottom:92px}
.article-manage-head{margin-bottom:10px}
.manage-title-line{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px}
.manage-title{font-size:20px;font-weight:800;line-height:1.5;color:#111827}
.manage-top-actions{display:flex;gap:10px}
.manage-top-actions .btn{min-height:48px;font-size:17px}
.manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px solid #e1e5ed;border-radius:10px;overflow:hidden}
.manage-cell{appearance:none;border:0;border-right:1px solid #e1e5ed;border-bottom:1px solid #e1e5ed;background:#fff;min-height:94px;padding:16px 10px;text-align:center;color:#111827;cursor:pointer}
.manage-cell:nth-child(2n){border-right:0}
.manage-cell b{display:block;font-size:17px;line-height:1.3;margin-bottom:7px}
.manage-cell span{display:block;font-size:13px;color:#697386;line-height:1.4}
.manage-cell:hover{background:#fff8f5}
.manage-cell.disabled{cursor:not-allowed;background:#fafafa;color:#c8c8c8}
.manage-cell.disabled span{color:#b9b9b9}
.buyer-list{max-height:60vh;overflow:auto}
.buyer-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f5}
.buyer-row:last-child{border-bottom:0}
.buyer-row img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#f1f3f7}
.empty-inline{color:#9aa2b1;padding:14px 0}
.detail-page{padding-bottom:92px}
.detail-title{font-size:22px;font-weight:800;line-height:1.55;background:#fff;padding:18px 16px;margin-bottom:18px;border-bottom:1px solid #e6e8ee}
.detail-content-card{background:#fff;border:1px solid #d9dde5;border-radius:8px;padding:20px;margin:0 5% 18px}
.rich-readonly{font-size:17px;line-height:1.75;color:#172033;word-break:break-word;overflow-wrap:anywhere}
.rich-readonly img{max-width:100%;height:auto}
.detail-card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5;margin-top:18px;padding-top:14px;color:#9aa2b1;font-size:13px}
.detail-section-label{display:inline-block;background:#e93421;color:#fff;font-weight:800;padding:9px 14px;border-radius:0 22px 22px 0;margin:0 0 16px -10px}
.detail-paid-section{background:#fff;padding:18px 16px;border-top:1px solid #eef0f4;border-bottom:1px solid #eef0f4}
.detail-paid-head{display:flex;justify-content:space-between;gap:12px;color:#7b8494;margin-bottom:22px;font-size:13px}
.rich-readonly.paid{min-height:100px;font-size:18px;color:#111827}
.detail-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:14px;border-top:1px solid #edf0f5}
@media (max-width:480px){.manage-cell{min-height:86px}.manage-cell b{font-size:16px}.detail-content-card{margin-left:0;margin-right:0}.detail-title{font-size:19px}}


/* ===== V2.3 有订单锁编辑 + 详情页对齐美化 ===== */
.edit-locked-tip{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:6px;background:#f3f4f6;color:#8b94a6;font-size:12px;border:1px solid #e2e5ea}
.article-edit-lock{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border-radius:6px;background:#f3f4f6;border:1px solid #e1e5eb;color:#8a93a3;font-size:13px;white-space:nowrap}
.detail-page{padding:14px 14px 92px}
.detail-stack{width:100%;display:flex;flex-direction:column;gap:12px}
.detail-title{width:100%;margin:0;padding:18px 20px;background:#fff;border:1px solid #e2e6ee;border-radius:10px;box-shadow:0 2px 10px rgba(24,40,72,.05);font-size:22px;font-weight:800;line-height:1.55}
.detail-content-card{width:100%;margin:0;padding:20px;background:#fff;border:1px solid #e2e6ee;border-radius:10px;box-shadow:0 2px 10px rgba(24,40,72,.04)}
.detail-section-label{align-self:flex-start;margin:2px 0 0;padding:9px 16px;border-radius:8px;background:#e93421;color:#fff;font-weight:800}
.detail-paid-section{width:100%;margin:0;padding:20px;background:#fff;border:1px solid #e2e6ee;border-radius:10px;box-shadow:0 2px 10px rgba(24,40,72,.04)}
.detail-paid-head{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #edf0f5}
.detail-actions{min-height:56px;align-items:center}
.detail-edit-lock{margin-right:auto;display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border-radius:6px;background:#f3f4f6;border:1px solid #e1e5eb;color:#8a93a3;font-size:13px}
@media(max-width:480px){
  .detail-page{padding:10px 10px 88px}
  .detail-title{font-size:19px;padding:15px}
  .detail-content-card,.detail-paid-section{padding:15px}
  .article-edit-lock{font-size:12px;padding:0 9px}
}


/* ===== V2.4 每篇文章二维码 + 上一篇/下一篇 ===== */
.article-qrcode-panel{width:100%;min-height:330px;margin:8px 0 18px;padding:18px 14px 14px;background:#fff;border:1px solid #edf0f5;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.article-qrcode-link{display:block;line-height:0;border-radius:8px;background:#fff;padding:4px}
.article-qrcode-img{display:block;width:min(360px,78vw);height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff}
.article-qrcode-tip{margin-top:10px;color:#8a93a3;font-size:13px;text-align:center}
.article-qrcode-fallback{width:100%;max-width:520px;min-height:160px;padding:20px;border:1px dashed #d9dee7;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#8a93a3;text-align:center;word-break:break-all}
.manage-top-actions-v24{align-items:stretch;justify-content:space-between}
.manage-main-buttons{display:flex;gap:10px;flex:1;min-width:0}
.manage-main-buttons .btn{min-height:48px;font-size:17px}
.article-neighbor-nav{display:flex;align-items:center;gap:10px;flex:none}
.article-nav-btn{appearance:none;width:58px;height:58px;padding:4px;border:1px solid #d8dde6;border-radius:50%;background:#fff;color:#333;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;cursor:pointer;line-height:1.05}
.article-nav-icon{font-size:28px;font-weight:800;line-height:24px;color:#111}
.article-nav-btn span:last-child{font-size:11px;color:#6d7584}
.article-nav-btn:hover{border-color:#e93421;background:#fff8f5}
.article-nav-btn.disabled{opacity:.38;cursor:not-allowed;background:#f6f7f9}
@media(max-width:560px){
  .article-qrcode-panel{min-height:290px;padding:14px 10px}
  .article-qrcode-img{width:min(310px,82vw)}
  .manage-top-actions-v24{gap:8px}
  .manage-main-buttons{gap:8px}
  .manage-main-buttons .btn{font-size:15px;padding-left:12px;padding-right:12px}
  .article-edit-lock{max-width:130px;white-space:normal;text-align:center}
  .article-neighbor-nav{gap:6px}
  .article-nav-btn{width:52px;height:52px}
  .article-nav-icon{font-size:24px;line-height:21px}
  .article-nav-btn span:last-child{font-size:10px}
}
@media(max-width:390px){
  .manage-top-actions-v24{flex-wrap:wrap}
  .manage-main-buttons{width:100%;flex-basis:100%}
  .article-neighbor-nav{margin-left:auto}
}


/* ===== V2.5 详情快捷功能 / 精简编辑 / 返还料筛选 ===== */
.article-search-v25{align-items:stretch}
.material-filter-trigger{appearance:none;min-width:150px;border:1px solid #d5dbe6;border-radius:8px;background:#fff;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:16px;color:#1f2937;cursor:pointer}
.material-filter-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#fff;border:1px solid #e2e6ee;border-radius:10px;padding:12px;margin:-2px 0 12px}
.material-filter-panel[hidden]{display:none}
.material-filter-option{appearance:none;border:1px solid transparent;background:#ececef;color:#8a8f99;border-radius:5px;min-height:48px;font-size:16px;cursor:pointer}
.material-filter-option.active{background:#fff1f1;border-color:#ef2b22;color:#df2018}
.detail-actions{justify-content:flex-end}
.detail-tool-card{width:100%;background:#fff;border:1px solid #e2e6ee;border-radius:10px;box-shadow:0 2px 10px rgba(24,40,72,.04);padding:16px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.detail-round-action{appearance:none;width:72px;height:72px;border-radius:50%;border:1px solid #d9dee8;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#555;cursor:pointer;padding:4px;line-height:1.05}
.detail-round-action .detail-round-icon{font-size:24px;font-weight:800;line-height:24px}
.detail-round-action span:last-child{font-size:12px;white-space:nowrap}
.detail-round-action.tag{background:#3d9bf1;color:#fff;border-color:#3d9bf1}
.detail-round-action.free{background:#eda025;color:#fff;border-color:#eda025}
.detail-round-action.paid{background:#ef641f;color:#fff;border-color:#ef641f}
.detail-round-action.disabled{opacity:.35;cursor:not-allowed;background:#f4f5f7;color:#777;border-color:#ddd}
.append-page{padding-bottom:90px}.append-article-title{font-size:18px;font-weight:800;line-height:1.5}.append-editor{min-height:260px}.append-editor:empty:before{content:attr(data-placeholder);color:#b4bac4}
.compact-edit-page{padding-bottom:90px}.compact-edit-form{max-width:720px;margin:0 auto}.compact-edit-form .card{margin-top:0}
@media(max-width:560px){
  .article-search-v25{display:grid;grid-template-columns:120px 1fr 58px;gap:8px;flex-wrap:nowrap}
  .material-filter-trigger{min-width:0;padding:0 10px;font-size:15px}
  .material-filter-panel{gap:8px}.material-filter-option{font-size:15px;min-height:44px}
  .detail-tool-card{gap:10px;padding:14px 8px}
  .detail-round-action{width:62px;height:62px}.detail-round-action .detail-round-icon{font-size:21px}.detail-round-action span:last-child{font-size:10px}
}


/* ===== V2.7 详情页正文编辑弹窗 ===== */
.detail-edit-mask{align-items:center;padding:18px}
.detail-edit-mask .modal{max-width:660px;border-radius:16px;padding:22px;max-height:92vh}
.detail-content-edit-modal{display:flex;flex-direction:column;gap:14px}
.detail-content-edit-box{min-height:210px;max-height:48vh;overflow:auto;border:1px solid #ff4b18;border-radius:5px;padding:18px 20px;font-size:17px;line-height:1.75;background:#fff}
.detail-content-edit-box:empty:before{content:attr(data-placeholder);color:#aeb5c0}
.detail-content-edit-box img{max-width:100%;height:auto;display:block;margin:10px 0}
.detail-edit-image-row{display:flex;justify-content:flex-start}
.detail-image-upload{appearance:none;width:110px;height:112px;border:1px solid #e1e1e1;background:#f8f8f8;color:#999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-size:14px}
.detail-image-icon{font-size:40px;line-height:1}
.detail-content-save{min-height:54px;font-size:18px}
@media(max-width:560px){.detail-edit-mask{padding:10px}.detail-edit-mask .modal{padding:16px}.detail-content-edit-box{min-height:190px;padding:14px;font-size:16px}.detail-image-upload{width:96px;height:98px}}

/* ===== V2.9 制作料：注意事项 / 快速定价 / 可选分类 / 扩展设置 ===== */
.material-create-page{padding-bottom:110px}
.material-author-card{margin-bottom:10px}
.material-category-card{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;gap:16px}
.category-main-btn{border:0;border-radius:5px;background:#1769e0;color:#fff;font-size:16px;font-weight:700;min-width:96px;padding:12px 22px;cursor:pointer}
.category-selected-label{margin-left:auto;color:#8d8f96;font-size:15px;cursor:pointer;white-space:nowrap}
.material-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.material-help-btn{border:0;background:transparent;color:#3472cd;font-size:14px;font-weight:600;cursor:pointer;padding:4px 0}
.material-price-row{display:flex;align-items:stretch;gap:14px}
.material-price-row .input{flex:1;min-width:0}
.quick-price-btn{min-width:126px;border-radius:6px;font-size:16px;font-weight:700;background:#ff4b0b;color:#fff;border-color:#ff4b0b}
.material-switch-card{padding:0;overflow:hidden}
.material-switch-card .switch-row{padding:16px 20px;border-bottom:1px solid #edf0f3;margin:0}
.timed-open-field{padding:14px 20px 18px;background:#fafbfc;border-bottom:1px solid #edf0f3}
.material-template-card{padding-bottom:16px}
.template-choice-list{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:12px 0 2px}
.template-choice{position:relative;flex:0 0 76px;width:76px;height:76px;border:2px solid transparent;border-radius:5px;padding:5px;background:#f6efe0;cursor:pointer;overflow:hidden}
.template-choice span{display:block;width:100%;height:100%;border-radius:2px;background:#fff7dc;border:6px solid rgba(255,255,255,.75);box-shadow:inset 0 0 0 2px rgba(180,128,44,.2)}
.template-choice.selected{border-color:#ff4b0b;box-shadow:0 0 0 2px rgba(255,75,11,.12)}
.template-1{background:linear-gradient(135deg,#d71b12,#ffb145,#d71b12)}
.template-2{background:linear-gradient(135deg,#e8c177,#fff0bc,#c69a4f)}
.template-3{background:linear-gradient(135deg,#b20e09,#f7cf72,#a30c08)}
.template-4{background:linear-gradient(135deg,#c51b13,#f7d7b0,#ad0e08)}
.template-5{background:linear-gradient(135deg,#d62414,#ffc965,#b8120a)}
.template-6{background:linear-gradient(135deg,#16458f,#f1cf53,#1b5da6)}
.material-extra-card{margin-bottom:18px}
.material-notice-modal .modal{max-width:650px}
.material-notice-body{font-size:15px;line-height:1.9;color:#111;padding:4px 4px 2px}
.material-notice-red{color:#f04438;font-weight:700;margin-bottom:4px}
.material-notice-body p{margin:6px 0 0;font-weight:600}
.bottom-sheet-modal{align-items:flex-end;padding:0}
.bottom-sheet-modal .modal{width:100%;max-width:720px;max-height:72vh;border-radius:16px 16px 0 0;margin:0 auto;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.bottom-sheet-modal .modal-head{justify-content:center;position:relative;padding:18px 20px;border-bottom:1px solid #eee;font-size:20px}
.bottom-sheet-modal .modal-close{position:absolute;left:16px;right:auto;font-size:0;width:auto;height:auto;background:none;color:#8a8f98}
.bottom-sheet-modal .modal-close::after{content:'取消';font-size:15px}
.quick-price-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:22px 28px 28px}
.quick-price-item{appearance:none;border:1px solid #ccd1d8;background:#fff;border-radius:5px;min-height:54px;font-size:19px;color:#111;cursor:pointer}
.quick-price-item:first-child{border-color:#ff4b0b;color:#111;background:#fff7f5}
.quick-price-item:hover{border-color:#ff4b0b}
.category-picker-modal .modal{min-height:48vh}
.category-picker-list{display:flex;flex-direction:column;max-height:36vh;overflow:auto;padding:6px 20px}
.category-picker-item{appearance:none;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left;padding:14px 10px;font-size:16px;color:#222;cursor:pointer}
.category-picker-item.selected{color:#ff4b0b;font-weight:700}
.category-create-form{display:flex;gap:10px;padding:16px 20px;border-top:1px solid #eee;position:sticky;bottom:0;background:#fff}
.category-create-form .input{flex:1}
@media(max-width:560px){
  .material-category-card{padding:12px 14px}
  .category-main-btn{min-width:90px;padding:11px 18px}
  .material-price-row{gap:8px}
  .quick-price-btn{min-width:108px;font-size:15px;padding-left:10px;padding-right:10px}
  .quick-price-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 16px 24px;gap:10px}
  .quick-price-item{min-height:50px;font-size:17px}
  .template-choice{flex-basis:68px;width:68px;height:68px}
}


/* ===== V3.1 会员专辑（包月包时） ===== */
.album-create-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.album-author-info{display:flex;align-items:center;gap:10px}.album-create-actions{display:flex;align-items:center;gap:8px}.btn-gold{background:#e8ad43!important;border-color:#e8ad43!important;color:#fff!important}.album-create-btn{border-radius:999px;font-weight:700}.album-assign-row{padding:16px 20px;border-top:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;gap:16px}.album-select{min-width:220px;max-width:48%;height:42px;border:1px solid #d9dee7;border-radius:7px;background:#fff;padding:0 10px}.album-list-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:10px 0}.album-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.album-page-head h2{margin:0 0 4px}.album-grid{display:grid;gap:12px}.album-card{background:#fff;border:1px solid #e6e9ef;border-radius:12px;padding:14px;display:grid;grid-template-columns:96px 1fr auto;gap:14px;align-items:center}.album-cover{width:96px;height:96px;border-radius:9px;background:#f3f5f8;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#9097a4}.album-cover img{width:100%;height:100%;object-fit:cover}.album-name{font-size:19px;font-weight:800}.album-desc{margin-top:5px;color:#606878}.album-meta{margin-top:7px;color:#969ca7;font-size:13px}.album-plans{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.album-plans span{padding:4px 8px;border-radius:999px;background:#fff3dd;color:#b27612;font-size:12px}.album-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.album-editor-page{padding-bottom:90px}.album-cover-edit{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.album-cover-preview{width:120px;height:120px;cursor:pointer}.album-cover-preview img{width:100%;height:100%;object-fit:cover;border-radius:6px}.album-plan-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.album-plan-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-bottom:10px}.album-submit{max-width:640px;margin:20px auto 0;min-height:56px;font-size:18px}
@media(max-width:560px){.album-create-head{padding:10px 12px}.album-create-btn{padding:8px 12px;font-size:13px}.album-assign-row{align-items:flex-start;flex-direction:column}.album-select{max-width:none;width:100%;min-width:0}.album-page-head{align-items:center}.album-page-head .muted{display:none}.album-card{grid-template-columns:72px 1fr;gap:10px}.album-cover{width:72px;height:72px}.album-actions{grid-column:1/-1;justify-content:flex-start}.album-plan-row{grid-template-columns:1fr 1fr auto}.album-cover-preview{width:92px;height:92px}}


/* ===== V3.2 作者端充值页 + 在线客服直达 ===== */
.recharge-page{padding:0 0 110px;background:#fff;min-height:calc(100vh - 58px)}
.recharge-balance-card{background:linear-gradient(135deg,#6fdca5,#73d8a9);padding:34px 22px 42px;color:#fff}
.recharge-balance-label{font-size:20px;opacity:.95;margin-bottom:22px}
.recharge-balance-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.recharge-balance-num{font-size:52px;font-weight:300;line-height:1}
.recharge-detail-btn{border:0;background:#fff;color:#1f2937;border-radius:28px;padding:12px 25px;font-size:18px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.recharge-section{padding:28px 20px 8px;background:#fff}
.recharge-section-title{font-size:24px;color:#111827;margin:0 0 24px;padding-left:20px;position:relative}
.recharge-section-title:before{content:"";position:absolute;left:0;top:2px;width:7px;height:30px;background:#74e0ae}
.recharge-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.recharge-amount{height:128px;border:1px solid #cfd3da;background:#fff;color:#666;font-size:30px;cursor:pointer}
.recharge-amount.active{border:2px solid #ef4444;color:#ef4444;background:#fffafa}
.recharge-custom-wrap{height:58px;margin:24px 10px 0;border:1px solid #ef4444;border-radius:3px;display:flex;align-items:center;padding:0 16px;color:#9ca3af;font-size:18px}
.recharge-custom-wrap input{flex:1;min-width:0;border:0;outline:0;font-size:18px;color:#111827;height:54px;background:transparent}
.recharge-method{width:100%;height:72px;margin-bottom:12px;border:1px solid #e5e7eb;background:#fff;display:flex;align-items:center;padding:0 18px;cursor:pointer;text-align:left}
.recharge-method-icon{width:46px;height:46px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:800;margin-right:15px;flex:none}
.recharge-method-icon.wechat{background:#22b63f}.recharge-method-icon.alipay{background:#149ceb;font-size:28px}
.recharge-method-name{font-size:21px;color:#374151;flex:1}
.recharge-radio{width:32px;height:32px;border:1px solid #aaa;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px}
.recharge-method.active .recharge-radio{border-color:#22c55e;background:#22c55e}
.recharge-submit{display:block;width:82%;height:62px;margin:34px auto 0;border:0;border-radius:32px;background:#f3443e;color:#fff;font-size:24px;cursor:pointer}
.recharge-submit:disabled{opacity:.65;cursor:not-allowed}
.recharge-safe-tip{color:#a0a7b4;text-align:center;font-size:12px;line-height:1.7;margin:14px 18px 0}
.recharge-qrcode-modal{max-width:430px;text-align:center;border-radius:16px;padding-bottom:26px}
.recharge-qrcode-modal .qrcode-box{width:240px;height:240px}.recharge-tip{color:#7b8494;line-height:1.7;padding:0 10px}
@media(max-width:560px){
  .recharge-balance-card{padding:28px 18px 36px}.recharge-balance-label{font-size:18px}.recharge-balance-num{font-size:46px}
  .recharge-detail-btn{font-size:16px;padding:10px 20px}.recharge-section{padding:24px 16px 6px}.recharge-section-title{font-size:21px}
  .recharge-presets{gap:10px}.recharge-amount{height:112px;font-size:27px}.recharge-method{height:68px}.recharge-method-name{font-size:19px}
  .recharge-submit{width:84%;height:58px;font-size:22px}
}
@media(max-width:390px){.recharge-amount{height:96px;font-size:23px}.recharge-balance-num{font-size:40px}.recharge-detail-btn{padding:9px 15px}}


/* SELLER_HOME_SETTINGS_CLEAR_SIGNATURE_V1 */
.form-label-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.form-label-row .form-label{margin-bottom:0}
.asset-clear-btn{border:0;border-radius:5px;background:#20a8d8;color:#fff;padding:5px 12px;font-size:13px;line-height:1.2;cursor:pointer}
.asset-clear-btn:active{transform:scale(.98)}
@media(max-width:640px){.asset-clear-btn{padding:5px 10px;font-size:12px}}

/* SELLER_FAN_MANAGEMENT_V1 */
.fan-page{padding-bottom:110px}.fan-search{display:flex;background:#fff;border-radius:28px;overflow:hidden;margin-bottom:10px}.fan-search .input{border:0;border-radius:0;text-align:center}.fan-search-btn{width:72px;border:0;background:#4b91dc;color:#fff;font-size:29px}.fan-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#54249b;font-size:17px;margin:8px 4px 10px}.fan-sort{border:0;background:transparent;color:#2267c8;font-weight:800;font-size:17px;max-width:180px}.fan-bulk{display:flex;justify-content:flex-end;gap:8px;margin:8px 0 12px}.fan-card{background:#fff;border-radius:12px;margin-bottom:14px;box-shadow:var(--shadow);overflow:hidden}.fan-card.is-blocked{opacity:.72}.fan-head-row{display:flex;align-items:center;gap:11px;padding:14px 14px 8px}.fan-avatar{width:58px;height:58px;border-radius:8px;object-fit:cover;background:#eee;flex:none}.fan-name-wrap{flex:1;min-width:0}.fan-name{font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fan-sub{font-size:13px;color:#747d8e;margin-top:5px}.fan-edit-remark{border:0;background:#42bfa0;color:#fff;width:30px;height:30px;border-radius:2px;font-size:20px;line-height:1}.fan-promoter{background:#efa65c;color:#fff;padding:7px 10px;font-size:13px;white-space:nowrap}.fan-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 8px}.fan-stats div{text-align:center}.fan-stats b{display:block;font-size:21px;color:#111}.fan-stats span{display:block;color:#858b95;margin-top:6px}.fan-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 14px 14px}.fan-actions .btn{color:#42a967;background:#f5f7fa;border:0;font-size:15px;padding:0 8px}.fan-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:13px 14px;color:#222}.fan-empty .empty span{font-size:12px;color:#a0a7b3}.fan-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px}.fan-tag-choices{display:flex;gap:8px;flex-wrap:wrap}.fan-tag-choice{border:1px solid #cfd5df;background:#fff;border-radius:4px;padding:8px 14px}.fan-modal-desc{color:#555;line-height:1.6;text-align:center;margin:0 0 15px}.fan-big-input{font-size:26px}.fan-detail-who{display:flex;align-items:center;gap:12px;margin-bottom:14px}.fan-date-form{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:8px}.fan-detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 8px;margin-top:20px;text-align:center}.fan-detail-stats div:nth-child(n+4){grid-column:span 1}.fan-detail-stats b{display:block;font-size:22px;color:#111}.fan-detail-stats span{display:block;color:#808793;margin-top:5px}.fan-detail-tabs{background:#f5f6fa;margin:0 0 10px}.fan-detail-row{display:flex;align-items:center;gap:10px;padding:15px;border-bottom:1px solid var(--line)}.fan-detail-row:last-child{border-bottom:0}.fan-detail-price{color:#f04444;font-weight:800}.mt10{margin-top:10px}.mt16{margin-top:16px}
@media(max-width:560px){.fan-summary{font-size:15px}.fan-sort{font-size:15px;max-width:145px}.fan-actions{gap:5px;padding-left:8px;padding-right:8px}.fan-actions .btn{font-size:13px;padding:0 4px}.fan-foot{font-size:13px}.fan-date-form{grid-template-columns:1fr auto 1fr}.fan-date-form .btn{grid-column:1/-1}.fan-detail-stats{grid-template-columns:repeat(2,1fr)}.fan-promoter{padding:5px 7px}.fan-avatar{width:52px;height:52px}}

/* SELLER_AUTHOR_TAXONOMY_V1 */
.taxonomy-page{padding-bottom:90px}.taxonomy-toolbar{display:flex;gap:10px;margin-bottom:12px}.taxonomy-toolbar .btn{flex:1}.taxonomy-card{padding:14px 16px}.taxonomy-card+.taxonomy-card{margin-top:10px}.taxonomy-row{display:flex;align-items:center;gap:12px}.taxonomy-main{flex:1;min-width:0}.taxonomy-name{font-size:16px;font-weight:700;color:#26384a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.taxonomy-meta{font-size:12px;color:#8b98a7;margin-top:4px}.taxonomy-actions{display:flex;gap:7px}.taxonomy-actions .btn{padding:7px 10px}.taxonomy-public-title{margin:18px 2px 8px;font-size:14px;font-weight:700;color:#68788a}.taxonomy-public-chips{display:flex;flex-wrap:wrap;gap:8px}.taxonomy-chip{background:#fff;border:1px solid #e5e9ef;border-radius:16px;padding:6px 11px;font-size:13px;color:#66788a}.taxonomy-empty{background:#fff;border-radius:10px;padding:32px 14px;text-align:center;color:#98a3af}.taxonomy-form-grid{display:grid;grid-template-columns:1fr 90px;gap:10px}.taxonomy-form-grid .full{grid-column:1/-1}.taxonomy-status-row{display:flex;gap:10px;align-items:center;margin-top:10px}.taxonomy-status-row select{flex:1}
