.character-analysis-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.character-analysis-modal{background:var(--theme-bg-primary,#ffffff);border-radius:16px;box-shadow:var(--theme-shadow-heavy,0 20px 40px rgba(0,0,0,.15));max-width:600px;width:100%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--theme-border-color,#e0e0e0)}.character-analysis-modal-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,#f8f9fa)}.character-analysis-modal-title{margin:0;font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f)}.character-analysis-subtitle{margin:4px 0 0;font-size:13px;color:var(--theme-text-primary,#1f1f1f);font-weight:400}.character-analysis-modal-close{background:none;border:none;cursor:pointer;padding:8px;border-radius:8px;color:var(--theme-text-secondary,#666);transition:all .2s ease;display:flex;align-items:center;justify-content:center}.character-analysis-modal-close:hover{background:var(--theme-bg-tertiary,#e9ecef);color:var(--theme-text-primary,#333)}.character-analysis-modal-content{padding:24px;overflow-y:auto;flex:1}.character-analysis-message-preview{background:var(--theme-bg-secondary,#f8f9fa);border-radius:12px;padding:16px;margin-bottom:20px;border:1px solid var(--theme-border-color,#e0e0e0)}.character-analysis-message-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.character-analysis-character-name{font-weight:600;color:var(--theme-text-primary,#1f1f1f);font-size:14px}.character-analysis-message-time{font-size:12px;color:var(--theme-text-tertiary,#8a8a8a)}.character-analysis-message-content{color:var(--theme-text-primary,#1f1f1f);line-height:1.5;font-size:14px}.character-analysis-action{text-align:center;margin-bottom:20px}.character-analysis-btn{display:inline-flex;align-items:center;gap:8px;background:var(--theme-accent-color,#1a73e8);color:var(--theme-button-text,#ffffff);border:none;border-radius:12px;padding:12px 24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px color-mix(in srgb,var(--theme-accent-color,#1a73e8) 30%,transparent)}.character-analysis-btn:hover:not(:disabled){background:var(--theme-accent-hover,#1669c1);transform:translateY(-1px);box-shadow:0 4px 12px color-mix(in srgb,var(--theme-accent-hover,#1669c1) 40%,transparent)}.character-analysis-btn:disabled{background:var(--theme-text-secondary,#6c757d);cursor:not-allowed;transform:none;box-shadow:none}.character-analysis-warning{margin-top:12px;font-size:13px;color:var(--theme-text-primary,#1f1f1f);margin-bottom:0}.character-analysis-loading{text-align:center;padding:40px 20px}.character-analysis-spinner{width:32px;height:32px;border-top:3px solid var(--theme-border-color,#e0e0e0);border:3px solid var(--theme-border-color,#e0e0e0);border-top-color:var(--theme-accent-color,#1a73e8);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.character-analysis-loading p{margin:0;color:var(--theme-text-secondary,#666);font-size:14px}.character-analysis-error{text-align:center;padding:40px 20px;color:var(--theme-error-color,#dc3545)}.character-analysis-error svg{margin-bottom:16px}.character-analysis-error p{margin:0 0 16px;font-size:14px}.character-analysis-retry-btn{background:var(--theme-error-color,#dc3545);color:white;border:none;border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer;transition:all .2s ease}.character-analysis-retry-btn:hover{background:#c82333;transform:translateY(-1px)}.character-analysis-results{animation:fadeIn .3s ease}.character-analysis-download-section{text-align:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--theme-border-color,#e0e0e0);display:flex;gap:12px;justify-content:center}.character-analysis-save-btn{display:inline-flex;align-items:center;gap:6px;background:#28a745;color:#ffffff;border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px rgba(40,167,69,.2)}.character-analysis-save-btn:hover:not(:disabled){background:#218838;transform:translateY(-1px);box-shadow:0 4px 8px rgba(40,167,69,.3)}.character-analysis-save-btn:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px rgba(40,167,69,.2)}.character-analysis-save-btn.saved,.character-analysis-save-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none;box-shadow:none;opacity:.6}.character-analysis-download-btn{display:inline-flex;align-items:center;gap:6px;background:var(--theme-accent-color,#1a73e8);color:var(--theme-button-text,#ffffff);border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px rgba(26,115,232,.2)}.character-analysis-download-btn:hover{background:var(--theme-accent-hover,#1669c1);transform:translateY(-1px);box-shadow:0 4px 8px rgba(26,115,232,.3)}.character-analysis-download-btn:active{transform:translateY(0);box-shadow:0 2px 4px rgba(26,115,232,.2)}.character-analysis-screenshot-area{background:var(--theme-bg-primary,#ffffff);border-radius:8px;padding:16px;margin-bottom:16px}.character-analysis-footer{margin-top:24px}.character-analysis-footer-content{display:flex;justify-content:center;align-items:center}.character-analysis-footer-text{font-size:12px;color:var(--theme-text-tertiary,#8a8a8a);font-style:italic}.character-analysis-target-message{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:2px solid var(--theme-accent-color,#1a73e8);border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 4px 12px rgba(26,115,232,.1)}.character-analysis-target-header{margin-bottom:16px;text-align:center}.character-analysis-target-title{margin:0 0 8px;font-size:18px;font-weight:700;color:var(--theme-accent-color,#1a73e8)}.character-analysis-target-description{margin:0;font-size:14px;color:var(--theme-text-secondary,#666);font-style:italic}.character-analysis-target-content{background:var(--theme-bg-primary,#ffffff);border-radius:8px;padding:16px;border:1px solid var(--theme-border-color,#e0e0e0)}.character-analysis-target-message-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--theme-border-color,#e0e0e0)}.character-analysis-target-sender{font-weight:600;color:var(--theme-text-primary,#1f1f1f);font-size:14px}.character-analysis-target-time{font-size:12px;color:var(--theme-text-tertiary,#8a8a8a)}.character-analysis-target-message-text{color:var(--theme-text-primary,#1f1f1f);line-height:1.6;font-size:14px;white-space:pre-wrap;word-wrap:break-word}.character-analysis-section{margin-bottom:24px}.character-analysis-section:last-child{margin-bottom:0}.character-analysis-section-title{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16px;font-weight:600;color:var(--theme-text-primary,#1f1f1f)}.character-analysis-section-title svg{color:var(--theme-accent-color,#1a73e8)}.character-analysis-content{background:var(--theme-bg-secondary,#f8f9fa);border-radius:8px;padding:16px;color:var(--theme-text-primary,#1f1f1f);line-height:1.6;font-size:14px;border:1px solid var(--theme-border-color,#e0e0e0)}.character-analysis-content .analysis-section{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;padding:12px;background:var(--theme-bg-tertiary,#f8f9fa);border-radius:8px;border-left:4px solid var(--theme-accent-color,#1a73e8)}.character-analysis-content .analysis-section:last-child{margin-bottom:0}.character-analysis-content .section-icon{font-size:24px;flex-shrink:0;margin-top:2px}.character-analysis-content .section-content{flex:1;line-height:1.6;color:var(--theme-text-primary,#1f1f1f)}.character-analysis-content .section-content p{margin:0 0 8px}.character-analysis-content .section-content p:last-child{margin-bottom:0}.character-analysis-content .section-content strong{color:var(--theme-accent-color,#1a73e8);font-weight:600}.character-analysis-content .section-content em{color:var(--theme-text-secondary,#666);font-style:italic}.character-analysis-content .section-content ul{margin:8px 0;padding-left:20px}.character-analysis-content .section-content li{margin-bottom:4px}.character-analysis-content .inner-thoughts{background:linear-gradient(135deg,#ffeaa7,#fab1a0);border-left-color:#e17055}.character-analysis-content .inner-thoughts .section-icon{color:#e17055}.character-analysis-content .body-features{background:linear-gradient(135deg,#a8e6cf,#88d8a3);border-left-color:#00b894}.character-analysis-content .body-features .section-icon{color:#00b894}.character-analysis-content .medical-chart{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border:2px solid #4caf50;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 2px 8px rgba(76,175,80,.2)}.character-analysis-content .medical-chart .chart-header{font-size:16px;font-weight:700;color:#2e7d32;text-align:center;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #4caf50;text-transform:uppercase;letter-spacing:1px}.character-analysis-content .medical-chart .chart-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.character-analysis-content .medical-chart .vital-item{display:flex;flex-direction:column;align-items:center;padding:12px 8px;background:rgba(255,255,255,.7);border-radius:8px;border:1px solid rgba(76,175,80,.3);transition:all .2s ease}.character-analysis-content .medical-chart .vital-item:hover{background:rgba(255,255,255,.9);transform:translateY(-2px);box-shadow:0 4px 12px rgba(76,175,80,.3)}.character-analysis-content .medical-chart .vital-label{font-size:12px;color:#2e7d32;font-weight:600;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.character-analysis-content .medical-chart .vital-value{font-size:14px;color:#1b5e20;font-weight:700;text-align:center}.character-analysis-footer{margin-top:20px;padding-top:16px;border-top:1px solid var(--theme-border-color,#e0e0e0);text-align:center}.character-analysis-timestamp{font-size:12px;color:var(--theme-text-tertiary,#8a8a8a)}@media (max-width:768px){.character-analysis-modal-overlay{padding:10px}.character-analysis-modal{max-height:90vh;border-radius:12px}.character-analysis-modal-header{padding:16px 20px}.character-analysis-modal-title{font-size:16px}.character-analysis-modal-content{padding:20px}.character-analysis-message-preview{padding:12px}.character-analysis-btn{padding:10px 20px;font-size:13px}.character-analysis-section-title{font-size:15px}.character-analysis-content{padding:12px;font-size:13px}}@media (max-width:480px){.character-analysis-modal-overlay{padding:5px}.character-analysis-modal{border-radius:8px}.character-analysis-modal-header{padding:12px 16px}.character-analysis-modal-content{padding:16px}.character-analysis-message-preview{padding:10px}.character-analysis-btn{padding:8px 16px;font-size:12px}.character-analysis-section-title{font-size:14px}.character-analysis-content{padding:10px;font-size:12px}}.industrial-batch-delete-container{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;height:100vh;height:100dvh;background:var(--theme-bg-primary);z-index:10000;display:flex;flex-direction:column;box-shadow:0 -4px 20px rgba(0,0,0,.15);padding:max(0px,env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(0px,env(safe-area-inset-left))}.industrial-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:linear-gradient(135deg,var(--theme-bg-secondary) 0,var(--theme-bg-tertiary) 100%);border-bottom:1px solid var(--theme-border-color);flex-shrink:0}.toolbar-left{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding-left:36px}.industrial-back-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid var(--theme-border-color);background:var(--theme-bg-primary);color:var(--theme-text-primary);cursor:pointer;flex:0 0 auto;padding:0;transition:transform .2s ease,border-color .2s ease,background .2s ease;position:absolute;left:16px;top:10px;z-index:1}.industrial-back-btn:hover{border-color:var(--theme-accent-color);transform:translateY(-1px)}.industrial-back-btn:active{transform:translateY(0)}.toolbar-right{display:flex;gap:10px;align-items:center;width:clamp(240px,42vw,420px)}.quick-delete-wrapper{position:relative;flex:1;min-width:0}.quick-delete-wrapper .batch-delete-toolbar-btn{width:100%}.selection-info{display:flex;align-items:center}.selection-count{font-size:12px;font-weight:600;color:var(--theme-text-primary);padding:6px 10px;background:var(--theme-bg-primary);border-radius:5px;border:1px solid var(--theme-border-color)}.type-filter-container{display:flex;align-items:center;gap:8px}.type-filter-label{font-size:11px;font-weight:500;color:var(--theme-text-secondary);white-space:nowrap}.type-filter-select{font-size:12px;font-weight:500;color:var(--theme-text-primary);background:var(--theme-bg-primary);border:1px solid var(--theme-border-color);border-radius:5px;cursor:pointer;transition:all .2s ease;min-width:96px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:12px;padding:6px 26px 6px 10px}.type-filter-select:hover{border-color:var(--theme-accent-color);box-shadow:0 2px 4px rgba(0,0,0,.1)}.type-filter-select:focus{outline:none;border-color:var(--theme-accent-color);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.theme-plum-night .type-filter-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");color:var(--theme-text-primary);background-color:var(--theme-bg-secondary);border-color:var(--theme-border-color)}.theme-plum-night .type-filter-select:hover{border-color:var(--theme-accent-color)}.theme-plum-night .type-filter-select:focus{border-color:var(--theme-accent-color);box-shadow:0 0 0 3px rgba(0,123,255,.2)}.batch-delete-toolbar-btn{padding:3px 14px;border-radius:5px;font-size:12px;font-weight:600;cursor:pointer;transition:all .3s ease;border:none;flex:1;min-width:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:24px}.batch-delete-cancel-btn{background:var(--theme-bg-tertiary);color:var(--theme-text-secondary);border:2px solid var(--theme-border-color)}.batch-delete-cancel-btn:hover{background:var(--theme-bg-primary);color:var(--theme-text-primary);border-color:var(--theme-accent-color);transform:translateY(-1px)}.batch-delete-selected-btn{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff4444,#ff6666);color:white;box-shadow:0 2px 8px rgba(255,68,68,.3)}.batch-delete-selected-btn:hover:not(:disabled){background:linear-gradient(135deg,#ff3333,#ff5555);transform:translateY(-1px);box-shadow:0 4px 12px rgba(255,68,68,.4)}.batch-delete-selected-btn:disabled{background:var(--theme-bg-tertiary);color:var(--theme-text-secondary);cursor:not-allowed;box-shadow:none;transform:none}.batch-delete-quick-btn{display:flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(135deg,#ff4444,#ff6666);color:white;box-shadow:0 2px 8px rgba(255,68,68,.3)}.batch-delete-quick-btn:hover:not(:disabled){background:linear-gradient(135deg,#ff3333,#ff5555);transform:translateY(-1px);box-shadow:0 4px 12px rgba(255,68,68,.4)}.batch-delete-quick-btn:disabled{background:var(--theme-bg-tertiary);color:var(--theme-text-secondary);cursor:not-allowed;box-shadow:none;transform:none}.quick-delete-arrow{font-size:10px;transition:transform .2s ease}.quick-delete-menu{position:absolute;top:100%;right:0;margin-top:8px;background:var(--theme-bg-primary);border:1px solid var(--theme-border-color);border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.15);min-width:200px;z-index:1000;overflow:hidden;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.quick-delete-menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;border:none;background:transparent;color:var(--theme-text-primary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left;border-bottom:1px solid var(--theme-border-light,#f1f3f4)}.quick-delete-menu-item:last-child{border-bottom:none}.quick-delete-menu-item:hover:not(:disabled){background:var(--theme-bg-secondary);color:var(--theme-accent-color)}.quick-delete-menu-item:active:not(:disabled){background:var(--theme-bg-tertiary)}.quick-delete-menu-item:disabled{color:var(--theme-text-tertiary);cursor:not-allowed;opacity:.5}.menu-item-label{flex:1}.menu-item-count{color:var(--theme-text-secondary);font-size:12px;margin-left:8px}.quick-delete-menu-item:hover:not(:disabled) .menu-item-count{color:var(--theme-accent-color)}.industrial-table-container{flex:1;overflow:auto;padding:0 20px;min-height:0}.industrial-table{width:100%;border-collapse:collapse;background:var(--theme-bg-primary);border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1)}.table-header{background:linear-gradient(135deg,var(--theme-bg-secondary) 0,var(--theme-bg-tertiary) 100%);padding:12px 8px;text-align:left;font-weight:600;font-size:13px;color:var(--theme-text-primary);border-bottom:2px solid var(--theme-border-color);position:sticky;top:0;z-index:10}.header-content{display:flex;align-items:center;gap:8px}.header-content.sortable{cursor:pointer;user-select:none}.header-content.sortable:hover,.sort-indicator{color:var(--theme-accent-color)}.sort-indicator{font-size:12px}.table-row{border-bottom:1px solid var(--theme-border-color);transition:all .2s ease}.table-row:hover{background:var(--theme-bg-secondary)}.table-row.selected{background:rgba(var(--theme-accent-color-rgb,74,144,226),.1);border-left:3px solid var(--theme-accent-color)}.table-cell{padding:12px 8px;font-size:13px;color:var(--theme-text-primary);vertical-align:top}.select-all-container{display:flex;align-items:center;gap:8px}.select-checkbox{width:18px;height:18px;cursor:pointer;accent-color:var(--theme-accent-color)}.select-all-text{font-size:12px;color:var(--theme-text-secondary);white-space:nowrap}.sender-cell{display:flex;align-items:center}.sender-badge{padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.sender-badge.user{background:rgba(74,144,226,.1);color:#4a90e2;border:1px solid rgba(74,144,226,.3)}.sender-badge.assistant{background:rgba(52,168,83,.1);color:#34a853;border:1px solid rgba(52,168,83,.3)}.content-cell{max-width:300px}.content-text{line-height:1.4;word-wrap:break-word;color:var(--theme-text-secondary)}.time-cell{font-size:11px;color:var(--theme-text-tertiary);white-space:nowrap}.industrial-pagination{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--theme-bg-secondary);border-top:1px solid var(--theme-border-color);flex-shrink:0}.pagination-info{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--theme-text-tertiary)}.pagination-controls{display:flex;align-items:center;gap:12px}.page-size-selector{display:flex;align-items:center;gap:6px;margin-right:0}.page-size-label{font-size:12px;color:var(--theme-text-tertiary);white-space:nowrap}.page-size-select{font-size:12px;font-weight:500;color:var(--theme-text-primary);height:24px;background:var(--theme-bg-primary);border:1px solid var(--theme-border-color);border-radius:6px;cursor:pointer;transition:all .2s ease;min-width:60px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23333' d='M5 7L1 3h8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:10px;padding:2px 26px 2px 8px}.page-size-select:hover{border-color:var(--theme-accent-color);box-shadow:0 2px 4px rgba(0,0,0,.1)}.page-size-select:focus{outline:none;border-color:var(--theme-accent-color);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.theme-plum-night .page-size-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23fff' d='M5 7L1 3h8z'/%3E%3C/svg%3E");color:var(--theme-text-primary);background-color:var(--theme-bg-secondary);border-color:var(--theme-border-color)}.theme-plum-night .page-size-select:hover{border-color:var(--theme-accent-color)}.theme-plum-night .page-size-select:focus{border-color:var(--theme-accent-color);box-shadow:0 0 0 3px rgba(0,123,255,.2)}.industrial-batch-delete-container .pagination-btn{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;border:1px solid var(--theme-border-color);background:var(--theme-bg-primary);color:var(--theme-text-primary)}.industrial-batch-delete-container .pagination-btn:hover:not(:disabled){background:var(--theme-accent-color);color:white;border-color:var(--theme-accent-color)}.industrial-batch-delete-container .pagination-btn:disabled{background:var(--theme-bg-tertiary);color:var(--theme-text-secondary);cursor:not-allowed;opacity:.5}.industrial-batch-delete-container .pagination-btn.active{background:var(--theme-accent-color);color:white;border-color:var(--theme-accent-color)}.page-numbers{display:flex;gap:4px}@media (max-width:768px){.industrial-batch-delete-container{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.industrial-toolbar{padding:12px 16px;flex-direction:column;gap:12px;align-items:stretch}.toolbar-left{justify-content:center}.industrial-back-btn{left:16px;top:10px}.toolbar-right{justify-content:center;width:100%}.batch-delete-toolbar-btn{flex:1;padding:3px 14px;font-size:12px;max-width:none;height:24px}.quick-delete-menu{right:0;left:auto;width:auto;min-width:200px}.quick-delete-menu-item{padding:14px 16px;font-size:15px}.industrial-table-container{padding:0 12px;min-height:0}.table-header{padding:8px 4px;font-size:11px}.table-cell{padding:8px 4px;font-size:12px}.content-cell{max-width:200px}.content-text{font-size:12px}.sender-badge{padding:2px 6px}.sender-badge,.time-cell{font-size:10px}.industrial-pagination{padding:12px 16px;flex-direction:column;gap:12px;align-items:center}.pagination-controls{flex-wrap:wrap;justify-content:center;gap:8px}.page-size-selector{order:0;width:auto;justify-content:center;margin-right:0;margin-bottom:0}.industrial-batch-delete-container .pagination-btn{padding:8px 10px;font-size:11px}.page-numbers{order:-1}}@media (orientation:landscape) and (max-width:768px){.industrial-toolbar{flex-direction:row;gap:12px}.toolbar-left{justify-content:flex-start}.toolbar-right{justify-content:flex-end}.batch-delete-toolbar-btn{flex:1;padding:3px 14px;font-size:12px;max-width:none;height:24px}.industrial-pagination{flex-direction:row;gap:12px}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.industrial-batch-delete-container{animation:fadeIn .3s ease-out}.industrial-table-container::-webkit-scrollbar{width:8px;height:8px}.industrial-table-container::-webkit-scrollbar-track{background:var(--theme-bg-tertiary);border-radius:4px}.industrial-table-container::-webkit-scrollbar-thumb{background:var(--theme-border-color);border-radius:4px}.industrial-table-container::-webkit-scrollbar-thumb:hover{background:var(--theme-accent-color)}.industrial-modal-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:10001;backdrop-filter:blur(2px);animation:fadeIn .2s ease-out}.industrial-modal-content{background:var(--theme-bg-primary,#ffffff);width:90%;max-width:400px;border-radius:12px;padding:24px;box-shadow:0 8px 32px rgba(0,0,0,.2);display:flex;flex-direction:column;gap:16px;animation:slideUp .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes slideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.industrial-modal-title{margin:0;font-size:18px;font-weight:600;color:var(--theme-text-primary,#333);text-align:center;border-bottom:1px solid var(--theme-border-color,#eee);padding-bottom:12px}.industrial-modal-body{display:flex;flex-direction:column;gap:16px}.industrial-modal-desc{margin:0;font-size:13px;color:var(--theme-text-secondary,#666);text-align:center;line-height:1.5}.range-inputs-container{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px}.range-input-group{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1}.range-input-group label{font-size:12px;color:var(--theme-text-secondary,#666);font-weight:500}.range-number-input{width:100%;height:44px;border:1px solid var(--theme-border-color,#ddd);border-radius:8px;font-size:16px;text-align:center;background:var(--theme-bg-secondary,#f9f9f9);color:var(--theme-text-primary,#333);transition:all .2s ease;font-weight:500}.range-number-input:focus{outline:none;border-color:var(--theme-accent-color,#4a90e2);background:var(--theme-bg-primary,#fff);box-shadow:0 0 0 3px rgba(74,144,226,.1)}.range-number-input::-webkit-inner-spin-button,.range-number-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.range-input-separator{font-size:20px;font-weight:600;color:var(--theme-text-secondary,#999);padding-top:18px}.range-error-message{color:#ff3b30;background:rgba(255,59,48,.1);padding:8px;margin-top:4px}.range-error-message,.range-warning-message{font-size:12px;text-align:center;border-radius:6px}.range-warning-message{color:#ff9800;background:rgba(255,152,0,.1);padding:10px;font-weight:500;line-height:1.4}.industrial-modal-footer{display:flex;gap:12px;margin-top:8px;padding-top:16px;border-top:1px solid var(--theme-border-color,#eee)}.industrial-modal-btn{flex:1;height:44px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;border:none}.industrial-batch-delete-container .cancel-btn{background:var(--theme-bg-secondary,#f2f2f7);color:var(--theme-text-secondary,#666)}.industrial-batch-delete-container .cancel-btn:hover{background:var(--theme-border-color,#e5e5ea)}.industrial-batch-delete-container .confirm-btn{background:#ff3b30;color:white;box-shadow:0 4px 12px rgba(255,59,48,.3)}.industrial-batch-delete-container .confirm-btn:hover{background:#ff2d20}.industrial-batch-delete-container .confirm-btn:disabled{background:var(--theme-border-color,#ddd);color:var(--theme-text-tertiary,#999);cursor:not-allowed;box-shadow:none}.message-edit-modal-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;animation:messageEditModalFadeIn .2s ease-out;-webkit-overflow-scrolling:touch;transform:translateZ(0)}.theme-plum-night .message-edit-modal-backdrop{background:rgba(0,0,0,.8)}@keyframes messageEditModalFadeIn{0%{opacity:0;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}to{opacity:1;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}}.message-edit-modal{background:var(--theme-bg-primary,#ffffff);border-radius:16px;box-shadow:0 20px 60px var(--theme-shadow-heavy,rgba(0,0,0,.3));width:100%;max-width:800px;max-height:80vh;display:flex;flex-direction:column;animation:messageEditModalSlideIn .3s ease-out;overflow:hidden;border:1px solid var(--theme-border-color,#e0e0e0)}@keyframes messageEditModalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.message-edit-modal-header{padding:24px 24px 16px;border-bottom:1px solid var(--theme-border-color,#e0e0e0);background:linear-gradient(135deg,var(--theme-bg-secondary,#f8f9fa) 0,var(--theme-bg-primary,#ffffff) 100%)}.message-edit-modal-title{font-size:20px;font-weight:600;color:var(--theme-text-primary,#1a1a1a);margin-bottom:4px}.message-edit-modal-sender{font-size:14px;color:var(--theme-text-secondary,#666666);font-weight:500}.message-edit-modal-content{flex:1;padding:24px;display:flex;flex-direction:column;min-height:0}.message-edit-modal-textarea{width:100%;flex:1;min-height:480px;max-height:600px;padding:16px;border:2px solid var(--theme-border-color,#e0e0e0);font-size:16px;line-height:1.4;font-family:var(--font-family-base,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif);resize:vertical;outline:none;transition:all .2s ease;background:var(--theme-bg-secondary,#fafafa);color:var(--theme-text-primary,#1a1a1a);-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;font-size:16px!important;caret-color:var(--theme-accent-color,#2196F3);border-radius:12px;box-sizing:border-box}.message-edit-modal-textarea:focus{border-color:var(--theme-accent-color,#2196F3);background:var(--theme-bg-primary,#ffffff);box-shadow:0 0 0 4px var(--theme-accent-color,rgba(33,150,243,.1))}.message-edit-modal-textarea::placeholder{color:var(--theme-text-tertiary,#999999);font-style:italic}.message-edit-modal-footer{padding:16px 24px 24px;border-top:1px solid var(--theme-border-color,#e0e0e0);background:var(--theme-bg-secondary,#f8f9fa);display:flex;justify-content:center;align-items:center}.message-edit-modal-hint{font-size:12px;color:#666666;font-style:italic}.message-edit-modal-actions{display:flex;gap:12px;align-items:center}.message-edit-cancel-btn,.message-edit-save-btn{padding:7px 14px;border:none;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:48px}.message-edit-cancel-btn{background:var(--theme-bg-tertiary,#f5f5f5);color:var(--theme-text-secondary,#666666);border:1px solid var(--theme-border-color,#e0e0e0)}.message-edit-cancel-btn:hover{background:var(--theme-bg-secondary,#eeeeee);color:var(--theme-text-primary,#333333)}.message-edit-save-btn{background:linear-gradient(135deg,var(--theme-accent-color,#2196F3) 0,var(--theme-accent-hover,#1976D2) 100%);color:#ffffff;box-shadow:0 2px 8px var(--theme-accent-color,rgba(33,150,243,.3))}.message-edit-save-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-accent-hover,#1976D2) 0,var(--theme-accent-color,#1565C0) 100%);box-shadow:0 4px 12px var(--theme-accent-color,rgba(33,150,243,.4));transform:translateY(-1px)}.message-edit-save-btn:disabled{background:var(--theme-text-tertiary,#cccccc);color:var(--theme-text-secondary,#999999);cursor:not-allowed;box-shadow:none;transform:none}@media (max-width:768px){.message-edit-modal-backdrop{padding:10px}.message-edit-modal{max-width:100%;max-height:90vh}.message-edit-modal-header{padding:20px 20px 12px}.message-edit-modal-title{font-size:18px}.message-edit-modal-content{padding:20px}.message-edit-modal-textarea{min-height:384px;max-height:480px;font-size:15px;padding:14px}.message-edit-modal-footer{padding:12px 20px 20px}.message-edit-modal-actions{justify-content:center}.message-edit-cancel-btn,.message-edit-save-btn{padding:8px 12px;font-size:13px}}@media (max-width:480px){.message-edit-modal-backdrop{padding:5px}.message-edit-modal-header{padding:16px 16px 8px}.message-edit-modal-title{font-size:16px}.message-edit-modal-sender{font-size:13px}.message-edit-modal-content{padding:16px}.message-edit-modal-textarea{min-height:336px;max-height:420px;font-size:14px;padding:12px}.message-edit-modal-footer{padding:8px 16px 16px}.message-edit-cancel-btn,.message-edit-save-btn{padding:7px 10px;font-size:12px}}@supports (-webkit-touch-callout:none){.message-edit-modal-backdrop{position:fixed;-webkit-overflow-scrolling:touch;transform:translateZ(0)}.message-edit-modal-textarea{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;font-size:16px!important;caret-color:var(--theme-accent-color,#2196F3);border-radius:12px;box-sizing:border-box;padding:16px;line-height:1.4}.message-edit-modal-textarea:focus{-webkit-tap-highlight-color:transparent;outline:none;border-color:var(--theme-accent-color,#2196F3);background:var(--theme-bg-primary,#ffffff);box-shadow:0 0 0 4px var(--theme-accent-color,rgba(33,150,243,.1))}}.RichMessage_frame__eGM0R{--rich-tone:var(--chat-accent,#a93b5b);--rich-tone-strong:color-mix(in srgb,var(--rich-tone) 82%,var(--chat-text,#2e2228));--rich-tint:color-mix(in srgb,var(--rich-tone) 10%,var(--chat-surface,#fff));position:relative;isolation:isolate;width:min(19rem,calc(100vw - 5.35rem));max-width:100%;overflow:hidden;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--rich-tone) 16%,transparent);border-radius:1rem;color:var(--chat-text,var(--theme-text-primary,#2e2228));background:color-mix(in srgb,var(--chat-surface,#fff) 96%,var(--rich-tone) 4%);box-shadow:0 .2rem .7rem color-mix(in srgb,var(--chat-text,#2e2228) 6%,transparent);text-align:left;transform-origin:center}button.RichMessage_frame__eGM0R{padding:0;font:inherit}.RichMessage_neutral__wIsg8{--rich-tone:var(--chat-accent,#a93b5b)}.RichMessage_money__vEnXb{--rich-tone:#a84d53}.RichMessage_gift__1tQaM{--rich-tone:#955f78}.RichMessage_location__6TmuJ{--rich-tone:#4f756a}.RichMessage_status__aYz0L{--rich-tone:#687262}.RichMessage_header__0Uy4X{display:flex;min-height:3.5rem;align-items:center;gap:.7rem;padding:.8rem .9rem .68rem}.RichMessage_icon__4JCMV{display:grid;width:2.35rem;height:2.35rem;flex:0 0 2.35rem;place-items:center;border-radius:.78rem;color:var(--rich-tone-strong);background:color-mix(in srgb,var(--rich-tone) 13%,var(--chat-surface,#fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rich-tone) 12%,transparent)}.RichMessage_heading__5Gqp7{display:flex;min-width:0;flex:1;flex-direction:column;gap:.12rem}.RichMessage_eyebrow__cEa_F{overflow:hidden;color:color-mix(in srgb,var(--chat-muted,#7c6a72) 88%,var(--rich-tone));font-size:.64rem;font-weight:650;letter-spacing:.08em;line-height:1.25;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.RichMessage_title__BcXXj{display:-webkit-box;overflow:hidden;color:var(--chat-text,#2e2228);font-size:.92rem;font-weight:650;letter-spacing:-.012em;line-height:1.3;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.RichMessage_badge__JlEQR{max-width:6.25rem;flex:0 0 auto;padding:.25rem .42rem;border-radius:.42rem;color:var(--rich-tone-strong);background:color-mix(in srgb,var(--rich-tone) 11%,var(--chat-surface,#fff));font-size:.66rem;font-weight:650;line-height:1.2;text-align:center}.RichMessage_body__TYZAm{padding:.15rem .95rem .9rem}.RichMessage_footer__Hssx1{display:flex;min-height:2.25rem;align-items:center;justify-content:space-between;gap:.65rem;padding:.58rem .95rem .68rem;border-top:1px solid color-mix(in srgb,var(--rich-tone) 12%,transparent);color:var(--chat-muted,#7c6a72);background:color-mix(in srgb,var(--chat-surface,#fff) 54%,transparent);font-size:.7rem;line-height:1.35}.RichMessage_footer__Hssx1>*{min-width:0;overflow-wrap:anywhere}.RichMessage_amount__vpwDW{color:var(--rich-tone-strong);font-size:clamp(1.55rem,7vw,2rem);font-variant-numeric:tabular-nums;font-weight:720;letter-spacing:-.045em;line-height:1}.RichMessage_message__VdxVA{margin-top:.62rem;color:color-mix(in srgb,var(--chat-text,#2e2228) 88%,var(--chat-muted,#7c6a72));font-size:.84rem;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.RichMessage_meta__KuOkM{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .55rem;color:var(--chat-muted,#7c6a72);font-size:.7rem;line-height:1.45}.RichMessage_metaStrong__4dd3H{color:var(--chat-text,#2e2228);font-weight:600}.RichMessage_rows__gz4ty{display:flex;flex-direction:column;gap:.42rem}.RichMessage_row__q9SjN{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:.75rem;color:var(--chat-muted,#7c6a72);font-size:.75rem;line-height:1.45}.RichMessage_rowValue__w3te5{min-width:0;color:var(--chat-text,#2e2228);font-variant-numeric:tabular-nums;font-weight:600;overflow-wrap:anywhere;text-align:right}.RichMessage_divider__kCloa{height:1px;margin:.75rem 0;background:color-mix(in srgb,var(--rich-tone) 12%,transparent)}.RichMessage_actionHint__4igb7{display:inline-flex;align-items:center;gap:.25rem;color:var(--rich-tone-strong);font-weight:650}.RichMessage_actionHint__4igb7 svg{width:.85rem;height:.85rem}.RichMessage_inlineAction__OQExi{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.3rem;margin:-.35rem -.45rem -.35rem 0;padding:.45rem .55rem;border:0;border-radius:.68rem;color:var(--rich-tone-strong);background:transparent;font:inherit;font-weight:680;cursor:pointer}.RichMessage_inlineAction__OQExi:hover{background:color-mix(in srgb,var(--rich-tone) 10%,transparent)}.RichMessage_inlineAction__OQExi:active{transform:scale(.97)}.RichMessage_inlineAction__OQExi:focus-visible{outline:2px solid color-mix(in srgb,var(--rich-tone) 34%,transparent);outline-offset:-2px}.RichMessage_inlineAction__OQExi svg{width:.9rem;height:.9rem}.RichMessage_error__A3sPY{padding:.62rem .7rem;border-radius:.65rem;color:#8f303c;background:color-mix(in srgb,#a83d4b 10%,var(--chat-surface,#fff));font-size:.75rem;line-height:1.45}.RichMessage_sandbox__ysGIV{overflow:hidden;border-radius:.65rem}.RichMessage_mediaShell__HfpQY{width:min(11rem,calc(100vw - 5.35rem));max-width:100%}.RichMessage_mediaCaption__JHjvc{margin-bottom:.45rem;padding:.55rem .7rem;border-radius:.72rem;color:var(--chat-text,#2e2228);background:color-mix(in srgb,var(--chat-surface,#fff) 92%,transparent);font-size:.82rem;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.RichMessage_mediaGrid__hfkCp{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem;overflow:hidden;border-radius:.55rem;background:var(--chat-soft,#eee2e5)}.RichMessage_mediaGrid__hfkCp[data-count="1"]{grid-template-columns:minmax(0,1fr)}.RichMessage_mediaGrid__hfkCp[data-count="3"]>:first-child{grid-row:span 2}.RichMessage_mediaButton__0fjyA{position:relative;display:block;width:100%;min-height:5rem;overflow:hidden;padding:0;border:0;border-radius:0;color:var(--chat-muted,#7c6a72);background:var(--chat-soft,#eee2e5);cursor:default}button.RichMessage_mediaButton__0fjyA:not(:disabled){cursor:pointer}.RichMessage_mediaGrid__hfkCp[data-count="1"] .RichMessage_mediaButton__0fjyA{min-height:7rem;max-height:11rem;border-radius:.55rem}.RichMessage_mediaButton__0fjyA:focus-visible{z-index:1;outline:3px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 28%,transparent);outline-offset:-3px}.RichMessage_mediaButton__0fjyA:disabled{cursor:default}.RichMessage_mediaShellSingle__N2XGu{--chat-image-max-width:min(11rem,calc(100vw - 5.35rem));width:fit-content;max-width:var(--chat-image-max-width)}.RichMessage_mediaShellSingle__N2XGu .RichMessage_mediaCaption__JHjvc{min-width:9rem}.RichMessage_mediaGrid__hfkCp[data-count="1"]{background:transparent}.RichMessage_mediaGrid__hfkCp[data-count="1"] .RichMessage_mediaButton__0fjyA.RichMessage_mediaSingle__a3V6q{width:auto;min-height:0;max-height:none;line-height:0;background:transparent}.RichMessage_compact__ReoP_{display:flex;width:min(10.75rem,calc(100vw - 5.35rem));min-height:2.5rem;max-width:100%;align-items:center;gap:.48rem;padding:.38rem .5rem;border:1px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 13%,transparent);border-radius:.72rem;color:var(--chat-text,#2e2228);background:color-mix(in srgb,var(--chat-surface,#fff) 94%,var(--chat-accent,#a93b5b) 6%)}button.RichMessage_compact__ReoP_{cursor:pointer;font:inherit;text-align:left}button.RichMessage_compact__ReoP_:disabled{cursor:default;opacity:.78}button.RichMessage_compact__ReoP_:active{transform:scale(.985)}button.RichMessage_compact__ReoP_:focus-visible{outline:3px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 22%,transparent);outline-offset:3px}.RichMessage_compactIcon__77DyS{display:grid;width:1.7rem;height:1.7rem;flex:0 0 1.7rem;place-items:center;border-radius:.52rem;color:var(--chat-accent,#a93b5b);background:var(--chat-soft,#eee2e5)}.RichMessage_compactIcon__77DyS svg{width:1rem;height:1rem}.RichMessage_waveform__6biQ6{display:flex;min-width:0;flex:1;align-items:center;gap:2px}.RichMessage_waveform__6biQ6 span{width:2px;height:var(--bar-height,.7rem);max-height:.8rem;border-radius:99px;background:color-mix(in srgb,var(--chat-accent,#a93b5b) 72%,var(--chat-muted,#7c6a72))}.RichMessage_duration__KAjWC{color:var(--chat-muted,#7c6a72);font-size:.68rem;font-variant-numeric:tabular-nums;font-weight:600}.RichMessage_statusLine__ezI2R{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}.RichMessage_statusAmount__vJcPK{color:var(--rich-tone-strong);font-size:1.2rem;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.025em}.RichMessage_locationMap__h7yGI{position:relative;height:7.2rem;overflow:hidden;border-radius:.75rem;background:radial-gradient(circle at 72% 34%,color-mix(in srgb,var(--rich-tone) 13%,transparent) 0 1.2rem,transparent 1.25rem),color-mix(in srgb,var(--rich-tone) 7%,var(--chat-surface,#fff))}.RichMessage_locationMap__h7yGI:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,color-mix(in srgb,var(--rich-tone) 8%,transparent) 1px,transparent 1px),linear-gradient(color-mix(in srgb,var(--rich-tone) 8%,transparent) 1px,transparent 1px);background-size:1.7rem 1.7rem}.RichMessage_locationRoadA__kM5Fp,.RichMessage_locationRoadB__UXoAA,.RichMessage_locationRoadC__8tgwg{position:absolute;height:.42rem;border-radius:99px;background:color-mix(in srgb,var(--chat-surface,#fff) 88%,var(--rich-tone));box-shadow:0 0 0 1px color-mix(in srgb,var(--rich-tone) 8%,transparent);transform-origin:center}.RichMessage_locationRoadA__kM5Fp{width:125%;top:46%;left:-12%;transform:rotate(-11deg)}.RichMessage_locationRoadB__UXoAA{width:88%;top:64%;left:20%;transform:rotate(28deg)}.RichMessage_locationRoadC__8tgwg{width:74%;top:18%;left:-16%;transform:rotate(38deg)}.RichMessage_locationPin__pp_z4{position:absolute;top:50%;left:54%;display:grid;width:2.75rem;height:2.75rem;place-items:center;border-radius:.9rem .9rem .9rem .25rem;color:var(--chat-surface,#fff);background:var(--rich-tone-strong);box-shadow:0 .5rem 1rem color-mix(in srgb,var(--rich-tone) 25%,transparent);transform:translate(-50%,-50%) rotate(-8deg)}.RichMessage_locationPin__pp_z4 svg{transform:rotate(8deg)}@media (min-width:768px){.RichMessage_frame__eGM0R{width:min(20rem,100%)}.RichMessage_mediaShell__HfpQY{width:min(12rem,calc(100vw - 5.35rem))}.RichMessage_mediaShellSingle__N2XGu{--chat-image-max-width:12rem;width:fit-content}}@media (max-width:380px){.RichMessage_compact__ReoP_,.RichMessage_frame__eGM0R{width:min(100%,calc(100vw - 4.85rem))}.RichMessage_mediaShell__HfpQY{width:min(11rem,calc(100vw - 4.85rem))}.RichMessage_mediaShellSingle__N2XGu{--chat-image-max-width:min(11rem,calc(100vw - 4.85rem));width:fit-content}.RichMessage_header__0Uy4X{padding-inline:.78rem}.RichMessage_body__TYZAm,.RichMessage_footer__Hssx1{padding-inline:.8rem}}@media (prefers-reduced-motion:reduce){.RichMessage_inlineAction__OQExi:active,button.RichMessage_compact__ReoP_:active{transform:none}}.AdaptiveChatOverlay_overlay__K1PjF{--chat-canvas:var(--lk-canvas,var(--theme-bg-primary,#f7f0ed));--chat-surface:var(--lk-surface,var(--theme-bg-secondary,#fffaf8));--chat-soft:var(--lk-soft,var(--theme-bg-tertiary,#eee2e5));--chat-accent:var(--lk-primary,var(--theme-accent-color,#a93b5b));--chat-text:var(--lk-text,var(--theme-text-primary,#2f2529));--chat-muted:var(--lk-muted,var(--theme-text-secondary,#786970));position:fixed;inset:0;z-index:var(--chat-overlay-z,10050);display:flex;align-items:flex-end;justify-content:center;padding:0;background:color-mix(in srgb,var(--chat-text) 28%,transparent);overscroll-behavior:contain}.AdaptiveChatOverlay_panel__hT_J3{display:flex;width:100%;max-height:min(86dvh,46rem);flex-direction:column;overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-muted) 16%,transparent);border-radius:1.25rem 1.25rem 0 0;color:var(--chat-text);background:color-mix(in srgb,var(--chat-surface) 98%,var(--chat-canvas) 2%);box-shadow:0 -1rem 3rem color-mix(in srgb,var(--chat-text) 16%,transparent);will-change:transform,opacity}.AdaptiveChatOverlay_handle__TU5_3{display:grid;height:1.1rem;flex:0 0 1.1rem;place-items:end center}.AdaptiveChatOverlay_handle__TU5_3 span{width:2rem;height:.22rem;border-radius:99px;background:color-mix(in srgb,var(--chat-muted) 35%,transparent)}.AdaptiveChatOverlay_header__GmM_d{display:flex;min-height:3.6rem;flex:0 0 auto;align-items:center;gap:.7rem;padding:.55rem .75rem .65rem 1rem}.AdaptiveChatOverlay_leading__TKdL6{display:grid;flex:0 0 auto;place-items:center}.AdaptiveChatOverlay_heading__yC_Ij{min-width:0;flex:1}.AdaptiveChatOverlay_heading__yC_Ij h2{overflow:hidden;margin:0;font-size:1rem;font-weight:680;letter-spacing:-.018em;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.AdaptiveChatOverlay_subtitle__awz42{overflow:hidden;margin-top:.12rem;color:var(--chat-muted);font-size:.7rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.AdaptiveChatOverlay_close__qBd5K{display:grid;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;place-items:center;padding:0;border:0;border-radius:.85rem;color:var(--chat-muted);background:var(--chat-soft);cursor:pointer}.AdaptiveChatOverlay_close__qBd5K svg{width:1.1rem;height:1.1rem;stroke-width:1.8}.AdaptiveChatOverlay_close__qBd5K:active{transform:scale(.97)}.AdaptiveChatOverlay_close__qBd5K:disabled{cursor:not-allowed;opacity:.46}.AdaptiveChatOverlay_close__qBd5K:focus-visible{outline:3px solid color-mix(in srgb,var(--chat-accent) 22%,transparent);outline-offset:2px}.AdaptiveChatOverlay_body__R2CrC{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:.25rem 1rem max(1.15rem,env(safe-area-inset-bottom))}.AdaptiveChatOverlay_footer__EzdUe{display:flex;flex:0 0 auto;justify-content:flex-end;gap:.6rem;padding:.75rem 1rem max(.75rem,env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb,var(--chat-muted) 12%,transparent);background:var(--chat-surface)}.AdaptiveChatOverlay_media__GHDFh{height:min(92dvh,54rem);max-height:92dvh}@media (min-width:680px){.AdaptiveChatOverlay_overlay__K1PjF{align-items:center;padding:1.5rem}.AdaptiveChatOverlay_panel__hT_J3{width:min(27rem,100%);border-radius:1.15rem;box-shadow:0 1.25rem 4rem color-mix(in srgb,var(--chat-text) 20%,transparent)}.AdaptiveChatOverlay_wide__TkOKG{width:min(38rem,100%)}.AdaptiveChatOverlay_media__GHDFh{width:min(64rem,100%);height:min(88dvh,52rem)}.AdaptiveChatOverlay_handle__TU5_3{display:none}.AdaptiveChatOverlay_header__GmM_d{padding-top:.8rem}.AdaptiveChatOverlay_overlay__K1PjF[data-placement=sheet-popover]{align-items:flex-start;justify-content:flex-end;padding:calc(env(safe-area-inset-top, 0px) + 4rem) .75rem .75rem}.AdaptiveChatOverlay_overlay__K1PjF[data-placement=sheet-popover] .AdaptiveChatOverlay_panel__hT_J3{width:min(23.75rem,calc(100vw - 1.5rem));height:min(76dvh,42rem)}}@media (prefers-reduced-motion:reduce){.AdaptiveChatOverlay_close__qBd5K:active{transform:none}}.RichMessageDialog_closeAction__N0rLb{min-width:5rem;min-height:2.75rem;padding:.65rem 1rem;border:0;border-radius:.8rem;color:var(--theme-message-user-text,#fff);background:var(--chat-accent,var(--theme-accent-color,#a93b5b));font:inherit;font-size:.82rem;font-weight:680;cursor:pointer}.RichMessageDialog_closeAction__N0rLb:active{transform:scale(.98)}.RichMessageDialog_closeAction__N0rLb:focus-visible{outline:3px solid color-mix(in srgb,var(--chat-accent,#a93b5b) 22%,transparent);outline-offset:2px}.RichMessageDialog_closeAction__N0rLb:disabled{cursor:not-allowed;opacity:.46}@media (prefers-reduced-motion:reduce){.RichMessageDialog_closeAction__N0rLb:active{transform:none}}.ReceiveRedPacket_root__uWm4w{display:flex;flex-direction:column;gap:.9rem;padding:.2rem 0 .4rem}.ReceiveRedPacket_packet__f7BGx{--packet-tone:#a84d53;position:relative;overflow:hidden;padding:1rem;border:1px solid color-mix(in srgb,var(--packet-tone) 18%,transparent);border-radius:1rem;color:var(--chat-text,#2f2529);background:radial-gradient(circle at 88% 4%,color-mix(in srgb,var(--packet-tone) 18%,transparent),transparent 42%),color-mix(in srgb,var(--packet-tone) 10%,var(--chat-surface,#fffaf8))}.ReceiveRedPacket_packet__f7BGx:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(color-mix(in srgb,var(--packet-tone) 18%,transparent) .55px,transparent .55px);background-size:7px 7px;opacity:.22}.ReceiveRedPacket_opened__7alMp{--packet-tone:#687262}.ReceiveRedPacket_sender__zp7iv{position:relative;z-index:1;display:flex;align-items:center;gap:.75rem}.ReceiveRedPacket_avatar__p8TZB{width:3rem;height:3rem;flex:0 0 3rem;border-radius:.9rem;object-fit:cover}.ReceiveRedPacket_senderCopy___kqOb{display:flex;min-width:0;flex-direction:column;gap:.18rem}.ReceiveRedPacket_senderCopy___kqOb strong{overflow:hidden;font-size:.9rem;font-weight:680;text-overflow:ellipsis;white-space:nowrap}.ReceiveRedPacket_senderCopy___kqOb span{color:var(--chat-muted,#786970);font-size:.74rem;line-height:1.4;overflow-wrap:anywhere}.ReceiveRedPacket_openArea__1iD12,.ReceiveRedPacket_result__w_Bdt{position:relative;z-index:1;display:flex;min-height:10.5rem;align-items:center;justify-content:center;flex-direction:column;gap:.45rem;text-align:center}.ReceiveRedPacket_seal__j49uT{display:grid;width:4.25rem;height:4.25rem;margin-bottom:.25rem;place-items:center;border:1px solid color-mix(in srgb,var(--packet-tone) 35%,transparent);border-radius:1.35rem;color:var(--chat-surface,#fff);background:var(--packet-tone);box-shadow:0 .75rem 1.5rem color-mix(in srgb,var(--packet-tone) 24%,transparent);cursor:pointer;will-change:transform}.ReceiveRedPacket_seal__j49uT svg{width:1.75rem;height:1.75rem}.ReceiveRedPacket_seal__j49uT:disabled{cursor:wait;opacity:.72}.ReceiveRedPacket_seal__j49uT:focus-visible{outline:3px solid color-mix(in srgb,var(--packet-tone) 28%,transparent);outline-offset:3px}.ReceiveRedPacket_openArea__1iD12>strong{font-size:.95rem;font-weight:680}.ReceiveRedPacket_openArea__1iD12>span{color:var(--chat-muted,#786970);font-size:.72rem}.ReceiveRedPacket_result__w_Bdt strong{color:color-mix(in srgb,var(--packet-tone) 86%,var(--chat-text,#2f2529));font-size:2.25rem;font-variant-numeric:tabular-nums;font-weight:740;letter-spacing:-.05em}.ReceiveRedPacket_resultLabel__jP3Ji{color:var(--chat-muted,#786970);font-size:.74rem}.ReceiveRedPacket_result__w_Bdt>span:last-child{color:var(--chat-muted,#786970);font-size:.7rem;font-variant-numeric:tabular-nums}.ReceiveRedPacket_details__YK2sV{display:flex;margin:0;padding:.1rem .1rem 0;flex-direction:column;gap:.55rem}.ReceiveRedPacket_details__YK2sV>div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.ReceiveRedPacket_details__YK2sV dt{color:var(--chat-muted,#786970);font-size:.75rem}.ReceiveRedPacket_details__YK2sV dd{margin:0;color:var(--chat-text,#2f2529);font-size:.75rem;font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.ReceiveRedPacket_error__cB5F7{padding:.7rem .75rem;border-radius:.7rem;color:#8f303c;background:color-mix(in srgb,#a83d4b 10%,var(--chat-surface,#fff));font-size:.76rem;line-height:1.45}@media (prefers-reduced-motion:reduce){.ReceiveRedPacket_seal__j49uT{will-change:auto}}