/* Homepage cs.com.ru layout */
.page-home-cscom {
    overflow-x: hidden;
}

.page-home-cscom main {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

.home-hero-band {
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 24px 0 28px;
    background: transparent;
    overflow-x: clip;
    box-sizing: border-box;
}

.hero-slider-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
}

/* Hero slider — cs.com.ru boxed card */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: #16181d;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .42);
    box-sizing: border-box;
}

.hero-slider-topline {
    height: 3px;
    background: linear-gradient(90deg, #ff4e00, #ff5c2a, #ff5528, #ff5c2a, #ff4e00);
}

.hero-slider-tabs {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    background: #1a1c22;
    border-bottom: 1px solid #333741;
    box-sizing: border-box;
}

.hero-slider-tabs::-webkit-scrollbar { display: none; }

.hero-slider-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 28px 32px 24px;
    background: linear-gradient(180deg, #171a21 0%, #14171d 100%);
    box-sizing: border-box;
}

.hero-slider-track {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    gap: 24px;
    padding: 0;
    align-items: center;
    max-width: 100%;
    min-width: 0;
}

.hero-slide.is-active {
    display: grid;
}

.hero-slide:not(.is-active) {
    display: none !important;
}

.hero-slide-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hero-slide-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 102, 0, .16);
    border: 1px solid rgba(255, 120, 64, .28);
    color: #ff8a3d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.hero-slide-content h2 {
    margin: 0 0 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.12;
    color: #fff;
    font-weight: 800;
}

.hero-slide-content h2 span { color: #ff7a1a; }

.hero-slide-content p {
    margin: 0 0 16px;
    color: #aeb6c6;
    line-height: 1.6;
    max-width: 580px;
    font-size: 14px;
}

.hero-slide-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.hero-slide-specs li {
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 600;
    color: #d6dbe6;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn-dl,
.hero-btn-builds {
    min-height: 44px;
    padding: 0 22px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero-slide-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 280px;
    max-height: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: #171b24;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 23, 29, .62) 0%, rgba(20, 23, 29, .08) 42%, transparent 100%);
    pointer-events: none;
}

.hero-slider-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #8a8680;
    border-radius: 0;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    letter-spacing: .35px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-slider-tab img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: .55;
    transition: opacity .2s ease, filter .2s ease;
}

.hero-slider-tab-label {
    line-height: 1;
}

.hero-slider-tab-count {
    margin-left: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #8a8680;
    font-size: 10px;
    font-weight: 700;
    font-family: Inter, sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.hero-slider-tab.is-active,
.hero-slider-tab:hover {
    background: transparent;
    border-color: transparent;
    border-bottom-color: #ff4e00;
    color: #fff;
}

.hero-slider-tab.is-active img,
.hero-slider-tab:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 78, 0, .45));
}

.hero-slider-tab.is-active .hero-slider-tab-count {
    background: rgba(255, 78, 0, .16);
    color: #ff8a3d;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #14161c;
    border-top: 1px solid #333741;
    box-sizing: border-box;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-right: 1px solid #333741;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 78, 0, .18);
    border: 1px solid rgba(255, 120, 64, .45);
    color: #ff7420;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-ico svg {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-stat-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.hero-stat-text span {
    display: block;
    color: #8a8680;
    font-size: 11px;
}

