/* Feature detail pages use the global theme tokens; no private color palette. */
.feature-app { min-width: 0; }
.feature-topbar .brand small { margin-left: 4px; color: var(--app-faint); font-size: 8px; letter-spacing: .08em; }
.feature-topbar .brand small::before { content: "·"; margin-right: 4px; color: var(--app-accent); }
.feature-topbar { position: sticky; z-index: 10; top: 0; }
.feature-topbar .brand-mark-img { width: 28px; height: 28px; }
.feature-shell { width: min(calc(100% - 36px), 1380px); display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 18px; margin: 0 auto; padding: 22px 0 70px; }
.feature-sidebar { position: sticky; top: 86px; align-self: start; max-height: calc(100vh - 108px); overflow: auto; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-panel); }
.feature-sidebar-head { display: grid; gap: 4px; padding: 16px 15px; border-bottom: 1px solid var(--app-line); }
.feature-sidebar-head strong { font-size: 14px; }
.feature-sidebar-head small { color: var(--app-faint); font-size: 10px; }
.feature-search { display: grid; gap: 5px; padding: 11px 10px 5px; }
.feature-search span { color: var(--app-faint); font-size: 10px; }
.feature-search input { width: 100%; min-height: 32px; padding: 7px 9px; border: 1px solid var(--app-line); border-radius: 7px; background: var(--app-panel-2); color: var(--app-text); font: inherit; font-size: 11px; }
.feature-search input::placeholder { color: var(--app-faint); }
.feature-search input:focus { border-color: var(--app-accent); outline: 2px solid var(--app-accent-soft); outline-offset: 1px; }
.feature-nav-empty { margin: 12px 10px 16px; color: var(--app-muted); font-size: 11px; line-height: 1.6; }
.feature-nav-group { padding: 12px 10px 3px; }
.feature-nav-group > small { display: block; padding: 0 7px 6px; color: var(--app-faint); font-size: 10px; letter-spacing: .08em; }
.feature-nav-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 33px; margin: 2px 0; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; color: var(--app-muted); font-size: 11px; }
.feature-nav-link:hover, .feature-nav-link.is-active { border-color: color-mix(in srgb, var(--app-accent) 42%, var(--app-line)); background: var(--app-accent-soft); color: var(--app-text); }
.feature-nav-link b { color: var(--app-accent); }
.feature-sidebar-back { display: block; margin: 12px 10px 14px; padding: 11px 9px; border-top: 1px solid var(--app-line); color: var(--app-accent); font-size: 11px; }
.feature-main { min-width: 0; }
.feature-kicker, .feature-label { color: var(--app-accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.feature-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 10px 0 20px; border-bottom: 1px solid var(--app-line); }
.feature-head h1 { margin: 8px 0 0; font-family: "Newsreader", "Songti SC", serif; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.06; letter-spacing: -.035em; }
.feature-subtitle { margin: 11px 0 0; color: var(--app-muted); font-size: 15px; line-height: 1.65; }
.feature-problem { max-width: 780px; margin: 12px 0 0; color: var(--app-text); font-size: 12px; line-height: 1.7; }
.feature-problem strong { margin-right: 8px; color: var(--app-accent); }
.feature-head-meta { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; color: var(--app-faint); font-size: 10px; }
.feature-head-meta span { padding: 6px 8px; border: 1px solid var(--app-line); border-radius: 999px; }
.feature-hero-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 14px; margin-top: 18px; padding: 14px; border: 1px solid color-mix(in srgb, var(--app-accent) 45%, var(--app-line)); border-radius: 12px; background: var(--app-panel); box-shadow: 0 14px 36px color-mix(in srgb, var(--app-shadow) 28%, transparent); }
.feature-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 10px 11px 10px 7px; }
.feature-hero-copy h2 { margin: 9px 0 0; font-size: 22px; line-height: 1.25; }
.feature-hero-copy p { margin: 10px 0 0; color: var(--app-muted); font-size: 12px; line-height: 1.7; }
.feature-primary-action { display: inline-flex; align-self: start; margin-top: 16px; padding: 9px 12px; border: 1px solid var(--app-accent); border-radius: 7px; background: var(--app-accent); color: var(--app-accent-ink); font-size: 11px; font-weight: 800; }
.feature-hero-media, .feature-shot-panel figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--app-line); border-radius: 9px; background: var(--app-bg); }
.feature-hero-media img, .feature-shot-panel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.feature-hero-media:hover img, .feature-shot-panel figure:hover img { transform: scale(1.04); }
.feature-hero-media figcaption, .feature-shot-panel figcaption { position: absolute; right: 10px; bottom: 9px; left: 10px; padding: 6px 8px; border: 1px solid color-mix(in srgb, var(--app-accent) 35%, var(--app-line)); border-radius: 6px; background: color-mix(in srgb, var(--app-bg) 86%, transparent); color: var(--app-text); font-size: 10px; }
.feature-detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 12px; margin-top: 12px; }
.feature-panel { min-width: 0; padding: 16px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-panel); }
.feature-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.feature-panel h2 { margin: 7px 0 0; font-size: 17px; line-height: 1.35; }
.feature-duration { padding: 5px 7px; border: 1px solid var(--app-accent); border-radius: 999px; color: var(--app-accent); font-size: 9px; white-space: nowrap; }
.feature-video-panel video { display: block; width: 100%; margin-top: 13px; border: 1px solid var(--app-line); border-radius: 7px; background: var(--app-bg); }
.feature-video-note { margin: 9px 0 0; color: var(--app-faint); font-size: 10px; line-height: 1.6; }
.feature-steps-panel ol { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.feature-steps-panel li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--app-muted); font-size: 12px; line-height: 1.6; }
.feature-steps-panel li b { color: var(--app-accent); font-size: 10px; }
.feature-check { margin-top: 16px; padding: 11px 12px; border-left: 2px solid var(--app-accent); background: var(--app-accent-soft); }
.feature-check strong { font-size: 12px; }
.feature-check p { margin: 5px 0 0; color: var(--app-muted); font-size: 11px; line-height: 1.6; }
.feature-shot-panel { display: grid; grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr); gap: 14px; align-items: center; margin-top: 12px; padding: 16px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-panel-2); }
.feature-shot-panel h2 { margin: 7px 0 0; font-size: 20px; line-height: 1.3; }
.feature-shot-panel p { margin: 9px 0 0; color: var(--app-muted); font-size: 12px; line-height: 1.7; }
.feature-next { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.feature-next a { color: var(--app-accent); font-size: 11px; font-weight: 800; }
.feature-next a:hover { color: var(--app-text); }
@media (max-width: 960px) { .feature-shell { grid-template-columns: 210px minmax(0, 1fr); } .feature-hero-card, .feature-shot-panel { grid-template-columns: 1fr; } .feature-hero-copy { padding: 7px 3px; } }
@media (max-width: 760px) { .feature-topbar nav, .feature-topbar .header-account, .feature-topbar .theme-switcher { display: none; } .feature-shell { width: min(calc(100% - 24px), 640px); grid-template-columns: 1fr; padding-top: 12px; } .feature-sidebar { position: static; max-height: 250px; overflow: auto; } .feature-sidebar-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; background: var(--app-panel); } .feature-nav-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; } .feature-nav-group > small { grid-column: 1 / -1; } .feature-detail-grid { grid-template-columns: 1fr; } .feature-head { display: block; } .feature-head-meta { justify-content: start; margin-top: 13px; } .feature-head h1 { font-size: 34px; } }
