.connection-status-desktop{display:flex}.connection-status-mobile{display:none}.mobile-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:8px}.mobile-content{width:100%;min-height:40px}@media (max-width: 768px){.connection-status-desktop{display:none}.connection-status-mobile{display:flex;flex-direction:column}}@media (max-width: 480px){.mobile-header{flex-wrap:wrap}}.mobile-drawer .ant-drawer-header{padding:16px}.mobile-drawer .ant-drawer-close{position:absolute;right:16px;left:auto}.key-tag-floating{border-radius:20px!important;position:absolute;left:50%;transform:translate(-50%,-50%);top:-12px;z-index:10;box-shadow:0 2px 8px #00000026;white-space:nowrap;user-select:none;background:#fff!important;color:#000000e0!important}.dark .key-tag-floating,[data-theme=dark] .key-tag-floating,html.dark .key-tag-floating{box-shadow:0 2px 8px #0006;background:#141414!important;color:#ffffffd9!important}.connection-status-desktop,.connection-status-mobile,.connection-status-mobile .mobile-header{position:relative}.transfer-queue-item{margin-bottom:12px}.transfer-queue-item:last-child{margin-bottom:0}.file-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.file-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.dark .transfer-queue-item{border-bottom-color:var(--color-border)}.dark .transfer-queue-item:hover{background-color:var(--color-bg-secondary)}.receiving-file-item{padding:12px;border-bottom:1px solid var(--color-border-secondary);transition:background-color .2s ease}.receiving-file-item:hover{background-color:var(--color-bg-secondary)}.receiving-file-item:last-child{border-bottom:none}.item-content{display:flex;align-items:flex-start;gap:12px}.file-meta{display:flex;align-items:center;margin-bottom:8px}.progress-wrapper{margin-top:8px}.progress-text{text-align:right;margin-top:4px}.dark .receiving-file-item{border-bottom-color:var(--color-border)}.dark .receiving-file-item:hover{background-color:var(--color-bg-secondary)}.received-file-item{margin-bottom:12px}.received-file-item:last-child{margin-bottom:0}.item-content{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-bg-container);transition:all .2s ease}.item-content:hover{border-color:var(--color-primary);box-shadow:0 2px 8px #0000001a}.file-preview{flex-shrink:0}.image-preview-wrapper{position:relative;cursor:pointer;border-radius:4px;overflow:hidden;transition:transform .2s ease}.image-preview-wrapper:hover{transform:scale(1.05)}.image-preview-wrapper:hover .preview-overlay{opacity:1}.preview-overlay{position:absolute;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease;color:#fff;font-size:20px}.file-icon{width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:var(--color-bg-secondary);border-radius:4px}.file-info{flex:1;min-width:0}.file-header{margin-bottom:4px}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.file-meta{display:flex;align-items:center}.file-actions{flex-shrink:0;display:flex;align-items:center}.dark .received-file-item{border-bottom-color:var(--color-border)}.dark .received-file-item:hover{background-color:var(--color-bg-secondary)}.transfer-queue-list,.receiving-list,.received-list{max-height:400px;overflow-y:auto}.transfer-queue-list>*:first-child,.receiving-list>*:first-child,.received-list>*:first-child{border-top:none}.receiving-section,.received-section{margin-bottom:16px}.receiving-section:last-child,.received-section:last-child{margin-bottom:0}.rich-text-editor{flex:1;width:100%;min-height:0;max-height:100%;padding:20px;font-size:16px;font-family:inherit;background-color:var(--color-bg-container);color:var(--color-text);transition:background-color .3s ease,color .3s ease;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word;border:none;outline:none}.rich-text-editor div,.rich-text-editor p,.rich-text-editor section,.rich-text-editor article,.rich-text-editor aside,.rich-text-editor header,.rich-text-editor footer,.rich-text-editor nav,.rich-text-editor main,.rich-text-editor table,.rich-text-editor ul,.rich-text-editor ol,.rich-text-editor li,.rich-text-editor blockquote,.rich-text-editor pre,.rich-text-editor h1,.rich-text-editor h2,.rich-text-editor h3,.rich-text-editor h4,.rich-text-editor h5,.rich-text-editor h6{max-width:100%;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.rich-text-editor span,.rich-text-editor a,.rich-text-editor strong,.rich-text-editor em,.rich-text-editor code,.rich-text-editor mark{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.rich-text-editor.is-empty:before{content:attr(data-placeholder);color:var(--color-text-placeholder, #999);pointer-events:none;position:absolute}.rich-text-editor img{max-width:100%;height:auto;display:block;margin:10px 0;border-radius:4px}.fullscreen-textarea{position:fixed;inset:0;width:100%;height:100%;max-width:100vw;max-height:100vh;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background-color:var(--color-bg-layout)}.fullscreen-textarea>*:first-child{flex:1;min-height:0;max-height:100%;overflow:hidden}.control-footer{flex-shrink:0;background:var(--color-bg-secondary);border-top:1px solid var(--color-border);padding:12px 20px;transition:background-color .3s ease,border-color .3s ease}@supports (padding: max(0px)){.fullscreen-textarea{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}.not-found-outer{position:fixed;inset:0;background:var(--ant-color-bg-container, #f5f6fa);display:flex;align-items:center;justify-content:center;overflow:auto;z-index:0}.not-found-content{text-align:center;padding:32px 20px;background:var(--ant-color-bg-container, #fff);border-radius:16px;box-shadow:0 4px 24px #00000014;max-width:90vw;width:360px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;word-break:break-all}.not-found-content h1{font-size:4rem;margin:0 0 12px;color:var(--ant-color-primary, #1677ff);font-weight:700;letter-spacing:2px;line-height:1;word-break:break-all}.not-found-content p{font-size:1.1rem;color:#888;margin-bottom:24px;margin-top:0;word-break:break-all}.back-home{display:inline-block;padding:10px 28px;background:var(--ant-color-primary, #1677ff);color:#fff;border-radius:6px;text-decoration:none;font-size:1rem;transition:background .2s;word-break:break-all;max-width:100%;box-sizing:border-box;overflow-wrap:break-word}.back-home:hover{background:var(--ant-color-primary-hover, #4096ff)}:root{--color-bg-container: #ffffff;--color-bg-layout: #f5f5f5;--color-bg-secondary: #fafafa;--color-text: rgba(0, 0, 0, .88);--color-text-secondary: rgba(0, 0, 0, .65);--color-text-tertiary: rgba(0, 0, 0, .45);--color-border: #d9d9d9;--color-border-secondary: #f0f0f0;--color-primary: #1677ff;--color-primary-hover: #4096ff;--color-success: #52c41a;--color-warning: #faad14;--color-error: #ff4d4f;--color-info: #1677ff}.dark{--color-bg-container: #141414;--color-bg-layout: #000000;--color-bg-secondary: #1f1f1f;--color-text: rgba(255, 255, 255, .85);--color-text-secondary: rgba(255, 255, 255, .65);--color-text-tertiary: rgba(255, 255, 255, .45);--color-border: #434343;--color-border-secondary: #303030;--color-primary: #1668dc;--color-primary-hover: #3c89e8;--color-success: #389e0d;--color-warning: #d48806;--color-error: #cf1322;--color-info: #1668dc}*{margin:0;padding:0;box-sizing:border-box}html{height:100%;overflow:hidden}body{height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--color-bg-layout);color:var(--color-text);transition:background-color .3s ease,color .3s ease}#root{width:100%;height:100%;overflow:hidden}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--color-bg-secondary)}::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--color-text-tertiary)}.dark ::-webkit-scrollbar-track{background:var(--color-bg-secondary)}.dark ::-webkit-scrollbar-thumb{background:var(--color-border)}.dark ::-webkit-scrollbar-thumb:hover{background:var(--color-text-secondary)}*{outline:none!important;-webkit-tap-highlight-color:transparent}*:focus{outline:none!important}*:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}button,a,[role=button],[tabindex]{-webkit-tap-highlight-color:transparent;user-select:none}button:focus,a:focus,[role=button]:focus{outline:none}.ant-btn:focus,.ant-btn:active{outline:none}.ant-tag:focus,.ant-tag:active{outline:none}.ant-dropdown-trigger:focus{outline:none}
