.send-fake-pic-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease;backdrop-filter:blur(4px)}.send-fake-pic-modal{background:var(--theme-bg-primary,#fff);border-radius:16px;width:90%;max-width:420px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--theme-shadow-heavy,0 8px 32px rgba(0,0,0,.3));animation:slideUp .3s ease;position:relative}.fake-pic-edit-pane{min-height:0;overflow-y:auto}.fake-pic-header{padding:20px;text-align:center;background:var(--theme-bg-secondary,#f8f9fa);color:var(--theme-text-primary,#333);position:relative;border-radius:16px 16px 0 0;border-bottom:1px solid var(--theme-border-color,#e0e0e0)}.fakepic-close-btn{position:absolute;top:15px;right:15px;width:32px;height:32px;border:none;background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666);font-size:24px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1;padding:0}.fakepic-close-btn:hover{background:var(--theme-bg-hover,#e0e0e0);transform:rotate(90deg)}.fakepic-close-btn:disabled{cursor:not-allowed;opacity:.5}.fake-pic-header h3{margin:0;font-size:18px;font-weight:600}.fake-pic-tabs{display:flex;gap:0;border-bottom:2px solid var(--theme-border-color,#e0e0e0);background:var(--theme-bg-secondary,#f8f9fa)}.fake-pic-tab{flex:1;padding:12px 16px;border:none;background:transparent;color:var(--theme-text-secondary,#666);font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;position:relative}.fake-pic-tab:hover{color:var(--theme-text-primary,#333);background:var(--theme-bg-hover,rgba(0,0,0,.02))}.fake-pic-tab.active{color:var(--theme-accent-color,#667eea)}.fake-pic-tab.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--theme-accent-color,#667eea)}.description-input-section{padding:0 20px 20px;background:var(--theme-bg-primary,white);margin:0 16px 16px;border-radius:12px}.description-input-section label{display:block;margin-bottom:8px;color:var(--theme-text-primary,#333);font-weight:500;font-size:14px;padding-top:16px}.description-input{width:100%;padding:12px;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:8px;font-size:15px;resize:none;font-family:inherit;transition:all .2s;background:var(--theme-bg-secondary,#fafafa);color:var(--theme-text-primary,#333)}.description-input:focus{outline:none;border-color:var(--theme-accent-color,#667eea);background:var(--theme-bg-primary,white)}.description-input:disabled{background:var(--theme-bg-tertiary,#f5f5f5);cursor:not-allowed}.description-length{text-align:right;font-size:12px;color:var(--theme-text-secondary,#999);margin-top:4px}.error-message{color:var(--theme-error-color,#f44336);font-size:13px;margin-top:8px;padding:8px;background:var(--theme-error-bg,#ffebee);border-radius:4px}.image-upload-section{padding:0 20px 20px;background:var(--theme-bg-primary,white);margin:0 16px 16px;border-radius:12px}.image-upload-section label{display:block;margin-bottom:8px;color:var(--theme-text-primary,#333);font-weight:500;font-size:14px;padding-top:16px}.image-upload-area{display:flex;justify-content:center;align-items:center;min-height:120px}.upload-buttons-container{display:flex;gap:12px;width:100%;justify-content:center;flex-wrap:wrap}.upload-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;height:100px;min-width:110px;border:2px dashed var(--theme-border-color,#e0e0e0);border-radius:12px;background:var(--theme-bg-secondary,#fafafa);color:var(--theme-text-secondary,#666);cursor:pointer;transition:all .3s ease;font-size:13px;font-weight:500;gap:8px;max-width:140px}.single-upload-btn{border-color:var(--theme-accent-color,#667eea);background:var(--theme-accent-bg,rgba(102,126,234,.05));color:var(--theme-accent-color,#667eea)}.batch-upload-btn{border-color:#28a745;background:rgba(40,167,69,.05);color:#28a745}.url-batch-upload-btn{border-color:#17a2b8;background:rgba(23,162,184,.05);color:#17a2b8}.upload-btn:hover:not(:disabled){border-color:var(--theme-accent-color,#667eea);background:var(--theme-bg-hover,#f0f0f0);color:var(--theme-accent-color,#667eea);transform:translateY(-2px);box-shadow:var(--theme-shadow-light,0 4px 12px rgba(0,0,0,.1))}.upload-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.upload-icon{font-size:32px;line-height:1}.upload-loading{display:flex;flex-direction:column;align-items:center;gap:8px}.upload-spinner{width:24px;height:24px;border:2px solid var(--theme-border-color,#e0e0e0);border-top-color:var(--theme-accent-color,#667eea);border-radius:50%;animation:spin .8s linear infinite}.uploaded-image-preview{position:relative;display:inline-block}.uploaded-image-preview img{border-radius:8px;box-shadow:var(--theme-shadow-light,0 2px 8px rgba(0,0,0,.1))}.clear-upload-btn{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border:none;border-radius:50%;background:#ff4757;color:white;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 4px rgba(0,0,0,.2);line-height:1}.clear-upload-btn:hover:not(:disabled){background:#ff3742;transform:scale(1.1);box-shadow:0 4px 8px rgba(255,71,87,.3)}.clear-upload-btn:disabled{opacity:.6;cursor:not-allowed}.url-input-section{padding:0 20px 20px;background:var(--theme-bg-primary,white);margin:0 16px 16px;border-radius:12px}.url-input-section label{display:block;margin-bottom:8px;font-weight:500;font-size:14px;padding-top:16px}.url-input,.url-input-section label{color:var(--theme-text-primary,#333)}.url-input{width:100%;padding:12px;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:8px;font-size:15px;font-family:inherit;transition:all .2s;background:var(--theme-bg-secondary,#fafafa)}.url-input:focus{outline:none;border-color:var(--theme-accent-color,#667eea);background:var(--theme-bg-primary,white)}.url-input:disabled{cursor:not-allowed}.url-disabled-hint,.url-input:disabled{background:var(--theme-bg-tertiary,#f5f5f5)}.url-disabled-hint{font-size:12px;color:var(--theme-text-secondary,#999);margin-top:4px;padding:4px 8px;border-radius:4px;text-align:center}.action-buttons-section{padding:0 20px 20px;display:flex;gap:12px}.send-fake-pic-shell .save-button,.send-fake-pic-shell .send-button{flex:1;padding:14px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.send-fake-pic-shell .save-button{background:var(--theme-bg-secondary,#f0f0f0);color:var(--theme-text-primary,#333);border:2px solid var(--theme-border-color,#e0e0e0)}.send-fake-pic-shell .save-button:hover:not(:disabled){background:var(--theme-bg-hover,#e8e8e8);border-color:var(--theme-accent-color,#667eea);transform:translateY(-2px)}.send-fake-pic-shell .send-button{background:var(--theme-accent-color,#667eea);color:white;box-shadow:var(--theme-shadow-light,0 2px 8px rgba(0,0,0,.1))}.send-fake-pic-shell .send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--theme-shadow-medium,0 4px 12px rgba(0,0,0,.15));filter:brightness(1.05)}.send-fake-pic-shell .save-button:active:not(:disabled),.send-fake-pic-shell .send-button:active:not(:disabled){transform:translateY(0)}.send-fake-pic-shell .save-button:disabled,.send-fake-pic-shell .send-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.gallery-content{flex:1;min-height:0;overflow-y:auto;padding:20px}.gallery-ai-tip{padding:0 20px 8px;margin:0}.gallery-ai-tip-text{font-size:11px;color:var(--theme-text-secondary,#666);line-height:1.4;margin:0}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--theme-bg-secondary,#f8f9fa);border-radius:6px;margin-bottom:12px;border:1px solid var(--theme-border-color,#e0e0e0)}.gallery-toolbar-left{display:flex;align-items:center;gap:8px}.gallery-toolbar-right{display:flex;align-items:center;gap:6px}.gallery-toolbar-btn{padding:4px 8px;border:1px solid var(--theme-border-color,#e0e0e0);border-radius:4px;background:var(--theme-bg-primary,white);color:var(--theme-text-primary,#333);font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:60px}.gallery-toolbar-btn:hover:not(:disabled){background:var(--theme-bg-hover,#f0f0f0);border-color:var(--theme-accent-color,#667eea)}.gallery-toolbar-btn:disabled{opacity:.6;cursor:not-allowed}.gallery-batch-btn{background:var(--theme-accent-color,#667eea);color:white;border-color:var(--theme-accent-color,#667eea)}.gallery-batch-btn:hover:not(:disabled){background:var(--theme-accent-hover,#5a6fd8);border-color:var(--theme-accent-hover,#5a6fd8)}.gallery-select-all-btn{background:var(--theme-bg-primary,white);color:var(--theme-text-primary,#333)}.gallery-cancel-btn{background:var(--theme-bg-tertiary,#f5f5f5);color:var(--theme-text-secondary,#666)}.gallery-delete-btn{background:#ff4757;color:white;border-color:#ff4757}.gallery-delete-btn:hover:not(:disabled){background:#ff3742;border-color:#ff3742}.gallery-selection-count{font-size:12px;color:var(--theme-text-secondary,#666);font-weight:500}.gallery-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:var(--theme-text-secondary,#999)}.gallery-spinner{width:40px;height:40px;border:3px solid var(--theme-border-color,#e0e0e0);border-top-color:var(--theme-accent-color,#667eea);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.gallery-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.gallery-empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.gallery-empty p{margin:0 0 8px;color:var(--theme-text-primary,#333);font-size:16px;font-weight:500}.gallery-empty-hint{font-size:14px;color:var(--theme-text-secondary,#999)!important}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}.gallery-item{position:relative;border-radius:8px;overflow:hidden;background:var(--theme-bg-secondary,#f8f9fa);border:1px solid var(--theme-border-color,#e0e0e0);cursor:pointer;transition:all .2s}.gallery-item:hover{border-color:var(--theme-accent-color,#667eea);transform:translateY(-4px);box-shadow:var(--theme-shadow-medium,0 4px 12px rgba(0,0,0,.15))}.gallery-item.batch-mode{cursor:pointer;transition:all .2s ease}.gallery-item.batch-mode:hover{transform:scale(1.02);box-shadow:var(--theme-shadow-light,0 2px 8px rgba(0,0,0,.1))}.gallery-item.selected{border-color:var(--theme-accent-color,#667eea);background:var(--theme-accent-bg,rgba(102,126,234,.1));transform:scale(1.02);box-shadow:var(--theme-shadow-medium,0 4px 12px rgba(102,126,234,.2))}.gallery-item-checkbox{position:absolute;top:8px;left:8px;z-index:10;background:rgba(255,255,255,.9);border-radius:4px;padding:4px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.gallery-item-checkbox input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer;accent-color:var(--theme-accent-color,#667eea)}.gallery-item-image{position:relative;width:100%;aspect-ratio:1/1;background:transparent;overflow:hidden;display:flex;align-items:center;justify-content:center}.gallery-item-image img{max-width:100%;max-height:100%;object-fit:contain}.gallery-item-info{padding:6px 8px;background:var(--theme-bg-primary,white)}.gallery-item-description{font-size:11px;font-weight:500;color:var(--theme-text-primary,#333);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}.gallery-item.fakepic-show-actions{transform:scale(1.02);box-shadow:0 4px 20px rgba(0,0,0,.15);z-index:10}.fakepic-gallery-actions{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:20px;opacity:0;visibility:hidden;transition:all .3s ease;backdrop-filter:blur(2px)}.gallery-item.fakepic-show-actions .fakepic-gallery-actions{opacity:1;visibility:visible}.fakepic-gallery-action-btn{width:48px;height:48px;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.3)}.fakepic-gallery-action-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.2) 50%,transparent 70%);transform:translateX(-100%);transition:transform .6s ease}.fakepic-gallery-action-btn:hover:before{transform:translateX(100%)}.fakepic-edit-btn{background:var(--theme-accent-color,#667eea);color:white}.fakepic-edit-btn:hover{background:var(--theme-accent-hover,#5a6fd8);transform:scale(1.1);box-shadow:0 4px 12px rgba(102,126,234,.4)}.fakepic-delete-btn{background:#ff4757;color:white}.fakepic-delete-btn:hover{background:#ff3742;transform:scale(1.1);box-shadow:0 4px 12px rgba(255,71,87,.4)}.fakepic-action-icon{font-size:20px;line-height:1;display:block;z-index:1;position:relative}.fakepic-edit-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fakepic-fadeIn .2s ease}@keyframes fakepic-fadeIn{0%{opacity:0}to{opacity:1}}.fakepic-edit-modal{background:var(--theme-bg-primary,white);border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.3);max-width:500px;width:90%;max-height:80vh;overflow:hidden;animation:fakepic-slideIn .3s ease}@keyframes fakepic-slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.fakepic-edit-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e0e0e0);background:var(--theme-bg-secondary,#fafafa)}.fakepic-edit-close-btn{width:32px;height:32px;border:none;border-radius:50%;background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.fakepic-edit-close-btn:hover{background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333)}.fakepic-edit-header h3{margin:0;color:var(--theme-text-primary,#333);font-size:18px;font-weight:600}.fakepic-edit-content{padding:24px}.fakepic-edit-description-section,.fakepic-edit-url-section{margin-bottom:20px}.fakepic-edit-description-section label,.fakepic-edit-url-section label{display:block;margin-bottom:8px;color:var(--theme-text-primary,#333);font-weight:500;font-size:14px}.fakepic-edit-description-input,.fakepic-edit-url-input{width:100%;padding:12px;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:8px;font-size:15px;font-family:inherit;transition:all .2s;background:var(--theme-bg-secondary,#fafafa);color:var(--theme-text-primary,#333);resize:vertical}.fakepic-edit-description-input:focus,.fakepic-edit-url-input:focus{outline:none;border-color:var(--theme-accent-color,#667eea);background:var(--theme-bg-primary,white)}.fakepic-edit-description-input:disabled,.fakepic-edit-url-input:disabled{background:var(--theme-bg-tertiary,#f5f5f5);cursor:not-allowed}.fakepic-edit-description-length{text-align:right;font-size:12px;color:var(--theme-text-secondary,#999);margin-top:4px}.fakepic-edit-error-message{background:#ffebee;color:#c62828;padding:12px;border-radius:8px;font-size:14px;margin-bottom:20px;border-left:4px solid #f44336}.fakepic-edit-actions{display:flex;gap:12px;justify-content:flex-end}.fakepic-edit-cancel-btn,.fakepic-edit-save-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:80px}.fakepic-edit-cancel-btn{background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666)}.fakepic-edit-cancel-btn:hover:not(:disabled){background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333)}.fakepic-edit-save-btn{background:var(--theme-accent-color,#667eea);color:white}.fakepic-edit-save-btn:hover:not(:disabled){background:var(--theme-accent-hover,#5a6fd8)}.fakepic-edit-cancel-btn:disabled,.fakepic-edit-save-btn:disabled{opacity:.6;cursor:not-allowed}.batch-edit-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:10001;animation:fadeIn .2s ease;backdrop-filter:blur(4px)}.batch-edit-modal{background:var(--theme-bg-primary,white);border-radius:16px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:var(--theme-shadow-heavy,0 8px 32px rgba(0,0,0,.3));animation:slideUp .3s ease;position:relative}.batch-edit-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e0e0e0);background:var(--theme-bg-secondary,#fafafa);border-radius:16px 16px 0 0}.batch-edit-header h3{margin:0;color:var(--theme-text-primary,#333);font-size:18px;font-weight:600}.batch-edit-progress{font-size:14px;color:var(--theme-text-secondary,#666);font-weight:500}.batch-edit-close-btn{width:32px;height:32px;border:none;border-radius:50%;background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.batch-edit-close-btn:hover:not(:disabled){background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333)}.batch-edit-close-btn:disabled{opacity:.6;cursor:not-allowed}.batch-edit-preview{padding:24px;text-align:center;background:var(--theme-bg-primary,white)}.batch-edit-image-container{display:inline-block;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:12px;padding:16px;background:var(--theme-bg-secondary,#fafafa)}.batch-edit-description{padding:0 24px 24px;background:var(--theme-bg-primary,white)}.batch-edit-description label{display:block;margin-bottom:8px;color:var(--theme-text-primary,#333);font-weight:500;font-size:14px}.batch-edit-description-input{width:100%;padding:12px;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:8px;font-size:15px;resize:none;font-family:inherit;transition:all .2s;background:var(--theme-bg-secondary,#fafafa);color:var(--theme-text-primary,#333)}.batch-edit-description-input:focus{outline:none;border-color:var(--theme-accent-color,#667eea);background:var(--theme-bg-primary,white)}.batch-edit-description-input:disabled{background:var(--theme-bg-tertiary,#f5f5f5);cursor:not-allowed}.batch-edit-description-length{text-align:right;font-size:12px;color:var(--theme-text-secondary,#999);margin-top:4px}.batch-edit-error-message{color:var(--theme-error-color,#f44336);font-size:13px;margin:0 24px 16px;padding:8px;background:var(--theme-error-bg,#ffebee);border-radius:4px}.batch-edit-actions{display:flex;gap:12px;padding:0 24px 24px;justify-content:flex-end}.batch-edit-cancel-btn,.batch-edit-next-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:100px}.batch-edit-cancel-btn{background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666)}.batch-edit-cancel-btn:hover:not(:disabled){background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333)}.batch-edit-next-btn{background:var(--theme-accent-color,#667eea);color:white}.batch-edit-next-btn:hover:not(:disabled){background:var(--theme-accent-hover,#5a6fd8)}.batch-edit-cancel-btn:disabled,.batch-edit-next-btn:disabled{opacity:.6;cursor:not-allowed}.theme-plum-night .gallery-toolbar{background:#3d3d3d;border-color:#4d4d4d}.theme-plum-night .gallery-toolbar-btn{background:#2d2d2d;border-color:#4d4d4d;color:#fff}.theme-plum-night .gallery-toolbar-btn:hover:not(:disabled){background:#4d4d4d;border-color:#667eea}.theme-plum-night .gallery-select-all-btn{background:#2d2d2d;color:#fff}.theme-plum-night .gallery-cancel-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .gallery-selection-count{color:#ccc}.theme-plum-night .gallery-item.selected{background:rgba(102,126,234,.2);border-color:#667eea}.theme-plum-night .gallery-item-checkbox{background:rgba(45,45,45,.9)}.theme-plum-night .gallery-ai-tip-text{color:var(--theme-text-secondary,#999)}.theme-plum-night .image-upload-section label{color:#fff}.theme-plum-night .batch-edit-modal{background:#2d2d2d}.theme-plum-night .batch-edit-header{background:#3d3d3d;border-color:#4d4d4d}.theme-plum-night .batch-edit-header h3{color:#fff}.theme-plum-night .batch-edit-progress{color:#ccc}.theme-plum-night .batch-edit-close-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .batch-edit-close-btn:hover:not(:disabled){background:#5d5d5d;color:#fff}.theme-plum-night .batch-edit-preview{background:#2d2d2d}.theme-plum-night .batch-edit-image-container{background:#3d3d3d;border-color:#4d4d4d}.theme-plum-night .batch-edit-description{background:#2d2d2d}.theme-plum-night .batch-edit-description label{color:#fff}.theme-plum-night .batch-edit-description-input{background:#3d3d3d;border-color:#4d4d4d;color:#fff}.theme-plum-night .batch-edit-description-input:focus{background:#2d2d2d;border-color:#667eea}.theme-plum-night .batch-edit-description-input:disabled{background:#4d4d4d}.theme-plum-night .batch-edit-description-length{color:#999}.theme-plum-night .batch-edit-cancel-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .batch-edit-cancel-btn:hover:not(:disabled){background:#5d5d5d;color:#fff}.theme-plum-night .upload-btn{background:#3d3d3d;border-color:#4d4d4d;color:#ccc}.theme-plum-night .upload-btn:hover:not(:disabled){border-color:#667eea;background:#4d4d4d;color:#667eea}.theme-plum-night .upload-spinner{border-color:#667eea #4d4d4d #4d4d4d}.theme-plum-night .url-disabled-hint{background:#4d4d4d;color:#999}.theme-plum-night .fakepic-edit-modal{background:#2d2d2d;border:1px solid #4d4d4d}.theme-plum-night .fakepic-edit-header{background:#3d3d3d;border-bottom-color:#4d4d4d}.theme-plum-night .fakepic-edit-header h3{color:#fff}.theme-plum-night .fakepic-edit-close-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .fakepic-edit-close-btn:hover{background:#5d5d5d;color:#fff}.theme-plum-night .fakepic-edit-description-section label,.theme-plum-night .fakepic-edit-url-section label{color:#fff}.theme-plum-night .fakepic-edit-description-input,.theme-plum-night .fakepic-edit-url-input{background:#3d3d3d;border-color:#4d4d4d;color:#fff}.theme-plum-night .fakepic-edit-description-input:focus,.theme-plum-night .fakepic-edit-url-input:focus{background:#2d2d2d;border-color:#667eea}.theme-plum-night .fakepic-edit-description-length{color:#999}.theme-plum-night .fakepic-edit-cancel-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .fakepic-edit-cancel-btn:hover:not(:disabled){background:#5d5d5d;color:#fff}.theme-plum-night .fakepic-gallery-actions{background:rgba(0,0,0,.85);backdrop-filter:blur(4px)}.theme-plum-night .gallery-item.fakepic-show-actions{box-shadow:0 4px 20px rgba(0,0,0,.4)}.theme-plum-night .fakepic-gallery-action-btn{box-shadow:0 2px 8px rgba(0,0,0,.5)}.theme-plum-night .fakepic-edit-btn:hover{box-shadow:0 4px 12px rgba(102,126,234,.6)}.theme-plum-night .fakepic-delete-btn:hover{box-shadow:0 4px 12px rgba(255,71,87,.6)}@media (max-width:768px){.gallery-ai-tip{padding:0 16px 6px}.gallery-ai-tip-text{font-size:10px}.gallery-toolbar{padding:6px 10px;margin-bottom:10px}.gallery-toolbar-left{gap:6px}.gallery-toolbar-right{gap:4px}.gallery-toolbar-btn{padding:3px 6px;font-size:11px;min-width:50px}.gallery-selection-count{font-size:11px}.gallery-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:pan-y}.gallery-item:active{transform:scale(.98)}.gallery-item.fakepic-long-pressing{transform:scale(.95);opacity:.8}.fakepic-gallery-actions{background:rgba(0,0,0,.8);gap:16px}.fakepic-gallery-action-btn{width:44px;height:44px}.fakepic-action-icon{font-size:18px}}@media (max-width:480px){.send-fake-pic-modal{width:95%;max-width:none}.gallery-toolbar{padding:4px 8px;margin-bottom:8px}.gallery-toolbar-left{gap:4px}.gallery-toolbar-right{gap:3px}.gallery-toolbar-btn{padding:2px 4px;font-size:10px;min-width:40px}.gallery-selection-count{font-size:10px}.gallery-ai-tip{padding:0 12px 5px}.gallery-ai-tip-text{font-size:9px}.fakepic-edit-modal{width:95%;max-width:none}.fakepic-edit-content{padding:20px}.fakepic-edit-actions{flex-direction:column}.fakepic-edit-cancel-btn,.fakepic-edit-save-btn{width:100%}.fakepic-gallery-actions{gap:12px}.fakepic-gallery-action-btn{width:40px;height:40px}.fakepic-action-icon{font-size:16px}}.fakepic-url-batch-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:10002;animation:fakepic-fadeIn .2s ease;backdrop-filter:blur(4px)}.fakepic-url-batch-modal{background:var(--theme-bg-primary,white);border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow:hidden;box-shadow:var(--theme-shadow-heavy,0 8px 32px rgba(0,0,0,.3));animation:slideUp .3s ease;display:flex;flex-direction:column}.fakepic-url-batch-header{display:flex;align-items:center;justify-content:center;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e0e0e0);background:var(--theme-bg-secondary,#fafafa);position:relative}.fakepic-url-batch-header h3{margin:0;color:var(--theme-text-primary,#333);font-size:18px;font-weight:600}.fakepic-url-batch-close-btn{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;border-radius:50%;background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.fakepic-url-batch-close-btn:hover:not(:disabled){background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333);transform:translateY(-50%) rotate(90deg)}.fakepic-url-batch-close-btn:disabled{opacity:.6;cursor:not-allowed}.fakepic-url-batch-content{padding:24px;display:flex;flex-direction:column;gap:16px;overflow-y:auto}.fakepic-url-batch-instructions{background:var(--theme-bg-secondary,#f8f9fa);border-left:4px solid var(--theme-accent-color,#667eea);padding:16px;border-radius:8px}.fakepic-url-batch-instructions p{margin:0 0 12px;color:var(--theme-text-primary,#333);font-size:14px;font-weight:500}.fakepic-url-batch-instructions p:last-child{margin-bottom:0}.fakepic-url-batch-example{background:var(--theme-bg-primary,white);border-radius:6px;padding:16px;margin:12px 0;display:flex;flex-direction:column;gap:12px;border:1px solid var(--theme-border-color,#e0e0e0)}.fakepic-format-explanation{display:flex;align-items:center;gap:4px;font-family:Courier New,monospace;font-size:13px;padding:10px;background:var(--theme-bg-secondary,#f8f9fa);border-radius:6px;flex-wrap:wrap}.format-part{padding:4px 8px;border-radius:4px;font-weight:500}.format-description{background:#e3f2fd;color:#1976d2;border:1px solid #90caf9}.format-separator{font-size:16px;font-weight:700;color:var(--theme-accent-color,#667eea);margin:0 4px}.format-url{background:#f3e5f5;color:#7b1fa2;border:1px solid #ce93d8;word-break:break-all;flex:1;min-width:200px}.fakepic-url-batch-example code{display:block;font-family:Courier New,monospace;font-size:13px;color:var(--theme-accent-color,#667eea);word-break:break-all;background:var(--theme-bg-secondary,#f8f9fa);padding:8px;border-radius:4px}.fakepic-url-batch-note{color:var(--theme-text-secondary,#666);font-size:13px;font-weight:400}.fakepic-url-batch-textarea{width:100%;min-height:240px;padding:12px;border:2px solid var(--theme-border-color,#e0e0e0);border-radius:8px;font-family:Courier New,monospace;font-size:14px;color:var(--theme-text-primary,#333);background:var(--theme-bg-primary,white);resize:vertical;transition:border-color .3s ease}.fakepic-url-batch-textarea:focus{outline:none;border-color:var(--theme-accent-color,#667eea);box-shadow:0 0 0 3px rgba(102,126,234,.1)}.fakepic-url-batch-textarea:disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f8f9fa)}.fakepic-url-batch-error{padding:12px;background:rgba(255,71,87,.1);border-left:4px solid #ff4757;border-radius:8px;color:#ff4757;font-size:14px;font-weight:500}.fakepic-url-batch-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}.fakepic-url-batch-cancel-btn,.fakepic-url-batch-upload-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.fakepic-url-batch-cancel-btn{background:var(--theme-bg-secondary,#f5f5f5);color:var(--theme-text-secondary,#666)}.fakepic-url-batch-cancel-btn:hover:not(:disabled){background:var(--theme-border-color,#e0e0e0);color:var(--theme-text-primary,#333)}.fakepic-url-batch-upload-btn{background:var(--theme-accent-color,#667eea);color:white}.fakepic-url-batch-upload-btn:hover:not(:disabled){background:var(--theme-accent-hover,#5a6fd8);transform:translateY(-2px);box-shadow:0 4px 12px rgba(102,126,234,.3)}.fakepic-url-batch-cancel-btn:disabled,.fakepic-url-batch-upload-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width:640px){.fakepic-url-batch-modal{width:95%;max-height:95vh}.fakepic-url-batch-content{padding:16px}.fakepic-url-batch-textarea{min-height:200px;font-size:13px}.fakepic-url-batch-example code,.upload-btn{font-size:12px}.upload-btn{min-width:100px}.fakepic-format-explanation{font-size:11px;padding:8px}.format-part{padding:3px 6px;font-size:11px}}.theme-plum-night .fakepic-url-batch-modal{background:#2d2d2d;border:1px solid #4d4d4d}.theme-plum-night .fakepic-url-batch-header{background:#3d3d3d;border-bottom-color:#4d4d4d}.theme-plum-night .fakepic-url-batch-header h3{color:#fff}.theme-plum-night .fakepic-url-batch-close-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .fakepic-url-batch-close-btn:hover:not(:disabled){background:#5d5d5d;color:#fff}.theme-plum-night .fakepic-url-batch-instructions{background:#3d3d3d;border-left-color:var(--theme-accent-color,#667eea)}.theme-plum-night .fakepic-url-batch-instructions p{color:#fff}.theme-plum-night .fakepic-url-batch-example{background:#2d2d2d;border-color:#4d4d4d}.theme-plum-night .fakepic-format-explanation{background:#3d3d3d}.theme-plum-night .format-description{background:#1a3a52;color:#64b5f6;border-color:#1976d2}.theme-plum-night .format-url{background:#3d2942;color:#ce93d8;border-color:#7b1fa2}.theme-plum-night .fakepic-url-batch-textarea{background:#3d3d3d;border-color:#4d4d4d;color:#fff}.theme-plum-night .fakepic-url-batch-textarea:focus{background:#2d2d2d;border-color:#667eea}.theme-plum-night .fakepic-url-batch-note{color:#999}.theme-plum-night .fakepic-url-batch-cancel-btn{background:#4d4d4d;color:#ccc}.theme-plum-night .fakepic-url-batch-cancel-btn:hover:not(:disabled){background:#5d5d5d;color:#fff}.send-fake-pic-shell{--fakepic-tone:#6f5d8e;display:flex;min-width:0;flex-direction:column;gap:.85rem}.send-fake-pic-shell .gallery-ai-tip{margin:0;padding:.72rem .8rem;border:0;border-radius:.82rem;color:var(--chat-muted,var(--theme-text-secondary,#7c6a72));background:color-mix(in srgb,var(--fakepic-tone) 8%,var(--chat-surface,var(--theme-bg-secondary,#fff)));font-size:.72rem;line-height:1.5}.send-fake-pic-shell .fake-pic-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.32rem;margin:0;padding:.3rem;border:0;border-radius:.85rem;background:var(--chat-soft,var(--theme-bg-tertiary,#eee2e5))}.send-fake-pic-shell .fake-pic-tab{min-height:2.75rem;padding:.55rem .75rem;border:0;border-radius:.62rem;color:var(--chat-muted,var(--theme-text-secondary,#7c6a72));background:transparent;font-size:.76rem;font-weight:620}.send-fake-pic-shell .fake-pic-tab.active{color:var(--chat-text,var(--theme-text-primary,#2e2228));background:var(--chat-surface,var(--theme-bg-secondary,#fff));box-shadow:0 .25rem .75rem color-mix(in srgb,var(--chat-text,#2e2228) 8%,transparent)}.batch-edit-modal button:focus-visible,.fakepic-edit-modal button:focus-visible,.fakepic-url-batch-modal button:focus-visible,.send-fake-pic-shell .fake-pic-tab:focus-visible,.send-fake-pic-shell button:focus-visible{outline:3px solid color-mix(in srgb,var(--fakepic-tone,var(--chat-accent,#a93b5b)) 22%,transparent);outline-offset:2px}.send-fake-pic-shell .fake-pic-edit-pane,.send-fake-pic-shell .gallery-content{display:flex;min-height:0;flex-direction:column;gap:.85rem;overflow:visible;padding:0;background:transparent}.send-fake-pic-shell .gallery-content{overscroll-behavior-y:auto;touch-action:pan-y}.send-fake-pic-shell :is(.description-input-section,.image-upload-section,.url-input-section){display:flex;flex-direction:column;gap:.42rem;margin:0;padding:0;border:0;background:transparent}.batch-edit-modal label,.fakepic-edit-modal label,.send-fake-pic-shell :is(.description-input-section,.image-upload-section,.url-input-section)>label{color:var(--chat-text,var(--theme-text-primary,#2e2228));font-size:.76rem;font-weight:620}.batch-edit-modal .batch-edit-description-input,.fakepic-edit-modal :is(.fakepic-edit-description-input,.fakepic-edit-url-input),.fakepic-url-batch-modal .fakepic-url-batch-textarea,.send-fake-pic-shell :is(.description-input,.url-input){width:100%;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--chat-muted,#7c6a72) 18%,transparent);border-radius:.8rem;outline:none;color:var(--chat-text,var(--theme-text-primary,#2e2228));background:var(--chat-soft,var(--theme-bg-tertiary,#eee2e5));font:inherit;font-size:.82rem;line-height:1.5}.batch-edit-modal .batch-edit-description-input,.fakepic-edit-modal .fakepic-edit-description-input,.fakepic-url-batch-modal .fakepic-url-batch-textarea,.send-fake-pic-shell .description-input{min-height:6.25rem;padding:.72rem .78rem;resize:vertical}.fakepic-edit-modal .fakepic-edit-url-input,.send-fake-pic-shell .url-input{min-height:3rem;padding:.68rem .78rem}.batch-edit-modal .batch-edit-description-input:focus,.fakepic-edit-modal :is(.fakepic-edit-description-input,.fakepic-edit-url-input):focus,.fakepic-url-batch-modal .fakepic-url-batch-textarea:focus,.send-fake-pic-shell :is(.description-input,.url-input):focus{border-color:color-mix(in srgb,var(--fakepic-tone) 50%,transparent);background:var(--chat-surface,var(--theme-bg-secondary,#fff));box-shadow:0 0 0 3px color-mix(in srgb,var(--fakepic-tone) 12%,transparent)}.batch-edit-description-length,.fakepic-edit-description-length,.send-fake-pic-shell :is(.description-length,.url-disabled-hint){color:var(--chat-muted,var(--theme-text-secondary,#7c6a72));font-size:.66rem;font-variant-numeric:tabular-nums;text-align:right}.send-fake-pic-shell .image-upload-area{margin:0;padding:0;border:0;background:transparent}.send-fake-pic-shell .upload-buttons-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.send-fake-pic-shell .upload-btn{min-height:4.75rem;padding:.62rem .45rem;border:0;border-radius:.78rem;color:var(--chat-muted,var(--theme-text-secondary,#7c6a72));background:var(--chat-soft,var(--theme-bg-tertiary,#eee2e5));font-size:.69rem;font-weight:620}.send-fake-pic-shell .upload-btn:hover:not(:disabled){color:var(--fakepic-tone);background:color-mix(in srgb,var(--fakepic-tone) 11%,var(--chat-surface,#fff));transform:none}.send-fake-pic-shell .upload-icon{font-size:1.15rem}.send-fake-pic-shell .uploaded-image-preview{width:100%;min-height:9rem;border:0;border-radius:.85rem;background:var(--chat-soft,#eee2e5)}.send-fake-pic-shell .uploaded-image-preview img{max-width:100%;max-height:13rem;object-fit:contain}.send-fake-pic-shell .clear-upload-btn{width:2.75rem;height:2.75rem;border:0;border-radius:.78rem;color:var(--chat-text,#2e2228);background:var(--chat-surface,#fff)}.send-fake-pic-shell .action-buttons-section{margin:0;padding:0;border:0}.send-fake-pic-shell .save-button{width:100%;min-height:2.85rem;border:0;border-radius:.78rem;color:var(--theme-message-user-text,#fff);background:var(--fakepic-tone);font-size:.78rem;font-weight:650}.send-fake-pic-shell :is(.error-message,.batch-edit-error-message,.fakepic-edit-error-message,.fakepic-url-batch-error){padding:.68rem .75rem;border:0;border-radius:.72rem;color:#8f303c;background:color-mix(in srgb,#a83d4b 10%,var(--chat-surface,#fff));font-size:.74rem}.send-fake-pic-shell .gallery-toolbar{min-height:2.75rem;margin:0;padding:.3rem;border:0;border-radius:.78rem;background:var(--chat-soft,#eee2e5)}.send-fake-pic-shell .gallery-toolbar-btn{min-height:2.2rem;padding:.45rem .62rem;border:0;border-radius:.58rem;color:var(--chat-muted,#7c6a72);background:var(--chat-surface,#fff);font-size:.68rem}.send-fake-pic-shell .gallery-delete-btn{color:#8f303c}.send-fake-pic-shell .gallery-selection-count{color:var(--chat-muted,#7c6a72);font-variant-numeric:tabular-nums;font-size:.68rem}.send-fake-pic-shell .gallery-empty,.send-fake-pic-shell .gallery-loading{min-height:11rem;padding:2rem 1rem;border:0;border-radius:.9rem;color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5)}.send-fake-pic-shell :is(.gallery-spinner,.upload-spinner){animation:none;border-color:color-mix(in srgb,var(--fakepic-tone) 22%,transparent);border-top-color:var(--fakepic-tone);border-right-color:var(--fakepic-tone);transform:rotate(-25deg)}.send-fake-pic-shell .gallery-empty-icon{font-size:1.5rem;filter:grayscale(.5)}.send-fake-pic-shell .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem;padding:0}.send-fake-pic-shell .gallery-item{min-width:0;padding:.34rem;border:0;border-radius:.82rem;color:var(--chat-text,#2e2228);background:var(--chat-soft,#eee2e5);box-shadow:none}.send-fake-pic-shell .gallery-item.selected{box-shadow:inset 0 0 0 2px var(--fakepic-tone)}.send-fake-pic-shell .gallery-item-image{width:100%;aspect-ratio:1;border-radius:.62rem;background:var(--chat-surface,#fff)}.send-fake-pic-shell .gallery-item-info{padding:.42rem .25rem .18rem}.send-fake-pic-shell .gallery-item-description{color:var(--chat-text,#2e2228);font-size:.68rem;line-height:1.35;overflow-wrap:anywhere}.send-fake-pic-shell .fakepic-gallery-actions{inset:.42rem .42rem auto auto;gap:.26rem}.send-fake-pic-shell .fakepic-gallery-action-btn{width:2.35rem;height:2.35rem;border:0;border-radius:.68rem;color:var(--chat-muted,#7c6a72);background:var(--chat-surface,#fff);box-shadow:0 .25rem .8rem color-mix(in srgb,var(--chat-text,#2e2228) 10%,transparent)}.batch-edit-overlay,.fakepic-edit-overlay,.fakepic-url-batch-overlay{--fakepic-tone:#6f5d8e;position:fixed;inset:0;z-index:10070;display:flex;align-items:flex-end;justify-content:center;padding:0;background:color-mix(in srgb,var(--chat-text,#2e2228) 28%,transparent)}.batch-edit-modal,.fakepic-edit-modal,.fakepic-url-batch-modal{display:flex;width:100%;max-height:86dvh;flex-direction:column;overflow:hidden;border:0;border-radius:1.2rem 1.2rem 0 0;color:var(--chat-text,#2e2228);background:var(--chat-surface,var(--theme-bg-secondary,#fff));box-shadow:0 -1rem 3rem color-mix(in srgb,var(--chat-text,#2e2228) 16%,transparent);animation:none}:is(.batch-edit-header,.fakepic-edit-header,.fakepic-url-batch-header){min-height:3.6rem;padding:.65rem 1rem;border-bottom:1px solid color-mix(in srgb,var(--chat-muted,#7c6a72) 14%,transparent);color:var(--chat-text,#2e2228);background:var(--chat-surface,#fff)}:is(.batch-edit-close-btn,.fakepic-edit-close-btn,.fakepic-url-batch-close-btn){width:2.75rem;height:2.75rem;border:0;border-radius:.78rem;color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5)}:is(.fakepic-edit-content,.fakepic-url-batch-content){min-height:0;overflow-y:auto;padding:.9rem 1rem max(1rem,env(safe-area-inset-bottom))}:is(.fakepic-edit-actions,.fakepic-url-batch-actions,.batch-edit-actions){display:grid;grid-template-columns:minmax(5rem,.55fr) minmax(8rem,1fr);gap:.55rem}:is(.fakepic-edit-cancel-btn,.fakepic-url-batch-cancel-btn,.batch-edit-cancel-btn),:is(.fakepic-edit-save-btn,.fakepic-url-batch-upload-btn,.batch-edit-next-btn){min-height:2.85rem;border:0;border-radius:.78rem;font-size:.76rem;font-weight:650}:is(.fakepic-edit-cancel-btn,.fakepic-url-batch-cancel-btn,.batch-edit-cancel-btn){color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5)}:is(.fakepic-edit-save-btn,.fakepic-url-batch-upload-btn,.batch-edit-next-btn){color:var(--theme-message-user-text,#fff);background:var(--fakepic-tone)}.fakepic-url-batch-instructions{border:0;border-radius:.78rem;color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5)}.fakepic-format-explanation,.fakepic-url-batch-example{border:0;background:var(--chat-surface,#fff)}@media (min-width:680px){.batch-edit-overlay,.fakepic-edit-overlay,.fakepic-url-batch-overlay{align-items:center;padding:1.5rem}.batch-edit-modal,.fakepic-edit-modal,.fakepic-url-batch-modal{width:min(34rem,100%);border-radius:1.2rem}}@media (max-width:420px){.send-fake-pic-shell .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.send-fake-pic-shell .upload-buttons-container{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.batch-edit-modal,.fakepic-edit-modal,.fakepic-url-batch-modal,.send-fake-pic-shell *{animation:none;transition:none}}.ChatImage_figure__BguTD{position:relative;display:block;line-height:0}.ChatImage_image__81Pcv{display:block;transition:transform .25s ease}.ChatImage_natural__Ku7rm .ChatImage_image__81Pcv{width:auto;height:auto;max-width:var(--chat-image-max-width,min(11rem,calc(100vw - 5.35rem)));max-height:var(--chat-image-max-height,13rem);border-radius:.55rem}.ChatImage_natural__Ku7rm[data-state=pending][data-ratio=true]{width:min(var(--chat-image-max-width,min(11rem,calc(100vw - 5.35rem))),calc(var(--chat-image-max-height, 13rem) * var(--chat-image-ratio)));aspect-ratio:var(--chat-image-ratio);border-radius:.55rem;background:var(--chat-soft,#eee2e5)}.ChatImage_natural__Ku7rm[data-state=failed],.ChatImage_natural__Ku7rm[data-state=pending][data-ratio=false]{min-width:7rem;min-height:5rem;border-radius:.55rem;background:var(--chat-soft,#eee2e5)}.ChatImage_natural__Ku7rm[data-state=pending] .ChatImage_image__81Pcv{position:absolute;inset:0;opacity:0}.ChatImage_cover__TuPgw{position:absolute;inset:0}.ChatImage_cover__TuPgw .ChatImage_image__81Pcv{width:100%;height:100%;object-fit:cover}.ChatImage_interactive__UMj9i:hover .ChatImage_image__81Pcv{transform:scale(1.015)}.ChatImage_state__sTpTy{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.42rem;padding:.75rem;color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5);font-size:.7rem;text-align:center}.ChatImage_state__sTpTy svg{width:1.3rem;height:1.3rem}.ChatImage_stateError__tAJmJ{color:#8f303c}@media (prefers-reduced-motion:reduce){.ChatImage_image__81Pcv{transition:none}}.FakePicMessage_root__vCRTE{width:min(11rem,calc(100vw - 5.35rem));max-width:100%}.FakePicMessage_media__nBtTD{display:block;width:100%;overflow:hidden;padding:0;border:0;border-radius:.55rem;background:var(--chat-soft,#eee2e5);cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent}.FakePicMessage_media__nBtTD:disabled{cursor:default}.FakePicMessage_media__nBtTD:focus-visible{outline:3px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 24%,transparent);outline-offset:3px}.FakePicMessage_media__nBtTD:active:not(:disabled){transform:scale(.99)}.FakePicMessage_rootImage__6gSgw{--chat-image-max-width:min(11rem,calc(100vw - 5.35rem));width:fit-content;max-width:var(--chat-image-max-width)}.FakePicMessage_rootImage__6gSgw .FakePicMessage_media__nBtTD{width:auto;background:transparent}.FakePicMessage_label__twito{position:absolute;right:.55rem;bottom:.55rem;padding:.24rem .4rem;border-radius:.42rem;color:#fff;background:rgba(42,31,36,.66);font-size:.64rem;font-weight:650;letter-spacing:.04em}.FakePicMessage_placeholder__S9ZRR{position:relative;isolation:isolate;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;color:#fff;background:radial-gradient(circle at 18% 17%,rgba(255,255,255,.72),transparent 23%),linear-gradient(145deg,#e8c9b9,#c7b7ce 47%,#718092)}.FakePicMessage_placeholder__S9ZRR:before{content:"";position:absolute;inset:0;z-index:5;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");mix-blend-mode:soft-light;pointer-events:none}.FakePicMessage_placeholder__S9ZRR:after{content:"";position:absolute;inset:0;z-index:4;background:linear-gradient(180deg,transparent 44%,rgba(31,36,48,.5));pointer-events:none}.FakePicMessage_placeholderGlow__IL_3J{position:absolute;top:-22%;left:-18%;width:72%;aspect-ratio:1;border-radius:50%;background:rgba(255,239,214,.55);filter:blur(1.2rem)}.FakePicMessage_placeholderSun__FO_tN{position:absolute;top:16%;right:17%;width:19%;aspect-ratio:1;border-radius:50%;background:rgba(255,239,208,.82);box-shadow:0 0 1.5rem rgba(255,228,192,.42)}.FakePicMessage_placeholderHillBack__xWxnX,.FakePicMessage_placeholderHillFront__fjK_9{position:absolute;left:-12%;width:125%;border-radius:50% 50% 0 0;transform:rotate(-7deg)}.FakePicMessage_placeholderHillBack__xWxnX{bottom:10%;height:48%;background:rgba(102,112,130,.54)}.FakePicMessage_placeholderHillFront__fjK_9{right:-22%;bottom:-26%;left:auto;height:62%;background:rgba(50,62,78,.74);transform:rotate(9deg)}.FakePicMessage_placeholderCaption__UvmbB{position:absolute;right:.78rem;bottom:.72rem;left:.78rem;z-index:6;display:flex;align-items:flex-end;justify-content:flex-end;gap:.65rem;text-shadow:0 1px .5rem rgba(23,28,38,.32)}.FakePicMessage_placeholderCaption__UvmbB small{flex:0 0 auto;color:rgba(255,255,255,.78);font-size:.6rem;font-weight:540}.FakePicMessage_media__nBtTD:hover:not(:disabled) .FakePicMessage_placeholder__S9ZRR{filter:saturate(1.04) brightness(1.02)}.FakePicMessage_detail__UUXxq{margin-top:.35rem;padding:.65rem .75rem .7rem;border:1px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 10%,transparent);border-radius:.75rem;color:var(--chat-text,#2e2228);background:color-mix(in srgb,var(--chat-surface,#fff) 94%,transparent)}.FakePicMessage_detail__UUXxq>span{display:block;margin-bottom:.25rem;color:var(--chat-muted,#7c6a72);font-size:.65rem;font-weight:650;letter-spacing:.06em}.FakePicMessage_detail__UUXxq p{margin:0;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}@media (max-width:380px){.FakePicMessage_root__vCRTE{width:min(11rem,calc(100vw - 4.85rem))}.FakePicMessage_rootImage__6gSgw{--chat-image-max-width:min(11rem,calc(100vw - 4.85rem));width:fit-content}}@media (prefers-reduced-motion:reduce){.FakePicMessage_media__nBtTD:active:not(:disabled){transform:none}}.emoji-gallery-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease;backdrop-filter:blur(4px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.emoji-gallery-modal{background:var(--theme-bg-primary,#fff);border-radius:16px;width:90%;max-width:720px;max-height:85vh;display:flex;flex-direction:column;box-shadow:var(--theme-shadow-heavy,0 8px 32px rgba(0,0,0,.3));animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.emoji-gallery-header{padding:20px;border-bottom:1px solid var(--theme-border-color,#e0e0e0);display:flex;justify-content:space-between;align-items:center;background:var(--theme-bg-secondary,#f8f9fa);border-radius:16px 16px 0 0}.emoji-gallery-header h3{margin:0;font-size:20px;font-weight:600;color:var(--theme-text-primary,#333)}.emoji-gallery-close-btn{width:32px;height:32px;border:none;background:var(--theme-bg-tertiary,#f0f0f0);color:var(--theme-text-secondary,#666);font-size:24px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1;padding:0}.emoji-gallery-close-btn:hover{background:var(--theme-bg-hover,#e0e0e0);transform:rotate(90deg)}.emoji-gallery-content{flex:1;overflow-y:auto;padding:20px;background:var(--theme-bg-primary,#fff)}.emoji-gallery-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:var(--theme-text-secondary,#999)}.emoji-gallery-spinner{width:40px;height:40px;border:3px solid var(--theme-border-color,#e0e0e0);border-top-color:var(--theme-accent-color,#667eea);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(1turn)}}.emoji-gallery-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.emoji-gallery-empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.emoji-gallery-empty p{margin:0 0 8px;color:var(--theme-text-primary,#333);font-size:16px;font-weight:500}.emoji-gallery-empty-hint{font-size:14px;color:var(--theme-text-secondary,#999)!important}.emoji-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.emoji-gallery-item{position:relative;border-radius:12px;overflow:hidden;background:var(--theme-bg-secondary,#f8f9fa);border:2px solid var(--theme-border-color,#e0e0e0);cursor:pointer;transition:all .2s}.emoji-gallery-item:hover{border-color:var(--theme-accent-color,#667eea);transform:translateY(-4px);box-shadow:var(--theme-shadow-medium,0 4px 12px rgba(0,0,0,.15))}.emoji-gallery-item-image{position:relative;width:100%;aspect-ratio:1/1;background:var(--theme-bg-tertiary,#f0f0f0);overflow:hidden;display:flex;align-items:center;justify-content:center}.emoji-gallery-item-image img{max-width:100%;max-height:100%;object-fit:contain}.emoji-gallery-item-info{padding:12px;background:var(--theme-bg-primary,white)}.emoji-gallery-item-description{font-size:14px;font-weight:500;color:var(--theme-text-primary,#333);margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4}.emoji-gallery-item-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--theme-text-secondary,#999)}.emoji-gallery-item-count{display:flex;align-items:center;gap:4px}.emoji-gallery-item-delete{position:absolute;top:8px;right:8px;width:28px;height:28px;border:none;background:rgba(0,0,0,.6);color:white;font-size:20px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;line-height:1;padding:0}.emoji-gallery-item:hover .emoji-gallery-item-delete{opacity:1}.emoji-gallery-item-delete:hover{background:rgba(255,0,0,.8);transform:scale(1.1)}.emoji-gallery-preview-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;z-index:10001;animation:fadeIn .2s ease}.emoji-gallery-preview-content{max-width:90%;max-height:90%;display:flex;flex-direction:column;align-items:center;gap:16px}.emoji-gallery-preview-content img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.5)}.emoji-gallery-preview-placeholder{font-size:120px;color:rgba(255,255,255,.5)}.emoji-gallery-preview-description{color:white;font-size:18px;font-weight:500;text-align:center;padding:12px 24px;background:rgba(0,0,0,.6);border-radius:8px;backdrop-filter:blur(8px)}@media (max-width:768px){.emoji-gallery-modal{width:95%;max-height:90vh}.emoji-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.emoji-gallery-content,.emoji-gallery-header{padding:16px}.emoji-gallery-item-delete{opacity:1}}@media (max-width:480px){.emoji-gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}.emoji-gallery-item-image{aspect-ratio:1/1}.emoji-gallery-item-info{padding:8px}.emoji-gallery-item-description{font-size:13px}}.RecoveryNotice_notice__qjA2H{display:flex;width:fit-content;max-width:100%;align-items:center;gap:.5rem;padding:.42rem .5rem .42rem .62rem;border:1px solid color-mix(in srgb,var(--chat-muted,#786970) 22%,transparent);border-radius:.7rem;background:color-mix(in srgb,var(--chat-muted,#786970) 7%,var(--chat-surface,#fff));color:color-mix(in srgb,var(--chat-text,#2f2529) 74%,var(--chat-muted,#786970));font-size:.72rem;line-height:1.4}.RecoveryNotice_icon__XHMUT{flex:0 0 auto;opacity:.62}.RecoveryNotice_text__2kdqk{min-width:0;overflow-wrap:anywhere}.RecoveryNotice_dismiss__Ioaii{display:grid;width:1.15rem;height:1.15rem;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;font-size:.8rem;line-height:1;opacity:.5}.RecoveryNotice_dismiss__Ioaii:hover{opacity:1}.RecoveryNotice_dismiss__Ioaii:focus-visible{outline:2px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 40%,transparent);outline-offset:1px;opacity:1}.BillingNotice_notice__G0uKL{display:block}.BillingNotice_text__GgneY{margin:0}.BillingNotice_amount__EW53Z{font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}.BillingNotice_amount__EW53Z[data-kind=required]{color:color-mix(in srgb,var(--chat-accent,#a93b5b) 55%,var(--theme-message-ai-text,var(--chat-text,#2f2529)))}.BillingNotice_unit__Jy3D7{margin-left:.14em;font-size:.72em;font-weight:600;opacity:.6}.BillingNotice_action__akbLM{position:relative;display:inline-flex;vertical-align:baseline;white-space:nowrap;align-items:center;gap:.12rem;padding:.2rem .5rem .2rem .62rem;border:1px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 70%,var(--theme-message-ai-text,var(--chat-text,#2f2529)));border-radius:999px;color:inherit;background:color-mix(in srgb,var(--chat-accent,#a93b5b) 10%,transparent);font:inherit;font-size:.75rem;font-weight:600;line-height:1.2;cursor:pointer}.BillingNotice_action__akbLM:before{position:absolute;inset:-8px;content:""}.BillingNotice_action__akbLM:hover{background:color-mix(in srgb,var(--chat-accent,#a93b5b) 18%,transparent)}.BillingNotice_action__akbLM:active{transform:scale(.97)}.BillingNotice_action__akbLM:focus-visible{outline:2px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 45%,transparent);outline-offset:2px}.BillingNotice_chevron__fsg7d{width:.7rem;height:.7rem;flex:0 0 auto}@media (prefers-reduced-motion:reduce){.BillingNotice_action__akbLM:active{transform:none}}.Artifacts_busy__GeLGA,.Artifacts_card__F3hW0,.Artifacts_editorFooter__0jRIC,.Artifacts_editor__ZbVej,.Artifacts_grid__J_5Jl,.Artifacts_list__6nmVZ,.Artifacts_tabs__tZhIF,.Artifacts_viewer__cucJI{--af-accent:var(--chat-accent,var(--lk-primary,var(--theme-accent-color,#a93b5b)));--af-text:var(--chat-text,var(--lk-text,var(--theme-text-primary,#2f2529)));--af-muted:var(--chat-muted,var(--lk-muted,var(--theme-text-secondary,#786970)));--af-surface:var(--chat-surface,var(--lk-surface,var(--theme-bg-secondary,#fffaf8)));--af-canvas:var(--chat-canvas,var(--lk-canvas,var(--theme-bg-primary,#f7f0ed)));--af-warn:#c2410c}.Artifacts_card__F3hW0{display:flex;box-sizing:border-box;width:300px;max-width:100%;min-height:62px;align-items:center;gap:11px;margin:0;padding:11px 12px;border:1px solid color-mix(in srgb,var(--af-text) 10%,transparent);border-radius:18px;color:var(--af-text);background:color-mix(in srgb,var(--af-surface) 92%,transparent);box-shadow:0 .2rem .9rem color-mix(in srgb,var(--af-text) 6%,transparent);font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,border-color .16s ease}.Artifacts_card__F3hW0[data-mode=story]{width:100%;margin-top:12px}.Artifacts_card__F3hW0:active:not(:disabled){transform:scale(.98)}.Artifacts_card__F3hW0:hover:not(:disabled){border-color:color-mix(in srgb,var(--af-accent) 30%,transparent)}.Artifacts_card__F3hW0:disabled{cursor:default}.Artifacts_card__F3hW0:focus-visible{outline:3px solid color-mix(in srgb,var(--af-accent) 24%,transparent);outline-offset:2px}.Artifacts_glyph__u3znq{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:12px;color:var(--af-accent);background:color-mix(in srgb,var(--af-accent) 13%,transparent)}.Artifacts_card__F3hW0[data-state=pending] .Artifacts_glyph__u3znq{color:var(--af-muted);background:color-mix(in srgb,var(--af-muted) 13%,transparent)}.Artifacts_card__F3hW0[data-state=broken] .Artifacts_glyph__u3znq{color:var(--af-warn);background:color-mix(in srgb,var(--af-warn) 13%,transparent)}.Artifacts_copy__K4GXv{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.Artifacts_sub__8Jakz,.Artifacts_title__1cCa1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Artifacts_title__1cCa1{font-size:14.5px;font-weight:700;line-height:1.3}.Artifacts_card__F3hW0[data-state=pending] .Artifacts_title__1cCa1{color:var(--af-muted)}.Artifacts_sub__8Jakz{color:var(--af-muted);font-size:11.5px;line-height:1.3}.Artifacts_shimmer__EXGQF{display:block;width:80%;height:6px;margin-top:4px;border-radius:3px;background:color-mix(in srgb,var(--af-accent) 30%,transparent);animation:Artifacts_artifact-shimmer___2eNB 1.4s ease-in-out infinite}@keyframes Artifacts_artifact-shimmer___2eNB{0%,to{opacity:.35}50%{opacity:.8}}.Artifacts_go__GTry8{display:inline-flex;flex:0 0 auto;align-items:center;gap:3px;color:var(--af-muted);font-size:12px}.Artifacts_retry__u0N2X{color:var(--af-accent);font-weight:700}.Artifacts_viewer__cucJI{position:fixed;inset:0;z-index:calc(var(--chat-overlay-z, 10050) + 20);display:flex;flex-direction:column;color:var(--af-text);background:var(--af-canvas);animation:Artifacts_artifact-viewer-in__lp3dT .22s cubic-bezier(.22,.8,.24,1)}@keyframes Artifacts_artifact-viewer-in__lp3dT{0%{opacity:0;transform:translateY(14px)}}.Artifacts_viewerHeader__a_lqJ{display:flex;flex:0 0 auto;align-items:center;gap:10px;padding:max(8px,env(safe-area-inset-top,0px)) 10px 8px;border-bottom:1px solid color-mix(in srgb,var(--af-muted) 14%,transparent);background:color-mix(in srgb,var(--af-surface) 90%,var(--af-canvas))}.Artifacts_viewerTitle__Xxqsp{min-width:0;flex:1;overflow:hidden;margin:0;font-size:16px;font-weight:680;letter-spacing:-.018em;line-height:1.3;text-align:center;text-overflow:ellipsis;white-space:nowrap}.Artifacts_viewerIcon__3cbax{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;padding:0;border:0;border-radius:12px;color:var(--af-text);background:color-mix(in srgb,var(--af-text) 7%,transparent);cursor:pointer}.Artifacts_viewerIcon__3cbax:focus-visible{outline:3px solid color-mix(in srgb,var(--af-accent) 24%,transparent);outline-offset:2px}.Artifacts_viewerMenuAnchor__3yXwK{position:relative;flex:0 0 auto}.Artifacts_viewerMenu__mqFSj{position:absolute;top:calc(100% + 6px);right:0;z-index:2;display:flex;width:min(300px,calc(100vw - 20px));flex-direction:column;padding:6px;border:1px solid color-mix(in srgb,var(--af-muted) 16%,transparent);border-radius:16px;background:var(--af-surface);box-shadow:0 1rem 2.5rem color-mix(in srgb,var(--af-text) 18%,transparent)}.Artifacts_viewerMenuItem__8nzAy{display:flex;align-items:flex-start;gap:11px;padding:11px 10px;border:0;border-radius:11px;color:var(--af-text);background:transparent;font:inherit;text-align:left;cursor:pointer}.Artifacts_viewerMenuItem__8nzAy svg{flex:0 0 auto;margin-top:1px;color:var(--af-accent)}.Artifacts_viewerMenuItem__8nzAy span{display:flex;min-width:0;flex-direction:column;gap:2px}.Artifacts_viewerMenuItem__8nzAy strong{font-size:14px;font-weight:650}.Artifacts_viewerMenuItem__8nzAy small{color:var(--af-muted);font-size:11.5px;line-height:1.4}.Artifacts_viewerMenuItem__8nzAy:focus-visible,.Artifacts_viewerMenuItem__8nzAy:hover:not(:disabled){background:color-mix(in srgb,var(--af-accent) 8%,transparent);outline:none}.Artifacts_viewerMenuItem__8nzAy:disabled{cursor:not-allowed;opacity:.5}.Artifacts_viewerStage__2QbCD{display:flex;min-height:0;flex:1;justify-content:center;background:color-mix(in srgb,var(--af-text) 5%,var(--af-canvas))}.Artifacts_viewerFrame__7wcKv{display:block;width:100%;max-width:520px;height:100%;border:0;background:#fff}@media (min-width:560px){.Artifacts_viewerFrame__7wcKv{box-shadow:0 0 0 1px color-mix(in srgb,var(--af-text) 8%,transparent),0 1rem 3rem color-mix(in srgb,var(--af-text) 12%,transparent)}}.Artifacts_busy__GeLGA{position:fixed;top:max(84px,calc(env(safe-area-inset-top, 0px) + 72px));left:50%;z-index:calc(var(--chat-overlay-z, 10050) + 30);display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;color:var(--af-text);background:color-mix(in srgb,var(--af-surface) 94%,transparent);box-shadow:0 .6rem 1.8rem color-mix(in srgb,var(--af-text) 16%,transparent);font-size:13px;font-weight:600;transform:translateX(-50%);pointer-events:none}.Artifacts_busy__GeLGA svg{color:var(--af-accent)}.Artifacts_spin__ceJXg{animation:Artifacts_artifact-spin__4EfPg .9s linear infinite}@keyframes Artifacts_artifact-spin__4EfPg{to{transform:rotate(1turn)}}.Artifacts_intro__tHSqb{margin:0 2px 10px;color:var(--chat-muted,var(--lk-muted,var(--theme-text-secondary,#786970)));font-size:12.5px;line-height:1.5}.Artifacts_tabs__tZhIF{display:flex;gap:4px;margin:2px 0 12px;padding:4px;border-radius:14px;background:color-mix(in srgb,var(--af-text) 6%,transparent)}.Artifacts_tab___s7a_{min-height:36px;flex:1;padding:0 10px;border:0;border-radius:10px;color:var(--af-muted);background:transparent;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.Artifacts_tab___s7a_[aria-selected=true]{color:var(--af-text);background:var(--af-surface);box-shadow:0 .1rem .4rem color-mix(in srgb,var(--af-text) 10%,transparent)}.Artifacts_list__6nmVZ{display:flex;flex-direction:column;gap:7px;padding-bottom:8px}.Artifacts_section__M5iOZ{margin:4px 2px 0;color:var(--af-muted);font-size:12px;font-weight:600}.Artifacts_sectionRow__8NLql{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.Artifacts_addButton__43rgx{display:inline-flex;min-height:32px;align-items:center;gap:3px;padding:0 8px;border:0;border-radius:10px;color:var(--af-accent);background:transparent;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.Artifacts_option__59y_Q{display:flex;align-items:center;border:1.5px solid transparent;border-radius:16px;background:color-mix(in srgb,var(--af-text) 5%,transparent)}.Artifacts_option__59y_Q[data-selected]{border-color:var(--af-accent);background:color-mix(in srgb,var(--af-accent) 9%,transparent)}.Artifacts_optionMain__dNEmR{display:flex;min-width:0;flex:1;align-items:center;gap:10px;padding:10px 11px;border:0;border-radius:15px;color:var(--af-text);background:transparent;font:inherit;text-align:left;cursor:pointer}.Artifacts_optionMain__dNEmR:focus-visible{outline:3px solid color-mix(in srgb,var(--af-accent) 22%,transparent);outline-offset:1px}.Artifacts_optionGlyph__fkoYG{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:11px;color:var(--af-accent);background:var(--af-surface)}.Artifacts_optionCopy__Rpf2k{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.Artifacts_optionTitle__Wi7qp{overflow:hidden;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.Artifacts_optionLine__n0KsS{display:-webkit-box;overflow:hidden;color:var(--af-muted);font-size:11.5px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.Artifacts_radio__Zjj_R{box-sizing:border-box;width:20px;height:20px;flex:0 0 20px;border:2px solid color-mix(in srgb,var(--af-text) 30%,transparent);border-radius:50%}.Artifacts_option__59y_Q[data-selected] .Artifacts_radio__Zjj_R{border:6px solid var(--af-accent)}.Artifacts_optionTrailing__ns3qj{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;margin-right:6px;padding:0;border:0;border-radius:50%;color:var(--af-muted);background:transparent;cursor:pointer}.Artifacts_optionTrailing__ns3qj:hover{color:var(--af-accent);background:color-mix(in srgb,var(--af-accent) 8%,transparent)}.Artifacts_empty__xoqgs{margin:0;padding:8px 2px;color:var(--af-muted);font-size:12.5px;line-height:1.5}.Artifacts_foot__l37yy{margin:10px 2px 0;color:var(--af-muted);font-size:11.5px;line-height:1.55}.Artifacts_foot__l37yy[data-tone=warn]{margin-top:4px;color:var(--af-warn)}.Artifacts_grid__J_5Jl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:8px}.Artifacts_grid__J_5Jl>.Artifacts_empty__xoqgs{grid-column:1/-1}.Artifacts_tile__bBU8v{display:flex;min-width:0;flex-direction:column;gap:5px;padding:10px;border:0;border-radius:14px;color:var(--af-text);background:color-mix(in srgb,var(--af-text) 5%,transparent);font:inherit;text-align:left;cursor:pointer}.Artifacts_tile__bBU8v:disabled{cursor:default;opacity:.7}.Artifacts_tile__bBU8v:hover:not(:disabled){background:color-mix(in srgb,var(--af-accent) 8%,transparent)}.Artifacts_thumb__lQbCP{display:grid;aspect-ratio:4/3;place-items:center;border-radius:10px;color:var(--af-accent);background:color-mix(in srgb,var(--af-accent) 14%,transparent)}.Artifacts_tileMeta__sxGZl,.Artifacts_tileTitle__bY7eP{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Artifacts_tileTitle__bY7eP{font-size:13px;font-weight:700}.Artifacts_tileMeta__sxGZl{color:var(--af-muted);font-size:11px}.Artifacts_editor__ZbVej{display:flex;flex-direction:column;gap:10px;padding-bottom:6px}.Artifacts_field__RIvK7{display:flex;flex-direction:column;gap:6px}.Artifacts_fieldLabel___Uooo{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:var(--af-text);font-size:13px;font-weight:600}.Artifacts_counter__La_zF{color:var(--af-muted);font-size:11.5px;font-variant-numeric:tabular-nums;font-weight:500}.Artifacts_counter__La_zF[data-tone=warn]{color:var(--af-warn)}.Artifacts_input__5sCku{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid color-mix(in srgb,var(--af-muted) 20%,transparent);border-radius:12px;color:var(--af-text);background:color-mix(in srgb,var(--af-text) 4%,var(--af-surface));font:inherit;font-size:16px;line-height:1.5}.Artifacts_input__5sCku:focus{border-color:var(--af-accent);outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--af-accent) 16%,transparent)}.Artifacts_textarea__xwcp9{min-height:280px;resize:vertical;font-size:14px}.Artifacts_warn__c2tNj{margin:0;color:var(--af-warn);font-size:12px;line-height:1.5}.Artifacts_hint__Kb___{margin:0;color:var(--af-muted);font-size:12px;line-height:1.5}.Artifacts_editorFooter__0jRIC{width:100%}.Artifacts_deleteButton__J_kUz{align-self:center;min-height:44px;margin-top:4px;padding:0 12px;border:0;color:#d93a4a;background:transparent;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.Artifacts_deleteButton__J_kUz:disabled{opacity:.5;cursor:not-allowed}.Artifacts_footerButton__eiWJo{min-width:88px}@media (prefers-reduced-motion:reduce){.Artifacts_shimmer__EXGQF,.Artifacts_spin__ceJXg,.Artifacts_viewer__cucJI{animation:none}.Artifacts_card__F3hW0{transition:none}}.UnifiedMessageRow_row__LIJHa{display:flex;width:100%;max-width:100%;align-items:flex-start;gap:.45rem;color:var(--chat-text,var(--theme-text-primary,#2f2529));outline:none}.UnifiedMessageRow_row__LIJHa[data-role=user]{flex-direction:row-reverse}.UnifiedMessageRow_row__LIJHa[data-cluster=middle],.UnifiedMessageRow_row__LIJHa[data-cluster=start]{margin-bottom:.16rem}.UnifiedMessageRow_row__LIJHa[data-cluster=end],.UnifiedMessageRow_row__LIJHa[data-cluster=single]{margin-bottom:.72rem}.UnifiedMessageRow_avatarSlot__zXTCy{display:flex;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;align-items:center;justify-content:center}.UnifiedMessageRow_avatarButton__xpLb9,.UnifiedMessageRow_avatarStatic__5QSzN{display:grid;width:2.75rem;height:2.75rem;place-items:center;padding:0;border:0;border-radius:50%;color:var(--chat-text,#2f2529);background:transparent}.UnifiedMessageRow_avatarButton__xpLb9{cursor:pointer}.UnifiedMessageRow_avatarButton__xpLb9:active{transform:scale(.96)}.UnifiedMessageRow_avatarButton__xpLb9:focus-visible{outline:3px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 24%,transparent);outline-offset:1px}.UnifiedMessageRow_avatarImage__lpfDI,.UnifiedMessageRow_initials__0pGW_{display:grid;width:2.125rem;height:2.125rem;place-items:center;border:1px solid color-mix(in srgb,var(--chat-muted,#786970) 16%,transparent);border-radius:50%;object-fit:cover;box-shadow:0 .16rem .55rem color-mix(in srgb,var(--chat-text,#2f2529) 9%,transparent)}.UnifiedMessageRow_initials__0pGW_{color:var(--chat-accent,#a93b5b);background:var(--chat-soft,#eee2e5);font-size:.7rem;font-weight:720}.UnifiedMessageRow_content__zyjzq{display:flex;min-width:0;max-width:min(78%,38.75rem);flex-direction:column;align-items:flex-start}.UnifiedMessageRow_row__LIJHa[data-role=user] .UnifiedMessageRow_content__zyjzq{align-items:flex-end}.UnifiedMessageRow_row__LIJHa[data-presentation]:not([data-presentation=bubble]) .UnifiedMessageRow_content__zyjzq{max-width:min(86%,38.75rem)}.UnifiedMessageRow_sender__FfSax{max-width:100%;overflow:hidden;margin:0 .45rem .22rem;color:var(--chat-muted,#786970);font-size:.7rem;font-weight:620;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.UnifiedMessageRow_contentAnchor__sDwyF{position:relative;display:flex;max-width:100%;flex-direction:column}.UnifiedMessageRow_row__LIJHa[data-editing=true] .UnifiedMessageRow_content__zyjzq{width:min(100%,27rem);max-width:calc(100% - 3.2rem)}.UnifiedMessageRow_row__LIJHa[data-editing=true] .UnifiedMessageRow_contentAnchor__sDwyF{width:100%}.UnifiedMessageRow_bubble__1Nyxn{position:relative;z-index:0;width:fit-content;max-width:100%;overflow:hidden;padding:.68rem .82rem;border:1px solid color-mix(in srgb,var(--chat-text,#2f2529) 6%,transparent);border-radius:var(--theme-ai-bubble-radius,16px);color:var(--theme-message-ai-text,var(--chat-text,#2f2529));background:transparent;box-shadow:none;font-size:var(--theme-bubble-font-size,.9375rem);line-height:1.55;overflow-wrap:anywhere}.UnifiedMessageRow_bubble__1Nyxn:before{position:absolute;z-index:-1;inset:0;border-radius:inherit;background:var(--theme-message-ai-bg,var(--chat-surface,#fff));content:"";opacity:var(--theme-ai-bubble-opacity,1);pointer-events:none}.UnifiedMessageRow_row__LIJHa[data-role=user] .UnifiedMessageRow_bubble__1Nyxn{border-color:color-mix(in srgb,var(--theme-message-user-bg,var(--chat-accent,#a93b5b)) 28%,transparent);border-radius:var(--theme-user-bubble-radius,16px);color:var(--theme-message-user-text,var(--chat-text,#2f2529))}.UnifiedMessageRow_row__LIJHa[data-role=user] .UnifiedMessageRow_bubble__1Nyxn:before{background:var(--theme-message-user-bg,var(--chat-accent,#a93b5b));opacity:var(--theme-user-bubble-opacity,1)}.UnifiedMessageRow_direct__RfbZU{max-width:100%}.UnifiedMessageRow_quote__n_WZr{margin:-.1rem 0 .55rem;padding:.12rem 0 .12rem .62rem;border-left:2px solid;color:color-mix(in srgb,currentColor 72%,transparent)}.UnifiedMessageRow_quoteHeader__JkeQ2{display:flex;min-width:0;justify-content:space-between;gap:.8rem;font-size:.68rem;line-height:1.4}.UnifiedMessageRow_quoteHeader__JkeQ2 strong{overflow:hidden;color:currentColor;text-overflow:ellipsis;white-space:nowrap}.UnifiedMessageRow_quoteHeader__JkeQ2 span{flex:0 0 auto;font-variant-numeric:tabular-nums;opacity:.72}.UnifiedMessageRow_quoteContent__Y_pN_{display:-webkit-box;overflow:hidden;margin-top:.08rem;font-size:.74rem;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}.UnifiedMessageRow_time__7tH9y{margin:.2rem .42rem 0;color:var(--chat-muted,#786970);font-size:.64rem;font-variant-numeric:tabular-nums;font-weight:560;line-height:1.35}.UnifiedMessageRow_row__LIJHa[data-mode=history]{cursor:default}.UnifiedMessageRow_row__LIJHa[data-mode=history] .UnifiedMessageRow_bubble__1Nyxn{box-shadow:none}.UnifiedMessageRow_storyIdentity__kJt64{display:flex;max-width:100%;min-height:2rem;align-items:center;gap:.5rem;margin:0 0 .5rem;color:var(--chat-text,#2f2529);font-size:13px;font-weight:650;line-height:1.3}.UnifiedMessageRow_storyIdentity__kJt64 .UnifiedMessageRow_avatarButton__xpLb9,.UnifiedMessageRow_storyIdentity__kJt64 .UnifiedMessageRow_avatarStatic__5QSzN{width:2rem;height:2rem;flex:0 0 2rem;margin:0 -.25rem}.UnifiedMessageRow_storyIdentity__kJt64 .UnifiedMessageRow_avatarImage__lpfDI,.UnifiedMessageRow_storyIdentity__kJt64 .UnifiedMessageRow_initials__0pGW_{width:24px;height:24px;border:0;box-shadow:none}.UnifiedMessageRow_storyIdentity__kJt64 .UnifiedMessageRow_initials__0pGW_{font-size:10px}.UnifiedMessageRow_storyName__MLTTh{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}.UnifiedMessageRow_storyTime__5DFQz{flex:0 0 auto;color:var(--chat-muted,#786970);font-size:12px;font-variant-numeric:tabular-nums;font-weight:500}.UnifiedMessageRow_row__LIJHa[data-mode=story]{display:block;padding-inline:.15rem}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-cluster=end],.UnifiedMessageRow_row__LIJHa[data-mode=story][data-cluster=single]{margin-bottom:1.5rem}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-cluster=middle],.UnifiedMessageRow_row__LIJHa[data-mode=story][data-cluster=start]{margin-bottom:.6rem}.UnifiedMessageRow_row__LIJHa[data-mode=story] .UnifiedMessageRow_content__zyjzq{width:min(100%,52rem);max-width:100%;margin-inline:auto}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=user] .UnifiedMessageRow_content__zyjzq{align-items:flex-end}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn,.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_contentAnchor__sDwyF{width:100%}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn{overflow:visible;padding:0;border:0;border-radius:var(--story-ai-bubble-radius,16px);color:var(--story-message-ai-text,var(--chat-text,var(--theme-text-primary,#2f2529)));font-size:calc(var(--story-bubble-font-size, 15px) + 1px);box-shadow:none;line-height:var(--story-bubble-line-height,1.75)}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn:before{display:none;background:var(--story-message-ai-bg,var(--chat-surface,#fff));opacity:var(--story-ai-bubble-opacity,.92)}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn .story-content-text{font-family:var(--lk-story-body-font,var(--lk-display-font,"Noto Serif SC","Songti SC",STSong,serif));font-size:inherit;letter-spacing:.01em}.has-character-artwork .UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn,.has-custom-background .UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn{padding:.82rem .9rem;overflow:hidden}.has-character-artwork .UnifiedMessageRow_row__LIJHa[data-mode=story] .UnifiedMessageRow_storyIdentity__kJt64,.has-custom-background .UnifiedMessageRow_row__LIJHa[data-mode=story] .UnifiedMessageRow_storyIdentity__kJt64{width:fit-content;padding:2px 10px 2px 6px;border-radius:999px;background:color-mix(in srgb,var(--chat-surface,#fff) 82%,transparent)}.has-character-artwork .UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn:before,.has-custom-background .UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=assistant] .UnifiedMessageRow_bubble__1Nyxn:before{display:block}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=user] .UnifiedMessageRow_bubble__1Nyxn{padding:.62rem 1rem;border:0;border-radius:min(var(--story-user-bubble-radius,16px),22px);color:var(--story-message-user-text,var(--chat-text,var(--theme-text-primary,#2f2529)));font-size:calc(var(--story-bubble-font-size, 15px) - .5px);line-height:var(--story-bubble-line-height,1.55)}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=user] .UnifiedMessageRow_bubble__1Nyxn .story-content-text{line-height:inherit}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=user] .UnifiedMessageRow_bubble__1Nyxn:before{background:var(--story-message-user-bg,var(--chat-surface-soft,#eee2e5));opacity:var(--story-user-bubble-opacity,.96)}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-role=user] .UnifiedMessageRow_contentAnchor__sDwyF{max-width:min(84%,42rem)}.UnifiedMessageRow_row__LIJHa[data-mode=story][data-presentation]:not([data-presentation=bubble]) .UnifiedMessageRow_contentAnchor__sDwyF{width:min(100%,46rem);max-width:100%}.UnifiedMessageRow_contentAnchor__sDwyF[role=button]{cursor:pointer;outline:none}.UnifiedMessageRow_contentAnchor__sDwyF[role=button]:focus-visible .UnifiedMessageRow_bubble__1Nyxn,.UnifiedMessageRow_contentAnchor__sDwyF[role=button]:focus-visible .UnifiedMessageRow_direct__RfbZU{outline:2px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 25%,transparent);outline-offset:2px}@media (max-width:380px){.UnifiedMessageRow_row__LIJHa{gap:.25rem}.UnifiedMessageRow_avatarSlot__zXTCy{width:2.5rem;flex-basis:2.5rem}.UnifiedMessageRow_content__zyjzq{max-width:min(80%,calc(100vw - 3.4rem))}.UnifiedMessageRow_row__LIJHa[data-presentation]:not([data-presentation=bubble]) .UnifiedMessageRow_content__zyjzq{max-width:min(88%,calc(100vw - 3.2rem))}.UnifiedMessageRow_bubble__1Nyxn{padding:.62rem .75rem}}@media (prefers-reduced-motion:reduce){.UnifiedMessageRow_avatarButton__xpLb9:active{transform:none}}.UnifiedMessageRow_row__LIJHa[data-presentation=neutral]{justify-content:center}.UnifiedMessageRow_row__LIJHa[data-presentation=neutral][data-role] .UnifiedMessageRow_content__zyjzq{max-width:min(100%,22rem);align-items:center}.UnifiedMessageRow_row__LIJHa[data-presentation=neutral] .UnifiedMessageRow_contentAnchor__sDwyF{align-items:center}