.home-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 60px;
    align-items: start;
    max-width: 1280px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.home-sidebar {
    position: sticky;
    top: 78px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-widget {
    background: #10131a;
    border: 1px solid #252b38;
    border-radius: 14px;
    overflow: hidden;
}

.sidebar-widget-head {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: #0c0f15;
}

.sidebar-widget-head h4 {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #f3f6fb;
}

.sidebar-widget-head h4 span {
    color: #ff7a1a;
}

.sidebar-widget-body {
    padding: 10px 12px 12px;
}

.sidebar-widget-head--cats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-head-ico {
    width: 16px;
    height: 16px;
    color: #ff7a1a;
    flex-shrink: 0;
}

.sidebar-widget-body--cats {
    padding: 10px;
}

.sidebar-cat-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-cat-group {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: #0c0f15;
    overflow: hidden;
}

.sidebar-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: none;
    background: transparent;
    color: #eef1f6;
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sidebar-cat-toggle:hover,
.sidebar-cat-group.is-open > .sidebar-cat-toggle {
    background: rgba(255, 102, 0, .08);
    color: #fff;
}

.sidebar-cat-toggle-label {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.sidebar-cat-toggle-count {
    flex-shrink: 0;
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 85, 0, .35);
}

.sidebar-cat-sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.sidebar-cat-group.is-open .sidebar-cat-sub {
    display: block;
}

.sidebar-cat-sub-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 8px;
    border-radius: 8px;
    color: #aeb6c6;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.35;
    transition: background .2s ease, color .2s ease;
}

.sidebar-cat-sub-item a:hover {
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

.sidebar-cat-sub-item em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    color: #ff7a1a;
    background: rgba(255, 102, 0, .12);
    padding: 2px 7px;
    border-radius: 999px;
    flex-shrink: 0;
}

.sidebar-cat-tree,
.sidebar-cat-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #c5cad6;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
}

.sidebar-cat-item a:hover {
    background: rgba(255, 102, 0, .08);
    color: #fff;
}

.sidebar-cat-item em {
    font-style: normal;
    font-size: 10px;
    color: #ff7a1a;
    background: rgba(255, 102, 0, .12);
    padding: 2px 7px;
    border-radius: 999px;
}

.sidebar-cat-item.depth-1 a { padding-left: 18px; font-size: 11px; }
.sidebar-cat-item.depth-2 a { padding-left: 28px; font-size: 11px; opacity: .9; }

.sidebar-widget-head--builds {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-body--builds {
    padding: 8px 8px 10px;
}

.sidebar-widget-all {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #ff7a1a;
    text-decoration: none;
}

.sidebar-build-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 432px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #ff7a1a rgba(255, 255, 255, .08);
}

.sidebar-build-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-build-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
}

.sidebar-build-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff7424, #ff5500);
    border-radius: 999px;
}

.sidebar-build-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: #0c0f15;
    min-height: 96px;
    overflow: hidden;
    box-sizing: border-box;
}

.sidebar-build-card-cover {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #171b24;
}

.sidebar-build-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-build-cover-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    font-weight: 800;
    color: #ff7a1a;
    text-transform: uppercase;
    text-align: center;
    padding: 4px;
    background: linear-gradient(145deg, rgba(255, 102, 0, .18), rgba(255, 102, 0, .04));
}

.sidebar-build-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-build-card-title {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.sidebar-build-card-title a {
    color: #eef1f6;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-build-card-title a:hover {
    color: #ff7a1a;
}

.sidebar-build-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-build-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, .05);
    color: #aeb6c6;
}

.sidebar-build-stat svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.sidebar-build-stat-dl {
    color: #ff9a4d;
    background: rgba(255, 102, 0, .12);
}

.sidebar-build-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px;
    margin-top: auto;
    width: 100%;
}

.sidebar-build-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    min-height: 26px;
    padding: 0 4px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.sidebar-build-btn svg {
    display: none;
}

.sidebar-build-btn-info {
    color: #d5dbe8;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
}

.sidebar-build-btn-info:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .06);
}

.sidebar-build-btn-dl {
    color: #fff;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    box-shadow: 0 2px 8px rgba(255, 85, 0, .35);
}

.sidebar-build-btn-dl:hover {
    filter: brightness(1.06);
    color: #fff;
}

.sidebar-empty {
    margin: 0;
    font-size: 12px;
    color: #7a8190;
}

.sidebar-social-link {
    display: block;
    padding: 12px 14px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.sidebar-social-vk { color: #4d76a1; }
.sidebar-social-rutube { color: #ff6600; }

/* Top builds — paginated grid */
.page-home-cscom #builds.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    overflow: visible;
}

.builds-grid--home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
    width: 100%;
}

.builds-list-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 4px 0 14px;
    font-size: 13px;
    color: #8b95a5;
}

