/* 视觉基底与变量 */
:root {
    --color-primary: #d064e0;
    --color-primary-light: #f5e4f8;
    --color-primary-dark: #a34db0;
    --color-bg: #faf9fb;
    --color-surface: #ffffff;
    --color-surface-alt: #f3eff5;
    --color-text-main: #1d1c1e;
    --color-text-sub: #5c5b5e;
    --color-border: #e8e4ea;
    --radius-base: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(29, 28, 30, 0.04);
    --shadow-md: 0 8px 24px rgba(29, 28, 30, 0.06);
    --shadow-hover: 0 12px 32px rgba(208, 100, 224, 0.12);
    --ease: 0.25s ease;
}

/* 全局重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-sub);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* 强制文本换行与图片适配 */
.case-viewport,
.bind-tray,
.file-split,
.case-ink,
.batch-matrix,
.sheet-sys,
.batch-specs,
.slip-spec,
.batch-reqs,
.note-req,
.batch-lines,
.leaf-line,
.ink-desc,
.ink-sys,
.ink-detail,
.ink-tag,
.ink-value,
.topic-prime,
.topic-folio,
.topic-sys,
.topic-spec,
.topic-req {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 导航栏复用样式 (强制) */
.crest-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}
.bind-spine {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    min-width: 0;
}
.mark-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
}
.mark-brand img {
    height: 32px;
    width: auto;
    display: block;
}
.spine-tray {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    min-width: 0;
}
.path-index {
    color: var(--color-text-sub);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--ease);
    white-space: nowrap;
}
.path-index:hover,
.path-index.active {
    color: var(--color-primary);
}

/* 布局骨架 */
.case-viewport {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bind-tray {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* 块级通用间距 */
.cover-prime,
.folio-matrix,
.folio-specs,
.tray-reqs {
    padding: 5rem 0;
}

/* 首屏主视觉 (Hero Download) */
.cover-prime {
    background: linear-gradient(135deg, #2b1f31 0%, #17111a 100%);
    color: var(--color-surface);
    overflow: hidden;
    position: relative;
}
.file-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    min-width: 0;
}
.case-ink {
    flex: 1;
    min-width: 300px;
    z-index: 2;
}
.topic-prime {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    white-space: normal;
    letter-spacing: -0.02em;
}
.ink-desc {
    font-size: 1.125rem;
    color: #d1cbd4;
    margin-bottom: 2.5rem;
    max-width: 500px;
    word-break: keep-all;
}
.batch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 0;
}
.stamp-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: var(--radius-base);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(208, 100, 224, 0.2);
    transition: transform var(--ease), box-shadow var(--ease);
}
.stamp-primary:hover, .stamp-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(208, 100, 224, 0.4);
}
.stamp-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: var(--radius-base);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background-color var(--ease), transform var(--ease);
}
.stamp-secondary:hover, .stamp-secondary:focus {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.case-fig {
    flex: 1.2;
    min-width: 300px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(0);
    transition: transform 0.4s ease;
}
.case-fig:hover {
    transform: translateY(-5px);
}
.fig-tray {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 通用标题尺度 */
.topic-folio {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 3rem;
    text-align: center;
    white-space: normal;
}

/* 平台分发 (Platform Matrix) */
.folio-matrix {
    background-color: var(--color-surface);
}
.case-fig-wide {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface-alt);
    box-shadow: var(--shadow-md);
}
.fig-cover {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}
.batch-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}
.sheet-sys {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    padding: 2.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.sheet-sys:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--color-primary-light);
}
.glyph-sys {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    fill: var(--color-primary);
}
.topic-sys {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
}
.ink-sys {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.press-dl {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color var(--ease);
}
.sheet-sys:hover .press-dl,
.press-dl:focus {
    border-color: var(--color-primary);
}

/* 版本特性说明 (Version Specs) */
.folio-specs {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}
.batch-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
}
.slip-spec {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-width: 0;
    transition: border-color var(--ease);
}
.slip-spec:hover {
    border-color: var(--color-primary);
}
.ink-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
    align-self: flex-start;
}
.topic-spec {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}
.ink-detail {
    font-size: 0.95rem;
    color: var(--color-text-sub);
}
.ink-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
}

/* 系统运行环境 (System Requirements) */
.tray-reqs {
    background-color: var(--color-surface-alt);
}
.batch-reqs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    min-width: 0;
}
.note-req {
    flex: 1;
    min-width: 300px;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-border);
    transition: border-color var(--ease);
}
.note-req:hover {
    border-color: var(--color-primary);
}
.topic-req {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.batch-lines {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}
.leaf-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--color-border);
    min-width: 0;
}
.leaf-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ink-tag {
    color: var(--color-text-sub);
    font-weight: 500;
}
.ink-value {
    color: var(--color-text-main);
    font-weight: 600;
    text-align: right;
}

