*{margin:0;padding:0;box-sizing:border-box;}
html,body{min-height:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Helvetica Neue",sans-serif;
  color:#1D1D1F;display:flex;flex-direction:column;
  background:#F2F2F2;min-height:100vh;
  -webkit-font-smoothing:antialiased;position:relative;
}
body::before{
  content:'';position:fixed;inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, #FAFAFA 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, #E8E8EC 0%, transparent 60%);
  pointer-events:none;z-index:0;
}
.topbar{
  position:relative;z-index:10;background:#0A0A0A;color:#fff;
  padding:22px 40px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;
}
.logo{font-size:14px;font-weight:900;letter-spacing:4px;color:#fff;}
.logo span{color:#7B61FF;}
.topbar .right{display:flex;gap:16px;align-items:center;font-size:12px;color:#bbb;}
.topbar .meta{font-size:10px;letter-spacing:3px;color:#86868B;text-transform:uppercase;font-weight:600;}
.btn-logout{background:none;border:1px solid #333;color:#fff;padding:8px 16px;border-radius:8px;
  font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:none;}
.btn-logout:hover{background:#222;}

.stage{
  position:relative;z-index:10;flex:1;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  padding:40px 24px;
}
.panel{
  width:100%;max-width:960px;background:#FFFFFF;border-radius:28px;
  padding:40px 52px 36px;position:relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(255,255,255,.9),
    0 1px 2px rgba(0,0,0,.04),
    0 8px 20px rgba(0,0,0,.06),
    0 24px 60px rgba(0,0,0,.10),
    0 48px 100px rgba(0,0,0,.08);
}
.panel::before{
  content:'';position:absolute;inset:0;border-radius:28px;
  border:1px solid rgba(0,0,0,.04);pointer-events:none;
}
.panel.scrollable{max-height:calc(100vh - 160px);overflow-y:auto;}

.head{margin-bottom:26px;}
.head .eyebrow{
  font-size:10px;letter-spacing:5px;font-weight:700;color:#1D1D1F;
  text-transform:uppercase;margin-bottom:10px;display:flex;align-items:center;gap:12px;
}
.head .eyebrow::after{content:'';width:40px;height:1px;background:linear-gradient(90deg,#1D1D1F,transparent);}
.head h1{font-size:34px;font-weight:900;letter-spacing:-1px;color:#1D1D1F;margin-bottom:8px;line-height:1.15;}
.head .sub{font-size:13px;color:#86868B;letter-spacing:.2px;line-height:1.7;}

.role-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px;}
.role-card{
  padding:20px 22px 18px;border-radius:18px;cursor:pointer;
  transition:all .25s cubic-bezier(.2,.8,.2,1);
  position:relative;background:#FFFFFF;border:1.5px solid transparent;
  user-select:none;min-height:100px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 12px rgba(0,0,0,.05);
}
.role-card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(0,0,0,.05),0 12px 28px rgba(0,0,0,.08);}
.role-card.active{background:#7B61FF;border-color:#7B61FF;
  box-shadow:0 8px 20px rgba(123,97,255,.40),0 16px 40px rgba(123,97,255,.28);}
.role-card.active h3{color:#fff;}
.role-card.active .desc{color:rgba(255,255,255,.85);}
.role-card.active .en{color:rgba(255,255,255,.85);}
.role-card.active::after{
  content:'✓';position:absolute;top:14px;right:14px;
  width:22px;height:22px;border-radius:50%;background:#FFFFFF;color:#7B61FF;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;
}
.role-card .en{font-size:9px;letter-spacing:3px;font-weight:800;color:#7B61FF;margin-bottom:6px;transition:color .2s;}
.role-card h3{font-size:17px;font-weight:900;letter-spacing:-.3px;color:#1D1D1F;margin-bottom:3px;transition:color .2s;}
.role-card .desc{font-size:11.5px;line-height:1.5;color:#86868B;transition:color .2s;}

.divider{display:flex;align-items:center;gap:16px;margin-bottom:22px;
  font-size:10px;letter-spacing:3px;color:#86868B;text-transform:uppercase;font-weight:700;}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:#E8E8EA;}

.form-row-1{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px;}
.form-row-2{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:flex-start;}

.field{margin-bottom:16px;}
.field label{
  display:block;font-size:10px;font-weight:800;color:#86868B;
  margin-bottom:6px;letter-spacing:2px;text-transform:uppercase;
}
.field label .req{color:#7B61FF;margin-left:3px;}
.field label .opt{font-weight:500;color:#AEAEB2;letter-spacing:0;text-transform:none;font-size:10px;margin-left:4px;}
.input-wrap{position:relative;}
.input-wrap input{padding-right:44px;}
.field input,.field textarea{
  width:100%;background:#F5F5F7;border:1.5px solid transparent;border-radius:12px;
  padding:13px 16px;font-size:14px;font-family:inherit;color:#1D1D1F;transition:all .2s;
}
.field textarea{resize:vertical;min-height:90px;line-height:1.6;}
.field input:hover,.field textarea:hover{background:#EFEFF1;}
.field input:focus,.field textarea:focus{
  outline:none;background:#FFFFFF;border-color:#7B61FF;box-shadow:0 0 0 4px rgba(123,97,255,.12);
}
.field input::placeholder,.field textarea::placeholder{color:#AEAEB2;}

.eye-btn{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:none;background:transparent;cursor:pointer;padding:0;
  display:flex;align-items:center;justify-content:center;color:#AEAEB2;transition:color .18s;border-radius:6px;
}
.eye-btn:hover{color:#7B61FF;}
.eye-btn svg{width:18px;height:18px;display:block;}

.email-hint{margin-top:9px;display:flex;gap:8px;align-items:center;
  font-size:11px;line-height:1.5;color:#86868B;letter-spacing:.2px;}
.email-hint .icon{flex-shrink:0;width:13px;height:13px;border-radius:50%;
  border:1.2px solid #C7C7CC;color:#C7C7CC;font-size:9px;font-weight:800;
  display:flex;align-items:center;justify-content:center;line-height:1;font-family:Georgia,serif;font-style:italic;}

.btn-login-wrap{display:flex;align-items:flex-start;padding-top:22px;}
.btn-login{
  background:#7B61FF;color:#fff;border:none;border-radius:12px;
  padding:13px 32px;font-size:14px;font-weight:800;letter-spacing:2px;
  cursor:pointer;font-family:inherit;transition:all .18s;height:46px;white-space:nowrap;
  box-shadow:0 4px 12px rgba(123,97,255,.35);
}
.btn-login:hover{background:#6A4EFF;box-shadow:0 6px 18px rgba(123,97,255,.45);transform:translateY(-1px);}
.btn-login:active{background:#5B3FDB;transform:translateY(0);}
.btn-login:disabled{opacity:.5;cursor:not-allowed;transform:none;}

.btn-primary{
  background:#7B61FF;color:#fff;border:none;border-radius:12px;
  padding:14px 32px;font-size:14px;font-weight:800;letter-spacing:1px;
  cursor:pointer;font-family:inherit;transition:all .18s;
  box-shadow:0 4px 12px rgba(123,97,255,.35);width:100%;
}
.btn-primary:hover{background:#6A4EFF;transform:translateY(-1px);box-shadow:0 6px 18px rgba(123,97,255,.45);}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none;}

.btn-secondary{
  background:#F5F5F7;color:#1D1D1F;border:1.5px solid #E0E0E2;border-radius:12px;
  padding:11px 22px;font-size:12px;font-weight:800;letter-spacing:1px;
  cursor:pointer;font-family:inherit;transition:all .18s;
}
.btn-secondary:hover{background:#EBEBED;border-color:#7B61FF;color:#7B61FF;}

.bottom-row{margin-top:22px;display:flex;justify-content:space-between;align-items:center;}
.hint-auto{font-size:12px;color:#86868B;letter-spacing:.2px;display:flex;align-items:center;gap:6px;}
.hint-auto::before{content:'';width:5px;height:5px;border-radius:50%;background:#7B61FF;opacity:.5;}

.msg{font-size:12.5px;letter-spacing:.2px;min-height:16px;text-align:right;font-weight:600;}
.msg.err{color:#D0021B;}
.msg.ok{color:#1D1D1F;font-weight:700;}
.msg.center{text-align:center;}

.card{
  background:#FFFFFF;border:1.5px solid #EFEFF1;border-radius:18px;
  padding:22px 24px;margin-bottom:14px;transition:all .2s;
}
.card:hover{border-color:#DDDDDF;box-shadow:0 4px 16px rgba(0,0,0,.05);}
.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;}
.card-title{font-size:17px;font-weight:900;letter-spacing:-.3px;color:#1D1D1F;}
.card-title .ip-type{font-size:11px;font-weight:600;color:#86868B;margin-left:6px;letter-spacing:0;}
.badge{
  font-size:10.5px;font-weight:800;letter-spacing:.5px;
  padding:5px 12px;border-radius:20px;white-space:nowrap;text-transform:uppercase;
}
.badge-pending{background:#FFF3CD;color:#8A6D00;}
.badge-accepted{background:#D4F5DD;color:#0A7A33;}
.badge-rejected{background:#FFE0E0;color:#B00020;}
.badge-timeout{background:#EEE;color:#666;}
.meta{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;color:#86868B;margin-top:6px;}
.meta b{color:#1D1D1F;font-weight:700;}

.detail-row{display:flex;padding:10px 0;border-top:1px solid #F2F2F4;font-size:13px;}
.detail-row:first-of-type{border-top:none;}
.detail-row .k{width:100px;color:#86868B;flex-shrink:0;font-weight:600;font-size:12px;padding-top:2px;}
.detail-row .v{flex:1;line-height:1.7;white-space:pre-wrap;color:#1D1D1F;}

.imgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:12px;}
.imgs img{width:100%;border-radius:10px;border:1px solid #EFEFF1;cursor:zoom-in;aspect-ratio:1;object-fit:cover;}

.empty{text-align:center;padding:70px 20px;color:#86868B;}
.empty .big{font-size:44px;margin-bottom:14px;opacity:.3;}
.empty p{font-size:13px;line-height:1.7;}

.upload-zone{
  border:2px dashed #D8D8DA;border-radius:14px;padding:32px;text-align:center;
  cursor:pointer;transition:.2s;background:#FAFAFB;
}
.upload-zone:hover{border-color:#7B61FF;background:#FFFFFF;}
.upload-zone .big{font-size:14px;font-weight:800;color:#1D1D1F;margin-bottom:4px;}
.upload-zone .small{font-size:11px;color:#86868B;}
.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:12px;}
.preview-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid #EFEFF1;background:#F5F5F7;}
.preview-item img{width:100%;height:100%;object-fit:cover;}
.preview-item .del{
  position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;
  background:rgba(0,0,0,.7);color:#fff;border:none;cursor:pointer;font-size:13px;
  display:flex;align-items:center;justify-content:center;line-height:1;
}
.preview-item .del:hover{background:#D0021B;}

.radio-row{display:flex;gap:10px;margin-bottom:10px;}
.radio-opt{
  flex:1;border:1.5px solid #E0E0E2;border-radius:10px;padding:11px;
  text-align:center;cursor:pointer;font-size:12.5px;font-weight:800;
  letter-spacing:.5px;transition:.2s;background:#FFFFFF;
}
.radio-opt.active{border-color:#7B61FF;color:#7B61FF;background:rgba(123,97,255,.05);}

.section-title{font-size:12px;font-weight:800;letter-spacing:3px;color:#86868B;
  text-transform:uppercase;margin-bottom:14px;margin-top:26px;display:flex;align-items:center;gap:10px;}
.section-title::after{content:'';flex:1;height:1px;background:#E8E8EA;}

.filter-row{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap;}
.filter-btn{
  background:#F5F5F7;border:1.5px solid transparent;border-radius:10px;
  padding:9px 18px;font-size:12px;font-weight:800;letter-spacing:.5px;
  cursor:pointer;font-family:inherit;transition:.2s;color:#1D1D1F;
}
.filter-btn:hover{background:#EBEBED;}
.filter-btn.active{background:#1D1D1F;color:#fff;}

.refresh-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:12px;}

@media(max-width:1024px){.panel{max-width:100%;}}
@media(max-width:768px){
  .topbar{padding:18px 24px;}
  .topbar .meta{display:none;}
  .stage{padding:24px 16px;}
  .panel{padding:28px 22px 24px;border-radius:22px;max-width:100%;}
  .role-grid{grid-template-columns:1fr;}
  .head h1{font-size:24px;letter-spacing:-.5px;}
  .head .sub{font-size:12.5px;}
  .form-row-1{grid-template-columns:1fr;}
  .form-row-2{grid-template-columns:1fr;}
  .btn-login{width:100%;}
  .btn-login-wrap{padding-top:0;}
  .bottom-row{flex-direction:column;align-items:flex-start;gap:10px;}
  .msg{text-align:left;}
  .detail-row{flex-direction:column;gap:4px;}
  .detail-row .k{width:auto;}
}
.modal-mask{
  position:fixed;inset:0;background:rgba(0,0,0,.5);
  display:flex;align-items:center;justify-content:center;
  z-index:1000;padding:20px;
}
.modal{
  background:#fff;border-radius:20px;padding:32px;
  max-width:480px;width:100%;max-height:90vh;overflow:auto;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
}
.modal h2{font-size:20px;font-weight:900;letter-spacing:-.3px;margin-bottom:20px;color:#1D1D1F;}
.chat-box{
  margin-top:14px;border:1.5px solid #EFEFF1;border-radius:14px;
  overflow:hidden;background:#FAFAFB;
}
.chat-head{
  background:#0A0A0A;color:#fff;padding:11px 16px;
  font-size:12px;font-weight:800;letter-spacing:1px;
}
.chat-body{
  max-height:280px;overflow-y:auto;padding:16px;
  display:flex;flex-direction:column;gap:10px;
}
.chat-msg{
  max-width:78%;padding:10px 14px;border-radius:14px;
  font-size:13px;line-height:1.6;word-break:break-word;
}
.chat-msg .time{font-size:10px;opacity:.6;display:block;margin-top:4px;}
.chat-msg.them{background:#fff;border:1px solid #EFEFF1;align-self:flex-start;border-bottom-left-radius:4px;}
.chat-msg.me{background:#7B61FF;color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.chat-msg.system{
  align-self:center;background:#FFF3CD;color:#8A6D00;font-size:11px;
  border-radius:20px;padding:7px 14px;max-width:90%;text-align:center;font-weight:600;
}
.chat-input-row{
  display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid #EFEFF1;
}
.chat-input-row input{
  flex:1;padding:10px 14px;border:1.5px solid transparent;border-radius:10px;
  font-size:13px;font-family:inherit;background:#F5F5F7;transition:.2s;
}
.chat-input-row input:focus{outline:none;background:#fff;border-color:#7B61FF;box-shadow:0 0 0 3px rgba(123,97,255,.1);}
/* ========== 顶栏消息按钮 ========== */
.btn-msg{
  background:rgba(123,97,255,.15);color:#B8A5FF;
  border:1px solid rgba(123,97,255,.35);
  padding:8px 14px;border-radius:8px;
  font-size:12px;font-weight:800;letter-spacing:.5px;
  cursor:pointer;font-family:inherit;transition:.2s;
  display:flex;align-items:center;gap:6px;position:relative;
}
.btn-msg:hover{background:rgba(123,97,255,.25);color:#fff;}
.msg-badge{background:#7B61FF;color:#fff;font-size:10px;font-weight:800;
  padding:1px 6px;border-radius:10px;margin-left:4px;}

/* ========== 悬浮启动按钮 ========== */
.msg-launcher{
  position:fixed;right:24px;bottom:24px;
  width:56px;height:56px;border-radius:50%;
  background:#7B61FF;color:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:900;
  box-shadow:0 8px 24px rgba(123,97,255,.4);transition:all .2s;
}
.msg-launcher:hover{transform:scale(1.08);box-shadow:0 12px 32px rgba(123,97,255,.5);}
.launcher-badge{
  position:absolute;top:-4px;right:-4px;
  background:#D0021B;color:#fff;font-size:10px;font-weight:800;
  min-width:20px;height:20px;padding:0 5px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;border:2px solid #F2F2F2;
}

/* ========== 消息面板 ========== */
.msg-panel{
  position:fixed;right:24px;bottom:24px;
  width:760px;height:520px;background:#fff;border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);z-index:950;
  display:none;flex-direction:column;overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}
.msg-panel.open{display:flex;}
.msg-panel-head{
  background:#0A0A0A;color:#fff;padding:14px 20px;
  font-size:13px;font-weight:800;letter-spacing:2px;
  display:flex;justify-content:space-between;align-items:center;flex-shrink:0;
}
.msg-close{background:none;border:none;color:#888;font-size:22px;
  cursor:pointer;font-family:inherit;line-height:1;padding:0;
  width:24px;height:24px;display:flex;align-items:center;justify-content:center;}
.msg-close:hover{color:#fff;}
.msg-panel-body{display:grid;grid-template-columns:240px 1fr;
  flex:1;min-height:0;overflow:hidden;}
.msg-left{background:#FAFAFB;border-right:1px solid #EFEFF1;
  display:flex;flex-direction:column;min-height:0;}
.msg-search{padding:12px;}
.msg-search input{width:100%;background:#F0F0F2;border:none;border-radius:8px;
  padding:9px 12px;font-size:12px;font-family:inherit;}
.msg-search input:focus{outline:none;background:#fff;box-shadow:0 0 0 2px rgba(123,97,255,.2);}
.conv-list{flex:1;overflow-y:auto;padding:6px;}
.conv-item{display:flex;gap:10px;padding:10px 12px;border-radius:10px;
  cursor:pointer;transition:.15s;align-items:center;}
.conv-item:hover{background:#EFEFF1;}
.conv-item.active{background:rgba(123,97,255,.1);}
.conv-avatar{width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,#7B61FF,#A896FF);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:900;flex-shrink:0;position:relative;
  background-size:cover;background-position:center;}
.conv-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.conv-avatar .unread-dot{position:absolute;top:-2px;right:-2px;
  width:10px;height:10px;border-radius:50%;background:#7B61FF;border:2px solid #fff;}
.conv-info{flex:1;min-width:0;}
.conv-name{font-size:13px;font-weight:800;color:#1D1D1F;margin-bottom:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.conv-preview{font-size:11px;color:#86868B;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.conv-time{font-size:10px;color:#AEAEB2;flex-shrink:0;}
.msg-right{display:flex;flex-direction:column;min-height:0;background:#fff;}
.chat-header{padding:14px 20px;border-bottom:1px solid #EFEFF1;
  font-size:13px;font-weight:800;color:#1D1D1F;flex-shrink:0;}
.chat-body{flex:1;overflow-y:auto;padding:18px;
  display:flex;flex-direction:column;gap:10px;background:#FAFAFB;}
.chat-msg{max-width:75%;padding:10px 14px;border-radius:14px;
  font-size:13px;line-height:1.6;word-break:break-word;}
.chat-msg .time{font-size:10px;opacity:.6;display:block;margin-top:4px;}
.chat-msg.them{background:#fff;border:1px solid #EFEFF1;align-self:flex-start;border-bottom-left-radius:4px;}
.chat-msg.me{background:#7B61FF;color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.chat-msg.system{align-self:center;background:#FFF3CD;color:#8A6D00;
  font-size:11px;border-radius:20px;padding:7px 14px;max-width:90%;
  text-align:center;font-weight:600;}
.chat-input-row{display:flex;gap:10px;padding:12px 16px;
  border-top:1px solid #EFEFF1;background:#fff;flex-shrink:0;}
.chat-input-row input{flex:1;padding:10px 14px;border:1.5px solid transparent;
  border-radius:10px;font-size:13px;font-family:inherit;background:#F5F5F7;transition:.2s;}
.chat-input-row input:focus{outline:none;background:#fff;
  border-color:#7B61FF;box-shadow:0 0 0 3px rgba(123,97,255,.1);}

/* ========== 页面通用 ========== */
.page-nav{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #F0F0F2;padding-bottom:0;}
.page-nav-btn{background:none;border:none;font-family:inherit;
  padding:12px 18px;font-size:13px;font-weight:800;letter-spacing:.5px;
  color:#86868B;cursor:pointer;border-bottom:2px solid transparent;
  margin-bottom:-2px;transition:.2s;}
.page-nav-btn:hover{color:#1D1D1F;}
.page-nav-btn.active{color:#7B61FF;border-bottom-color:#7B61FF;}

/* ========== 画师卡片 ========== */
.artist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;}
.artist-card{
  background:#fff;border:1.5px solid #EFEFF1;border-radius:18px;
  padding:20px;transition:.2s;position:relative;
}
.artist-card:hover{border-color:#DDDDDF;box-shadow:0 6px 20px rgba(0,0,0,.06);}
.artist-card-head{display:flex;gap:14px;margin-bottom:12px;align-items:flex-start;}
.artist-avatar{width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#7B61FF,#A896FF);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:900;flex-shrink:0;
  background-size:cover;background-position:center;overflow:hidden;}
.artist-avatar img{width:100%;height:100%;object-fit:cover;}
.artist-card-name{font-size:16px;font-weight:900;color:#1D1D1F;margin-bottom:2px;}
.artist-card-bio{font-size:12px;color:#86868B;line-height:1.5;}
.artist-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px;}
.artist-tag{
  font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px;
  background:rgba(123,97,255,.08);color:#7B61FF;letter-spacing:.3px;
}
.artist-card-footer{display:flex;justify-content:space-between;align-items:center;
  padding-top:12px;border-top:1px solid #F2F2F4;margin-top:auto;}
.artist-status{font-size:11px;font-weight:800;display:flex;align-items:center;gap:5px;}
.artist-status::before{content:'';width:7px;height:7px;border-radius:50%;}
.artist-status.open{color:#0A7A33;}
.artist-status.open::before{background:#0A7A33;box-shadow:0 0 0 3px rgba(10,122,51,.15);}
.artist-status.closed{color:#86868B;}
.artist-status.closed::before{background:#C0C0C0;}

.pricing-block{
  background:#FAFAFB;border-radius:12px;padding:12px 14px;
  margin-bottom:12px;font-size:12px;
}
.pricing-title{font-size:10px;font-weight:800;letter-spacing:2px;
  color:#86868B;text-transform:uppercase;margin-bottom:8px;}
.pricing-item{display:flex;justify-content:space-between;padding:5px 0;
  color:#1D1D1F;font-weight:600;border-bottom:1px dashed #EFEFF1;}
.pricing-item:last-child{border-bottom:none;}
.pricing-item .p-name{flex:1;}
.pricing-item .p-price{color:#7B61FF;font-weight:800;margin-left:10px;}
.pricing-item-img{
  width:100%;border-radius:8px;margin-top:6px;margin-bottom:4px;
  max-height:160px;object-fit:cover;cursor:zoom-in;
}

/* 弹窗内的价目编辑 */
.price-row{
  display:grid;grid-template-columns:1fr 100px auto;gap:8px;
  margin-bottom:8px;align-items:start;
}
.price-row input{padding:10px 12px;font-size:13px;}
.price-row .del-price{
  background:none;border:1.5px solid #E0E0E2;border-radius:8px;
  width:36px;height:36px;cursor:pointer;color:#86868B;font-size:16px;
  display:flex;align-items:center;justify-content:center;
}
.price-row .del-price:hover{border-color:#D0021B;color:#D0021B;}
.price-row-img{margin-bottom:8px;font-size:11px;color:#86868B;}
.price-row-img img{max-width:80px;border-radius:6px;margin-top:6px;display:block;}

@media(max-width:768px){
  .msg-panel{width:calc(100vw - 24px);height:calc(100vh - 100px);}
  .msg-panel-body{grid-template-columns:1fr;}
  .msg-left{display:none;}
  .artist-grid{grid-template-columns:1fr;}
}
/* ========== 顶栏消息按钮 ========== */
.btn-msg{
  background:rgba(123,97,255,.15);color:#B8A5FF;
  border:1px solid rgba(123,97,255,.35);
  padding:8px 14px;border-radius:8px;
  font-size:12px;font-weight:800;letter-spacing:.5px;
  cursor:pointer;font-family:inherit;transition:.2s;
  display:flex;align-items:center;gap:6px;position:relative;
}
.btn-msg:hover{background:rgba(123,97,255,.25);color:#fff;}
.msg-badge{background:#7B61FF;color:#fff;font-size:10px;font-weight:800;
  padding:1px 6px;border-radius:10px;margin-left:4px;}

/* ========== 悬浮启动按钮 ========== */
.msg-launcher{
  position:fixed;right:24px;bottom:24px;
  width:56px;height:56px;border-radius:50%;
  background:#7B61FF;color:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:900;
  box-shadow:0 8px 24px rgba(123,97,255,.4);transition:all .2s;
}
.msg-launcher:hover{transform:scale(1.08);box-shadow:0 12px 32px rgba(123,97,255,.5);}
.launcher-badge{
  position:absolute;top:-4px;right:-4px;
  background:#D0021B;color:#fff;font-size:10px;font-weight:800;
  min-width:20px;height:20px;padding:0 5px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;border:2px solid #F2F2F2;
}

/* ========== 消息面板 ========== */
.msg-panel{
  position:fixed;right:24px;bottom:24px;
  width:760px;height:520px;background:#fff;border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);z-index:950;
  display:none;flex-direction:column;overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}
.msg-panel.open{display:flex;}
.msg-panel-head{
  background:#0A0A0A;color:#fff;padding:14px 20px;
  font-size:13px;font-weight:800;letter-spacing:2px;
  display:flex;justify-content:space-between;align-items:center;flex-shrink:0;
}
.msg-close{background:none;border:none;color:#888;font-size:22px;
  cursor:pointer;font-family:inherit;line-height:1;padding:0;
  width:24px;height:24px;display:flex;align-items:center;justify-content:center;}
.msg-close:hover{color:#fff;}
.msg-panel-body{display:grid;grid-template-columns:240px 1fr;
  flex:1;min-height:0;overflow:hidden;}
.msg-left{background:#FAFAFB;border-right:1px solid #EFEFF1;
  display:flex;flex-direction:column;min-height:0;}
.msg-search{padding:12px;}
.msg-search input{width:100%;background:#F0F0F2;border:none;border-radius:8px;
  padding:9px 12px;font-size:12px;font-family:inherit;}
.msg-search input:focus{outline:none;background:#fff;box-shadow:0 0 0 2px rgba(123,97,255,.2);}
.conv-list{flex:1;overflow-y:auto;padding:6px;}
.conv-item{display:flex;gap:10px;padding:10px 12px;border-radius:10px;
  cursor:pointer;transition:.15s;align-items:center;}
.conv-item:hover{background:#EFEFF1;}
.conv-item.active{background:rgba(123,97,255,.1);}
.conv-avatar{width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,#7B61FF,#A896FF);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:900;flex-shrink:0;position:relative;
  background-size:cover;background-position:center;overflow:hidden;}
.conv-avatar img{width:100%;height:100%;object-fit:cover;}
.conv-info{flex:1;min-width:0;}
.conv-name{font-size:13px;font-weight:800;color:#1D1D1F;margin-bottom:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.conv-preview{font-size:11px;color:#86868B;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.conv-time{font-size:10px;color:#AEAEB2;flex-shrink:0;}
.msg-right{display:flex;flex-direction:column;min-height:0;background:#fff;}
.chat-header{padding:14px 20px;border-bottom:1px solid #EFEFF1;
  font-size:13px;font-weight:800;color:#1D1D1F;flex-shrink:0;}
.chat-body{flex:1;overflow-y:auto;padding:18px;
  display:flex;flex-direction:column;gap:10px;background:#FAFAFB;}
.chat-msg{max-width:75%;padding:10px 14px;border-radius:14px;
  font-size:13px;line-height:1.6;word-break:break-word;}
.chat-msg .time{font-size:10px;opacity:.6;display:block;margin-top:4px;}
.chat-msg.them{background:#fff;border:1px solid #EFEFF1;align-self:flex-start;border-bottom-left-radius:4px;}
.chat-msg.me{background:#7B61FF;color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.chat-msg.system{align-self:center;background:#FFF3CD;color:#8A6D00;
  font-size:11px;border-radius:20px;padding:7px 14px;max-width:90%;
  text-align:center;font-weight:600;}
.chat-input-row{display:flex;gap:10px;padding:12px 16px;
  border-top:1px solid #EFEFF1;background:#fff;flex-shrink:0;}
.chat-input-row input{flex:1;padding:10px 14px;border:1.5px solid transparent;
  border-radius:10px;font-size:13px;font-family:inherit;background:#F5F5F7;transition:.2s;}
.chat-input-row input:focus{outline:none;background:#fff;
  border-color:#7B61FF;box-shadow:0 0 0 3px rgba(123,97,255,.1);}

/* ========== 页面通用 ========== */
.page-nav{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #F0F0F2;}
.page-nav-btn{background:none;border:none;font-family:inherit;
  padding:12px 18px;font-size:13px;font-weight:800;letter-spacing:.5px;
  color:#86868B;cursor:pointer;border-bottom:2px solid transparent;
  margin-bottom:-2px;transition:.2s;}
.page-nav-btn:hover{color:#1D1D1F;}
.page-nav-btn.active{color:#7B61FF;border-bottom-color:#7B61FF;}

/* ========== 画师名录（全屏宽） ========== */
.fullpage-wrap{width:100%;max-width:1400px;margin:0 auto;}
.artist-list-full{display:flex;flex-direction:column;gap:0;margin-top:16px;}
.artist-row{
  background:#fff;border-radius:18px;padding:24px 28px;
  display:grid;grid-template-columns:220px 1fr;
  gap:32px;align-items:flex-start;
  border:1.5px solid #EFEFF1;transition:.2s;
  margin-bottom:12px;
}
.artist-row:hover{border-color:#DDDDDF;box-shadow:0 8px 28px rgba(0,0,0,.05);}
.artist-row-left{display:flex;flex-direction:column;gap:12px;}
.artist-row-profile{display:flex;gap:14px;align-items:flex-start;}
.artist-row-avatar{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,#7B61FF,#A896FF);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:24px;font-weight:900;flex-shrink:0;
  background-size:cover;background-position:center;overflow:hidden;
  border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.artist-row-avatar img{width:100%;height:100%;object-fit:cover;}
.artist-row-info{flex:1;min-width:0;}
.artist-row-name{font-size:17px;font-weight:900;color:#1D1D1F;margin-bottom:3px;}
.artist-row-bio{font-size:12px;color:#86868B;line-height:1.5;margin-bottom:8px;}
.artist-row-meta{font-size:11px;color:#86868B;margin-bottom:4px;line-height:1.5;}
.artist-row-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;}
.artist-row-tag{
  font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;
  background:rgba(123,97,255,.08);color:#7B61FF;letter-spacing:.3px;
}
.artist-row-status{
  font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:6px;
  margin-bottom:12px;
}
.artist-row-status::before{content:'';width:8px;height:8px;border-radius:50%;}
.artist-row-status.open{color:#0A7A33;}
.artist-row-status.open::before{background:#0A7A33;box-shadow:0 0 0 3px rgba(10,122,51,.15);}
.artist-row-status.closed{color:#86868B;}
.artist-row-status.closed::before{background:#C0C0C0;}

.invite-btn{
  background:#7B61FF;color:#fff;border:none;border-radius:10px;
  padding:11px 26px;font-size:13px;font-weight:800;letter-spacing:1px;
  cursor:pointer;font-family:inherit;transition:.18s;
  box-shadow:0 4px 12px rgba(123,97,255,.35);
  width:100%;
}
.invite-btn:hover{background:#6A4EFF;transform:translateY(-1px);box-shadow:0 6px 18px rgba(123,97,255,.45);}
.invite-btn:disabled{background:#DDDDDF;box-shadow:none;cursor:not-allowed;transform:none;}

.artist-row-right{
  display:flex;gap:16px;overflow-x:auto;padding-bottom:6px;
}
.pricing-preview{
  flex-shrink:0;width:150px;cursor:pointer;transition:.2s;
}
.pricing-preview:hover{transform:translateY(-2px);}
.pricing-preview-img{
  width:150px;height:150px;border-radius:14px;overflow:hidden;
  background:#F5F5F7;border:1px solid #EFEFF1;
  display:flex;align-items:center;justify-content:center;
  color:#AEAEB2;font-size:11px;
}
.pricing-preview-img img{width:100%;height:100%;object-fit:cover;}
.pricing-preview-name{
  font-size:13px;font-weight:800;color:#1D1D1F;
  margin-top:10px;margin-bottom:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.pricing-preview-price{font-size:12px;color:#7B61FF;font-weight:800;}

/* 筛选栏 */
.filter-bar{
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;
  margin:20px 0;
}
.search-input{
  flex:1;min-width:240px;max-width:400px;
  background:#fff;border:1.5px solid #E0E0E2;border-radius:12px;
  padding:11px 16px;font-size:13px;font-family:inherit;transition:.2s;
}
.search-input:focus{outline:none;border-color:#7B61FF;box-shadow:0 0 0 4px rgba(123,97,255,.12);}
.toggle-filter{
  display:flex;align-items:center;gap:8px;
  font-size:12px;font-weight:700;color:#1D1D1F;
  cursor:pointer;user-select:none;
  padding:10px 16px;background:#fff;border-radius:12px;
  border:1.5px solid #E0E0E2;transition:.2s;
}
.toggle-filter:hover{border-color:#7B61FF;}
.toggle-filter input{accent-color:#7B61FF;width:14px;height:14px;}
.toggle-filter.active{border-color:#7B61FF;background:rgba(123,97,255,.05);}

/* ========== 画师资料编辑 ========== */
.avatar-preview{
  width:80px;height:80px;border-radius:50%;
  background:linear-gradient(135deg,#7B61FF,#A896FF);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:28px;font-weight:900;
  background-size:cover;background-position:center;overflow:hidden;
}
.avatar-preview img{width:100%;height:100%;object-fit:cover;}
.avatar-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  background:#F0F0F2;border:1px solid #E0E0E2;color:#86868B;
  cursor:pointer;font-size:14px;transition:.2s;
}
.avatar-btn:hover{background:#7B61FF;color:#fff;border-color:#7B61FF;}

/* 社交列表 */
.social-row{
  display:grid;grid-template-columns:130px 1fr auto;gap:8px;
  margin-bottom:8px;align-items:center;
}
.social-row select{
  background:#F5F5F7;border:1.5px solid transparent;border-radius:10px;
  padding:10px 12px;font-size:13px;font-family:inherit;width:100%;
}
.social-row input{
  background:#F5F5F7;border:1.5px solid transparent;border-radius:10px;
  padding:10px 12px;font-size:13px;font-family:inherit;width:100%;
}
.social-row input:focus,.social-row select:focus{outline:none;background:#fff;
  border-color:#7B61FF;box-shadow:0 0 0 3px rgba(123,97,255,.1);}
.social-row .del-btn{
  background:none;border:1.5px solid #E0E0E2;border-radius:10px;
  width:38px;height:38px;cursor:pointer;color:#86868B;font-size:16px;
  display:flex;align-items:center;justify-content:center;
}
.social-row .del-btn:hover{border-color:#D0021B;color:#D0021B;}

/* 价目编辑器（每项最多 4 张例图） */
.price-block-edit{
  border:1.5px solid #EFEFF1;border-radius:14px;
  padding:16px;margin-bottom:14px;background:#FAFAFB;
}
.price-block-row{
  display:grid;grid-template-columns:1fr 120px auto;gap:10px;
  margin-bottom:12px;
}
.price-block-row input{
  background:#fff;border:1.5px solid transparent;border-radius:10px;
  padding:10px 12px;font-size:13px;font-family:inherit;width:100%;
}
.price-block-row input:focus{outline:none;border-color:#7B61FF;
  box-shadow:0 0 0 3px rgba(123,97,255,.1);}
.price-block-row .del-price{
  background:#fff;border:1.5px solid #E0E0E2;border-radius:10px;
  width:38px;height:38px;cursor:pointer;color:#86868B;font-size:16px;
  display:flex;align-items:center;justify-content:center;
}
.price-block-row .del-price:hover{border-color:#D0021B;color:#D0021B;}

.img-thumbs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.img-thumb{
  width:70px;height:70px;border-radius:10px;overflow:hidden;
  background:#fff;border:1px solid #E0E0E2;position:relative;
}
.img-thumb img{width:100%;height:100%;object-fit:cover;}
.img-thumb .x{
  position:absolute;top:2px;right:2px;width:18px;height:18px;
  border-radius:50%;background:rgba(0,0,0,.6);color:#fff;
  border:none;cursor:pointer;font-size:11px;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.img-thumb .x:hover{background:#D0021B;}
.img-add{
  width:70px;height:70px;border-radius:10px;
  border:2px dashed #D8D8DA;background:#fff;
  display:flex;align-items:center;justify-content:center;
  color:#AEAEB2;font-size:20px;cursor:pointer;transition:.2s;
}
.img-add:hover{border-color:#7B61FF;color:#7B61FF;}
.img-add.disabled{opacity:.4;cursor:not-allowed;pointer-events:none;}

@media(max-width:900px){
  .artist-row{grid-template-columns:1fr;gap:16px;}
  .artist-row-right{overflow-x:auto;}
}
@media(max-width:768px){
  .msg-panel{width:calc(100vw - 24px);height:calc(100vh - 100px);}
  .msg-panel-body{grid-template-columns:1fr;}
  .msg-left{display:none;}
}
.msg-sound{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  color:#bbb;
  padding:5px 10px;border-radius:6px;
  font-size:11px;font-weight:700;
  cursor:pointer;font-family:inherit;
  display:flex;align-items:center;gap:6px;
  transition:.2s;
}
.msg-sound:hover{background:rgba(255,255,255,.15);color:#fff;}
.msg-sound.muted{opacity:.5;}
.msg-sound svg{width:14px;height:14px;}