.builds-list-meta strong {
    color: #ff7a1a;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 32px;
    padding: 14px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination-link,
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    color: #d5dbe8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pagination-link:hover,
.pagination-btn:not(.is-disabled):hover {
    color: #fff;
    border-color: rgba(255, 122, 26, .45);
    background: rgba(255, 122, 26, .14);
}

.pagination-link.is-active {
    color: #fff;
    border-color: rgba(255, 122, 26, .55);
    background: linear-gradient(180deg, rgba(255, 116, 36, .32), rgba(255, 85, 0, .22));
}

.pagination-btn.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.pagination-ellipsis {
    color: #6b7585;
    padding: 0 4px;
}

/* Roulette (cs.com.ru style) */
.home-roulette {
    background: linear-gradient(180deg, #12151d 0%, #0e1118 100%);
    border: 1px solid #2a3140;
    border-radius: 18px;
    padding: 16px 16px 14px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.rl-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rl-title {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}

.rl-sub {
    margin: 4px 0 0;
    color: #7a8190;
    font-size: 12px;
}

.rl-game-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.rl-game-tab {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    color: #aeb6c6;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.rl-game-tab:hover {
    color: #fff;
    border-color: rgba(255, 122, 26, .35);
}

.rl-game-tab.is-active {
    color: #fff;
    border-color: rgba(255, 122, 26, .55);
    background: linear-gradient(180deg, rgba(255, 116, 36, .28), rgba(255, 85, 0, .18));
    box-shadow: 0 4px 14px rgba(255, 85, 0, .22);
}

.rl-head-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rl-sound-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
    color: #aeb6c6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rl-sound-btn svg {
    width: 16px;
    height: 16px;
}

.rl-sound-btn.is-muted {
    opacity: .45;
}

.rl-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7a1a;
    box-shadow: 0 0 10px rgba(255, 122, 26, .8);
}

.rl-count {
    font-size: 12px;
    color: #ff7a1a;
    font-weight: 800;
    white-space: nowrap;
}

.rl-stage {
    position: relative;
    margin-bottom: 12px;
}

.rl-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, #ff7a1a 20%, #ff7a1a 80%, transparent);
    z-index: 3;
    pointer-events: none;
}

.rl-marker-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #ff7a1a;
    box-shadow: 0 0 12px rgba(255, 122, 26, .9);
}

.rl-window {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 122, 26, .25);
    background: #0a0d13;
    height: 188px;
    position: relative;
}

.rl-window::before,
.rl-window::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 2;
    pointer-events: none;
}

.rl-window::before {
    left: 0;
    background: linear-gradient(90deg, #0a0d13, transparent);
}

.rl-window::after {
    right: 0;
    background: linear-gradient(270deg, #0a0d13, transparent);
}

.rl-track {
    display: flex;
    gap: 10px;
    padding: 10px;
    height: 100%;
    will-change: transform;
}

.rl-card {
    flex: 0 0 250px;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #171b24;
    border: 1px solid rgba(255, 255, 255, .08);
    min-height: 168px;
}

.rl-card-cover {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 148px;
    background: #10131a;
}

.rl-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rl-card-cover-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 800;
    color: #ff7a1a;
    background: linear-gradient(145deg, rgba(255, 102, 0, .18), rgba(255, 102, 0, .04));
}

.rl-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rl-card-cat {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ff7a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rl-card-title {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
}

.rl-card-title a {
    color: #eef1f6;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rl-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rl-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, .05);
    color: #aeb6c6;
}

.rl-stat svg {
    width: 11px;
    height: 11px;
}

.rl-stat-dl {
    color: #ff9a4d;
    background: rgba(255, 102, 0, .12);
}

.rl-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
}

.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.rl-btn-info {
    color: #d5dbe8;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
}

.rl-btn-dl {
    color: #fff;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    box-shadow: 0 4px 14px rgba(255, 85, 0, .28);
}

.rl-toolbar-main {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.rl-spin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    box-shadow: 0 8px 24px rgba(255, 85, 0, .35);
    cursor: pointer;
}

.rl-spin-btn svg {
    width: 18px;
    height: 18px;
}

.rl-spin-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.rl-ctrl-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    color: #d5dbe8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.rl-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    margin-bottom: 10px;
}

