/* ZJU Blue: https://zjui.intl.zju.edu.cn/sites/default/files/2023-02/ZJUI%20VI.pdf */
:root { color: #172a43; background: #f5f7fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; --zju-blue: #003F88; --line: #dbe3ef; --muted: #5d6e85; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { min-width: 320px; margin: 0; background: radial-gradient(ellipse at 95% 5%, #e4ebf7, transparent 45%), #f5f7fb; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: 0; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #5395e0; outline-offset: 4px; }
.site-header, main, footer { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--zju-blue); text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.055em; }
.brand-label { padding-left: 18px; border-left: 1px solid #cbd8de; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.header-tools, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.online { display: inline-flex; gap: 8px; align-items: center; color: #607682; font-size: 12px; margin-right: 10px; }
.online::before { content: ""; width: 6px; height: 6px; background: #219b81; border-radius: 50%; }
.online.offline { color: #ad3838; }
.online.offline::before { background: #ad3838; }
.secondary { padding: 9px 13px; background: white; color: var(--zju-blue); border: 1px solid #cad8eb; border-radius: 7px; font-size: 12px; }
.intro { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 35px; padding: 52px; border-radius: 22px; background: var(--zju-blue); color: #f3f7ff; }
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 95% 0, #1d5ba2 0, transparent 62%); }
.hero-copy, .hero-visual { position: relative; }
.institution-brand { display: block; width: min(330px, 100%); margin: 0 0 28px; }
.institution-brand img { display: block; width: 100%; height: auto; }
.eyebrow { margin: 0 0 12px; color: var(--zju-blue); font: 600 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.intro .eyebrow { color: #bed6f6; }
h1 { margin: 20px 0 22px; font-size: clamp(38px, 4.2vw, 59px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
h1 span { display: block; }
html[lang="zh-CN"] h1 { font-size: clamp(30px, 3.2vw, 43px); line-height: 1.35; letter-spacing: -.045em; }
.hero-accent { color: #c4ddff; margin-top: 16px; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.45; letter-spacing: -.025em; }
html[lang="zh-CN"] .hero-accent { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: 0; }
.hero-description { max-width: 570px; margin: 0 0 28px; color: #d3e2f7; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.card-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 17px; border-radius: 8px; background: var(--zju-blue); color: white; text-decoration: none; font-size: 12px; font-weight: 650; transition: background 160ms ease; }
.card-action:hover { background: #18569e; }
.hero-actions .card-action { min-height: 44px; color: var(--zju-blue); background: white; }
.hero-actions .card-action:hover { background: #e7f0fd; }
.hero-link { color: #edf4ff; font-size: 13px; text-underline-offset: 5px; }
.hero-mode { max-width: 550px; margin: 20px 0 0; color: #b4cdea; font-size: 11px; line-height: 1.7; }
.hero-visual { height: 275px; border-left: 1px solid #ffffff18; padding-left: 24px; }
.airspace-sketch { position: relative; height: 240px; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, black 30%, transparent 78%); }
.orbit { position: absolute; width: 230px; height: 134px; left: 18px; border: 1px solid #bddbff; border-radius: 50%; transform: rotate(-25deg); box-shadow: 0 0 30px #bddbff14; }
.orbit-one { top: 30px; }
.orbit-two { top: 60px; opacity: .65; }
.orbit-three { top: 90px; opacity: .3; }
.air-node { position: absolute; width: 9px; height: 9px; border: 2px solid #e7f1ff; background: #4a83c5; border-radius: 50%; box-shadow: 0 0 0 6px #bddbff14; }
.node-one { top: 68px; left: 64px; }
.node-two { top: 136px; right: 42px; }
.node-three { top: 196px; left: 100px; }
.aircraft { position: absolute; top: 36px; right: 44px; height: 10px; width: 10px; background: #e3efff; transform: rotate(45deg); box-shadow: 0 0 18px #bddbff; }
.visual-caption { display: flex; justify-content: space-between; color: #b4cdea; font: 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 52px 0 16px; }
.section-heading h2 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 4px; max-width: 360px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.service-row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-bottom: 16px; }
.service-status { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
#notice { margin: 0; font-size: 12px; color: #ab3d3d; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 0 46px; }
.scenario-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 20px #24485806; transition: border-color 160ms ease, box-shadow 160ms ease; }
.scenario-card:hover { border-color: #93becb; box-shadow: 0 8px 30px #24485810; }
.preview { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e8f0f4; border-bottom: 1px solid #dde6e9; }
.preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.status { position: absolute; top: 12px; right: 12px; display: inline-flex; gap: 6px; align-items: center; border: 1px solid #c6d3db; border-radius: 6px; padding: 6px 9px; background: #ffffffed; color: #27414d; font-size: 10px; }
.status::before { content: ""; height: 5px; width: 5px; border-radius: 50%; background: #8496a0; }
.status.running::before { background: #229b7b; }
.status.error::before, .status.timed_out::before { background: #b84848; }
.status.completed::before { background: #198199; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card-subtitle { margin: 0 0 9px; min-height: 28px; color: var(--zju-blue); font-size: 10px; font-weight: 550; line-height: 1.5; }
.card-title { margin: 0; font-size: 23px; font-weight: 620; line-height: 1.2; letter-spacing: -.035em; }
.card-description { margin: 14px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.metrics { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 12px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.5; }
progress { width: 100%; height: 5px; accent-color: var(--zju-blue); }
.card-body .actions { margin-top: auto; padding-top: 4px; }
.load-error { color: #ad3838; }
.paper-panel { border-top: 1px solid #ccdbe1; padding: 38px 0; }
.paper-panel h2, .contact-panel h2 { margin: 0 0 16px; font-size: 27px; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.paper-panel > p:not(.eyebrow) { max-width: 850px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.citation-box { padding: 22px 26px; margin-top: 24px; border: 1px solid #d6e1e6; border-radius: 10px; background: white; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #456673; font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
#citation { margin: 18px 0 0; font-size: 14px; line-height: 1.95; color: #273f4b; }
.bibtex { margin-top: 14px; padding: 14px 24px; border: 1px solid #d6e1e6; border-radius: 10px; background: #edf2f4; }
.bibtex summary { cursor: pointer; width: fit-content; font-size: 12px; }
.bibtex[open] .citation-heading { margin-top: 20px; }
.bibtex pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.identity-note, .copy-status { font-size: 11px !important; color: #607682; }
.copy-status:empty { display: none; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; margin: 0 0 40px; padding: 32px; border: 1px solid #d5e1f1; border-radius: 12px; background: #eaf0f9; }
.contact-panel p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 8px; color: #53717b; font-size: 12px; }
.contact-name { font-weight: 650; font-size: 15px; color: #203d49; }
.contact-details a { margin-top: 4px; font-size: 15px; color: var(--zju-blue); text-underline-offset: 4px; }
.contact-details a span { margin-left: 12px; }
.log-panel { border: 1px solid var(--line); padding: 20px; margin-bottom: 20px; border-radius: 10px; background: white; }
.log-panel > div { display: flex; align-items: center; justify-content: space-between; }
.log-panel h2 { font-size: 18px; }
.log-panel pre { max-height: 420px; overflow: auto; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 12px; }
.skeleton { min-height: 410px; opacity: .5; }
footer { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0 34px; font-size: 10px; color: #667e89; }
footer > span:first-child { font-weight: 700; color: #294552; }
footer a { margin-left: auto; text-underline-offset: 4px; }
@media (max-width: 1050px) { .intro { padding: 40px; grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; } .hero-visual { padding-left: 10px; } .orbit { width: 175px; left: 0; } .card-body { padding: 18px; } .card-title { font-size: 21px; } }
@media (max-width: 850px) { .intro { display: block; } .hero-visual { display: none; } .hero-copy { max-width: 650px; } .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-heading { align-items: flex-start; } .section-heading > p { max-width: 250px; } }
@media (max-width: 600px) { .site-header, main, footer { width: calc(100% - 32px); } .site-header { height: 74px; } .brand { font-size: 21px; } .brand-label, .online { display: none; } .intro { padding: 28px 24px; border-radius: 14px; } h1 { font-size: 39px; line-height: 1.15; } html[lang="zh-CN"] h1 { font-size: clamp(24px, 6.5vw, 35px); } .hero-description { font-size: 13px; } .section-heading { margin-top: 36px; display: block; } .section-heading h2 { font-size: 25px; } .section-heading > p { max-width: none; margin-top: 12px; } .scenario-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 30px; } .card-body { padding: 22px; } .card-title { font-size: 25px; } .card-subtitle { min-height: 0; } .preview { aspect-ratio: 16/9; } .paper-panel { padding: 30px 0; } .paper-panel h2, .contact-panel h2 { font-size: 24px; } .citation-box { padding: 20px; } #citation { font-size: 13px; } .contact-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; } footer { flex-wrap: wrap; gap: 12px 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Keep the domain registration on its own final footer row in both languages. */
footer{display:block;font-size:12px}
.footer-content{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}
.footer-content>span:first-child{font-weight:700;color:#294552}
.registration-footer{padding-top:20px;text-align:center;font-size:13px;line-height:1.6}
.registration-footer a{margin-left:0;white-space:nowrap}
