/* 功能展示：沿用引擎官网的青绿色主题，补充更轻的教程资料卡片布局。 */
.features-page,
.feature-detail-page { --feature-accent: #2fb7c5; --feature-accent-deep: #086b78; --feature-green: #14aa80; }
.features-page,
.feature-detail-page { min-height: calc(100vh - 68px); }
.features-page .container,
.feature-detail-page .container { width: min(1200px, calc(100% - 48px)); }
.feature-page-hero { max-width: 860px; margin-bottom: 28px; padding: 4px 0 16px; }
.feature-page-hero .breadcrumb,
.feature-detail-breadcrumb .breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--faint); font-size:13px; }
.feature-page-hero .breadcrumb { margin-bottom: 16px; }
.feature-page-hero .breadcrumb a,
.feature-detail-breadcrumb .breadcrumb a { color: var(--gold-2); }
.feature-eyebrow { display:inline-flex; align-items:center; gap:8px; min-height:30px; padding:0 11px; color:var(--gold-2); border:1px solid rgba(var(--accent-rgb), .2); border-radius:999px; background:rgba(var(--accent-rgb), .07); font-size:12px; font-weight:800; }
.feature-eyebrow-dot { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(69,214,161,.12); }
.feature-page-hero h1 { margin:18px 0 10px; font-size:clamp(36px, 4.5vw, 52px); line-height:1.14; letter-spacing:0; }
.feature-page-hero p { max-width:720px; color:var(--muted); font-size:15px; line-height:1.8; }
.features-library { padding:22px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.035); box-shadow:var(--shadow); }
html[data-theme="light"] .features-library { background:rgba(255,255,255,.7); }
.features-toolbar { margin-bottom:22px; }
.features-filter-line { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.features-category-nav { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; }
.features-category-nav a { min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:7px 14px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.035); font-size:13px; font-weight:700; transition:transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.features-category-nav a:hover { color:var(--text); border-color:var(--line-strong); transform:translateY(-1px); }
.features-category-nav a.active { color:#fff; border-color:rgba(var(--accent-rgb), .5); background:linear-gradient(135deg, var(--feature-accent), var(--feature-accent-deep)); box-shadow:0 10px 24px rgba(var(--accent-rgb), .2); }
.features-category-nav a .icon { width:15px; height:15px; }
.features-search { display:flex; align-items:center; gap:9px; flex:0 1 280px; min-width:220px; height:42px; padding:0 13px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.03); transition:border-color .2s ease, box-shadow .2s ease; }
.features-search:focus-within { border-color:var(--line-strong); box-shadow:0 0 0 3px rgba(var(--accent-rgb), .11); }
.features-search .icon { color:var(--feature-accent); width:18px; height:18px; }
.features-search input { width:100%; min-width:0; height:100%; border:0; outline:0; color:var(--text); background:transparent; font:inherit; font-size:13px; }
.features-search input:focus,
.features-search input:focus-visible { outline:none !important; box-shadow:none; }
.features-search input::placeholder { color:var(--faint); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.features-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; }
.feature-card { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 12px 28px rgba(0,0,0,.11); transition:transform .28s cubic-bezier(.16,1,.3,1), border-color .22s ease, box-shadow .22s ease; }
html[data-theme="light"] .feature-card { background:#fff; box-shadow:0 10px 24px rgba(25,65,91,.06); }
.feature-card:hover { transform:translateY(-4px); border-color:rgba(var(--accent-rgb), .48); box-shadow:0 22px 42px rgba(0,0,0,.2); }
html[data-theme="light"] .feature-card:hover { box-shadow:0 18px 34px rgba(25,65,91,.13); }
.feature-card-media { position:relative; display:grid; place-items:center; aspect-ratio:1.52; overflow:hidden; background:linear-gradient(135deg, #236ee7, #1e51c9); }
.feature-card-tone-1 { background:linear-gradient(135deg, #06a982, #079d78); }
.feature-card-tone-2 { background:linear-gradient(135deg, #387bef, #2256d6); }
.feature-card-tone-3 { background:linear-gradient(135deg, #5b77b9, #475f9b); }
.feature-card-cover { grid-area:1 / 1; display:block; width:100%; height:100%; object-fit:cover; }
.feature-card-play { grid-area:1 / 1; z-index:1; display:grid; place-items:center; width:68px; height:68px; padding:0; border:1px solid rgba(255,255,255,.38); border-radius:50%; color:#fff; background:rgba(255,255,255,.12); box-shadow:0 10px 24px rgba(0,0,0,.18); cursor:pointer; transition:transform .2s ease, background .2s ease, border-color .2s ease; }
.feature-card-play:hover { border-color:rgba(255,255,255,.7); background:rgba(255,255,255,.22); transform:scale(1.06); }
.feature-card-play .icon { width:31px; height:31px; margin-left:3px; }
.feature-card-inline-video { display:block; width:100%; height:100%; object-fit:contain; background:#08131c; }
.feature-card-placeholder { display:grid; place-items:center; width:100%; height:100%; color:rgba(255,255,255,.4); }
.feature-card-placeholder .icon { width:54px; height:54px; stroke-width:1.35; }
.feature-card-body { display:flex; flex-direction:column; min-height:190px; padding:15px 15px 13px; }
.feature-card-tags { display:flex; flex-wrap:wrap; gap:6px; min-width:0; min-height:24px; margin-bottom:9px; }
.feature-card-tags span { display:inline-flex; align-items:center; min-height:23px; padding:2px 7px; border:1px solid rgba(var(--accent-rgb), .15); border-radius:4px; color:var(--gold-2); background:rgba(var(--accent-rgb), .06); font-size:11px; line-height:1.2; }
.feature-card-tags .feature-category-tag { color:var(--feature-accent); background:rgba(var(--accent-rgb), .08); }
.feature-card-body h2 { overflow:hidden; margin-bottom:6px; color:var(--text); font-size:17px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.feature-card-body p { display:-webkit-box; overflow:hidden; min-height:42px; margin-bottom:13px; color:var(--muted); font-size:12px; line-height:1.75; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.feature-card-meta, .feature-detail-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:11px; border-top:1px solid var(--line); color:var(--faint); font-size:12px; }
.feature-author { display:inline-flex; align-items:center; gap:7px; min-width:0; }
.feature-author-mark { display:inline-grid; place-items:center; width:25px; height:25px; border-radius:50%; color:#fff; background:linear-gradient(145deg, #2d7df2, #1c59d5); font-size:12px; font-weight:900; box-shadow:0 4px 10px rgba(31,98,223,.24); }
.feature-card-meta time, .feature-detail-meta time { white-space:nowrap; }
.features-empty { padding:64px 20px; text-align:center; color:var(--muted); }
.features-empty-icon { display:grid; place-items:center; width:58px; height:58px; margin:0 auto 16px; border:1px solid rgba(var(--accent-rgb), .2); border-radius:12px; color:var(--feature-accent); background:rgba(var(--accent-rgb), .08); }
.features-empty-icon .icon { width:28px; height:28px; }
.features-empty h2 { margin-bottom:7px; color:var(--text); font-size:20px; }
.features-empty p { font-size:13px; }
.features-pager { margin-top:26px; }
.feature-detail-breadcrumb { padding:20px 0 16px; }
.feature-detail-summary { display:grid; grid-template-columns:minmax(360px, .9fr) minmax(0, 1.1fr); gap:30px; padding:22px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.035); box-shadow:var(--shadow); }
html[data-theme="light"] .feature-detail-summary, html[data-theme="light"] .feature-detail-content { background:rgba(255,255,255,.72); }
.feature-detail-media { display:grid; place-items:center; overflow:hidden; min-height:260px; aspect-ratio:1.52; border-radius:8px; background:#10222d; }
.feature-detail-media img, .feature-detail-media video { display:block; width:100%; height:100%; object-fit:contain; }
.feature-detail-media video { background:#08131c; }
.feature-detail-placeholder { min-height:100%; }
.feature-detail-intro { display:flex; flex-direction:column; min-width:0; padding:8px 4px; }
.feature-detail-intro h1 { margin:16px 0 12px; font-size:clamp(32px, 3.2vw, 44px); line-height:1.16; letter-spacing:0; }
.feature-detail-intro > p { color:var(--muted); font-size:15px; line-height:1.9; }
.feature-detail-meta { justify-content:flex-start; gap:20px; margin-top:24px; }
.feature-detail-back { display:inline-flex; align-items:center; gap:7px; width:max-content; margin-top:auto; padding-top:24px; color:var(--gold-2); font-size:13px; font-weight:800; }
.feature-detail-back:hover { color:var(--text); }
.feature-detail-back .icon { width:15px; height:15px; transform:rotate(180deg); }
.feature-detail-content { margin-top:20px; padding:28px 30px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.035); box-shadow:var(--shadow); }
.feature-rich { color:var(--text); font-size:15px; line-height:1.9; }
.feature-rich > * { max-width:100%; }
.feature-rich p { margin:0 0 14px; }
.feature-rich h1, .feature-rich h2, .feature-rich h3, .feature-rich h4 { margin:1.4em 0 .6em; color:var(--gold-2); line-height:1.35; }
.feature-rich h1:first-child, .feature-rich h2:first-child, .feature-rich h3:first-child { margin-top:0; }
.feature-rich img, .feature-rich video { max-width:100%; height:auto; }
.feature-rich a { color:var(--gold-2); }
.feature-rich ul, .feature-rich ol { padding-left:1.5em; margin:0 0 14px; }
.feature-rich blockquote { margin:14px 0; padding:9px 14px; border-left:3px solid var(--feature-accent); color:var(--muted); background:rgba(var(--accent-rgb), .06); }
.feature-rich pre { overflow:auto; padding:15px; border-radius:7px; background:rgba(0,0,0,.3); }
.feature-rich table { width:100%; margin:14px 0; border-collapse:collapse; }
.feature-rich th, .feature-rich td { padding:8px 10px; border:1px solid var(--line); }
@media (max-width: 980px) {
    .features-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .features-filter-line { align-items:stretch; flex-direction:column; }
    .features-search { flex-basis:auto; width:100%; }
}
@media (max-width: 680px) {
    .features-page .container, .feature-detail-page .container { width:calc(100% - 28px); }
    .features-library { padding:16px 13px; }
    .features-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
    .feature-card-body { min-height:172px; padding:12px 11px 11px; }
    .feature-card-body h2 { font-size:15px; }
    .feature-card-body p { font-size:11px; }
    .feature-card-meta { align-items:flex-start; flex-direction:column; gap:6px; }
    .feature-detail-summary { grid-template-columns:1fr; gap:18px; padding:14px; }
    .feature-detail-content { padding:22px 17px; }
    .feature-detail-intro { padding:0 2px 6px; }
    .feature-detail-intro h1 { font-size:32px; }
}
@media (max-width: 420px) {
    .features-grid { grid-template-columns:1fr; }
}
