*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background:#f0f2f5;color:#1f2937;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.app{display:flex;flex-direction:column;min-height:100vh}

/* 顶部导航 */
.nav-bar{background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#164e63 100%);color:white;padding:0 28px;height:60px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;box-shadow:0 4px 24px rgba(0,0,0,0.25);position:relative;z-index:100}
.nav-title{font-size:20px;font-weight:800;display:flex;align-items:center;gap:10px;letter-spacing:0.5px;background:linear-gradient(135deg,#e0f2fe 0%,#bae6fd 50%,#67e8f9 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-status{font-size:12px;padding:6px 16px;border-radius:20px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.1);display:flex;align-items:center;gap:7px;color:rgba(255,255,255,0.85);font-weight:600;backdrop-filter:blur(8px);transition:all 0.3s}
.nav-status .dot{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 8px rgba(16,185,129,0.6);animation:pulse 2s infinite}
.nav-status .dot.off{background:#ef4444;box-shadow:0 0 8px rgba(239,68,68,0.6);animation:none}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.6}}

/* 账号选择栏 */
.account-bar{background:white;border-bottom:1px solid #e2e8f0;padding:10px 24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-shadow:0 1px 4px rgba(0,0,0,0.04)}
.account-select{padding:8px 14px;border:2px solid #e2e8f0;border-radius:10px;font-size:13px;font-weight:600;color:#1f2937;background:white;cursor:pointer;transition:all 0.25s ease;min-width:220px}
.account-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.account-select:hover{border-color:#93c5fd}
.btn-add-account{padding:8px 18px;border:none;border-radius:10px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:white;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.25s ease;box-shadow:0 2px 8px rgba(16,185,129,0.25)}
.btn-add-account:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(16,185,129,0.35)}
.btn-add-account:active{transform:translateY(0)}
.btn-remove-account{padding:8px 18px;border:none;border-radius:10px;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);color:white;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.25s ease;box-shadow:0 2px 8px rgba(239,68,68,0.25)}
.btn-remove-account:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(239,68,68,0.35)}
.btn-remove-account:active{transform:translateY(0)}

/* 主体布局 */
.main{flex:1;padding:20px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 50%,#e2e8f0 100%)}

/* 卡片网格 */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:18px;width:100%}

/* 卡片 */
.card{background:white;border-radius:14px;border:1px solid #e2e8f0;overflow:hidden;display:flex;flex-direction:column;min-height:120px;box-shadow:0 1px 4px rgba(0,0,0,0.06);transition:all 0.3s ease}
.card:hover{box-shadow:0 4px 20px rgba(0,0,0,0.08);transform:translateY(-2px)}
.card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-bottom:1px solid #e2e8f0;cursor:pointer;transition:all 0.3s ease;user-select:none}
.card-header:hover{background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%)}
.card-title{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:#1f2937}
.card-icon{font-size:20px;transition:transform 0.3s ease}
.card-header:hover .card-icon{transform:scale(1.15)}
.collapse-btn{background:white;border:1px solid #cbd5e1;color:#3b82f6;padding:5px 14px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all 0.25s ease}
.collapse-btn:hover{background:#eff6ff;border-color:#3b82f6;transform:scale(1.05)}
.card-content{padding:18px;display:flex;flex-direction:column;gap:14px;overflow-y:auto}

/* 按钮 */
.btn{padding:11px 18px;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all 0.25s ease;border:2px solid transparent;flex-shrink:0;letter-spacing:0.3px}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(0.98)}
.btn-primary{background:linear-gradient(135deg,#2563eb 0%,#3b82f6 100%);color:white;border-color:#2563eb;box-shadow:0 2px 8px rgba(37,99,235,0.25)}
.btn-primary:hover{box-shadow:0 6px 18px rgba(37,99,235,0.35)}
.btn-start{background:linear-gradient(135deg,#10b981 0%,#34d399 100%);color:white;border:none;width:100%;box-shadow:0 3px 12px rgba(16,185,129,0.25)}
.btn-start:hover{box-shadow:0 6px 20px rgba(16,185,129,0.4)}
.btn-stop{background:linear-gradient(135deg,#f59e0b 0%,#fbbf24 100%);color:white;border:none;width:100%;box-shadow:0 3px 12px rgba(245,158,11,0.25)}
.btn-stop:hover{box-shadow:0 6px 20px rgba(245,158,11,0.4)}
.btn-info{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:white;border:none;box-shadow:0 2px 8px rgba(15,23,42,0.25)}
.btn-info:hover{box-shadow:0 6px 18px rgba(15,23,42,0.35)}
.btn-danger{background:linear-gradient(135deg,#ef4444 0%,#f87171 100%);color:white;border:none;box-shadow:0 2px 8px rgba(239,68,68,0.25)}
.btn-danger:hover{box-shadow:0 6px 18px rgba(239,68,68,0.35)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.3);color:white;padding:6px 16px;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;transition:all 0.25s ease;backdrop-filter:blur(4px)}
.btn-outline:hover{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.5)}
.btn-login{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);color:white;padding:12px 24px;border-radius:12px;font-weight:600;font-size:14px;min-width:90px;box-shadow:0 3px 12px rgba(37,99,235,0.3)}
.btn-login:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(37,99,235,0.4)}
.btn-login:disabled{background:linear-gradient(135deg,#94a3b8 0%,#9ca3af 100%);cursor:not-allowed;transform:none;box-shadow:none}
.btn-logout{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);color:white;padding:12px 24px;border-radius:12px;font-weight:600;font-size:14px;width:100%;box-shadow:0 3px 12px rgba(239,68,68,0.25)}
.btn-logout:hover{box-shadow:0 6px 20px rgba(239,68,68,0.4)}

/* 开关 */
.toggle-switch{position:relative;width:46px;height:26px;background:#d1d5db;border-radius:13px;border:none;cursor:pointer;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);flex-shrink:0;box-shadow:inset 0 1px 3px rgba(0,0,0,0.1)}
.toggle-switch.active{background:linear-gradient(135deg,#2563eb 0%,#3b82f6 100%);box-shadow:0 2px 10px rgba(37,99,235,0.35),inset 0 1px 3px rgba(0,0,0,0.1)}
.toggle-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;background:white;border-radius:50%;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);box-shadow:0 2px 6px rgba(0,0,0,0.2)}
.toggle-switch.active .toggle-thumb{left:23px;box-shadow:0 2px 8px rgba(37,99,235,0.3)}

/* 设置行 */
.setting-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f3f4f6;transition:background 0.2s ease}
.setting-row:last-child{border-bottom:none}
.setting-row:hover{background:rgba(59,130,246,0.02);border-radius:6px}
.setting-row .setting-label{flex:1;min-width:0}
.setting-row>*:last-child{flex-shrink:0;margin-left:16px}
.setting-label{display:flex;flex-direction:column;gap:3px;font-size:13px;color:#1f2937;font-weight:600}
.setting-desc{font-size:11px;color:#6b7280;font-weight:400;line-height:1.4}
.setting-value{font-size:13px;color:#3b82f6;font-weight:600;padding:4px 12px;background:#eff6ff;border-radius:6px}

/* 输入框 */
.input-field{padding:9px 14px;border:2px solid #e5e7eb;border-radius:10px;font-size:13px;font-weight:600;color:#1f2937;background:white;transition:all 0.25s ease;width:130px;text-align:center;flex-shrink:0}
.input-field:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.input-field:hover{border-color:#cbd5e1}
.dropdown{padding:9px 14px;border:2px solid #e5e7eb;border-radius:10px;font-size:13px;font-weight:600;color:#1f2937;background:white;cursor:pointer;transition:all 0.25s ease;min-width:110px;flex-shrink:0}
.dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.dropdown:hover{border-color:#cbd5e1}

/* 订单输入 */
.order-input-wrapper{display:flex;align-items:center;gap:8px}
.order-input{width:90px;padding:6px 10px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;text-align:center;outline:none;transition:all 0.25s ease}
.order-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.order-input:hover{border-color:#cbd5e1}
.order-count{font-size:14px;color:#059669;font-weight:600;min-width:50px;text-align:right}

/* 账号卡片 */
.account-card .card-content{gap:20px}
.account-card .btn{width:100%}
.account-card .btn + .btn{margin-top:6px}
.account-card{overflow-x:hidden;overflow-y:visible}
.account-profile{padding:20px;background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border-radius:14px;border:1px solid #bae6fd;box-shadow:0 2px 10px rgba(14,165,233,0.08)}
.profile-header{display:flex;align-items:center;gap:16px}
.profile-avatar{width:56px;height:56px;background:linear-gradient(135deg,#0891b2 0%,#06b6d4 100%);border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 4px 14px rgba(8,145,178,0.3);flex-shrink:0;transition:transform 0.3s ease}
.account-card:hover .profile-avatar{transform:scale(1.08) rotate(-3deg)}
.profile-info{display:flex;flex-direction:column;gap:5px}
.profile-name{font-size:20px;font-weight:800;color:#0f172a;letter-spacing:0.3px}
.profile-level{display:inline-block;font-size:12px;font-weight:700;color:#0891b2;background:#cffafe;padding:3px 12px;border-radius:12px;align-self:flex-start;letter-spacing:0.5px}
.account-detail-list{background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;box-shadow:inset 0 1px 3px rgba(0,0,0,0.03)}
.detail-row{display:flex;justify-content:space-between;align-items:center;padding:16px 16px;border-bottom:1px solid #f3f4f6;font-size:13px;transition:background 0.2s ease}
.detail-row:last-child{border-bottom:none}
.detail-row:hover{background:rgba(59,130,246,0.02)}
.detail-key{color:#6b7280;font-weight:500}
.detail-val{color:#1f2937;font-weight:600;font-family:Monaco,Menlo,Consolas,monospace;text-align:right}
.script-status-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;transition:all 0.3s ease}
.script-status-badge{font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;letter-spacing:0.3px}
.script-status-badge.running{background:#dcfce7;color:#16a34a}
.script-status-badge.stopped{background:#f1f5f9;color:#64748b}
.running-time{font-size:12px;color:#6b7280;text-align:center;padding:6px 0;font-weight:500}
.running-time-inline{font-size:11px;color:#94a3b8;text-align:center;padding:8px 0 0 0;font-weight:500}
.account-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.account-actions .btn{width:100%;padding:10px 0;font-size:13px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all 0.2s ease}
.account-actions .btn-start{background:linear-gradient(135deg,#10b981,#059669);color:white;box-shadow:0 2px 8px rgba(16,185,129,0.3)}
.account-actions .btn-start:hover{box-shadow:0 4px 14px rgba(16,185,129,0.4);transform:translateY(-1px)}
.account-actions .btn-stop{background:linear-gradient(135deg,#f59e0b,#d97706);color:white;box-shadow:0 2px 8px rgba(245,158,11,0.3)}
.account-actions .btn-stop:hover{box-shadow:0 4px 14px rgba(245,158,11,0.4);transform:translateY(-1px)}
.account-actions .btn-logout{background:linear-gradient(135deg,#ef4444,#dc2626);color:white;box-shadow:0 2px 8px rgba(239,68,68,0.3)}
.account-actions .btn-logout:hover{box-shadow:0 4px 14px rgba(239,68,68,0.4);transform:translateY(-1px)}
.account-actions .btn-info{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}
.account-actions .btn-info:hover{background:#e2e8f0}
.status-label{font-size:14px;color:#6b7280;font-weight:600}
.status-badge{padding:5px 14px;border-radius:14px;font-size:13px;font-weight:700;letter-spacing:0.3px}
.status-badge.running{background:linear-gradient(135deg,#059669 0%,#10b981 100%);color:white;box-shadow:0 2px 8px rgba(16,185,129,0.3)}
.status-badge.stopped{background:linear-gradient(135deg,#d97706 0%,#f59e0b 100%);color:white;box-shadow:0 2px 8px rgba(245,158,11,0.3)}

/* 登录表单 */
.login-form-inline{display:flex;flex-direction:column;gap:12px;padding:18px;background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border-radius:14px;border:1px solid #bae6fd;width:100%;box-shadow:inset 0 1px 4px rgba(14,165,233,0.06)}
.login-input-row{display:flex;flex-direction:column;gap:5px}
.login-label{font-size:13px;font-weight:700;color:#374151}
.login-input{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:14px;font-weight:500;background:white;color:#1f2937;transition:all 0.25s ease}
.login-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.15)}
.login-input:hover{border-color:#cbd5e1}
.login-input::placeholder{color:#9ca3af;font-weight:400}
.login-actions{display:flex;flex-direction:column;gap:12px}
.remember-me{display:flex;align-items:center;gap:7px;font-size:13px;color:#475569;font-weight:500;cursor:pointer;user-select:none;transition:color 0.2s}
.remember-me:hover{color:#1f2937}
.remember-me input[type="checkbox"]{width:17px;height:17px;cursor:pointer;accent-color:#3b82f6;border-radius:4px}
.login-error{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);color:#dc2626;padding:12px 16px;border-radius:10px;font-size:13px;font-weight:600;border:1px solid #fecaca;animation:shake 0.3s ease}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

/* 自动种花 */
.auto-plant-section{padding:14px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-radius:10px;border:1px solid #e2e8f0}
.auto-plant-input-row{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap}
.auto-plant-field{flex-shrink:0}
.auto-plant-info{display:flex;flex-direction:column;gap:5px;flex:1;min-width:200px}
.auto-plant-desc{font-size:14px;font-weight:700;color:#1f2937}
.auto-plant-hint{font-size:12px;color:#6b7280}
.nurture-info{display:flex;flex-direction:column;gap:5px;padding:12px;background:#f8fafc;border-radius:10px;border-left:4px solid #3b82f6}
.nurture-mode{font-size:13px;font-weight:700;color:#1f2937}
.nurture-desc{font-size:11px;color:#6b7280}

/* 子设置 */
.sub-settings{padding:12px 14px;border-left:4px solid #3b82f6;margin:8px 0;background:linear-gradient(135deg,#f8fafc 0%,#f0f9ff 100%);border-radius:0 10px 10px 0;transition:all 0.3s ease}
.sub-settings .setting-row{padding:7px 0}
.sub-settings .setting-label{font-size:13px}
.sub-settings-hint{font-size:12px;color:#6b7280;padding:3px 0 3px 16px}

/* 品质选项 */
.flower-quality-options{padding:12px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-radius:10px;border:1px solid #e2e8f0}
.quality-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.quality-toggle{display:flex;align-items:center;gap:7px}
.quality-label{font-size:12px;font-weight:700}

/* 刷新按钮 */
.setting-value-with-button{display:flex;align-items:center;gap:10px}
.refresh-btn{width:30px;height:30px;border:none;border-radius:50%;background:#f3f4f6;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
.refresh-btn:hover{background:#e5e7eb;transform:rotate(180deg) scale(1.1)}

/* 时间设置 */
.time-settings{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.time-setting-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-radius:10px;flex-wrap:wrap;gap:12px;border:1px solid #e5e7eb}
.time-input-wrapper{display:flex;align-items:center;gap:12px}
.time-input{padding:7px 12px;border:2px solid #e5e7eb;border-radius:10px;font-size:13px;font-weight:600;background:white;transition:all 0.25s ease}
.time-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.time-input:disabled{background:#f3f4f6;cursor:not-allowed;opacity:0.6}
.toggle-with-btn{display:flex;align-items:center;gap:12px}

/* 公会竞赛 */
.club-competition-panel{margin-top:12px;padding:18px;background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);border-radius:14px;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:16px}

/* 状态网格 */
.status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:10px 0}
.status-card{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-radius:10px;padding:14px;text-align:center;border:1px solid #e2e8f0;transition:all 0.3s ease}
.status-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.status-value{display:block;font-size:20px;font-weight:800;color:#2563eb;margin-bottom:5px}
.status-card .status-label{display:block;font-size:11px;color:#6b7280;font-weight:600}
.hint-text{color:#6b7280;font-size:12px;padding:10px 0;font-style:italic}

/* 日志弹窗 */
.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px;animation:fadeIn 0.2s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.modal-content{background:white;border-radius:18px;width:100%;max-width:820px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 25px 80px rgba(0,0,0,0.35);overflow:hidden;animation:slideUp 0.3s ease}
@keyframes slideUp{from{opacity:0;transform:translateY(20px) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-bottom:1px solid #e2e8f0}
.modal-header h3{font-size:19px;font-weight:800;color:#1f2937}
.modal-close{background:none;border:none;font-size:30px;color:#6b7280;cursor:pointer;line-height:1;transition:all 0.25s ease;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px}
.modal-close:hover{color:#2563eb;background:#eff6ff;transform:rotate(90deg) scale(1.1)}
.modal-body{padding:22px;overflow-y:auto;flex:1}
.modal-footer{padding:18px 24px;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:14px}
.log-stats{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:18px}
.stat-item{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);padding:12px 18px;border-radius:12px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:5px;cursor:pointer;transition:all 0.25s ease}
.stat-item:hover{border-color:#93c5fd;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.stat-item-active{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 100%);border-color:#3b82f6;box-shadow:0 2px 8px rgba(59,130,246,0.15)}
.stat-label{font-size:12px;color:#64748b;font-weight:600}
.stat-value{font-size:20px;font-weight:800;color:#2563eb}
.log-filter{display:flex;gap:14px;align-items:center;margin-bottom:18px;flex-wrap:wrap}
.filter-select{padding:9px 14px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;font-weight:600;color:#1f2937;background:white;cursor:pointer;transition:all 0.25s ease}
.filter-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.12)}
.filter-select:hover{border-color:#cbd5e1}
.log-list{max-height:520px;overflow-y:auto;background:#f9fafb;border-radius:12px;padding:14px}
.log-item{padding:12px 16px;border-radius:10px;margin-bottom:10px;display:flex;gap:14px;align-items:flex-start;background:white;border:1px solid #e5e7eb;transition:all 0.25s ease}
.log-item:hover{border-color:#cbd5e1;box-shadow:0 3px 10px rgba(15,23,42,0.08);transform:translateX(2px)}
.log-item:last-child{margin-bottom:0}
.log-time{font-size:12px;color:#6b7280;font-weight:600;flex-shrink:0;white-space:nowrap}
.log-type{font-size:12px;font-weight:700;flex-shrink:0;padding:3px 10px;border-radius:8px;white-space:nowrap}
.log-error{background:#fee2e2;color:#dc2626}
.log-info{background:#f1f5f9;color:#475569}
.log-autoPlant{background:#d1fae5;color:#059669}
.log-order{background:#e0e7ff;color:#4f46e5}
.log-groupOrder{background:#ede9fe;color:#7c3aed}
.log-waterFetch{background:#cffafe;color:#0891b2}
.log-flower{background:#fce7f3;color:#db2777}
.log-randomEvent{background:#fef3c7;color:#d97706}
.log-club{background:#e0e7ff;color:#4338ca}
.log-act{background:#fef3c7;color:#b45309}
.log-speed{background:#dbeafe;color:#1d4ed8}
.log-shop{background:#f0fdf4;color:#15803d}
.log-otherSetting{background:#f3f4f6;color:#6b7280}
.log-message{font-size:13px;color:#1f2937;flex:1;line-height:1.6}
.empty-state{text-align:center;padding:48px 24px;color:#6b7280;font-size:15px}

/* 登录覆盖层 */
.login-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#0f172a 0%,#1e293b 40%,#164e63 100%);display:flex;align-items:center;justify-content:center;z-index:1000;overflow:hidden}
.login-overlay::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 30% 70%,rgba(59,130,246,0.08) 0%,transparent 50%),radial-gradient(circle at 70% 30%,rgba(6,182,212,0.06) 0%,transparent 50%);animation:bgFloat 15s ease-in-out infinite}
@keyframes bgFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(20px,-20px)}}
.login-box{background:white;border-radius:24px;padding:48px 40px;width:420px;box-shadow:0 25px 80px rgba(0,0,0,0.35);position:relative;z-index:1;animation:modalIn 0.4s ease}
@keyframes modalIn{from{opacity:0;transform:translateY(30px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}
.login-logo{text-align:center;font-size:64px;margin-bottom:12px;filter:drop-shadow(0 4px 12px rgba(0,0,0,0.15))}
.login-title{text-align:center;font-size:26px;font-weight:800;color:#1e293b;margin-bottom:28px;letter-spacing:0.5px}
.login-tabs{display:flex;margin-bottom:24px;background:#f1f5f9;border-radius:12px;padding:5px}
.login-tab{flex:1;padding:12px;border:none;background:transparent;border-radius:10px;font-size:15px;font-weight:700;color:#6b7280;cursor:pointer;transition:all 0.3s cubic-bezier(0.4,0,0.2,1)}
.login-tab.active{background:white;color:#1e293b;box-shadow:0 2px 8px rgba(0,0,0,0.12)}
.login-tab:hover:not(.active){color:#374151}
.login-form{display:flex;flex-direction:column;gap:16px}
.login-form .login-label{font-size:14px;font-weight:700;color:#374151}

/* 响应式 */
@media(max-width:1400px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(370px,1fr))}}
@media(max-width:1100px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.main{padding:16px}}
@media(max-width:900px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.main{padding:14px}.nav-bar{padding:0 20px}.login-box{width:380px;padding:40px 32px}}
@media(max-width:768px){.card-grid{grid-template-columns:1fr}.card-content{padding:16px}.card-header{padding:12px 16px}.input-field,.dropdown{width:110px}.action-row{flex-direction:column;align-items:stretch}.nav-bar{height:54px;padding:0 16px}.nav-title{font-size:17px}.account-bar{padding:8px 16px}.account-select{min-width:180px}.login-box{width:100%;max-width:360px;padding:36px 28px;border-radius:20px}}
@media(max-width:480px){.main{padding:10px}.card-content{padding:14px}.card-header{padding:10px 14px}.status-grid{grid-template-columns:1fr}.input-field,.dropdown{width:100px}.login-box{padding:32px 24px;max-width:320px}.login-logo{font-size:52px}.login-title{font-size:22px}.modal-content{border-radius:14px}.modal-header{padding:14px 18px}.modal-body{padding:16px}.log-list{padding:10px}.log-item{padding:10px 12px;gap:10px}}
