/* Feature hub + feature pages. */
.tkf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.tkf-card { border: 1px solid var(--line); border-radius: 12px; padding: 0 0 6px; overflow: hidden; }
.tkf-card > *:not(img):not(a):not(.tkf-ph) { padding: 0 16px; }
.tkf-card > a:first-child { display: block; }
.tkf-card img, .tkf-mini img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; border-bottom: 1px solid var(--line); }
.tkf-card h3 { margin: 12px 0 4px; font-size: 18px; }
.tkf-card h3 a { color: var(--text); }
.tkf-card p { margin: 6px 0; font-size: 15px; }
.tkf-ph { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--accent-ink); font-size: 15px; border-bottom: 1px solid var(--line); }
.tkf-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #e2e8f0; color: #0f172a; }
.tkf-free { background: #ccfbf1; color: #115e59; }
.tkf-pro { background: #ede9fe; color: #4c1d95; }
.tkf-free-pro { background: #e0f2fe; color: #075985; }
.tkf-soon { background: #fef3c7; color: #78350f; }
.tkf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tkf-mini { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); font-weight: 600; }
.tkf-mini span { display: block; padding: 10px 14px; }
.tkf-crumb { font-size: 15px; margin: 24px 0 0; }
.tkf-page h1 { margin-top: 12px; }
.tkf-lead { font-size: 19px; }
.tkf-video video { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #0f172a; }
.tkf-pn { display: flex; justify-content: space-between; gap: 16px; margin: 32px 0 8px; font-size: 15px; }
.tkf-pn a { display: inline-block; padding: 8px 0; }
@media (max-width: 600px) { .tkf-lead { font-size: 17px; } .tkf-pn { flex-direction: column; } }
/* r2 */
.tkf-jump { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 8px 0 4px; }
.tkf-jump a { display: inline-block; padding: 10px 12px; min-height: 44px; border: 1px solid #7d8a87; border-radius: 999px; font-size: 15px; line-height: 22px; text-decoration: none; }
.tkf-jump a:hover { background: var(--soft); }
.tkf-card-soon { border-style: dashed; border-color: #7d8a87; }
header nav a[aria-current] { font-weight: 700; text-decoration-thickness: 2px; }
.tkf-crumb a { display: inline-block; padding: 10px 0; min-height: 44px; }
h2[id] { scroll-margin-top: 12px; }
