.home-page [hidden] { display: none !important; }
    .home-lead {
        position: relative;
        overflow: hidden;
        margin: 20px 5px 0;
        padding: 24px 22px;
        border-radius: 5px;
        background: linear-gradient(135deg, rgb(250, 250, 250), rgb(238, 238, 238));
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
        border-top: 3px solid rgb(215, 105, 105);
    }
    .home-lead::after {
        content: "";
        position: absolute;
        top: -90px;
        right: -70px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(215, 105, 105, .13);
        pointer-events: none;
    }
    .home-lead h1 {
        position: relative;
        z-index: 1;
        margin: 0;
        max-width: 900px;
        font-size: 30px;
        line-height: 36px;
        color: rgb(30, 30, 30);
    }
    .home-lead p {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin-top: 10px;
        color: rgb(75, 75, 75);
        font-size: 16px;
        line-height: 23px;
    }
    .home-lead-links {
        position: relative;
        z-index: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
    }
    .home-lead-links a,
    .home-lead-links button,
    .home-tab,
    .home-period {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid rgb(225, 225, 225);
        border-radius: 5px;
        background: rgb(250, 250, 250);
        color: rgb(35, 35, 35);
        cursor: pointer;
        font-family: inherit;
        font-size: inherit;
        font-weight: bold;
        transition: .2s ease;
    }
    .home-lead-links a:first-child,
    .home-lead-links button:first-child,
    .home-tab.active,
    .home-period.active,
    .home-lead-links a:hover,
    .home-lead-links button:hover,
    .home-tab:hover,
    .home-period:hover {
        background: rgb(215, 105, 105);
        border-color: rgb(215, 105, 105);
        color: rgb(255, 255, 255);
    }
    .home-lead-links i { margin-right: 6px; }
    .home-search-ticker {
        position: relative;
        overflow: hidden;
        margin: 10px 5px 0;
        border-radius: 5px;
        border: 1px solid rgb(228, 228, 228);
        background: rgb(247, 247, 247);
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    }
    .home-search-track {
        display: flex;
        width: max-content;
        animation: homeTicker 40s linear infinite;
    }
    .home-search-track:hover { animation-play-state: paused; }
    .home-search-group { display: flex; flex-shrink: 0; }
    .home-search-group a {
        display: block;
        padding: 13px 16px;
        color: rgb(70, 70, 70);
        white-space: nowrap;
        border-right: 1px solid rgb(225, 225, 225);
    }
    .home-search-group a:hover { color: rgb(205, 80, 80); background: rgb(255, 255, 255); }
    .home-search-group i { margin-right: 5px; color: rgb(235, 125, 125); }
    .home-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 20px 5px 0;
    }
    .home-section-head h1,
    .home-section-head h2 { margin: 0; }
    .home-section-head > a { color: rgb(185, 185, 185); font-weight: bold; }
    .home-section-head > a:hover { color: rgb(235, 125, 125); }
    .home-section-head > .home-all-link {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 36px;
        padding: 0 13px;
        border-radius: 5px;
        border: 1px solid rgb(220, 220, 220);
        background: rgb(250, 250, 250);
        color: rgb(35, 35, 35);
        box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
        transition: background .2s ease, transform .2s ease;
    }
    .home-section-head > .home-all-link:hover {
        background: rgb(215, 105, 105);
        border-color: rgb(215, 105, 105);
        color: rgb(255, 255, 255);
        transform: translateY(-1px);
    }
    .home-all-link .home-link-arrow { font-size: 20px; line-height: 1; }
    .home-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px 5px 0;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid rgb(225, 225, 225);
        background: rgb(247, 247, 247);
    }
    .home-control-group { display: flex; flex-wrap: wrap; gap: 5px; }
    .home-tab, .home-period { min-height: 34px; padding: 0 12px; font-size: 14px; }
    .home-rail { position: relative; }
    .home-track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0 44px;
        cursor: grab;
    }
    .home-track::-webkit-scrollbar { display: none; }
    .home-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
    .home-track .thumb {
        float: none !important;
        flex: 0 0 25%;
        width: auto !important;
        scroll-snap-align: start;
    }
    .home-rail-more {
        display: flex;
        flex: 0 0 25%;
        box-sizing: border-box;
        padding: 10px 5px 0;
        scroll-snap-align: start;
    }
    .home-rail-more a {
        display: flex;
        flex: 1;
        min-height: 220px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 22px;
        border: 2px dashed rgb(215, 105, 105);
        border-radius: 5px;
        background: linear-gradient(135deg, rgb(252, 252, 252), rgb(240, 240, 240));
        color: rgb(35, 35, 35);
        text-align: center;
        transition: .2s ease;
    }
    .home-rail-more a:hover { background: rgb(215, 105, 105); color: #fff; }
    .home-rail-more strong { margin-top: 12px; font-size: 18px; line-height: 23px; }
    .home-rail-more small { margin-top: 7px; color: rgb(105, 105, 105); line-height: 17px; }
    .home-rail-more a:hover small { color: #fff; }
    .home-rail-more-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgb(215, 105, 105);
        color: #fff;
        font-size: 30px;
        line-height: 1;
    }
    .home-arrow {
        position: absolute;
        z-index: 8;
        top: 50%;
        width: 38px;
        height: 38px;
        margin-top: -19px;
        border: 0;
        border-radius: 50%;
        background: rgba(215, 105, 105, .92);
        color: #fff;
        cursor: pointer;
        font-size: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
        transition: opacity .2s ease, background .2s ease;
    }
    .home-arrow:hover { background: rgb(235, 125, 125); }
    .home-arrow.is-disabled { opacity: 0; pointer-events: none; }
    .home-arrow.prev { left: 7px; }
    .home-arrow.next { right: 7px; }
    .home-arrow i { display: none !important; }
    .home-arrow::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 9px;
        height: 9px;
        border-top: 3px solid #fff;
        border-right: 3px solid #fff;
    }
    .home-arrow.prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
    .home-arrow.next::before { transform: translate(-65%, -50%) rotate(45deg); }
    .home-thematic-section[data-vui-rail-section] .home-section-head {
        justify-content: flex-start;
    }
    .home-thematic-section[data-vui-rail-section] .home-section-head h2 {
        margin-right: auto;
    }
    .home-thematic-section[data-vui-rail-section] .home-track {
        padding-right: 0;
        padding-left: 0;
    }
    #home-rating .home-section-head {
        justify-content: flex-start;
    }
    #home-rating .home-section-head h2 {
        margin-right: auto;
    }
    #home-rating .home-track {
        padding-right: 0;
        padding-left: 0;
    }
    .home-video-preview {
        position: absolute !important;
        z-index: 1;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .home-directory-tabs {
        display: flex;
        gap: 5px;
        margin: 10px 5px 0;
    }
    .home-directory-tabs button { flex: 1; }
    .home-community {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(290px, .7fr);
        gap: 10px;
        margin: 0 5px;
    }
    .home-community > * { min-width: 0; align-self: start; }
    .home-community .comments-block {
        max-height: 320px;
        margin-left: 0;
        margin-right: 0;
        border: 1px solid rgb(225, 225, 225);
        background: rgb(247, 247, 247);
        overflow: hidden;
    }
    .home-community .comments-block .sub-title { color: rgb(35, 35, 35); cursor: default; }
    .home-comments-list {
        max-height: 260px;
        padding: 1px 4px 4px 0;
        overflow-y: auto;
        scrollbar-color: rgb(215, 105, 105) rgb(235, 235, 235);
        scrollbar-width: thin;
    }
    .home-comments-list::-webkit-scrollbar { width: 5px; }
    .home-comments-list::-webkit-scrollbar-track { background: rgb(235, 235, 235); }
    .home-comments-list::-webkit-scrollbar-thumb { background: rgb(215, 105, 105); border-radius: 5px; }
    .home-comment {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
        margin-top: 10px;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid rgb(228, 228, 228);
        background: rgb(255, 255, 255);
        box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
        overflow: hidden;
    }
    .home-comment:hover { border-color: rgb(215, 105, 105); background: rgb(252, 247, 247); }
    .home-comment img {
        display: block;
        width: 82px;
        height: 58px;
        object-fit: cover;
        border-radius: 4px;
    }
    .home-comment-body { min-width: 0; }
    .home-comment-info {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        color: rgb(115, 115, 115);
        font-size: 12px;
    }
    .home-comment-info strong { color: rgb(35, 35, 35); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .home-comment-message {
        margin-top: 5px;
        color: rgb(80, 80, 80);
        line-height: 17px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-comment-title {
        margin-top: 4px;
        color: rgb(235, 125, 125);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
    }
    .home-comment-title i { margin-right: 4px; }
    .home-tag-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 5px 0;
        padding: 16px;
        border: 1px solid var(--vui-border);
        border-radius: var(--vui-radius);
        background: var(--vui-surface);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    }
    body .home-tag-chip {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        gap: 7px;
        padding: 0 14px;
        border: 1px solid var(--vui-border);
        border-radius: 12px;
        background: var(--vui-surface-raised);
        color: var(--vui-text-soft);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
    }
    body .home-tag-chip i { color: var(--vui-accent-strong); }
    body .home-tag-chip:hover,
    body .home-tag-chip:focus-visible {
        border-color: var(--vui-accent);
        background: var(--vui-accent-soft);
        color: var(--vui-text);
        transform: translateY(-1px);
    }
    .home-text { margin-bottom: 20px; }
    @keyframes homeTicker { to { transform: translateX(-50%); } }
    @media all and (max-width: 1139px) {
        .home-track .thumb, .home-rail-more { flex-basis: 33.3333%; }
    }
    @media all and (max-width: 739px) {
        .home-lead { padding: 18px 15px; }
        .home-lead h1 { font-size: 24px; line-height: 29px; }
        .home-controls { align-items: stretch; }
        .home-control-group { flex: 1 1 100%; }
        .home-control-group button { flex: 1; padding-left: 7px; padding-right: 7px; }
        .home-page .home-track,
        .home-page .home-thematic-section[data-vui-rail-section] .home-track,
        .home-page #home-rating .home-track {
            gap: 6px;
            margin-right: 5px;
            margin-left: 5px;
            padding-right: 0;
            padding-left: 0;
        }
        .home-page .home-community .home-directory-tabs {
            margin-right: 0;
            margin-left: 0;
        }
        .home-page .home-community .home-track {
            margin-right: 0;
            margin-left: 0;
        }
        .home-track .thumb, .home-rail-more { flex-basis: calc(50% - 3px); }
        .home-arrow { display: none; }
        .home-track .thumb .item { margin: 6px 0 0; padding-bottom: 7px; }
        .home-track .thumb .meta { margin: 7px 6px 0; font-size: 12px; }
        .home-track .thumb .meta span { margin-right: 7px; }
        .home-track .thumb p {
            height: 38px;
            margin: 6px 7px 0;
            font-size: 14px;
            line-height: 19px;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .home-track .thumb .links { height: 25px; margin: 6px 5px 0; overflow: hidden; white-space: nowrap; }
        .home-track .thumb .links a { height: 25px; padding: 0 6px; font-size: 11px; line-height: 25px; }
        .home-tags-section { margin-right: 0; margin-left: 0; }
        .home-tag-cloud {
            flex-wrap: nowrap;
            margin-right: 5px;
            margin-left: 5px;
            padding: 14px;
            gap: 10px;
            overflow-x: auto;
            scroll-snap-type: x proximity;
            scroll-padding-inline: 14px;
            scrollbar-width: none;
        }
        .home-tag-cloud::-webkit-scrollbar { display: none; }
        body .home-tag-chip {
            min-height: 38px;
            flex: 0 0 auto;
            padding: 0 12px;
            white-space: nowrap;
            scroll-snap-align: start;
        }
        .home-community { grid-template-columns: 1fr; }
        .home-community .comments-block { max-height: 350px; }
        .home-comments-list { max-height: 290px; }
    }
    @media all and (max-width: 429px) {
        .home-lead h1 { font-size: 21px; line-height: 26px; }
        .home-lead p { font-size: 14px; line-height: 20px; }
        .home-lead-links a, .home-lead-links button { flex: 1; padding-left: 8px; padding-right: 8px; }
        .home-track .thumb, .home-rail-more { flex-basis: calc(50% - 3px); }
        .home-controls { gap: 6px; padding: 6px; }
        .home-tab, .home-period { min-height: 32px; font-size: 13px; }
        .home-section-head > .home-all-link { min-height: 32px; padding: 0 9px; font-size: 12px; }
        .home-all-link .home-link-arrow { font-size: 17px; }
        .home-rail-more a { min-height: 170px; padding: 14px 8px; }
        .home-rail-more strong { font-size: 15px; line-height: 19px; }
        .home-rail-more small { display: none; }
        .home-comment { grid-template-columns: 70px minmax(0, 1fr); }
        .home-comment img { width: 70px; height: 52px; }
    }
    @media (prefers-reduced-motion: reduce) {
        .home-search-track { animation: none; }
        .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }

    .home-lead {
        border: 1px solid var(--vui-border);
        border-top: 3px solid var(--vui-accent-strong);
        border-radius: var(--vui-radius);
        background: linear-gradient(135deg, var(--vui-surface), var(--vui-surface-raised));
        box-shadow: var(--vui-shadow);
    }
    .home-lead::after { background: var(--vui-accent-soft); }
    .home-lead h1 { color: var(--vui-text); }
    .home-lead p { color: var(--vui-text-soft); }
    .home-lead-links a,
    .home-lead-links button,
    .home-tab,
    .home-period {
        border-color: var(--vui-border);
        border-radius: 11px;
        background: var(--vui-surface-raised);
        color: var(--vui-text-soft);
    }
    .home-lead-links a:first-child,
    .home-lead-links button:first-child,
    .home-tab.active,
    .home-period.active,
    .home-lead-links a:hover,
    .home-lead-links button:hover,
    .home-tab:hover,
    .home-period:hover {
        border-color: var(--vui-accent-strong);
        background: var(--vui-accent-strong);
        color: #fff;
    }
    .home-search-ticker,
    .home-controls {
        border-color: var(--vui-border);
        border-radius: 13px;
        background: var(--vui-surface);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    }
    .home-search-group a {
        border-color: var(--vui-border);
        color: var(--vui-text-soft);
    }
    .home-search-group a:hover {
        background: var(--vui-surface-raised);
        color: var(--vui-accent);
    }
    .home-search-group i,
    .home-section-head > a:hover { color: var(--vui-accent); }
    .home-section-head > a { color: var(--vui-muted); }
    .home-section-head > .home-all-link {
        border-color: var(--vui-border);
        border-radius: 11px;
        background: var(--vui-surface-raised);
        color: var(--vui-text-soft);
    }
    .home-section-head > .home-all-link:hover {
        border-color: var(--vui-accent-strong);
        background: var(--vui-accent-strong);
        color: #fff;
    }
    .home-rail-more a {
        border-color: var(--vui-accent);
        border-radius: var(--vui-radius);
        background: linear-gradient(135deg, var(--vui-surface), var(--vui-surface-raised));
        color: var(--vui-text);
    }
    .home-rail-more a:hover { background: var(--vui-accent-strong); color: #fff; }
    .home-rail-more small { color: var(--vui-muted); }
    .home-rail-more-icon,
    .home-arrow { background: var(--vui-accent-strong); }
    .home-arrow:hover { background: var(--vui-accent); }
    .home-community .comments-block {
        border-color: var(--vui-border);
        border-radius: var(--vui-radius);
        background: var(--vui-surface);
    }
    .home-community .comments-block .sub-title,
    .home-comment-info strong { color: var(--vui-text); }
    .home-comments-list {
        scrollbar-color: var(--vui-accent-strong) var(--vui-surface-raised);
    }
    .home-comments-list::-webkit-scrollbar-track { background: var(--vui-surface-raised); }
    .home-comments-list::-webkit-scrollbar-thumb { background: var(--vui-accent-strong); }
    .home-comment {
        border-color: var(--vui-border);
        border-radius: 12px;
        background: var(--vui-surface-raised);
    }
    .home-comment:hover {
        border-color: var(--vui-accent);
        background: var(--vui-accent-soft);
    }
    .home-comment-info,
    .home-comment-message { color: var(--vui-muted); }
    .home-comment-title { color: var(--vui-accent); }