/* 页脚 */
.root-tail {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    margin-top: auto;
}
.split-root {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}
.ink-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}
.batch-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0;
}
.path-root {
    color: var(--color-text-sub);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--ease);
}
.path-root:hover, .path-root:focus {
    color: var(--color-primary);
}

/* 响应式断点 */
@media (max-width: 768px) {
    .spine-tray {
        display: none; /* 简化演示，移动端通常需要汉堡菜单，此处按要求仅展示HTML结构 */
    }
    .topic-prime {
        font-size: 2rem;
    }
    .file-split {
        gap: 2rem;
    }
    .cover-prime, .folio-matrix, .folio-specs, .tray-reqs {
        padding: 3rem 0;
    }
}

.spine-crest-top {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-sub);
}
.spine-crest-top,
.spine-crest-top *,
.spine-crest-top *::before,
.spine-crest-top *::after {
    box-sizing: border-box;
}

.spine-crest-top nav,
.spine-crest-top div,
.spine-crest-top section,
.spine-crest-top article,
.spine-crest-top aside,
.spine-crest-top p,
.spine-crest-top h1,
.spine-crest-top h2,
.spine-crest-top h3,
.spine-crest-top h4,
.spine-crest-top h5,
.spine-crest-top h6,
.spine-crest-top a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.spine-crest-top p,
.spine-crest-top h1,
.spine-crest-top h2,
.spine-crest-top h3,
.spine-crest-top h4,
.spine-crest-top h5,
.spine-crest-top h6 {
    text-decoration: none;
}

.spine-crest-top img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.spine-crest-top {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.spine-crest-top a.spine-path-index {
    --aisite-shell-nav-padding: 0.5rem 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.spine-crest-top a.spine-path-index,
.spine-crest-top a.spine-path-index:hover,
.spine-crest-top a.spine-path-index:focus,
.spine-crest-top a.spine-path-index:active,
.spine-crest-top a.spine-path-index.active,
.spine-crest-top a.spine-path-index[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.spine-crest-top{
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #e8e4ea;
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

.spine-crest-top .spine-bind-spine{
            width: 100%;
            max-width: 1280px;
            padding: 0 2rem;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            min-width: 0;
        }

.spine-crest-top .spine-mark-brand{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.spine-crest-top .spine-mark-brand img{
            height: 32px;
            width: auto;
        }

.spine-crest-top .spine-spine-tray{
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            min-width: 0;
        }

.spine-crest-top .spine-path-index{
            color: #5c5b5e;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.spine-crest-top .spine-path-index:hover, .spine-crest-top .spine-path-index.active{
            color: #d064e0;
        }

.spine-crest-top .spine-path-index.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #d064e0;
            border-radius: 2px;
        }

@media (max-width: 768px){.spine-crest-top .spine-spine-tray{ display: none;  }}

.spine-crest-top {
    background: rgb(255, 255, 255);
    background-image: none;
}

.seam-root-bottom {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-sub);
}
.seam-root-bottom,
.seam-root-bottom *,
.seam-root-bottom *::before,
.seam-root-bottom *::after {
    box-sizing: border-box;
}

.seam-root-bottom nav,
.seam-root-bottom div,
.seam-root-bottom section,
.seam-root-bottom article,
.seam-root-bottom aside,
.seam-root-bottom p,
.seam-root-bottom h1,
.seam-root-bottom h2,
.seam-root-bottom h3,
.seam-root-bottom h4,
.seam-root-bottom h5,
.seam-root-bottom h6,
.seam-root-bottom a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.seam-root-bottom p,
.seam-root-bottom h1,
.seam-root-bottom h2,
.seam-root-bottom h3,
.seam-root-bottom h4,
.seam-root-bottom h5,
.seam-root-bottom h6 {
    text-decoration: none;
}

.seam-root-bottom img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.seam-root-bottom {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.seam-root-bottom a,
.seam-root-bottom a:hover,
.seam-root-bottom a:focus,
.seam-root-bottom a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.seam-root-bottom{
            background-color: #ffffff;
            border-top: 1px solid #e8e4ea;
            padding: 4rem 2rem;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

.seam-root-bottom .seam-bind-root{
            width: 100%;
            max-width: 1280px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
            min-width: 0;
        }

.seam-root-bottom .seam-ink-copyright{
            font-size: 0.9rem;
            color: #5c5b5e;
        }

.seam-root-bottom .seam-topic-brand{
            font-weight: 700;
            color: #1d1c1e;
            font-size: 1.2rem;
        }

@media (max-width: 768px){.seam-root-bottom .seam-bind-root{ flex-direction: column; text-align: center; }}