/* ========【RealDate 全站變數】 設定 - 色彩、尺寸與共用視覺 ======== */
:root {
    /* 頁面背景 */ --page-bg: #fafafa;
    /* 卡片背景 */ --surface: #ffffff;
    /* 淡色背景 */ --surface-soft: #f7fafc;
    /* 主要文字 */ --text-strong: #262626;
    /* 一般文字 */ --text-main: #5c5c5c;
    /* 次要文字 */ --text-muted: #767676;
    /* 淡化文字 */ --text-soft: #989898;
    /* 品牌強調色 */ --accent: #55acee;
    /* 懸停強調色 */ --accent-hover: #3e95d3;
    /* 淡色強調背景 */ --accent-soft: rgba(85, 172, 238, .07);
    /* 淡色強調邊框 */ --accent-border: rgba(85, 172, 238, .28);
    /* 一般分隔線 */ --line: #e7e7e7;
    /* 淡色分隔線 */ --line-soft: #f0f0f0;
    /* 警告文字 */ --warning: #9b6d42;
    /* 主要內容寬度 */ --page-width: 1180px;
    /* 閱讀內容寬度 */ --reading-width: 930px;
    /* 頂部導覽高度 */ --header-height: 68px;
}

/* ========【RealDate 全站基礎】 設定 - 盒模型與捲動 ======== */
* {
    /* 尺寸計算 */ box-sizing: border-box;
}

html {
    /* 頁面滾動 */ scroll-behavior: smooth;
}

body {
    /* 靜態文字與一般介面使用標準箭頭 */ cursor: default;
    /* 外距 */ margin: 0;
    /* 背景 */ background: var(--page-bg);
    /* 文字顏色 */ color: var(--text-main);
    /* 字體 */ font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    /* 字體大小 */ font-size: 15px;
    /* 行距 */ line-height: 1.82;
    /* 字體平滑 */ -webkit-font-smoothing: antialiased;
}

