:root{
  --bg:#f6f7f9;--card:#fff;--soft:#f0f2f5;--text:#111827;--muted:#667085;
  --line:#e7eaee;--blue:#2563eb;--blue-soft:#eef4ff;--green:#16825d;--red:#d64555;
  --amber:#986b0b;--shadow:0 8px 24px rgba(15,23,42,.055);--r:20px;--rs:14px
}
*{box-sizing:border-box}
html,body{margin:0;background:#edf1f4;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
body{-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
.app{width:min(460px,100vw);min-height:100vh;margin:auto;background:var(--bg);position:relative}
.main-header{position:sticky;top:0;z-index:10;padding:18px 15px 12px;background:rgba(246,247,249,.95);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,234,238,.9)}
.header-line,.row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.header-line{align-items:flex-start}
.header-line h1{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.5px}
.subtitle,.muted{font-size:12px;color:var(--muted)}
.subtitle{margin-top:4px}
.search{width:100%;height:44px;margin-top:13px;border:1px solid transparent;background:#fff;border-radius:14px;padding:0 14px;outline:none;box-shadow:0 2px 10px rgba(15,23,42,.03)}
.search:focus,.input:focus,.select:focus,.textarea:focus{border-color:#b9c9ef;box-shadow:0 0 0 4px rgba(37,99,235,.06)}
.icon-btn{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:13px;color:var(--text)}
#main{padding:14px 14px 96px}
.card,.panel{background:var(--card);border:1px solid #eef0f3;border-radius:var(--r);padding:15px;margin-bottom:12px;box-shadow:var(--shadow)}
.section-title{display:flex;align-items:center;justify-content:space-between;margin:7px 2px 12px}
.section-title h2,.panel h3{font-size:16px;margin:0}
.chips{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chip,.tag{border:1px solid var(--line);background:#fff;border-radius:999px;color:#475467}
.chip{flex:0 0 auto;padding:8px 12px;font-size:12px}
.chip.active,.tag.blue{background:var(--blue-soft);border-color:#cad8fa;color:var(--blue)}
.tag{display:inline-block;padding:5px 8px;margin:2px 4px 2px 0;font-size:11px;background:var(--soft)}
.tag.green{background:#eef9f3;color:var(--green);border-color:transparent}
.avatar{width:42px;height:42px;border-radius:14px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:700;overflow:hidden;flex:0 0 auto}
.avatar-link{border:0;padding:0;background:transparent;border-radius:14px;flex:0 0 auto}
.avatar-link .avatar{transition:.15s transform,.15s box-shadow;cursor:pointer}
.avatar-link:hover .avatar{transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,23,42,.16)}

.avatar.alt{background:#475467}.avatar.big{width:64px;height:64px;border-radius:20px;font-size:22px}
.post-head,.profile-id{display:flex;align-items:center;gap:10px}.user-meta{flex:1;min-width:0}.user-meta b{display:block;font-size:14px}.user-meta small{color:var(--muted)}
.post-text{font-size:15px;line-height:1.72;margin:13px 0;white-space:pre-wrap}
.media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:10px 0}.media-grid.one{grid-template-columns:1fr}
.media-tile,.goods-img,.detail-cover{background:#eef1f5;overflow:hidden;display:grid;place-items:center;color:#98a2b3}
.media-tile{aspect-ratio:1/1;border-radius:15px}.media-tile img,.media-tile video,.goods-img img,.goods-img video,.detail-cover img,.detail-cover video{width:100%;height:100%;object-fit:cover}
.actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid #f0f2f4;padding-top:10px;margin-top:10px}
.actions button{
  min-height:34px;border:0;background:transparent;color:#667085;padding:6px 8px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;transition:background .16s ease,color .16s ease,transform .12s ease
}
.actions button:hover{background:#f3f5f7;color:#344054}
.actions button:active{transform:scale(.97)}
.actions button:disabled{opacity:.46;cursor:not-allowed}
.actions .liked{color:var(--red)}
.actions .comment-action{color:#475467}
.actions .comment-action:hover{background:#eef4ff;color:#3157c8}
.ui-icon{width:16px;height:16px;display:inline-block;vertical-align:-3px;flex:0 0 auto}
.comment-section-title{display:flex;align-items:center;gap:8px}
.comment-count-pill{font-size:11px;color:#667085;background:#f2f4f7;border-radius:999px;padding:4px 8px}
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;background:#eceff3;border-radius:16px;margin-bottom:12px}
.tabs button{border:0;background:transparent;border-radius:12px;padding:11px 8px;color:#667085;font-weight:600}.tabs button.active{background:#fff;color:#111827;box-shadow:0 2px 8px rgba(15,23,42,.07)}
.goods{display:grid;grid-template-columns:106px 1fr;gap:13px}.goods-img{height:106px;border-radius:16px;font-size:12px}.goods h3{font-size:15px;margin:6px 0;line-height:1.4}
.price{font-size:19px;font-weight:760}.reward{font-size:20px;font-weight:760}.task-meta{display:grid;gap:5px;color:#667085;font-size:13px}
.btn{border:0;border-radius:13px;padding:10px 13px;font-weight:650;transition:transform .12s ease,filter .15s ease,background .15s ease}
.btn:active{transform:scale(.98)}
button:focus-visible,.input:focus-visible,.select:focus-visible,.textarea:focus-visible{
  outline:2px solid rgba(49,87,200,.55);outline-offset:2px
}.btn.primary{background:#111827;color:#fff}.btn.soft{background:#eef0f3;color:#344054}.btn.blue{background:var(--blue);color:#fff}.btn.full{width:100%}
.form{display:grid;gap:12px}.form label{display:grid;gap:6px;font-size:12px;color:#475467}.input,.select,.textarea{width:100%;border:1px solid #dfe4ea;border-radius:13px;background:#fff;padding:11px 12px;outline:none}.textarea{min-height:116px;resize:vertical}
.dual{display:grid;grid-template-columns:1fr 1fr;gap:9px}.toggle-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#f8f9fb;border-radius:14px;padding:12px}.toggle-row input{width:18px;height:18px}
.upload-box,.attachment-box,.verify-doc{border:1px dashed #cfd6df;border-radius:16px;padding:14px;background:#fafbfc}.attachment-box{border-style:solid;margin-top:10px}
.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:#111827;color:#fff;border-radius:12px;padding:10px 12px;font-weight:650}.upload-button input{display:none}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.preview-item{aspect-ratio:1/1;position:relative;border-radius:12px;overflow:hidden;background:#eef1f5}.preview-item img,.preview-item video{width:100%;height:100%;object-fit:cover}.preview-item button{position:absolute;right:5px;top:5px;width:26px;height:26px;border:0;border-radius:50%;background:#111827cc;color:#fff}
.file-list{display:grid;gap:8px;margin-top:10px}.file-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#fff}.file-main{display:flex;align-items:center;gap:9px;min-width:0}.file-icon{width:34px;height:34px;border-radius:10px;background:#eef0f3;display:grid;place-items:center;font-size:11px;font-weight:700;color:#475467;flex:0 0 auto}.file-name{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-remove{border:0;background:#eef0f3;color:#475467;border-radius:9px;width:30px;height:30px}
.notice{border-radius:14px;padding:11px 12px;font-size:12px;line-height:1.6;background:#fff8e8;border:1px solid #f2dfad;color:var(--amber)}
.discover-grid,.verify-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.discover-card,.profile-mini,.verify-choice button{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:0 4px 14px rgba(15,23,42,.03)}
.discover-card{min-height:116px}.discover-card b,.profile-mini b{display:block;margin:9px 0 4px}.discover-card small,.profile-mini small{color:var(--muted)}
.profile-strip{display:flex;gap:10px;overflow:auto;padding-bottom:5px;scrollbar-width:none}.profile-strip::-webkit-scrollbar{display:none}.profile-mini{flex:0 0 145px}.profile-mini .avatar{margin-bottom:8px}


.more-link{
  border:1px solid var(--line);background:#fff;color:#475467;padding:7px 10px;
  border-radius:999px;font-size:11px;font-weight:700;box-shadow:0 2px 8px rgba(15,23,42,.035)
}
.more-link:hover{background:#f8f9fb}
.rank-list{display:grid;gap:10px}
.rank-row{
  display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;
  padding:12px 0;border-bottom:1px solid var(--line)
}
.rank-row:last-child{border-bottom:0}
.rank-no{
  width:30px;height:30px;border-radius:10px;background:#eef0f3;display:grid;place-items:center;
  font-weight:800;font-size:12px;color:#475467
}
.rank-info{min-width:0}
.rank-info b{display:block;font-size:14px;line-height:1.4}
.rank-info small{display:block;color:var(--muted);margin-top:3px}
.activity-toolbar{display:flex;justify-content:flex-end;margin-bottom:10px}
.group-create-head{
  background:#111827;color:#fff;border-radius:20px;padding:16px;margin-bottom:12px
}
.group-create-head h3{margin:0 0 6px}.group-create-head p{margin:0;color:#d0d5dd;font-size:12px;line-height:1.6}
.contact-select{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.contact-select:last-child{border-bottom:0}
.contact-select input{width:18px;height:18px}
.group-chip{
  display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;
  background:#eef4ff;color:var(--blue);font-size:11px
}
.verify-lock{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 16px;
  text-align:center;box-shadow:var(--shadow)
}
.verify-lock-icon{
  width:54px;height:54px;margin:0 auto 12px;border-radius:18px;background:#111827;color:#fff;
  display:grid;place-items:center;font-size:23px
}
.verify-lock h3{margin:0 0 7px}.verify-lock p{margin:0 auto 14px;max-width:320px;color:var(--muted);font-size:12px;line-height:1.65}
.verify-rights{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.offline-slot{
  display:grid;grid-template-columns:1fr 1fr;gap:9px
}
.errand-progress{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:12px 0
}
.errand-step{
  padding:7px 4px;border-radius:10px;background:#eef0f3;color:#98a2b3;text-align:center;font-size:10px
}
.errand-step.active{background:#eef4ff;color:var(--blue);font-weight:700}
.errand-step.done{background:#eef9f3;color:var(--green);font-weight:700}
.role-badge{
  display:inline-block;border-radius:999px;padding:4px 7px;font-size:10px;background:#f1f3f5;color:#475467
}
.verification-request{
  border:1px solid var(--line);border-radius:16px;padding:13px;margin-top:10px;background:#fff
}
.post-badges{
  margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:5px;
  flex-wrap:wrap;max-width:132px
}
.level-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:12px
}
.level-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.level-bar{height:7px;border-radius:999px;background:#eceff3;overflow:hidden;margin-top:10px}
.level-fill{height:100%;background:#111827;border-radius:999px}
.credit-chip{
  display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;
  background:#eef9f3;color:var(--green);font-size:11px;font-weight:750
}
.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.collection-card{
  border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;text-align:left;
  box-shadow:0 4px 14px rgba(15,23,42,.03)
}
.collection-cover{
  height:84px;border-radius:13px;background:#eef1f5;display:grid;place-items:center;
  color:#667085;font-size:24px;margin-bottom:10px;overflow:hidden
}
.collection-cover img{width:100%;height:100%;object-fit:cover}
.collection-card b{display:block;font-size:13px}.collection-card small{color:var(--muted)}
.folder-picker{display:grid;gap:8px}
.folder-choice{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px;text-align:left
}
.folder-choice.active{border-color:#bfd0f7;background:#f7f9ff}
.detail-actions .btn.active,.detail-hero .btn.active{background:#111827;color:#fff;border-color:#111827}
.evidence-preview{
  border:1px solid var(--line);border-radius:16px;padding:11px;background:#fafbfc
}
.evidence-preview img{
  width:100%;max-height:260px;object-fit:cover;border-radius:13px;display:block
}
.evidence-photo{
  width:100%;max-height:320px;object-fit:cover;border-radius:14px;margin-top:10px
}
.translate-btn{
  display:inline-flex!important;align-items:center;gap:4px
}
.translate-btn.active{color:var(--blue)!important;font-weight:700}
.translation-meta{
  margin-top:6px;color:#667085;font-size:11px;display:flex;align-items:center;gap:5px
}
.translation-meta:before{
  content:"文";width:17px;height:17px;border-radius:6px;background:#eef4ff;color:#2454a6;
  display:inline-grid;place-items:center;font-size:9px;font-weight:800
}
.translation-settings-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:12px
}
.language-option{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 0;border-bottom:1px solid var(--line)
}
.language-option:last-child{border-bottom:0}
.language-code{
  min-width:42px;padding:5px 7px;border-radius:9px;background:#eef0f3;color:#475467;
  font-size:10px;font-weight:750;text-align:center
}
.comment-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}
.comment-translate{border:0;background:transparent;color:#667085;padding:2px 0;font-size:11px;font-weight:650}
.comment-translate.active{color:var(--blue)}
.trade-translate-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:7px}
.trade-translation-meta{color:#667085;font-size:11px;margin-top:5px}
.app-language-note{padding:12px;border-radius:14px;background:#f8f9fb;color:#667085;font-size:12px;line-height:1.65}
.user-name-with-flag{display:inline-flex;align-items:center;gap:5px;min-width:0}
.user-flag{font-size:14px;line-height:1;flex:0 0 auto}
.flag-help{font-size:11px;color:var(--muted);line-height:1.55;margin-top:-2px}
.selected-tags-summary{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.selected-tags-summary .tag{margin:0}





.profile-avatar-button{
  border:0;background:transparent;padding:0;border-radius:22px;position:relative
}
.profile-avatar-button:after{
  content:"编辑";position:absolute;right:-5px;bottom:-5px;background:#fff;color:#111827;
  border:1px solid var(--line);border-radius:999px;padding:3px 6px;font-size:9px;font-weight:700
}
.avatar img{width:100%;height:100%;object-fit:cover}
.comment-list{display:grid;gap:8px}
.comment-item{
  display:flex;gap:10px;padding:11px;border:1px solid #edf0f3;border-radius:15px;background:#fbfcfd
}
.comment-item:last-child{border-bottom:1px solid #edf0f3}
.comment-item .avatar{width:34px;height:34px;flex:0 0 34px}
.comment-body{flex:1;min-width:0}
.comment-body b{font-size:13px}
.comment-body p{margin:5px 0;line-height:1.6;font-size:14px;overflow-wrap:anywhere}
.comment-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.comment-compose{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);align-items:center
}
.comment-media-button{width:42px;height:42px;border:1px solid #dfe4ea;border-radius:12px;background:#eef0f3;color:#344054;font-weight:850;display:grid;place-items:center}
.comment-media-button input{display:none}
.comment-media-preview{grid-column:1/-1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#f8fafc;border-radius:13px;padding:8px}
.comment-media-preview.hidden{display:none}
.comment-media-preview img,.comment-media-preview video{width:58px;height:58px;object-fit:cover;border-radius:10px;background:#eef1f5}
.comment-media{margin-top:8px;max-width:240px}
.comment-media img,.comment-media video{display:block;max-width:100%;max-height:260px;border-radius:13px;background:#eef1f5}
.comment-compose .input{min-height:42px}
.comment-send-btn{min-width:84px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.comment-send-btn:disabled{opacity:.42}
.comment-empty{padding:26px 8px;text-align:center;color:#98a2b3}
.comment-empty .comment-empty-icon{width:38px;height:38px;margin:0 auto 8px;color:#98a2b3}
.incentive-card{
  background:#111827;color:#fff;border-radius:22px;padding:18px;margin-bottom:12px
}
.incentive-card small{color:#d0d5dd}.incentive-value{font-size:30px;font-weight:800;margin:8px 0}
.incentive-record{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.incentive-record:last-child{border-bottom:0}
.avatar-preview{
  width:88px;height:88px;border-radius:24px;background:#111827;color:#fff;
  display:grid;place-items:center;font-size:28px;font-weight:750;overflow:hidden;margin:auto
}
.avatar-preview img{width:100%;height:100%;object-fit:cover}
.setting-group{background:#fff;border:1px solid var(--line);border-radius:20px;padding:0 15px;margin-bottom:12px;box-shadow:var(--shadow)}
.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.setting-row:last-child{border-bottom:0}
.setting-row .setting-copy{flex:1;min-width:0}
.setting-row b{display:block;font-size:14px}.setting-row small{display:block;color:var(--muted);margin-top:3px;line-height:1.45}
.setting-row input[type="checkbox"]{width:19px;height:19px}
.history-type{width:42px;height:42px;border-radius:13px;background:#eef0f3;display:grid;place-items:center;font-size:12px;font-weight:750;color:#475467;flex:0 0 42px}
.order-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:10px}
.order-status{font-size:11px;border-radius:999px;padding:5px 8px;background:#eef4ff;color:var(--blue)}
.danger-btn{background:#fff0f1!important;color:#c52a3a!important}
.admin-gate{max-width:360px;margin:8px auto 0}
.admin-lock{width:58px;height:58px;border-radius:18px;background:#111827;color:#fff;display:grid;place-items:center;margin:0 auto 14px;font-size:24px}
.legal-text h3{margin:18px 0 7px;font-size:15px}.legal-text p{margin:0;color:#667085;font-size:13px;line-height:1.75}
.feedback-record{padding:12px 0;border-bottom:1px solid var(--line)}.feedback-record:last-child{border-bottom:0}

.home-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.home-tool{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;
  display:flex;align-items:center;gap:11px;box-shadow:0 4px 14px rgba(15,23,42,.03)
}
.home-tool-icon{
  width:42px;height:42px;border-radius:14px;background:#111827;color:#fff;
  display:grid;place-items:center;font-size:18px;flex:0 0 42px
}
.home-tool b{display:block;font-size:14px}.home-tool small{color:var(--muted)}
.badge{
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700
}
.contact-row,.conversation-row{
  display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)
}
.contact-row:last-child,.conversation-row:last-child{border-bottom:0}
.contact-info,.conversation-info{flex:1;min-width:0}
.contact-info b,.conversation-info b{display:block}
.contact-info small,.conversation-info small{display:block;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-page{
  height:100%;display:flex;flex-direction:column
}
.chat-list{
  flex:1;overflow:auto;padding:4px 0 90px
}
.chat-bubble-row{display:flex;margin:10px 0;width:100%}
.chat-bubble-row.mine{justify-content:flex-end}
.chat-bubble-row>div{max-width:78%;display:flex;flex-direction:column;align-items:flex-start}
.chat-bubble-row.mine>div{align-items:flex-end}
.chat-bubble{
  width:fit-content;max-width:100%;padding:10px 12px;border-radius:16px;background:#fff;
  border:1px solid var(--line);line-height:1.55;font-size:14px;overflow-wrap:anywhere;word-break:break-word;
  text-align:left
}
.chat-bubble-row.mine .chat-bubble{background:#111827;color:#fff;border-color:#111827}
.chat-time{font-size:10px;color:#98a2b3;margin-top:4px;align-self:flex-start;text-align:left}
.chat-bubble-row.mine .chat-time{align-self:flex-end;text-align:right}
.chat-compose{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(460px,100vw);
  display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(246,247,249,.97);backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:55
}
.chat-compose input{height:42px}
.preview-section{margin-bottom:12px}
.preview-strip{display:flex;gap:10px;overflow:auto;padding-bottom:4px;scrollbar-width:none}
.preview-strip::-webkit-scrollbar{display:none}
.preview-card{
  flex:0 0 175px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px;
  box-shadow:0 4px 14px rgba(15,23,42,.03)
}
.preview-card .thumb{
  height:94px;border-radius:13px;background:#eef1f5;margin-bottom:10px;display:grid;place-items:center;
  color:#98a2b3;overflow:hidden
}
.preview-card .thumb img,.preview-card .thumb video{width:100%;height:100%;object-fit:cover}
.preview-card b{display:block;font-size:13px;line-height:1.4}
.preview-card small{display:block;color:var(--muted);margin-top:4px}
.trade-overview-tabs{
  display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:4px;background:#eceff3;border-radius:16px;margin-bottom:12px
}
.trade-overview-tabs button{border:0;background:transparent;border-radius:12px;padding:10px 6px;color:#667085;font-size:12px;font-weight:650}
.trade-overview-tabs button.active{background:#fff;color:#111827;box-shadow:0 2px 8px rgba(15,23,42,.07)}

.profile{background:#111827;color:#fff;border-radius:24px;padding:18px;margin-bottom:12px}.profile .avatar{background:#fff;color:#111827}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:16px;padding-top:14px;border-top:1px solid #ffffff22}.stats div{text-align:center}.stats b{display:block;font-size:18px}.stats small{color:#d0d5dd}
.menu{padding:0;overflow:hidden}.menu button{width:100%;display:flex;justify-content:space-between;border:0;border-bottom:1px solid var(--line);background:#fff;color:#344054;padding:15px;text-align:left}.menu button:last-child{border-bottom:0}
.verify-choice button{text-align:left;min-height:126px}.verify-choice button.active{border-color:#b9cdf8;box-shadow:0 0 0 3px rgba(37,99,235,.07)}.verify-icon{width:42px;height:42px;border-radius:13px;background:#111827;color:#fff;display:grid;place-items:center;margin-bottom:10px}
.verify-language-switch{
  display:flex;justify-content:flex-end;gap:7px;margin:0 0 12px
}
.verify-language-switch button{
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;
  color:#475467;font-size:11px;font-weight:700
}
.verify-language-switch button.active{background:#111827;color:#fff;border-color:#111827}
.security-shield{position:fixed;inset:0;z-index:9999;background:rgba(15,23,42,.96);display:flex;align-items:center;justify-content:center;padding:22px;color:#fff}
.security-shield.hidden{display:none}
.security-card{width:min(440px,100%);background:#fff;color:#111827;border-radius:24px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.security-card h2{margin:0 0 8px}.security-card p{color:#667085;line-height:1.7;font-size:13px}
.security-meter{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:#f7f8fa;border-radius:14px;margin:12px 0}
.security-dot{width:9px;height:9px;border-radius:50%;background:#12b76a;display:inline-block}
.security-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#eef9f3;color:#087443;font-size:11px;font-weight:750}
.security-log{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:10px}
.security-log-row{padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.security-log-row:last-child{border-bottom:0}
.security-log-row small{display:block;color:var(--muted);margin-top:3px}
body.security-copy-lock .post-text,
body.security-copy-lock .comment-body p,
body.security-copy-lock .goods h3,
body.security-copy-lock .detail-hero p,
body.security-copy-lock .task-meta{user-select:none;-webkit-user-select:none}

.admin-perma-lock{
  border:1px solid #fecdd3;background:#fff1f2;border-radius:18px;padding:18px;text-align:center
}
.admin-perma-lock .lock-icon{
  width:54px;height:54px;border-radius:18px;background:#9f1239;color:#fff;
  display:grid;place-items:center;margin:0 auto 12px;font-size:22px
}
.admin-attempts{display:flex;justify-content:center;gap:7px;margin:10px 0 14px}
.admin-attempt-dot{width:10px;height:10px;border-radius:50%;background:#e4e7ec}
.admin-attempt-dot.used{background:#d64555}
.anon-account-chip{
  display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;
  background:#f2f4f7;color:#475467;font-size:10px;font-weight:750
}
.anon-vault-row{border:1px solid var(--line);border-radius:15px;padding:12px;margin-top:9px;background:#fff}
.anon-vault-row .owner{
  margin-top:7px;padding:8px 10px;border-radius:10px;background:#fff4e8;color:#7a4b00;font-size:12px
}

.admin-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-tool-card{
  border:1px solid var(--line);border-radius:17px;background:#fff;padding:13px;text-align:left
}
.admin-tool-card b{display:block;margin-bottom:4px}.admin-tool-card small{color:var(--muted);line-height:1.5}
.admin-search-bar{display:flex;gap:8px;margin:10px 0}
.admin-search-bar .input{flex:1}
.admin-result-list{display:grid;gap:9px}
.admin-result{
  border:1px solid var(--line);border-radius:15px;padding:12px;background:#fff
}
.admin-result .snippet{font-size:12px;line-height:1.55;color:#475467;margin:7px 0}
.admin-media-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}
.admin-media-preview img,.admin-media-preview video{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#eef0f3
}
.report-work-card{
  border:1px solid #fed7aa;background:#fffaf4;border-radius:16px;padding:13px;margin-top:10px
}
.report-reasons{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.report-reasons span{font-size:10px;background:#fff;border:1px solid #fed7aa;border-radius:999px;padding:4px 7px}
.control-badge{
  display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:750;
  background:#f2f4f7;color:#475467
}
.control-badge.warn{background:#fff4e8;color:#8a5200}
.control-badge.danger{background:#fff1f2;color:#b42318}
.moderation-control-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)
}
.moderation-control-row:last-child{border-bottom:0}
.ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ops-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;text-align:left;box-shadow:0 3px 12px rgba(15,23,42,.025)}
.ops-card b{display:block;margin-bottom:4px}.ops-card small{color:var(--muted);line-height:1.5}
.rule-card,.campaign-card,.receipt-card{border:1px solid var(--line);border-radius:15px;padding:12px;background:#fff;margin-top:9px}
.rule-card.active{border-color:#bfdbfe;background:#f8fbff}.rule-card.scheduled{border-color:#ddd6fe;background:#fbfaff}.rule-card.expired{opacity:.62}
.rule-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.review-detail-media{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}
.review-detail-media img,.review-detail-media video{width:100%;border-radius:13px;max-height:320px;object-fit:cover;background:#eef0f3}
.progress-track{height:8px;border-radius:999px;background:#eceff3;overflow:hidden;margin-top:8px}.progress-track>span{display:block;height:100%;background:#111827;border-radius:999px}
.receipt-required{border:1px solid #f5c2c7;background:#fff7f7;border-radius:14px;padding:11px;font-size:12px;color:#8a1c1c}
.global-alert{border:1px solid #fed7aa;background:#fffaf4;border-radius:15px;padding:12px;margin-top:10px}

.discover-ad{
  position:relative;overflow:hidden;border-radius:24px;min-height:238px;margin-bottom:20px;
  border:1px solid var(--line);background:#111827;color:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.10)
}
.discover-ad-slide{
  min-height:238px;padding:23px;display:flex;flex-direction:column;justify-content:space-between;
  background:
    radial-gradient(circle at 88% 15%,rgba(255,255,255,.22),transparent 30%),
    linear-gradient(135deg,#111827,#334155)
}
.discover-ad-slide.alt1{background:
  radial-gradient(circle at 80% 15%,rgba(255,255,255,.18),transparent 28%),
  linear-gradient(135deg,#1f2937,#0f766e)}
.discover-ad-slide.alt2{background:
  radial-gradient(circle at 82% 18%,rgba(255,255,255,.18),transparent 30%),
  linear-gradient(135deg,#312e81,#6d28d9)}
.discover-ad-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.75}
.discover-ad-title{font-size:27px;font-weight:850;line-height:1.2;margin-top:8px;max-width:88%}
.discover-ad-copy{font-size:13px;line-height:1.7;opacity:.86;max-width:82%;margin-top:10px}
.discover-ad-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:28px}
.discover-ad-cta{border:0;border-radius:999px;padding:8px 12px;background:#fff;color:#111827;font-weight:800;font-size:11px}
.discover-ad-controls{display:flex;align-items:center;gap:7px}
.discover-ad-arrow{
  width:28px;height:28px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);
  color:#fff;border-radius:50%;display:grid;place-items:center
}
.discover-ad-dots{display:flex;gap:5px}
.discover-ad-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.35)}
.discover-ad-dot.active{width:18px;border-radius:999px;background:#fff}
.feed-mode-note{
  display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;
  background:#f2f4f7;color:#667085;font-size:10px;font-weight:700
}
.dividend-table{width:100%;border-collapse:collapse;margin-top:8px;font-size:12px}
.dividend-table th,.dividend-table td{padding:11px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.dividend-table th{background:#f8f9fb;font-size:11px;color:#475467}
.dividend-table td:nth-child(2),.dividend-table th:nth-child(2){white-space:nowrap;font-weight:800}
.dividend-total td{font-weight:850;background:#fafafa}
.id-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:10px;font-weight:750;white-space:nowrap}
.id-chip.user{background:#eef4ff;color:#3448a5}

.account-status-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;margin:12px 0;
  box-shadow:var(--shadow);cursor:pointer
}
.account-status-card .account-status-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-status-card .account-status-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.account-status-card .metric{background:#f7f8fa;border-radius:14px;padding:11px}
.account-status-card .metric b{display:block;font-size:18px}.account-status-card .metric small{color:var(--muted)}
.account-status-card .level-bar{margin-top:12px}
.admin-object-preview{border:1px solid var(--line);border-radius:18px;padding:13px;background:#fff;margin-bottom:12px;box-shadow:var(--shadow)}
.admin-object-preview .preview-title{font-size:11px;color:#667085;font-weight:800;letter-spacing:.04em;margin-bottom:8px}
.admin-object-preview .preview-main{display:flex;gap:11px;align-items:flex-start}.admin-object-preview .preview-copy{min-width:0;flex:1}
.admin-object-preview .preview-copy b{display:block;font-size:14px}.admin-object-preview .preview-copy p{margin:5px 0 0;font-size:12px;line-height:1.55;color:#475467}
.admin-suggest-list{display:grid;gap:6px;margin-top:7px}.admin-suggest{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 10px;text-align:left}
.admin-suggest b{font-size:12px}.admin-suggest small{display:block;color:var(--muted);margin-top:2px}
.system-pinned{width:100%;border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:12px;display:flex;align-items:center;gap:11px;text-align:left;margin-bottom:10px}
.system-pinned .system-icon{width:42px;height:42px;border-radius:13px;background:#111827;color:#fff;display:grid;place-items:center;font-size:18px;flex:0 0 42px}
.system-note{border:1px solid var(--line);border-radius:15px;padding:12px;background:#fff;margin-bottom:9px}.system-note.unread{border-color:#bfdbfe;background:#f8fbff}
.friend-request-card{border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff;margin-bottom:9px}.friend-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.recall-btn{border:0;background:transparent;color:#667085;font-size:10px;padding:2px 0;margin-left:8px}.recalled-bubble{font-size:12px;color:#98a2b3;font-style:italic;padding:7px 10px}
.contact-actions{display:flex;gap:6px;flex-wrap:wrap}
.profile-personalized .follow-btn.active{background:#eef4ff!important;color:#2454a6!important}
.contact-group-block{margin-bottom:14px}.contact-group-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 8px}.contact-group-heading b{font-size:13px}.contact-group-heading small{color:var(--muted)}
.contact-actions .btn{padding:7px 9px;font-size:11px}
.share-target-list{display:grid;gap:8px}.share-target{width:100%;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;text-align:left}
.chat-compose{grid-template-columns:auto 1fr auto!important}
.chat-tools-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 0 2px}.chat-tools-panel.hidden{display:none}
.chat-compose.dm-compose{grid-template-columns:auto minmax(0,1fr) auto auto!important}
.chat-compose.voice-mode{grid-template-columns:auto minmax(0,1fr) auto!important}
.voice-toggle{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#344054;font-weight:800}
.voice-hold{height:42px;border:1px solid #cfd6df;border-radius:13px;background:#f8fafc;color:#344054;font-weight:750;user-select:none;touch-action:none}
.voice-hold.recording{background:#eef4ff;border-color:#9db6f4;color:#2454a6;box-shadow:0 0 0 4px rgba(37,99,235,.07)}
.voice-bubble{display:flex;align-items:center;gap:9px;min-width:120px;max-width:235px;border:1px solid rgba(148,163,184,.28);border-radius:15px;padding:9px 11px;background:#fff}
.voice-bubble audio{width:155px;height:32px}
.voice-duration{font-size:11px;color:#667085;white-space:nowrap}
.chat-tool{min-height:82px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#344054;font-weight:700;cursor:pointer}
.chat-tool input{display:none!important}.chat-tool .tool-icon{width:34px;height:34px;border-radius:12px;background:#eef0f3;display:grid;place-items:center;font-size:17px}
.chat-file-card,.chat-location-card,.chat-contact-card{margin-top:7px;border:1px solid rgba(148,163,184,.25);border-radius:13px;padding:10px 11px;background:#fff;color:#344054;max-width:250px}
.chat-bubble-row.mine .chat-file-card,.chat-bubble-row.mine .chat-location-card,.chat-bubble-row.mine .chat-contact-card{background:#f8fafc;color:#1f2937}
.chat-file-card a{color:#2454a6;text-decoration:none;font-weight:700}.chat-location-card b,.chat-contact-card b{display:block}


.order-confirm-card{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:13px;margin-top:10px}
.receipt-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef9f3;color:#157347;font-size:11px;font-weight:750}
.detail-actions.four{grid-template-columns:repeat(4,1fr)}
.contact-toolbar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.contact-toolbar .btn{padding:9px 6px;font-size:11px}
.qr-card{display:grid;place-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff}
.qr-svg{width:min(240px,78vw);height:auto;display:block;background:#fff;border-radius:14px}
.qr-code-text{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#667085;word-break:break-all;text-align:center}
.share-link-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:14px;padding:10px;background:#f8fafc}
.share-link-box code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:11px}
.scanner-frame{position:relative;min-height:260px;border-radius:20px;background:#111827;overflow:hidden;display:grid;place-items:center;color:#fff}
.scanner-frame video{width:100%;height:100%;min-height:260px;object-fit:cover}
.scanner-guide{position:absolute;width:190px;height:190px;border:2px solid rgba(255,255,255,.92);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.18);pointer-events:none}
.scanner-status{font-size:12px;line-height:1.6;color:#667085}
.shared-card{width:100%;border:1px solid rgba(148,163,184,.3);background:#fff;border-radius:14px;padding:10px;text-align:left;color:#1f2937;margin-top:6px}
.shared-card b{display:block}.shared-card small{display:block;color:#667085;margin-top:4px}
.group-hot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.group-hot-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:13px;text-align:left;box-shadow:var(--shadow)}
.group-avatar-lg{width:54px;height:54px;border-radius:17px;background:#eef0f3;display:grid;place-items:center;font-weight:850;overflow:hidden;flex:0 0 54px}
.group-avatar-lg img{width:100%;height:100%;object-fit:cover}
.group-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.group-file-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--line)}
.group-file-row:last-child{border-bottom:0}
.shipping-evidence{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:12px}
.shipping-evidence img{width:100%;max-height:220px;object-fit:cover;border-radius:12px;margin-top:8px}
.tag-preview{display:flex;gap:6px;flex-wrap:wrap;min-height:10px}
.size-hint{font-size:11px;color:#667085;line-height:1.55}
.media-process-toast{
  position:fixed;left:50%;bottom:88px;transform:translate(-50%,14px);z-index:300;
  width:min(360px,calc(100vw - 28px));background:rgba(17,24,39,.96);color:#fff;
  border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:12px 13px;
  box-shadow:0 14px 36px rgba(15,23,42,.24);opacity:0;pointer-events:none;transition:.18s ease
}
.media-process-toast.show{opacity:1;transform:translate(-50%,0)}
.media-process-head{display:flex;justify-content:space-between;gap:10px;font-size:12px}
.media-process-detail{margin-top:5px;color:#d0d5dd;font-size:11px;line-height:1.45}
.media-process-bar{height:4px;background:rgba(255,255,255,.16);border-radius:999px;margin-top:9px;overflow:hidden}
.media-process-bar i{display:block;height:100%;background:#fff;border-radius:999px;transition:width .2s ease}
.media-opt-badge{display:inline-flex;align-items:center;margin-top:5px;padding:3px 6px;border-radius:999px;background:#eef0f3;color:#475467;font-size:9px;font-weight:750}
.media-expired{display:grid;place-items:center;min-height:78px;border:1px dashed #d0d5dd;border-radius:13px;background:#f8fafc;color:#667085;font-size:11px;line-height:1.5;text-align:center;padding:12px}
.upload-button[aria-busy="true"]{opacity:.58;pointer-events:none}
.media-storage-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}
.developer-mode-card{border:1px solid #dfe4ea;background:#fff;border-radius:20px;padding:15px;box-shadow:var(--shadow)}
.developer-mode-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.developer-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#111827;color:#fff;font-size:10px;font-weight:850;letter-spacing:.08em}
.developer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.developer-stat{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:10px}
.developer-stat small{display:block;color:#667085;margin-bottom:4px}.developer-stat b{display:block;font-size:12px;line-height:1.45;word-break:break-word}
.developer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
@media(max-width:420px){.developer-grid,.developer-actions{grid-template-columns:1fr}}
.media-storage-meter{height:7px;border-radius:999px;background:#eceff3;overflow:hidden;margin-top:9px}
.media-storage-meter i{display:block;height:100%;background:#111827;border-radius:999px}
.btn,.contact-quick,.chat-tool,.share-target{min-height:42px}
.upload-button{
  background:#eef0f3!important;color:#344054!important;
  border:1px solid #dfe4ea!important;font-weight:750!important;
  box-shadow:none!important
}
.upload-button:hover{background:#e6e9ee!important}
.upload-button:active{background:#dde2e8!important}
.upload-box{background:#fff!important;border-color:#dfe4ea!important}
.contact-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}
.contact-quick{
  min-height:78px;border:1px solid #e1e5ea;border-radius:16px;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  padding:9px 6px;color:#344054;font-size:11px;font-weight:750;box-shadow:0 2px 8px rgba(15,23,42,.025)
}
.contact-quick:hover{background:#f6f7f9;border-color:#d5dbe3}
.contact-quick .quick-icon{width:34px;height:34px;border-radius:12px;background:#eef0f3;color:#344054;display:grid;place-items:center;font-size:16px;font-weight:850}
.friend-add-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow)}
.friend-add-note{display:flex;gap:10px;align-items:flex-start;background:#f6f7f9;border:1px solid #e5e7eb;border-radius:14px;padding:11px 12px;color:#475467;font-size:12px;line-height:1.6}
.friend-add-note .note-icon{width:28px;height:28px;border-radius:9px;background:#111827;color:#fff;display:grid;place-items:center;flex:0 0 28px;font-weight:800}
.friend-request-card .tag.blue{background:#f2f4f7!important;color:#475467!important;border-color:#e4e7ec!important}
.friend-actions .btn.primary{background:#111827}
.share-compact-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center}
.share-compact-card .qr-svg{width:150px}
.share-compact-copy{min-width:0}.share-compact-copy h3{margin:0 0 6px;font-size:15px}.share-compact-copy p{margin:0 0 9px}
.avatar-click{display:inline-flex;border:0;background:transparent;padding:0;border-radius:50%;cursor:pointer}
.avatar-click:hover{filter:brightness(.94)}.avatar-click:focus-visible{outline:2px solid rgba(49,87,200,.55);outline-offset:2px}
.chat-person-head{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--line);border-radius:16px;background:#fff}
.activity-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.activity-fact{border:1px solid var(--line);border-radius:14px;background:#fafbfc;padding:11px}
.activity-fact small{display:block;color:#667085;margin-bottom:4px}.activity-fact b{font-size:13px;line-height:1.45}
@media(max-width:520px){.contact-quick-grid{grid-template-columns:repeat(3,1fr)}.share-compact-card{grid-template-columns:108px minmax(0,1fr)}.share-compact-card .qr-svg{width:108px}}
@media(max-width:420px){.contact-toolbar{grid-template-columns:repeat(2,1fr)}.group-hot-grid{grid-template-columns:1fr}.detail-actions.four{grid-template-columns:repeat(2,1fr)}}

.profile-personalized{
  position:relative;overflow:hidden;background-color:#111827;background-size:cover!important;background-position:center!important
}
.profile-personalized:before{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.06),rgba(15,23,42,.38));pointer-events:none
}
.profile-personalized>*{position:relative;z-index:1}
.profile-personalized,.profile-personalized h1,.profile-personalized h2,.profile-personalized h3,
.profile-personalized b,.profile-personalized strong,.profile-personalized span,.profile-personalized div,
.profile-personalized small,.profile-personalized p{color:#fff!important}
.profile-personalized .muted{color:rgba(255,255,255,.78)!important}
.profile-personalized .stats,.profile-personalized .stats div{color:#fff!important}
.profile-personalized .stats small{color:rgba(255,255,255,.78)!important}
.profile-personalized .tag,.profile-personalized .id-chip{
  color:#fff!important;background:rgba(15,23,42,.38)!important;border-color:rgba(255,255,255,.22)!important
}
.profile-bio-line{margin-top:8px;color:#e5e7eb;font-size:12px;line-height:1.6;max-width:100%}
.public-profile-hero{
  color:#fff!important;background-size:cover!important;background-position:center!important;position:relative;overflow:hidden
}
.public-profile-hero:before{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.10),rgba(15,23,42,.55));pointer-events:none
}
.public-profile-hero>*{position:relative;z-index:1}
.public-profile-hero .muted,.public-profile-hero small{color:rgba(255,255,255,.82)!important}
.public-profile-hero .stats{border-color:rgba(255,255,255,.22)!important}
.public-profile-hero .stats,.public-profile-hero .stats div,.public-profile-hero .stats b,.public-profile-hero .stats span{color:#fff!important}
.public-profile-hero .tag,.public-profile-hero .id-chip{
  color:#fff!important;background:rgba(15,23,42,.36)!important;border-color:rgba(255,255,255,.22)!important
}
.profile-bg-preview{
  min-height:150px;border-radius:18px;padding:16px;color:#fff;background-size:cover!important;background-position:center!important;
  display:flex;align-items:flex-end;border:1px solid rgba(255,255,255,.16);overflow:hidden;position:relative
}
.profile-bg-preview:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.04),rgba(15,23,42,.50))}
.profile-bg-preview>*{position:relative;z-index:1}
.profile-badge-select-note{font-size:11px;color:#667085;line-height:1.6}
.profile-about{font-size:14px;line-height:1.75;color:#475467;white-space:pre-wrap}
.public-level-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:12px}
.unified-section-title{font-size:13px;font-weight:800;color:#344054;margin:4px 0 10px}
.sheet .btn,.detail-page .btn{min-height:40px}
.sheet .input,.sheet .select,.sheet .textarea,.detail-page .input,.detail-page .select,.detail-page .textarea{border-radius:13px}



.verify-doc-name{display:block;margin-top:8px;color:#667085;font-size:12px;word-break:break-all}
.verification-materials{display:grid;gap:8px;margin-top:10px}.verification-material{border:1px solid var(--line);border-radius:14px;background:#f8fafc;padding:10px}.verification-material img{width:100%;max-height:220px;object-fit:contain;border-radius:10px;margin-top:8px;background:#fff}
.keyword-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.keyword-pill{display:inline-flex;align-items:center;gap:6px;background:#f1f3f5;border-radius:999px;padding:6px 9px;font-size:12px;color:#475467}.keyword-pill button{width:20px;height:20px;border:0;border-radius:50%;background:#dfe4ea;color:#475467;padding:0}
.review-card{border-left:4px solid #d64555}.safe-card{border-left:4px solid #16825d}.status{display:inline-block;border-radius:999px;padding:5px 8px;font-size:11px}.status.review{background:#fff4df;color:#9a6700}.status.blocked{background:#fff0f1;color:#c52a3a}.status.safe{background:#eefaf2;color:#16825d}
.courier-head{background:#111827;color:#fff;border-radius:22px;padding:18px;margin-bottom:12px}.courier-head h2{margin:0 0 6px}.courier-head p{margin:0;color:#d0d5dd;line-height:1.6;font-size:13px}.merchant-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;margin-bottom:12px;box-shadow:var(--shadow)}.merchant-top{display:flex;gap:12px}.merchant-meta{display:grid;gap:4px;margin-top:9px;color:#667085;font-size:12px}.merchant-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #f0f2f4}
.payment-actions{
  position:sticky;bottom:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
  gap:8px;padding:12px 0 2px;background:linear-gradient(to top,var(--bg) 75%,transparent)
}
.verified-note{
  background:#eef4ff;border:1px solid #cbdafb;border-radius:14px;padding:12px;
  color:#2454a6;font-size:12px;line-height:1.65;margin-bottom:12px
}
.official-card{border-color:#c9d8fb;box-shadow:0 0 0 2px rgba(37,99,235,.05),var(--shadow)}
.platform-link-card{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:10px
}
.platform-link-card .platform-info{min-width:0;flex:1}
.platform-link-card b{display:block;font-size:14px}
.platform-link-card small{display:block;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-mark{
  width:44px;height:44px;border-radius:14px;background:#111827;color:#fff;
  display:grid;place-items:center;font-size:13px;font-weight:800;flex:0 0 44px
}
.platform-mark.xianyu{background:#f4b400;color:#111827}
.want-note{
  padding:12px;border-radius:14px;background:#f8f9fb;color:#667085;
  font-size:12px;line-height:1.65;margin-bottom:12px
}

.bottom{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(460px,100vw);height:74px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);z-index:15}.bottom button{border:0;background:transparent;color:#98a2b3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.bottom button span{font-size:20px}.bottom button small{font-size:10px}.bottom button.active{color:#111827}.publish-nav span{width:46px;height:46px;border-radius:16px;display:grid!important;place-items:center;background:#111827;color:#fff;margin-top:-24px;font-size:28px!important;box-shadow:0 8px 18px rgba(17,24,39,.22)}
.coin-icon{
  width:22px!important;height:22px!important;border:2px solid currentColor;border-radius:50%;
  position:relative;display:block!important;font-size:0!important
}
.coin-icon:after{
  content:"";position:absolute;width:7px;height:7px;border:2px solid currentColor;border-radius:1px;
  left:50%;top:50%;transform:translate(-50%,-50%)
}
.detail-actions.three{grid-template-columns:repeat(3,1fr)}








.sold-badge{background:#f1f3f5;color:#667085;border-color:transparent}
.chat-compose{
  grid-template-columns:auto 1fr auto!important;
  align-items:end
}
.chat-media-btn{
  width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#111827;
  display:grid;place-items:center;font-size:22px;font-weight:500;cursor:pointer
}
.chat-media-btn input{display:none}
.chat-media-preview{
  grid-column:1/-1;display:flex;align-items:center;gap:9px;padding:8px 10px;background:#fff;
  border:1px solid var(--line);border-radius:13px
}
.chat-media-preview.hidden{display:none}
.chat-media-preview img,.chat-media-preview video{
  width:58px;height:58px;border-radius:10px;object-fit:cover;background:#eef1f5
}
.chat-media-preview .file-info{flex:1;min-width:0}
.chat-media{
  margin-top:7px;max-width:240px;border-radius:13px;overflow:hidden;background:#eef1f5
}
.chat-media img,.chat-media video{display:block;max-width:100%;width:100%;max-height:260px;object-fit:cover}
.chat-bubble-row.mine .chat-media{background:#1f2937}
.chat-list{padding-bottom:142px!important}

.mask{
  position:fixed;inset:0;z-index:90;background:var(--bg);
  display:flex;align-items:stretch;justify-content:center
}
.mask.hidden,.detail-page.hidden{display:none}
.sheet{
  width:min(460px,100vw);height:100dvh;max-height:none;overflow:auto;
  background:var(--bg);border-radius:0;padding:0 14px calc(24px + env(safe-area-inset-bottom));
  overscroll-behavior:contain
}
.sheet-head{
  position:sticky;top:0;z-index:4;min-height:64px;margin:0 -14px 14px;padding:10px 14px;
  display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;
  background:rgba(246,247,249,.97);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)
}
.sheet-head h3{
  grid-column:2;margin:0;text-align:center;font-size:16px;font-weight:750;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.sheet-head .close{
  grid-column:1;grid-row:1;width:40px;height:40px;border:1px solid var(--line);
  border-radius:13px;background:#fff;font-size:0;color:#111827;line-height:1
}
.sheet-head .close::before{content:"‹";font-size:28px}
.sheet>.form,.sheet>.admin-gate,.sheet>.folder-picker,.sheet>.notice{margin-bottom:14px}
.close{border:1px solid var(--line);background:#fff;width:40px;height:40px;border-radius:13px;font-size:20px}
.detail-page{position:fixed;inset:0;z-index:50;width:min(460px,100vw);margin:auto;background:var(--bg);display:flex;flex-direction:column}.detail-header{height:64px;flex:0 0 auto;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;padding:10px 14px;background:rgba(246,247,249,.97);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.detail-back{width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:28px;color:#111827;line-height:1}.detail-title{text-align:center;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-body{flex:1;overflow:auto;padding:14px 14px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}.detail-hero,.detail-section{background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;margin-bottom:12px;box-shadow:var(--shadow)}.detail-cover{height:280px;border-radius:20px;margin-bottom:12px}.detail-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0 2px;background:linear-gradient(to top,var(--bg) 75%,transparent)}
.toast{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);z-index:110;opacity:0;pointer-events:none;transition:.2s;background:#111827;color:#fff;border-radius:999px;padding:10px 14px;font-size:12px}.toast.show{opacity:1}.empty{text-align:center;color:#98a2b3;padding:42px 10px}
@media(max-width:380px){.goods{grid-template-columns:90px 1fr}.goods-img{height:90px}.dual,.verify-choice{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(2,1fr)}}
.admin-standalone .app{display:none}.admin-standalone .bottom{display:none}.admin-standalone .detail-page{width:min(760px,100vw)}.admin-standalone .sheet{width:min(520px,100vw)}
.admin-standalone:before{content:"vkeycampus Admin";position:fixed;top:10px;right:12px;z-index:120;font-size:10px;letter-spacing:.12em;color:#667085}

.network-auth-gate{position:fixed;inset:0;z-index:1000;background:rgba(248,250,252,.98);display:grid;place-items:center;padding:22px}
.network-auth-gate.hidden{display:none}
.network-auth-card{width:min(420px,100%);background:#fff;border:1px solid #e4e7ec;border-radius:24px;padding:22px;box-shadow:0 24px 70px rgba(15,23,42,.12)}
.network-auth-brand{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.network-auth-brand span{font-weight:900;font-size:18px}.network-auth-brand b{font-size:10px;letter-spacing:.08em;background:#111827;color:#fff;padding:6px 8px;border-radius:999px}
.network-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2f4f7;border-radius:12px;padding:3px;margin:16px 0}
.network-auth-tabs button{border:0;background:transparent;border-radius:9px;padding:9px;font-weight:800;color:#667085}
.network-auth-tabs button.active{background:#fff;color:#111827;box-shadow:0 1px 4px rgba(15,23,42,.08)}
.network-auth-error{min-height:18px;color:#b42318;font-size:11px;line-height:1.4}
.network-auth-foot{text-align:center;color:#98a2b3;font-size:10px;margin-top:12px}
.network-sync-pill{position:fixed;right:10px;top:10px;z-index:180;padding:5px 8px;border-radius:999px;background:rgba(17,24,39,.9);color:#fff;font-size:9px;font-weight:800;pointer-events:none;opacity:0;transition:.18s}
.network-sync-pill.show{opacity:.9}.network-sync-pill.error{background:#b42318}


.network-server-box{margin-top:12px;border:1px solid #e4e7ec;border-radius:12px;padding:9px 10px;background:#f8fafc}
.network-server-box summary{cursor:pointer;font-size:11px;font-weight:800;color:#475467}
.network-server-grid{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:9px}
.network-server-grid .input{font-size:11px}
.network-auth-card button:disabled{opacity:.5;cursor:not-allowed}

.standalone-session-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:10px;font-weight:800}
.standalone-session-badge.full{background:#111827;color:#fff}
.network-auth-card .btn.full+.btn.full{margin-top:8px}
.guest-lock-note{margin:10px 16px;padding:10px 12px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;line-height:1.55}

/* V6.5 title / CDK + descriptive settlement system */
.user-title-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;border:1px solid transparent;font-size:10px;font-weight:850;line-height:1;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.user-title-badge:before{content:"◆";font-size:8px;opacity:.72}
.user-title-badge.gold{background:linear-gradient(135deg,#fff8d8,#f5d66b);color:#714c00;border-color:#e7c64e}
.user-title-badge.silver{background:linear-gradient(135deg,#f8fafc,#d7dde5);color:#475467;border-color:#c3cad4}
.user-title-badge.purple{background:linear-gradient(135deg,#f6f0ff,#d8c3ff);color:#6941c6;border-color:#cbb4f7}
.user-title-badge.blue{background:linear-gradient(135deg,#eff6ff,#bfdbfe);color:#175cd3;border-color:#a8c8f2}
.user-title-badge.green{background:linear-gradient(135deg,#ecfdf3,#b7ebc9);color:#067647;border-color:#9bdcb3}
.title-tier-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px;vertical-align:middle}.title-tier-dot.gold{background:#d4a72c}.title-tier-dot.silver{background:#98a2b3}.title-tier-dot.purple{background:#7f56d9}.title-tier-dot.blue{background:#2e90fa}.title-tier-dot.green{background:#12b76a}
.title-detail-image{width:100%;max-height:360px;object-fit:cover;border-radius:16px;border:1px solid var(--line);margin-top:12px;background:#f2f4f7}
.title-grid{display:grid;gap:10px}.title-card{border:1px solid var(--line);border-radius:17px;padding:13px;background:#fff}.title-card.selected{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(15,23,42,.04)}
.title-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.title-card p{margin:8px 0;color:#667085;font-size:12px;line-height:1.6}
.cdk-box{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:.04em;border:1px dashed #cfd6df;border-radius:12px;padding:9px 10px;background:#f8fafc;word-break:break-all}
.cdk-list{display:grid;gap:7px;margin-top:10px}.cdk-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.cdk-used{opacity:.55;text-decoration:line-through}
.title-admin-image-preview{min-height:120px;border:1px dashed #cfd6df;border-radius:16px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;color:#98a2b3}.title-admin-image-preview img{width:100%;max-height:250px;object-fit:cover}
.title-owned-strip{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.title-empty{padding:18px;border:1px dashed #d0d5dd;border-radius:14px;text-align:center;color:#98a2b3}


/* V6.6 UI refinement */
:root{
  --bg:#f5f7fa;--card:#ffffff;--soft:#f2f4f7;--text:#101828;--muted:#667085;
  --line:#e4e7ec;--blue:#3157c8;--green:#067647;--red:#b42318;--amber:#8a6116;
  --shadow:0 10px 28px rgba(16,24,40,.055);--shadow-lg:0 24px 70px rgba(16,24,40,.14);
  --r:22px;--rs:14px
}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  background:
    radial-gradient(circle at 15% 0%,rgba(66,99,235,.08),transparent 34rem),
    radial-gradient(circle at 90% 20%,rgba(18,183,106,.06),transparent 28rem),
    #edf1f5;
}
.app{
  width:min(520px,100vw);min-height:100dvh;
  box-shadow:0 0 0 1px rgba(16,24,40,.025),0 24px 80px rgba(16,24,40,.08)
}
.main-header{
  padding:calc(16px + env(safe-area-inset-top)) 18px 13px;
  background:rgba(248,250,252,.86);
  border-bottom:1px solid rgba(228,231,236,.86);
  backdrop-filter:blur(24px) saturate(145%);
}
.header-line h1{font-size:25px;letter-spacing:-.7px}
.header-tools{display:flex;align-items:center;gap:7px}
.standalone-session-badge{
  display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;
  background:#fff;border:1px solid var(--line);color:#475467;font-size:10px;font-weight:800;
  box-shadow:0 2px 8px rgba(16,24,40,.035)
}
.standalone-session-badge.full{background:#101828;color:#fff;border-color:#101828}
#main{padding:16px 16px 112px}
.card,.panel{
  box-shadow:0 4px 16px rgba(16,24,40,.035);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
@media (hover:hover){
  .card:hover,.panel:hover{border-color:#d9dee7;box-shadow:0 9px 24px rgba(16,24,40,.065)}
}
.btn{min-height:42px;border-radius:14px}
.btn.primary{background:linear-gradient(180deg,#1d2939,#101828);box-shadow:0 5px 14px rgba(16,24,40,.14)}
.btn.soft{background:#f2f4f7;border:1px solid #eaecf0}
.input,.select,.textarea{min-height:44px;border-color:#d0d5dd;background:#fff}
.search-wrap{
  height:46px;margin-top:12px;display:flex;align-items:center;gap:7px;
  border:1px solid #eaecf0;background:#fff;border-radius:15px;padding:0 12px;
  box-shadow:0 2px 10px rgba(16,24,40,.025)
}
.search-wrap:focus-within{border-color:#b8c4ee;box-shadow:0 0 0 4px rgba(49,87,200,.07)}
.search-wrap .search{height:auto;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.search-wrap>span{color:#98a2b3;font-size:18px}
.bottom{
  bottom:12px;width:min(496px,calc(100vw - 24px));height:72px;
  border:1px solid rgba(208,213,221,.9);border-radius:24px;
  box-shadow:0 16px 38px rgba(16,24,40,.14);
  background:rgba(255,255,255,.93);overflow:visible
}
.bottom button{border-radius:18px;margin:5px 3px;transition:background .15s ease,color .15s ease,transform .12s ease}
.bottom button.active{background:#f2f4f7;color:#101828;font-weight:700}
.bottom button:active{transform:scale(.96)}
.publish-nav span{width:48px;height:48px;border-radius:17px;margin-top:-26px;background:linear-gradient(180deg,#1d2939,#101828)}
.detail-page{background:#f7f8fa}
.detail-header{backdrop-filter:blur(22px);background:rgba(255,255,255,.9)}
.toast{max-width:min(420px,calc(100vw - 32px));border-radius:14px;box-shadow:0 12px 36px rgba(16,24,40,.18)}
.network-auth-gate{
  background:
    radial-gradient(circle at 20% 15%,rgba(49,87,200,.13),transparent 30rem),
    radial-gradient(circle at 80% 90%,rgba(18,183,106,.09),transparent 26rem),
    rgba(246,248,251,.98)
}
.network-auth-card{
  width:min(430px,100%);border-radius:28px;padding:26px;
  box-shadow:var(--shadow-lg);border:1px solid rgba(208,213,221,.82)
}
.network-auth-brand span{display:flex;align-items:center;gap:9px}
.brand-mark{
  width:31px;height:31px;border-radius:10px;display:inline-grid;place-items:center;
  background:#101828;color:#fff;font-style:normal;font-weight:900;box-shadow:0 6px 18px rgba(16,24,40,.16)
}
.auth-hero-copy{margin:20px 0 18px}.auth-hero-copy h2{margin:6px 0 7px;font-size:26px;letter-spacing:-.6px}
.auth-kicker{font-size:10px;letter-spacing:.12em;font-weight:900;color:#3157c8}
.auth-form{gap:13px}.auth-primary{margin-top:3px}
.password-field{position:relative}.password-field .input{padding-right:62px}
.password-field button{
  position:absolute;right:7px;top:50%;transform:translateY(-50%);
  border:0;background:#f2f4f7;color:#475467;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:800
}
.auth-security-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}
.auth-security-row span{padding:5px 7px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:9px;font-weight:750}
.network-auth-error{min-height:18px;color:#b42318;font-size:11px;line-height:1.4}
.title-card{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
@media (hover:hover){.title-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(16,24,40,.06)}}
.guest-lock-note{box-shadow:0 3px 12px rgba(180,83,9,.05)}
@media (max-width:520px){
  .app{box-shadow:none}
  .bottom{bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* V6.8 identity/title/profile refresh */
.official-verify-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:999px;background:#eef4ff;color:#2454a6;border:1px solid #d4e0fb;font-size:9px;font-weight:850;white-space:nowrap;vertical-align:middle;margin-right:5px}
.official-verify-chip:before{content:"✓";font-weight:900}
.user-name-line{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;vertical-align:middle}
.user-title-inline{display:inline-flex;vertical-align:middle}
.all-titles-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:var(--shadow)}
.all-titles-grid{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.all-titles-empty{font-size:12px;color:#98a2b3;padding:6px 0}
.profile-main-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.profile-edit-note{font-size:11px;color:#667085;line-height:1.6}
.profile-personalized .official-verify-chip{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.55);color:#344054}
.title-owner-meta{display:grid;gap:4px;padding:10px 0 0;color:#667085;font-size:12px}

/* V6.10 compatibility + accessibility */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:280px;overflow-x:hidden}
.app{min-height:100vh;min-height:100dvh}
.main-header,.bottom,.sheet-head,.detail-header,.chat-compose{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
button,[role="button"],input,select,textarea{touch-action:manipulation}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}
img,video{max-width:100%}
.compat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.compat-item{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px;min-width:0}
.compat-item b{display:block;font-size:12px}.compat-item small{display:block;margin-top:4px;color:var(--muted);line-height:1.45}
.compat-ok{color:#067647}.compat-warn{color:#b54708}.compat-bad{color:#b42318}
.legal-consent{border:1px solid #d9e2f2;background:#f8fbff;border-radius:14px;padding:10px 12px;font-size:11px;line-height:1.6;color:#475467}
.legal-consent summary{cursor:pointer;font-weight:800;color:#344054}
.auth-consent-row{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.55;color:#475467}
.auth-consent-row input{margin-top:2px;flex:0 0 auto}
.data-rights-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
@supports not (height:100dvh){.sheet,.detail-page{height:100vh}.app{min-height:100vh}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.main-header,.bottom,.sheet-head,.detail-header,.chat-compose{background:rgba(246,247,249,.995)}}
@media(max-width:360px){.compat-grid,.data-rights-grid,.profile-main-actions{grid-template-columns:1fr}.header-line h1{font-size:21px}.card,.panel{padding:13px}}

/* V6.12.1 UI recovery: minimal and low-risk fixes */
.avatar img,.group-avatar-lg img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center
}
.profile-personalized .follow-btn.active{
  background:#eef4ff!important;color:#2454a6!important
}
@media(max-width:520px){
  .input,.select,.textarea,.search{font-size:16px}
}
@media(max-height:700px){
  .network-auth-gate{overflow-y:auto;align-items:flex-start}
  .network-auth-card{margin:auto}
}


/* V6.13.0 production bugfixes */
.network-auth-gate{
  overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
  place-items:start center;
  padding-top:max(18px,env(safe-area-inset-top));
  padding-bottom:max(24px,env(safe-area-inset-bottom));
}
.network-auth-card{margin:0 auto;flex:0 0 auto}
#networkRegisterExtra{min-width:0}
.verification-admin-meta{display:grid;gap:10px}
.verification-admin-meta>span{display:grid;grid-template-columns:minmax(105px,auto) 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.55}
.verification-admin-meta>span:last-child{border-bottom:0}
.verification-doc-admin{border:1px solid var(--line);border-radius:16px;padding:12px;margin-top:10px;background:#f8fafc;overflow:hidden}
.verification-doc-admin img{display:block;width:100%;max-height:460px;object-fit:contain;margin-top:10px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.evidence-preview img,.evidence-photo{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:14px;background:#f2f4f7}
.media-tile img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:520px){
  .network-auth-gate{padding-left:12px;padding-right:12px}
  .network-auth-card{width:100%;padding:20px}
  .verification-admin-meta>span{grid-template-columns:1fr;gap:4px}
}


/* V6.13.1 stability hotfix */
.network-auth-gate{height:100vh;height:100dvh;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.network-auth-card{min-height:min-content}
#networkAuthSubmit{position:relative;z-index:1}
.network-auth-error:not(:empty){padding:8px 10px;border-radius:10px;background:#fff1f0;border:1px solid #fecdca}
.network-server-grid input[readonly]{background:#f2f4f7;color:#667085}


/* V6.14.0 unified route sizing + workflow UI */
#main{box-sizing:border-box}
#main>*{box-sizing:border-box;max-width:100%}
.route-page{
  width:100%;max-width:100%;box-sizing:border-box;display:block;margin:0;padding:0
}
.route-page>.tabs,
.route-page>#publishBody,
.route-page>.card,
.route-page>.section-title,
.route-page>.profile-strip,
.route-page>.group-hot-grid,
.route-page>.chips,
.route-page>#marketList,
.route-page>.market-list{
  width:100%;max-width:100%;box-sizing:border-box
}
.publish-page #publishBody>.card,
.market-page #marketList>.card{
  width:100%;max-width:100%;box-sizing:border-box
}
.market-page .card,
.publish-page .card,
.discover-page .card{
  border-radius:20px
}
.market-intro-card{padding:17px}
.market-list{display:grid;gap:0}
.discover-page .discover-ad{width:100%;min-height:250px}
.discover-page .discover-ad-slide{min-height:250px;padding:24px}
.discover-page .profile-mini{flex-basis:156px;min-height:145px;padding:14px}
.discover-page .group-hot-card{min-height:142px;padding:15px}
.publish-page .tabs{margin-bottom:12px}
.publish-page #publishBody>.card{margin-left:0;margin-right:0}
.publish-page .form{width:100%;box-sizing:border-box}
.publish-page .dual{width:100%}
.claim-review-section{display:grid;gap:10px}
.claim-application-card{
  border:1px solid var(--line);border-radius:16px;background:#fff;padding:13px
}
.claim-application-card p{margin:10px 0;line-height:1.65;color:#475467;font-size:13px;white-space:pre-wrap}
.claim-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.claim-history{margin-top:4px;border-top:1px solid var(--line);padding-top:10px}
.claim-history summary{cursor:pointer;color:#667085;font-size:12px;font-weight:700}
.claim-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.claim-history-row:last-child{border-bottom:0}
.chat-translate-btn,.recall-btn{
  border:0;background:transparent;color:#667085;font-size:10px;padding:2px 4px;margin-left:5px;cursor:pointer
}
.chat-translate-btn.active{color:var(--blue);font-weight:750}
.chat-translation-meta{
  display:inline-flex;align-items:center;margin-left:6px;color:#667085;font-size:10px
}
@media(max-width:380px){
  .errand-progress{gap:3px}
  .errand-step{font-size:9px;padding:7px 2px}
  .discover-page .discover-ad-slide{padding:20px}
  .claim-actions{grid-template-columns:1fr}
}

/* V6.14.5: equal navigation targets, readable titles and full-screen pages. */
.app{width:100%;max-width:none;min-height:100dvh}
#main,.main-header{width:100%;max-width:900px;margin-inline:auto}
.bottom button:not(.publish-nav){min-height:56px;min-width:44px;gap:4px}
.bottom button:not(.publish-nav)>span{display:grid;place-items:center;width:28px;height:28px;font-size:28px;line-height:1}
.bottom button:not(.publish-nav) small{font-size:12px;line-height:1.25}
.bottom svg{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.user-title-badge{font-size:12px;font-weight:800;text-shadow:none!important;opacity:1!important;padding:5px 9px}
.user-title-badge.gold{background:#ffedac!important;color:#553700!important;border-color:#a66d00!important}
.user-title-badge.silver{background:#e6ecf3!important;color:#26364a!important;border-color:#5a6b80!important}
.user-title-badge.purple{background:#eadbff!important;color:#452078!important;border-color:#8053b7!important}
.user-title-badge.blue{background:#dbeafe!important;color:#173d80!important;border-color:#416da8!important}
.user-title-badge.green{background:#d2f3df!important;color:#14532d!important;border-color:#38845a!important}
.avatar{flex-shrink:0;overflow:hidden;aspect-ratio:1;min-width:42px;min-height:42px}
.avatar img,.group-avatar-lg img{display:block;width:100%;height:100%;object-fit:cover}
.avatar-click,.avatar-link{flex-shrink:0}
.profile-mini{cursor:pointer}.profile-mini .avatar{margin-inline:auto}
.chat-sender{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.chat-bubble-row.mine .chat-sender{flex-direction:row-reverse}
.chat-bubble-row>div{min-width:0;max-width:90%}
.post-verification{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}
.post-verification small{color:#344054;font-size:12px}
.official-verify-chip{color:#174875;background:#e0efff;border:1px solid #6090bd;font-weight:800}
.detail-page,.sheet,.admin-standalone .detail-page,.admin-standalone .sheet{width:100vw;max-width:none;margin:0;border-radius:0;height:100dvh;min-height:100dvh}
.chat-compose{width:100vw;max-width:none}
.chat-photo-preview{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chat-media-preview:has(.chat-photo-preview){flex-wrap:wrap;max-height:42dvh;overflow:auto}
.chat-photo-preview .preview-item{height:90px}
.chat-photo-preview img{width:100%;height:100%;object-fit:cover}
.chat-list .media-grid{max-width:380px;grid-template-columns:repeat(2,minmax(0,1fr))}
.chat-list .media-grid.one{grid-template-columns:1fr}
img[data-action="preview-image"]{cursor:zoom-in}
.network-auth-gate,.security-shield{padding:0;overflow:auto;align-items:stretch}
.network-auth-card,.security-card{width:100vw;min-height:100dvh;max-width:none;margin:0;border-radius:0;border:0;box-shadow:none;padding:32px max(20px,calc((100vw - 520px)/2))}
.image-gallery,.full-screen-dialog{position:fixed;inset:0;width:100vw;height:100dvh;z-index:1500;display:flex;flex-direction:column;overflow:hidden;border-radius:0}
.image-gallery{background:#0b1018;color:#fff}
.gallery-header{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;min-height:64px;padding:10px 14px;flex-shrink:0}
.gallery-counter{text-align:center;font-weight:700}
.gallery-close,.gallery-step{border:1px solid #526175;border-radius:10px;background:#1d2939;color:#fff;min-width:44px;min-height:44px}
.gallery-stage{min-height:0;flex:1;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:6px;padding:10px}
.gallery-main{display:block;max-width:100%;width:100%;height:100%;min-height:0;object-fit:contain;touch-action:pan-y pinch-zoom}
.gallery-step{font-size:30px}
.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;flex-shrink:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));justify-content:safe center}
.gallery-thumbs button{flex:0 0 64px;height:64px;border:2px solid transparent;background:#1d2939;padding:2px;border-radius:9px}
.gallery-thumbs button.active{border-color:#fff}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.full-screen-dialog{background:var(--bg)}
.dialog-body{width:100%;max-width:760px;margin:0 auto;padding:24px 18px;overflow:auto;line-height:1.7}
.dialog-body label{display:grid;gap:8px;margin:16px 0}
.dialog-body .dual{margin-top:24px}
#pullRefreshIndicator{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:1300;background:#111827;color:#fff;padding:10px 20px;border-radius:24px;opacity:0;pointer-events:none;font-size:13px;transition:opacity .15s}
#pullRefreshIndicator.show{opacity:1}

/* V6.14.5 mobile interactions */
.swipe-row{position:relative;overflow:hidden;background:#ef4444;border-radius:14px;margin:0;min-width:0}
.swipe-content{position:relative;z-index:1;background:#fff;touch-action:pan-y;min-width:0}
.swipe-content>.conversation-row,.swipe-content>.system-note{margin:0;background:#fff!important}
.swipe-delete{position:absolute;inset:0 0 0 auto;width:88px;border:0;background:#ef4444;color:#fff;font-size:15px;font-weight:700}
.swipe-row:focus-within .swipe-delete{outline-offset:-4px}
.reorder-list{display:block}.reorder-item{position:relative;min-width:0;touch-action:pan-y}
.reorder-handle{flex:0 0 32px;min-width:32px;min-height:44px;border:0;background:transparent;color:#98a2b3;font-size:22px;cursor:grab;touch-action:pan-y;user-select:none}
.reorder-post>.reorder-handle{position:absolute;right:8px;top:7px;z-index:3;background:#ffffffea;border-radius:10px}
.reorder-post>.card{padding-top:46px}
.drag-placeholder{visibility:hidden}.drag-ghost{z-index:1800!important;box-shadow:0 18px 46px #10182845!important;pointer-events:none!important;opacity:.98;background:#fff;border-radius:16px}
.dragging-list,.dragging-list *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
.sort-help{color:#667085;font-size:12px;line-height:1.7;margin:8px 0 12px}
.favorite-folder-row{display:flex;align-items:center;gap:8px;background:#f8fafc;border-radius:12px;padding:9px 12px;margin-bottom:6px}
.favorite-folder-row>button:first-child{flex:1;text-align:left;border:0;background:transparent;font-weight:650;min-height:38px}
#pullRefreshIndicator.pull-refresh{position:fixed;left:0;width:100%;padding:0;border-radius:0;transform:none;z-index:1200;color:#475467;background:transparent;display:flex;align-items:center;justify-content:center;gap:8px;height:0;overflow:hidden;font-size:12px;opacity:0;transition:none}
#pullRefreshIndicator.pull-refresh.show{opacity:1}
.pull-arrow{display:grid;place-items:center;width:26px;height:26px;border:1.5px solid #98a2b3;border-radius:50%;font-size:21px;line-height:1;color:#667085}
.pull-loading .pull-arrow{border-width:2px;border-color:#d0d5dd;border-top-color:#16a34a;font-size:0;animation:campus-spin .7s linear infinite}
.pull-ready .pull-arrow{border-color:#16a34a;color:#16a34a}
.refresh-highlight{animation:refresh-flash 1.1s ease-out}
@keyframes refresh-flash{0%,40%{background:#dcfce7;box-shadow:0 0 0 3px #86efac88}100%{box-shadow:none}}
@keyframes campus-spin{to{transform:rotate(360deg)}}
.btn.submit-morph{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;padding:0;min-height:var(--submit-height);height:var(--submit-height);border-radius:999px;transition:width 300ms ease-in-out,background-color 200ms ease-out;vertical-align:middle}
.submit-morph.morph-loading{width:var(--submit-height);animation:morph-shrink 300ms ease-in-out}
.morph-label{opacity:0;white-space:nowrap;animation:morph-text-out 150ms ease-out}
.morph-spinner{position:absolute;width:23px;height:23px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:campus-spin .7s linear infinite}
.btn.primary.submit-morph.morph-success{width:var(--submit-height);background:#16a34a;color:#fff}
.morph-check{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.morph-check path{stroke-dasharray:24;stroke-dashoffset:0;animation:morph-check-draw 300ms ease-out}
@keyframes morph-shrink{from{width:var(--submit-width)}to{width:var(--submit-height)}}
@keyframes morph-text-out{from{opacity:1}to{opacity:0}}
@keyframes morph-check-draw{from{stroke-dashoffset:24}to{stroke-dashoffset:0}}
.setting-row input.jelly-switch,.toggle-row input.jelly-switch,input.jelly-switch{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 48px;width:48px!important;height:28px!important;margin:0;border:0!important;border-radius:99px;background:#d0d5dd;transition:background-color 350ms ease-out;cursor:pointer;vertical-align:middle}
input.jelly-switch:checked{background:#22c55e}
input.jelly-switch:before{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:99px;background:white;box-shadow:0 1px 4px #10182822;transform:translateX(0)}
input.jelly-switch:checked:before{transform:translateX(20px)}
input.jelly-switch.jelly-on:checked:before{animation:jelly-on 350ms cubic-bezier(.34,1.56,.64,1)}
input.jelly-switch.jelly-off:not(:checked):before{animation:jelly-off 350ms cubic-bezier(.34,1.56,.64,1)}
input.jelly-switch:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
input.jelly-switch:disabled{opacity:.55;cursor:wait}
@keyframes jelly-on{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(10px) scaleX(1.4) scaleY(.88)}80%{transform:translateX(23px) scaleX(.9) scaleY(1.05)}100%{transform:translateX(20px)}}
@keyframes jelly-off{0%{transform:translateX(20px) scaleX(1)}50%{transform:translateX(10px) scaleX(1.4) scaleY(.88)}80%{transform:translateX(-3px) scaleX(.9) scaleY(1.05)}100%{transform:translateX(0)}}
.video-fallback{padding:10px;background:#fff7ed;border-radius:10px;color:#9a3412;font-size:12px;line-height:1.6}.video-fallback button,.video-fallback a{display:inline-block;margin:7px 8px 0 0;font-size:12px}
@media(prefers-reduced-motion:reduce){.refresh-highlight,.morph-check path,.submit-morph,.morph-label,input.jelly-switch:before{animation:none!important;transition:none!important}}
@supports not (height:100dvh){.image-gallery,.full-screen-dialog,.detail-page,.sheet{height:100vh}.network-auth-card,.security-card{min-height:100vh}}
@supports not selector(:has(*)){.chat-media-preview{flex-wrap:wrap;max-height:42vh;overflow:auto}}
/* V6.14.5: school permissions and private administrator identity alerts. */
.school-readonly{background:#f1f5f9;color:#334155;cursor:default}
.identity-alert-banner{margin:14px 16px;padding:16px;border:2px solid #b91c1c;border-radius:16px;background:#fff1f2;color:#881337;line-height:1.6}
.identity-alert-banner p{margin:8px 0;font-size:13px}
.identity-alert-card{border:2px solid #b91c1c}
.identity-alert-chip{display:inline-block;margin:9px 0;padding:5px 10px;border-radius:9px;background:#fee2e2;color:#991b1b;font-size:12px;font-weight:700}
.identity-match-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #fecdd3}
.identity-match-row>div{min-width:0;overflow-wrap:anywhere}
.identity-match-row small{display:block}
.identity-match-row .btn{flex-shrink:0}
.admin-school-form{margin-top:16px}

/* V6.14.6: consistent mobile viewport, safe areas, and form alignment. */
:root{--app-height:100vh;--viewport-top:0px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}
@supports(height:100dvh){:root{--app-height:100dvh}}
html{scrollbar-gutter:stable;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip;overscroll-behavior-y:none}
body.auth-open{overflow:hidden}
.app{width:100%;min-height:var(--app-height)}
.main-header{padding-top:calc(16px + var(--safe-top));padding-left:max(16px,var(--safe-left));padding-right:max(16px,var(--safe-right))}
#main{padding-bottom:calc(112px + var(--safe-bottom));min-width:0}
.bottom{width:calc(100% - 24px - var(--safe-left) - var(--safe-right));max-width:496px;bottom:calc(12px + var(--safe-bottom));height:76px}
.bottom button{min-width:0;margin:4px 2px}
.keyboard-open .bottom{display:none}
.detail-page,.admin-standalone .detail-page,.image-gallery,.full-screen-dialog{top:var(--viewport-top);bottom:auto;width:100%;height:var(--app-height);min-height:0;max-height:var(--app-height)}
.detail-header{height:auto;min-height:calc(64px + var(--safe-top));padding:calc(10px + var(--safe-top)) max(14px,var(--safe-right)) 10px max(14px,var(--safe-left))}
.detail-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + var(--safe-bottom))}
.mask{top:var(--viewport-top);bottom:auto;height:var(--app-height)}
.sheet,.admin-standalone .sheet{width:100%;height:100%;min-height:0;max-height:100%;padding-left:max(14px,var(--safe-left));padding-right:max(14px,var(--safe-right))}
.sheet-head{padding-top:calc(10px + var(--safe-top));min-height:calc(64px + var(--safe-top))}
.sheet-head h3{grid-column:1/3;min-width:0;margin:0;font-size:17px}
.sheet-head .close{grid-column:3;justify-self:end}
.network-auth-gate,.security-shield{top:var(--viewport-top);bottom:auto;height:var(--app-height);overscroll-behavior:contain}
.network-auth-card,.security-card{width:100%;min-height:100%;padding-top:calc(28px + var(--safe-top));padding-bottom:calc(28px + var(--safe-bottom))}
.input,.select,.textarea,.search{font-size:16px;line-height:1.45;min-width:0;min-height:44px}
button,input,textarea,select{-webkit-tap-highlight-color:transparent}
button,.upload-button,.detail-back,.close{touch-action:manipulation}
.form,.dual,.contact-info,.conversation-info,.chat-page,.chat-list{min-width:0}
.dual{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-text,.chat-bubble,.profile-bio-line,.detail-title{overflow-wrap:anywhere}
.chat-compose{position:sticky;left:auto;bottom:0;transform:none;width:100%;margin-top:12px;padding:10px max(14px,var(--safe-right)) calc(10px + var(--safe-bottom)) max(14px,var(--safe-left));grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px;z-index:5}
.chat-compose #chatInput{grid-column:2;grid-row:2}
.chat-compose .chat-media-btn{grid-column:1;grid-row:2}
.chat-compose #chatSendButton,.chat-compose [data-action=send-group-message]{grid-column:3;grid-row:2;min-height:44px}
.chat-compose .voice-toggle{grid-column:1;grid-row:3;width:44px;height:44px}
.chat-compose .voice-hold{grid-column:2/4;grid-row:3;min-height:44px}
.chat-compose .chat-tools-panel{grid-column:1/-1;grid-row:4}
.chat-media-preview{grid-column:1/-1;grid-row:1}
.chat-list{padding-bottom:12px!important}
.dm-permission-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.dm-permission-notice span{flex:1;min-width:180px}
.gallery-header,.dialog-header{padding-top:calc(14px + var(--safe-top));padding-left:max(16px,var(--safe-left));padding-right:max(16px,var(--safe-right))}
@media(max-width:360px){.dual{grid-template-columns:1fr}.contact-actions{flex-wrap:wrap}.header-line h1{font-size:21px}.bottom button small{font-size:11px}.network-auth-brand{flex-wrap:wrap}}

.detail-body.chat-detail{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.chat-detail .chat-page{display:flex;flex-direction:column;flex:1;min-height:0;height:100%}
.chat-detail .chat-person-head,.chat-detail .dm-permission-notice,.chat-detail .chat-page>.notice{flex-shrink:0}
.chat-detail .chat-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.chat-detail .chat-compose{position:relative;flex-shrink:0;margin-top:0;grid-template-columns:44px minmax(0,1fr) auto 44px!important}
.chat-detail .chat-compose .voice-toggle{grid-column:4;grid-row:2}
.chat-detail .chat-compose .voice-hold{grid-column:2/4;grid-row:2}

.profile-follow-stats{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.22);padding-top:12px}

/* V6.15.1: follower-ranked discovery and editable banners. */
.discover-account-section{margin-bottom:18px}.discover-account-section .section-title h2{font-size:17px}.discover-ranked-account .discover-follower-count{color:#175d88;font-weight:700;font-size:13px}.discover-empty{padding:12px 2px}.discover-ad-slide{position:relative;overflow:hidden}.discover-ad-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;pointer-events:none}.discover-ad-slide>div{position:relative;z-index:1}.discover-ad-editor .form{gap:14px}.discover-ad-editor .setting-row{padding:10px 0}.discover-ad-editor .org-image-preview img{max-height:220px}.discover-ranked-account b{overflow-wrap:anywhere}

/* V6.16.6: verification, growth and keyboard-friendly aligned forms. */
[data-view^="verification-"] .detail-body{width:min(100%,760px);margin-inline:auto;box-sizing:border-box}
[data-view^="verification-"] .detail-hero{padding:22px;border:1px solid #e4e8ee;border-radius:20px;background:#fff;box-shadow:none}
[data-view^="verification-"] .detail-hero h2{font-size:23px;letter-spacing:-.03em}
[data-view^="verification-"] .detail-hero p{font-size:13px!important;line-height:1.75!important;color:#647085}
[data-view^="verification-"] .verify-language-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#eef1f5;border-radius:13px;margin-bottom:16px}
[data-view^="verification-"] .verify-language-switch button{min-height:42px;border:0;border-radius:9px;background:transparent;font-size:13px;color:#475467;padding:8px}
[data-view^="verification-"] .verify-language-switch button.active{background:#fff;color:#17202f;box-shadow:0 2px 5px #17202f0b}
[data-view^="verification-"] .verify-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
[data-view^="verification-"] .verify-choice button{display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:8px;min-height:106px;padding:16px 8px;border:1px solid #e0e5ec;border-radius:16px;background:#fff;text-align:center;color:#475467;min-width:0}
[data-view^="verification-"] .verify-choice button.active{border-color:#475467;background:#f3f5f8;box-shadow:0 0 0 1px #475467}
[data-view^="verification-"] .verify-icon{margin:0;width:32px;height:32px;border-radius:11px;font-size:12px;background:#eef1f5;color:#475467;flex-shrink:0}
[data-view^="verification-"] .verify-choice button.active .verify-icon{background:#17202f;color:white}
[data-view^="verification-"] .verify-choice b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
[data-view^="verification-"] .verify-choice small{display:none}
[data-view^="verification-"] #verifyForm>.detail-section{padding:22px;border:1px solid #e4e8ee;border-radius:20px;box-shadow:none}
[data-view^="verification-"] .form{gap:20px}
[data-view^="verification-"] .form>label{display:grid;gap:8px;font-size:14px;line-height:1.65}
[data-view^="verification-"] .input,[data-view^="verification-"] .select{border-radius:12px;background:#fbfcfd}
[data-view^="verification-"] .verify-doc{padding:18px;border:1px dashed #cdd5df;background:#f8fafc;border-radius:15px}
[data-view^="verification-"] .verify-doc b{font-size:14px}
[data-view^="verification-"] .verify-doc p{font-size:12px;line-height:1.7;margin:8px 0 14px;color:#667085}
[data-view^="verification-"] .upload-button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:8px 14px;border-radius:10px}
[data-view^="verification-"] .verify-doc-name{padding:6px 0 0;overflow-wrap:anywhere}
[data-view^="verification-"] .notice{font-size:12px;line-height:1.8;border-radius:12px}
[data-view^="verification-"] .btn.primary.full{min-height:48px;border-radius:12px}
.growth-layout{display:grid;gap:18px;width:min(100%,760px);margin:0 auto;min-width:0}.growth-layout>.detail-section{margin:0;padding:24px;border:1px solid #e4e8ee;border-radius:22px;background:#fff;box-shadow:none}.growth-heading{padding:8px 4px}.growth-heading>small{font-size:10px;color:#697586;letter-spacing:.15em;font-weight:700}.growth-heading h2{font-size:24px;letter-spacing:-.04em;margin:9px 0 10px;line-height:1.4}.growth-heading p{margin:0;font-size:13px;color:#667085;line-height:1.8}.growth-hero{padding:24px;border-radius:22px;background:linear-gradient(135deg,#182433,#2a3d47);color:#fff}.growth-level-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#d9e0e8}.growth-level-top span:first-child{font-size:14px;font-weight:600;color:white}.growth-hero>strong{display:block;font-size:56px;line-height:1.2;margin:24px 0 20px;letter-spacing:-.06em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.growth-hero>strong>small{display:inline-block;font-size:12px;font-weight:400;margin-left:10px;letter-spacing:0;color:#d9e0e8}.growth-progress{height:6px;border-radius:100px;background:#ffffff25;overflow:hidden}.growth-progress>span{display:block;height:100%;border-radius:inherit;background:#d6e8df}.growth-hero>p{font-size:12px;line-height:1.65;color:#d9e0e8;margin:12px 0 20px}.growth-today{padding-top:18px;border-top:1px solid #ffffff25;display:flex;align-items:center;justify-content:space-between;font-size:13px}.growth-today>b{font-size:22px;font-variant-numeric:tabular-nums}.growth-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.growth-section-title h3{margin:0;font-size:17px}.growth-section-title small{font-size:12px;color:#667085}.growth-rules{display:grid;gap:16px}.growth-rule>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.growth-rule b{font-size:14px;font-weight:600}.growth-rule span,.growth-rule>small{font-size:12px;color:#667085}.growth-rule>small{display:block;margin:7px 0 9px;font-variant-numeric:tabular-nums}.growth-rule-track{height:5px;border-radius:99px;overflow:hidden;background:#eef1f5}.growth-rule-track>span{display:block;height:100%;background:#577265;border-radius:inherit}.growth-note{color:#667085;font-size:12px;line-height:1.85;padding:16px;background:#f7f9fb;border-radius:12px;margin:20px 0 0}.growth-history-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #edf0f4}.growth-history-row:last-child{border-bottom:0}.growth-history-row>span{min-width:0}.growth-history-row b{font-size:14px;font-weight:500}.growth-history-row small{display:block;font-size:12px;color:#667085;margin-top:6px}.growth-history-row>strong{font-size:18px;font-variant-numeric:tabular-nums;color:#176342}.growth-empty,.growth-loading{padding:24px 12px;text-align:center;color:#667085;font-size:14px;line-height:1.8}.growth-layout .btn{min-height:44px;border-radius:12px}.growth-layout .btn.full{margin-top:16px}
@media(min-width:640px){.growth-rules{grid-template-columns:1fr 1fr;gap:22px}.growth-rule:last-child{grid-column:1/-1}}
@media(max-width:360px){[data-view^="verification-"] .verify-choice{gap:7px}[data-view^="verification-"] .verify-choice button{padding:14px 5px}.growth-layout>.detail-section,.growth-hero{padding:20px}.growth-heading h2{font-size:22px}}
/* V6.17 trading and administration */
[hidden]{display:none!important}
.trade-tabs{position:sticky;top:0;z-index:2;background:var(--bg,#f6f7f9);padding:8px 0}
.trade-tabs button{flex:1;min-height:46px;font-weight:650}
.trade-history{grid-column:1/-1;margin:14px 0;color:#667085}
.trade-history summary{padding:16px;border:1px solid #e4e7ec;border-radius:14px;cursor:pointer;background:#fff}
.trade-history[open] .market-list{margin-top:12px}
.trade-price{font-size:24px;font-weight:750;color:#147d64;letter-spacing:-.5px}
.trade-price small{font-size:13px;font-weight:500}
.circulation-card{overflow:hidden;display:flex;flex-direction:column;gap:10px}
.circulation-card h3{margin:0}.circulation-card .btn{margin-top:auto}
.circulation-cover{border-radius:12px;overflow:hidden;max-height:220px;background:#f2f4f7}
.circulation-cover img{width:100%;height:180px;object-fit:cover}
.chat-media-btn,.voice-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid #e4e7ec;border-radius:13px;background:white;color:#344054}
.tool-icon{display:flex;align-items:center;justify-content:center;background:#f2f6fa;border-radius:16px;width:50px;height:50px;color:#344054}
.chat-tool{gap:8px}.home-tool-icon{display:flex;align-items:center;justify-content:center}
.admin-workspace{background:#f7f9fc;padding:20px!important}
.admin-workspace .detail-hero{background:linear-gradient(125deg,#16324c,#24526a);color:white;border:0;padding:24px;border-radius:20px}
.admin-workspace .detail-hero .tag{background:#ffffff20;color:#fff}
.admin-workspace .developer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.admin-workspace .developer-stat{border:1px solid #ffffff20;background:#ffffff10;border-radius:13px;padding:14px;color:white}
.admin-workspace .developer-stat small{color:#d0dfeb}.admin-workspace .developer-stat b{font-size:27px}
.admin-workspace .admin-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.admin-workspace .admin-tool-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:110px;border:1px solid #e4e7ec;border-radius:16px;padding:18px;background:#fff;color:#1d2939;text-align:left;cursor:pointer;box-shadow:0 3px 10px #102a4305;transition:transform .15s,border-color .15s}
.admin-workspace .admin-tool-card:hover{transform:translateY(-2px);border-color:#81b9c1}
.admin-workspace .admin-tool-card small{color:#667085;line-height:1.5}
.admin-workspace .contact-row{padding:16px 4px;border-bottom:1px solid #eaecf0}
.admin-workspace .contact-info{min-width:0;overflow-wrap:anywhere}
.admin-workspace .btn:focus-visible,.trade-tabs button:focus-visible{outline:3px solid #86b7dc;outline-offset:3px}
@media(max-width:600px){.admin-workspace{padding:12px!important}.admin-workspace .admin-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace .admin-tool-card{padding:14px;min-height:106px}.admin-workspace .developer-grid{gap:8px}.admin-workspace .developer-stat{padding:10px}.admin-workspace .contact-row{flex-wrap:wrap}.detail-actions{flex-wrap:wrap}.detail-actions .btn{min-height:44px}}
.auth-consent-row{display:flex!important;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}
.auth-consent-row input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0}
.auth-consent-row span{flex:1;min-width:0}
#tradeFields .rich-image-picker label{position:relative;display:grid;gap:10px;cursor:pointer}
#tradeFields .rich-image-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.trade-image-add{display:flex;align-items:center;justify-content:center;min-height:66px;border:1px dashed #b6c8d5;border-radius:14px;background:#f8fafc;color:#47657a;font-weight:600}
#tradeFields .rich-image-picker:focus-within .trade-image-add{outline:3px solid #b4d8ec;outline-offset:2px}
@media(max-width:600px){.admin-workspace .detail-hero h2{font-size:20px!important}.admin-workspace .detail-hero .row>.btn{white-space:nowrap;flex-shrink:0;font-size:12px;padding:10px}}
