/* Member account and authentication. Keep catalog and payment styles scoped apart. */
#app[v-cloak] { visibility:hidden; }
#app {
    --member-bg:#111317;
    --member-surface:#1b1e24;
    --member-raised:#23262e;
    --member-border:#353940;
    --member-text:#f6f4ef;
    --member-muted:#aeb2bc;
    --member-gold:#edc879;
    --member-gold-ink:#251c0b;
    --member-danger:#ffb1b1;
}
#app.member-account { background:var(--member-bg); min-height:100vh; min-height:100dvh; color:var(--member-text); }
#app.member-account > .index { min-height:0; }
#user_view.member-page, .member-auth-backdrop, .member-footer {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}
#user_view.member-page *, .member-auth-backdrop *, .member-footer * { box-sizing:border-box; font-size:inherit; cursor:inherit; }
#user_view.member-page button, .member-auth-backdrop button, .member-footer button { font-family:inherit; cursor:pointer; touch-action:manipulation; }
#user_view.member-page button:focus-visible, .member-auth-backdrop button:focus-visible, .member-footer button:focus-visible, .member-auth-backdrop input:focus-visible {
    outline:3px solid var(--member-gold); outline-offset:3px;
}
#user_view.member-page button:disabled, .member-auth-backdrop button:disabled { opacity:.55; cursor:wait; }
#user_view.member-page svg, .member-auth-backdrop svg, .member-footer svg { width:24px; height:24px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
#user_view.member-page { flex:1; min-height:0; height:auto; overflow:auto; padding:48px 28px 28px; background:var(--member-bg); color:var(--member-text); cursor:default; -webkit-overflow-scrolling:touch; }
.member-inner { width:100%; max-width:1040px; margin:0 auto; }
.member-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:30px; }
#user_view .member-eyebrow { color:var(--member-gold); letter-spacing:.12em; font-size:13px; font-weight:600; margin-bottom:8px; }
#user_view .member-heading h1 { font-size:32px; font-weight:700; line-height:1.35; letter-spacing:.02em; }
#user_view .member-subtitle { color:var(--member-muted); margin-top:8px; font-size:15px; }
.member-heading-mark { width:96px; height:96px; padding:0; overflow:hidden; flex-shrink:0; border:1px solid #8c662c; border-radius:16px; color:var(--member-gold); display:flex; align-items:center; justify-content:center; background:#09080c; box-shadow:0 6px 24px #0004; }
.member-brand-image { display:block; width:100%; height:100%; object-fit:contain; }
#user_view .member-heading-mark svg { width:36px; height:36px; }
.member-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:24px; align-items:start; }
.member-card { border:1px solid var(--member-border); border-radius:20px; background:var(--member-surface); }
.member-profile { padding:30px; }
.member-profile-top { display:flex; align-items:center; gap:18px; min-width:0; }
.member-avatar { width:64px; height:64px; border-radius:50%; object-fit:cover; border:2px solid #5c503a; flex-shrink:0; }
.member-brand-avatar { width:72px; height:72px; padding:0; border-radius:14px; object-fit:contain; background:#09080c; }
.member-identity { min-width:0; }
#user_view .member-overline { color:var(--member-muted); font-size:13px; }
#user_view .member-identity h2 { font-size:23px; line-height:1.45; font-weight:650; overflow-wrap:anywhere; margin:3px 0 2px; }
#user_view .member-copy { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:transparent; border:0; border-radius:8px; color:var(--member-muted); font-size:13px; min-height:44px; min-width:44px; padding:4px 8px; }
#user_view .member-copy:hover { color:var(--member-gold); background:#ffffff06; }
#user_view .member-copy svg { width:15px; height:15px; }
.member-status-box { padding:21px 20px; margin:25px 0 24px; border:1px solid #42454c; background:#22252c; border-radius:12px; }
.member-status-box.is-vip { border-color:#655334; background:linear-gradient(115deg,#332b1d,#24221f); }
.member-status-label { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
#user_view .member-status-label > span { font-size:13px; color:var(--member-muted); }
#user_view .member-status-label svg { width:21px; height:21px; color:var(--member-gold); }
#user_view .member-badge { margin-left:auto; color:var(--member-gold); font-size:14px; line-height:1.5; font-weight:650; }
#user_view .member-status-box p { color:#d0c7b9; font-size:13px; margin-top:12px; line-height:1.75; }
#user_view .member-button, .member-auth-backdrop .member-button { min-height:50px; padding:13px 18px; border:1px solid transparent; border-radius:10px; display:flex; align-items:center; justify-content:center; gap:12px; width:100%; font-size:16px; line-height:1.5; font-weight:650; transition:background-color .18s ease,box-shadow .18s ease; }
#user_view .member-primary, .member-auth-backdrop .member-primary { color:var(--member-gold-ink); background:var(--member-gold); }
#user_view .member-primary:hover, .member-auth-backdrop .member-primary:hover { background:#f6d99b; box-shadow:0 4px 20px #0002; }
#user_view .member-register-hint { color:var(--member-muted); text-align:center; font-size:13px; margin:9px 0 0; }
#user_view .member-text-button { min-height:44px; padding:3px 7px; border:0; border-radius:6px; font-size:inherit; background:transparent; color:var(--member-gold); }
.member-visitor-id { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding-top:19px; margin-top:25px; border-top:1px solid var(--member-border); color:var(--member-muted); }
#user_view .member-visitor-id > span, #user_view #uabs { font-size:12px; }
#user_view #uabs { width:auto; padding-left:7px; color:#d4d6db; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.member-side { display:grid; gap:20px; }
.member-services { overflow:hidden; padding:22px 20px 10px; }
#user_view .member-services > h2 { font-size:16px; font-weight:650; padding:0 4px 12px; }
.member-service-row { display:flex; width:100%; align-items:center; text-align:left; gap:14px; min-height:87px; padding:13px 4px; color:var(--member-text); background:transparent; border:0; border-top:1px solid #ffffff0e; border-radius:0; }
.member-service-row:hover { background:#ffffff04; }
.member-service-row > span:nth-child(2) { flex:1; min-width:0; }
#user_view .member-service-row strong { display:block; font-size:15px; font-weight:550; }
#user_view .member-service-row small { display:block; color:var(--member-muted); font-size:12px; margin-top:4px; line-height:1.7; }
.member-service-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; flex-shrink:0; border:1px solid #514632; background:#30291e; border-radius:12px; color:var(--member-gold); }
#user_view .member-chevron { font-size:25px; color:#8f96a2; font-weight:300; }
.member-account-tip { display:flex; align-items:flex-start; gap:12px; padding:3px 7px; }
#user_view .member-account-tip > svg { width:21px; height:21px; margin-top:2px; color:#a5ab9c; }
#user_view .member-account-tip h2 { font-size:13px; color:#c7cbd2; font-weight:550; }
#user_view .member-account-tip p { font-size:12px; color:var(--member-muted); line-height:1.9; margin-top:5px; }
.member-session-row { display:flex; justify-content:space-between; align-items:center; gap:16px; border-top:1px solid #292d34; margin-top:30px; padding-top:15px; }
#user_view .member-session-row > span { color:#969ca8; font-size:12px; }
#user_view .member-logout { min-height:44px; padding:8px 12px; font-size:13px; color:#bfc3cc; background:transparent; border:1px solid var(--member-border); border-radius:8px; }
#user_view .member-logout:hover { background:#2c2529; color:var(--member-danger); border-color:#6e4147; }
#user_view .member-notice { color:var(--member-danger); font-size:14px; border:1px solid #75434a; padding:10px 15px; border-radius:10px; margin-bottom:20px; }
.member-footer.footer { flex-shrink:0; width:100%; height:auto; min-height:76px; display:flex; align-items:center; justify-content:center; gap:4px; padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); background:#191c22; border-top:1px solid #32363e; }
.member-footer .member-nav-item { flex:1; max-width:240px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:56px; padding:6px 8px; color:#b1b6c1; background:transparent; border:0; border-radius:10px; font-size:12px; line-height:1.5; transition:color .18s ease,background-color .18s ease; }
.member-footer .member-nav-item svg { width:22px; height:22px; }
.member-footer .member-nav-item:hover { background:#ffffff06; color:#f6e0b4; }
.member-footer .member-nav-item.is-active { color:#edc879; background:#edc8790c; }
.member-auth-backdrop.login_model { padding:24px; padding-top:max(24px,env(safe-area-inset-top)); padding-bottom:max(24px,env(safe-area-inset-bottom)); width:100%; height:100%; height:100dvh; overflow:auto; align-items:center; z-index:2147483646; background-color:#07060b; background-image:linear-gradient(110deg,#05040a8c,#05040acc),url('/public_2022062301/img/qiandu-night-city-v1.png'); background-size:cover; background-position:center; overscroll-behavior:contain; color:var(--member-text); cursor:default; }
.member-auth { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); width:100%; max-width:940px; max-height:calc(100dvh - 48px); overflow:hidden; position:relative; margin:auto; background:#0c0a10; border:1px solid #a77a3c; border-radius:22px; padding:0; box-shadow:0 25px 100px #000a,0 0 50px #8b2ce517; outline:0; }
.member-auth-scene { position:relative; min-width:0; min-height:0; display:flex; align-items:center; justify-content:center; padding:32px; border-right:1px solid #bd873d66; background-color:#110b17; background-image:linear-gradient(180deg,#08040d26,#08040d8c),url('/public_2022062301/img/qiandu-night-city-v1.png'); background-size:cover; background-position:30% center; }
.member-auth-scene-brand { position:relative; z-index:1; text-align:center; }
.member-auth-backdrop .member-auth-scene-logo { display:block; width:184px; height:184px; margin:0 auto; object-fit:contain; border:1px solid #c69246; border-radius:18px; box-shadow:0 15px 55px #000b,0 0 28px #f5ba421f; }
.member-auth-backdrop .member-auth-scene-brand p { margin-top:18px; font-size:27px; font-weight:700; letter-spacing:.18em; line-height:1.5; color:#ffe1a0; text-shadow:0 2px 15px #000; }
.member-auth-content { min-width:0; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:37px 32px 30px; background:#0c0a10f5; }
.member-auth-backdrop .member-auth-close { position:absolute; z-index:3; top:10px; right:10px; width:44px; min-height:44px; display:flex; align-items:center; justify-content:center; border:1px solid #ffffff12; border-radius:50%; background:#08070dcc; color:#d9d3df; }
.member-auth-backdrop .member-auth-close:hover { background:#ffffff0a; color:#fff; }
.member-auth-backdrop .member-auth-close svg { width:20px; height:20px; }
.member-auth-backdrop .member-auth-brand { color:var(--member-gold); font-size:12px; letter-spacing:.12em; font-weight:550; margin-bottom:6px; }
.member-auth-backdrop #member-auth-title { font-size:27px; line-height:1.5; font-weight:650; color:#f6f4ef; }
.member-auth-backdrop #member-auth-description { font-size:13px; color:var(--member-muted); line-height:1.8; margin-top:6px; padding-right:0; }
.member-auth-tabs { display:flex; gap:4px; padding:4px; margin:24px 0; background:#111419; border:1px solid #2c3038; border-radius:11px; }
.member-auth-backdrop .member-auth-tabs button { min-height:44px; flex:1; padding:8px; border:0; border-radius:7px; background:transparent; color:#aeb2bc; font-size:14px; font-weight:550; }
.member-auth-backdrop .member-auth-tabs button[aria-selected="true"] { color:var(--member-gold); background:#2a2d34; box-shadow:0 1px 4px #0003; }
.member-field { margin-bottom:19px; }
.member-auth-backdrop .member-field label { display:block; color:#e9e8e4; font-size:14px; font-weight:550; margin-bottom:8px; cursor:pointer; }
.member-auth-backdrop .member-field input { width:100%; min-width:0; height:50px; padding:12px 14px; border:1px solid #454a55; border-radius:9px; font-size:16px; font-family:inherit; line-height:1.5; background:#111419; color:#f6f4ef; cursor:text; box-shadow:none; }
.member-auth-backdrop .member-field input::placeholder { color:#959ca8; opacity:1; }
.member-auth-backdrop .member-field input:focus { border-color:var(--member-gold); outline:2px solid #edc87940; outline-offset:1px; }
.member-auth-backdrop .member-field input[aria-invalid="true"] { border-color:#e99898; }
.member-auth-backdrop .member-field input:disabled { opacity:.7; }
.member-auth-backdrop .member-field input:-webkit-autofill { -webkit-text-fill-color:#f6f4ef; box-shadow:0 0 0 1000px #111419 inset; caret-color:#f6f4ef; }
.member-auth-backdrop .member-field-help { color:#aeb2bc; font-size:12px; line-height:1.8; margin-top:7px; }
.member-password-wrap { position:relative; }
.member-auth-backdrop .member-password-wrap input { padding-right:69px; }
.member-auth-backdrop .member-password-toggle { position:absolute; top:3px; bottom:3px; right:4px; min-width:55px; min-height:44px; border:0; background:transparent; color:var(--member-gold); font-size:13px; border-radius:6px; }
.member-auth-backdrop .member-field-error { color:#ffb1b1; font-size:13px; line-height:1.7; margin-top:7px; }
.member-auth-backdrop .member-auth-error { padding:11px 12px; margin-bottom:17px; border:1px solid #74434b; background:#38232a; border-radius:8px; color:#ffbebe; font-size:13px; line-height:1.8; }
.member-auth-backdrop .member-auth-submit { margin-top:5px; }
.member-auth-backdrop .member-auth-footnote { color:#aeb2bc; font-size:12px; line-height:1.9; margin-top:18px; text-align:center; }
.member-spinner { width:17px; height:17px; border:2px solid #251c0b40; border-top-color:#251c0b; border-radius:50%; animation:member-spin .7s linear infinite; }
@keyframes member-spin { to { transform:rotate(360deg); } }
@media (max-width:720px) {
    #user_view.member-page { padding:30px 18px 23px; }
    .member-heading { margin-bottom:23px; gap:12px; }
    #user_view .member-heading h1 { font-size:27px; }
    #user_view .member-subtitle { font-size:13px; max-width:250px; }
    .member-heading-mark { width:72px; height:72px; border-radius:13px; }
    #user_view .member-heading-mark svg { width:28px; height:28px; }
    .member-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
    .member-profile { padding:23px 20px; }
    #user_view .member-identity h2 { font-size:21px; }
    .member-profile-top { gap:14px; }
    .member-avatar { width:58px; height:58px; }
    .member-brand-avatar { width:64px; height:64px; border-radius:12px; }
    .member-status-box { margin-top:21px; padding:17px 15px; }
    .member-services { padding:20px 18px 8px; }
    .member-side { gap:19px; }
    .member-session-row { margin-top:22px; }
    .member-auth-backdrop.login_model { padding:16px; padding-top:max(16px,env(safe-area-inset-top)); padding-bottom:max(16px,env(safe-area-inset-bottom)); }
    .member-auth { max-width:440px; grid-template-columns:minmax(0,1fr); grid-template-rows:146px minmax(0,1fr); padding:0; max-height:calc(100dvh - 32px); border-radius:19px; }
    .member-auth-scene { padding:12px; border-right:0; border-bottom:1px solid #bd873d66; background-position:center 60%; }
    .member-auth-backdrop .member-auth-scene-logo { width:108px; height:108px; border-radius:12px; }
    .member-auth-backdrop .member-auth-scene-brand p { display:none; }
    .member-auth-content { padding:24px 23px; }
    .member-auth-backdrop #member-auth-title { font-size:25px; }
}
@media (max-height:650px) {
    .member-auth-backdrop.login_model { align-items:flex-start; }
    .member-auth-tabs { margin:17px 0; }
    .member-auth-backdrop .member-auth-footnote { margin-top:12px; }
}
@media (max-height:650px) and (max-width:720px) {
    .member-auth { grid-template-rows:92px minmax(0,1fr); }
    .member-auth-backdrop .member-auth-scene-logo { width:72px; height:72px; border-radius:9px; }
    .member-auth-content { padding:20px 23px; }
}
@media (prefers-reduced-motion:reduce) {
    #user_view.member-page *, .member-auth-backdrop *, .member-footer * { scroll-behavior:auto !important; transition:none !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}

#user_view .member-balance { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:-8px 0 24px; padding:14px 18px; border:1px solid var(--member-border); border-radius:12px; background:var(--member-raised); color:var(--member-muted); }
#user_view .member-balance strong { color:var(--member-gold); font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; }
