*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;color:#000000d9;background-color:#f0f2f5}#root{height:100%}.app{height:100%;min-height:100vh}.ant-layout{min-height:100vh}.ant-layout-content{padding:24px}.text-center{text-align:center}.full-height{height:100vh}.flex-center{display:flex;justify-content:center;align-items:center}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.loading-container{display:flex;justify-content:center;align-items:center;height:200px}.auth-layout{min-height:100vh;position:relative;overflow:hidden}.auth-background{position:absolute;inset:0;background:linear-gradient(135deg,#667eea,#764ba2);z-index:0}.auth-background-shape{position:absolute;border-radius:50%;background:#ffffff1a;animation:float 6s ease-in-out infinite}.shape-1{width:200px;height:200px;top:10%;left:10%;animation-delay:0s}.shape-2{width:150px;height:150px;top:60%;right:15%;animation-delay:2s}.shape-3{width:100px;height:100px;bottom:20%;left:20%;animation-delay:4s}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(180deg)}}.auth-content{position:relative;z-index:1;padding:0;display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 64px)}.auth-container{display:flex;width:100%;max-width:1200px;margin:0 auto;padding:40px 20px;gap:80px;align-items:center}.auth-branding{flex:1;color:#fff;max-width:500px}.brand-header{margin-bottom:60px;text-align:center}.brand-logo{margin-bottom:20px}.logo-icon{font-size:64px;color:#fff;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2))}.brand-title{color:#fff!important;margin-bottom:16px!important;font-size:48px!important;font-weight:700!important;text-shadow:0 2px 4px rgba(0,0,0,.2)}.brand-subtitle{font-size:18px;color:#ffffffe6;text-shadow:0 1px 2px rgba(0,0,0,.1)}.features-list{display:flex;flex-direction:column;gap:32px}.feature-item{display:flex;align-items:flex-start;gap:20px;padding:20px;background:#ffffff1a;border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.feature-item:hover{background:#ffffff26;transform:translateY(-2px)}.feature-icon{font-size:24px;color:#fff;padding:12px;background:#fff3;border-radius:12px;display:flex;align-items:center;justify-content:center;min-width:48px;height:48px}.feature-content{flex:1}.feature-title{color:#fff!important;margin-bottom:8px!important;font-size:18px!important;font-weight:600!important}.feature-description{color:#fffc;font-size:14px;line-height:1.5}.auth-form-container{flex:0 0 400px;display:flex;align-items:center;justify-content:center}.auth-footer{position:relative;z-index:1;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.2);text-align:center;padding:20px}.auth-footer .ant-typography{color:#fffc!important}.footer-divider{color:#ffffff80;margin:0 12px}@media (max-width: 1024px){.auth-container{gap:40px}.brand-title{font-size:36px!important}.auth-form-container{flex:0 0 350px}}@media (max-width: 768px){.auth-container{flex-direction:column;gap:40px;padding:20px}.auth-branding{max-width:none;text-align:center}.brand-header{margin-bottom:40px}.brand-title{font-size:32px!important}.features-list{gap:20px}.feature-item{padding:16px}.auth-form-container{flex:none;width:100%;max-width:400px}.auth-background-shape{display:none}}@media (max-width: 480px){.auth-container{padding:16px}.brand-title{font-size:28px!important}.brand-subtitle{font-size:16px}.feature-item{flex-direction:column;text-align:center;gap:12px}.feature-icon{align-self:center}.auth-footer{padding:16px}.auth-footer .ant-space{flex-wrap:wrap;justify-content:center}}.login-card{box-shadow:0 8px 32px #0000001a;border-radius:12px;border:none;overflow:hidden}.login-header{text-align:center;margin-bottom:32px}.login-title{margin-bottom:8px!important;color:#1f2937}.login-form{padding:0}.login-form .ant-form-item{margin-bottom:20px}.login-form .ant-input-affix-wrapper,.login-form .ant-input{border-radius:8px;border:1px solid #d1d5db;transition:all .3s ease}.login-form .ant-input-affix-wrapper:hover,.login-form .ant-input:hover{border-color:#667eea}.login-form .ant-input-affix-wrapper:focus,.login-form .ant-input-affix-wrapper-focused,.login-form .ant-input:focus{border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.login-button{height:48px;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;font-size:16px;font-weight:500;transition:all .3s ease}.login-button:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.login-button:active{transform:translateY(0)}.login-footer{text-align:center;margin-top:24px}.register-link{color:#667eea;font-weight:500;text-decoration:none;transition:color .3s ease}.register-link:hover{color:#5a67d8;text-decoration:underline}@media (max-width: 480px){.login-page{padding:16px}.login-card{margin:0}.login-card .ant-card-body{padding:24px 20px}.login-title{font-size:24px!important}}.register-card{box-shadow:0 8px 32px #0000001a;border-radius:12px;border:none;overflow:hidden}.register-header{text-align:center;margin-bottom:32px}.register-title{margin-bottom:8px!important;color:#1f2937}.register-form{padding:0}.register-form .ant-form-item{margin-bottom:20px}.register-form .ant-form-item-label>label{font-weight:500;color:#374151}.register-form .ant-input-affix-wrapper,.register-form .ant-input,.register-form .ant-select-selector{border-radius:8px;border:1px solid #d1d5db;transition:all .3s ease}.register-form .ant-input-affix-wrapper:hover,.register-form .ant-input:hover,.register-form .ant-select:hover .ant-select-selector{border-color:#667eea}.register-form .ant-input-affix-wrapper:focus,.register-form .ant-input-affix-wrapper-focused,.register-form .ant-input:focus,.register-form .ant-select-focused .ant-select-selector{border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.register-form .ant-select-dropdown{border-radius:8px}.register-form .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:#667eea1a;color:#667eea}.register-button{height:48px;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;font-size:16px;font-weight:500;transition:all .3s ease}.register-button:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.register-button:active{transform:translateY(0)}.error-message{margin-bottom:16px;padding:8px 12px;background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px;text-align:center}.register-footer{text-align:center;margin-top:24px}.login-link{color:#667eea;font-weight:500;text-decoration:none;transition:color .3s ease}.login-link:hover{color:#5a67d8;text-decoration:underline}.register-form .ant-form-item-explain-error{font-size:12px;margin-top:4px}.register-form .ant-select-selection-item{display:flex;align-items:center}@media (max-width: 480px){.register-page{padding:16px}.register-card{margin:0}.register-card .ant-card-body{padding:24px 20px}.register-title{font-size:24px!important}.register-form .ant-form-item{margin-bottom:16px}}.app-layout{min-height:100vh}.app-sider{background:#fff;box-shadow:2px 0 8px #0000001a;z-index:10}.app-sider-logo{height:64px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #f0f0f0;margin-bottom:8px}.app-sider-logo h3{margin:0;color:#1890ff;font-weight:600;font-size:16px}.app-header{background:#fff;box-shadow:0 2px 8px #0000001a;padding:0 24px;z-index:9}.app-header-content{display:flex;justify-content:space-between;align-items:center;height:100%}.app-header-left{display:flex;align-items:center}.sidebar-toggle{font-size:16px;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.sidebar-toggle:hover{background-color:#f5f5f5}.app-header-actions{display:flex;align-items:center;gap:16px}.app-content{padding:24px;background:#f0f2f5;min-height:calc(100vh - 64px);overflow-y:auto}.user-menu-button{height:auto;padding:8px 12px;border-radius:6px}.user-menu-button:hover{background-color:#f5f5f5}.user-avatar-button{height:auto;padding:8px 12px;border-radius:8px;transition:all .2s ease}.user-avatar-button:hover{background-color:#f5f5f5;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.app-footer{text-align:center;background:#f0f2f5;color:#666;padding:16px 24px;font-size:14px;border-top:1px solid #e8e8e8}.image-cropper{display:flex;flex-direction:column;align-items:center;gap:20px}.cropper-canvas-container{display:flex;justify-content:center;align-items:center;border:1px solid #d9d9d9;border-radius:6px;padding:16px;background:#fafafa}.cropper-canvas{cursor:move;border-radius:4px;box-shadow:0 2px 8px #0000001a}.cropper-controls{display:flex;flex-direction:column;gap:16px;width:100%;max-width:400px}.control-group{display:flex;align-items:center;gap:12px}.control-group label{min-width:60px;font-weight:500;color:#262626}@media (max-width: 768px){.image-cropper{gap:16px}.cropper-canvas-container{padding:12px}.control-group{flex-direction:column;align-items:flex-start;gap:8px}.control-group label{min-width:auto}}.cropper-canvas:active,.cropper-canvas.dragging{cursor:grabbing}.avatar-uploader{display:inline-block}.avatar-uploader .ant-upload{border:none!important;background:transparent!important;padding:0!important}.avatar-upload-container{position:relative;display:inline-block;cursor:pointer}.avatar-preview{border:4px solid #f0f0f0;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.avatar-upload-container:hover .avatar-preview{border-color:#1890ff;box-shadow:0 4px 12px #1890ff33}.avatar-upload-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000080;border-radius:50%;opacity:0;transition:opacity .3s ease}.avatar-upload-container:hover .avatar-upload-overlay{opacity:1}.avatar-upload-btn{width:32px;height:32px;min-width:32px;border:2px solid #fff;box-shadow:0 2px 4px #0003;z-index:2}.upload-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}.upload-progress .ant-progress-circle{background:#ffffffe6;border-radius:50%;padding:4px}.avatar-uploader.ant-upload-disabled .avatar-upload-container{cursor:not-allowed}.avatar-uploader.ant-upload-disabled .avatar-upload-overlay{display:none}@media (max-width: 768px){.avatar-upload-btn{width:24px;height:24px;min-width:24px}.upload-progress .ant-progress-circle{width:32px!important;height:32px!important}}.avatar-upload-container.uploading .avatar-preview{opacity:.6}.avatar-upload-container.uploading .avatar-upload-overlay{opacity:1;background:#000000b3}.password-change-form{max-width:400px}.password-strength-indicator{margin:12px 0}.strength-progress{display:flex;align-items:center;gap:8px;margin-bottom:8px}.strength-label{font-size:12px;color:#8c8c8c;min-width:60px}.strength-bar{flex:1;margin:0!important}.strength-text{font-size:12px;font-weight:500;min-width:30px}.password-feedback-alert{margin-top:8px}.password-feedback{margin:0;padding-left:16px}.password-feedback li{font-size:12px;color:#595959;margin:2px 0}.password-change-form .ant-form-item-label>label{font-weight:500;color:#262626}.password-change-form .ant-input-affix-wrapper{padding:8px 12px}.password-change-form .ant-input-prefix{color:#8c8c8c;margin-right:8px}.strength-bar .ant-progress-bg{transition:all .3s ease}.password-feedback-alert .ant-alert-message{font-size:13px;font-weight:500}.password-feedback-alert .ant-alert-description{margin-top:4px}@media (max-width: 480px){.password-change-form{max-width:100%}.strength-progress{flex-direction:column;align-items:flex-start;gap:4px}.strength-label{min-width:auto}.strength-bar{width:100%}}.password-strength-indicator{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.profile-page{max-width:1200px;margin:0 auto;padding:24px}.profile-loading{display:flex;justify-content:center;align-items:center;min-height:400px}.avatar-card{text-align:center;margin-bottom:24px}.avatar-section{padding:24px 0}.avatar-container{position:relative;display:inline-block;margin-bottom:16px}.profile-avatar{border:4px solid #f0f0f0;box-shadow:0 2px 8px #0000001a}.avatar-upload{position:absolute;bottom:0;right:0}.avatar-upload-btn{width:32px;height:32px;min-width:32px;border:2px solid #fff;box-shadow:0 2px 4px #0003}.user-info h3{margin:8px 0 4px;font-size:20px;font-weight:600;color:#262626}.user-role{margin:0;color:#8c8c8c;font-size:14px}.password-section{padding-top:16px}.password-section h4{margin-bottom:12px;color:#262626;font-size:16px;font-weight:500}@media (max-width: 768px){.profile-page{padding:16px}.avatar-card{margin-bottom:16px}.profile-avatar{width:80px!important;height:80px!important}.avatar-upload-btn{width:24px;height:24px;min-width:24px}}.ant-form-item-label>label{font-weight:500}.ant-card-head-title{font-size:18px;font-weight:600}.avatar-upload-btn:hover{transform:scale(1.05);transition:transform .2s ease}.ant-modal-header{border-bottom:1px solid #f0f0f0}.ant-modal-body{padding:24px}.ant-spin-container{min-height:200px}.live-chat-container{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.live-chat-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #f0f0f0}.live-chat-header h3{margin:0;font-size:16px;font-weight:600}.message-count{color:#8c8c8c;font-size:14px}.live-chat-messages{flex:1;overflow-y:auto;padding:16px;max-height:500px}.chat-message-item{margin-bottom:16px;padding:0!important}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.message-username{font-weight:600;color:#262626;font-size:14px}.message-time{color:#8c8c8c;font-size:12px;margin-left:8px}.message-content{color:#595959;font-size:14px;word-wrap:break-word;white-space:pre-wrap}.live-chat-input{padding:16px;border-top:1px solid #f0f0f0;background:#fafafa}.live-chat-messages::-webkit-scrollbar{width:6px}.live-chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.live-chat-messages::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.live-chat-messages::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.live-chat-messages{max-height:400px}.live-chat-header h3{font-size:14px}.message-count{font-size:12px}}.watch-live-page{padding:24px;max-width:1600px;margin:0 auto}.video-card,.chat-card{border-radius:8px;box-shadow:0 2px 8px #0000001a}.video-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}.live-status{font-size:16px;font-weight:600;margin-left:8px}.video-container{position:relative;padding-top:56.25%;background:#000;border-radius:8px;overflow:hidden}.video-container>div{position:absolute;top:0;left:0}.video-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background:#000;color:#fff;font-size:18px}.video-info{margin-top:16px}.video-info h3{font-size:20px;font-weight:600;margin-bottom:8px}.video-info p{color:#595959;margin-bottom:12px}.meta-info{display:flex;flex-wrap:wrap;gap:16px;color:#8c8c8c;font-size:14px}.chat-card{height:600px}.chat-card .ant-card-body{height:100%;padding:0}@media (max-width: 576px){.watch-live-page{padding:16px}.page-header h2{font-size:18px}.video-info h3{font-size:16px}}.discussions-page{padding:24px;max-width:1200px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.filters{padding-top:16px;border-top:1px solid #f0f0f0}.list-card{border-radius:8px;box-shadow:0 2px 8px #0000001a}.loading-container{display:flex;justify-content:center;align-items:center;min-height:300px}.discussion-item{padding:20px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:all .3s ease}.discussion-item:hover{background:#fafafa}.discussion-item:last-child{border-bottom:none}.discussion-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.discussion-title{display:flex;align-items:center;gap:12px;flex:1}.discussion-title h3{margin:0;font-size:18px;font-weight:600;color:#262626}.discussion-content{color:#595959;margin-bottom:12px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.discussion-meta{color:#8c8c8c;font-size:14px}@media (max-width: 768px){.discussions-page{padding:16px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.page-header h2{font-size:20px}.filters{overflow-x:auto}.discussion-header{flex-direction:column;align-items:flex-start;gap:8px}.discussion-title h3{font-size:16px}}.discussion-detail-page{padding:24px;max-width:1200px;margin:0 auto}.page-header{margin-bottom:24px}.discussion-card,.replies-card,.reply-input-card{margin-bottom:16px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.discussion-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.title-section{display:flex;align-items:center;gap:12px;flex:1}.title-section h2{margin:0;font-size:24px;font-weight:600}.discussion-meta{color:#8c8c8c;font-size:14px;margin-bottom:16px}.discussion-content{background:#fafafa;padding:16px;border-radius:4px;line-height:1.8}.discussion-content p{margin:0;white-space:pre-wrap;word-wrap:break-word}.reply-item{padding:16px 0;border-bottom:1px solid #f0f0f0}.reply-item:last-child{border-bottom:none}.reply-header{display:flex;justify-content:space-between;align-items:center}.reply-username{font-weight:600;color:#262626;font-size:14px}.reply-time{color:#8c8c8c;font-size:12px}.reply-content{color:#595959;font-size:14px;white-space:pre-wrap;word-wrap:break-word;line-height:1.6}@media (max-width: 768px){.discussion-detail-page{padding:16px}.discussion-header{flex-direction:column;gap:12px}.title-section h2{font-size:20px}.discussion-meta{font-size:12px}}.live-management-page{padding:24px;max-width:1600px;margin:0 auto}.header-card{margin-bottom:16px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.page-header{display:flex;justify-content:space-between;align-items:center}.page-header h2{margin:0;font-size:24px;font-weight:600}.table-card{border-radius:8px;box-shadow:0 2px 8px #0000001a}@media (max-width: 768px){.live-management-page{padding:16px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.page-header h2{font-size:20px}}.live-stream-page{padding:24px;max-width:1600px;margin:0 auto}.page-header{display:flex;align-items:center;margin-bottom:24px}.header-info{flex:1;display:flex;justify-content:space-between;align-items:center}.header-info h2{margin:0;font-size:24px;font-weight:600}.viewers-info{display:flex;align-items:center;gap:8px;color:#8c8c8c;font-size:14px}.loading-container,.error-container{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:400px}.control-card,.chat-card{border-radius:8px;box-shadow:0 2px 8px #0000001a}.control-card ol{padding-left:20px}.control-card ol li{margin-bottom:8px;line-height:1.8}.ended-info{padding:40px 0;text-align:center}.chat-card{height:700px}.chat-card .ant-card-body{height:calc(100% - 57px);padding:0}@media (max-width: 992px){.chat-card{margin-top:16px;height:500px}}@media (max-width: 768px){.live-stream-page{padding:16px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.header-info{flex-direction:column;align-items:flex-start;gap:8px;width:100%}.header-info h2{font-size:18px}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
