.settings-intro{position:relative;padding:23px 20px 25px;border:1px solid #ccd9ef;border-radius:24px;background:radial-gradient(circle at 100% 0,#ffbb7850,transparent 60%),linear-gradient(135deg,#edf4ff,#fff);color:var(--blue)}.settings-intro h2{font-family:"Songti SC",serif;font-size:27px;line-height:1.4;margin-top:15px}.settings-intro:after{content:"✳ ✧ ☾";position:absolute;right:15px;bottom:16px;color:#9dbb68;font-size:25px;letter-spacing:8px}.skin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.skin-tile{display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:left;border:1px solid #d1ddf1;border-radius:18px;padding:9px;background:linear-gradient(135deg,#fff,#f0f4ff);box-shadow:inset 0 1px #fff,0 3px 0 #b4c7ed20;min-width:0}.skin-tile b{display:block;font-size:14px;line-height:1.5;color:var(--blue)}.skin-tile small{display:block;font-size:12px;line-height:1.6;color:#7e8dac;margin-top:4px}.skin-thumbnail{height:95px;display:grid;place-items:center;background:repeating-conic-gradient(#e5ecf8 0 25%,#f6f8ff 0 50%) 50%/18px 18px;border:1px solid #d9e3f4;border-radius:12px;overflow:hidden}.skin-thumbnail>svg{height:32px;width:32px;color:#6a85ba}.skin-thumbnail img{width:100%;height:100%;object-fit:cover}.pref-label{display:block;font-size:14px;color:var(--blue)}.pref-label select,.pref-search input,.pref-search select{border:1px solid #cad8f1;border-radius:12px;padding:12px;background:#fff;min-width:0;font-size:14px;color:var(--ink);width:100%}.pref-label select{margin-top:8px}.skin-editor-preview{height:200px;display:grid;place-items:center;background:#edf2fc;border-radius:20px;overflow:hidden}.skin-editor-preview img{width:100%;height:100%;object-fit:contain}.entry-form input[type="color"]{height:48px;padding:5px;cursor:pointer}.entry-form input[type="range"]{padding:5px 0;accent-color:var(--blue);border:0;background:transparent;min-height:30px}.custom-surface{background-image:var(--skin-image)!important;background-repeat:no-repeat!important}.custom-card{background-image:linear-gradient(rgb(255 255 255 / var(--card-veil,.3)),rgb(255 255 255 / var(--card-veil,.3))),var(--skin-image)!important;background-size:cover;background-position:center}.custom-card h2,.custom-card h3,.custom-card p{color:var(--deep)}.custom-avatar{width:100%;height:100%;object-fit:cover;border-radius:inherit}.media-unavailable{outline:1px dashed #da9b78}.device .bubble{font-size:var(--reading-size,16px);background:var(--bubble-other,#fff);color:var(--bubble-other-text,#18264a)}.device .chat-message.mine .bubble{background:var(--bubble-mine,#2e4bb7);color:var(--bubble-mine-text,#fff);border-color:var(--bubble-mine,#2e4bb7)}.device .body-text,.device .moment-copy,.device .composer textarea,.device .entry-form input:not([type="checkbox"]):not([type="range"]):not([type="color"]),.device .entry-form textarea,.device .entry-form select{font-size:var(--reading-size,16px)}.device .entry-form label{font-size:14px}.pref-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px}.sticker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.sticker-item{position:relative;min-width:0;display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid #dbe4f5;border-radius:16px;background:#fff}.sticker-check{position:absolute;z-index:2;top:7px;left:7px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffffffd9}.sticker-check input{accent-color:var(--blue);width:16px;height:16px}.sticker-image{display:grid;place-items:center;width:100%;aspect-ratio:1}.sticker-image img{width:100%;height:100%;object-fit:contain;max-height:110px}.sticker-item small{font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--blue)}.sticker-meaning{font-size:12px;line-height:1.6;color:#8b96ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pref-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;font-size:12px;color:var(--muted)}.pref-pagination .secondary{padding:9px 12px;font-size:13px;min-height:40px}.sticker-full{height:160px;display:grid;place-items:center;background:#f1f5ff;border-radius:18px}.sticker-full img{width:100%;height:100%;object-fit:contain}.emoji-message{width:140px;max-width:47vw;line-height:0}.emoji-message img{max-height:180px;width:100%;object-fit:contain}.time-live h2{font-size:44px;font-weight:500;letter-spacing:2px;color:var(--blue);margin:12px 0 4px}.service-tabs{display:flex;gap:5px;padding:5px;background:#e9effc;border:1px solid #cbd8f0;border-radius:17px;margin-bottom:12px}.service-tabs button{min-width:0;flex:1;padding:11px 4px;font-size:14px;border-radius:12px;color:#7588ac}.service-tabs button.active{color:var(--blue);background:linear-gradient(145deg,#fff,#f2f6ff);box-shadow:0 2px 4px #324ca314}.service-note{margin-bottom:18px!important}.vision-test-card{padding:13px;background:#edf2fd;border-radius:18px}.vision-test-card img{height:110px;width:110px;object-fit:contain;border-radius:13px;margin:auto}.generated-test-image{display:block;width:100%;max-height:250px;object-fit:contain;margin-top:12px}.device button:disabled{cursor:default;opacity:.55}.device [aria-busy="true"]{cursor:progress}.device .time-live .chip{overflow-wrap:anywhere;white-space:normal}.attachment-cleared{padding:16px;border:1px dashed #c7d4ec;border-radius:15px;font-size:13px;color:var(--muted)}
html[data-motion="off"] .device *,html[data-motion="off"] .device *:before,html[data-motion="off"] .device *:after{animation:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.page.enter{animation:none}}
@media(max-width:360px){.skin-grid{gap:9px}.skin-tile{padding:8px}.skin-tile b{font-size:13px}.sticker-grid{gap:8px}.sticker-item{padding:6px}.service-tabs button{font-size:13px}.pref-search{grid-template-columns:minmax(0,1fr)}}

.saved-attachment{position:relative;max-width:230px}.attachment-content>img{max-height:260px;max-width:100%;border-radius:16px;object-fit:contain}.attachment-content>audio{max-width:220px;width:55vw;height:42px}.attachment-pin{display:grid;place-items:center;width:28px;height:28px;margin-top:5px;margin-left:auto;border:1px solid #cdd9f1;border-radius:50%;color:#9aa9c9;background:#fff}.attachment-pin svg{width:15px;height:15px}.attachment-pin[aria-pressed="true"]{color:#dc8c2d;background:#fff0d9}

.hero-cover img{object-fit:contain}

.page.custom-surface>.page-body{background:transparent}

.settings-intro{padding-bottom:48px}.settings-intro:after{bottom:10px}.skin-tile[data-value="homeCover"] .skin-thumbnail img{object-fit:contain}.skin-thumbnail>svg{height:50px;width:50px}

.avatar,.avatar.large,.custom-avatar{border-radius:8px!important;aspect-ratio:1;flex-shrink:0}.skin-editor-preview:has(img[alt$="头像"]){aspect-ratio:1;height:auto;max-width:240px;margin:auto}.tint-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.tint-comparison figure{min-width:0}.tint-comparison figcaption{font-size:12px;color:#7183aa;margin-bottom:8px}.tint-sample{position:relative;height:120px;overflow:hidden;border:1px solid #cbd8ee;border-radius:16px;background:#fff}.tint-sample img{width:100%;height:100%;object-fit:cover}.tint-current:after{content:"";position:absolute;inset:0;background:rgb(255 255 255 / var(--compare-veil,.3));pointer-events:none}.tint-current span{position:absolute;z-index:1;bottom:12px;left:10px;font-size:14px;color:#172d72;font-weight:600}#card-tint-value{float:right;font-variant-numeric:tabular-nums;color:var(--blue)}.header-actions{flex-shrink:0}

.original-sticker{display:block;width:100%;height:100%;min-height:70px}.sticker-full .original-sticker{height:160px}.emoji-message .original-sticker{height:150px}.sticker-image .original-sticker{height:110px}

.real-chat .chat-stream{scrollbar-width:none;overflow-anchor:none}.chat-message-content{min-width:0;max-width:calc(100% - 46px)}.chat-message.mine .chat-message-content{display:flex;flex-direction:column;align-items:flex-end}.chat-edited{display:block;font-size:11px;color:#8797b7;margin:5px 3px}.chat-live-area{flex-shrink:0;max-height:180px;overflow:auto}.chat-operation-error,.chat-summary-note,.chat-request-status{margin:6px 13px;padding:10px 12px;border-radius:13px;background:#edf3ff;border:1px solid #cddbf2;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.chat-operation-error{background:#fff1e7;border-color:#edcab1;color:#925735}.chat-operation-error .text-link{margin:7px 12px 0 0}.chat-request-status{display:flex;gap:9px;align-items:center}.chat-request-status button{margin-left:auto}.chat-pulse{height:7px;width:7px;flex-shrink:0;border-radius:50%;background:#7793cc;animation:breathe 1.2s ease-in-out infinite}.chat-welcome{text-align:center;padding:28px 8px}.chat-welcome>span{display:block;width:110px;height:110px;margin:auto}.chat-welcome h3{font-family:"Songti SC",serif;font-size:25px;line-height:1.5;color:var(--blue);margin-top:15px}.chat-welcome p{font-size:13px;line-height:1.8;color:#8b98b2;margin:15px 0 20px}.chat-history-tools{display:flex;justify-content:center;gap:18px;margin-bottom:15px;font-size:12px}.chat-tool-results{margin:14px 5px}.chat-tool-card{border:1px solid #cbdaf1;border-radius:16px;padding:13px;background:#ffffffc9;color:#4d679a;margin:8px 0}.chat-tool-card b{display:flex;align-items:center;gap:7px;font-size:13px}.chat-tool-card b svg{height:18px;width:18px}.chat-tool-card p{font-size:14px;margin-top:7px}.chat-tool-card small{font-size:11px;color:#8a98b3;display:block;margin-top:6px;overflow-wrap:anywhere}.chat-image-open{display:block;max-width:210px;border-radius:16px;overflow:hidden}.chat-image-open img{max-width:100%;max-height:220px;object-fit:contain}.response-copy{width:100%;min-height:200px;border:1px solid #d1ddf0;border-radius:12px;padding:12px;font-size:14px}.full-chat-image{min-height:150px;max-height:60vh;overflow:auto}.full-chat-image img{width:100%;object-fit:contain}.memory-real{text-align:left;display:block;width:100%;color:var(--ink)}.memory-real p{font-size:15px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}.memory-real small{color:#94a2bc;font-size:12px}.real-chat .chat-message{animation:chatBubbleIn .18s ease-out}.real-chat .chat-tools button{width:38px;height:38px}.real-chat .chat-tools{gap:4px;justify-content:space-around}@keyframes chatBubbleIn{from{opacity:.45;translate:0 5px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.real-chat .chat-message,.chat-pulse{animation:none}}

.avatar-editor{height:auto!important;width:min(100%,240px);aspect-ratio:1;margin:auto}.skin-tile[data-value="roleAvatar"] .skin-thumbnail,.skin-tile[data-value="userAvatar"] .skin-thumbnail{height:auto;aspect-ratio:1}

/* 独立角色声音配置 */
.service-tabs{flex-wrap:wrap}.service-tabs button{flex:1 1 40%;min-width:0}.voice-hero{padding:22px 8px}.voice-hero h2{font-size:26px;line-height:1.4}.voice-hero p{color:#597097;font-size:12px;margin-top:10px}.voice-result{overflow-wrap:anywhere;font-size:12px;line-height:1.7;margin-top:12px}.voice-result audio{width:100%;max-width:100%;margin-top:10px}.chat-speak{display:block;font-size:10px;margin-top:5px;opacity:.8}.entry-form .form-row{display:flex;gap:12px}.entry-form .form-row>label{min-width:0;flex:1}.entry-form input,.entry-form select{min-width:0;max-width:100%}

.route-status{margin:12px 0 18px;overflow-wrap:anywhere}.route-status>span{display:block;font-size:12px;color:#7183a6}.route-status>b{display:block;font-size:16px;color:var(--blue);margin-top:7px}.route-status>p{font-size:12px;color:#6f81a5;margin-top:6px}.route-status>small{display:block;font-size:12px;line-height:1.6;margin-top:7px;color:#7183a6}

/* 衣柜与用户自己的图片要求 */
.beauty-tabs{display:flex;padding:5px;background:#e8eefc;border:1px solid #cedcf3;border-radius:18px;gap:6px;margin-bottom:18px}.beauty-tabs button{flex:1;padding:12px 5px;border-radius:13px;font-size:14px;color:#7185ad}.beauty-tabs button.active{background:linear-gradient(145deg,#fff,#f4f7ff);color:var(--blue);box-shadow:0 2px 5px #2444bd12}.wardrobe-hero{display:flex;align-items:center;gap:10px;padding:23px 18px;background:radial-gradient(ellipse at 100% 0,#ffd2a875,transparent 65%),linear-gradient(140deg,#f5f8ff,#e5eeff);border:1px solid #d3dff4;border-radius:24px}.wardrobe-hero h2{font-size:23px;line-height:1.5;color:var(--blue);margin-top:13px}.wardrobe-hero>span{width:72px;min-width:52px}.wardrobe-hero>span>svg{width:100%;height:auto}.wardrobe-person{margin-top:24px}.wardrobe-person h3{font-size:16px;color:var(--blue)}.wardrobe-person .between>small{font-size:12px;color:#7185a9}.wardrobe-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.wardrobe-photo{min-width:0;background:#fff;border:1px solid #d5e0f3;border-radius:16px;padding:7px}.wardrobe-photo-open{display:block;aspect-ratio:1;width:100%;border-radius:9px;overflow:hidden;background:#edf3fc}.wardrobe-photo-open img{width:100%;height:100%;object-fit:cover}.wardrobe-use{display:flex;align-items:center;gap:4px;font-size:12px;color:#5f759e;margin-top:8px;white-space:nowrap}.wardrobe-photo>.text-link{font-size:12px;margin-top:5px;width:100%}.wardrobe-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:136px;padding:10px 5px;border-radius:16px;border:1px dashed #9eb5e3;background:linear-gradient(150deg,#fff,#edf3ff);color:var(--blue);font-size:12px}.wardrobe-upload>svg{width:26px;height:26px}.wardrobe-upload>small{color:#8194b4}.wardrobe-form textarea{min-height:140px;width:100%;resize:vertical}.wardrobe-count{display:block;color:#8496b2;font-size:12px;text-align:right;font-weight:400}.wardrobe-prompt-preview{display:block;width:100%;border:1px solid #cbdaf1;border-radius:14px;padding:13px;font-size:14px;line-height:1.8;background:#fff;margin-top:12px}.wardrobe-preview-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.wardrobe-preview-photos img{width:100%;height:90px;object-fit:contain}.wardrobe-preview-photos small{font-size:12px;color:#7588a6}

.wardrobe-photos.is-empty .wardrobe-upload{grid-column:1/-1;display:grid;grid-template-columns:38px minmax(0,1fr) 36px;justify-content:stretch;text-align:left;min-height:108px;padding:18px;gap:12px;background:radial-gradient(ellipse at 100% 0,#dce8ff77,transparent 65%),linear-gradient(145deg,#fff,#f4f7ff)}.wardrobe-photos.is-empty .wardrobe-upload>svg{width:30px;height:30px}.wardrobe-photos.is-empty .wardrobe-upload>span{font-size:14px}.wardrobe-photos.is-empty .wardrobe-upload>small{text-align:right}
