/* Existing gallery identity: warm paper, brown accent, quiet controls. */
.workspace-preview #phone-workspace { display:block; }
.workspace-preview #desktop-handoff { display:none; }
.account-button { min-height:44px; max-width:145px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; color:var(--accent); padding:8px; }
.membership-banner { display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--tint); padding:13px 14px; border-radius:8px; margin:0 0 14px; }
.membership-banner strong { font-size:12px; font-weight:600; }
.membership-banner p { font-size:10px; color:#69594b; margin:3px 0 0; }
.membership-banner button { color:var(--accent); font-size:12px; white-space:nowrap; min-height:44px; padding:5px 0 5px 8px; }
.category-tabs svg { width:12px; height:12px; margin-right:4px; }
.locked-image { display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; aspect-ratio:2/3; border:1px solid var(--line); background:#eeece6; color:#6b665b; border-radius:6px; gap:9px; }
.locked-image svg { width:25px; height:25px; color:#8b705c; }
.locked-image span { font-size:12px; }
.locked-image small { font-size:10px; }
.member-dialog { width:min(440px,calc(100vw - 24px)); max-width:none; max-height:calc(100dvh - 30px); margin:auto; border:0; padding:20px 22px; border-radius:16px; background:var(--surface); color:var(--ink); overscroll-behavior:contain; }
.member-dialog::backdrop { background:#22251fd1; }
.member-dialog-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.member-dialog-header img { width:38px; height:38px; border-radius:10px; }
.member-close { font-size:28px; line-height:1; width:44px; height:44px; border-radius:50%; color:#6b665b; }
.member-close:hover { background:var(--tint); }
.member-kicker { font-size:10px; letter-spacing:1.3px; color:var(--accent); margin:0 0 8px; }
.member-dialog h2 { font-family:"Songti SC","STSong",serif; font-weight:500; font-size:23px; line-height:1.5; margin:0; }
.member-intro { font-size:12px; line-height:1.8; color:#696c61; margin:9px 0 22px; }
.plan-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; border:0; padding:0; margin:0; }
.plan-choices legend { font-size:12px; font-weight:600; margin-bottom:10px; }
.plan-choice { cursor:pointer; display:grid; grid-template-columns:1fr auto; padding:12px; border:1px solid #d1d0c7; border-radius:10px; position:relative; background:#faf9f5; }
.plan-choice:has(input:checked) { border-color:var(--accent); background:#eee5da; box-shadow:inset 0 0 0 1px var(--accent); }
.plan-choice:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.plan-choice input { grid-column:2; grid-row:1; width:16px; height:16px; accent-color:var(--accent); margin:2px 0 0; }
.plan-name { grid-column:1; grid-row:1; font-size:12px; }
.plan-choice strong { grid-column:1/-1; font-size:29px; font-weight:600; margin-top:5px; line-height:1.4; }
.plan-choice strong small { font-size:14px; font-weight:400; margin-right:3px; }
.plan-duration { grid-column:1/-1; color:#625b51; font-size:10px; }
.payment-method { display:flex; align-items:center; gap:7px; margin:20px 0 8px; font-size:12px; }
.payment-method>span:last-child { margin-left:auto; color:#686d61; font-size:10px; }
.wechat-mark { color:#237b3d; }
.member-primary { width:100%; min-height:48px; font-size:14px; }
.member-primary:hover { background:#76432f; }
.member-error { color:#a12f22; font-size:12px; line-height:1.65; margin:10px 0; }
.member-error:empty { margin:0 0 12px; }
.payment-config-note { font-size:11px; padding:10px 12px; background:#eee9df; color:#62523f; border-radius:6px; }
.member-text-button { display:block; min-height:44px; margin:5px auto 0; font-size:12px; color:var(--accent); padding:10px; }
.member-fineprint { text-align:center; color:#696c61; font-size:10px; margin:3px 0 0; }
.auth-form { display:grid; gap:14px; }
.auth-form label { display:grid; gap:6px; font-size:12px; }
.auth-form input { width:100%; min-height:46px; border:1px solid #c9c9be; border-radius:7px; background:#faf9f5; padding:10px 12px; font-size:16px; color:var(--ink); }
.auth-form input::placeholder { color:#6c7064; font-size:12px; }
.auth-form input:focus { border-color:var(--accent); outline:2px solid var(--accent); outline-offset:2px; }
.auth-form .member-error { margin:0; }
.account-status { margin:20px 0; padding-block:15px; border-block:1px solid var(--line); }
.account-status strong { font-size:13px; }
.account-status p { font-size:12px; color:#696c61; margin:6px 0 0; }
.payment-qr { width:216px; height:216px; margin:18px auto; background:white; }
.payment-qr svg { display:block; width:100%; height:100%; }
.order-meta { overflow-wrap:anywhere; text-align:center; font-size:10px; color:#696c61; }
#payment-status { text-align:center; color:var(--accent); font-size:12px; }
.payment-success { padding-top:12px; text-align:center; }
.payment-success>svg { width:42px; height:42px; color:#237b3d; margin-bottom:14px; }
.payment-success p { font-size:12px; color:#696c61; }
.payment-success button { margin-top:16px; }
@media (max-width:350px) { .member-dialog { padding:16px; } .member-dialog h2 { font-size:21px; } .payment-method { flex-wrap:wrap; } .payment-method>span:last-child { margin-left:0; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.page-footer { flex-wrap:wrap; gap:8px 16px; }
.page-footer a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