.rl-status-text {
    margin: 0;
    font-size: 13px;
    color: #aeb6c6;
}

.rl-spins {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.rl-spins small {
    font-size: 11px;
    font-weight: 700;
    color: #7a8190;
}

.rl-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 10px;
}

.rl-option-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rl-option-label {
    font-size: 11px;
    font-weight: 800;
    color: #7a8190;
    text-transform: uppercase;
}

.rl-option-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rl-opt {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
    color: #aeb6c6;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.rl-opt.is-active {
    color: #fff;
    border-color: rgba(255, 122, 26, .55);
    background: rgba(255, 122, 26, .18);
}

.rl-opt-cancel {
    color: #ff8a4d;
}

.rl-history {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rl-history-label {
    font-size: 11px;
    font-weight: 800;
    color: #7a8190;
    text-transform: uppercase;
}

.rl-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
}

.rl-history-empty {
    font-size: 12px;
    color: #5f6675;
}

.rl-history-chip {
    display: inline-flex;
    max-width: 220px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #d5dbe8;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rl-winner {
    margin-top: 4px;
}

.rl-winner-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    color: #ff7a1a;
    text-transform: uppercase;
}

.rl-winner-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: #171b24;
    border: 1px solid rgba(255, 122, 26, .25);
}

.rl-winner-cover {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    height: 76px;
}

.rl-winner-cover img,
.rl-winner-cover .rl-card-cover-ph {
    width: 120px;
    height: 76px;
    min-height: 76px;
}

.rl-winner-body h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #fff;
}

.rl-winner-body p {
    margin: 0;
    font-size: 12px;
    color: #aeb6c6;
    line-height: 1.5;
}

.rl-winner-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Feed */
.home-feed-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.home-feed-head h2 {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 22px;
    color: #fff;
}

.home-feed-total {
    font-size: 12px;
    color: #ff7a1a;
    font-weight: 700;
}

.home-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.feed-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 14px;
    background: #10131a;
    border: 1px solid #252b38;
    border-radius: 16px;
}

.feed-card-cover img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.feed-card-cat {
    font-size: 11px;
    color: #ff7a1a;
    font-weight: 700;
    text-transform: uppercase;
}

.feed-card-body h3 {
    margin: 4px 0 8px;
    font-size: 18px;
}

.feed-card-body h3 a {
    color: #fff;
    text-decoration: none;
}

.feed-card-body p {
    margin: 0 0 10px;
    color: #aeb6c6;
    font-size: 13px;
    line-height: 1.6;
}

.feed-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #7a8190;
    margin-bottom: 10px;
}

