:root{--primary:#7b5ea7;--primary-dark:#3d2c8d;--primary-light:#9b7ec8;--bg-sider:#1e1b2e;--bg-header:#fff;--text-light:#ffffffd9;--text-muted:#ffffff73}.app-layout{min-height:100vh}.app-sider{box-shadow:2px 0 8px #00000026;background:var(--bg-sider)!important}.app-sider .ant-layout-sider-children{flex-direction:column;display:flex}.sider-logo{border-bottom:1px solid #ffffff14;flex-shrink:0;align-items:center;gap:12px;height:64px;padding:0 20px;display:flex}.logo-icon{background:linear-gradient(135deg, var(--primary), var(--primary-dark));color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;display:flex}.logo-text{color:#fff;white-space:nowrap;letter-spacing:.3px;font-size:16px;font-weight:700}.bot-selector{flex-shrink:0;padding:8px 12px}.bot-select .ant-select-selector{background:#7b5ea740!important;border-color:#7b5ea766!important;border-radius:8px!important}.bot-select .ant-select-selection-item{color:#fff!important}.bot-select .ant-select-arrow{color:#ffffff80!important}.no-bot-tip{color:#fff9;text-align:center;cursor:pointer;background:#7b5ea733;border:1px dashed #7b5ea780;border-radius:8px;padding:8px 12px;font-size:12px;transition:all .2s}.no-bot-tip:hover{color:#fff;background:#7b5ea759}.header-bot-name{color:#333;margin-left:16px;font-size:14px;font-weight:500}.app-menu{flex:1;padding:8px 0;background:0 0!important;border:none!important}.app-menu .ant-menu-item,.app-menu .ant-menu-submenu-title{color:var(--text-light)!important;border-radius:8px!important;width:calc(100% - 16px)!important;margin:2px 8px!important}.app-menu .ant-menu-item:hover,.app-menu .ant-menu-submenu-title:hover{color:#fff!important;background:#7b5ea733!important}.app-menu .ant-menu-item-selected{background:linear-gradient(135deg, var(--primary), var(--primary-dark))!important;color:#fff!important}.app-menu .ant-menu-sub{background:0 0!important}.app-menu .ant-menu-sub .ant-menu-item{padding-left:40px!important}.app-header{z-index:100;justify-content:space-between;align-items:center;height:64px;display:flex;position:sticky;top:0;box-shadow:0 1px 4px #00000014;background:var(--bg-header)!important;padding:0 24px!important}.header-left,.header-right{align-items:center;display:flex}.collapse-btn,.icon-btn{cursor:pointer;color:#666;background:0 0;border:none;border-radius:8px;align-items:center;padding:8px;font-size:16px;transition:all .2s;display:flex}.collapse-btn:hover,.icon-btn:hover{color:var(--primary);background:#f5f5f5}.user-info{cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:4px 8px;transition:background .2s;display:flex}.user-info:hover{background:#f5f5f5}.user-name{color:#333;font-size:14px;font-weight:500}.app-content{background:#f0f2f5;min-height:calc(100vh - 64px);padding:24px;overflow:auto}.stat-card{background:#fff;border-radius:12px;padding:20px 24px;transition:box-shadow .2s;box-shadow:0 1px 4px #0000000f}.login-page{background:#f0f2f5;justify-content:center;align-items:center;min-height:100vh;display:flex;position:relative;overflow:hidden}.login-bg{opacity:.95;background:linear-gradient(135deg,#1e1b2e 0%,#3d2c8d 50%,#7b5ea7 100%);position:absolute;inset:0}.login-container{z-index:1;border-radius:20px;width:900px;min-height:560px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 64px #0000004d}.login-brand{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border-right:1px solid #ffffff1a;flex-direction:column;flex:1;justify-content:center;padding:48px 40px;display:flex}.brand-logo{color:#fff;background:linear-gradient(135deg,#7b5ea7,#3d2c8d);border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:24px;font-size:32px;display:flex;box-shadow:0 8px 24px #7b5ea766}.brand-title{color:#fff!important;margin-bottom:12px!important;font-size:28px!important}.brand-desc{margin-bottom:32px;font-size:15px;line-height:1.8;display:block;color:#ffffffb3!important}.brand-features{flex-direction:column;gap:12px;display:flex}.feature-item{color:#ffffffd9;align-items:center;gap:10px;font-size:14px;display:flex}.feature-dot{background:#7b5ea7;border-radius:50%;flex-shrink:0;width:8px;height:8px;box-shadow:0 0 8px #7b5ea799}.login-form-wrap{background:#fff;justify-content:center;align-items:center;width:400px;padding:48px 40px;display:flex}.login-form-card{width:100%}.login-form-card .ant-tabs-nav{margin-bottom:24px}.submit-btn{background:linear-gradient(135deg,#7b5ea7,#3d2c8d)!important;border:none!important;border-radius:10px!important;height:44px!important;font-size:15px!important;font-weight:600!important}.submit-btn:hover{opacity:.9}.login-form-card .ant-input-affix-wrapper{border-radius:10px}.login-form-card .ant-form-item{margin-bottom:16px}.dashboard-page{max-width:1400px}.stat-card{background:#fff;border-radius:12px;align-items:center;gap:16px;padding:20px 24px;transition:box-shadow .2s;display:flex;box-shadow:0 1px 4px #0000000f}.stat-card:hover{box-shadow:0 4px 16px #0000001a}.stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:22px;display:flex}.chart-card{border-radius:12px!important;box-shadow:0 1px 4px #0000000f!important}.chart-card .ant-card-head{border-bottom:1px solid #f0f0f0;font-weight:600}.bot-status-card{cursor:pointer;transition:box-shadow .2s,transform .2s;border-radius:12px!important}.bot-status-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #7b5ea726!important}.bots-page{max-width:1200px}.scene-card{border:1px solid #f0f0f0;border-radius:8px;margin-bottom:10px;padding:12px 16px;transition:border-color .2s}.scene-card:hover{border-color:#7b5ea7}.scene-desc{color:#999;margin-top:4px;margin-left:24px;font-size:12px}.bot-card{border-radius:12px!important;transition:box-shadow .2s,transform .2s!important}.bot-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #7b5ea726!important}.tg-preview-wrap{flex-direction:column;align-items:center;display:flex}.tg-preview-title{color:#999;letter-spacing:.5px;text-transform:uppercase;margin-bottom:12px;font-size:12px;font-weight:500}.tg-phone{background:#fff;border-radius:24px;flex-direction:column;width:260px;min-height:420px;display:flex;overflow:hidden;box-shadow:0 8px 32px #00000026,0 0 0 8px #1a1a2e}.tg-phone-bar{background:#fff;border-bottom:1px solid #f0f0f0;flex-shrink:0;align-items:center;gap:10px;padding:12px 14px 10px;display:flex}.tg-phone-bar-info{flex-direction:column;display:flex}.tg-phone-bot-name{color:#1a1a1a;font-size:13px;font-weight:700;line-height:1.3}.tg-phone-status{color:#52c41a;font-size:11px}.tg-chat-area{background:#e5ddd5 url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bdb0' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");flex:1;padding:12px 10px;overflow-y:auto}.tg-empty-hint{text-align:center;color:#00000059;background:#fff9;border-radius:12px;margin-top:60px;padding:8px 12px;font-size:12px}.tg-bubble-row{align-items:flex-end;gap:6px;display:flex}.tg-bubble{background:#fff;border-radius:12px 12px 12px 2px;max-width:200px;position:relative;overflow:hidden;box-shadow:0 1px 2px #0000001a}.tg-media-wrap{border-radius:10px 10px 0 0;width:100%;max-height:160px;overflow:hidden}.tg-media-img{object-fit:cover;width:100%;height:160px;display:block}.tg-media-placeholder{color:#fff;background:#1a1a2e;border-radius:10px 10px 0 0;flex-direction:column;justify-content:center;align-items:center;width:100%;height:120px;font-size:28px;display:flex}.tg-audio-bar{align-items:center;gap:8px;padding:10px 12px;font-size:18px;display:flex}.tg-audio-wave{flex:1;align-items:center;gap:2px;display:flex}.tg-audio-bar-item{background:#7b5ea7;border-radius:2px;width:3px;min-height:4px}.tg-file-bar{align-items:center;gap:10px;padding:10px 12px;display:flex}.tg-file-icon{flex-shrink:0;font-size:28px}.tg-file-name{color:#1a1a1a;word-break:break-all;text-overflow:ellipsis;white-space:nowrap;max-width:120px;font-size:12px;font-weight:600;overflow:hidden}.tg-file-size{color:#999;font-size:11px}.tg-text{color:#1a1a1a;word-break:break-word;padding:8px 10px 4px;font-size:13px;line-height:1.5}.tg-text b{font-weight:700}.tg-text i{font-style:italic}.tg-text code{background:#f0f0f0;border-radius:3px;padding:1px 4px;font-family:monospace;font-size:12px}.tg-caption{color:#333;word-break:break-word;padding:6px 10px 4px;font-size:12px;line-height:1.5}.tg-time{text-align:right;color:#999;padding:2px 8px 6px;font-size:10px}.tg-inline-keyboard{border-top:1px solid #f0f0f0;flex-direction:column;gap:4px;padding:4px;display:flex}.tg-btn-row{gap:4px;display:flex}.tg-inline-btn{color:#7b5ea7;text-align:center;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#f0ebff;border-radius:6px;flex:1;padding:5px 6px;font-size:11px;font-weight:500;transition:background .15s;overflow:hidden}.tg-inline-btn:hover{background:#e0d5f5}.media-picker-toolbar{gap:8px;margin-bottom:12px;display:flex}.media-picker-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;max-height:400px;padding:4px;display:grid;overflow-y:auto}.media-picker-item{cursor:pointer;border:2px solid #f0f0f0;border-radius:8px;transition:all .15s;overflow:hidden}.media-picker-item:hover{border-color:#7b5ea7;box-shadow:0 2px 8px #7b5ea726}.media-picker-item.selected{background:#f9f7ff;border-color:#7b5ea7}.media-picker-thumb{background:#f5f5f5;justify-content:center;align-items:center;height:90px;display:flex;position:relative;overflow:hidden}.media-picker-img{object-fit:cover;width:100%;height:100%}.media-picker-icon{font-size:32px}.media-picker-check{color:#fff;background:#7b5ea7;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;display:flex;position:absolute;top:6px;right:6px}.media-picker-info{padding:6px 8px}.media-picker-name{text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px;font-size:12px;font-weight:600;overflow:hidden}.media-picker-desc{color:#999;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:11px;overflow:hidden}@media (width<=640px){.media-picker-toolbar{flex-wrap:wrap}.media-picker-toolbar>.ant-input-affix-wrapper{min-width:180px}}.bot-detail-page{flex-direction:column;height:100%;display:flex}.bot-detail-header{background:#fff;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:16px 24px;display:flex;box-shadow:0 1px 4px #0000000f}.bot-detail-left{align-items:center;gap:12px;display:flex}.bot-detail-info{flex-direction:column;display:flex}.bot-detail-content{background:#fff;border-radius:12px;flex:1;padding:0 24px 24px;box-shadow:0 1px 4px #0000000f}.bot-detail-tabs .ant-tabs-nav{margin-bottom:20px}.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border:0 solid #3367d9}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.flow-editor{flex-direction:column;height:calc(100vh - 64px);margin:-24px;display:flex}.flow-toolbar{z-index:10;background:#fff;border-bottom:1px solid #f0f0f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 20px;display:flex;box-shadow:0 1px 4px #0000000f}.flow-canvas{background:#f8f9fc;flex:1}.flow-hint{color:#fff;background:#00000080;border-radius:20px;margin-bottom:8px;padding:6px 14px;font-size:12px}.react-flow__node{border-radius:10px!important}.react-flow__edge-path{stroke:#7b5ea7!important;stroke-width:2px!important}.react-flow__controls{border-radius:10px!important;box-shadow:0 2px 8px #0000001a!important}.react-flow__controls-button{border-radius:6px!important}.new-broadcast-page{max-width:1100px}.type-card{cursor:pointer;transition:all .2s;position:relative;border:2px solid #f0f0f0!important;border-radius:12px!important}.type-card:hover{border-color:#7b5ea7!important}.type-card.selected{background:#f9f7ff!important;border-color:#7b5ea7!important}.type-card-check{color:#7b5ea7;font-size:16px;font-weight:700;position:absolute;top:10px;right:12px}.bot-select-list{flex-direction:column;gap:10px;max-width:600px;display:flex}.bot-select-item{cursor:pointer;border:2px solid #f0f0f0;border-radius:10px;align-items:center;gap:12px;padding:14px 16px;transition:all .2s;display:flex}.bot-select-item:hover{background:#f9f7ff;border-color:#7b5ea7}.bot-select-item.selected{background:#f0ebff;border-color:#7b5ea7}.livechat-page{background:#fff;border-radius:12px;height:calc(100vh - 112px);margin:0 -24px -24px;display:flex;overflow:hidden;box-shadow:0 1px 4px #0000000f}.chat-sidebar{border-right:1px solid #f0f0f0;flex-direction:column;flex-shrink:0;width:280px;display:flex}.chat-sidebar-header{border-bottom:1px solid #f0f0f0;align-items:center;padding:16px;display:flex}.chat-search{border-bottom:1px solid #f5f5f5;padding:10px 12px}.chat-list{flex:1;overflow-y:auto}.chat-item{cursor:pointer;border-bottom:1px solid #fafafa;align-items:center;gap:10px;padding:12px 16px;transition:background .15s;display:flex}.chat-item:hover{background:#f9f7ff}.chat-item.active{background:#f0ebff;border-left:3px solid #7b5ea7}.chat-item-info{flex:1;overflow:hidden}.chat-item-name{color:#1a1a1a;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.chat-item-sub{color:#999;margin-top:2px;font-size:11px}.chat-main{flex-direction:column;flex:1;display:flex;overflow:hidden}.chat-empty{color:#ccc;flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.chat-header{background:#fafafa;border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.chat-messages{background:#f8f9fc;flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.chat-no-msg{flex:1;justify-content:center;align-items:center;padding:60px 0;display:flex}.msg-row{align-items:flex-end;gap:8px;margin-bottom:4px;display:flex}.msg-row.outbound{flex-direction:row-reverse}.msg-bubble{border-radius:14px;max-width:60%;padding:10px 14px;position:relative}.msg-bubble.in{background:#fff;border-bottom-left-radius:4px;box-shadow:0 1px 4px #0000000f}.msg-bubble.out{color:#fff;background:linear-gradient(135deg,#7b5ea7,#3d2c8d);border-bottom-right-radius:4px}.msg-text{word-break:break-word;white-space:pre-wrap;font-size:13px;line-height:1.6}.msg-bubble.out .msg-text{color:#fff}.msg-time{color:#00000059;text-align:right;margin-top:4px;font-size:10px}.msg-bubble.out .msg-time{color:#fff9}.msg-meta{justify-content:space-between;align-items:center;gap:8px;margin-top:4px;display:flex}.msg-meta:not(.has-sender){justify-content:flex-end}.msg-meta .msg-time{margin-top:0}.msg-sender{letter-spacing:.2px;color:#7b5ea7d9;white-space:nowrap;background:#7b5ea71a;border-radius:6px;flex-shrink:0;padding:1px 6px;font-size:10px;font-weight:600}.msg-bubble.out .msg-sender{color:#fff;background:#ffffff2e;border:1px solid #ffffff40}.chat-input-area{background:#fff;border-top:1px solid #f0f0f0;padding:12px 16px}.chat-input-area .ant-input-affix-wrapper{border-radius:10px;padding:8px 12px}.media-page{max-width:1400px}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:16px;display:flex}.media-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;display:grid}.media-card{cursor:pointer;background:#fff;border:2px solid #f0f0f0;border-radius:10px;transition:box-shadow .2s,transform .2s,border-color .2s;position:relative;overflow:hidden}.media-card:hover{border-color:#d0c0f0;transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.media-card:hover .media-actions{opacity:1}.media-thumb{background:#f8f8f8;justify-content:center;align-items:center;height:130px;display:flex;position:relative;overflow:hidden}.media-img{object-fit:cover;width:100%;height:100%;display:block}.media-icon{justify-content:center;align-items:center;width:100%;height:100%;font-size:36px;display:flex}.media-info{padding:8px 10px 6px}.media-name{color:#1a1a1a;text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px;font-size:12px;font-weight:600;overflow:hidden}.media-desc{color:#999;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:11px;overflow:hidden}.media-meta{align-items:center;gap:6px;display:flex}.media-actions{opacity:0;gap:4px;transition:opacity .2s;display:flex;position:absolute;top:6px;right:6px}.media-actions .ant-btn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffe6!important}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;background:#f0f2f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#aaa}.page-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 4px #0000000f}
