:root {
  --ink: #172033;
  --muted: #69758a;
  --line: #dfe5ee;
  --paper: #f4f6fa;
  --card: #ffffff;
  --blue: #2457e6;
  --violet: #6d4aff;
  --green: #16865a;
  --shadow: 0 18px 55px rgba(25, 36, 64, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 8% 0, rgba(36, 87, 230, .08), transparent 27rem), var(--paper); font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { height: 84px; padding: 0 max(4vw, 28px); border-bottom: 1px solid rgba(198, 207, 222, .8); display: flex; align-items: center; justify-content: space-between; background: rgba(250, 251, 253, .86); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; position: relative; display: block; background: linear-gradient(145deg, var(--blue), var(--violet)); box-shadow: 0 7px 18px rgba(55, 73, 202, .24); }
.brand-mark i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: white; }
.brand-mark i:nth-child(1) { left: 8px; bottom: 9px; }.brand-mark i:nth-child(2) { left: 17px; top: 9px; }.brand-mark i:nth-child(3) { right: 7px; bottom: 8px; }
.brand-mark::after { content: ""; position: absolute; inset: 10px 9px 10px; border-left: 2px solid rgba(255,255,255,.8); border-bottom: 2px solid rgba(255,255,255,.8); transform: skewY(-32deg); }
.brand strong { display: block; font-size: 17px; letter-spacing: -.02em; }.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .16em; font-weight: 750; }
.live-status { display: flex; align-items: center; gap: 9px; color: #526077; font-size: 13px; font-weight: 650; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #25aa70; box-shadow: 0 0 0 5px rgba(37, 170, 112, .11); }

main { width: min(1320px, 92vw); margin: 0 auto; padding: 60px 0 90px; min-height: calc(100vh - 160px); }
.alert { padding: 14px 18px; margin-bottom: 28px; border: 1px solid #f4b3ac; border-radius: 12px; background: #fff2f0; color: #9b3028; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .19em; }
.hero { min-height: 280px; padding: 42px 52px; border-radius: 28px; overflow: hidden; color: white; background: linear-gradient(125deg, #13295f, #274fb9 58%, #7754df); display: flex; align-items: center; justify-content: space-between; gap: 36px; position: relative; box-shadow: 0 30px 70px rgba(26, 54, 127, .18); }
.hero::before,.hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }.hero::before { width: 420px; height: 420px; right: -110px; top: -215px; }.hero::after { width: 280px; height: 280px; right: 60px; bottom: -220px; }
.hero .eyebrow { color: #becdff; }.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.05em; }.hero .lead { max-width: 680px; margin: 22px 0 0; color: #dce5ff; font-size: 17px; line-height: 1.75; }
.hero-stat { min-width: 166px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); position: relative; z-index: 2; }.hero-stat strong { font-size: 52px; line-height: 1; }.hero-stat span { margin-top: 9px; color: #dbe4ff; font-size: 13px; }

.section-heading { margin: 58px 2px 22px; display: flex; align-items: end; justify-content: space-between; }.section-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }.section-heading > span { color: var(--muted); font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.folder-card { min-height: 132px; padding: 25px 26px; display: flex; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); transition: transform .2s, border-color .2s, box-shadow .2s; }.folder-card:hover { transform: translateY(-3px); border-color: #b9c8f5; box-shadow: var(--shadow); }.folder-main { min-width: 0; flex: 1; }.folder-main h3 { overflow-wrap: anywhere; margin: 0; font-size: 22px; letter-spacing: -.02em; }.folder-main p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.folder-icon { width: 55px; height: 43px; flex: 0 0 auto; border-radius: 5px 8px 8px 8px; background: linear-gradient(145deg, #dce6ff, #aebff5); position: relative; }.folder-icon::before { content: ""; width: 25px; height: 9px; position: absolute; top: -6px; left: 0; border-radius: 5px 6px 0 0; background: #c2d0f7; }.folder-icon span { position: absolute; inset: 13px 11px; border-top: 2px solid #5573cd; border-bottom: 2px solid #5573cd; opacity: .75; }
.arrow { color: #8390a6; font-size: 22px; transition: color .2s, transform .2s; }.folder-card:hover .arrow { color: var(--blue); transform: translate(2px,-2px); }

.breadcrumbs { margin: -12px 0 36px; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }.breadcrumbs a:hover { color: var(--blue); }.breadcrumbs strong { color: var(--ink); }.breadcrumbs span { color: #acb5c4; }
.page-title { padding-bottom: 34px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 30px; }.page-title h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.055em; line-height: 1.05; }.page-title p:last-child { margin: 16px 0 0; color: var(--muted); }.count-pill { white-space: nowrap; padding: 10px 14px; border: 1px solid #cfd8e7; border-radius: 999px; color: #58667c; background: white; font-size: 12px; font-weight: 700; }
.unit-list { margin-top: 30px; border-top: 1px solid var(--line); }.unit-row { min-height: 104px; padding: 18px 9px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 15px; transition: padding .2s, background .2s; }.unit-row:hover { padding-left: 19px; padding-right: 19px; background: rgba(255,255,255,.72); }.unit-index { font-size: 12px; font-variant-numeric: tabular-nums; color: #929caf; }.unit-name strong { display: block; overflow-wrap: anywhere; font-size: 20px; }.unit-name small { display: block; margin-top: 8px; color: var(--muted); }.unit-open { color: var(--muted); font-size: 13px; }.unit-open b { margin-left: 12px; color: var(--blue); font-size: 18px; }
.unit-preview-list { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }.unit-preview-section { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 12px 42px rgba(25,36,64,.05); }.unit-preview-heading { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }.unit-preview-title { min-width: 0; display: flex; align-items: center; gap: 15px; }.unit-preview-title .unit-index { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #d7dfec; border-radius: 10px; display: grid; place-items: center; background: #f6f8fc; }.unit-preview-title h2 { margin: 0; overflow-wrap: anywhere; font-size: 22px; letter-spacing: -.025em; }.unit-preview-title p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }.unit-page-link { padding: 9px 11px; border: 1px solid #cfd8e7; border-radius: 10px; white-space: nowrap; color: #536179; font-size: 11px; font-weight: 700; transition: color .2s, border-color .2s, background .2s; }.unit-page-link b { margin-left: 6px; color: var(--blue); font-size: 15px; }.unit-page-link:hover { color: var(--blue); border-color: #b7c7f7; background: #f4f7ff; }
.unit-plot-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }.unit-plot-preview { min-width: 0; padding: 15px; border: 1px solid #dfe5ee; border-radius: 15px; background: #fbfcfe; }.unit-plot-name { min-height: 34px; margin-bottom: 12px; display: flex; align-items: start; justify-content: space-between; gap: 12px; }.unit-plot-name h3 { margin: 3px 0 0; min-width: 0; overflow-wrap: anywhere; font-size: 14px; letter-spacing: -.01em; }.unit-plot-frame { overflow: hidden; border: 1px solid #d8e0eb; border-radius: 10px; display: block; position: relative; background: #f7f9fc; }.unit-plot-frame img { width: 100%; height: auto; display: block; transition: transform .3s; }.unit-plot-frame > span { position: absolute; right: 10px; bottom: 10px; padding: 7px 9px; border-radius: 7px; color: white; background: rgba(22,31,52,.8); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: .2s; }.unit-plot-frame:hover img { transform: scale(1.015); }.unit-plot-frame:hover > span { opacity: 1; transform: translateY(0); }.unit-plot-stats { padding: 11px 3px 1px; display: flex; flex-wrap: wrap; gap: 7px 16px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }.unit-empty { padding: 28px; border: 1px dashed #ccd5e3; border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); background: #fafbfd; font-size: 12px; }.unit-empty p { margin: 0; }.unit-empty a { white-space: nowrap; color: var(--blue); font-weight: 700; }

.unit-title h1 { font-size: clamp(36px, 5vw, 64px); }.gallery { margin-top: 34px; display: grid; gap: 34px; }.plot-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 12px 42px rgba(25,36,64,.05); }.plot-heading { margin-bottom: 20px; display: flex; align-items: start; justify-content: space-between; gap: 20px; }.plot-heading h2 { margin: 7px 0 0; overflow-wrap: anywhere; font-size: 22px; letter-spacing: -.025em; }.method-label { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .16em; }.state { padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 750; white-space: nowrap; }.state.ready { color: #13724d; background: #e6f6ef; }.state.warning { color: #925e14; background: #fff4d9; }.state.error { color: #a23831; background: #ffe9e6; }
.plot-frame { overflow: hidden; border: 1px solid #d8e0eb; border-radius: 14px; display: block; position: relative; background: #f7f9fc; }.plot-frame img { width: 100%; height: auto; display: block; transition: transform .35s; }.plot-frame:hover img { transform: scale(1.012); }.zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; border-radius: 8px; color: white; background: rgba(22, 31, 52, .78); backdrop-filter: blur(8px); font-size: 11px; font-weight: 650; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }.plot-frame:hover .zoom-hint { opacity: 1; transform: translateY(0); }
.metrics { margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }.metrics div { padding: 14px 17px; border-right: 1px solid var(--line); }.metrics div:last-child { border: 0; }.metrics dt { color: var(--muted); font-size: 10px; }.metrics dd { margin: 6px 0 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }.file-meta { margin-top: 17px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 10px; }.file-meta span { overflow-wrap: anywhere; }.file-meta time { white-space: nowrap; }.plot-error { margin-top: 14px; padding: 12px 14px; border-radius: 9px; color: #9b3028; background: #fff2f0; font-size: 12px; }

.empty { margin-top: 30px; padding: 74px 30px; border: 1px dashed #cbd4e2; border-radius: 20px; text-align: center; color: var(--muted); background: rgba(255,255,255,.45); }.empty h3,.empty h1 { margin: 0; color: var(--ink); }.empty p { margin: 13px 0 0; }.not-found { margin-top: 30px; }.button { display: inline-block; margin-top: 24px; padding: 11px 16px; border-radius: 9px; color: white; background: var(--blue); font-size: 13px; font-weight: 700; }
footer { min-height: 76px; padding: 22px max(4vw, 28px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; background: rgba(255,255,255,.45); }
.update-toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; padding: 12px 17px; border-radius: 10px; color: white; background: #172033; box-shadow: 0 16px 40px rgba(0,0,0,.18); font-size: 12px; transform: translate(-50%, 25px); opacity: 0; pointer-events: none; transition: .25s; }.update-toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1040px) {
  .unit-preview-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; }.live-status span:last-child { display: none; }
  main { width: min(92vw, 620px); padding-top: 32px; }
  .hero { min-height: 390px; padding: 34px 26px; align-items: flex-start; flex-direction: column; }.hero-stat { min-width: 112px; align-self: flex-end; }.hero-stat strong { font-size: 37px; }
  .card-grid { grid-template-columns: 1fr; }.page-title { align-items: flex-start; flex-direction: column; }.page-title h1 { font-size: 42px; }.unit-row { grid-template-columns: 42px 1fr; }.unit-open { display: none; }
  .unit-preview-section { padding: 17px; }.unit-preview-heading { align-items: flex-start; flex-direction: column; }.unit-page-link { align-self: stretch; text-align: center; }.unit-plot-grid { grid-template-columns: 1fr; }.unit-empty { align-items: flex-start; flex-direction: column; }
  .plot-card { padding: 16px; }.metrics { grid-template-columns: repeat(2, 1fr); }.metrics div:nth-child(2) { border-right: 0; }.metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.file-meta { align-items: flex-start; flex-direction: column; }.file-meta time { white-space: normal; }
  footer { flex-direction: column; }
}
