/* Home geometry is scoped here; the theme owns colors and type. */
body.route-home[data-theme-area="frontend"] .df-hero {
    width: 100%; max-width: none; margin: 0; padding: 44px 0 32px;
    display: grid; grid-template-columns: minmax(0, min(680px, 52%)) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px); align-items: center;
}
body.route-home[data-theme-area="frontend"] .df-hero-copy { width: 100%; max-width: none; min-width: 0; }
body.route-home[data-theme-area="frontend"] .df-hero-tag { margin-bottom: 16px; padding: 0; background: transparent; border: 0; border-radius: 0; font-size: .72rem; letter-spacing: .1em; }
body.route-home[data-theme-area="frontend"] .df-hero-title { margin: 0 0 12px; font-size: clamp(2.2rem, 3.6vw, 3.4rem) !important; line-height: 1.1; letter-spacing: -.045em; }
body.route-home[data-theme-area="frontend"] .df-hero-lead { margin: 0 0 8px; font-size: 1.08rem; color: var(--ink-2); }
body.route-home[data-theme-area="frontend"] .df-home-description { margin: 0 0 22px; font-size: .93rem; color: var(--ink-3); }
body.route-home[data-theme-area="frontend"] .df-hero-copy .w-100,
body.route-home[data-theme-area="frontend"] .search-shell.home-search-shell { width: 100%; max-width: 680px; }
body.route-home[data-theme-area="frontend"] .df-home-resource-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
body.route-home[data-theme-area="frontend"] .df-home-resource-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-size: .84rem; color: var(--ink-3); text-decoration: none; }
body.route-home[data-theme-area="frontend"] .df-home-resource-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
body.route-home[data-theme-area="frontend"] .df-hero-visual { width: 100%; min-width: 0; justify-content: stretch; }
body.route-home[data-theme-area="frontend"] .df-hero-logo-live { width: 100%; min-height: 0; max-height: none; }
body.route-home[data-theme-area="frontend"] .df-typewriter-panel { padding: 22px 24px; }
body.route-home[data-theme-area="frontend"] .df-typewriter-code { min-height: 160px; }
body.route-home[data-theme-area="frontend"] :is(.df-typewriter-word, .df-typewriter-word-ghost) { font-size: clamp(1.6rem, 2.55vw, 2.8rem); }
body.route-home[data-theme-area="frontend"] .df-hero-entries { margin-bottom: 28px; gap: 16px; }
body.route-home[data-theme-area="frontend"] .df-hero-entries .df-entry { position: relative; padding: 18px 20px; gap: 7px; background: var(--surface); border-radius: 9px; }
body.route-home[data-theme-area="frontend"] .df-entry h2 { margin: 0; font-size: 1.1rem; }
body.route-home[data-theme-area="frontend"] .df-entry-kicker { font-size: .7rem; color: var(--muted); letter-spacing: .08em; }
body.route-home[data-theme-area="frontend"] .df-entry p { margin: 0; color: var(--ink-3); }
body.route-home[data-theme-area="frontend"] .df-entry .section-link { margin-top: 3px; }
body.route-home[data-theme-area="frontend"] .home-content-layout { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 24px; }
body.route-home[data-theme-area="frontend"] :is(.home-primary-column, .home-secondary-column) { gap: 24px; }
body.route-home[data-theme-area="frontend"] .df-panel { padding: 24px; border-radius: 9px; }
body.route-home[data-theme-area="frontend"] .df-panel-soft { background: var(--surface); }
body.route-home[data-theme-area="frontend"] .section-head { align-items: center; gap: 16px; margin-bottom: 16px; }
body.route-home[data-theme-area="frontend"] .section-title { font-size: 1.1rem; }
body.route-home[data-theme-area="frontend"] :is(.catalog-line, .timeline-item, .feature-band) { padding-block: 18px; }
body.route-home[data-theme-area="frontend"] :is(.timeline-item, .feature-band) h3 { margin-block: 4px 8px; font-size: .95rem; line-height: 1.6; }
body.route-home[data-theme-area="frontend"] :is(.timeline-item, .bulletin-body) p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 0; font-size: .85rem; line-height: 1.7; color: var(--ink-3); }
body.route-home[data-theme-area="frontend"] .feature-band p { color: var(--ink-3); font-size: .86rem; }
body.route-home[data-theme-area="frontend"] :is(.meta-text-list, .catalog-meta, .catalog-side-note) { color: var(--muted); }
body.route-home[data-theme-area="frontend"] .home-secondary-column .bulletin-item { grid-template-columns: 45px minmax(0, 1fr); gap: 12px; padding-block: 16px; }
body.route-home[data-theme-area="frontend"] .home-secondary-column .bulletin-body h3 { font-size: .95rem; line-height: 1.6; }
body.route-home[data-theme-area="frontend"] .home-secondary-column .bulletin-date { font-size: .7rem; color: var(--muted); }
body.route-home[data-theme-area="frontend"] .home-secondary-column .bulletin-date strong { font-size: .95rem; }
body.route-home[data-theme-area="frontend"] .home-secondary-column .catalog-side strong { font-size: 1.1rem; }
body.route-home[data-theme-area="frontend"] .home-secondary-column .catalog-line { gap: 12px; }
body.route-home[data-theme-area="frontend"] .home-ranking-panel .catalog-line { padding-block: 14px; }
body.route-home[data-theme-area="frontend"] .home-ranking-panel .catalog-title { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; }
body.route-home[data-theme-area="frontend"] .home-ranking-panel .meta-text-list { font-size: .72rem; }
body.route-home[data-theme-area="frontend"] .home-ranking-panel .catalog-side { font-size: .7rem; }
@media (hover: hover) and (pointer: fine) {
    body.route-home[data-theme-area="frontend"] .df-home-resource-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 1023.98px) {
    body.route-home[data-theme-area="frontend"] .df-hero { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; }
    body.route-home[data-theme-area="frontend"] .df-typewriter-panel { padding: 18px; }
    body.route-home[data-theme-area="frontend"] .home-content-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
    body.route-home[data-theme-area="frontend"] .df-panel { padding: 18px; }
}
@media (max-width: 767.98px) {
    body.route-home[data-theme-area="frontend"] .df-hero { grid-template-columns: 1fr; padding: 24px 0; gap: 22px; }
    body.route-home[data-theme-area="frontend"] .df-hero-visual { display: none; }
    body.route-home[data-theme-area="frontend"] .df-home-description { margin-bottom: 18px; }
    body.route-home[data-theme-area="frontend"] .df-home-resource-links a { min-height: 44px; }
    body.route-home[data-theme-area="frontend"] .df-hero-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
    body.route-home[data-theme-area="frontend"] .df-hero-entries .df-entry { padding: 14px 12px; }
    body.route-home[data-theme-area="frontend"] .df-entry-kicker { display: none; }
    body.route-home[data-theme-area="frontend"] .df-entry h2 { font-size: .95rem; }
    body.route-home[data-theme-area="frontend"] .df-entry p { font-size: .75rem; line-height: 1.6; }
    body.route-home[data-theme-area="frontend"] .df-entry .section-link { font-size: .78rem; min-height: 44px; display: flex; align-items: center; }
    body.route-home[data-theme-area="frontend"] .home-content-layout { grid-template-columns: 1fr; }
    body.route-home[data-theme-area="frontend"] :is(.home-primary-column, .home-secondary-column) { gap: 18px; }
}
@media (max-width: 359.98px) {
    body.route-home[data-theme-area="frontend"] .df-hero-entries { grid-template-columns: 1fr; }
}