/* ========【全站游標】 設定 - 只有文字輸入區使用 I 形游標 ======== */
a[href],
button,
summary,
select,
label[for],
[role="button"],
[role="link"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
input[type="range"],
input[type="color"],
input[type="file"] {
    /* 可操作項目使用手指游標 */ cursor: pointer;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
textarea,
[contenteditable="true"] {
    /* 只有真正可輸入文字的區域使用 I 形游標 */ cursor: text;
}

button:disabled,
select:disabled,
input:disabled,
[aria-disabled="true"] {
    /* 停用控制項使用禁止操作游標 */ cursor: not-allowed;
}


a {
    /* 文字顏色 */ color: inherit;
}

button, summary {
    /* 字體設定 */ font: inherit;
}

code {
    /* 字體 */ font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    /* 長文字換行 */ overflow-wrap: anywhere;
}

/* ========【箭頭轉跳連結】 設定 - 與 L1nG 首頁一致的整體位移 ======== */
.arrow-link-motion {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.arrow-link-motion:hover,
.arrow-link-motion:focus-visible {
    color: var(--accent-hover);
    transform: translateX(3px);
}


/* ========【RealDate 語言顯示】 設定 - 繁中 / 英文切換 ======== */
html[data-language="zh-Hant"] [data-lang="en"] {
    /* 顯示方式 */ display: none !important;
}

html[data-language="en"] [data-lang="zh-Hant"] {
    /* 顯示方式 */ display: none !important;
}

/* ========【RealDate 英文視覺標籤】 設定 - 固定英文品牌小標 ======== */
.eyebrow,
.doc-label strong {
    /* 字體 */ font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    /* 字體寬度 */ font-stretch: condensed;
    /* 字母轉換 */ text-transform: uppercase;
    /* 字距 */ letter-spacing: 2.2px;
}

.eyebrow {
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 11px;
    /* 字體粗細 */ font-weight: 650;
}

/* ========【RealDate 頂部導覽】 設定 - 固定主導覽 ======== */
.site-header {
    /* 定位方式 */ position: sticky;
    /* 頂部位置 */ top: 0;
    /* 顯示層級 */ z-index: 100;
    /* 最小高度 */ min-height: var(--header-height);
    /* 背景 */ background: rgba(250, 250, 250, .95);
    /* 下方邊框 */ border-bottom: 1px solid rgba(231, 231, 231, .95);
    /* 背景模糊 */ backdrop-filter: blur(14px);
    /* Safari 背景模糊 */ -webkit-backdrop-filter: blur(14px);
    /* 動畫效果 */ transition: background .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
    /* 背景 */ background: rgba(255, 255, 255, .97);
    /* 陰影效果 */ box-shadow: 0 8px 28px rgba(0, 0, 0, .035);
}

.site-header-inner {
    /* 寬度 */ width: min(calc(100% - 40px), var(--page-width));
    /* 最小高度 */ min-height: var(--header-height);
    /* 外距 */ margin: 0 auto;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: auto minmax(0, 1fr) auto;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 28px;
}

.site-brand-group {
    /* 定位方式 */ position: relative;
    /* 顯示層級 */ z-index: 2;
    /* 顯示方式 */ display: flex;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 9px;
    /* 換行規則 */ white-space: nowrap;
}

.creator-link,
.realdate-brand {
    /* 文字裝飾 */ text-decoration: none;
}

.creator-link {
    /* 最小高度 */ min-height: 44px;
    /* 顯示方式 */ display: inline-flex;
    /* 垂直對齊 */ align-items: center;
    /* 定位方式 */ position: relative;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
    /* 字距 */ letter-spacing: 1.4px;
    /* 指標手勢 */ cursor: pointer;
    /* 動畫效果 */ transition: color .2s ease;
}

.creator-link:hover,
.creator-link:focus-visible {
    /* 文字顏色 */ color: var(--accent);
}

.brand-divider {
    /* 文字顏色 */ color: #cccccc;
}

.realdate-brand {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 13px;
    /* 字體粗細 */ font-weight: 650;
    /* 字距 */ letter-spacing: 1.4px;
}

.main-nav {
    /* 顯示方式 */ display: flex;
    /* 水平排列 */ justify-content: center;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 21px;
    /* 最小寬度 */ min-width: 0;
}

.main-nav > a,
.nav-more > summary {
    /* 定位方式 */ position: relative;
    /* 文字顏色 */ color: var(--text-muted);
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 13px;
    /* 換行規則 */ white-space: nowrap;
    /* 指標手勢 */ cursor: pointer;
    /* 清單樣式 */ list-style: none;
    /* 動畫效果 */ transition: color .2s ease;
}

.nav-more > summary::-webkit-details-marker {
    /* 顯示方式 */ display: none;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-more > summary:hover,
.nav-more.active > summary {
    /* 文字顏色 */ color: var(--accent);
}

.main-nav > a.active::after,
.nav-more.active > summary::after {
    /* 建立內容 */ content: "";
    /* 定位方式 */ position: absolute;
    /* 左側位置 */ left: 0;
    /* 右側位置 */ right: 0;
    /* 底部位置 */ bottom: -9px;
    /* 高度 */ height: 1px;
    /* 背景 */ background: var(--accent);
}

.nav-more {
    /* 定位方式 */ position: relative;
}

.nav-more-chevron {
    /* 左側外距 */ margin-left: 4px;
    /* 字體大小 */ font-size: 11px;
}

.nav-more-menu {
    /* 定位方式 */ position: absolute;
    /* 頂部位置 */ top: calc(100% + 16px);
    /* 右側位置 */ right: 0;
    /* 最小寬度 */ min-width: 150px;
    /* 內縮空間 */ padding: 6px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 陰影效果 */ box-shadow: 0 16px 40px rgba(0, 0, 0, .07);
}

.nav-more-menu a {
    /* 顯示方式 */ display: block;
    /* 內縮空間 */ padding: 8px 10px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 12px;
    /* 圓角弧度 */ border-radius: 4px;
}

.nav-more-menu a:hover {
    /* 文字顏色 */ color: var(--accent);
    /* 背景 */ background: var(--accent-soft);
}

/* ========【RealDate 頂部導覽】 設定 - 語言與手機選單固定控制區 ======== */
.header-controls {
    /* 固定在頂條最右側 */ justify-self: end;
    /* 橫向排列 */ display: inline-flex;
    /* 垂直置中 */ align-items: center;
    /* 控制項間距 */ gap: 10px;
    /* 禁止換行 */ flex-wrap: nowrap;
    /* 保持單行 */ white-space: nowrap;
    /* 不允許被壓縮 */ min-width: max-content;
}

.language-switch {
    /* 顯示方式 */ display: flex;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 6px;
    /* 禁止換行 */ flex-wrap: nowrap;
    /* 保持單行 */ white-space: nowrap;
    /* 禁止被壓縮 */ min-width: max-content;
}

.language-button {
    /* 內縮空間 */ padding: 8px 2px;
    /* 邊框 */ border: 0;
    /* 背景 */ background: transparent;
    /* 文字顏色 */ color: var(--text-soft);
    /* 移除底線 */ text-decoration: none;
    /* 字體大小 */ font-size: 11px;
    /* 指標手勢 */ cursor: pointer;
}

.language-button:hover,
.language-button.active {
    /* 文字顏色 */ color: var(--accent);
}

.language-divider {
    /* 文字顏色 */ color: #cccccc;
    /* 字體大小 */ font-size: 11px;
}

.nav-toggle {
    /* 顯示方式 */ display: none;
    /* 寬度 */ width: 40px;
    /* 高度 */ height: 40px;
    /* 不顯示外框 */ border: 0;
    /* 圓角弧度 */ border-radius: 8px;
    /* 背景 */ background: transparent;
    /* 指標手勢 */ cursor: pointer;
}

.nav-toggle span {
    /* 顯示方式 */ display: block;
    /* 寬度 */ width: 18px;
    /* 高度 */ height: 1px;
    /* 外距 */ margin: 5px auto;
    /* 背景 */ background: var(--text-strong);
}

/* ========【RealDate 共用操作】 設定 - 按鈕與文字連結 ======== */
.button {
    /* 最小高度 */ min-height: 44px;
    /* 內縮空間 */ padding: 0 17px;
    /* 顯示方式 */ display: inline-flex;
    /* 垂直對齊 */ align-items: center;
    /* 水平排列 */ justify-content: center;
    /* 邊框 */ border: 1px solid transparent;
    /* 圓角弧度 */ border-radius: 6px;
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 13px;
    /* 字體粗細 */ font-weight: 550;
    /* 動畫效果 */ transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
    /* 變形效果 */ transform: translateY(-2px);
}

.button-primary {
    /* 背景 */ background: var(--accent);
    /* 邊框顏色 */ border-color: var(--accent);
    /* 文字顏色 */ color: #ffffff;
}

.button-primary:hover {
    /* 背景 */ background: var(--accent-hover);
    /* 邊框顏色 */ border-color: var(--accent-hover);
}

.button-secondary {
    /* 背景 */ background: var(--surface);
    /* 邊框顏色 */ border-color: var(--line);
    /* 文字顏色 */ color: var(--text-strong);
}

.button-secondary:hover {
    /* 文字顏色 */ color: var(--accent);
    /* 邊框顏色 */ border-color: var(--accent-border);
}

.text-link {
    /* 顯示方式 */ display: inline-flex;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 7px;
    /* 文字顏色 */ color: var(--accent);
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 13px;
}

.text-link-strong {
    /* 字體粗細 */ font-weight: 600;
}

/* ========【外部模組連結】 設定 - 名稱本身可點，不增加額外箭頭 ======== */
.external-name-link {
    /* 文字顏色 */ color: inherit;
    /* 文字裝飾 */ text-decoration: none;
    /* 下方邊框 */ border-bottom: 1px solid transparent;
    /* 動畫效果 */ transition: color .2s ease, border-color .2s ease;
}

.external-name-link:hover {
    /* 文字顏色 */ color: var(--accent);
    /* 底部邊框顏色 */ border-bottom-color: var(--accent-border);
}

/* ========【RealDate 首頁主視覺】 設定 - 首屏內容 ======== */
.hero {
    /* 背景 */ background:
        radial-gradient(circle at 78% 22%, rgba(85, 172, 238, .09), transparent 25rem),
        linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
}

.hero-inner {
    /* 寬度 */ width: min(calc(100% - 40px), var(--page-width));
    /* 最小高度 */ min-height: 680px;
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 88px 0;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 70px;
}

.hero h1 {
    /* 外距 */ margin: 16px 0 0;
    /* 文字顏色 */ color: #222222;
    /* 字體大小 */ font-size: clamp(70px, 10vw, 126px);
    /* 字體粗細 */ font-weight: 180;
    /* 行距 */ line-height: .94;
    /* 字距 */ letter-spacing: 5px;
}

.hero-lead {
    /* 最大寬度 */ max-width: 690px;
    /* 外距 */ margin: 38px 0 0;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: clamp(22px, 2.5vw, 31px);
    /* 字體粗細 */ font-weight: 350;
    /* 行距 */ line-height: 1.55;
}

.hero-description {
    /* 最大寬度 */ max-width: 650px;
    /* 外距 */ margin: 18px 0 0;
    /* 文字顏色 */ color: var(--text-muted);
}

.hero-actions,
.release-actions,
.download-buttons,
.history-actions {
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 11px;
}

.hero-actions {
    /* 上方外距 */ margin-top: 30px;
}

.hero-release {
    /* 上方外距 */ margin-top: 42px;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 24px 34px;
}

.hero-release > span {
    /* 顯示方式 */ display: flex;
    /* 排列方向 */ flex-direction: column;
    /* 項目間距 */ gap: 1px;
}

.hero-release small {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
}

.hero-release strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 12px;
    /* 字體粗細 */ font-weight: 550;
}

/* ========【RealDate 首頁時間軸】 設定 - 日期與人生事件視覺 ======== */
.timeline-visual {
    /* 定位方式 */ position: relative;
    /* 最小高度 */ min-height: 455px;
}

.calendar-card {
    /* 定位方式 */ position: absolute;
    /* 頂部位置 */ top: 8px;
    /* 右側位置 */ right: 25px;
    /* 寬度 */ width: 242px;
    /* 內縮空間 */ padding: 27px 28px 30px;
    /* 背景 */ background: rgba(255, 255, 255, .93);
    /* 邊框 */ border: 1px solid var(--accent-border);
    /* 圓角弧度 */ border-radius: 10px;
    /* 陰影效果 */ box-shadow: 0 24px 60px rgba(70, 119, 153, .08);
    /* 變形效果 */ transform: rotate(3deg);
    /* 文字對齊 */ text-align: center;
}

.calendar-month {
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體 */ font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    /* 字體大小 */ font-size: 11px;
    /* 字距 */ letter-spacing: 3px;
}

.calendar-day {
    /* 外距 */ margin: 15px 0 6px;
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 94px;
    /* 字體粗細 */ font-weight: 180;
    /* 行距 */ line-height: .95;
}

.calendar-weekday {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體 */ font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    /* 字體大小 */ font-size: 10px;
    /* 字距 */ letter-spacing: 2px;
}

.life-line {
    /* 定位方式 */ position: absolute;
    /* 左側位置 */ left: 44px;
    /* 頂部位置 */ top: 190px;
    /* 底部位置 */ bottom: 10px;
    /* 左側邊框 */ border-left: 1px solid #d8e8f2;
}

.life-event {
    /* 定位方式 */ position: relative;
    /* 外距 */ margin: 0 0 27px 24px;
}

.event-dot {
    /* 定位方式 */ position: absolute;
    /* 頂部位置 */ top: 8px;
    /* 左側位置 */ left: -29px;
    /* 寬度 */ width: 9px;
    /* 高度 */ height: 9px;
    /* 邊框 */ border: 2px solid var(--accent);
    /* 圓角弧度 */ border-radius: 50%;
    /* 背景 */ background: var(--surface);
    /* 陰影效果 */ box-shadow: 0 0 0 5px var(--page-bg);
}

.life-event strong,
.life-event small {
    /* 顯示方式 */ display: block;
}

.life-event strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 13px;
    /* 字體粗細 */ font-weight: 550;
}

.life-event small {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 11px;
}

/* ========【RealDate 共用區塊】 設定 - 一般內容區 ======== */
.section {
    /* 寬度 */ width: min(calc(100% - 40px), var(--page-width));
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 100px 0;
}

.section-tight {
    /* 上方內距 */ padding-top: 24px;
}

.section-heading {
    /* 最大寬度 */ max-width: 820px;
    /* 下方外距 */ margin-bottom: 38px;
}

.section-heading h2 {
    /* 外距 */ margin: 10px 0 0;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: clamp(31px, 4.4vw, 50px);
    /* 字體粗細 */ font-weight: 280;
    /* 行距 */ line-height: 1.35;
}

.section-heading p {
    /* 最大寬度 */ max-width: 760px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 13px;
}

.section-action {
    /* 上方外距 */ margin-top: 26px;
}

/* ========【RealDate 首頁系統總覽】 設定 - 純資訊卡 ======== */
.system-grid {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 項目間距 */ gap: 15px;
}

.system-card {
    /* 最小高度 */ min-height: 205px;
    /* 內縮空間 */ padding: 25px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 8px;
}

.system-number {
    /* 文字顏色 */ color: #bbbbbb;
    /* 字體大小 */ font-size: 11px;
}

.system-card h3 {
    /* 外距 */ margin: 33px 0 8px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 18px;
    /* 字體粗細 */ font-weight: 480;
}

.system-card p {
    /* 外距 */ margin: 0;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 13px;
}

/* ========【RealDate 版本區】 設定 - 公開版與開發版 ======== */
.release-section {
    /* 上方內距 */ padding-top: 20px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 項目間距 */ gap: 18px;
}

.release-panel {
    /* 內縮空間 */ padding: 35px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 8px;
}

.release-panel-development {
    /* 背景 */ background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    /* 邊框顏色 */ border-color: var(--accent-border);
}

.release-panel h2 {
    /* 外距 */ margin: 10px 0 8px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 35px;
    /* 字體粗細 */ font-weight: 290;
}

.release-panel p {
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 13px;
}

.release-meta {
    /* 外距 */ margin: 22px 0;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 7px;
}

/* 只給直接子項目外框，避免雙語內層 span 再套一層框。 */
.release-meta > span {
    /* 內縮空間 */ padding: 5px 8px;
    /* 背景 */ background: var(--page-bg);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 4px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 10px;
}

/* ========【RealDate 內頁頁首】 設定 - 文件與資訊頁 ======== */
.page-hero {
    /* 背景 */ background: var(--surface);
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
}

.page-hero-inner {
    /* 寬度 */ width: min(calc(100% - 40px), var(--reading-width));
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 84px 0 70px;
}

.page-hero h1 {
    /* 外距 */ margin: 11px 0 18px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: clamp(42px, 6vw, 66px);
    /* 字體粗細 */ font-weight: 250;
    /* 行距 */ line-height: 1.2;
}

.page-hero p {
    /* 最大寬度 */ max-width: 770px;
    /* 外距 */ margin: 0 0 12px;
    /* 文字顏色 */ color: var(--text-muted);
}

/* ========【RealDate 文件快速導覽】 設定 - 頁內錨點 ======== */
.doc-index {
    /* 定位方式 */ position: sticky;
    /* 頂部位置 */ top: var(--header-height);
    /* 顯示層級 */ z-index: 65;
    /* 寬度 */ width: min(100%, var(--reading-width));
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 10px 20px;
    /* 顯示方式 */ display: flex;
    /* 項目間距 */ gap: 4px;
    /* 水平溢出 */ overflow-x: auto;
    /* 背景 */ background: rgba(250, 250, 250, .96);
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
    /* 捲軸寬度 */ scrollbar-width: none;
}

.doc-index::-webkit-scrollbar {
    /* 顯示方式 */ display: none;
}

.doc-index a {
    /* 彈性尺寸 */ flex: 0 0 auto;
    /* 內縮空間 */ padding: 6px 9px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 11px;
    /* 圓角弧度 */ border-radius: 4px;
}

.doc-index a:hover {
    /* 文字顏色 */ color: var(--accent);
    /* 背景 */ background: var(--accent-soft);
}

/* ========【RealDate 文件章節】 設定 - 編號與英文小標整合 ======== */
.doc-section {
    /* 寬度 */ width: min(calc(100% - 40px), var(--reading-width));
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 86px 0;
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
    /* 錨點上方留白 */ scroll-margin-top: calc(var(--header-height) + 55px);
}

.doc-label {
    /* 顯示方式 */ display: flex;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 9px;
    /* 文字顏色 */ color: var(--accent);
}

.doc-label span {
    /* 字體大小 */ font-size: 10px;
    /* 字距 */ letter-spacing: 1px;
}

.doc-label span::after {
    /* 建立內容 */ content: "/";
    /* 左側外距 */ margin-left: 9px;
    /* 文字顏色 */ color: #bfc6cb;
}

.doc-label strong {
    /* 字體大小 */ font-size: 11px;
    /* 字體粗細 */ font-weight: 650;
}

.doc-content h2 {
    /* 外距 */ margin: 8px 0 20px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 34px;
    /* 字體粗細 */ font-weight: 300;
}

.doc-content > p {
    /* 最大寬度 */ max-width: 780px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 14px;
}

.feature-list {
    /* 上方外距 */ margin-top: 32px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 項目間距 */ gap: 12px;
}

.feature-list > div,
.optional-package,
.required-files {
    /* 內縮空間 */ padding: 20px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 6px;
}

.feature-list strong {
    /* 顯示方式 */ display: block;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 14px;
    /* 字體粗細 */ font-weight: 550;
}

.feature-list p,
.optional-package p,
.required-files p {
    /* 外距 */ margin: 7px 0 0;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

.doc-note {
    /* 上方外距 */ margin-top: 24px;
    /* 內縮空間 */ padding: 14px 16px;
    /* 背景 */ background: var(--accent-soft);
    /* 左側邊框 */ border-left: 2px solid var(--accent);
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 13px;
}

.doc-note-warning {
    /* 背景 */ background: rgba(155, 109, 66, .05);
    /* 左側邊框顏色 */ border-left-color: #b88a5e;
}

/* ========【RealDate 季節與生命階段】 設定 - 資料視覺 ======== */
.season-map {
    /* 上方外距 */ margin-top: 26px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 項目間距 */ gap: 12px;
}

.season-map > div {
    /* 內縮空間 */ padding: 18px;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 7px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 6px;
}

.season-map strong {
    /* 寬度 */ width: 100%;
    /* 文字顏色 */ color: var(--text-strong);
}

.season-map span {
    /* 內縮空間 */ padding: 4px 7px;
    /* 背景 */ background: var(--surface-soft);
    /* 邊框 */ border: 1px solid var(--line-soft);
    /* 圓角弧度 */ border-radius: 4px;
    /* 字體大小 */ font-size: 11px;
}

.life-stage-table {
    /* 上方外距 */ margin-top: 28px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 6px;
    /* 溢出處理 */ overflow: hidden;
}

.life-stage-table > div {
    /* 內縮空間 */ padding: 15px;
    /* 背景 */ background: var(--surface);
    /* 右側邊框 */ border-right: 1px solid var(--line);
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
}

.life-stage-table strong,
.life-stage-table span {
    /* 顯示方式 */ display: block;
}

.life-stage-table strong {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
    /* 字體粗細 */ font-weight: 500;
}

.life-stage-table span {
    /* 上方外距 */ margin-top: 4px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 13px;
}

.timeline-flow {
    /* 上方外距 */ margin-top: 28px;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 8px;
}

.timeline-flow span {
    /* 內縮空間 */ padding: 6px 9px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 5px;
    /* 字體大小 */ font-size: 11px;
}

.timeline-flow b {
    /* 文字顏色 */ color: #c5c5c5;
    /* 字體粗細 */ font-weight: 400;
}

/* ========【下載與安裝】 設定 - 最新版本 ======== */
.download-card {
    /* 內縮空間 */ padding: 34px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 8px;
}

.download-card-featured {
    /* 背景 */ background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
    /* 邊框顏色 */ border-color: var(--accent-border);
}

.download-version > div {
    /* 顯示方式 */ display: flex;
    /* 排列方向 */ flex-direction: column;
}

.download-version strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 31px;
    /* 字體粗細 */ font-weight: 300;
}

.download-version span {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 11px;
}

.download-facts {
    /* 外距 */ margin: 28px 0;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 上方邊框 */ border-top: 1px solid var(--line);
    /* 下方邊框 */ border-bottom: 1px solid var(--line);
}

.download-facts > div {
    /* 內縮空間 */ padding: 15px 15px 15px 0;
}

.download-facts small,
.environment-grid small,
.history-facts small,
.compat-meta small {
    /* 顯示方式 */ display: block;
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 9px;
    /* 字距 */ letter-spacing: .5px;
}

.download-facts strong,
.environment-grid strong,
.history-facts strong,
.compat-meta strong {
    /* 顯示方式 */ display: block;
    /* 上方外距 */ margin-top: 3px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 11px;
    /* 字體粗細 */ font-weight: 550;
}

.install-warning {
    /* 上方外距 */ margin-top: 16px;
    /* 內縮空間 */ padding: 18px 20px;
    /* 背景 */ background: rgba(155, 109, 66, .05);
    /* 邊框 */ border: 1px solid rgba(155, 109, 66, .16);
    /* 圓角弧度 */ border-radius: 6px;
}

.install-warning > strong {
    /* 文字顏色 */ color: var(--warning);
}

.install-warning p {
    /* 外距 */ margin: 6px 0 0;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

/* ========【下載與安裝】 設定 - 安裝步驟與檔案 ======== */
.install-layout {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    /* 項目間距 */ gap: 16px;
    /* 垂直對齊 */ align-items: start;
}

.step-list {
    /* 顯示方式 */ display: grid;
    /* 項目間距 */ gap: 10px;
}

.step-card {
    /* 內縮空間 */ padding: 22px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: 48px minmax(0, 1fr);
    /* 項目間距 */ gap: 16px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 6px;
}

.step-number {
    /* 文字顏色 */ color: var(--accent);
    /* 字體 */ font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    /* 字距 */ letter-spacing: 1px;
}

.step-card h3 {
    /* 外距 */ margin: 0 0 5px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 15px;
    /* 字體粗細 */ font-weight: 550;
}

.step-card p {
    /* 外距 */ margin: 0;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

.step-card code,
.required-files code,
.file-list code {
    /* 顯示方式 */ display: block;
    /* 上方外距 */ margin-top: 5px;
    /* 文字顏色 */ color: var(--text-main);
    /* 字體大小 */ font-size: 11px;
}

.required-files {
    /* 定位方式 */ position: sticky;
    /* 頂部位置 */ top: calc(var(--header-height) + 60px);
}

.required-files h3 {
    /* 外距 */ margin: 7px 0 12px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 17px;
    /* 字體粗細 */ font-weight: 500;
}

/* ========【下載與安裝】 設定 - 相容檔選擇 ======== */
.compat-file-matrix {
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 溢出處理 */ overflow: hidden;
}

.compat-file-matrix > div {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: .85fr 1.15fr;
}

.compat-file-matrix > div > * {
    /* 內縮空間 */ padding: 13px 16px;
    /* 下方邊框 */ border-bottom: 1px solid var(--line-soft);
}

.compat-file-matrix > div > *:nth-child(2) {
    /* 左側邊框 */ border-left: 1px solid var(--line-soft);
}

.compat-file-matrix .matrix-head {
    /* 背景 */ background: var(--surface-soft);
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
}

.compat-file-matrix > div:not(.matrix-head) {
    /* 背景 */ background: var(--surface);
    /* 文字顏色 */ color: var(--text-main);
    /* 字體大小 */ font-size: 12px;
}

.optional-package-grid {
    /* 上方外距 */ margin-top: 15px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 項目間距 */ gap: 12px;
}

.optional-package h3 {
    /* 外距 */ margin: 0 0 8px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 15px;
    /* 字體粗細 */ font-weight: 550;
}

.optional-package code {
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 10px;
}

/* ========【下載內容】 設定 - 顯示實際發布 ZIP 內含檔案 ======== */
.package-contents {
    /* 上方外距 */ margin-top: 28px;
    /* 上方內距 */ padding-top: 22px;
    /* 上方邊框 */ border-top: 1px solid var(--line);
}

.package-contents h3 {
    /* 外距 */ margin: 0 0 6px;
    /* 文字顏色 */ color: var(--accent);
    /* 字體 */ font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    /* 字體大小 */ font-size: 10px;
    /* 字距 */ letter-spacing: 1.7px;
}

.package-contents p {
    /* 外距 */ margin: 0 0 12px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 11px;
}

.package-file-list {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 項目間距 */ gap: 6px;
}

.package-file-list code {
    /* 內縮空間 */ padding: 7px 9px;
    /* 背景 */ background: var(--surface-soft);
    /* 邊框 */ border: 1px solid var(--line-soft);
    /* 圓角弧度 */ border-radius: 4px;
    /* 文字顏色 */ color: var(--text-main);
    /* 字體大小 */ font-size: 10px;
}

/* ========【下載與安裝】 設定 - 歷史版本 ======== */
.history-list {
    /* 顯示方式 */ display: grid;
    /* 項目間距 */ gap: 12px;
}

.history-card {
    /* 內縮空間 */ padding: 22px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 錨點上方留白 */ scroll-margin-top: calc(var(--header-height) + 40px);
}

.history-title {
    /* 顯示方式 */ display: flex;
    /* 水平排列 */ justify-content: space-between;
    /* 垂直對齊 */ align-items: baseline;
    /* 項目間距 */ gap: 15px;
}

.history-title strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 19px;
    /* 字體粗細 */ font-weight: 500;
}

.history-title span {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
}

.history-facts {
    /* 外距 */ margin: 15px 0;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 15px 26px;
}

.history-facts > span {
    /* 最小寬度 */ min-width: 180px;
}

/* ========【相容性】 設定 - 測試環境與快速總覽 ======== */
.environment-grid {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 項目間距 */ gap: 1px;
    /* 背景 */ background: var(--line);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 溢出處理 */ overflow: hidden;
}

.environment-grid > div {
    /* 內縮空間 */ padding: 15px;
    /* 背景 */ background: var(--surface);
}

.compat-overview {
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 溢出處理 */ overflow: hidden;
}

.compat-overview > div {
    /* 內縮空間 */ padding: 14px 16px;
    /* 顯示方式 */ display: flex;
    /* 水平排列 */ justify-content: space-between;
    /* 項目間距 */ gap: 16px;
    /* 背景 */ background: var(--surface);
    /* 下方邊框 */ border-bottom: 1px solid var(--line-soft);
}

.compat-overview strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 12px;
}

.compat-overview span {
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 11px;
    /* 文字對齊 */ text-align: right;
}

/* ========【相容性】 設定 - 詳細可展開文件 ======== */
.compat-details {
    /* 顯示方式 */ display: grid;
    /* 項目間距 */ gap: 10px;
}

.compat-detail {
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
    /* 溢出處理 */ overflow: hidden;
}

.compat-detail summary {
    /* 內縮空間 */ padding: 17px 18px;
    /* 顯示方式 */ display: flex;
    /* 水平排列 */ justify-content: space-between;
    /* 垂直對齊 */ align-items: center;
    /* 項目間距 */ gap: 15px;
    /* 指標手勢 */ cursor: pointer;
    /* 清單樣式 */ list-style: none;
}

.compat-detail summary::-webkit-details-marker {
    /* 顯示方式 */ display: none;
}

.compat-detail summary > span:first-child {
    /* 顯示方式 */ display: flex;
    /* 排列方向 */ flex-direction: column;
}

.compat-detail summary strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 14px;
    /* 字體粗細 */ font-weight: 550;
}

.compat-detail summary small {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
}

.compat-status {
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 10px;
    /* 換行規則 */ white-space: nowrap;
}

.compat-detail-body {
    /* 內縮空間 */ padding: 0 18px 20px;
    /* 上方邊框 */ border-top: 1px solid var(--line-soft);
}

.compat-detail-body > p {
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

.compat-detail-body h4 {
    /* 外距 */ margin: 20px 0 8px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 12px;
}

.compat-detail-body ul {
    /* 左側內距 */ padding-left: 20px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

.compat-meta {
    /* 上方外距 */ margin-top: 16px;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 12px 22px;
}

.compat-meta code {
    /* 顯示方式 */ display: block;
    /* 上方外距 */ margin-top: 3px;
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 10px;
}

.responsibility-grid {
    /* 上方外距 */ margin-top: 15px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 項目間距 */ gap: 10px;
}

.responsibility-grid > div {
    /* 內縮空間 */ padding: 14px;
    /* 背景 */ background: var(--surface-soft);
    /* 邊框 */ border: 1px solid var(--line-soft);
    /* 圓角弧度 */ border-radius: 5px;
}

.responsibility-grid strong,
.responsibility-grid span {
    /* 顯示方式 */ display: block;
}

.responsibility-grid strong {
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 11px;
}

.responsibility-grid span {
    /* 上方外距 */ margin-top: 4px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 11px;
}

.file-list {
    /* 顯示方式 */ display: grid;
    /* 項目間距 */ gap: 5px;
}

.file-list code {
    /* 外距 */ margin: 0;
    /* 內縮空間 */ padding: 7px 9px;
    /* 背景 */ background: var(--surface-soft);
    /* 邊框 */ border: 1px solid var(--line-soft);
    /* 圓角弧度 */ border-radius: 4px;
}

.file-list-danger code {
    /* 邊框顏色 */ border-color: rgba(155, 109, 66, .18);
}

/* ========【開發藍圖】 設定 - 版本時間軸 ======== */
.roadmap-timeline {
    /* 定位方式 */ position: relative;
    /* 最大寬度 */ max-width: 780px;
    /* 外距 */ margin: 0 auto;
    /* 左側內距 */ padding-left: 36px;
}

.roadmap-timeline::before {
    /* 建立內容 */ content: "";
    /* 定位方式 */ position: absolute;
    /* 頂部位置 */ top: 8px;
    /* 底部位置 */ bottom: 10px;
    /* 左側位置 */ left: 5px;
    /* 寬度 */ width: 1px;
    /* 背景 */ background: #dfdfdf;
}

.roadmap-item {
    /* 定位方式 */ position: relative;
    /* 下方外距 */ margin-bottom: 50px;
}

.roadmap-marker {
    /* 定位方式 */ position: absolute;
    /* 頂部位置 */ top: 7px;
    /* 左側位置 */ left: -36px;
    /* 寬度 */ width: 11px;
    /* 高度 */ height: 11px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 2px solid var(--accent);
    /* 圓角弧度 */ border-radius: 50%;
    /* 陰影效果 */ box-shadow: 0 0 0 5px var(--page-bg);
}

.roadmap-content {
    /* 內縮空間 */ padding: 24px;
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 圓角弧度 */ border-radius: 7px;
}

.roadmap-current {
    /* 邊框顏色 */ border-color: var(--accent-border);
    /* 背景 */ background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
}

.roadmap-content h2 {
    /* 外距 */ margin: 12px 0 3px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 28px;
    /* 字體粗細 */ font-weight: 300;
}

.roadmap-content h3 {
    /* 外距 */ margin: 0 0 10px;
    /* 文字顏色 */ color: var(--accent);
    /* 字體大小 */ font-size: 14px;
    /* 字體粗細 */ font-weight: 500;
}

.roadmap-content p {
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 12px;
}

.status-chip {
    /* 顯示方式 */ display: inline-block;
    /* 內縮空間 */ padding: 4px 7px;
    /* 文字顏色 */ color: var(--accent);
    /* 背景 */ background: var(--accent-soft);
    /* 邊框 */ border: 1px solid var(--accent-border);
    /* 圓角弧度 */ border-radius: 4px;
    /* 字體大小 */ font-size: 9px;
}

/* ========【常見問題】 設定 - FAQ ======== */
.faq-list {
    /* 最大寬度 */ max-width: var(--reading-width);
}

.faq-item {
    /* 背景 */ background: var(--surface);
    /* 邊框 */ border: 1px solid var(--line);
    /* 底部邊框寬度 */ border-bottom-width: 0;
}

.faq-item:last-child {
    /* 底部邊框寬度 */ border-bottom-width: 1px;
}

.faq-item summary {
    /* 內縮空間 */ padding: 18px 20px;
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 14px;
    /* 指標手勢 */ cursor: pointer;
}

.faq-item p {
    /* 外距 */ margin: 0;
    /* 內縮空間 */ padding: 0 20px 20px;
    /* 文字顏色 */ color: var(--text-muted);
    /* 字體大小 */ font-size: 13px;
}

/* ========【RealDate 網站底部】 設定 - 專案資訊 ======== */
.site-footer {
    /* 背景 */ background: var(--surface);
    /* 上方邊框 */ border-top: 1px solid var(--line);
}

.site-footer-inner {
    /* 寬度 */ width: min(calc(100% - 40px), var(--page-width));
    /* 外距 */ margin: 0 auto;
    /* 內縮空間 */ padding: 40px 0 28px;
    /* 顯示方式 */ display: grid;
    /* 網格欄位 */ grid-template-columns: 1fr auto;
    /* 項目間距 */ gap: 26px 45px;
}

.footer-identity {
    /* 顯示方式 */ display: flex;
    /* 排列方向 */ flex-direction: column;
}

.footer-identity strong {
    /* 文字顏色 */ color: var(--text-strong);
    /* 字體大小 */ font-size: 14px;
    /* 字距 */ letter-spacing: 2px;
}

.footer-identity span,
.footer-meta {
    /* 文字顏色 */ color: var(--text-soft);
    /* 字體大小 */ font-size: 10px;
}

.footer-links {
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 15px;
}

.footer-links a {
    /* 文字顏色 */ color: var(--text-muted);
    /* 文字裝飾 */ text-decoration: none;
    /* 字體大小 */ font-size: 11px;
}

.footer-links a:hover {
    /* 文字顏色 */ color: var(--accent);
}

.footer-meta {
    /* 網格欄位範圍 */ grid-column: 1 / -1;
    /* 上方內距 */ padding-top: 16px;
    /* 顯示方式 */ display: flex;
    /* 自動換行 */ flex-wrap: wrap;
    /* 項目間距 */ gap: 7px 20px;
    /* 上方邊框 */ border-top: 1px solid var(--line-soft);
}

/* ========【RealDate 進場動畫】 設定 - 輕量淡入 ======== */
.js .reveal {
    /* 透明度 */ opacity: 0;
    /* 變形效果 */ transform: translateY(14px);
    /* 動畫效果 */ transition: opacity .5s ease, transform .5s ease;
}

.js .reveal.visible {
    /* 透明度 */ opacity: 1;
    /* 變形效果 */ transform: translateY(0);
}

/* ========【RealDate 響應式】 設定 - 平板 ======== */
@media (max-width: 980px) {
    .site-header-inner {
        /* 品牌 / 右側控制 */ grid-template-columns: minmax(0, 1fr) auto;
        /* 縮小右側控制間距 */ gap: 10px;
        /* 作為浮動導覽定位基準 */ position: relative;
    }

    .header-controls {
        /* 固定在第二欄最右側 */ grid-column: 2;
        /* 固定靠右 */ justify-self: end;
    }

    .nav-toggle {
        /* 顯示方式 */ display: block;
    }

    .main-nav {
        /* 定位方式 */ position: absolute;
        /* 頂部位置 */ top: calc(100% + 8px);
        /* 左側位置 */ left: 20px;
        /* 右側位置 */ right: 20px;
        /* 內縮空間 */ padding: 8px;
        /* 顯示方式 */ display: none;
        /* 排列方向 */ flex-direction: column;
        /* 垂直對齊 */ align-items: stretch;
        /* 項目間距 */ gap: 0;
        /* 背景 */ background: var(--surface);
        /* 邊框 */ border: 1px solid var(--line);
        /* 圓角弧度 */ border-radius: 8px;
        /* 陰影效果 */ box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    }

    .main-nav.open {
        /* 顯示方式 */ display: flex;
    }

    .main-nav > a,
    .nav-more > summary,
    .nav-more-menu a {
        /* 內縮空間 */ padding: 9px 10px;
    }

    .main-nav > a.active::after,
    .nav-more.active > summary::after {
        /* 顯示方式 */ display: none;
    }

    .nav-more-menu {
        /* 定位方式 */ position: static;
        /* 外距 */ margin: 5px 0;
        /* 邊框 */ border: 0;
        /* 陰影效果 */ box-shadow: none;
        /* 背景 */ background: var(--surface-soft);
    }

    .hero-inner {
        /* 網格欄位 */ grid-template-columns: 1fr;
        /* 最小高度 */ min-height: auto;
        /* 內縮空間 */ padding: 74px 0;
    }

    .timeline-visual {
        /* 最小高度 */ min-height: 400px;
        /* 最大寬度 */ max-width: 500px;
    }

    .system-grid,
    .optional-package-grid {
        /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .release-section,
    .install-layout {
        /* 網格欄位 */ grid-template-columns: 1fr;
    }

    .required-files {
        /* 定位方式 */ position: static;
    }

    .environment-grid {
        /* 網格欄位 */ grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ========【RealDate 響應式】 設定 - 手機 ======== */
@media (max-width: 650px) {
    :root {
        /* 頂部導覽高度 */ --header-height: 62px;
    }

    .site-header-inner {
        /* 寬度 */ width: min(calc(100% - 28px), var(--page-width));
        /* 品牌 / 右側控制 */ grid-template-columns: minmax(0, 1fr) auto;
        /* 項目間距 */ gap: 8px;
    }

    .site-brand-group {
        /* 項目間距 */ gap: 9px;
    }

    .creator-link {
        /* 最小高度 */ min-height: 40px;
        /* 字體大小 */ font-size: 12px;
        /* 字距 */ letter-spacing: 1.4px;
    }

    .brand-divider {
        /* 顯示方式 */ display: inline;
    }

    .realdate-brand {
        /* 字體大小 */ font-size: 13px;
        /* 字距 */ letter-spacing: 1.4px;
    }

    .language-button {
        /* 字體大小 */ font-size: 11px;
    }

    .hero-inner,
    .section {
        /* 寬度 */ width: min(calc(100% - 30px), var(--page-width));
    }

    .hero h1 {
        /* 字體大小 */ font-size: 61px;
        /* 字距 */ letter-spacing: 2px;
    }

    .hero-lead {
        /* 字體大小 */ font-size: 21px;
    }

    .timeline-visual {
        /* 最小高度 */ min-height: 390px;
    }

    .calendar-card {
        /* 右側位置 */ right: 0;
        /* 寬度 */ width: 210px;
    }

    .life-line {
        /* 左側位置 */ left: 20px;
    }

    .section {
        /* 內縮空間 */ padding: 72px 0;
    }

    .system-grid,
    .feature-list,
    .season-map,
    .optional-package-grid,
    .release-section,
    .environment-grid,
    .compat-overview,
    .responsibility-grid,
    .download-facts {
        /* 網格欄位 */ grid-template-columns: 1fr;
    }

    .page-hero-inner,
    .doc-section {
        /* 寬度 */ width: min(calc(100% - 30px), var(--reading-width));
    }

    .page-hero-inner {
        /* 內縮空間 */ padding: 62px 0 52px;
    }

    .page-hero h1 {
        /* 字體大小 */ font-size: 41px;
    }

    .doc-index {
        /* 寬度 */ width: 100%;
        /* 左側內距 */ padding-left: 15px;
        /* 右側內距 */ padding-right: 15px;
    }

    .doc-section {
        /* 內縮空間 */ padding: 64px 0;
    }

    .doc-content h2 {
        /* 字體大小 */ font-size: 29px;
    }

    .life-stage-table {
        /* 網格欄位 */ grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compat-file-matrix > div {
        /* 網格欄位 */ grid-template-columns: 1fr;
    }

    .compat-file-matrix > div > *:nth-child(2) {
        /* 左側邊框 */ border-left: 0;
    }

    .history-title,
    .compat-overview > div {
        /* 排列方向 */ flex-direction: column;
        /* 垂直對齊 */ align-items: flex-start;
    }

    .compat-overview span {
        /* 文字對齊 */ text-align: left;
    }

    .compat-detail summary {
        /* 垂直對齊 */ align-items: flex-start;
        /* 排列方向 */ flex-direction: column;
    }

    .package-file-list {
        /* 網格欄位 */ grid-template-columns: 1fr;
    }

    .site-footer-inner {
        /* 寬度 */ width: min(calc(100% - 30px), var(--page-width));
        /* 網格欄位 */ grid-template-columns: 1fr;
    }

    .footer-meta {
        /* 網格欄位範圍 */ grid-column: auto;
    }
}

/* ========【RealDate 無障礙】 設定 - 減少動畫偏好 ======== */
@media (prefers-reduced-motion: reduce) {
    html {
        /* 頁面滾動 */ scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        /* 動畫時間 */ transition-duration: .01ms !important;
    }

    .js .reveal {
        /* 透明度 */ opacity: 1;
        /* 變形效果 */ transform: none;
    }
}


/* ========【展開箭頭】 設定 - 沿用模組整理的 CSS 三角箭頭（向右、展開向下） ======== */
.faq-item > summary,.compat-detail > summary {list-style:none;display:flex;align-items:center;gap:12px}
.faq-item > summary::-webkit-details-marker,.compat-detail > summary::-webkit-details-marker {display:none}
.faq-item > summary::before,.compat-detail > summary::before {content:"";display:block;flex:0 0 auto;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-strong);transition:transform .2s ease}
.faq-item[open] > summary::before,.compat-detail[open] > summary::before {transform:rotate(90deg)}
@media(prefers-reduced-motion:reduce){.faq-item > summary::before,.compat-detail > summary::before {transition:none}}
@media(hover:hover) and (pointer:fine){.compat-details,.faq-list{scrollbar-width:thin;scrollbar-color:var(--line) transparent}}

/* ========【共用捲軸】 A 款細線 - 所有可捲動容器 ======== */
html,body,body *{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
html::-webkit-scrollbar,body::-webkit-scrollbar,body *::-webkit-scrollbar{width:6px;height:6px}
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,body *::-webkit-scrollbar-track{background:transparent}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px}
