:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --ink: #122036;
  --muted: #6d7b90;
  --line: #e3eaf3;
  --navy: #071426;
  --navy-2: #0b1d35;
  --blue: #3564f0;
  --blue-dark: #2348bd;
  --cyan: #67efd0;
  --cyan-dark: #087f6c;
  --ok: #0a9469;
  --warn: #ad6a06;
  --err: #cc4454;
  --soft: #edf2ff;
  --shadow: 0 20px 60px rgba(22, 44, 82, .08);
  --radius: 20px;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); cursor: pointer; }
::selection { color: var(--navy); background: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 18px; font-weight: 760; letter-spacing: .04em; }
.mark { position: relative; display: inline-block; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 12px; background: linear-gradient(145deg, #254fd0, #102c6d); box-shadow: 0 9px 22px rgba(32, 75, 184, .24); }
.mark::before { content: ""; position: absolute; inset: 8px 10px; background: linear-gradient(160deg, #a5ffe9, #58c9ff); clip-path: polygon(56% 0, 4% 58%, 43% 58%, 34% 100%, 96% 36%, 57% 36%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: 11px 17px; background: var(--blue); color: #fff; font-weight: 680; line-height: 1.2; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(53, 100, 240, .2); background: #2c59df; }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(53, 100, 240, .26); outline-offset: 2px; }
.btn:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.btn.ghost { color: #30435e; background: #fff; border-color: var(--line); }
.btn.ghost:hover:not(:disabled) { background: #f8faff; border-color: #c8d5e9; box-shadow: none; }
.btn.warn { color: var(--err); background: #fff2f3; border-color: #ffe1e4; }
.btn.warn:hover:not(:disabled) { background: #ffe8eb; box-shadow: none; }
.btn.small { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
.btn-dark { background: var(--navy); }
.btn-dark:hover:not(:disabled) { background: #102a49; box-shadow: 0 9px 24px rgba(7, 20, 38, .18); }
.btn-bright { color: var(--navy); background: var(--cyan); }
.btn-bright:hover:not(:disabled) { color: var(--navy); background: #8affdf; box-shadow: 0 10px 30px rgba(103, 239, 208, .2); }
.btn-icon { font-size: 20px; font-weight: 400; }
.field { display: grid; gap: 7px; }
.field label, .field > span, .label { color: #55667d; font-size: 13px; font-weight: 600; }
.field label span { margin-left: 6px; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select, .search input, .pager select, .go input { width: 100%; border: 1px solid #dce5ef; border-radius: 12px; padding: 12px 14px; outline: none; background: #fff; transition: border-color .18s, box-shadow .18s, background .18s; }
.field input:focus, .field textarea:focus, .field select:focus, .search input:focus, .pager select:focus, .go input:focus { border-color: #8da9f8; box-shadow: 0 0 0 4px rgba(53, 100, 240, .09); }
.field input::placeholder, textarea::placeholder, .search input::placeholder, .go input::placeholder { color: #9aa7b8; }
textarea { min-height: 112px; resize: vertical; line-height: 1.65; }
.note { color: var(--muted); font-size: 13px; line-height: 1.65; }
.form-msg { min-height: 20px; margin: 0; color: #ff9aa6; font-size: 13px; }
.section-kicker { display: block; margin-bottom: 6px; color: #8290a4; font-size: 10px; font-weight: 760; letter-spacing: .18em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(103, 239, 208, .1); }

/* 首页 */
.home { position: relative; min-height: 100vh; overflow: hidden; padding: 0 clamp(22px, 5vw, 76px); color: #eef5ff; background: radial-gradient(circle at 75% 40%, rgba(38, 89, 180, .18), transparent 36%), linear-gradient(135deg, #061221 0%, #08192d 52%, #071425 100%); }
.home::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: linear-gradient(rgba(139, 180, 224, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 180, 224, .1) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-a { top: -240px; right: -170px; width: 540px; height: 540px; border: 1px solid rgba(103, 239, 208, .11); box-shadow: 0 0 120px rgba(53, 100, 240, .06) inset; }
.ambient-b { bottom: -330px; left: -240px; width: 620px; height: 620px; border: 1px solid rgba(87, 133, 225, .1); }
.home-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; max-width: 1420px; margin: 0 auto; padding: 28px 0; border-bottom: 1px solid rgba(199, 220, 255, .1); }
.home .brand { color: #fff; }
.home .mark, .lock .mark { background: linear-gradient(145deg, #234cba, #102852); box-shadow: 0 9px 26px rgba(20, 68, 157, .32); }
.nav-meta { display: flex; align-items: center; gap: 9px; color: #a8b8cc; font-size: 12px; letter-spacing: .04em; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(380px, .92fr); gap: clamp(46px, 8vw, 120px); align-items: center; max-width: 1280px; min-height: 610px; margin: 0 auto; padding: 54px 0 46px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; color: var(--cyan); font-size: 11px; font-weight: 720; letter-spacing: .2em; }
.eyebrow b { display: grid; place-items: center; width: 29px; height: 22px; border: 1px solid rgba(103, 239, 208, .25); border-radius: 6px; font-size: 10px; letter-spacing: 0; }
.eyebrow.light { margin-bottom: 12px; color: var(--blue); }
.eyebrow.light b { color: var(--blue); border-color: #dbe4fa; }
.hero h1 { margin: 0 0 22px; font-size: clamp(46px, 5.2vw, 72px); font-weight: 760; line-height: 1.12; letter-spacing: -.055em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.lede { max-width: 520px; margin: 0 0 30px; color: #a7b8cc; font-size: 16px; line-height: 1.85; }
.go { display: grid; grid-template-columns: minmax(210px, 320px) auto; gap: 10px; align-items: start; }
.code-field { position: relative; }
.code-field > span { position: absolute; z-index: 1; top: 8px; left: 15px; color: #73869e; font-size: 8px; font-weight: 750; letter-spacing: .15em; pointer-events: none; }
.go input { height: 61px; padding: 24px 15px 8px; color: #fff; border-color: rgba(190, 215, 255, .16); background: rgba(255, 255, 255, .055); font-size: 17px; font-weight: 680; letter-spacing: .13em; text-transform: uppercase; }
.go input:focus { border-color: rgba(103, 239, 208, .55); box-shadow: 0 0 0 4px rgba(103, 239, 208, .07); }
.go .btn { min-height: 61px; padding-inline: 23px; }
.go .form-msg { grid-column: 1 / -1; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; color: #869ab2; font-size: 11px; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points i { color: var(--cyan); font-style: normal; }
.speed-card { position: relative; overflow: hidden; border: 1px solid rgba(177, 208, 255, .14); border-radius: 26px; background: linear-gradient(160deg, rgba(22, 48, 82, .72), rgba(8, 24, 43, .82)); box-shadow: 0 40px 100px rgba(0, 0, 0, .22); backdrop-filter: blur(18px); }
.speed-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 21px; color: #93a9c2; border-bottom: 1px solid rgba(177, 208, 255, .1); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.pill-dark { padding: 5px 8px; color: var(--cyan); border: 1px solid rgba(103, 239, 208, .18); border-radius: 6px; background: rgba(103, 239, 208, .05); font-size: 8px; }
.speed-core { position: relative; display: grid; place-items: center; height: 228px; }
.orbit { position: absolute; border: 1px solid rgba(113, 157, 215, .18); border-radius: 50%; }
.orbit-one { width: 174px; height: 174px; }
.orbit-two { width: 124px; height: 124px; border-style: dashed; animation: spin 24s linear infinite; }
.core-center { display: grid; place-items: center; width: 94px; height: 94px; border: 1px solid rgba(103, 239, 208, .2); border-radius: 50%; background: radial-gradient(circle, rgba(41, 91, 148, .55), rgba(9, 28, 49, .8)); box-shadow: 0 0 60px rgba(103, 239, 208, .08); }
.core-center strong { margin-top: 17px; color: #fff; font-size: 25px; letter-spacing: .08em; }
.core-center span { margin-bottom: 15px; color: var(--cyan); font-size: 8px; letter-spacing: .24em; }
.satellite { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px rgba(103, 239, 208, .55); }
.sat-one { top: 46px; left: calc(50% + 55px); }
.sat-two { bottom: 46px; left: calc(50% - 66px); width: 5px; height: 5px; background: #6b91ff; }
.speed-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 20px 18px; border: 1px solid rgba(177, 208, 255, .1); border-radius: 13px; background: rgba(4, 15, 29, .28); }
.speed-metrics div { padding: 13px 12px; border-right: 1px solid rgba(177, 208, 255, .08); }
.speed-metrics div:last-child { border: 0; }
.speed-metrics span, .speed-metrics b { display: block; }
.speed-metrics span { margin-bottom: 5px; color: #768da8; font-size: 9px; }
.speed-metrics b { color: #d9e8f9; font-size: 11px; font-weight: 600; }
.preview-files { border-top: 1px solid rgba(177, 208, 255, .1); }
.file { display: flex; align-items: center; gap: 11px; padding: 13px 20px; border-bottom: 1px solid rgba(177, 208, 255, .07); }
.file b { overflow: hidden; flex: 1; color: #d6e3f3; font-size: 11px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.file > span:last-child { color: #7f94ad; font-size: 10px; }
.file-icon { display: grid; place-items: center; width: 31px; height: 31px; color: #8ff3da; border-radius: 8px; background: rgba(103, 239, 208, .08); font-size: 8px; font-weight: 750; }
.file-icon.blue { color: #9db4ff; background: rgba(80, 118, 232, .12); }
.download-ready { display: flex; align-items: center; gap: 9px; padding: 14px 20px; color: var(--cyan); background: rgba(103, 239, 208, .035); font-size: 10px; }
.download-ready > span:last-child { margin-left: auto; color: var(--cyan); }
.home-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin: 0 auto; border-top: 1px solid rgba(199, 220, 255, .1); border-bottom: 1px solid rgba(199, 220, 255, .1); }
.home-steps article { display: flex; gap: 17px; padding: 25px 26px; border-right: 1px solid rgba(199, 220, 255, .1); }
.home-steps article:first-child { padding-left: 0; }
.home-steps article:last-child { border: 0; }
.step-no { color: var(--cyan); font-size: 11px; font-weight: 700; }
.home-steps h2 { margin: 0 0 6px; color: #e8f1fc; font-size: 13px; font-weight: 630; }
.home-steps p { margin: 0; color: #7f93aa; font-size: 11px; line-height: 1.6; }
.home-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 20px 0 24px; color: #5e738c; font-size: 10px; letter-spacing: .05em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 下载台 */
.work { background: radial-gradient(circle at 100% 0, rgba(53, 100, 240, .06), transparent 28%), var(--bg); }
.topbar { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; padding: 12px clamp(18px, 4vw, 50px); border-bottom: 1px solid rgba(218, 227, 239, .85); background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px); }
.text-link { justify-self: end; color: #68788e; font-size: 12px; }
.text-link:hover { color: var(--blue); }
.flow-steps { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.flow-steps li { position: relative; display: flex; align-items: center; gap: 7px; color: #99a5b5; font-size: 12px; }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 10px); width: 14px; height: 1px; background: #dbe3ed; }
.flow-steps i { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #dce4ee; border-radius: 50%; font-size: 10px; font-style: normal; }
.flow-steps li.active { color: var(--blue); font-weight: 650; }
.flow-steps li.active i { color: #fff; border-color: var(--blue); background: var(--blue); }
.flow-steps li.done { color: var(--ok); }
.flow-steps li.done i { color: #fff; border-color: var(--ok); background: var(--ok); }
.wrap { width: min(1060px, calc(100% - 36px)); margin: 0 auto; padding: 38px 0 56px; }
.desk-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.desk-intro h1 { margin: 0 0 8px; font-size: 33px; letter-spacing: -.035em; }
.desk-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 440px; }
.chip { padding: 7px 10px; color: #38517d; border: 1px solid #e0e8f7; border-radius: 9px; background: rgba(255, 255, 255, .66); font-size: 11px; }
.chip.bad { color: var(--err); border-color: #f6d9dd; background: #fff5f6; }
.panel { border: 1px solid rgba(222, 231, 241, .9); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.desk-panel { overflow: hidden; padding: 27px; }
.section-head, .file-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-head h2, .file-toolbar h2 { margin: 0; font-size: 18px; }
.soft-badge { padding: 6px 9px; color: #4a668e; border-radius: 8px; background: #f0f5fc; font-size: 10px; }
.desk-panel textarea { min-height: 124px; border-color: #d9e3ef; background: #f9fbfd; }
.phone-field { max-width: 420px; margin-top: 14px; }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.tools { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0; }
.action-row .tools { margin: 0; }
.action-note { color: #8b98a9; font-size: 11px; }
.history-actions { display: flex; margin-top: 12px; }
.history-actions .btn { width: 100%; max-width: 240px; }
.file-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.select-all { display: flex; align-items: center; gap: 7px; color: #5c6f86; font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid #e8edf4; font-size: 13px; vertical-align: middle; white-space: nowrap; }
th { color: #7b899b; background: #f8fafc; font-size: 10px; font-weight: 680; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover td { background: #fafbfe; }
td.file-name { max-width: 480px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-type { color: #76869a; font-size: 11px; }
.pick-col { width: 38px; }
.empty { padding: 38px 15px; color: #94a1b1; text-align: center; }
.empty-icon { display: block; margin-bottom: 8px; color: #b0bdcc; font-size: 24px; }
.selection-summary { padding: 11px 3px 0; color: #77869a; font-size: 11px; text-align: right; }
.security-strip { display: flex; align-items: center; gap: 13px; margin-top: 23px; padding: 14px 16px; border: 1px solid #dfeee9; border-radius: 13px; background: #f5fbf9; }
.security-strip .shield { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; color: var(--ok); border-radius: 9px; background: #e3f5ee; font-weight: 750; }
.security-strip p { margin: 0; color: #648074; font-size: 11px; line-height: 1.65; }
.security-strip b { color: #2c5e4c; font-size: 12px; }
.gate { display: flex; gap: 15px; margin-bottom: 18px; padding: 20px; color: var(--err); border: 1px solid #f3d6da; border-radius: 16px; background: #fff6f7; }
.gate-icon { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%; background: #fbe4e7; font-weight: 750; }
.gate h2 { margin: 0 0 5px; font-size: 16px; }
.gate p { margin: 0; color: #976b72; font-size: 12px; }

/* 弹窗与下载结果 */
.modal-back { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 20px; background: rgba(4, 14, 28, .62); backdrop-filter: blur(8px); animation: fade-in .16s ease; }
.modal { width: min(610px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 20px; background: #fff; box-shadow: 0 28px 90px rgba(0, 0, 0, .28); }
.modal-wide { width: min(720px, 100%); }
.modal h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.02em; }
.modal p { color: #596b82; font-size: 13px; line-height: 1.65; }
.modal .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.modal-close { float: right; width: 31px; height: 31px; color: #718197; border: 0; border-radius: 9px; background: #f2f5f8; }
.linkbox { width: 100%; min-height: 128px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.6; resize: vertical; }
.download-list { display: grid; gap: 9px; max-height: 330px; overflow-y: auto; margin-top: 17px; }
.download-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }
.download-item b { display: block; overflow: hidden; margin-bottom: 4px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.download-item small { color: var(--muted); }
.download-actions { display: flex; gap: 7px; }
.download-tip { margin: 14px 0 0; padding: 11px 13px; color: #547265 !important; border-radius: 10px; background: #f1f8f5; font-size: 11px !important; }
.task-progress { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.task-stage { margin: 0 0 12px; color: #263d5b !important; font-weight: 650; }
.task-progress .progress { height: 8px; }
.progress.indeterminate i { animation: task-indeterminate 1.2s ease-in-out infinite; }
@keyframes task-indeterminate { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
.task-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.timing-details { margin-top: 14px; border-top: 1px solid var(--line); }
.timing-details summary { padding: 12px 0 7px; color: #526b91; cursor: pointer; font-size: 12px; font-weight: 620; }
.timing-table { width: 100%; border-collapse: collapse; color: #596b82; font-size: 11px; }
.timing-table td { padding: 6px 0; border-bottom: 1px solid #edf1f5; }
.timing-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.copy-feedback { color: var(--ok) !important; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 管理后台 */
.admin-body { background: #f3f6fa; }
.admin { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 25px 15px 17px; color: #d4deed; background: linear-gradient(180deg, #08172a, #071322); }
.side .brand { padding: 0 10px; color: #fff; }
.side-caption { margin: 29px 11px 12px; color: #526780; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.side-nav { display: grid; gap: 5px; }
.side-nav button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 13px; color: #93a5bc; border: 1px solid transparent; border-radius: 11px; background: transparent; text-align: left; font-size: 13px; transition: color .16s, background .16s, border-color .16s; }
.side-nav button > span { color: #4e6580; font-size: 9px; font-weight: 700; }
.side-nav button:hover { color: #e3ecf7; background: rgba(255, 255, 255, .035); }
.side-nav button.on { color: #fff; border-color: rgba(103, 239, 208, .1); background: linear-gradient(90deg, rgba(53, 100, 240, .26), rgba(53, 100, 240, .08)); }
.side-nav button.on > span { color: var(--cyan); }
.side-bottom { margin-top: auto; padding: 15px 8px 0; border-top: 1px solid rgba(194, 216, 246, .08); }
.side-status { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #71869e; font-size: 10px; }
.side-user { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #b7c5d7; font-size: 11px; }
.side-user button { padding: 5px 8px; color: #8498b0; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .05); font-size: 10px; }
.side-user button:hover { color: #fff; }
.main { min-width: 0; padding: 0 28px 42px; overflow-x: auto; }
.main-top { display: flex; align-items: center; justify-content: space-between; min-height: 82px; margin-bottom: 24px; border-bottom: 1px solid #e0e7ef; }
.main-top .section-kicker { margin: 0 0 3px; }
.main-top b { font-size: 13px; }
.main-tools { display: flex; align-items: center; gap: 12px; }
.main-date { color: #8896a8; font-size: 11px; }
.mobile-logout { display: none; }
.view > h2 { margin: 0 0 20px; font-size: 26px; letter-spacing: -.035em; }
.view > .note { margin-top: -10px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.stat { position: relative; overflow: hidden; min-height: 112px; padding: 19px; border: 1px solid #e1e8f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(29, 51, 84, .035); }
.stat::after { content: ""; position: absolute; right: -18px; bottom: -27px; width: 77px; height: 77px; border-radius: 50%; background: #f2f5ff; }
.stat b { position: relative; z-index: 1; display: block; margin-top: 10px; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.stat span { color: #77869a; font-size: 11px; }
.view .panel { margin-top: 18px; padding: 20px; box-shadow: 0 8px 30px rgba(29, 51, 84, .04); }
.view .panel > h2 { margin: 0 0 14px; font-size: 16px; }
.view table { overflow: hidden; border: 1px solid #e3e9f0; border-radius: 13px; background: #fff; }
.view .panel table { border: 0; }
.view .tools { margin: 13px 0; }
.search { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) auto; gap: 9px; margin-bottom: 13px; padding: 13px; border: 1px solid #e2e9f1; border-radius: 13px; background: #fff; }
.search input { padding: 10px 12px; font-size: 12px; }
.search .btn { min-height: 40px; font-size: 12px; }
.tag { display: inline-flex; align-items: center; padding: 4px 8px; color: #5c6d82; border-radius: 7px; background: #eef2f6; font-size: 10px; font-weight: 650; }
.tag.used, .tag.success, .tag.ready { color: #087d5b; background: #e7f6f0; }
.tag.unused { color: #375cae; background: #eaf0ff; }
.tag.disabled, .tag.failed, .tag.expired, .tag.exhausted { color: #b83e4c; background: #fff0f2; }
.tag.invalid { color: #95600a; background: #fff5e3; }
.cut { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 8px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; color: #7c8b9e; font-size: 11px; }
.pager select { width: auto; padding: 8px 10px; font-size: 11px; }
.lock { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(360px, .85fr); min-height: 100vh; color: #fff; background: radial-gradient(circle at 20% 60%, rgba(53, 100, 240, .17), transparent 36%), var(--navy); }
.lock-showcase { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(34px, 6vw, 86px); }
.lock-showcase .brand { color: #fff; }
.lock-showcase h1 { max-width: 500px; margin: 12px 0 18px; font-size: clamp(40px, 5vw, 66px); line-height: 1.15; letter-spacing: -.05em; }
.lock-showcase p { max-width: 480px; margin: 0; color: #8fa4bd; font-size: 15px; line-height: 1.85; }
.lock-features { display: flex; flex-wrap: wrap; gap: 10px; }
.lock-features span { padding: 7px 10px; color: #8ca4be; border: 1px solid rgba(181, 211, 249, .12); border-radius: 8px; font-size: 10px; }
.lock-card { align-self: center; width: min(410px, calc(100% - 44px)); margin: 30px auto; padding: 31px; color: var(--ink); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgba(0, 0, 0, .22); }
.lock-symbol { margin-bottom: 22px; }
.lock-card h2 { margin: 0 0 7px; font-size: 25px; }
.lock-card > .note { margin: 0 0 24px; }
.lock-card .field { margin-top: 15px; }
.lock-submit { width: 100%; margin-top: 21px; }
.lock-card .form-msg { margin-top: 10px; color: var(--err); }
.lock-foot { margin-top: 18px; color: #98a4b3; font-size: 10px; text-align: center; }
.miss { display: grid; place-items: center; min-height: 100vh; padding: 25px; background: radial-gradient(circle at 50% 20%, rgba(53, 100, 240, .09), transparent 35%), #f4f7fb; }
.miss-card { width: min(480px, 100%); padding: 38px; border: 1px solid #e1e8f1; border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.miss-card .brand { justify-content: center; }
.miss-code { margin: 28px 0 4px; color: #e5ebf5; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.miss-card h1 { margin: 0 0 12px; font-size: 23px; }
.miss-card p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.pool-stats { margin-bottom: 18px; }
.node-card { padding: 22px !important; }
.node-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.node-head h2 { margin: 0 0 5px !important; font-size: 19px !important; }
.node-head p { margin: 0; }
.capacity { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #e4eaf2; border-radius: 13px; background: #f8fafc; }
.capacity-text { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: #64758a; font-size: 12px; }
.capacity-text b { color: #263d5b; font-weight: 650; }
.progress { overflow: hidden; height: 7px; border-radius: 999px; background: #e5ebf2; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .25s ease; }
.progress i.danger { background: linear-gradient(90deg, #e5a047, var(--err)); }
.node-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 22px; margin: 17px 0; }
.node-field { min-width: 0; }
.node-field span, .node-field b { display: block; }
.node-field span { margin-bottom: 4px; color: #8a97a8; font-size: 10px; }
.node-field b { overflow: hidden; color: #3c4e66; font-size: 12px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.error-text { margin: 12px 0; padding: 10px 12px; color: #b8404d; border-radius: 10px; background: #fff1f3; font-size: 12px; line-height: 1.6; }
.account-details { margin-top: 14px; border-top: 1px solid var(--line); }
.account-details summary { padding: 14px 0 8px; color: #526b91; cursor: pointer; font-size: 12px; font-weight: 620; }
.detail-json { max-height: 420px; overflow: auto; margin: 8px 0 0; padding: 14px; color: #40536e; border: 1px solid #e3eaf2; border-radius: 11px; background: #f8fafc; font: 11px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.node-actions { padding-top: 13px; border-top: 1px solid var(--line); }
.qr-box { display: grid; justify-items: center; gap: 12px; text-align: center; }
.qr-image { width: 245px; height: 245px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(340px, 1fr) minmax(330px, .85fr); gap: 40px; }
  .hero h1 { font-size: 49px; }
  .speed-metrics div { padding-inline: 8px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .home { overflow-y: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { max-width: 620px; }
  .speed-card { width: min(520px, 100%); }
  .home-steps { margin-top: 35px; }
  .home-steps article { padding-inline: 16px; }
  .admin { grid-template-columns: 1fr; }
  .side { position: relative; z-index: 12; display: block; height: auto; padding: 12px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side .brand, .side-caption, .side-bottom { display: none; }
  .side-nav { display: flex; gap: 6px; }
  .side-nav button { width: auto; padding: 10px 12px; }
  .main { padding: 0 18px 35px; }
  .main-top { min-height: 70px; margin-bottom: 20px; }
  .mobile-logout { display: inline-flex; }
  .search { grid-template-columns: 1fr 1fr; }
  .lock { grid-template-columns: 1fr; }
  .lock-showcase { display: none; }
}
@media (max-width: 640px) {
  .home { padding-inline: 18px; }
  .home-nav { padding: 20px 0; }
  .nav-meta { font-size: 0; }
  .nav-meta::after { content: "DIRECT"; font-size: 9px; }
  .hero { min-height: auto; gap: 35px; padding: 40px 0 30px; }
  .hero h1 { font-size: 42px; }
  .lede { font-size: 14px; }
  .go { grid-template-columns: 1fr; }
  .go .btn { width: 100%; }
  .hero-points { display: grid; gap: 9px; }
  .speed-core { height: 205px; }
  .home-steps { grid-template-columns: 1fr; }
  .home-steps article, .home-steps article:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(199, 220, 255, .08); }
  .home-steps article:last-child { border-bottom: 0; }
  .topbar { grid-template-columns: 1fr auto; min-height: 64px; padding-inline: 16px; }
  .topbar .brand { font-size: 15px; }
  .topbar .mark { width: 32px; height: 32px; }
  .flow-steps { order: 3; grid-column: 1 / -1; justify-content: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid #edf1f6; }
  .text-link { font-size: 11px; }
  .wrap { width: calc(100% - 24px); padding-top: 25px; }
  .desk-intro { display: block; }
  .desk-intro h1 { font-size: 28px; }
  .chips { justify-content: flex-start; margin-top: 15px; }
  .desk-panel { padding: 18px; border-radius: 16px; }
  .action-row { display: block; }
  .action-row .tools { display: grid; grid-template-columns: 1fr; }
  .history-actions .btn { max-width: none; }
  .action-note { display: block; margin-top: 11px; }
  .soft-badge { display: none; }
  .file-table th:nth-child(4), .file-table td:nth-child(4) { display: none; }
  td.file-name { max-width: 190px; }
  .security-strip { align-items: flex-start; }
  .download-item { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-end; }
  .modal { padding: 20px; }
  .main { padding-inline: 12px; }
  .main-date { display: none; }
  .stats { gap: 9px; }
  .stat { min-height: 98px; padding: 15px; }
  .stat b { font-size: 26px; }
  .search { grid-template-columns: 1fr; }
  .view > h2 { font-size: 23px; }
  .view .panel { padding: 15px; }
  .pager { align-items: flex-start; flex-direction: column; }
  .node-grid { grid-template-columns: 1fr; }
  .capacity-text { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lock-card { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
