/* Brand-poster direction: one oversized star, open typography, direct download. */
:root {
    color-scheme: dark;
    --page: #060b17; --page-deep: #030711; --panel-solid: #101c2c;
    --text: #edf3fc; --text-soft: #a2b1c7; --text-muted: #8799b3;
    --blue: #83b2ff; --blue-strong: #347df0;
    --line: #26374e; --line-strong: #4e76ab;
    --green: #6bd4aa; --amber: #dec18a; --danger: #ff858b;
    --display: "Bahnschrift", "Microsoft YaHei UI", sans-serif;
    --body: "Segoe UI", "Microsoft YaHei UI", sans-serif;
    --mono: "Cascadia Mono", "Consolas", monospace;
    --ease-out: cubic-bezier(.16,1,.3,1);
    --ease-interface: cubic-bezier(.32,.72,0,1);
    --ease-in: cubic-bezier(.4,0,1,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; min-height: 100%; }
html { background: var(--page); overflow-x: clip; }
body { color: var(--text); font: 14px/1.6 var(--body); background: radial-gradient(ellipse at 80% 30%, #183d8628, transparent 58%); overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #315f9a; color: white; }

.stellar-field {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 52% 48%, rgba(5, 75, 110, 0.15), transparent 38%),
        linear-gradient(145deg, #010407, #03121f 55%, #020810);
    contain: strict;
}

.stellar-cloud {
    position: absolute;
    display: block;
    width: 78vmax;
    aspect-ratio: 1;
    border-radius: 42% 58% 67% 33% / 52% 38% 62% 48%;
    opacity: 0.72;
    filter: blur(clamp(54px, 7vw, 110px)) saturate(1.18);
    mix-blend-mode: screen;
    transform-origin: center;
    will-change: transform;
}

.stellar-cloud-a {
    left: -40vmax;
    top: -36vmax;
    background:
        radial-gradient(ellipse at 66% 68%, rgba(34, 174, 255, 0.68) 0 8%, rgba(14, 102, 224, 0.42) 24%, transparent 62%),
        radial-gradient(ellipse at 42% 45%, rgba(111, 222, 255, 0.36), transparent 52%);
    animation: nebula-drift-a 24s cubic-bezier(0.45, 0.05, 0.22, 0.98) infinite alternate;
}

.stellar-cloud-b {
    right: -43vmax;
    bottom: -42vmax;
    background:
        radial-gradient(ellipse at 38% 30%, rgba(16, 151, 230, 0.58) 0 10%, rgba(20, 74, 191, 0.42) 31%, transparent 66%),
        radial-gradient(ellipse at 54% 54%, rgba(32, 221, 231, 0.2), transparent 48%);
    animation: nebula-drift-b 29s cubic-bezier(0.38, 0.08, 0.16, 1) infinite alternate;
}

.stellar-cloud-c {
    left: 13%;
    bottom: -63vmax;
    width: 88vmax;
    opacity: 0.42;
    background:
        radial-gradient(ellipse at 48% 25%, rgba(35, 130, 232, 0.52), transparent 58%),
        radial-gradient(ellipse at 64% 36%, rgba(56, 225, 239, 0.2), transparent 42%);
    animation: nebula-drift-c 33s cubic-bezier(0.3, 0.02, 0.17, 1) infinite alternate;
}

.stellar-cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: min(44vmax, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.42;
    background: radial-gradient(circle, rgba(64, 206, 255, 0.16), rgba(16, 94, 186, 0.06) 34%, transparent 70%);
    filter: blur(18px);
    transform: translate3d(calc(50vw - 50%), calc(52vh - 50%), 0);
    transition: opacity 240ms var(--ease-out);
    will-change: transform;
}


.stellar-field { background: linear-gradient(130deg, #060b17 20%, #0b1429 65%, #060b17); }
.stellar-cloud { opacity: .14; }
.stellar-cloud-a { background: radial-gradient(ellipse, #2450aa70, transparent 65%); }
.stellar-cloud-b { background: radial-gradient(ellipse, #234b9870, transparent 65%); }
.stellar-cloud-c { background: radial-gradient(ellipse, #3061af40, transparent 65%); }
.stellar-cursor { opacity: .12; background: radial-gradient(circle, #487cda40, transparent 65%); }
body.is-ambient-paused .stellar-cloud { animation-play-state: paused; }

.viewport-shell { width: min(100%, 1560px); min-height: 100svh; margin: 0 auto; padding: 28px clamp(24px, 5vw, 80px) 24px; display: flex; flex-direction: column; position: relative; }
.masthead { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-height: 44px; position: relative; z-index: 2; }
.masthead-actions { display: flex; align-items: center; gap: 18px; }
.replay-intro { padding: 8px 0; background: none; border: 0; font-size: 12px; color: var(--text-soft); }
.replay-intro:hover { color: white; }
.ambient-toggle { width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; position: relative; }
.ambient-toggle::before, .ambient-toggle::after { content: ""; position: absolute; top: 10px; height: 10px; width: 2px; background: #a9bdd9; }
.ambient-toggle::before { left: 11px; }
.ambient-toggle::after { right: 11px; }
.ambient-toggle[aria-pressed="true"]::before { width: 10px; clip-path: polygon(0 0,100% 50%,0 100%); }
.ambient-toggle[aria-pressed="true"]::after { display: none; }
.hero { flex: 1; min-width: 0; }
.hero-front { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 32px; min-height: clamp(650px, calc(100svh - 300px), 920px); padding: 72px 0 64px; }
.brand-stage { min-width: 0; width: 51%; text-align: left; }
.identity { display: block; }
.identity img { position: absolute; z-index: -1; right: -2%; top: 46%; transform: translateY(-50%); width: min(49%, 660px); height: auto; aspect-ratio: 1; object-fit: contain; }
.identity-wordmark { display: flex; flex-direction: column; gap: 20px; }
.identity small { color: #9bb9e6; font-size: 12px; letter-spacing: .28em; display: flex; align-items: center; gap: 14px; }
.identity small::before { content: ""; width: 28px; height: 2px; background: #528eff; }
.identity .brand-title { font: 600 clamp(56px, 5.7vw, 88px)/1.13 var(--display); letter-spacing: .035em; margin: 0; }
.product-type { font-size: 12px; color: var(--text-muted); margin: 26px 0 8px; }
.product-summary { font-size: 15px; color: #c0cfe5; margin: 0; }
.scm-attribution { display: flex; align-items: center; gap: 12px; margin-top: 22px; width: fit-content; color: #9baccc; font-size: 12px; }
.scm-link { display: inline-flex; align-items: center; gap: inherit; min-height: 36px; }
.scm-link:hover { outline: 1px solid var(--line-strong); outline-offset: 5px; }
.scm-mark { width: 27px; height: auto; object-fit: contain; }
.scm-wordmark { width: 75px; height: auto; object-fit: contain; }
.brand-atmosphere { position: absolute; inset: -10% -11% -12% 31%; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 59% 46%, #285bba30, transparent 68%); -webkit-mask-image: radial-gradient(ellipse 60% 68% at 60% 46%, #000 24%, #000b 40%, transparent 62%); mask-image: radial-gradient(ellipse 60% 68% at 60% 46%, #000 24%, #000b 40%, transparent 62%); }
.hero-light { position: absolute; width: 100%; height: 100%; inset: 0; background: radial-gradient(ellipse at 55% 44%, #306ced40, #1543a515 38%, transparent 65%); transform: translate3d(0,0,0); }
.trajectory { position: absolute; width: 125%; height: 22%; transform: rotate(-38deg); transform-origin: center; background: linear-gradient(90deg, transparent, #1c3c7540 50%, #397bf91f 77%, transparent); border-top: 1px solid #7faaff20; }
.trajectory-a::after { content: ""; position: absolute; top: -1px; left: 0; width: 28%; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, #8bb9ffb3, transparent); }
.trajectory-a { left: -9%; top: 34%; }
.trajectory-b { left: 15%; top: 67%; height: 8%; background: linear-gradient(90deg, transparent, #246bff26, transparent); border-top-color: #79a7ff35; }
.trajectory-c { left: -22%; top: 16%; height: 1px; border: 0; background: linear-gradient(90deg, transparent, #6594ea4d, transparent); }
.download-stage { min-width: 0; width: min(48%, 480px); }
.download-console { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; }
.console-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: #9db2d0; margin-bottom: 12px; }
.console-heading > span { letter-spacing: .16em; }
.console-heading b { font-size: 11px; font-weight: 400; color: var(--amber); display: flex; align-items: center; gap: 6px; }
.console-heading b::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.is-manifest-live .console-heading b { color: var(--green); }
.support-release h2 { font: 500 14px/1.5 var(--body); letter-spacing: .025em; margin: 0 0 8px; color: #c1d0e7; }
.release-seal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; margin: 0; }
.release-seal > span { font-size: 11px; color: var(--text-muted); }
.release-seal > strong { font: 400 13px/1.4 var(--mono); color: #d3e3fa; }
.release-seal > small { width: 100%; font-size: 10px; color: var(--text-soft); margin-top: 3px; }
.primary-download { grid-column: 1 / -1; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 78px; padding: 16px 22px; border: 1px solid #699eff; background: linear-gradient(105deg, #3779f6, #285ddb); clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); transition: filter 180ms var(--ease-out); }
.primary-download:hover { filter: brightness(1.12); }
.primary-download:active { filter: brightness(.95); }
.primary-download:focus-visible { outline-offset: -5px; }
.primary-download { position: relative; overflow: hidden; isolation: isolate; }
.primary-download::after { content: ""; position: absolute; inset: -50% auto -50% -45%; width: 35%; z-index: -1; background: linear-gradient(90deg, transparent, #c9ddff38, transparent); transform: skewX(-24deg); opacity: 0; transition: transform 650ms var(--ease-out), opacity 160ms var(--ease-out); }
.primary-download > span:nth-child(2) { display: grid; gap: 4px; }
.primary-download strong { font-size: 20px; letter-spacing: .02em; }
.primary-download small { color: #e2ecff; font: 10px var(--mono); overflow-wrap: anywhere; }
.primary-download > b { font-size: 11px; font-weight: 400; color: #e0eaff; border-left: 1px solid #ffffff40; padding-left: 12px; }
.download-icon { width: 30px; height: 32px; display: grid; place-items: center; }
.download-icon i { position: relative; display: block; width: 18px; height: 23px; border-bottom: 2px solid currentColor; }
.download-icon i::before { content: ""; position: absolute; left: 8px; top: 0; width: 2px; height: 16px; background: currentColor; }
.download-icon i::after { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.online-download-note { grid-column: 1 / -1; color: #a8bbd5; font-size: 11px; margin: 12px 0 0; }
.download-consent-note { grid-column: 1 / -1; font-size: 11px; line-height: 1.8; color: var(--text-muted); margin: 7px 0 0; }
.download-consent-note button { padding: 0; color: #aecaff; background: none; border: 0; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.download-support { display: grid; grid-template-columns: .9fr 1.3fr 1fr; gap: 40px; border-top: 1px solid #344c70; padding: 28px 0 32px; }
.support-release { min-width: 0; }
.download-alternatives { display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 10px; margin: 0; font-size: 12px; }
.download-alternatives > span { color: var(--text-muted); }
.download-alternatives > [aria-hidden] { color: #506780; }
.download-alternatives a, .download-alternatives button { color: #b7cef2; }
.download-alternatives button { padding: 0; border: 0; background: none; font-size: inherit; }
.download-alternatives a:hover, .download-alternatives button:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.download-note { flex-basis: 100%; font-size: 10px; color: var(--text-muted); margin: 0 0 6px; }
.bilibili-video-link { display: inline-flex; align-items: center; gap: 5px; }
.bilibili-video-link svg { fill: currentColor; }
.file-verification { margin: 0; padding: 0 0 0 32px; border-left: 1px solid var(--line); }
.file-verification summary { cursor: pointer; color: #b9cdeb; font-size: 12px; list-style: none; display: flex; justify-content: space-between; min-height: 28px; align-items: center; }
.file-verification summary::-webkit-details-marker { display: none; }
.file-verification summary > span { font-size: 16px; line-height: 1; }
.file-verification[open] summary > span { transform: rotate(45deg); }
.file-verification summary:hover { color: white; }
.release-connection { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-soft); font-size: 11px; padding-top: 18px; }
.release-connection > i, .verification-status > i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: 0 0 auto; }
.release-connection b { font: 11px var(--mono); margin-left: auto; }
[data-release-state="live"] > i, .is-manifest-live .verification-status > i { background: var(--green); }
.verification-strip { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; padding: 16px 0 0; }
.verification-status { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.verification-status span { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.verification-status small, .hash-value > span { font-size: 10px; color: var(--text-muted); }
.verification-status strong { font-size: 11px; font-weight: 400; color: var(--text-soft); }
.hash-value { min-width: 0; }
.hash-value code { display: block; font: 10px/1.8 var(--mono); overflow-wrap: anywhere; color: #becfe6; margin-top: 4px; }
.copy-hash { align-self: end; padding: 6px 10px; border: 1px solid var(--line-strong); background: #14243a; color: #b9cff0; font-size: 11px; }
.copy-hash i { font-style: normal; margin-left: 4px; }
.safety-rail { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--text-muted); font-size: 11px; }
.safety-rail > p { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: #afc0d7; }
.safety-rail p i { width: 3px; height: 3px; background: #547ead; border-radius: 50%; }
.community-credit { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 18px; }
.community-credit > img { width: 72px; height: 72px; object-fit: contain; }
.community-credit > div { display: grid; gap: 5px; }
.community-credit span { color: #cfdbef; font-size: 14px; }
.community-credit strong { font-size: 12px; line-height: 1.7; font-weight: 400; color: #bacbe4; }
.footer-links { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.safety-rail button, .safety-rail a { background: none; border: 0; padding: 5px 0; color: #a5bcdd; font-size: 11px; }
.safety-rail button:hover, .safety-rail a:hover { color: white; }
.safety-rail .qq-group { color: #c8ddfa; }
.fankit-notice { margin: 16px 0; padding: 10px 14px; border: 1px solid var(--line); }
.fankit-notice summary { color: var(--blue); cursor: pointer; font-size: 12px; }
.fankit-notice p { overflow-wrap: anywhere; }

/* A finite edge sweep and pointer light; the star itself never drifts. */
@keyframes trajectory-sweep {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(460%); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body:not(.is-ambient-paused):not(.intro-playing) .hero-front:hover .trajectory-a::after { animation: trajectory-sweep 1400ms var(--ease-out) both; }
    body:not(.is-ambient-paused) .primary-download:hover::after { opacity: 1; transform: translateX(480%) skewX(-24deg); }
}
body.is-ambient-paused .primary-download::after { transition: none; }

.information-dialog {
    width: min(calc(100% - 32px), 980px);
    max-height: min(84dvh, 760px);
    padding: 0;
    overflow: hidden;
    color: var(--text);
    border: 1px solid rgba(112, 162, 245, 0.64);
    background:
        linear-gradient(135deg, rgba(112, 162, 245, 0.03), transparent 22%),
        rgba(4, 14, 21, 0.985);
    box-shadow:
        0 34px 140px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(112, 162, 245, 0.05);
    border-radius: 8px;
}

.information-dialog::backdrop {
    background: rgba(0, 5, 8, 0.82);
    backdrop-filter: blur(10px);
}

.dialog-shell {
    max-height: min(84dvh, 760px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.information-dialog[open] .dialog-shell {
    animation: dialog-materialize 340ms var(--ease-interface) both;
    transform-origin: bottom right;
}

.information-dialog.is-closing .dialog-shell {
    animation: dialog-dematerialize 160ms var(--ease-in) both;
}

.dialog-shell > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.dialog-shell > header > div > span,
.dialog-content section > span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.dialog-shell h2 {
    margin: 2px 0 0;
    font-family: var(--display);
    font-size: 28px;
    line-height: 1;
}

.dialog-shell > header button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition:
        color 160ms var(--ease-out),
        border-color 160ms var(--ease-out),
        background-color 160ms var(--ease-out),
        transform 160ms var(--ease-out);
}

.dialog-shell > header button:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(112, 162, 245, 0.05);
}

.dialog-shell > header button:active {
    transform: scale(0.94);
}

.dialog-content {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: auto;
    scrollbar-color: var(--line-strong) var(--page);
}

.dialog-content section {
    padding: 24px 22px 28px;
}

.dialog-content section + section {
    border-left: 1px solid var(--line);
}

.dialog-content h3 {
    margin: 8px 0 14px;
    font-family: var(--display);
    font-size: 19px;
    line-height: 1.25;
}

.dialog-content p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.8;
}

.dialog-content p + p {
    margin-top: 12px;
}

.dialog-content code {
    color: var(--blue);
    font-size: 0.9em;
}

.risk-information-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

.risk-information-content section {
    border-bottom: 1px solid var(--line);
}

.risk-information-content section:nth-child(odd) {
    border-left: 0;
}

.risk-information-content a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(112, 162, 245, 0.3);
    text-underline-offset: 3px;
}

.risk-information-content a:hover {
    color: var(--text);
    text-decoration-color: var(--blue);
}

.release-dialog {
    width: min(calc(100% - 32px), 700px);
    max-height: min(88dvh, 720px);
}

.release-dialog .dialog-shell {
    max-height: min(88dvh, 720px);
}

.download-consent-dialog {
    width: min(calc(100% - 32px), 720px);
    max-height: min(88dvh, 760px);
}

.download-consent-dialog .dialog-shell {
    max-height: min(88dvh, 760px);
}

.download-consent-content {
    min-height: 0;
    padding: 24px 26px 26px;
    overflow: auto;
    scrollbar-color: var(--line-strong) var(--page);
}

.download-consent-intro {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.75;
}

.download-consent-content ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.download-consent-content li {
    position: relative;
    padding: 11px 13px 11px 30px;
    color: var(--text-soft);
    border: 1px solid var(--line);
    background: rgba(100, 157, 245, 0.025);
    font-size: 12px;
    line-height: 1.65;
}

.download-consent-content li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 13px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--blue);
    transform: rotate(45deg);
}

.download-consent-content code {
    color: var(--blue);
}

.read-full-notice {
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;
    color: var(--blue);
    border: 1px solid var(--line-strong);
    background: rgba(32, 174, 244, 0.055);
    cursor: pointer;
    font-size: 12px;
    text-align: left;
    transition:
        color 160ms var(--ease-out),
        border-color 160ms var(--ease-out),
        background-color 160ms var(--ease-out);
}

.read-full-notice:hover {
    color: var(--text);
    border-color: var(--blue);
    background: rgba(65, 132, 245, 0.1);
}

.download-consent-check {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    color: var(--text);
    border: 1px solid rgba(112, 162, 245, 0.42);
    background: rgba(65, 132, 245, 0.07);
    cursor: pointer;
    font-size: 12px;
    line-height: 1.65;
}

.download-consent-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--blue);
}

.download-consent-legal {
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.55;
}

.download-consent-dialog .dialog-shell > footer > div {
    display: flex;
    gap: 8px;
}

.download-consent-dialog [data-confirm-download] {
    color: #031018;
    border-color: var(--blue);
    background: var(--blue);
    font-weight: 700;
}

.download-consent-dialog [data-confirm-download]:disabled {
    color: var(--text-muted);
    border-color: var(--line);
    background: rgba(100, 157, 245, 0.035);
    cursor: not-allowed;
    opacity: 0.62;
}

.download-consent-dialog [data-confirm-download]:not(:disabled):hover {
    color: #031018;
    background: #a7ecff;
}

.release-dialog-content {
    min-height: 0;
    padding: 26px 28px 30px;
    overflow: auto;
    scrollbar-color: var(--line-strong) var(--page);
}

.release-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.release-overview > div {
    display: grid;
    gap: 4px;
}

.release-overview > div > span,
.release-dialog-content section > span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.release-overview strong {
    color: #f1fbff;
    font-family: var(--display);
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1;
    text-shadow: 0 0 24px rgba(100, 157, 245, 0.12);
}

.release-overview p {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.release-dialog-content section {
    margin-top: 24px;
}

.release-dialog-content h3 {
    margin: 7px 0 12px;
    font-family: var(--display);
    font-size: 21px;
    line-height: 1.25;
}

.release-notes p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.75;
}

.download-options > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.download-option {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 16px;
    color: var(--text-soft);
    border: 1px solid var(--line);
    background: rgba(100, 157, 245, 0.025);
    border-radius: 8px;
    transition:
        color 160ms var(--ease-out),
        border-color 160ms var(--ease-out),
        background-color 160ms var(--ease-out),
        transform 180ms var(--ease-out);
}

.download-option:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(100, 157, 245, 0.06);
    transform: translateY(-2px);
}

.download-option:active {
    transform: translateY(0) scale(0.985);
}

.download-option.is-recommended {
    border-color: rgba(112, 162, 245, 0.52);
    background:
        linear-gradient(135deg, rgba(37, 157, 211, 0.13), rgba(13, 92, 132, 0.07)),
        rgba(100, 157, 245, 0.035);
}

.download-option > span {
    color: var(--blue);
    font-size: 10px;
}

.download-option strong {
    color: currentColor;
    font-size: 14px;
    font-weight: 600;
}

.download-option small {
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dialog-shell > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
}

.dialog-shell > footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
}

.dialog-shell > footer button {
    flex: 0 0 auto;
    padding: 9px 16px;
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: rgba(32, 174, 244, 0.1);
    cursor: pointer;
    font-size: 11px;
    transition:
        border-color 160ms var(--ease-out),
        background-color 160ms var(--ease-out),
        transform 160ms var(--ease-out);
}

.dialog-shell > footer button:hover {
    border-color: var(--blue);
    background: rgba(65, 132, 245, 0.16);
}

.dialog-shell > footer button:active {
    transform: scale(0.97);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    z-index: 100;
    padding: 9px 14px;
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: var(--panel-solid);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 160ms var(--ease-out), transform 220ms var(--ease-out), filter 220ms var(--ease-out);
    filter: blur(3px);
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    filter: blur(0);
}


.information-dialog { border-color: #3b5271; border-radius: 0; background: #0d1725; clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px); }
.dialog-shell h2 { font-size: 26px; line-height: 1.3; }
.dialog-content p { font-size: 13px; }
.dialog-content section > span { font-size: 10px; }
.download-option { border-radius: 0; }
.dialog-shell > footer { flex-wrap: wrap; }
.dialog-shell > footer p { overflow-wrap: anywhere; }
.intro-overlay { position: fixed; inset: 0; z-index: 50; background: #040a17; }
.intro-overlay canvas { display: block; width: 100%; height: 100%; }
.intro-overlay button { position: absolute; top: 24px; right: 28px; padding: 10px 16px; border: 1px solid #384b69; background: #0d1829; color: #b6c8e2; font-size: 12px; cursor: pointer; clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
@keyframes nebula-drift-a {
    0% {
        transform: translate3d(-2%, -3%, 0) rotate(-8deg) scale(0.94);
    }
    48% {
        transform: translate3d(12%, 8%, 0) rotate(6deg) scale(1.06);
    }
    100% {
        transform: translate3d(22%, 17%, 0) rotate(16deg) scale(0.98);
    }
}

@keyframes nebula-drift-b {
    0% {
        transform: translate3d(5%, 8%, 0) rotate(11deg) scale(1.04);
    }
    52% {
        transform: translate3d(-12%, -7%, 0) rotate(-4deg) scale(0.94);
    }
    100% {
        transform: translate3d(-21%, -16%, 0) rotate(-15deg) scale(1.02);
    }
}

@keyframes nebula-drift-c {
    0% {
        transform: translate3d(-8%, 6%, 0) rotate(-5deg) scale(0.96);
    }
    56% {
        transform: translate3d(4%, -12%, 0) rotate(8deg) scale(1.08);
    }
    100% {
        transform: translate3d(13%, -20%, 0) rotate(15deg) scale(1);
    }
}

@keyframes dialog-materialize {
    from {
        opacity: 0;
        filter: blur(4px);
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes dialog-dematerialize {
    from {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        filter: blur(3px);
        transform: translateY(-4px) scale(0.992);
    }
}


@media (max-width: 900px) {
    .viewport-shell { padding: 18px 24px 24px; }
    .hero-front { min-height: 640px; padding: 56px 0; gap: 28px; }
    .identity .brand-title { font-size: clamp(42px, 6vw, 56px); }
    .identity img { right: -2%; width: 48%; top: 40%; }
    .product-summary { font-size: 13px; }
    .download-stage { width: 52%; }
    .download-console { gap: 0 10px; }
    .release-seal > small { font-size: 9px; }
    .primary-download { gap: 10px; padding-inline: 14px; }
    .primary-download strong { font-size: 18px; }
    .primary-download > b { display: none; }
    .download-support { gap: 24px; grid-template-columns: 1fr 1.2fr; }
    .file-verification { grid-column: 1 / -1; }
    .file-verification { padding-left: 24px; }
    .safety-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .community-credit { order: -1; }
    .footer-links { justify-content: center; }
    .risk-information-content { grid-template-columns: 1fr; }
    .risk-information-content section + section { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
    .viewport-shell { padding: 14px 20px 22px; }
    .masthead-actions { gap: 12px; }
    .hero-front { min-height: 0; gap: 26px; padding: 22px 0 32px; }
    .brand-stage { width: 100%; text-align: center; }
    .identity img { position: static; transform: none; width: clamp(180px, 47vw, 260px); margin: 0 auto 8px; }
    .identity-wordmark { gap: 12px; }
    .identity .brand-title { font-size: clamp(42px, 10vw, 62px); }
    .identity small { font-size: 10px; justify-content: center; }
    .identity small::before { width: 16px; }
    .product-type { margin-top: 18px; font-size: 10px; }
    .product-summary { font-size: 12px; }
    .scm-attribution { margin: 18px auto 0; gap: 10px; font-size: 11px; }
    .scm-mark { width: 23px; }
    .scm-wordmark { width: 66px; }
    .brand-atmosphere { inset: -40px -32px auto; height: 340px; -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 45%, #000 20%, #000b 40%, transparent 68%); mask-image: radial-gradient(ellipse 65% 65% at 50% 45%, #000 20%, #000b 40%, transparent 68%); }
    .trajectory-a { top: 26%; }
    .download-stage { width: 100%; max-width: 440px; margin: 0 auto; }
    .primary-download { grid-template-columns: 26px minmax(0,1fr); min-height: 74px; }
    .primary-download small { font-size: 9px; }
    .download-consent-note, .online-download-note { font-size: 10px; }
    .download-support { grid-template-columns: 1fr; gap: 22px; padding: 22px 0 26px; }
    .download-alternatives { font-size: 11px; }
    .file-verification { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
    .safety-rail p { justify-content: center; gap: 8px; font-size: 10px; }
    .footer-links { gap: 14px; }
    .community-credit { text-align: left; gap: 14px; width: 100%; }
    .community-credit > img { width: 64px; height: 64px; flex: 0 0 auto; }
    .community-credit span { font-size: 13px; }
    .community-credit strong { font-size: 11px; }
    .information-dialog, .dialog-shell { max-height: 90dvh; }
    .dialog-shell > header { padding: 16px; }
    .dialog-shell h2 { font-size: 21px; }
    .release-dialog-content, .download-consent-content { padding: 20px 16px; }
    .download-consent-dialog .dialog-shell > footer { align-items: stretch; flex-direction: column; }
    .download-consent-dialog .dialog-shell > footer > div { display: grid; grid-template-columns: 1fr 1.5fr; }
    .download-consent-dialog .dialog-shell > footer button { min-height: 42px; }
    .download-options > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
    .stellar-cloud { animation: none !important; }
    .stellar-cursor, .ambient-toggle, .replay-intro { display: none !important; }
}
