:root { color: var(--ink); background: var(--bg); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; --bg: #f3f4f6; --panel: #ffffff; --ink: #111827; --muted: #6b7280; --line: #e5e7eb; --accent: #2563eb; --accent-soft: #eff6ff; --sidebar: #ffffff; } :root[data-theme="dark"] { --bg: #0f172a; --panel: #1e293b; --ink: #f8fafc; --muted: #94a3b8; --line: #334155; --accent: #60a5fa; --accent-soft: #1e3a8a; --sidebar: #111827; } ::selection { background: var(--accent-soft); color: var(--ink); } html, body, #app, .app-root { margin: 0; height: 100%; min-height: 0; } button, input, select { font-family: inherit; } .gate { position: relative; box-sizing: border-box; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: var(--bg); } .theme-switch { position: absolute; top: 16px; right: 16px; } .gate-card { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08); padding: 28px 28px 22px; } .brand { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 22px; } .brand-mark { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; } .brand h1 { margin: 0; font-size: 20px; line-height: 1.3; } .brand p, .file-name, .hint, .task .sub, .empty { color: var(--muted); } .form-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 12px; align-items: center; margin-bottom: 12px; } .form-top { align-items: start; } .form-top label { margin-top: 4px; } .brand p { margin: 2px 0 0; font-size: 13px; } .captcha-line { display: flex; gap: 8px; align-items: center; } .captcha-line .n-select { flex: 1; min-width: 0; } .form-row label { display: flex; align-items: center; gap: 4px; color: var(--ink); } .captcha-line img { width: 112px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); cursor: pointer; object-fit: cover; } .gate-actions, .sms-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; } .sms-actions { margin-top: 16px; } .sms-back { margin-right: auto; } .retry-row { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; } .shell { height: 100%; background: var(--bg); color: var(--ink); } .shell .n-layout-sider > .n-scrollbar, .shell .n-layout-sider .n-scrollbar-container, .shell .n-layout-sider .n-scrollbar-content { height: 100%; } .sider-body { flex: 1; height: 100%; display: flex; flex-direction: column; min-height: 0; } .sider-body .n-menu { flex: 1; min-height: 0; } .sider-title { display: flex; align-items: center; gap: 10px; padding: 16px 16px 8px; font-weight: 650; font-size: 16px; white-space: nowrap; } .sider-title.compact { justify-content: center; padding-left: 0; padding-right: 0; } .sider-mark { width: 28px; height: 28px; border-radius: 8px; } .sider-user { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; } .sider-user.compact { flex-direction: column; padding: 8px 0 12px; } .sider-user .who { min-width: 0; flex: 1; } .sider-user strong, .sider-user span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sider-user span { color: var(--muted); font-size: 12px; } .content { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; } .content .n-layout-scroll-container { height: 100%; display: flex; flex-direction: column; min-height: 0; } .page { min-height: 0; flex: 1; display: flex; flex-direction: column; } .page-scroll { min-height: 0; flex: 1; overflow: auto; } .page-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; } .page-head { flex: none; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--line); } .head-title { display: flex; align-items: center; gap: 8px; min-width: 0; } .page-head h2 { margin: 0; font-size: 18px; } .page-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; } .head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .panel, .task { background: var(--panel); border: 1px solid var(--line); } .panel { margin: 16px 20px; flex: 1; min-height: 0; overflow: auto; border-radius: 10px; padding: 16px; } .form-row .n-select, .form-row .n-date-picker, .form-row .n-input-number { width: 100%; } .checks { display: flex; flex-direction: column; gap: 8px; } .check-line { display: flex; align-items: center; gap: 4px; min-height: 28px; } .tabs { display: flex; align-items: center; gap: 8px; padding: 12px 20px 0; } .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tab { border: 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; padding: 8px 2px; margin-right: 16px; cursor: pointer; font-size: 14px; } .tab.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; } .tab em { font-style: normal; margin-left: 6px; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 0 7px; font-size: 12px; } .task-list { flex: 1; min-height: 0; overflow: auto; padding: 12px 20px 24px; display: flex; flex-direction: column; gap: 10px; } .task { border-radius: 10px; padding: 12px 14px; } .task.clickable { cursor: pointer; } .task.clickable:hover { border-color: var(--accent); } .detail { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; } .detail .n-progress { margin-bottom: 16px; } .path { word-break: break-all; } .path-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); padding: 6px 10px; min-height: 34px; line-height: 22px; } .path-text.placeholder { color: var(--muted); } .task.focus { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); } .task-top, .task-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .foot-status { display: flex; align-items: center; gap: 8px; min-width: 0; } .foot-status .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .task h3 { margin: 0; font-size: 15px; } .empty { margin: auto; text-align: center; } .task-actions { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; } .limit-label { color: var(--muted); font-size: 13px; } .limit-control { width: 148px; } .n-input-number .n-input__input-el { text-align: center; } .speed { color: var(--muted); font-size: 13px; white-space: nowrap; } .task-main { display: flex; align-items: flex-start; gap: 10px; min-width: 0; } .task.picked { border-color: var(--accent); } .fail-list { margin: 8px 0 0; padding-left: 18px; color: #9a4d16; font-size: 12px; } .task .sub { margin-top: 2px; font-size: 12px; }