body, html { margin: 0; padding: 0; height: 100%; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; background-color: #f7f8fa; }
#app { height: 100vh; display: flex; }
.sidebar { width: 220px; background: #fff; height: 100%; border-right: 1px solid #e4e7ed; display: flex; flex-direction: column; z-index: 10; }
.logo-area { height: 70px; display: flex; align-items: center; padding: 0 24px; font-weight: bold; border-bottom: 1px solid #e4e7ed; flex-shrink: 0; box-sizing: border-box; }
.el-menu-vertical { border-right: none; flex: 1; overflow-y: auto; padding-top: 10px; }
.sidebar-footer { height: 64px; border-top: 1px solid #ebeef5; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: #fff; flex-shrink: 0; }
.user-info-area { display: flex; align-items: center; gap: 10px; cursor: pointer; overflow: hidden; width: 100%; }
.bell-btn { width: 34px; height: 34px; border-radius: 50%; background: #f4f5f7; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: #606266; flex-shrink: 0; }
.bell-btn:hover { background: #e4e7ed; color: #303133; }
.bell-btn .el-badge__content.is-fixed.is-dot { right: 4px; top: 4px; }
.msg-panel { padding: 4px; }
.msg-header { font-weight: bold; font-size: 15px; color: #303133; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #ebeef5; }
.msg-list { max-height: 300px; overflow-y: auto; }
.msg-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.msg-item:last-child { margin-bottom: 0; }
.msg-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.msg-icon.income { background: #e1f3d8; color: #67C23A; }
.msg-icon.system { background: #fde2e2; color: #F56C6C; }
.msg-icon.withdraw { background: #d9ecff; color: #409EFF; }
.msg-icon.feedback { background: #faecd8; color: #E6A23C; }
.msg-content { flex: 1; overflow: hidden; }
.msg-title { font-size: 14px; font-weight: bold; color: #303133; line-height: 1.2; margin-bottom: 4px; }
        
.main-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.top-header { height: 70px; background: #fff; border-bottom: 1px solid #e4e7ed; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; z-index: 5; box-sizing: border-box; }
.content-area { flex: 1; overflow-y: auto; padding: 24px; }

.credits-tag { background: #fdf6ec; color: #e6a23c; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; border: 1px solid #faecd8; display: flex; align-items: center; gap: 6px; }
.refresh-icon { cursor: pointer; font-size: 14px; transition: transform 0.4s ease, color 0.2s ease; }
.refresh-icon:hover { color: #409EFF; transform: rotate(180deg); }

.detail-close-btn { position: absolute; top: 15px; right: 15px; z-index: 100; font-size: 20px; color: #909399; cursor: pointer; transition: 0.2s; background: rgba(255,255,255,0.8); border-radius: 50%; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.detail-close-btn:hover { color: #333; background: #f0f2f5; transform: scale(1.1); }
.detail-dialog .el-dialog__header { display: none; }
.detail-dialog .el-dialog__body { padding: 0; background: #fff; border-radius: 12px; overflow: hidden; position: relative; }
.detail-title-bar { font-size: 16px; font-weight: bold; color: #303133; margin-bottom: 16px; line-height: 1; height: 16px; display: flex; align-items: center; }

.ratio-selector { display: inline-flex; background-color: #f4f5f7; border-radius: 12px; padding: 5px; gap: 5px; align-items: center; }
.ratio-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 56px; border-radius: 10px; cursor: pointer; color: #909399; transition: all 0.3s; }
.ratio-item:hover { color: #303133; }
.ratio-item.active { background-color: #fff; color: #303133; font-weight: bold; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.icon-ratio { border: 1.5px solid currentColor; border-radius: 3px; margin-bottom: 6px; }
.icon-9-16 { width: 10px; height: 16px; }
.icon-16-9 { width: 16px; height: 10px; }

/* 核心更新：变成气泡式的胶囊样式，默认灰色底极其明显 */
.pill-selector { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pill-item { display: inline-flex; align-items: center; justify-content: center; padding: 6px 16px; border-radius: 20px; cursor: pointer; background-color: #ebedf0; color: #606266; font-size: 13px; transition: all 0.2s; line-height: 1; user-select: none; border: 1px solid transparent; }
.pill-item:hover { background-color: #e4e7ed; color: #303133; }
.pill-item.active { background-color: #ecf5ff; color: #409EFF; border-color: #b3d8ff; font-weight: bold; }

.assets-tabs .el-tabs__item { font-size: 16px; font-weight: bold; }
.asset-dialog .el-dialog__header { display: none; }
.asset-dialog .el-dialog__body { padding: 10px 20px 20px 20px; position: relative; }

.auth-dialog-custom .el-dialog__header { display: none; }
.auth-dialog-custom .el-dialog__body { padding: 0; border-radius: 16px; overflow: hidden; }
.auth-container { display: flex; flex-direction: column; padding: 40px; position: relative; background: #fff; }
.auth-close-btn { position: absolute; top: 15px; right: 15px; font-size: 20px; color: #909399; cursor: pointer; transition: 0.2s; z-index: 10; }
.auth-close-btn:hover { color: #333; transform: scale(1.1); }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-logo { font-size: 28px; font-weight: bold; color: #409EFF; margin-bottom: 10px; letter-spacing: 1px; }
.auth-title { font-size: 22px; font-weight: bold; color: #303133; margin-bottom: 8px; }
.auth-subtitle { font-size: 13px; color: #909399; }
.auth-form .el-input__wrapper { box-shadow: 0 0 0 1px #e4e7ed inset; border-radius: 8px; padding: 4px 12px; }
.auth-submit-btn { width: 100%; height: 48px; border-radius: 8px; font-size: 16px; font-weight: bold; background: linear-gradient(90deg, #409EFF, #66b1ff); border: none; margin-top: 10px; letter-spacing: 2px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: #606266; }
.auth-switch span { color: #409EFF; cursor: pointer; font-weight: bold; transition: 0.2s; }

.pay-way-item { flex: 1; border: 1px solid #dcdfe6; border-radius: 8px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 14px; color: #606266; font-weight: bold; transition: all 0.3s; }
.pay-way-item.active { border-color: #409EFF; background: #ecf5ff; color: #409EFF; }