:root{--wine:#352023;--wine-deep:#29191d;--wine-surface:#4a2d2d;--cream:#fff9ee;--gold:#d6ae57;--gold-light:#f1d17a;--muted:#bfa8a2;--text:#f4e8e3;--line:#ffffff10;--sans:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;--serif:'Noto Serif SC','Songti SC',serif}

*{box-sizing:border-box}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html,body{margin:0;min-height:100%;overscroll-behavior:none}
body{background:#21181d;font-family:var(--sans);color:var(--text);-webkit-tap-highlight-color:transparent;display:flex;justify-content:center;align-items:center;min-height:100dvh}
button,input,textarea{font:inherit}
button{border:0;background:none;color:inherit;cursor:pointer}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,a:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px}
button{touch-action:manipulation}
input{min-width:0;color:inherit;outline:none}
input::placeholder{color:#a98f88}
input,textarea{user-select:text;-webkit-user-select:text}
button i{pointer-events:none}
[v-cloak]{display:none!important}
#app{width:100%;max-width:100vw;height:var(--app-height,100dvh);position:relative;isolation:isolate;overflow:hidden;background:var(--wine)}
.mobile-chrome{height:88px;background:#fff;position:relative;z-index:20;color:#111;padding-bottom:5px}
.status-bar{height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font:600 17px/1 -apple-system,BlinkMacSystemFont,sans-serif}
.status-bar .ri-bar-chart-fill{font-size:18px}
.status-bar .ri-wifi-fill{font-size:15px}
.battery{font-size:9px;border-radius:3px;background:#111;color:#fff;padding:2px 5px;position:relative;margin-right:3px}
.battery:after{content:'';position:absolute;right:-3px;top:3px;width:2px;height:7px;background:#555;border-radius:1px}
.app-header{height:42px;margin:5px 14px 0;padding:0 14px;background:#f3f3f3;border-radius:5px;display:flex;justify-content:space-between;align-items:center;color:#222;font-size:13px}
.app-header button{color:#a6a6a6;padding:0;font-size:16px;line-height:1}
.scene{position:absolute;inset:0;overflow:hidden;background:#242839}
.scene.no-bg{background:radial-gradient(ellipse at 50% 38%, #1f2742 0%, #0e1320 100%)}
.scene-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.scene-media[src$='companion.svg']{object-fit:contain;padding:80px;opacity:.35}
.scene-tint{position:absolute;inset:0;background:#8fa1ba08;pointer-events:none}
.scene-tools{position:absolute;right:20px;top:20px;display:flex;gap:8px;align-items:center;z-index:10}
.header-capsule{width:74px;height:35px;border-radius:18px;background:#111a3d73;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:0 8px;position:relative;border:1px solid rgba(255,255,255,0.08);box-sizing:border-box}
.capsule-btn{display:flex;align-items:center;justify-content:center;position:relative;padding:0;width:24px;height:24px;border:0;background:none;color:#fff;cursor:pointer}
.sound-btn .btn-circle{width:18px;height:18px;border-radius:50%;border:1.6px solid #FFFFFF;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.sound-btn i{font-size:10px;color:#FFFFFF}
.sound-btn.muted i{color:#ff9e9e}
.capsule-divider{width:1px;height:18px;background:rgba(255,255,255,0.22);flex:none}
.text-btn .btn-circle{width:20px;height:19px;border-radius:50%;border:1.6px solid #FFFFFF;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}
.text-btn .char-icon{font-size:11px;font-weight:700;color:#C5A6ED;font-family:'Inter','Noto Sans SC',sans-serif;line-height:1}
.text-btn.active .char-icon{color:#FFFFFF}
.text-btn .active-dot{position:absolute;right:-1px;bottom:-1px;width:5px;height:5px;border-radius:50%;background:#F28C28;border:1px solid #FFFFFF;box-sizing:border-box}
.menu-round-btn{width:35px;height:35px;border-radius:18px;background:#111a3d73;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;color:#FFFFFF;font-size:18px;border:1px solid rgba(255,255,255,0.08);cursor:pointer}
.greeting{position:absolute;left:22px;right:22px;top:94px;display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border-radius:9px;background:#111a3d73;backdrop-filter:blur(8px);color:#fff8e7;animation:enter .6s both;cursor:pointer;z-index:4}
.greeting:active{opacity:0.88}
.greeting button{font-size:18px;color:#ffe27a;padding:0;pointer-events:none}
.greeting p{margin:0;font-size:13px;line-height:1.8;flex:1}
.greeting-tap-hint{align-self:flex-end;font-size:10px;color:#FFE29A;background:rgba(255,226,154,0.15);padding:2px 6px;border-radius:8px;border:1px solid rgba(255,226,154,0.3);white-space:nowrap;display:flex;align-items:center;gap:3px}
.voice-dock{position:absolute;left:50%;bottom:95px;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:12px;z-index:10;width:92%;max-width:360px;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;touch-action:none}
.voice-controls-row{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.dock-side-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:56px;border-radius:28px;background:linear-gradient(180deg,#243b60 0%,#131c36 100%);border:1px solid rgba(255,241,184,0.35);color:#FFE29A;font-size:20px;box-shadow:0 6px 14px rgba(0,0,0,0.6);cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .15s,box-shadow .2s;outline:none;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.dock-side-btn:active{transform:scale(0.92);background:#1a284a}
.dock-side-btn span{font-size:10px;margin-top:2px;color:#fff8e7;white-space:nowrap;transform:scale(0.88);font-weight:600;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.quick-mascot-btn{position:absolute;right:20px;bottom:135px;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#4e1f26 0%,#2e1317 65%,#16090c 100%);border:1.8px solid #FFF1B8;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:25;box-shadow:0 6px 18px rgba(0,0,0,0.65),0 0 14px rgba(255,226,154,0.35);transition:transform .15s,border-color .2s,box-shadow .2s;outline:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.quick-mascot-btn:active{transform:scale(0.92);border-color:#FFFFFF;box-shadow:0 2px 8px rgba(0,0,0,0.7),0 0 18px rgba(255,226,154,0.6)}
.quick-mascot-btn .bead-sparkle-svg{width:26px;height:26px;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(0,0,0,0.6));transition:transform .2s ease}
.quick-mascot-btn:hover .bead-sparkle-svg{transform:scale(1.1)}
.quick-mascot-btn .mascot-activate-badge{position:absolute;top:-5px;right:-7px;background:linear-gradient(135deg,#ff7a18 0%,#ffd200 100%);color:#2d1400;font-size:10px;font-weight:800;padding:2px 6px;border-radius:10px;border:1.2px solid #fff8d6;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,0.6),0 0 8px rgba(255,210,0,0.7);pointer-events:none;animation:pulse-badge 2s infinite ease-in-out}
@keyframes pulse-badge{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
.voice-button-trbel{width:78px;height:78px;border-radius:50%;background:linear-gradient(180deg,#344F7A 0%,#17233F 100%);border:2px solid #FFF1B8;box-shadow:0 8px 16px 6px rgba(0,0,0,0.9),0 0 10px 4px rgba(255,226,154,0.95);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important;touch-action:none!important;transition:transform .15s,box-shadow .25s;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}
.voice-button-trbel *{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;pointer-events:none}
.voice-hint{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
body.recording-active,body.recording-active *{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.voice-button-trbel:active,.voice-button-trbel.recording{transform:scale(0.96);box-shadow:0 4px 10px 3px rgba(0,0,0,0.95),0 0 14px 6px rgba(255,226,154,1)}
.voice-button-upload{position:relative;overflow:hidden;touch-action:manipulation!important;-webkit-user-select:auto!important;user-select:auto!important}
.voice-file-overlay{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:99;cursor:pointer;border-radius:50%;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent;-webkit-user-select:auto!important;user-select:auto!important;display:block}
.awaken-overlay{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;background:rgba(5,8,16,0.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:enter .3s ease-out;cursor:pointer}
.awaken-card{background:linear-gradient(180deg,#1c2847 0%,#0e1628 100%);border:1px solid rgba(255,226,154,0.45);border-radius:22px;padding:26px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 14px 36px rgba(0,0,0,0.85),0 0 24px rgba(255,226,154,0.25);max-width:290px}
.awaken-icon{font-size:36px;color:#FFE29A;margin-bottom:8px;animation:pulse 1.8s infinite alternate}
.awaken-title{font-size:16px;font-weight:700;color:#FFF1B8;letter-spacing:0.5px}
.voice-avatar-bg{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;opacity:0.35;pointer-events:none}
.trbel-inner{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;width:100%}
.trbel-mic-row{display:flex;align-items:center;justify-content:center;gap:2.5px;height:18px}
.trbel-mic-icon{font-size:16px;color:#FFE29A;margin:0 1.5px}
.wave-bar{width:2px;background:#EED184;border-radius:1px}
.wave-bar.short{height:5px}
.wave-bar.long{height:10px}
.star-dot{width:2px;height:2px;border-radius:50%;background:#FFE9AA;margin:0 1px}
.trbel-text{font-family:'Noto Sans SC',sans-serif;font-size:12px;font-weight:700;color:#FFFFFF;letter-spacing:0.5px;margin-top:4px;text-shadow:0 1px 4px rgba(0,0,0,0.6)}
.voice-hint{white-space:nowrap;font-size:11px;color:#fff0d3;letter-spacing:1px;text-shadow:0 1px 7px #000}
.welcome-stream{position:absolute;top:28%;bottom:185px;z-index:10;pointer-events:auto}
.scene-footer{position:absolute;bottom:29px;width:100%;text-align:center;color:#f0d8ba;font-size:11px;letter-spacing:.4px;text-shadow:0 1px 8px #251313}
.welcome-copy{position:absolute;top:22%;width:100%;text-align:center;text-shadow:0 2px 18px #000;color:#fff1c2}
.welcome-copy>span{font:600 40px/1.5 var(--serif);letter-spacing:6px}
.welcome-copy>p{font-size:13px;letter-spacing:3px;margin:12px 0}
.welcome-claim{position:absolute;left:40px;right:40px;bottom:120px;width:calc(100% - 80px)!important}
.welcome-login{position:absolute;bottom:80px;left:0;width:100%;text-align:center;font-size:12px;color:#ffe4af;text-shadow:0 1px 6px #000}
.chat-scroll-container{position:absolute;top:28%;bottom:216px;left:0;right:0;margin:0 auto;width:338px;max-width:calc(100% - 36px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:10px;padding:12px 16px;scrollbar-width:none;-ms-overflow-style:none;z-index:5;background:transparent;pointer-events:auto}
.chat-scroll-container::-webkit-scrollbar{display:none}
.chat-spacer{display:none}
.message-time{display:none}
.message{flex-shrink:0;width:100%;position:relative;background:transparent;padding:0;margin:0}
.message.user{padding-left:0}
.message-bubble{display:block;position:relative;background:transparent!important;border:none!important;border-radius:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:inherit}
.message-bubble p{margin:0;font-family:'Noto Sans SC',-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;font-size:13.5px;font-weight:600;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;user-select:text;text-align:left}
.message.assistant .message-bubble p{color:#ffffff;text-shadow:0 1px 4px rgba(17,26,61,0.95);cursor:pointer}
.message.assistant:active .message-bubble p{opacity:0.85}
.message.user .message-bubble p{color:#ffe29a;text-shadow:0 1px 4px rgba(17,26,61,0.95)}
.retry-message{font-size:12px;color:#ffd4c3;padding:4px 0;background:none;border:none;text-shadow:0 1px 4px rgba(17,26,61,0.87);cursor:pointer}
.thinking{display:flex;align-items:center;gap:5px;color:#c5bebe;font-family:'Noto Sans SC',sans-serif;font-size:13px;font-weight:600;text-shadow:0 1px 4px rgba(17,26,61,0.87);padding:4px 0}
.thinking>span:not(:last-child){width:4px;height:4px;border-radius:50%;background:#f1d17a;animation:blink 1.2s infinite}
.thinking>span:nth-child(2){animation-delay:.2s}
.thinking>span:nth-child(3){animation-delay:.4s}
.thinking>span:last-child{margin-left:5px}
.text-composer{position:absolute;bottom:58px;left:20px;right:20px;background:#fff9eef5;border:1px solid #d9ceba;border-radius:26px;display:flex;align-items:center;padding:5px 6px;gap:5px;color:#49351f;box-shadow:0 5px 25px #0004}
.text-composer input{background:transparent;border:0;width:100%;height:39px;font-size:16px}
.text-composer button{flex:none;width:37px;height:37px;border-radius:50%;font-size:20px}
.text-composer button:last-child{background:#c89b50;color:#fff}
.is-text .chat-scroll-container{bottom:123px}
.back-to-bottom{position:absolute;right:25px;bottom:206px;font-size:11px;border-radius:20px;background:#fff9ee;padding:7px 12px;color:#534026;z-index:8}
.is-text .back-to-bottom{bottom:124px}
.keyboard-open .scene-footer{display:none}
.keyboard-open .text-composer{bottom:10px}
.keyboard-open .chat-scroll-container{bottom:79px}
.keyboard-open .greeting{top:76px}
.settings-shade{position:absolute;inset:0;background:#12101f70;z-index:30;transition:opacity .2s ease-out}
.settings-shade.shade-leaving{opacity:0}
.settings-drawer{position:absolute;inset:3px 0 0 auto;width:318px;max-width:88%;padding:0 16px 36px;overflow-y:auto;scrollbar-width:none;background:linear-gradient(170deg,#3b2022fa,#29191dfb);border-radius:24px 0 0 24px;box-shadow:-10px 0 28px #0a071044;border-left:1px solid #ffffff12;animation:drawer-in .28s ease-out;transition:transform .2s ease-out,opacity .2s ease-out}
.settings-drawer.drawer-leaving{transform:translateX(100%);opacity:0}
.drawer-heading{height:70px;display:flex;align-items:flex-start;justify-content:space-between;padding:13px 0 0 9px}
.drawer-heading h2{font:700 21px/30px var(--serif);margin:0}
.close-dark{width:28px;height:28px;border-radius:50%;background:#ffffff0d;display:flex;align-items:center;justify-content:center;color:#ebdad2;flex:none;font-size:18px}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0 18px;height:66px;font-size:16px;font-weight:500;text-align:left}
.settings-row>i,.phone-mask>i{color:#a98f88;font-size:18px}
.account-row,.style-row,.settings-group{background:#4a2d2deb;border:1px solid #ffffff0d;border-radius:16px}
.phone-mask{font-size:14px;display:flex;align-items:center;gap:8px;white-space:nowrap}
.style-row{height:80px;margin-top:26px}
.settings-group{margin-top:28px;overflow:hidden}
.settings-group .settings-row+.settings-row{position:relative}
.settings-group .settings-row+.settings-row:before{content:'';position:absolute;top:0;left:18px;right:18px;height:1px;background:#ffffff10}
.settings-group+.settings-group{margin-top:26px}
.logout-button{height:50px;min-height:50px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#6a3439;border-radius:13px;color:#ffd7d7;font-size:16px;font-weight:600;margin-top:83px}
/* ==========================================================================
   设置二级子页面：1:1 还原设计稿 [上海NFC9.8.pen] top: 90px 底部高抽屉弹层
   - 对应节点：我的对话设定 (K9SxA)、对话背景 (VfAHt)、关于禾木文创 (W6vF2)、帮助中心 (XB6sn) 等
   - 布局规范：顶部留白 top: 90px，暗色微透背景遮罩，顶部 24px 大圆角与 170° 渐变
   ========================================================================== */
.detail-page-overlay{position:fixed;inset:0;z-index:60;background:#12101f70;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);transition:opacity .22s ease-out}
.detail-page-overlay.overlay-leaving{opacity:0;pointer-events:none}
.detail-sheet{position:absolute;left:0;right:0;bottom:0;top:90px;border-radius:24px 24px 0 0;background:linear-gradient(170deg,#3b2022fa 0%,#29191dfb 100%);border-top:1px solid rgba(255,255,255,0.12);box-shadow:0 -10px 28px rgba(9,9,13,0.4);display:flex;flex-direction:column;overflow:hidden;animation:sheet-slide-up .25s cubic-bezier(0.16,1,0.3,1);transition:transform .2s ease-in,opacity .2s ease-in}
.detail-sheet.detail-leaving{transform:translateY(100%);opacity:0}
@keyframes sheet-slide-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
.detail-heading{height:54px;min-height:54px;display:flex;align-items:center;padding:0 16px;border-bottom:1px solid rgba(255,255,255,0.06);position:relative;flex:none}
.detail-heading .close-dark{width:36px;height:36px;border-radius:18px;background:rgba(255,255,255,0.08);border:0;color:#f4e8e3;display:flex;align-items:center;justify-content:center;font-size:20px;transition:background .15s}
.detail-heading .close-dark:active{background:rgba(255,255,255,0.2)}
.detail-heading h2{font-size:18px;line-height:24px;margin:0 0 0 12px;font-weight:500;color:#f4e8e3}
.detail-body{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 18px 36px;position:relative}
.avatar-profile{height:108px;border:1px solid #ffffff14;background:#4a2d2deb;border-radius:16px;padding:15px;display:flex;align-items:center;gap:12px}
.upload-avatar{width:58px;height:58px;flex:none;display:flex;align-items:center;justify-content:center;border:1px solid #95744470;background:#5c3939;border-radius:50%;font-size:24px;color:#e2c575;overflow:hidden;cursor:pointer}
.upload-avatar img{height:100%;width:100%;object-fit:cover}
.avatar-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;white-space:nowrap}
.avatar-label strong{font-size:16px;font-weight:600}
.avatar-label small{font-size:11px;color:#bfa8a2}
.avatar-profile .small-gold{font-size:12px;padding:11px 12px}
.profile-fields{display:flex;flex-direction:column;gap:17px;margin-top:35px}
.profile-fields label,.profile-fields fieldset{font-size:17px;line-height:25px;font-weight:500}
.profile-fields label>input,.date-input{display:flex;align-items:center;width:100%;height:48px;border:1px solid #ffffff08;border-radius:12px;background:#4a2d2deb;margin-top:12px;padding:0 18px;font-size:16px;font-weight:400}
.date-input{margin-top:8px;color:#e2c575;gap:12px;border-color:#a1803b45}
.date-input input{border:0;outline:0;color:#fff1c2;background:none;width:100%;height:44px;color-scheme:dark}
.profile-fields fieldset{border:0;padding:0;margin:0}
.profile-fields legend{padding:0;margin-bottom:10px}
.gender-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gender-options button,.topic-grid button{height:32px;border:1px solid transparent;background:#4a2d2deb;border-radius:18px;color:#f0f0f2;font-size:15px}
.gender-options button.selected,.topic-grid button.selected{background:#755032;border-color:#d6ae57;color:#ffe5a2}
.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 10px}
.topic-grid button{font-size:13px}
.topic-label{font-size:15px}
.gold-button{width:100%;height:50px;flex:none;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;background:linear-gradient(100deg,#c69a48,#f1d17a);color:#3d2a17;font-size:17px;font-weight:600;box-shadow:0 4px 12px #9b6d2b28}
.gold-button:active{filter:brightness(.95)}
.page-save{margin-top:15px}
.page-background .detail-body{display:flex;flex-direction:column;gap:16px;padding-bottom:24px}
.page-background .page-save{position:sticky;bottom:12px;z-index:10;margin-top:10px;box-shadow:0 8px 24px rgba(0,0,0,0.6)}
.background-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px;margin-bottom:20px;padding-bottom:80px}
.background-grid>button{height:220px;border:1px solid #74605a;border-radius:17px;overflow:hidden;padding:0;position:relative;background:#29191d;display:flex;align-items:center;justify-content:center}
.background-grid>button.selected{border:2px solid #e1c26e;box-shadow:0 0 14px rgba(225,194,110,0.4)}
.background-grid img{width:100%;height:100%;object-fit:cover;object-position:center;padding:0;box-sizing:border-box}
.background-grid>button>div{position:absolute;bottom:0;left:0;right:0;background:#1f171ce6;color:#f4f0f1;text-align:left;padding:9px 10px;font-size:12px;font-weight:600;z-index:2}
.background-grid .default-badge{position:absolute;top:10px;left:10px;background:#111318b3;color:#ffd166;padding:3px 8px;font-size:11px;border-radius:6px;font-weight:600;border:1px solid rgba(255,209,102,0.3);z-index:2}
.background-grid>button>i{position:absolute;bottom:38px;right:8px;font-size:24px;color:#d6ae57;z-index:2}
.account-info{margin:68px 0 35px}
.account-info h3,.account-id h3{font-size:22px;font-weight:500;margin:0 0 10px}
.account-info p,.account-id p{font-size:17px;color:#f3ce70;margin:0 0 30px}
.account-extra{margin-top:26px}
.account-extra .settings-row{font-size:14px;border-bottom:1px solid #ffffff10;padding:0;height:55px}
.account-extra .settings-row>span:last-child{color:#bfa8a2;font-size:13px}
.text-danger{font-size:13px;color:#d8a5a9;padding:22px 0;width:100%}
.switch{width:48px;height:26px;border-radius:15px;background:#735d59;position:relative;flex:none}
.switch:after{content:'';position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;left:2px;top:2px;transition:transform .2s}
.switch.enabled{background:#ffd36e}
.switch.enabled:after{transform:translateX(22px)}
.login-page-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:calc(100% - 65px);padding:14px 4px 20px}
.login-card{width:100%;max-width:380px;background:linear-gradient(180deg,#3a2428 0%,#2c1a1e 100%);border:1px solid rgba(255,226,154,0.25);border-radius:20px;padding:24px 20px 20px;box-shadow:0 12px 32px rgba(0,0,0,0.5),0 0 20px rgba(212,160,71,0.1);display:flex;flex-direction:column;gap:18px;transition:padding .2s,margin .2s}
.login-card-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.login-brand-emblem{width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe492,#b77720);box-shadow:0 4px 18px rgba(195,140,52,0.4);display:flex;align-items:center;justify-content:center;font-size:26px;color:#351a0b;transition:transform .2s,width .2s,height .2s}
.login-brand-title{font-size:18px;font-weight:700;color:#fff1c2;margin:4px 0 0;letter-spacing:0.5px}
.login-brand-sub{font-size:12px;color:#c9b2ab;line-height:1.5;margin:0;max-width:280px}
.login-form{display:flex;flex-direction:column;gap:14px;width:100%;margin-top:4px}
.login-form .input-wrap{display:flex;align-items:center;gap:10px;height:48px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:0 14px;transition:border-color .2s,background .2s}
.login-form .input-wrap:focus-within{border-color:#d4a047;background:rgba(255,255,255,0.09);box-shadow:0 0 0 2px rgba(212,160,71,0.2)}
.login-form .phone-prefix{font-size:15px;font-weight:600;color:#d4a047;border-right:1px solid rgba(255,255,255,0.12);padding-right:10px;line-height:1}
.login-form .code-icon{font-size:18px;color:#d4a047}
.login-form .input-wrap input,
.login-form input,
.phone-wrap input,
.code-wrap input{
  flex:1;
  min-width:0;
  background:none;
  border:0;
  outline:none;
  font-size:16px;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  height:100%;
  letter-spacing:0.5px;
  caret-color:#ffffff !important;
}
.login-form .input-wrap input::placeholder,
.login-form input::placeholder,
.phone-wrap input::placeholder,
.code-wrap input::placeholder{
  color:rgba(255,255,255,0.45) !important;
  -webkit-text-fill-color:rgba(255,255,255,0.45) !important;
  font-size:14px;
}
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form input:-webkit-autofill:active,
.phone-wrap input:-webkit-autofill,
.code-wrap input:-webkit-autofill{
  -webkit-text-fill-color:#ffffff !important;
  -webkit-box-shadow:0 0 0 1000px #321e23 inset !important;
  transition:background-color 5000s ease-in-out 0s;
  caret-color:#ffffff !important;
}
.login-form .sms-button-gold{background:none;border:0;color:#f3ce70;font-size:13px;font-weight:600;white-space:nowrap;padding:4px 0 4px 8px;cursor:pointer;outline:none}
.login-form .sms-button-gold:disabled{color:rgba(243,206,112,0.4);cursor:not-allowed}
.login-submit-btn{height:46px;font-size:16px;font-weight:600;margin-top:4px}
.login-privacy-tip{font-size:11px;color:#a98f88;text-align:center;margin:2px 0 0;line-height:1.4;display:flex;align-items:center;justify-content:center;gap:4px}

/* 软键盘弹起时的自适应紧凑模式 */
.keyboard-open .login-page-container{padding-top:4px;min-height:auto}
.keyboard-open .login-card{padding:14px 16px 14px;gap:10px}
.keyboard-open .login-brand-emblem{width:36px;height:36px;font-size:18px}
.keyboard-open .login-brand-title{font-size:16px}
.keyboard-open .login-brand-sub{display:none}
.keyboard-open .login-privacy-tip{display:none}
.keyboard-open .login-form{gap:10px}
.keyboard-open .login-form .input-wrap{height:42px}
.keyboard-open .login-submit-btn{height:42px;margin-top:2px}
/* ==========================================================================
   【关于禾木文创】模块间距与品牌展示 (上海NFC9.8.pen 节点 W6vF2)
   设计规范：卡片之间严格保持 16px 呼吸间距，严禁紧凑堆叠
   ========================================================================== */
.about-brand{display:flex;flex-direction:column;align-items:center;padding:8px 0 18px}
.brand-emblem{width:80px;height:80px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f6d87f,#b97d37);box-shadow:0 5px 18px rgba(213,167,77,0.35);color:#4a2d22;font-size:36px;margin-bottom:14px}
.about-brand h1{font:700 24px/1.4 var(--serif);color:#fff1c2;margin:0}
.about-brand p{font-size:14px;color:#d6c0b8;margin:6px 0 0}
.about-description{background:#4a2d2deb;border-radius:16px;padding:18px 18px;border:1px solid rgba(255,255,255,0.06);margin-top:16px}
.about-description h3{font-size:17px;font-weight:700;color:#f4e8e3;margin:0 0 10px}
.about-description p{color:#d8c5bf;font-size:14px;line-height:1.65;margin:0}
.about-card{background:#4a2d2deb;border-radius:16px;padding:16px 16px;border:1px solid rgba(255,255,255,0.06);margin-top:14px}
.about-card-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.about-card-title h3{font-size:16px;font-weight:700;color:#f4e8e3;margin:0}
.badge-step{width:22px;height:22px;border-radius:50%;background:#e2c575;color:#3b2014;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.about-card-sub{color:#d8c5bf;font-size:13.5px;line-height:1.5;margin:0 0 12px}
.about-qr-container{display:flex;justify-content:center;margin:8px 0 14px}
.about-payment-qr{width:160px;height:160px;border-radius:12px;background:#ffffff;padding:8px;box-sizing:border-box;box-shadow:0 4px 16px rgba(0,0,0,0.3);object-fit:contain}
.about-card-tip{color:#d8c5bf;font-size:13px;line-height:1.6;margin:0 0 8px}
.about-card-package{color:#FFE29A;font-size:13px;font-weight:600;line-height:1.6;margin:0}
.member-packages-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.member-pkg-item{display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,0.06);border:1px solid rgba(255,226,154,0.18);border-radius:10px;padding:9px 12px}
.member-pkg-item.free{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.12)}
.member-pkg-item.mvp{background:linear-gradient(90deg,rgba(117,80,50,0.45) 0%,rgba(214,174,87,0.18) 100%);border-color:rgba(255,226,154,0.5)}
.pkg-main{display:flex;align-items:center;gap:8px}
.pkg-name{color:#f5f0ec;font-size:13.5px;font-weight:600}
.pkg-price{color:#FFE29A;font-size:13px;font-weight:700}
.pkg-gift{color:#FFE29A;font-size:13px;font-weight:600}
.about-card-text{color:#d8c5bf;font-size:13.5px;line-height:1.6;margin:0}
/* 联系电话卡片：与上方介绍卡片保持 14px 间距，与下方页脚版权保持 16px 间距 */
.contact-list{background:#4a2d2deb;margin-top:6px;margin-bottom:14px;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,0.06)}
.contact-list>a,.contact-list>button{padding:16px 18px;display:flex;align-items:center;gap:14px;text-decoration:none;color:#f4e8e3;font-size:14px;width:100%;text-align:left}
.contact-list>a+a{border-top:1px solid rgba(255,255,255,0.08)}
.contact-list a>i:first-child,.contact-list button>i:first-child{color:#e2c575;font-size:20px;background:rgba(255,255,255,0.08);border-radius:50%;padding:10px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:none}
.contact-list div{flex:1}
.contact-list div>span{display:block;color:#e2c575;font-size:15px;font-weight:600;margin-top:3px;font-family:Inter,sans-serif}
.contact-list a>i:last-child{color:#d8c5bf;font-size:20px}
.about-footer{font-size:12px;color:#a98f88;text-align:center;margin-top:32px;margin-bottom:16px}
.help-item{background:#4a2d2deb;border-radius:14px;margin:0 0 13px;padding:0 17px}
.help-item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:60px;font-size:15px;cursor:pointer}
.help-item summary::-webkit-details-marker{display:none}
.help-item[open] summary>i{transform:rotate(45deg)}
.help-item p{margin:0;padding:0 0 20px;color:#d8c5bf;font-size:13px;line-height:1.9}
.help-contact{width:100%;padding:24px;color:#e2c575;font-size:14px}
.sheet-shade{position:absolute;inset:0;z-index:50;background:#12101f70;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.cream-sheet{position:relative;background:#fff9ee;color:#4d3a24;padding:20px 20px 28px;border-radius:24px 24px 0 0;width:100%;max-height:100%;overflow-y:auto;box-shadow:0 -6px 20px #46382435;animation:sheet-in .26s ease-out}
.cream-sheet h2{font-size:18px;font-weight:700;margin:0}
.cream-sheet label{display:block;font-size:14px;font-weight:600;color:#4d5360;margin-bottom:10px}
.cream-sheet .input-wrap{display:flex;align-items:center;gap:10px;border:1px solid #d9ceba;border-radius:10px;background:#fff;margin-top:10px;height:42px;padding:0 12px;color:#8c8170}
.cream-sheet .input-wrap input{width:100%;border:0;background:none;font-size:16px;color:#4d5360;height:40px;font-weight:400}
.cream-sheet .input-wrap input::placeholder{font-size:14px;color:#a29a8d}
.input-wrap>i{font-size:18px}
.input-wrap>button{padding:0;flex:none}
.input-wrap .sms-button{font-size:12px;color:#9a6b2f;background:#f4ecdd;border:1px solid #d9ceba;border-radius:8px;padding:6px 8px;font-weight:600}
.cream-sheet .gold-button{height:44px;color:white;background:linear-gradient(100deg,#a97a36,#d9b86f);font-size:16px;font-weight:700;letter-spacing:1px}
.claim-sheet{min-height:auto;padding-top:24px;padding-bottom:20px}
.claim-sheet label{margin-bottom:8px}
.claim-sheet .input-wrap{margin-top:6px;height:40px}
.claim-sheet>.gold-button{margin-top:16px}
.sheet-close{position:absolute;right:10px;top:4px;color:#9d827a;font-size:22px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:0;background:transparent;border-radius:50%;z-index:10;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease,color .15s ease}
.sheet-close::before{content:"";position:absolute;top:-6px;bottom:0;left:-8px;right:-8px}
.sheet-close:active{background-color:rgba(169,143,136,0.16);color:#5c453d}
@media(hover:hover){.sheet-close:hover{background-color:rgba(169,143,136,0.12);color:#5c453d}}
.qr-scan-trigger-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#8c8170;font-size:18px;cursor:pointer;border-radius:6px;flex-shrink:0;touch-action:manipulation}
.qr-scan-trigger-btn:active{color:#4d3a24;background:rgba(140,129,112,0.12)}
.plain-link{color:#887254;font-size:12px;width:100%;text-align:center;padding:14px 0 0}
.sheet-handle{height:4px;width:42px;border-radius:2px;background:#b8ab96;margin:0 auto 16px}
.initial-profile{min-height:464px;padding-top:12px}
.initial-profile label{margin-bottom:13px}
.cream-sheet fieldset{border:0;padding:0;margin:0 0 24px}
.cream-sheet legend{font-size:14px;color:#4d5360;margin-bottom:13px;font-weight:600}
.cream-sheet .topic-grid{gap:10px 9px}
.cream-sheet .topic-grid button{color:#665f55;background:#f4ecdd;border-color:#ded2be;font-size:14px}
.cream-sheet .topic-grid button.selected{background:#c39a54;border-color:#c39a54;color:white}
.initial-profile>.gold-button{margin-top:14px}
.style-sheet{padding:16px 20px 20px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.style-sheet .sheet-heading{flex-shrink:0;margin-bottom:6px}
.style-sheet .sheet-heading h2{margin-bottom:0}
.style-sheet .modal-sub-label{flex-shrink:0;margin-bottom:10px;font-size:13px}
.style-options-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:8px;padding-right:2px;margin-bottom:10px}
.style-option{height:44px;flex:none;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #ffffffaa;border-radius:12px;color:#4d3a24;text-align:left;position:relative;transition:all .15s ease}
.style-option strong{font-size:14px;white-space:nowrap}
.style-option small{font-size:11px;color:#756b61;white-space:nowrap}
.style-option.zaizai{background:#fff1de}
.style-option.xiaohe{background:#e6f0e8}
.style-option.vivian{background:#f4c6d8}
.style-option.yunyi{background:#e5eaf5}
.style-option.linglong{background:#f9f0e3}
.style-option.xinghe{background:#ede8f7}
.style-option.muqing{background:#fdf2e9}
.style-option.boyan{background:#ebeef3}
.style-option.chiyan{background:#ffebee}
.style-option.wenya{background:#f2f5ed}
.style-option.haoran{background:#e8edf5}
.style-option.taozi{background:#fee9e7}
.style-option.qingxin{background:#e3f5ec}
.style-option.bajie{background:#fdf0e0}
.style-option.xiaoxue{background:#edf2f9}
.style-option.selected{border:2px solid #c89b50;padding:0 11px}
.style-option.selected>i.ri-checkbox-circle-fill{font-size:18px;color:#c89b50;margin-left:auto}
.style-preview-icon{font-size:20px;color:#9b8871;margin-right:2px;flex-shrink:0;transition:transform .2s ease}
.style-option.playing .style-preview-icon{color:#e68a00;animation:pulse-preview-audio .8s infinite alternate}
@keyframes pulse-preview-audio{0%{transform:scale(1)}100%{transform:scale(1.3)}}
.style-sheet-footer{flex-shrink:0;padding-top:4px}
.style-sheet-footer .gold-button{width:100%;height:44px;margin-top:0;background:linear-gradient(100deg,#a97a36,#d9b86f);font-size:16px;font-weight:700}
/* ================================================================= */
/* 1:1 还原设计稿 [上海NFC9.8.pen] 节点 P6ZmXH：选择头像底部弹层       */
/* ================================================================= */
.avatar-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(18, 14, 22, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade-in 0.2s ease-out;
}

.avatar-modal-sheet {
  position: relative;
  width: 100%;
  max-width: 390px;
  background: linear-gradient(170deg, #3B2022 0%, #29191D 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 26px rgba(9, 9, 13, 0.4);
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  animation: sheet-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

/* 顶部拖动条 (fdcXw: 60x4px, cornerRadius 2, fill #FFFFFF38) */
.avatar-sheet-handle {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 16px;
  flex: none;
}

/* 弹层标题 (dJppT: fontSize 20, fontWeight 700, fill #F4E8E3) */
.avatar-sheet-title {
  font-family: "Noto Sans SC", -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F4E8E3;
  margin: 0 0 16px;
  text-align: left;
  flex: none;
  line-height: 1.2;
}

/* 头像横向滑动容器 (zPfui: 350x112px, LmV5v: 408x104px, gap 12px) */
.avatar-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 8px;
  flex: none;
}

.avatar-scroll-container::-webkit-scrollbar {
  display: none;
}

.avatar-scroll-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

/* 单个头像卡片 (width 72px, height 104px, vertical gap 7px) */
.avatar-item {
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

/* 头像圆形图片包装 (62x62px) */
.avatar-circle-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-sizing: border-box;
}

.avatar-circle-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
  transition: all 0.18s ease;
}

/* 选中态头像光环：3px 粗金色边框 (W16tVg: stroke #E4C36B 3px) */
.avatar-item.selected .avatar-circle-wrap img {
  border: 3px solid #E4C36B;
  box-shadow: 0 0 12px rgba(228, 195, 107, 0.35);
}

/* 选中勾选标记徽标 (HqYJX: 20x20px, fill #D6AE57, stroke #3B2022 2px) */
.avatar-check-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D6AE57;
  border: 2px solid #3B2022;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.avatar-check-badge i {
  font-size: 11px;
  color: #3D2A17;
  font-weight: 900;
  line-height: 1;
}

/* 头像名称 (qpNa4: fontSize 13, fill #E6D9D5, selected #F1D17A 700) */
.avatar-name {
  font-family: "Noto Sans SC", -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #E6D9D5;
  text-align: center;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.avatar-item.selected .avatar-name {
  color: #F1D17A;
  font-weight: 700;
}

/* 默认头像状态胶囊 (iIZwA: height 34px, fill #4A2D2D99, cornerRadius 9px) */
.avatar-status-bar {
  width: 100%;
  height: 36px;
  background: rgba(74, 45, 45, 0.6);
  border-radius: 9px;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 16px;
  flex: none;
}

.avatar-status-bar i {
  font-size: 16px;
  color: #E2C575;
  flex-shrink: 0;
}

.avatar-status-bar span {
  font-family: "Noto Sans SC", -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #F4E8E3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 选择该头像长条按钮 (jmNPE: height 52px, gradient #F1D17A to #C69A48, cornerRadius 14px) */
.avatar-confirm-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(90deg, #F1D17A 0%, #C69A48 100%);
  border-radius: 14px;
  border: none;
  color: #3D2A17;
  font-family: "Noto Sans SC", -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(177, 129, 53, 0.27);
  transition: transform 0.15s ease, opacity 0.15s ease;
  flex: none;
  -webkit-tap-highlight-color: transparent;
}

.avatar-confirm-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.avatar-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.sheet-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.sheet-heading button{font-size:23px}
.empty-state{font-size:14px;line-height:1.9;color:#8c8170;padding:20px 0}
.wish-sheet{max-height:80%;min-height:280px}
.wish-item{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #e6d9c5;padding:18px 0}
.wish-item>i{color:#bc8c48;font-size:21px}
.wish-item p{margin:0;font-size:14px;line-height:1.6}
.wish-item small{font-size:11px;color:#a09688}
body, #app, .scene, .voice-dock, .voice-button-trbel, .recording-overlay {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.energy-value{text-align:center;font-size:40px;color:#a97a36;margin:26px 0 0}
.mic-perm-shade{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,0.2);display:flex;align-items:flex-end;justify-content:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.permission-sheet{width:100%;max-width:390px;min-height:280px;height:auto;max-height:90vh;overflow-y:auto;margin:0 auto;background:#FFFFFF;border-radius:24px 24px 0 0;padding:20px 24px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box;color:#111;text-align:center;box-shadow:0 -4px 20px rgba(24,35,61,0.27);animation:sheet-in .25s ease-out;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.perm-icon-wrapper{width:56px;height:56px;border-radius:50%;background:#168AF2;display:flex;align-items:center;justify-content:center;margin:0 auto;flex-shrink:0}
.perm-icon-wrapper i{font-size:28px;color:#FFFFFF;line-height:1}
.perm-title{font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:19px;font-weight:700;color:#111111;height:26px;line-height:26px;margin:10px 0 0;text-align:center}
.perm-desc{font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:14px;font-weight:normal;color:#666666;margin:6px 0 0;text-align:center}
.perm-safari-tip{width:100%;margin:12px 0 0;padding:10px 14px;background:#F9F9FB;border:1px solid #EDEDF2;border-radius:12px;text-align:left;box-sizing:border-box}
.perm-safari-tip .tip-title{font-size:13px;font-weight:600;color:#B3833B;display:flex;align-items:center;gap:4px;margin-bottom:4px}
.perm-safari-tip .tip-body{font-size:12px;color:#666666;line-height:1.5}
.perm-actions-row{width:100%;height:42px;display:flex;gap:12px;margin:16px 0 0}
.perm-btn{flex:1;height:42px;border-radius:21px;font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:15px;font-weight:600;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;-webkit-tap-highlight-color:transparent}
.perm-btn:active{opacity:0.85;transform:scale(0.98)}
.perm-btn-deny{background:#F2F2F2;color:#666666}
.perm-btn-allow{background:#168AF2;color:#FFFFFF;box-shadow:0 4px 14px rgba(22,138,242,0.35)}

/* =========================================================================
   1:1 还原设计稿（上海NFC9.8.pen 节点 32-37）录音全屏/底部对讲交互层
   ========================================================================= */
.recording-penn-wrap{position:absolute;inset:0;z-index:70;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;background:rgba(0,0,0,0.32);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);pointer-events:auto;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;animation:enter .2s ease-out}
.recording-sheet-penn{position:relative;width:100%;max-width:390px;height:263px;background:#3B414BCC;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:28px 28px 0 0;box-shadow:0 -10px 36px rgba(0,0,0,0.35);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:26px;box-sizing:border-box;transition:background .25s ease,box-shadow .25s ease}
.recording-penn-wrap.cancel-mode .recording-sheet-penn{background:#4F232BCC;box-shadow:0 -10px 36px rgba(239,83,80,0.35)}

/* 暖金琥珀波形胶囊 (lpFQl: 246x52px, radius 30px) */
.voice-wave-capsule{width:246px;height:52px;border-radius:30px;background:linear-gradient(90deg,#FFE18A 0%,#F2BD43 100%);box-shadow:0 8px 24px rgba(213,150,44,0.35);display:flex;align-items:center;justify-content:center;position:relative;transition:all .25s cubic-bezier(0.2,0.8,0.2,1)}
.recording-penn-wrap.cancel-mode .voice-wave-capsule{background:linear-gradient(90deg,#FF6B6B 0%,#E54848 100%);box-shadow:0 8px 24px rgba(229,72,72,0.45);transform:scale(1.03)}

/* 19 根实时语音波形柱 (HnQGI: 174x26px, gap 3px) */
.voice-wave-bars{width:174px;height:26px;display:flex;align-items:center;justify-content:center;gap:3px}
.wave-bar{width:4px;border-radius:2px;background:#171A20;transform-origin:center;transition:height .08s ease}
.wave-bar:nth-child(1),.wave-bar:nth-child(2),.wave-bar:nth-child(18),.wave-bar:nth-child(19){opacity:0.4}
.wave-bar:nth-child(3),.wave-bar:nth-child(4),.wave-bar:nth-child(16),.wave-bar:nth-child(17){opacity:0.6}
.wave-bar:nth-child(n+5):nth-child(-n+15){opacity:1.0}
.recording-penn-wrap.cancel-mode .wave-bar{background:#FFFFFF;opacity:0.95}

/* 语音操作提示 (unmsj: 16px, 600, #F4F1EA) */
.voice-penn-hint{margin-top:19px;width:100%;text-align:center;font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:16px;font-weight:600;color:#F4F1EA;letter-spacing:0.5px;line-height:22px;transition:color .2s ease}
.recording-penn-wrap.cancel-mode .voice-penn-hint{color:#FFAEAE}

/* 上滑取消指示图标 (q2b2DE: 18x18, #777C85) */
.voice-penn-cancel-arrow{margin-top:8px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#777C85;height:22px;transition:all .2s ease}
.recording-penn-wrap.cancel-mode .voice-penn-cancel-arrow{color:#FF5A5A;font-size:22px}

/* 底部麦克风柔光与图标 (Y1hVqf / R05nOp) */
.voice-penn-mic-bottom{margin-top:8px;width:68px;height:46px;border-radius:50%;background:#FFFFFF18;display:flex;align-items:center;justify-content:center;color:#999DA5;font-size:26px;transition:all .2s ease}
.recording-penn-wrap.cancel-mode .voice-penn-mic-bottom{background:#FF525222;color:#FF6B6B}

/* 录音计时胶囊小角标 */
.voice-penn-duration{position:absolute;top:12px;right:18px;font-family:"Noto Sans SC",sans-serif;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;color:#E6E2D9;background:rgba(0,0,0,0.3);padding:2px 8px;border-radius:10px}

/* =========================================================================
   1:1 还原设计图（image23.png）Token额度用完弹层
   ========================================================================= */
.token-limit-mask{position:fixed;inset:0;z-index:120;background:rgba(0,0,0,0.65);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;animation:enter .2s ease-out}
.token-limit-card{position:relative;width:100%;max-width:280px;background:#342123;border-radius:18px;padding:26px 20px 22px;box-sizing:border-box;text-align:center;box-shadow:0 16px 36px rgba(0,0,0,0.55),0 0 0 1px rgba(255,255,255,0.06)}
.token-limit-close{position:absolute;top:10px;right:12px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:50%;color:#C29FA4;font-size:18px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .15s ease}
.token-limit-close:active{background:rgba(255,255,255,0.1);color:#FFFFFF}
.token-limit-title{font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:15px;font-weight:700;color:#FFFFFF;line-height:1.45;letter-spacing:0.2px}
.token-limit-subtitle{font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:14px;font-weight:500;color:#FFF1C2;margin-top:8px;line-height:1.4}
.token-limit-btn{margin:18px auto 0;width:136px;height:38px;border-radius:9999px;background:linear-gradient(90deg,#FFE18A 0%,#F2BD43 100%);color:#36220F;font-family:"Noto Sans SC",-apple-system,sans-serif;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;border:none;cursor:pointer;box-shadow:0 4px 14px rgba(242,189,67,0.35);transition:all .15s ease;-webkit-tap-highlight-color:transparent}
.token-limit-btn:active{transform:scale(0.96);opacity:0.9}
.token-limit-btn i{font-size:16px;color:#36220F;line-height:1}
.toast{position:absolute;top:104px;left:18px;right:18px;z-index:100;border:1px solid #d9b76b70;background:#291c20f2;box-shadow:0 5px 28px #0005;border-radius:12px;padding:13px 16px;font-size:13px;color:#fff1ce;line-height:1.7;backdrop-filter:blur(12px);animation:enter .2s}
.intro-player{position:absolute;inset:0;z-index:12;background:#21181d}
.intro-player video{height:100%;width:100%;object-fit:cover}
.intro-player .intro-art{height:100%;width:100%;object-fit:cover;display:block}
.intro-skip{position:absolute;top:25px;right:25px;background:#111a3d85;border:1px solid #fff3;border-radius:20px;padding:7px 14px;font-size:13px;color:#fff}
.intro-enter{position:absolute;bottom:70px;left:35px;right:35px;width:calc(100% - 70px)}

@keyframes enter{from{opacity:0;transform:translateY(6px)}
to{opacity:1;transform:none}
}
@keyframes drawer-in{from{transform:translateX(100%)}
to{transform:none}
}
@keyframes sheet-in{from{transform:translateY(100%)}
to{transform:none}
}
@keyframes voice-presence{50%{box-shadow:0 10px 18px 8px #0005,0 0 23px 7px #ffe29a80}
}
@keyframes wave{to{height:5px}
}
@keyframes blink{50%{opacity:.25}
}

@media(min-width:640px){#app{height:min(823px,calc(100dvh - 32px));box-shadow:0 20px 80px #0007;border-radius:24px}
body{padding:16px}
}
@media(max-height:750px){.voice-dock{bottom:72px}
.quick-mascot-btn{bottom:112px}
.scene-footer{bottom:20px}
.chat-scroll-container{bottom:224px}
.settings-drawer{padding-bottom:20px}
.drawer-heading{height:59px}
.style-row{margin-top:18px;height:66px}
.settings-group,.settings-group+.settings-group{margin-top:18px}
.logout-button{margin-top:35px}
.profile-fields{margin-top:25px}
.page-background .background-grid>button{height:210px}
.welcome-copy{top:21%}
.welcome-claim{bottom:110px!important}
.welcome-login{bottom:74px}
.background-grid{margin-bottom:20px}
}
@media(max-width:360px){.style-option small{font-size:10px}
.style-option strong{font-size:12px}
.style-option{gap:7px;padding:0 9px}
.style-option.selected{padding:0 8px}
.avatar-profile{padding:12px;gap:8px}
.avatar-label small{font-size:9px}
.avatar-label strong{font-size:14px}
.avatar-profile .small-gold{padding:10px}
.topic-grid{gap:9px}
.scene-tools{right:20px}
.background-grid>button{height:218px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}
.scene-video{display:none}
}

.toast{pointer-events:none}

/* Provisional account & status badge */
.provisional-card{position:absolute;top:70px;left:20px;right:20px;background:rgba(40,24,28,0.78);border:1px solid rgba(243,206,112,0.3);border-radius:14px;padding:10px 14px;backdrop-filter:blur(8px);z-index:10;color:#f7e8db;animation:fade-in 0.3s ease-out}
.provisional-badge{display:flex;align-items:center;gap:8px;font-size:13px;color:#f3ce70}
.provisional-badge strong{color:#fff;letter-spacing:0.5px}
.tag-status{background:#8c3a3a;color:#fff;font-size:10px;padding:2px 6px;border-radius:6px;font-weight:600}
.provisional-sub{margin:4px 0 0;font-size:11px;color:#d0bab3;line-height:1.4}



/* Voice chips selector in style-sheet */
.modal-sub-label{font-size:13px;font-weight:600;color:#7a6552;display:block;margin:6px 0}
.voice-chips-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}
.voice-chip-btn{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:10px;background:#f5ecde;border:1px solid #d9ceba;color:#5c4731;font-size:13px;font-weight:500}
.voice-chip-btn.selected{background:#e7c897;border-color:#b5853b;color:#3d2710;font-weight:700}
.chip-check{color:#9e6819;font-size:16px}

@keyframes pulse-anim{0%{opacity:0.6;transform:scale(0.95)}50%{opacity:1;transform:scale(1.1)}100%{opacity:0.6;transform:scale(0.95)}}
.pulse-anim{animation:pulse-anim 1.2s infinite ease-in-out}

/* Mascot Stage & Dynamic Lip-Sync */
.mascot-stage{position:absolute;left:50%;bottom:55px;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;pointer-events:none;z-index:1;transition:all .3s cubic-bezier(0.25,1,0.5,1)}
.mascot-stage.in-welcome{bottom:155px;z-index:2}
.mascot-stage.in-welcome .mascot-img{height:44vh;max-height:360px}
.mascot-stage.enlarged,
.mascot-stage.enlarged.in-welcome{
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  z-index: 1;
  pointer-events: none;
  display: flex;
}
.mascot-stage.enlarged .mascot-wrapper,
.mascot-stage.enlarged.in-welcome .mascot-wrapper{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
}
.mascot-stage.enlarged .mascot-img,
.mascot-stage.enlarged.in-welcome .mascot-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none !important;
}
.mascot-wrapper{position:relative;display:flex;justify-content:center;align-items:center}
.mascot-img{height:54vh;max-height:460px;min-height:280px;width:auto;max-width:88vw;object-fit:contain;filter:drop-shadow(0 14px 28px rgba(0,0,0,0.45))}
/* [已全部注释停用人工缩放动效，完全直接使用 GIF 原生自带动画]
.mascot-stage.speaking .mascot-wrapper{animation:mascot-talk 0.8s ease-in-out infinite alternate}
.mascot-stage.listening .mascot-img{transform:scale(1.04) rotate(-2deg)}
.mascot-stage.thinking .mascot-wrapper{animation:mascot-think 2s ease-in-out infinite}
.mascot-halo{position:absolute;top:10%;left:15%;right:15%;bottom:35%;border-radius:50%;background:radial-gradient(circle,rgba(241,209,122,0.22) 0%,rgba(241,209,122,0) 70%);animation:halo-glow 1.5s ease-in-out infinite alternate;pointer-events:none;z-index:-1}
@keyframes mascot-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes mascot-talk{0%{transform:translateY(0) scale(1)}100%{transform:translateY(-4px) scale(1.02)}}
@keyframes mascot-think{0%,100%{transform:rotate(0deg) translateY(0)}33%{transform:rotate(2deg) translateY(-2px)}66%{transform:rotate(-2deg) translateY(-2px)}}
@keyframes halo-glow{0%{opacity:0.4;transform:scale(0.92)}100%{opacity:0.9;transform:scale(1.1)}}
*/

/* Voice hints & Welcome Audio Pill */
.voice-hint-idle{white-space:nowrap;font-size:11px;color:#f0d8ba;letter-spacing:0.8px;text-shadow:0 1px 4px rgba(0,0,0,0.85);opacity:0.85}
.welcome-audio-pill{position:absolute;bottom:170px;left:50%;transform:translateX(-50%);background:rgba(214,174,87,0.28);border:1px solid rgba(255,241,184,0.65);color:#fff8e7;padding:7px 18px;border-radius:20px;backdrop-filter:blur(10px);font-size:12px;font-weight:600;letter-spacing:0.5px;display:flex;align-items:center;gap:6px;box-shadow:0 6px 20px rgba(0,0,0,0.45),0 0 14px rgba(255,226,154,0.3);cursor:pointer;transition:transform .2s,background .2s;z-index:15;animation:pill-pulse 2.2s infinite ease-in-out}
.welcome-audio-pill:hover,.welcome-audio-pill:active{transform:translateX(-50%) scale(1.05);background:rgba(214,174,87,0.45);border-color:#ffe29a}
.welcome-audio-pill.is-playing{background:rgba(80,180,120,0.3);border-color:rgba(120,230,160,0.8);box-shadow:0 0 16px rgba(80,220,140,0.45);animation:none}
.welcome-audio-pill i{font-size:15px;color:#ffd978}
.welcome-audio-pill.is-playing i{color:#8cf0b4}
@keyframes pill-pulse{0%,100%{transform:translateX(-50%) scale(1);box-shadow:0 6px 20px rgba(0,0,0,0.45),0 0 10px rgba(255,226,154,0.25)}50%{transform:translateX(-50%) scale(1.04);box-shadow:0 8px 24px rgba(0,0,0,0.55),0 0 18px rgba(255,226,154,0.65)}}

/* Self-healing Rescue Container */
.rescue-container{position:absolute;inset:0;background:radial-gradient(circle at center,#3a2227 0%,#1a1013 100%);display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999;box-sizing:border-box}
.rescue-card{background:rgba(42,25,30,0.88);border:1px solid rgba(241,209,122,0.4);border-radius:18px;padding:32px 24px;text-align:center;box-shadow:0 20px 40px rgba(0,0,0,0.7),0 0 25px rgba(241,209,122,0.2);backdrop-filter:blur(16px);max-width:320px;width:100%}
.rescue-emblem{width:56px;height:56px;border-radius:28px;background:linear-gradient(135deg,#e5b85a 0%,#9e7225 100%);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#1e1316;font-size:26px;box-shadow:0 6px 16px rgba(0,0,0,0.5)}
.rescue-card h2{margin:0 0 10px;font-size:18px;color:#fff2d1;font-weight:600;letter-spacing:1px}
.rescue-desc{font-size:13px;line-height:1.7;color:#d5beb7;margin:0 0 24px}
.rescue-btn{width:100%;padding:12px;font-size:14px;font-weight:600;letter-spacing:1px;display:flex;align-items:center;justify-content:center;gap:8px}
.rescue-tip{font-size:11px;color:#9b817b;margin:16px 0 0;line-height:1.5}

/* 扫码识别手串序列号全屏取景器 */
.qr-scanner-overlay{position:fixed;inset:0;z-index:200;background:#050810;display:flex;flex-direction:column;overflow:hidden;animation:enter .25s ease-out}
.scanner-header{height:56px;display:flex;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top, 12px) + 12px) 16px 12px;background:rgba(5,8,16,0.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:10}
.scanner-close-btn{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.12);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;border:0}
.scanner-title{font-size:17px;font-weight:600;color:#fff1c2;margin:0}
.scanner-header-spacer{width:36px}
.scanner-body{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.scanner-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.scanner-viewfinder{position:relative;width:240px;height:240px;border-radius:18px;box-shadow:0 0 0 4000px rgba(5,8,16,0.65);z-index:2}
.viewfinder-corner{position:absolute;width:24px;height:24px;border-color:#e2c575;border-style:solid;border-width:0;z-index:3}
.viewfinder-corner.top-left{top:-2px;left:-2px;border-top-width:3px;border-left-width:3px;border-top-left-radius:18px}
.viewfinder-corner.top-right{top:-2px;right:-2px;border-top-width:3px;border-right-width:3px;border-top-right-radius:18px}
.viewfinder-corner.bottom-left{bottom:-2px;left:-2px;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:18px}
.viewfinder-corner.bottom-right{bottom:-2px;right:-2px;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:18px}
.scanner-laser{position:absolute;left:8px;right:8px;height:2px;background:linear-gradient(90deg,transparent,#e2c575,#fff1c2,#e2c575,transparent);box-shadow:0 0 10px #e2c575;animation:scan-laser 2.4s ease-in-out infinite alternate}
@keyframes scan-laser{0%{top:12px}100%{top:224px}}
.scanner-hint{position:relative;z-index:3;margin-top:24px;font-size:13px;color:#d8c5bf;text-shadow:0 2px 6px rgba(0,0,0,0.8);text-align:center;padding:0 20px}
.scanner-error-card{position:relative;z-index:4;margin-top:16px;background:rgba(58,36,40,0.95);border:1px solid rgba(255,226,154,0.3);border-radius:16px;padding:20px;max-width:280px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:0 8px 24px rgba(0,0,0,0.6)}
.scanner-error-card i{font-size:32px;color:#e2c575}
.scanner-error-card p{font-size:13px;color:#f0ded6;margin:0;line-height:1.5}
.scanner-error-card .btn-compact{height:40px;font-size:14px;padding:0 16px;margin-top:4px}

/* ==========================================================================
   认领手串码实时校验反馈徽标与状态样式
   ========================================================================== */
.serial-check-tip{display:flex;align-items:center;gap:6px;font-size:12px;margin-top:6px;padding:6px 10px;border-radius:8px;line-height:1.4;transition:color .2s,background .2s,border-color .2s}
.serial-check-tip.valid{color:#4ade80;background:rgba(74,222,128,0.12);border:1px solid rgba(74,222,128,0.3)}
.serial-check-tip.invalid{color:#f87171;background:rgba(248,113,113,0.12);border:1px solid rgba(248,113,113,0.3)}
.serial-check-tip.loading{color:#facc15;background:rgba(250,204,21,0.12);border:1px solid rgba(250,204,21,0.3)}
.input-wrap.is-valid{border-color:rgba(74,222,128,0.6)!important;box-shadow:0 0 0 2px rgba(74,222,128,0.15)}
.input-wrap.is-invalid{border-color:rgba(248,113,113,0.6)!important;box-shadow:0 0 0 2px rgba(248,113,113,0.15)}
.spin{display:inline-block;animation:spin 1s linear infinite}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes fade-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.scanner-footer{height:88px;padding:12px 20px calc(env(safe-area-inset-bottom, 12px) + 12px);display:flex;align-items:center;justify-content:center;background:rgba(5,8,16,0.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:10}
.scanner-album-btn{height:46px;padding:0 24px;border-radius:23px;background:linear-gradient(180deg,#2b3f66 0%,#17233f 100%);border:1px solid rgba(255,226,154,0.4);color:#fff1c2;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;box-shadow:0 6px 18px rgba(0,0,0,0.6);cursor:pointer}
.scanner-album-btn:active{transform:scale(0.96);background:#1a284a}

/* ==========================================================================
   出生日期 年/月/日 三级联动选择器样式（兼容微信内置浏览器 XWeb/WKWebView）
   ========================================================================== */
.profile-fields .birthday-field-block {
  display: block;
  font-size: 17px;
  line-height: 25px;
  font-weight: 500;
  position: relative;
}
.profile-fields .birthday-field-label {
  display: block;
}
.cream-sheet .birthday-field-block,
.cream-sheet .claim-field-block {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4d5360;
  margin-bottom: 10px;
  position: relative;
}
.claim-sheet .claim-field-block {
  margin-bottom: 8px;
}
.initial-profile .birthday-field-block {
  margin-bottom: 13px;
}
.cream-sheet .birthday-field-label,
.cream-sheet .claim-field-label {
  display: block;
}
.birthday-field-block.has-open-picker {
  z-index: 95;
}
.birthday-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  position: relative;
}
.birthday-row.time-row {
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}
.birthday-select-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #d9ceba;
  border-radius: 10px;
  height: 42px;
  padding: 0 10px;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.birthday-select-box.is-active {
  z-index: 90;
  border-color: #c69a48;
  box-shadow: 0 0 0 1px rgba(198, 154, 72, 0.4);
}
.birthday-select-box .birthday-val {
  font-size: 15px;
  color: #4d5360;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.birthday-select-box i {
  color: #a29a8d;
  font-size: 16px;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.birthday-select-box.is-active i {
  color: #c69a48;
}

/* 核心：选项弹层高度收小（约4.5项高，露出边缘暗示可滑动），上下平滑触控滚动 */
.birthday-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  min-width: 90px;
  max-height: 196px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: #ffffff;
  border: 1px solid #d9ceba;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  z-index: 110;
  padding: 4px 0;
  scrollbar-width: thin;
}
.birthday-dropdown-menu::-webkit-scrollbar {
  width: 4px;
}
.birthday-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(180, 160, 140, 0.4);
  border-radius: 2px;
}
.birthday-dropdown-item {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: #4d5360;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.birthday-dropdown-item:last-child {
  border-bottom: 0;
}
.birthday-dropdown-item:active {
  background: #f7f1e6;
}
.birthday-dropdown-item.active {
  background: #f5eedf;
  color: #9a6b2f;
  font-weight: 600;
}
.birthday-dropdown-item.active::after {
  content: '✓';
  color: #9a6b2f;
  font-size: 13px;
  font-weight: bold;
}

/* 深色模式 / 个人设置页样式（对应用户截图界面） */
.birthday-row.dark .birthday-select-box {
  background: #4a2d2deb;
  border: 1px solid #a1803b45;
  border-radius: 12px;
  height: 48px;
  padding: 0 12px;
}
.birthday-row.dark .birthday-select-box.is-active {
  border-color: #d6ae57;
  box-shadow: 0 0 0 1px rgba(214, 174, 87, 0.5);
}
.birthday-row.dark .birthday-select-box .birthday-val {
  font-size: 16px;
  color: #fff1c2;
}
.birthday-row.dark .birthday-select-box i {
  color: #e2c575;
  font-size: 18px;
}
.birthday-row.dark .birthday-dropdown-menu {
  background: #3a1e22;
  border: 1px solid rgba(226, 197, 117, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  max-height: 196px;
}
.birthday-row.dark .birthday-dropdown-item {
  color: #f7ebdc;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.birthday-row.dark .birthday-dropdown-item:active {
  background: rgba(226, 197, 117, 0.15);
}
.birthday-row.dark .birthday-dropdown-item.active {
  background: rgba(226, 197, 117, 0.22);
  color: #ffe8a3;
  font-weight: 600;
}
.birthday-row.dark .birthday-dropdown-item.active::after {
  content: '✓';
  color: #ffd666;
}
.birthday-row.dark .birthday-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(226, 197, 117, 0.35);
}

/* ==========================================================================
   未激活常驻引导区与设置页跳转入口 (强化高亮、柔和呼吸动效)
   ========================================================================== */
.activate-dock {
  width: 90%;
  max-width: 360px;
  touch-action: manipulation;
}
.activate-controls-row {
  width: 100%;
  display: flex;
  justify-content: center;
}
.activate-cta-btn {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: linear-gradient(135deg, #FFE29A 0%, #D4A047 50%, #B8822B 100%);
  color: #2a1b0a;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 226, 154, 0.45);
  border: 1.5px solid #FFF1B8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  animation: pulse-glow 2.5s infinite ease-in-out;
}
.activate-cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 226, 154, 0.3);
}
.activate-sparkle-icon {
  font-size: 20px;
  color: #3d240d;
}
.activate-cta-text {
  font-size: 16px;
  font-weight: 700;
}
.activate-hint {
  font-size: 12px;
  color: #ffe29a;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  opacity: 0.9;
  letter-spacing: 0.2px;
  text-align: center;
  white-space: nowrap;
}
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 226, 154, 0.35);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 26px rgba(255, 226, 154, 0.7);
  }
}

.settings-row.activate-entry-row {
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(169, 122, 54, 0.28) 0%, rgba(74, 45, 45, 0.92) 100%);
  border: 1px solid rgba(255, 226, 154, 0.35);
  border-radius: 16px;
}
.settings-row.activate-entry-row:active {
  background: linear-gradient(90deg, rgba(169, 122, 54, 0.42) 0%, rgba(74, 45, 45, 1) 100%);
}
.activate-entry-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffe29a;
}


