/* ===== Homepage 3 Pillars + Responsive List ===== */
:root {
    --type-group-ink: #0f5db0;
    --type-group-bg: #e8f2ff;
    --type-oa-ink: #7a5a00;
    --type-oa-bg: #fff4cf;
    --type-mini-ink: #4e3aa6;
    --type-mini-bg: #efe9ff;
}

.home-intro {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(136deg, #ecf8ff 0%, #f6f8ff 52%, #fdf5ea 100%);
    box-shadow: var(--shadow);
    padding: 16px;
}

.home-intro__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e0f3ff;
    color: #0f4f7d;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-intro h1 {
    margin: 10px 0 8px;
    font-size: clamp(1.35rem, 4vw, 2.2rem);
    line-height: 1.2;
}

.home-intro p {
    margin: 0;
    color: var(--muted);
}

.home-intro__search {
    margin-top: 14px;
}

/* ===== Home Route Refresh ===== */
body.route-home {
    background:
        radial-gradient(circle at top center, rgba(56, 96, 178, 0.22) 0%, rgba(56, 96, 178, 0) 34%),
        radial-gradient(circle at 90% 10%, rgba(165, 79, 208, 0.16) 0%, rgba(165, 79, 208, 0) 26%),
        linear-gradient(180deg, #07111d 0%, #081321 24%, #091628 60%, #07111b 100%);
    color: #eef3fb;
}

.route-home .container {
    width: var(--public-content-width);
    max-width: none;
}

body.route-home,
.home-shell--reference {
    overflow-x: clip;
}

.route-home .desktop-nav > a,
.route-home .logo,
.route-home .header-dropdown summary,
.route-home .header-action--ghost,
.route-home .header-locale-switch a {
    color: #edf4ff;
}

.route-home .desktop-nav > a,
.route-home .header-dropdown summary {
    opacity: 0.86;
}

.route-home .desktop-nav > a:hover,
.route-home .header-dropdown summary:hover {
    text-decoration: none;
    opacity: 1;
    background: rgba(19, 32, 51, 0.84);
    border-color: rgba(168, 191, 227, 0.2);
}

.route-home .desktop-nav,
.route-home .header-action--ghost,
.route-home .header-locale-switch {
    border-color: rgba(141, 170, 214, 0.22);
    background: rgba(13, 22, 36, 0.72);
}

.route-home .desktop-nav {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.route-home .header-dropdown__menu {
    background: rgba(9, 14, 22, 0.98);
    border-color: rgba(42, 51, 69, 0.96);
}

.route-home .desktop-nav > a.is-active,
.route-home .header-dropdown summary.is-active,
.route-home .header-dropdown[open] summary,
.route-home .header-action--ghost.is-active,
.route-home .header-action--primary.is-active,
.route-home .header-action--primary,
.route-home .header-locale-switch a.is-active {
    color: #0a1320;
    opacity: 1;
    background: linear-gradient(180deg, #f4f8ff 0%, #d9e7ff 100%);
    border-color: rgba(212, 228, 255, 0.88);
    box-shadow: 0 8px 18px rgba(85, 133, 210, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.home-shell {
    display: grid;
    gap: 22px;
}

.home-section {
    position: relative;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 6px;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.72;
}

.home-hero::before {
    top: 20px;
    left: 10%;
    width: 320px;
    height: 320px;
    background: rgba(48, 91, 215, 0.2);
}

.home-hero::after {
    right: 4%;
    top: 50px;
    width: 280px;
    height: 280px;
    background: rgba(186, 72, 201, 0.14);
}

.home-contribute__card {
    background: rgba(11, 21, 36, 0.84);
    border: 1px solid rgba(143, 171, 212, 0.14);
    box-shadow: 0 18px 50px rgba(2, 8, 18, 0.34);
}

.home-hero__eyebrow,
.home-section__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dbe7fb;
    background: rgba(91, 121, 178, 0.18);
    border: 1px solid rgba(135, 161, 208, 0.18);
}

.home-hero h1 {
    margin: 14px 0 12px;
    max-width: none;
    font-size: clamp(2.15rem, 4vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #f8fbff;
    text-wrap: balance;
}

.home-hero__lead {
    margin: 0;
    max-width: 62ch;
    color: #b8c7dd;
    font-size: 1.02rem;
    line-height: 1.7;
}

.route-home .home-hero__shortener {
    margin-top: 18px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 16px;
    border: 0;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0 18px;
    cursor: pointer;
}

.home-button--primary {
    color: #09111d;
    background: linear-gradient(120deg, #eef4ff 0%, #b8d3ff 100%);
}

.home-button--primary:hover {
    text-decoration: none;
    background: linear-gradient(120deg, #f7fbff 0%, #c6ddff 100%);
}

.home-button--ghost {
    color: #e8f1ff;
    background: rgba(93, 119, 160, 0.12);
    border: 1px solid rgba(149, 176, 218, 0.16);
}

.home-button--ghost:hover {
    text-decoration: none;
    background: rgba(102, 130, 177, 0.18);
}

.home-section__head {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.home-section__head h2 {
    margin: 10px 0 0;
    color: #f8fbff;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.home-section__deck {
    margin: 0;
    max-width: 68ch;
    color: #a5b7d2;
    line-height: 1.7;
}

.route-home .item-card__avatar {
    border-color: rgba(145, 171, 213, 0.12);
    background: rgba(22, 37, 60, 0.94);
}

.route-home .item-card__title a {
    color: #f3f7ff;
}

.route-home .chip {
    border-color: rgba(145, 171, 213, 0.14);
}

.route-home .chip--category,
.route-home .item-card--type-group .chip--category,
.route-home .item-card--type-oa .chip--category,
.route-home .item-card--type-mini-app .chip--category {
    color: #dce9ff;
    background: rgba(90, 111, 150, 0.16);
}

.route-home .item-card__footer {
    border-top-color: rgba(145, 171, 213, 0.14);
}

.route-home .item-card__action-btn,
.route-home .item-card--type-group .item-card__action-btn,
.route-home .item-card--type-oa .item-card__action-btn,
.route-home .item-card--type-mini-app .item-card__action-btn {
    color: #dce8ff;
    background: rgba(24, 41, 66, 0.96);
    border-color: rgba(145, 171, 213, 0.12);
}

.route-home .item-card__action-icon {
    color: #a7bad8;
}

.home-contribute__card {
    border-radius: 28px;
    padding: 24px;
    display: grid;
    gap: 18px;
}

.home-contribute__copy h2 {
    margin: 10px 0 12px;
    max-width: none;
    color: #f8fbff;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.home-contribute__copy > p {
    margin: 0;
    max-width: none;
    color: #a9bad2;
    line-height: 1.7;
}

.route-home .site-footer {
    border-top: 1px solid rgba(146, 171, 213, 0.14);
    background: rgba(5, 12, 21, 0.92);
}

.route-home .footer-brand p,
.route-home .footer-links a {
    color: #a8bad4;
}

.route-home .site-footer h3,
.route-home .footer-brand strong {
    color: #f1f6ff;
}

.route-home .footer-links a:hover {
    color: #e9f2ff;
    text-decoration: none;
}

@media (min-width: 760px) {
    .home-contribute__card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

@media (min-width: 980px) {
    .home-hero {
        padding-top: 46px;
    }

}

/* ===== Homepage Reference Alignment ===== */
.route-home {
    background:
        radial-gradient(circle at top center, rgba(88, 97, 255, 0.12) 0%, rgba(88, 97, 255, 0) 28%),
        radial-gradient(circle at 90% 8%, rgba(232, 72, 153, 0.1) 0%, rgba(232, 72, 153, 0) 22%),
        #090b10;
    color: #f1f5fb;
}

.route-home .site-header {
    background: rgba(9, 11, 16, 0.82);
    border-bottom: 1px solid rgba(39, 46, 61, 0.8);
    backdrop-filter: blur(16px);
}

.route-home .page-main--home {
    padding-top: 0;
    padding-bottom: 72px;
}

.home-shell--reference {
    display: grid;
    gap: 0;
}

.home-shell--reference .container {
    width: var(--public-content-width);
    max-width: none;
}

.home-shell--reference .home-hero {
    padding: 50px 0 18px;
    border-bottom: 1px solid rgba(24, 30, 43, 0.9);
    background: transparent;
}

.home-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.home-shell--reference .home-hero__eyebrow {
    margin-inline: auto;
    padding: 6px 11px;
    color: #c7d2e5;
    background: rgba(24, 29, 39, 0.9);
    border: 1px solid rgba(41, 49, 66, 0.92);
}

.home-shell--reference .home-hero h1 {
    margin: 12px 0 8px;
    max-width: none;
    color: #f7f9fc;
    font-size: clamp(1.75rem, 3.4vw, 2.8rem);
    line-height: 1.06;
}

.home-shell--reference .home-hero h1 span:first-of-type {
    color: #9fa8ff;
}

.home-shell--reference .home-hero h1 span:nth-of-type(2) {
    color: #7dc3ff;
}

.home-shell--reference .home-hero h1 span:nth-of-type(3) {
    color: #f17ef7;
}

.home-shell--reference .home-hero__lead {
    margin: 0 auto;
    max-width: 520px;
    color: #9ca6b7;
    font-size: 0.87rem;
    line-height: 1.52;
}

.home-shell--reference .home-hero__shortener {
    margin-top: 16px;
    max-width: 740px;
    margin-inline: auto;
}

.home-hero__status-strip {
    margin: 14px auto 0;
    max-width: 760px;
}

.home-hero__system-line {
    margin: 0;
    color: #9fadc3;
    font-size: 0.79rem;
    line-height: 1.7;
    text-align: center;
}

.home-hero__system-line strong {
    color: #f4f8ff;
    font-weight: 700;
}

.home-shell--reference .quick-shortener__paste {
    border-color: rgba(85, 98, 122, 0.5);
    color: #dbe5f6;
    background: rgba(24, 30, 42, 0.95);
}

@media (min-width: 980px) {
    .home-desktop-tabs-shell {
        display: block;
        position: sticky;
        top: 86px;
        z-index: 30;
        margin-top: 12px;
        margin-bottom: 14px;
    }

    .home-desktop-tabs {
        display: flex;
        gap: 6px;
        padding: 6px;
        border-radius: 999px;
        background: rgba(8, 18, 32, 0.88);
        border: 1px solid rgba(143, 171, 212, 0.16);
        box-shadow: 0 16px 34px rgba(3, 10, 22, 0.24);
        backdrop-filter: blur(16px);
    }

    .home-desktop-tab {
        flex: 1 1 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        color: rgba(217, 232, 255, 0.82);
        text-decoration: none;
        background: transparent;
        border: 1px solid transparent;
        transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    }

    .home-desktop-tab:hover {
        text-decoration: none;
        color: #f5f9ff;
        background: rgba(18, 29, 46, 0.82);
        border-color: rgba(142, 171, 214, 0.2);
        transform: translateY(-1px);
    }

    .home-desktop-tab.is-active {
        color: #081220;
        background: linear-gradient(180deg, #f4f8ff 0%, #d9e7ff 100%);
        border-color: rgba(212, 228, 255, 0.88);
        box-shadow: 0 8px 18px rgba(85, 133, 210, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .home-desktop-tab strong {
        display: inline-block;
        font-size: 0.85rem;
        line-height: 1.1;
        color: currentColor;
    }

}

.home-section-stream {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-directory-section,
.home-contribute,
.footer-card {
    contain: layout paint style;
}

.home-desktop-tabs-shell {
    display: none;
}

.home-desktop-tabs {
    display: none;
}

.home-section-panel {
    display: block;
    scroll-margin-top: 132px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-section-panel.is-loading {
    min-height: 720px;
}

.home-section-panel__placeholder {
    min-height: 720px;
    border-radius: 28px;
    border: 1px solid rgba(43, 53, 74, 0.92);
    background:
        linear-gradient(145deg, rgba(13, 18, 30, 0.94) 0%, rgba(9, 13, 22, 0.96) 100%);
    box-shadow: 0 20px 40px rgba(3, 7, 18, 0.22);
    display: grid;
    place-items: center;
    padding: 24px;
}

.home-section-panel__placeholder-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 16px;
    color: #dbe8ff;
    background: rgba(19, 28, 45, 0.88);
    border: 1px solid rgba(78, 97, 136, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-section-panel__placeholder[data-state="error"] {
    color: #ffd4d4;
    border-color: rgba(142, 63, 73, 0.85);
    background: linear-gradient(145deg, rgba(27, 15, 20, 0.95) 0%, rgba(20, 10, 15, 0.96) 100%);
}

.home-directory-section {
    padding: 28px 0;
    border-bottom: 1px solid rgba(24, 30, 43, 0.9);
    background: transparent;
}

.home-directory-section__head {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.home-directory-section__headline {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    width: 100%;
}

.home-directory-section__headline > div:last-child {
    min-width: 0;
    flex: 1 1 auto;
}

.home-directory-section__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 14px;
    color: #f1f5fb;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(17, 20, 28, 0.92);
    border: 1px solid rgba(34, 41, 55, 1);
}

.home-directory-section__view-all:hover {
    text-decoration: none;
    background: rgba(21, 25, 35, 0.98);
}

.home-directory-section__icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-directory-section__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.home-directory-section--type-group .home-directory-section__icon {
    color: #9fa8ff;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.home-directory-section--type-oa .home-directory-section__icon {
    color: #7dc3ff;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.home-directory-section--type-mini-app .home-directory-section__icon {
    color: #f17ef7;
    background: rgba(217, 70, 239, 0.1);
    border-color: rgba(217, 70, 239, 0.2);
}

.home-directory-section__headline h2 {
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(1.16rem, 2vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.home-directory-section__headline h2 span {
    color: #616977;
    font-weight: 400;
}

.home-directory-section__headline p {
    margin: 4px 0 0;
    color: #8f99ab;
    font-size: 0.84rem;
}

.home-directory-section__module {
    --home-side-width: clamp(316px, 21vw, 360px);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(45, 55, 78, 0.9);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(18, 24, 41, 0.94) 0%, rgba(10, 16, 26, 0.97) 58%, rgba(10, 24, 31, 0.92) 100%);
    box-shadow: 0 22px 46px rgba(3, 7, 18, 0.24);
}

.home-directory-section--type-oa .home-directory-section__module {
    border-color: rgba(90, 76, 38, 0.72);
    background:
        linear-gradient(145deg, rgba(24, 23, 20, 0.94) 0%, rgba(12, 15, 22, 0.98) 56%, rgba(17, 21, 20, 0.94) 100%);
}

.home-directory-section--type-mini-app .home-directory-section__module {
    border-color: rgba(54, 78, 128, 0.78);
    background:
        linear-gradient(145deg, rgba(16, 23, 39, 0.94) 0%, rgba(10, 16, 27, 0.98) 58%, rgba(20, 16, 38, 0.92) 100%);
}

.home-directory-section__module .home-directory-section__head {
    margin: 0;
    display: grid;
    align-items: start;
    gap: 8px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(47, 58, 76, 0.9);
}

.home-directory-section__module .home-directory-section__layout {
    gap: 0;
}

.home-directory-section__module .home-directory-cluster {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-directory-section__module .home-directory-sidecard {
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(47, 58, 76, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-directory-section__head--with-inline-summary .home-directory-section__headline > div:last-child {
    display: grid;
    gap: 5px;
}

.home-directory-section__head--with-inline-summary .home-directory-section__headline p {
    margin-top: 0;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-primary,
.home-directory-section__head--with-inline-summary .home-directory-section__inline-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    min-width: 0;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-total,
.home-directory-section__head--with-inline-summary .home-directory-section__inline-metric,
.home-directory-section__head--with-inline-summary .home-directory-section__inline-period {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    color: #c8d3e6;
    line-height: 1.25;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-metric::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(126, 139, 161, 0.72);
    align-self: center;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-metric strong {
    color: #f6f9ff;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-metric span {
    color: #8b96ab;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-directory-section__head--with-inline-summary .home-directory-section__inline-period {
    color: #a7b4ca;
    font-size: 0.68rem;
    font-weight: 600;
}

.home-directory-section__live-summary {
    display: block;
    width: 100%;
    padding: 10px 12px 12px;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.98) 0%, rgba(9, 14, 23, 0.99) 100%);
}

.home-directory-section__live-chip {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 32%) minmax(0, 32%);
    align-items: stretch;
    gap: 0;
    border-radius: 18px;
    border: 1px solid rgba(47, 58, 76, 0.98);
    background: linear-gradient(180deg, rgba(16, 23, 35, 0.94) 0%, rgba(11, 17, 27, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
}

.home-directory-section__live-toolbar {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 14px;
    border-right: 1px solid rgba(47, 58, 76, 0.94);
}

.home-directory-section__total-pill {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px 7px;
    color: #dce7f8;
}

.home-directory-section__total-eyebrow {
    color: #7e8ba1;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-directory-section__total-count {
    color: #f7fbff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.home-directory-section__total-type {
    color: #a7b4ca;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-directory-section__view-all--inline {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.home-directory-section__live-metrics {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 2 / -1;
    align-items: stretch;
    gap: 0;
}

.home-directory-section__live-item {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    color: #c8d3e6;
    line-height: 1.32;
    padding: 0 0 0 14px;
}

.home-directory-section__live-item:not(:last-child) {
    margin-right: 0;
    padding-right: 14px;
    padding-left: 0;
    border-right: 1px solid rgba(47, 58, 76, 0.94);
}

.home-directory-section__live-item:not(:last-child)::after {
    display: none;
}

.home-directory-section__live-label {
    color: #8b96ab;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    white-space: nowrap;
}

.home-directory-section__live-value {
    color: #f6f9ff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.home-directory-section__live-value[data-period]::after {
    content: " / " attr(data-period);
    color: #76839a;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0;
}

.home-directory-section__live-note {
    color: #76839a;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-directory-section__layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 767px) {
    .home-directory-section {
        padding: 22px 0;
    }

    .home-directory-section__head {
        margin-bottom: 10px;
    }

    .home-directory-section__layout {
        gap: 10px;
    }

    .home-directory-section__headline {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }

    .home-directory-section__icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .home-directory-section__icon svg {
        width: 18px;
        height: 18px;
    }

    .home-directory-section__headline h2 {
        font-size: 1.38rem;
        line-height: 1.06;
    }

    .home-directory-section__headline p {
        font-size: 0.78rem;
    }

    .home-directory-section--type-group .home-directory-section__head {
        padding: 12px 12px 10px;
    }

    .home-directory-section--type-group .home-directory-section__icon {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 6px 9px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline > div:last-child {
        display: contents;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline h2 {
        grid-column: 2;
        align-self: center;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline p,
    .home-directory-section__head--with-inline-summary .home-directory-section__inline-summary {
        grid-column: 1 / -1;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__total-eyebrow {
        width: auto;
        letter-spacing: 0.06em;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-summary {
        gap: 5px 9px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-primary,
    .home-directory-section__head--with-inline-summary .home-directory-section__inline-metrics {
        gap: 5px 8px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-primary {
        flex: 1 1 100%;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__view-all--inline {
        margin-left: auto;
        min-height: 22px;
        padding: 0 8px;
        font-size: 0.58rem;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-metric strong {
        font-size: 0.92rem;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-metric span,
    .home-directory-section__head--with-inline-summary .home-directory-section__inline-period {
        font-size: 0.62rem;
    }

    .home-directory-section__live-summary {
        width: 100%;
        padding: 8px 10px 10px;
    }

    .home-directory-section__live-chip {
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        padding: 10px 12px;
        gap: 8px;
    }

    .home-directory-section__live-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-right: 0;
        padding-bottom: 8px;
        margin-bottom: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(47, 58, 76, 0.9);
    }

    .home-directory-section__total-pill {
        gap: 3px 6px;
    }

    .home-directory-section__total-eyebrow {
        width: 100%;
        font-size: 0.56rem;
        letter-spacing: 0.08em;
    }

    .home-directory-section__total-count {
        font-size: 0.96rem;
    }

    .home-directory-section__total-type {
        font-size: 0.7rem;
    }

    .home-directory-section__view-all--inline {
        min-height: 28px;
        padding: 0 11px;
        font-size: 0.66rem;
    }

    .home-directory-section__live-metrics {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-column: auto;
        gap: 0;
    }

    .home-directory-section__live-metrics[data-period] {
        grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 0;
        align-items: center;
    }

    .home-directory-section__live-metrics[data-period]::before {
        content: attr(data-period);
        grid-row: 1 / span 2;
        align-self: center;
        color: #f7fbff;
        font-size: 1.04rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.03em;
    }

    .home-directory-section__live-item {
        width: 100%;
        margin-right: 0;
        padding-right: 8px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
    }

    .home-directory-section__live-item:not(:last-child) {
        padding-bottom: 0;
        margin-bottom: 0;
        border-right: 1px solid rgba(47, 58, 76, 0.9);
        border-bottom: 0;
    }

    .home-directory-section__live-metrics[data-period] .home-directory-section__live-item {
        padding: 0;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 5px;
    }

    .home-directory-section__live-metrics[data-period] .home-directory-section__live-item:not(:last-child) {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(47, 58, 76, 0.9);
        padding-bottom: 7px;
        margin-bottom: 7px;
    }

    .home-directory-section__live-label {
        font-size: 0.64rem;
        line-height: 1.2;
    }

    .home-directory-section__live-value {
        font-size: 0.92rem;
    }

    .home-directory-section__live-metrics[data-period] .home-directory-section__live-value {
        order: -1;
    }

    .home-directory-section__live-value[data-period]::after {
        content: "";
    }

    .home-directory-section__live-note {
        font-size: 0.54rem;
        line-height: 1.18;
    }

    .home-directory-section__live-item:not(:last-child)::after {
        display: none;
    }

    .home-directory-sidecard {
        border-color: rgba(79, 94, 134, 0.86);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 18px 34px rgba(3, 7, 18, 0.22);
    }

    .home-directory-sidecard__header {
        padding: 13px 13px 11px;
    }

    .home-directory-sidecard__header::before {
        left: 13px;
        right: 13px;
    }

    .home-directory-sidecard__title h3 {
        font-size: 0.92rem;
    }

    .home-directory-sidecard__body {
        padding: 10px;
    }

    .home-directory-sideitem {
        --trend-avatar-size: 36px;
        --rank-badge-size: 20px;
        grid-template-columns: var(--trend-avatar-size) minmax(0, 1fr);
        min-height: 58px;
        padding: 10px 11px;
    }

    .home-directory-sideitem--rank-1 {
        min-height: 66px;
        border-width: 1px;
    }

    .home-directory-sideitem__rank.is-top {
        width: var(--rank-badge-size);
        height: var(--rank-badge-size);
        font-size: 0.7rem;
    }

    .home-directory-sideitem__copy strong {
        font-size: 0.82rem;
        line-height: 1.22;
    }

    .home-directory-sideitem--rank-1 .home-directory-sideitem__copy strong {
        font-size: 0.9rem;
    }

    .home-directory-sideitem__copy small {
        font-size: 0.66rem;
    }

    .home-directory-sideitem__score,
    .home-directory-sideitem__meta-text {
        font-size: 0.66rem;
    }
}

.home-directory-section__main {
    flex: 1 1 auto;
    min-width: 0;
}

.home-directory-cluster {
    display: grid;
    gap: 0;
    min-width: 0;
    border: 1px solid #232a35;
    border-radius: 24px;
    overflow: hidden;
    background: #0f131b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.home-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #272d39;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    min-width: 0;
}

@media (max-width: 639px) {
    .home-directory-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.home-directory-section__side {
    width: 100%;
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
}

.home-directory-sidecard {
    --home-sidecard-title-color: #fff4c6;
    --home-sidecard-title-glow: rgba(247, 201, 72, 0.18);
    --home-sidecard-header-accent: rgba(247, 201, 72, 0.86);
    --home-sidecard-header-tint: rgba(247, 201, 72, 0.16);
    background:
        radial-gradient(circle at 18px 12px, rgba(247, 201, 72, 0.11) 0, rgba(247, 201, 72, 0) 92px),
        linear-gradient(180deg, rgba(21, 29, 48, 0.96) 0%, rgba(8, 14, 24, 0.98) 100%);
    border: 1px solid rgba(77, 94, 135, 0.9);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 38px rgba(3, 7, 18, 0.24);
}

.home-directory-sidecard__header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 14px 12px;
    color: #eff4fb;
    background:
        linear-gradient(90deg, var(--home-sidecard-header-tint) 0%, rgba(99, 102, 241, 0.08) 48%, rgba(255, 255, 255, 0.02) 100%);
    border: 0;
    border-bottom: 1px solid rgba(58, 72, 103, 0.72);
    text-align: center;
}

.home-directory-sidecard__header::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, var(--home-sidecard-header-accent) 0%, rgba(129, 167, 255, 0.42) 48%, rgba(129, 167, 255, 0) 100%);
}

.home-directory-sidecard__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
    text-align: center;
}

.home-directory-sidecard__title-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    flex-wrap: wrap;
    width: 100%;
}

.home-directory-sidecard__title h3 {
    margin: 0;
    color: var(--home-sidecard-title-color);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 8px 22px var(--home-sidecard-title-glow);
}

.home-directory-sidecard__body {
    display: grid;
    gap: 10px;
    padding: 12px 10px 10px;
    flex: 1 1 auto;
}

.home-directory-sidecard__list {
    display: grid;
    gap: 8px;
    flex: 1 1 auto;
    align-content: start;
}

.home-directory-sidecard__more {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.home-directory-sidecard__more summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 14px;
    color: #eaf1ff;
    background: rgba(18, 26, 41, 0.9);
    border: 1px solid rgba(66, 83, 116, 0.78);
    cursor: pointer;
    list-style: none;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-directory-sidecard__more summary::-webkit-details-marker {
    display: none;
}

.home-directory-sidecard__more-list {
    display: grid;
    gap: 6px;
    padding-top: 8px;
}

.home-directory-sideitem {
    --rank-accent: rgba(97, 115, 161, 0.44);
    --rank-accent-strong: rgba(129, 167, 255, 0.64);
    --rank-border: rgba(61, 74, 103, 0.72);
    --rank-bg: linear-gradient(180deg, rgba(15, 22, 35, 0.76) 0%, rgba(10, 16, 27, 0.72) 100%);
    --rank-chip-bg: linear-gradient(180deg, rgba(94, 111, 154, 0.58) 0%, rgba(49, 62, 91, 0.9) 100%);
    --rank-chip-border: rgba(151, 170, 213, 0.24);
    --rank-chip-text: #edf2fb;
    --rank-glow: rgba(3, 7, 18, 0.16);
    --trend-avatar-size: 34px;
    --rank-badge-size: 20px;
    position: relative;
    display: grid;
    grid-template-columns: var(--trend-avatar-size) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--rank-border);
    border-radius: 16px;
    background: var(--rank-bg);
    text-decoration: none;
    overflow: hidden;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.home-directory-sideitem::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--rank-accent-strong) 0%, var(--rank-accent) 100%);
    opacity: 0;
}

.home-directory-sideitem--ranked::before {
    opacity: 0.95;
}

.home-directory-sideitem--ranked {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-directory-sideitem--top-rank {
    --rank-badge-size: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 26px var(--rank-glow);
}

.home-directory-sideitem--rank-1 {
    --rank-accent: #d89223;
    --rank-accent-strong: #ffd47a;
    --rank-border: rgba(244, 190, 78, 0.68);
    --rank-bg: linear-gradient(135deg, rgba(91, 58, 13, 0.5) 0%, rgba(16, 24, 39, 0.9) 52%, rgba(11, 17, 28, 0.88) 100%);
    --rank-chip-bg: linear-gradient(180deg, #9f6515 0%, #6f3f08 100%);
    --rank-chip-border: rgba(255, 216, 132, 0.72);
    --rank-chip-text: #fff7df;
    --rank-glow: rgba(189, 124, 25, 0.18);
}

.home-directory-sideitem--rank-2 {
    --rank-accent: #8fb4e8;
    --rank-accent-strong: #d9ecff;
    --rank-border: rgba(167, 196, 235, 0.56);
    --rank-bg: linear-gradient(135deg, rgba(66, 91, 128, 0.34) 0%, rgba(14, 22, 35, 0.88) 58%, rgba(10, 16, 27, 0.84) 100%);
    --rank-chip-bg: linear-gradient(180deg, #627da9 0%, #354966 100%);
    --rank-chip-border: rgba(220, 236, 255, 0.66);
    --rank-chip-text: #f8fbff;
    --rank-glow: rgba(118, 157, 210, 0.15);
}

.home-directory-sideitem--rank-3 {
    --rank-accent: #c97842;
    --rank-accent-strong: #ffc090;
    --rank-border: rgba(213, 145, 86, 0.54);
    --rank-bg: linear-gradient(135deg, rgba(112, 67, 30, 0.34) 0%, rgba(14, 22, 35, 0.88) 58%, rgba(10, 16, 27, 0.84) 100%);
    --rank-chip-bg: linear-gradient(180deg, #9d5627 0%, #693315 100%);
    --rank-chip-border: rgba(255, 190, 137, 0.62);
    --rank-chip-text: #fff1df;
    --rank-glow: rgba(201, 119, 56, 0.15);
}

.home-directory-sideitem--rank-4 {
    --rank-accent: #b18cff;
    --rank-accent-strong: #dbcaff;
    --rank-border: rgba(177, 140, 255, 0.38);
    --rank-bg: linear-gradient(135deg, rgba(76, 50, 132, 0.18) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #7b5abf 0%, #49316f 100%);
    --rank-chip-border: rgba(203, 181, 255, 0.48);
    --rank-chip-text: #f5f0ff;
}

.home-directory-sideitem--rank-5 {
    --rank-accent: #f08ac8;
    --rank-accent-strong: #ffc5e7;
    --rank-border: rgba(240, 138, 200, 0.36);
    --rank-bg: linear-gradient(135deg, rgba(126, 48, 93, 0.16) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #a64a82 0%, #632949 100%);
    --rank-chip-border: rgba(255, 190, 228, 0.44);
    --rank-chip-text: #fff0f8;
}

.home-directory-sideitem--rank-6 {
    --rank-accent: #66d5e8;
    --rank-accent-strong: #b9f4ff;
    --rank-border: rgba(102, 213, 232, 0.34);
    --rank-bg: linear-gradient(135deg, rgba(30, 100, 116, 0.14) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #2f8798 0%, #1d4f5d 100%);
    --rank-chip-border: rgba(166, 239, 255, 0.42);
    --rank-chip-text: #eefcff;
}

.home-directory-sideitem--rank-7 {
    --rank-accent: #70d394;
    --rank-accent-strong: #baf4ce;
    --rank-border: rgba(112, 211, 148, 0.34);
    --rank-bg: linear-gradient(135deg, rgba(37, 105, 65, 0.14) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #3f8c5d 0%, #24523a 100%);
    --rank-chip-border: rgba(180, 242, 204, 0.42);
    --rank-chip-text: #f0fff5;
}

.home-directory-sideitem--rank-8 {
    --rank-accent: #c5d35e;
    --rank-accent-strong: #f1f7a4;
    --rank-border: rgba(197, 211, 94, 0.34);
    --rank-bg: linear-gradient(135deg, rgba(102, 112, 34, 0.14) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #7d893c 0%, #4b5424 100%);
    --rank-chip-border: rgba(237, 246, 150, 0.42);
    --rank-chip-text: #fbffe5;
}

.home-directory-sideitem--rank-9 {
    --rank-accent: #ff9c72;
    --rank-accent-strong: #ffd0bd;
    --rank-border: rgba(255, 156, 114, 0.34);
    --rank-bg: linear-gradient(135deg, rgba(128, 67, 44, 0.14) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #a95e3f 0%, #673524 100%);
    --rank-chip-border: rgba(255, 203, 181, 0.42);
    --rank-chip-text: #fff4ee;
}

.home-directory-sideitem--rank-10 {
    --rank-accent: #87a7ff;
    --rank-accent-strong: #c6d4ff;
    --rank-border: rgba(135, 167, 255, 0.36);
    --rank-bg: linear-gradient(135deg, rgba(52, 74, 139, 0.16) 0%, rgba(11, 18, 31, 0.82) 62%, rgba(9, 15, 25, 0.82) 100%);
    --rank-chip-bg: linear-gradient(180deg, #526cb6 0%, #303d75 100%);
    --rank-chip-border: rgba(193, 209, 255, 0.44);
    --rank-chip-text: #f0f4ff;
}

.home-directory-sideitem:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.home-directory-sideitem:last-child {
    border-bottom-width: 1px;
}

.home-directory-sideitem__rank {
    position: absolute;
    left: -5px;
    bottom: -5px;
    z-index: 2;
    width: var(--rank-badge-size);
    height: var(--rank-badge-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rank-chip-text);
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    background: var(--rank-chip-bg);
    border: 1px solid var(--rank-chip-border);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 7px 14px rgba(0, 0, 0, 0.18);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.36);
}

.home-directory-sideitem__rank.is-top {
    width: var(--rank-badge-size);
    height: var(--rank-badge-size);
    font-size: 0.64rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 18px var(--rank-glow);
}

.home-directory-sideitem__rank.is-rank-10 {
    width: 24px;
    border-radius: 999px;
}

.home-directory-sideitem__avatar-rank {
    position: relative;
    width: var(--trend-avatar-size);
    height: var(--trend-avatar-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    overflow: visible;
    border-radius: 999px;
    background: rgba(16, 25, 40, 0.9);
    border: 1px solid var(--rank-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 7px 16px rgba(0, 0, 0, 0.18);
}

.home-directory-sideitem__avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.home-directory-sideitem__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.home-directory-sideitem__copy strong {
    color: #dfe7f5;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
}

.home-directory-sideitem--top-rank .home-directory-sideitem__copy strong {
    color: #f7fbff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.home-directory-sideitem--rank-1 .home-directory-sideitem__copy strong {
    color: #fff3bf;
    font-size: 0.82rem;
    font-weight: 800;
    text-shadow: 0 8px 20px rgba(247, 201, 72, 0.2);
}

.home-directory-sideitem--rank-2 .home-directory-sideitem__copy strong {
    color: #eef5ff;
    font-weight: 800;
    text-shadow: 0 8px 18px rgba(188, 202, 222, 0.12);
}

.home-directory-sideitem--rank-3 .home-directory-sideitem__copy strong {
    color: #ffe0c2;
    font-weight: 800;
    text-shadow: 0 8px 18px rgba(213, 145, 86, 0.14);
}

.home-directory-sideitem__meta {
    display: block;
    min-width: 0;
}

.home-directory-sideitem__copy small {
    color: #97a7c0;
    font-size: 0.62rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-directory-sideitem__copy strong span {
    display: inline;
}

.home-directory-sideitem__verified {
    width: 13px;
    height: 13px;
    margin-left: 5px;
    vertical-align: -1px;
    flex: 0 0 auto;
}

.home-directory-sideitem__score {
    flex: 0 0 auto;
    color: rgba(194, 211, 239, 0.84);
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
}

.home-directory-sideitem__meta-separator {
    flex: 0 0 auto;
    color: rgba(127, 145, 178, 0.72);
}

.home-directory-sideitem__meta-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-directory-section--type-group .home-directory-sidecard {
    --home-sidecard-title-color: #c9d0ff;
    --home-sidecard-title-glow: rgba(159, 168, 255, 0.22);
    --home-sidecard-header-accent: rgba(159, 168, 255, 0.78);
    --home-sidecard-header-tint: rgba(99, 102, 241, 0.16);
    background:
        radial-gradient(circle at 18px 12px, rgba(159, 168, 255, 0.1) 0, rgba(159, 168, 255, 0) 92px),
        linear-gradient(180deg, rgba(21, 28, 52, 0.8) 0%, rgba(9, 14, 24, 0.92) 100%);
}

.home-directory-section--type-oa .home-directory-sidecard {
    --home-sidecard-title-color: #bde3ff;
    --home-sidecard-title-glow: rgba(125, 195, 255, 0.2);
    --home-sidecard-header-accent: rgba(125, 195, 255, 0.78);
    --home-sidecard-header-tint: rgba(59, 130, 246, 0.14);
    background:
        radial-gradient(circle at 18px 12px, rgba(125, 195, 255, 0.12) 0, rgba(125, 195, 255, 0) 92px),
        linear-gradient(180deg, rgba(37, 31, 18, 0.82) 0%, rgba(11, 15, 22, 0.92) 100%);
}

.home-directory-section--type-mini-app .home-directory-sidecard {
    --home-sidecard-title-color: #ffc2ff;
    --home-sidecard-title-glow: rgba(241, 126, 247, 0.22);
    --home-sidecard-header-accent: rgba(241, 126, 247, 0.74);
    --home-sidecard-header-tint: rgba(217, 70, 239, 0.14);
    background:
        radial-gradient(circle at 18px 12px, rgba(241, 126, 247, 0.1) 0, rgba(241, 126, 247, 0) 92px),
        linear-gradient(180deg, rgba(18, 30, 54, 0.82) 0%, rgba(10, 15, 26, 0.92) 100%);
}

.home-directory-section--type-group .home-directory-sideitem:not(.home-directory-sideitem--ranked) {
    border-color: rgba(104, 118, 217, 0.34);
}

.home-directory-section--type-group .home-directory-sideitem:not(.home-directory-sideitem--ranked):hover {
    background: rgba(89, 102, 196, 0.08);
}

.home-directory-section--type-oa .home-directory-sideitem:not(.home-directory-sideitem--ranked) {
    border-color: rgba(159, 128, 55, 0.34);
}

.home-directory-section--type-oa .home-directory-sideitem:not(.home-directory-sideitem--ranked):hover {
    background: rgba(150, 120, 52, 0.08);
}

.home-directory-section--type-mini-app .home-directory-sideitem:not(.home-directory-sideitem--ranked) {
    border-color: rgba(82, 112, 178, 0.34);
}

.home-directory-section--type-mini-app .home-directory-sideitem:not(.home-directory-sideitem--ranked):hover {
    background: rgba(74, 143, 255, 0.08);
}

.home-directory-sidecard__empty {
    color: #7b8698;
    font-size: 0.8rem;
}

.home-directory-sidecard__spotlight {
    margin-top: 10px;
    display: grid;
    gap: 8px;
    padding: 12px 13px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(23, 31, 46, 0.9) 0%, rgba(14, 20, 31, 0.96) 100%);
    border: 1px solid rgba(87, 102, 129, 0.48);
    position: relative;
    overflow: hidden;
}

.home-directory-sidecard__spotlight-tag {
    width: fit-content;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c8d6f2;
    background: rgba(88, 103, 139, 0.16);
    border: 1px solid rgba(88, 103, 139, 0.26);
}

.home-directory-sidecard__spotlight strong {
    color: #eef4ff;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-directory-sidecard__spotlight small {
    color: #93a1ba;
    font-size: 0.7rem;
    line-height: 1.45;
}

.home-directory-sidecard__spotlight-cta {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(145, 163, 198, 0.26);
    background: rgba(243, 247, 255, 0.08);
    color: #f4f7ff;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-directory-sidecard__spotlight-cta svg {
    width: 14px;
    height: 14px;
}

.home-directory-sidecard__spotlight-cta:hover {
    transform: translateX(1px);
    border-color: rgba(186, 199, 230, 0.42);
    background: rgba(243, 247, 255, 0.12);
}

.home-directory-sidecard__spotlight--group {
    background:
        radial-gradient(circle at top right, rgba(111, 132, 255, 0.22), transparent 54%),
        linear-gradient(180deg, rgba(24, 31, 50, 0.96) 0%, rgba(15, 21, 34, 0.98) 100%);
    border-color: rgba(111, 132, 255, 0.42);
    box-shadow: inset 0 0 0 1px rgba(89, 112, 210, 0.12);
}

.home-directory-sidecard__spotlight--group .home-directory-sidecard__spotlight-tag {
    color: #dfe4ff;
    background: rgba(103, 119, 211, 0.18);
    border-color: rgba(111, 132, 255, 0.32);
}

.home-directory-sidecard__spotlight--group .home-directory-sidecard__spotlight-cta {
    border-color: rgba(111, 132, 255, 0.3);
    background: rgba(111, 132, 255, 0.12);
}

.home-directory-sidecard__spotlight--oa {
    background:
        radial-gradient(circle at top right, rgba(201, 157, 72, 0.22), transparent 56%),
        linear-gradient(180deg, rgba(42, 33, 16, 0.96) 0%, rgba(25, 20, 10, 0.98) 100%);
    border-color: rgba(201, 157, 72, 0.36);
    box-shadow: inset 0 0 0 1px rgba(178, 129, 42, 0.12);
}

.home-directory-sidecard__spotlight--oa .home-directory-sidecard__spotlight-tag {
    color: #ffebb6;
    background: rgba(178, 129, 42, 0.18);
    border-color: rgba(201, 157, 72, 0.3);
}

.home-directory-sidecard__spotlight--oa .home-directory-sidecard__spotlight-cta {
    border-color: rgba(201, 157, 72, 0.28);
    background: rgba(201, 157, 72, 0.1);
}

.home-directory-sidecard__spotlight--mini-app {
    background:
        radial-gradient(circle at top right, rgba(74, 143, 255, 0.18), transparent 56%),
        linear-gradient(180deg, rgba(16, 28, 48, 0.96) 0%, rgba(10, 19, 34, 0.98) 100%);
    border-color: rgba(74, 143, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(58, 110, 201, 0.12);
}

.home-directory-sidecard__spotlight--mini-app .home-directory-sidecard__spotlight-tag {
    color: #d9ecff;
    background: rgba(66, 131, 221, 0.16);
    border-color: rgba(74, 143, 255, 0.28);
}

.home-directory-sidecard__spotlight--mini-app .home-directory-sidecard__spotlight-cta {
    border-color: rgba(74, 143, 255, 0.26);
    background: rgba(74, 143, 255, 0.1);
}

.home-directory-empty {
    display: grid;
    gap: 12px;
    border-radius: 24px;
    padding: 20px;
    background: rgba(16, 19, 27, 0.88);
    border: 1px solid #232a35;
}

.home-directory-empty h3 {
    margin: 0;
    color: #eef3fb;
    font-size: 1rem;
}

.home-directory-empty p {
    margin: 0;
    color: #8793a8;
    line-height: 1.65;
}

.home-directory-empty a {
    color: #f4f7fb;
    font-weight: 700;
}

.home-shell--reference .home-contribute {
    padding: 28px 0 68px;
}

.home-contribute__shell {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(45, 57, 82, 0.9);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(73, 90, 224, 0.12) 0%, rgba(73, 90, 224, 0) 30%),
        radial-gradient(circle at bottom right, rgba(28, 179, 137, 0.08) 0%, rgba(28, 179, 137, 0) 26%),
        linear-gradient(180deg, rgba(8, 14, 24, 0.98) 0%, rgba(7, 12, 20, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(2, 6, 14, 0.28);
}

.home-contribute__layout {
    display: block;
}

.home-contribute__panel {
    min-width: 0;
    display: grid;
}

.home-shell--reference .home-contribute__panel .home-contribute__card {
    max-width: none;
    margin: 0;
    padding: 26px 28px;
    gap: 22px;
    grid-template-columns: minmax(232px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
}

.home-shell--reference .home-contribute__card {
    max-width: 1060px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 22px;
    display: grid;
    gap: 18px;
    align-items: center;
    background:
        radial-gradient(circle at 16% 30%, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 42%),
        radial-gradient(circle at 84% 72%, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0) 30%),
        #0f131b;
    border: 1px solid #232a35;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
}

.home-contribute__visual {
    position: relative;
    min-height: 226px;
    display: grid;
    place-items: center;
}

.home-contribute__orbit {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.home-contribute__orbit--outer {
    width: 248px;
    height: 176px;
    border: 1px dashed rgba(105, 126, 255, 0.38);
    animation: homeContributePulseOuter 2.8s ease-in-out infinite;
}

.home-contribute__orbit--middle {
    width: 214px;
    height: 148px;
    border: 1px solid rgba(83, 104, 215, 0.18);
    box-shadow: 0 0 28px rgba(83, 104, 215, 0.08);
    animation: homeContributePulseMiddle 2.2s ease-in-out infinite;
}

.home-contribute__orbit--inner {
    width: 174px;
    height: 122px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: homeContributePulseInner 1.8s ease-in-out infinite;
}

.home-contribute__core {
    position: relative;
    z-index: 3;
    width: 112px;
    height: 112px;
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #eff3ff;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(31, 40, 58, 0.98) 0%, rgba(14, 20, 31, 0.98) 100%);
    border: 1px solid rgba(83, 96, 126, 0.86);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-decoration: none;
    cursor: pointer;
}

.home-contribute__core::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 42px;
    border: 1px solid rgba(106, 125, 255, 0.14);
}

.home-contribute__core:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(112, 133, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-contribute__core:focus-visible {
    outline: 2px solid rgba(201, 217, 255, 0.95);
    outline-offset: 3px;
}

.home-contribute__core-plus {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: #d6dcff;
}

.home-contribute__core-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a7c7;
    line-height: 1;
    white-space: nowrap;
}

.home-contribute__node {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 136px;
    padding: 9px 12px;
    border-radius: 18px;
    color: #eff5ff;
    background: rgba(18, 24, 35, 0.96);
    border: 1px solid rgba(52, 62, 83, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.home-contribute__node::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(103, 120, 255, 0.45), rgba(103, 120, 255, 0));
}

.home-contribute__node--group {
    left: 0;
    top: 22px;
    animation: homeContributeFloat 6s ease-in-out infinite;
}

.home-contribute__node--group::after {
    right: -26px;
    top: 50%;
}

.home-contribute__node--oa {
    right: -2px;
    top: 26px;
    animation: homeContributeFloat 7s ease-in-out infinite 0.8s;
}

.home-contribute__node--oa::after {
    left: -26px;
    top: 50%;
    transform: rotate(180deg);
}

.home-contribute__node--mini {
    left: 22px;
    bottom: 14px;
    animation: homeContributeFloat 6.6s ease-in-out infinite 1.2s;
}

.home-contribute__node--mini::after {
    right: -26px;
    top: 50%;
}

.home-contribute__node-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #edf3ff;
    background: rgba(29, 36, 50, 0.96);
    border: 1px solid rgba(67, 79, 103, 0.92);
}

.home-contribute__node-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
}

.home-contribute__node-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.home-contribute__node-text strong {
    font-size: 0.86rem;
    line-height: 1.1;
}

.home-contribute__node-text small {
    color: #8fa0bb;
    font-size: 0.72rem;
    line-height: 1.25;
}

.home-contribute__copy {
    min-width: 0;
    display: grid;
    align-content: center;
}

.home-shell--reference .home-contribute__card h2 {
    margin: 0 0 10px;
    max-width: none;
    color: #f7f9fc;
    font-size: clamp(1.35rem, 2vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: wrap;
}

.home-shell--reference .home-contribute__copy > p {
    margin: 0;
    max-width: none;
    color: #9ca6b7;
    font-size: 0.92rem;
    line-height: 1.62;
}

.home-contribute__guide-link {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(72, 88, 121, 0.9);
    background:
        radial-gradient(circle at top left, rgba(84, 100, 240, 0.1) 0%, rgba(84, 100, 240, 0) 32%),
        linear-gradient(160deg, rgba(14, 20, 33, 0.98) 0%, rgba(10, 15, 24, 0.98) 100%);
    box-shadow: 0 18px 36px rgba(3, 7, 18, 0.2);
    text-decoration: none;
}

.home-contribute__guide-link:hover,
.home-contribute__guide-link:focus-visible {
    text-decoration: none;
    border-color: rgba(111, 132, 186, 0.96);
    transform: translateY(-1px);
}

.home-contribute__guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-contribute__guide-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    width: fit-content;
    border-radius: 999px;
    padding: 0 12px;
    color: #dce8ff;
    background: rgba(18, 26, 40, 0.9);
    border: 1px solid rgba(71, 86, 119, 0.92);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-contribute__guide-arrow {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #edf4ff;
    background: rgba(18, 26, 40, 0.9);
    border: 1px solid rgba(71, 86, 119, 0.92);
    flex: 0 0 auto;
}

.home-contribute__guide-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
}

.home-contribute__guide-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
}

.home-contribute__guide-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e6efff;
    background: rgba(23, 32, 48, 0.98);
    border: 1px solid rgba(69, 84, 113, 0.92);
    flex: 0 0 auto;
}

.home-contribute__guide-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
}

.home-contribute__guide-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.home-contribute__guide-copy strong {
    color: #f6f9ff;
    font-size: 0.95rem;
    line-height: 1.24;
}

.home-contribute__guide-copy p {
    margin: 0;
    max-width: none;
    color: rgba(197, 212, 237, 0.8);
    font-size: 0.83rem;
    line-height: 1.55;
}

.home-contribute__guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.home-contribute__guide-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
    padding: 9px 10px;
    border-radius: 14px;
    border: 1px solid rgba(63, 78, 107, 0.88);
    background: rgba(12, 18, 29, 0.94);
}

.home-contribute__guide-step-number {
    display: inline-grid;
    place-items: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(129, 167, 255, 0.16);
    border: 1px solid rgba(129, 167, 255, 0.3);
    color: #dce8ff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.home-contribute__guide-step-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.home-contribute__guide-step-copy strong {
    color: #f6f9ff;
    font-size: 0.75rem;
    line-height: 1.3;
}

.home-contribute__guide-step-copy small {
    color: rgba(187, 201, 224, 0.76);
    font-size: 0.7rem;
    line-height: 1.4;
}

@keyframes homeContributeFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes homeContributePulseOuter {
    0%, 100% {
        opacity: 0.28;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.72;
        transform: scale(1.04);
    }
}

@keyframes homeContributePulseMiddle {
    0%, 100% {
        opacity: 0.34;
        transform: scale(0.99);
    }

    50% {
        opacity: 0.66;
        transform: scale(1.03);
    }
}

@keyframes homeContributePulseInner {
    0%, 100% {
        opacity: 0.22;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

@media (max-width: 979px) {
    .home-shell--reference .home-hero {
        padding: 52px 0 20px;
    }

    .home-section-stream {
        gap: 6px;
        padding-top: 8px;
    }

    .home-directory-section {
        padding: 24px 0;
    }

    .home-directory-sidecard {
        margin-top: 10px;
    }

    .home-shell--reference .home-contribute__card {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 18px;
    }

    .home-contribute__shell {
        padding: 16px;
        border-radius: 28px;
    }

    .home-shell--reference .home-contribute__panel .home-contribute__card {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
        gap: 18px;
    }

    .home-contribute__guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .home-directory-section {
        padding: 20px 0;
    }

    .route-home .container,
    .home-shell--reference .container {
        width: calc(100% - 20px);
    }

    .header-inner {
        gap: 8px;
        padding: 8px 0;
    }

    .header-brand {
        max-width: 48px;
    }

    .logo {
        gap: 0;
    }

    .logo__mark {
        width: 34px;
        height: 34px;
    }

    .header-mobile-shell {
        gap: 6px;
        width: auto;
    }

    .header-mobile-utility {
        gap: 6px;
    }

    .header-action--mobile {
        padding: 0 10px;
    }

    .home-shell--reference .home-hero__shortener {
        max-width: 100%;
    }

    .home-hero__status-strip {
        margin-top: 12px;
    }

    .home-hero__system-line {
        font-size: 0.73rem;
        line-height: 1.75;
    }

    .home-directory-section__layout,
    .home-directory-section__main,
    .home-directory-cluster,
    .home-directory-section__side,
    .home-directory-sidecard,
    .home-directory-grid,
    .home-directory-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-directory-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-shell--reference .home-contribute {
        padding: 26px 0 56px;
    }

    .home-shell--reference .home-contribute__card {
        gap: 14px;
    }

    .home-contribute__visual {
        min-height: 246px;
    }

    .home-contribute__core {
        width: 96px;
        height: 96px;
        border-radius: 28px;
    }

    .home-contribute__core::before {
        inset: -12px;
    }

    .home-contribute__orbit--outer {
        width: 216px;
        height: 160px;
    }

    .home-contribute__orbit--middle {
        width: 186px;
        height: 136px;
    }

    .home-contribute__orbit--inner {
        width: 154px;
        height: 114px;
    }

    .home-contribute__node {
        min-width: 124px;
        padding: 8px 10px;
    }

    .home-contribute__node--group {
        left: -2px;
        top: 16px;
    }

    .home-contribute__node--oa {
        right: -2px;
        top: 28px;
    }

    .home-contribute__node--mini {
        left: 10px;
        bottom: 10px;
    }

    .home-contribute__node::after {
        width: 20px;
    }

    .home-contribute__node--group::after,
    .home-contribute__node--mini::after {
        right: -14px;
    }

    .home-contribute__node--oa::after {
        left: -14px;
    }

    .home-shell--reference .home-contribute__card h2 {
        max-width: none;
        font-size: 1.32rem;
    }

    .home-shell--reference .home-contribute__copy > p {
        max-width: none;
        font-size: 0.86rem;
    }

    .home-contribute__shell {
        gap: 14px;
        padding: 14px;
        border-radius: 24px;
    }

    .home-contribute__guide-link {
        gap: 12px;
        padding: 14px;
        border-radius: 20px;
    }

    .home-contribute__guide-body {
        grid-template-columns: 1fr;
    }

    .home-contribute__guide-icon {
        width: 40px;
        height: 40px;
    }

    .home-contribute__guide-copy p {
        font-size: 0.8rem;
    }

    .home-contribute__guide-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-contribute__guide-step {
        padding: 9px 10px;
        border-radius: 14px;
        gap: 7px;
    }

}

@media (min-width: 980px) {
    .home-shell--reference .home-contribute__card {
        grid-template-columns: minmax(248px, 0.82fr) minmax(0, 1.18fr);
        min-height: 234px;
        gap: 28px;
        padding: 22px 30px;
    }

    .home-contribute__visual {
        width: min(332px, 100%);
        min-height: 232px;
        margin-inline: auto;
    }

    .home-contribute__orbit--outer {
        width: 268px;
        height: 188px;
    }

    .home-contribute__orbit--middle {
        width: 232px;
        height: 160px;
    }

    .home-contribute__orbit--inner {
        width: 188px;
        height: 132px;
    }

    .home-contribute__node {
        min-width: 152px;
    }

    .home-contribute__node--group {
        left: 18px;
        top: 20px;
    }

    .home-contribute__node--oa {
        right: 18px;
        top: 20px;
    }

    .home-contribute__node--mini {
        left: 58px;
        bottom: 12px;
    }

    .home-shell--reference .home-contribute__card h2 {
        max-width: none;
        font-size: clamp(1.55rem, 2.2vw, 2.35rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
        text-wrap: wrap;
    }

    .home-shell--reference .home-contribute__copy > p {
        max-width: none;
        font-size: 0.92rem;
    }

    .home-directory-section__layout {
        flex-direction: row;
        gap: 16px;
        align-items: stretch;
    }

    .home-directory-section__module .home-directory-section__layout {
        align-items: flex-start;
        gap: 0;
    }

    .home-directory-section__live-summary {
        max-width: none;
    }

    .home-directory-section__main {
        flex: 1 1 auto;
        width: auto;
    }

    .home-directory-section__side {
        --home-side-width: clamp(316px, 21vw, 360px);
        flex: 0 0 var(--home-side-width);
        width: var(--home-side-width);
        min-width: var(--home-side-width);
        max-width: var(--home-side-width);
        display: flex;
    }

    .home-directory-section__module .home-directory-section__side {
        border-left: 1px solid rgba(47, 58, 76, 0.9);
    }

    .home-directory-section__module .home-directory-sidecard {
        border-top: 0;
    }

    .home-directory-section__module .home-directory-section__head {
        min-height: 98px;
        padding: 14px 16px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline {
        align-items: center;
        gap: 10px 12px;
    }

    .home-directory-section--type-group .home-directory-section__icon {
        width: 36px;
        height: 36px;
        border-radius: 14px;
    }

    .home-directory-section--type-group .home-directory-section__icon svg {
        width: 19px;
        height: 19px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline > div:last-child {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
        grid-template-areas:
            "title summary"
            "subtitle summary";
        align-items: center;
        column-gap: 18px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline h2 {
        grid-area: title;
        font-size: clamp(1.42rem, 1.65vw, 1.86rem);
        line-height: 1.06;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__headline p {
        grid-area: subtitle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-summary {
        grid-area: summary;
        justify-self: end;
        justify-content: flex-end;
        justify-items: end;
        margin-left: auto;
        width: 100%;
        text-align: right;
        max-width: 520px;
    }

    .home-directory-section__head--with-inline-summary .home-directory-section__inline-primary,
    .home-directory-section__head--with-inline-summary .home-directory-section__inline-metrics {
        justify-content: flex-end;
    }

    .home-directory-section__module .home-directory-sidecard__header {
        min-height: 98px;
        padding: 14px 14px;
        border-bottom: 1px solid rgba(47, 58, 76, 0.9);
    }

    .home-directory-section__module .home-directory-sidecard {
        box-shadow:
            inset 1px 0 0 rgba(255, 255, 255, 0.03),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .home-directory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    @media (min-width: 1280px) {
        .home-directory-grid {
            grid-template-columns: repeat(5, minmax(0, 1fr));
        }
    }

    .home-directory-sidecard__body {
        padding: 0 12px 12px;
    }

    .home-directory-section__module .home-directory-sidecard__body {
        padding: 12px;
    }

    .home-directory-sidecard__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .home-directory-sideitem {
        padding: 8px 9px;
    }

    .home-directory-sideitem--rank-1 {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .home-directory-sideitem__copy strong {
        -webkit-line-clamp: 1;
    }
}