.feed-card-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 1100px) {
    .home-hero-band {
        padding: 16px 0 20px;
    }

    .hero-slider-body {
        padding: 20px 16px 18px;
    }

    .hero-slider-tab {
        padding: 12px 12px;
        font-size: 11px;
    }

    .hero-slider-tab-label {
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-layout {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        position: static;
        top: auto;
        order: 0;
        margin-bottom: 8px;
    }

    .home-main {
        order: 1;
        min-width: 0;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 16px 0 14px;
    }

    .hero-slide-visual {
        height: 200px;
        max-height: 200px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat:nth-child(2) {
        border-right: none;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid #333741;
    }
}

@media (max-width: 991px) {
    .home-main {
        min-width: 0;
        width: 100%;
    }

    .home-roulette {
        margin-bottom: 16px;
        padding: 12px;
    }

    .rl-head {
        flex-direction: column;
        gap: 8px;
    }

    .rl-game-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .rl-game-tabs::-webkit-scrollbar {
        display: none;
    }

    .rl-game-tab {
        flex: 0 0 auto;
    }

    .rl-window {
        height: 168px;
    }

    .rl-card {
        flex: 0 0 220px;
        grid-template-columns: 72px 1fr;
        min-height: 148px;
    }

    .rl-card-cover {
        min-height: 128px;
    }

    .rl-toolbar-main {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rl-spin-btn,
    .rl-ctrl-btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .rl-option-btns {
        flex-wrap: wrap;
    }

    .builds-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .feed-card {
        grid-template-columns: 1fr;
    }

    .page-home-cscom .build-card .card-body {
        padding: 10px;
    }

    .page-home-cscom .build-card .card-body h3 {
        font-size: 13px;
    }

    .page-home-cscom .build-card .card-stats {
        font-size: 11px;
        gap: 4px;
    }

    .page-home-cscom .build-card .btn-block {
        width: 100%;
        justify-content: center;
        min-height: 40px;
    }

    .sidebar-build-scroll {
        max-height: none;
        overflow-y: visible;
    }

    .pagination {
        gap: 8px;
    }

    .pagination-btn {
        flex: 1 1 calc(50% - 4px);
        order: 1;
        min-height: 48px;
    }

    .pagination-pages {
        order: 2;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 6px;
    }

    .pagination-link {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .builds-grid--home {
        grid-template-columns: 1fr;
    }
}

/* Material cards v2 — как на макете */
.build-card--v2 {
    display: flex;
    flex-direction: column;
    background: #12151c;
    border: 1px solid #2a3140;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.build-card--v2:hover {
    border-color: rgba(255, 102, 0, .45);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.build-card--v2 .mc-cover-wrap {
    position: relative;
}

.build-card--v2 .mc-cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0d13;
}

.build-card--v2 .mc-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.build-card--v2 .mc-cover .cover-placeholder {
    aspect-ratio: auto;
    height: 100%;
    min-height: 180px;
}

.build-card--v2 .mc-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    max-width: calc(100% - 24px);
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(255, 85, 0, .35);
}

.build-card--v2 .mc-cover-segments {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.build-card--v2 .mc-cover-segments span {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.build-card--v2 .mc-cover-segments span.is-active {
    background: linear-gradient(90deg, #ff7424, #ffaa44);
    box-shadow: 0 0 8px rgba(255, 122, 26, .65);
}

.build-card--v2 .mc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
}

.build-card--v2 .mc-title {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.build-card--v2 .mc-title a {
    color: #fff;
    text-decoration: none;
}

.build-card--v2 .mc-title a:hover {
    color: #ff8a3d;
}

.build-card--v2 .mc-desc {
    margin: 0;
    color: #9aa4b2;
    font-size: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
}

.build-card--v2 .mc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.build-card--v2 .mc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff8a3d;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.build-card--v2 .mc-meta-item svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.build-card--v2 .mc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
}

.build-card--v2 .mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.build-card--v2 .mc-btn--details {
    border: 1px solid #3a4254;
    background: rgba(255, 255, 255, .03);
    color: #eef1f6;
}

.build-card--v2 .mc-btn--details:hover {
    border-color: rgba(255, 122, 26, .45);
    color: #fff;
}

.build-card--v2 .mc-btn--download {
    border: 1px solid #ff6a1f;
    background: linear-gradient(180deg, #ff7424, #ff5500);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 85, 0, .28);
}

.build-card--v2 .mc-btn--download:hover {
    filter: brightness(1.06);
    color: #fff;
}

.build-card--v2 .mc-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.build-card--v2 .mc-btn-ico svg {
    width: 14px;
    height: 14px;
}

.build-card--v2 .mc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.build-card--v2 .mc-footer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.build-card--v2 .mc-stat,
.build-card--v2 .mc-likes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff8a3d;
    font-size: 12px;
    font-weight: 700;
}

.build-card--v2 .mc-stat svg,
.build-card--v2 .mc-likes svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.build-card--v2 .mc-likes {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #d5dbe8;
}

.build-card--v2 .mc-likes svg {
    color: #ff6a8f;
}

@media (max-width: 640px) {
    .build-card--v2 .mc-actions {
        grid-template-columns: 1fr;
    }

    .build-card--v2 .mc-desc {
        min-height: 0;
        -webkit-line-clamp: 4;
    }
}
