/* 本地框架补充样式：只做占位提示与兜底，不改变原站布局 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#app {
  min-height: 100dvh;
}

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  z-index: 3000;
  max-width: 80vw;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(28, 20, 38, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.placeholder-note {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 1px;
}

/* 支付区按钮保持原样但不再可提交 */
.confirm-btn,
button[disabled] {
  cursor: default;
}

/* ============ 真实功能补充层（沿用原站视觉） ============ */
.pro-toast{position:fixed;left:50%;top:12%;transform:translateX(-50%) translateY(-10px);background:rgba(26,11,46,.92);color:#fff;padding:11px 20px;border-radius:22px;font-size:14px;z-index:99999;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;box-shadow:0 8px 30px rgba(0,0,0,.25);max-width:82vw;text-align:center}
.pro-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.pro-lang-menu{position:fixed;background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.18);padding:6px;z-index:99998;min-width:160px;border:1px solid rgba(0,0,0,.06)}
.pro-lang-menu button{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;padding:9px 11px;border-radius:9px;font-size:14px;color:#1f2937;cursor:pointer;text-align:left}
.pro-lang-menu button:hover{background:#f3f4f6}
.pro-lang-menu button.active{background:linear-gradient(135deg,#ff2d55,#ff6b8a);color:#fff}
.pro-lang-menu button span{font-size:17px}
.pro-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 20px;color:#6b7280;text-align:center}
.pro-empty-icon{font-size:52px;margin-bottom:14px;opacity:.8}
.pro-empty p{font-size:14px;margin:0 0 16px}
.pro-inline-btn{border:0;background:linear-gradient(135deg,#ff2d55,#ff6b8a);color:#fff;padding:9px 24px;border-radius:20px;font-size:14px;cursor:pointer}
.user-card{touch-action:pan-y}
/* 聊天详情弹层：原站深色渐变 + 珊瑚红主色 */
.pro-chat-overlay{position:fixed;inset:0;z-index:99990;background:linear-gradient(180deg,#e8eeeb 0%,#dde6e1 100%);display:flex;flex-direction:column;max-width:520px;margin:0 auto}
.pro-chat-head{display:flex;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top,0px) + 14px) 16px 14px;background:rgba(255,255,255,.75);backdrop-filter:blur(12px);font-size:17px;font-weight:600;color:#16211c;border-bottom:1px solid rgba(0,0,0,.06);position:relative}
.pro-chat-back{border:0;background:none;font-size:30px;line-height:1;color:#16211c;cursor:pointer;padding:0 6px;margin-top:-4px}
.pro-chat-sub{position:absolute;left:0;right:0;top:100%;font-size:10px;font-weight:400;color:#ff2d55;text-align:center;padding-top:3px;opacity:.85}
.pro-chat-msgs{flex:1;overflow-y:auto;padding:28px 14px 14px;display:flex;flex-direction:column;gap:12px}
.pro-msg{display:flex;flex-direction:column;max-width:78%;align-self:flex-start}
.pro-msg.mine{align-self:flex-end;align-items:flex-end}
.pro-msg>span,.pro-msg audio,.pro-gift-msg{background:#fff;padding:10px 14px;border-radius:16px 16px 16px 4px;font-size:14px;color:#1f2937;box-shadow:0 2px 10px rgba(0,0,0,.05);word-break:break-word;max-width:100%}
.pro-msg.mine>span,.pro-msg.mine audio,.pro-msg.mine .pro-gift-msg{background:linear-gradient(135deg,#ff2d55,#ff6b8a);color:#fff;border-radius:16px 16px 4px 16px}
.pro-msg small{font-size:10px;color:#9ca3af;margin-top:4px;padding:0 3px}
.pro-gift-msg{font-size:20px;text-align:center}
.pro-gift-msg small{display:block;font-size:11px;opacity:.8;margin-top:3px}
.pro-chat-bar{display:flex;align-items:center;gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.85);backdrop-filter:blur(12px);border-top:1px solid rgba(0,0,0,.06)}
.pro-chat-bar #pro-msg-input{flex:1;border:1px solid rgba(0,0,0,.1);border-radius:20px;padding:9px 14px;font-size:14px;outline:none;background:#fff;min-width:0}
.pro-chat-bar #pro-msg-input:focus{border-color:#ff2d55}
.pro-chat-send{border:0;background:linear-gradient(135deg,#ff2d55,#ff6b8a);color:#fff;padding:9px 16px;border-radius:20px;font-size:14px;cursor:pointer;white-space:nowrap}
.pro-chat-icon{border:0;background:none;font-size:21px;cursor:pointer;padding:4px}
.pro-gift-panel{position:absolute;left:0;right:0;bottom:64px;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.15);padding:16px;max-height:46vh;overflow-y:auto}
.pro-gift-title{font-size:12px;color:#6b7280;margin-bottom:12px;text-align:center}
.pro-gift-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.pro-gift-item{border:1px solid rgba(0,0,0,.06);background:#fafafa;border-radius:12px;padding:8px 3px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px}
.pro-gift-item:active{background:#fff0f3}
.pro-gift-item span{font-size:24px;height:30px}
.pro-gift-item span img{width:28px;height:28px;object-fit:contain}
.pro-gift-item em{font-size:10px;font-style:normal;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pro-gift-item small{font-size:10px;color:#ff2d55}
.pro-gender-select{width:100%;border:0;background:transparent;color:inherit;font-size:15px;outline:none;padding:0;cursor:pointer;appearance:none}
.pro-gender-select option{color:#1f2937;background:#fff}

/* 注册表单：性别下拉与原站输入框视觉一致 */
.input-wrapper select[data-v-b5faa5b4]{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;font-size:16px;appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:22px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center}
.input-wrapper select[data-v-b5faa5b4] option{color:#1f2937;background:#fff}
.customer-service-float{right:16px;bottom:calc(170px + env(safe-area-inset-bottom,0px))}

/* Message list and conversation composer */
#app .chat-items-list{gap:0}
#app .chat-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border:0;border-bottom:1px solid var(--glass-border);background:transparent;color:inherit;text-align:left;cursor:pointer}
#app .chat-item .item-avatar{flex:0 0 42px;width:42px;height:42px}
#app .chat-item .item-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
#app .chat-item .item-content{flex:1;min-width:0}
#app .chat-item .item-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
#app .chat-item .item-name,#app .chat-item .item-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .chat-item .item-preview{margin:2px 0 0;font-size:13px;color:var(--text-secondary)}
#app .chat-item .time-text{flex-shrink:0;font-size:12px;color:var(--text-secondary)}
.pro-chat-more{position:relative;flex:none}
.pro-chat-more summary{display:grid;place-items:center;width:36px;height:36px;list-style:none;border:1px solid #c7cfc9;border-radius:50%;color:#16211c;font-size:24px;cursor:pointer}
.pro-chat-more summary::-webkit-details-marker{display:none}
.pro-chat-options{position:absolute;right:0;bottom:calc(100% + 12px);min-width:112px;padding:4px;background:white;border-radius:12px;box-shadow:0 4px 22px #0002}
.pro-chat-options button{display:block;width:100%;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#16211c;white-space:nowrap;cursor:pointer}
.pro-chat-options button:hover,.pro-chat-options button:focus-visible{background:#eef1ef}
#app .stories-container[hidden]{display:none}
.pro-feed-post{margin-bottom:12px;padding:14px;border:1px solid var(--glass-border);border-radius:14px;background:var(--auth-surface)}
.pro-feed-post .post-header{display:flex;align-items:center;gap:8px}
.pro-feed-post .user-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}
.pro-feed-post time{margin-inline-start:auto;font-size:12px;color:var(--text-secondary)}
.pro-feed-post .post-text{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.pro-feed-image{display:block;width:auto;max-width:100%;max-height:440px;margin-top:10px;border-radius:10px;object-fit:contain}

.pro-profile-editor{box-sizing:border-box;width:min(400px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px;border:0;border-radius:16px;background:#fff;color:#16211c}
.pro-profile-editor::backdrop{background:#0006}
.pro-profile-editor form,.pro-profile-editor label{display:grid;gap:8px}
.pro-profile-editor form{gap:14px}
.pro-profile-editor input,.pro-profile-editor select,.pro-profile-editor textarea,.pro-profile-editor button{font:inherit;padding:8px;border:1px solid #ccd3cf;border-radius:8px;color:inherit;background:#fff}
.pro-profile-editor form>div{display:flex;justify-content:flex-end;gap:8px}
.pro-profile-editor .pro-avatar-field{justify-items:center}
.pro-avatar-preview{width:72px;height:72px;border-radius:50%;object-fit:cover}
.pro-avatar-field input{box-sizing:border-box;width:100%}
.pro-profile-editor form>.pro-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pro-profile-fields input,.pro-profile-fields select{width:100%;min-width:0;box-sizing:border-box}
.pro-profile-summary>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--glass-border)}
.pro-profile-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.pro-logout{display:block;margin:16px auto 90px;padding:9px 20px;border:1px solid var(--glass-border);border-radius:12px;background:var(--auth-surface);color:inherit;cursor:pointer}
.pro-chat-photo{display:block;max-width:100%;max-height:300px;border-radius:12px;object-fit:contain}
.pro-gift-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pro-gift-panel button[data-act]{border:0;border-radius:8px;padding:6px 10px;background:#f4e6ee;color:#873053;cursor:pointer}
.pro-gift-image{width:32px;height:32px;object-fit:contain;vertical-align:middle}

.pro-page-language{position:fixed;right:12px;top:calc(env(safe-area-inset-top,0px) + 72px);z-index:1100;width:38px;height:38px;border:1px solid #ccc8;border-radius:50%;background:#fff;color:#222;cursor:pointer}
.pro-recall{border:0;background:none;color:#555;padding:2px 4px;font:inherit;font-size:11px;cursor:pointer}
.pro-membership{display:block;color:#ffc84b}

.pro-review{display:grid;justify-items:center;align-content:center;gap:12px;min-height:100dvh;padding:24px;text-align:center}
.pro-review button{position:static;width:auto;height:auto;padding:10px 16px;border:1px solid #ddd;border-radius:12px;cursor:pointer}
.pro-membership small{display:block}

.pro-gift-panel .pro-gift-title{position:relative;display:flex;justify-content:center;min-height:30px;padding:0 82px;text-align:center}
.pro-gift-panel .pro-gift-title button{position:absolute;top:50%;transform:translateY(-50%);background:none;padding:4px 0;color:#873053}
.pro-gift-panel .pro-gift-title .pro-gift-real-link{right:0;font-size:14px;font-weight:600;color:#000}
.pro-gift-back{left:2px;font-size:24px;line-height:1}
.pro-gift-empty{margin:22px 0;text-align:center;color:#647169}
.pro-coin-purchase{width:min(360px,calc(100vw - 44px));padding:22px;border:0;border-radius:18px;background:#fff;color:#16211c}
.pro-coin-purchase::backdrop{background:#15201c88}
.pro-coin-heading,.pro-coin-purchase dl>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pro-coin-heading h2{margin:0;font-size:19px}
.pro-coin-heading button{border:0;background:none;padding:0 5px;font-size:26px;cursor:pointer}
.pro-coin-purchase dl{margin:16px 0;padding:10px 12px;border-radius:10px;background:#f5f6f5}
.pro-coin-purchase dd{margin:0;font-weight:600}
.pro-purchase-status{margin:0;color:#68756c;font-size:13px}
