/* Fleep Home — clean markup from Figma (1920 / home / not logged) */

body.fleep-ui #pageHome {
    background: var(--fleep-bg, #141415);
}

body.fleep-ui #guestView,
body.fleep-ui #lobbyView {
    display: block;
    width: 100%;
}

.fleep-home {
    width: 100%;
    color: #fff;
}

.fleep-home__inner {
    max-width: var(--fleep-content-max, 1560px);
    margin: 0 auto;
    padding: 40px var(--fleep-content-pad, 60px) 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    box-sizing: border-box;
}

/* .casino-main already has horizontal padding — avoid double inset vs footer */
@media (min-width: 768px) {
    body.fleep-ui .casino-main .fleep-home__inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --- Slider b --- */
.fleep-slider-b {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.fleep-slider-b__rail.home-desktop-dual-promo {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-height: 0;
}

@media (min-width: 768px) {
    .fleep-slider-b__rail.home-desktop-dual-promo {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        min-height: 306px;
    }
}

/* Figma Slider b — static promo cards */
.fleep-promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 306px;
    height: 306px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
}

.fleep-promo-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fleep-promo-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 30, 32, 0.7) 0%, rgba(29, 30, 32, 0) 70%);
    pointer-events: none;
}

.fleep-promo-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
    padding: 28px 40px;
    box-sizing: border-box;
    max-width: 420px;
}

.fleep-promo-card__label {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.fleep-promo-card__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fleep-promo-card__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
}

.fleep-promo-card__desc {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #fff;
}

.fleep-promo-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.fleep-promo-card__link:hover {
    opacity: 0.9;
}

.fleep-promo-card--brand .fleep-promo-card__shade {
    background: linear-gradient(90deg, rgba(29, 30, 32, 0.55) 0%, rgba(29, 30, 32, 0) 65%);
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual {
    min-height: 306px !important;
    height: 306px !important;
    border-radius: 8px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-viewport,
body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-track,
body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-slide {
    min-height: 306px !important;
    height: 306px !important;
    border-radius: 8px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-slide-grid {
    min-height: 306px !important;
    padding: 28px 40px !important;
    box-sizing: border-box;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-title {
    font-size: 28px !important;
    line-height: 36px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-text {
    font-size: 16px !important;
    line-height: 28px !important;
    color: #fff !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-cta {
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.fleep-slider-b__rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-height: 0;
}

@media (min-width: 768px) {
    .fleep-slider-b__rail:not(.home-desktop-dual-promo) {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        min-height: 306px;
    }
}

.fleep-slider-b__pager {
    width: 360px;
    max-width: 100%;
    height: 14px;
}

/* --- Game categories a --- */
.fleep-categories-a {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.fleep-categories-a__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fleep-categories-a__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #AEB4BA;
}

.fleep-categories-a__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.fleep-categories-a__providers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #262628;
    color: #fff;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-categories-a__providers-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fleep-categories-a__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 8px;
    border-radius: 11px;
    background: #383C41;
    font-size: 11px;
    font-weight: 600;
    color: #AEB4BA;
}

.fleep-categories-a__nav {
    display: inline-flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #262628;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-categories-a__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #262628;
    cursor: pointer;
    padding: 0;
}

.fleep-categories-a__nav-btn + .fleep-categories-a__nav-btn {
    border-left: 1px solid #383C41;
}

.fleep-categories-a__track-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fleep-categories-a__track-wrap::-webkit-scrollbar {
    display: none;
}

.fleep-categories-a__track {
    display: flex;
    gap: 20px;
    padding-bottom: 4px;
}

.fleep-cat-item {
    flex: 0 0 138px;
    width: 138px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 8px;
    background: #1D1E20;
    color: #AEB4BA;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
}

.fleep-cat-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fleep-cat-item:hover,
.fleep-cat-item.is-active {
    background: #383D43;
    color: #fff;
}

/* --- Section heads --- */
.fleep-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.fleep-section-head--lg .fleep-section-head__title {
    font-size: 44px;
    line-height: 56px;
}

.fleep-section-head__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--fleep-text, #fff);
    letter-spacing: 0;
}

body.fleep-ui .fleep-game-group-b .fleep-section-head--lg .fleep-section-head__title {
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
    color: #AEB4BA;
}

.fleep-section-head__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.fleep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-btn--outline {
    background: var(--fleep-panel-bg, #262628);
    color: var(--fleep-red-light, #F3372B);
}

body.fleep-ui #pageHome a.fleep-btn.home-all-games-link,
body.fleep-ui #guestView a.fleep-btn.home-all-games-link,
body.fleep-ui #lobbyView a.fleep-btn.home-all-games-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--fleep-radius, 8px);
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-red-light, #F3372B) !important;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    border: 1px solid rgba(243, 55, 43, 0.28) !important;
    flex-shrink: 0;
}

body.fleep-ui #pageHome a.fleep-btn.home-all-games-link:hover,
body.fleep-ui #guestView a.fleep-btn.home-all-games-link:hover,
body.fleep-ui #lobbyView a.fleep-btn.home-all-games-link:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: #fff !important;
    border-color: rgba(243, 55, 43, 0.55) !important;
}

.fleep-strip-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fleep-strip-nav-btn,
body.fleep-ui .home-strip-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--fleep-radius, 8px) !important;
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-text-muted, #83898E) !important;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15)) !important;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1 !important;
    transform: none !important;
}

/* Dune casino-surface-polish рисует ::after-стрелки поверх SVG — убираем дубли */
body.fleep-ui .fleep-strip-nav-btn::after,
body.fleep-ui .home-strip-nav-btn::after {
    content: none !important;
    display: none !important;
}

.fleep-strip-nav-btn:hover,
body.fleep-ui .home-strip-nav-btn:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: var(--fleep-text, #fff) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: none !important;
}

.fleep-strip-nav-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.fleep-btn--primary {
    background: #D91000;
    color: #fff;
}

/* --- Game group d (mosaic grid) --- */
.fleep-game-group-d {
    width: 100%;
}

.fleep-mosaic {
    display: grid;
    width: 100%;
}

body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko {
    gap: 10px !important;
    grid-auto-rows: auto !important;
}

@media (min-width: 768px) {
    body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(var(--icons-per-row, 12), minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    body.fleep-ui .fleep-mosaic .game-card--grid .game-card-img,
    body.fleep-ui .fleep-mosaic .game-card--pinko .game-card-img {
        aspect-ratio: var(--slot-aspect, 427 / 575);
        width: 100%;
        min-height: 0;
    }
}

.fleep-games-hint {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: #83898E;
}

/* --- Game group b (horizontal strips) --- */
.fleep-game-group-b {
    width: 100%;
}

.fleep-game-group-b .fleep-section-head {
    margin-bottom: 32px;
}

.fleep-strip-row {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (min-width: 768px) {
  body.fleep-ui .fleep-strip-row,
  body.fleep-ui .home-stories-row,
  body.fleep-ui .home-catalog-tabs,
  body.fleep-ui .catalog-tabs-scroll,
  body.fleep-ui .home-games-strip-wrap {
    overscroll-behavior: auto !important;
    touch-action: auto !important;
  }
}

.fleep-strip-row::-webkit-scrollbar {
    display: none;
}

.fleep-strip-row__track,
.fleep-strip-row > .home-games-strip.fleep-strip-row__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    gap: 10px;
    min-height: 0;
    padding-bottom: 4px;
    box-sizing: border-box;
}

body.fleep-ui .fleep-strip-row__track .game-card,
body.fleep-ui .fleep-strip-row__track .slot-card {
    flex: 0 0 auto;
    width: min(88px, 20vw);
    max-width: 88px;
    height: auto !important;
    min-height: 0;
    border-radius: 8px !important;
    overflow: hidden;
    border: none !important;
    background: #1D1E20 !important;
}

body.fleep-ui .fleep-strip-row__track {
    min-height: 0;
    gap: 10px;
}

body.fleep-ui .fleep-strip-row__track .game-card-img-wrap,
body.fleep-ui .fleep-strip-row__track .game-card-inner--thumb {
    height: 100%;
}

/* --- Carousel a --- */
.fleep-carousel-a {
    width: 100%;
    min-height: 214px;
    border-radius: 8px;
    background: #1D1E20;
    padding: 32px;
    box-sizing: border-box;
}

.fleep-carousel-a__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.fleep-carousel-a__desc {
    margin: 0 0 16px;
    color: #AEB4BA;
    font-size: 14px;
}

/* --- Content block a --- */
.fleep-content-a {
    width: 100%;
    padding: 40px;
    border-radius: 8px;
    background: #1D1E20;
    box-sizing: border-box;
}

.fleep-content-a__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #fff;
}

.fleep-content-a__body {
    font-size: 16px;
    line-height: 28px;
    color: #AEB4BA;
}

/* --- Payment methods a --- */
.fleep-payments-a {
    width: 100%;
}

.fleep-payments-a__title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--fleep-text, #fff);
}

.fleep-payments-a__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fleep-payments-a__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: var(--fleep-radius-ui, 10px);
    border: none;
    background: var(--fleep-panel-bg, #262628);
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    color: var(--fleep-link, #AEB4BA);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- Footer a --- */
.fleep-footer-a {
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid #383C41;
}

.fleep-footer-a__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.fleep-footer-a__col h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.fleep-footer-a__col a {
    display: block;
    margin-bottom: 8px;
    color: #AEB4BA;
    font-size: 14px;
    text-decoration: none;
}

.fleep-footer-a__col a:hover {
    color: #fff;
}

.fleep-footer-a__bottom {
    padding-top: 24px;
    border-top: 1px solid #383C41;
    font-size: 12px;
    color: #83898E;
}

/* Reset Dune home overrides inside new shell (not Fleep section heads / fleep-btn links) */
body.fleep-ui #pageHome .home-games-block-head {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body.fleep-ui #pageHome .home-games-block-head .section-title {
    all: unset;
    display: block;
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-weight: 700;
    color: var(--fleep-text, #fff);
}

body.fleep-ui #pageHome .home-slots-section-head,
body.fleep-ui #pageHome .games-nav-block,
body.fleep-ui #pageHome .games-toolbar-actions-wrap {
    display: none !important;
}

@media (max-width: 1279px) {
    .fleep-home__inner {
        padding-left: 32px;
        padding-right: 32px;
        gap: 56px;
    }

    .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-rows: auto !important;
    }

    .fleep-section-head--lg .fleep-section-head__title {
        font-size: 32px;
        line-height: 44px;
    }

    .fleep-slider-b__rail,
    .fleep-slider-b__rail.home-desktop-dual-promo {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .fleep-promo-card {
        min-height: 280px;
        height: auto;
    }

    .fleep-footer-a__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .fleep-promo-card {
        min-height: 0;
        height: auto;
    }
}

@media (max-width: 767px) {
    .fleep-home__inner {
        padding: 12px 16px 40px;
        gap: 28px;
    }

    .fleep-slider-b {
        gap: 12px;
    }

    .fleep-promo-card {
        min-height: 160px;
        height: auto;
    }

    .fleep-promo-card__body {
        max-width: 100%;
        padding: 14px 16px;
        gap: 10px;
    }

    .fleep-promo-card__title {
        font-size: 18px;
        line-height: 24px;
    }

    .fleep-promo-card__desc {
        font-size: 12px;
        line-height: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .fleep-promo-card__link {
        font-size: 12px;
        line-height: 20px;
    }

    .fleep-promo-card--brand .fleep-promo-card__bg {
        background-position: 88% center;
    }

    .fleep-promo-card--brand .fleep-promo-card__shade {
        background: linear-gradient(105deg, rgba(20, 20, 21, 0.94) 0%, rgba(20, 20, 21, 0.78) 52%, rgba(20, 20, 21, 0.35) 100%);
    }

    .fleep-categories-a {
        gap: 16px;
    }

    .fleep-categories-a__head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .fleep-categories-a__actions {
        width: 100%;
        justify-content: space-between;
    }

    .fleep-categories-a__title {
        font-size: 22px;
        line-height: 28px;
    }

    .fleep-categories-a__track {
        gap: 10px;
    }

    .fleep-cat-item {
        flex: 0 0 100px;
        width: 100px;
        height: 88px;
        gap: 8px;
        padding: 12px 8px;
        font-size: 10px;
        line-height: 14px;
    }

    .fleep-cat-item img {
        width: 32px;
        height: 32px;
    }

    .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .fleep-section-head--lg .fleep-section-head__title {
        font-size: 22px;
        line-height: 28px;
    }

    .fleep-footer-a__grid {
        grid-template-columns: 1fr;
    }
}

/* --- SEO block (главная и разделы) --- */
body.fleep-ui .home-seo-block {
    width: 100%;
    max-width: var(--fleep-content-max, 1560px);
    margin: 32px auto 40px !important;
    padding: 32px 40px !important;
    border-radius: 12px !important;
    background: var(--fleep-surface, #1D1E20) !important;
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
    box-shadow: var(--fleep-shadow-card, 0 2px 8px rgba(0, 0, 0, 0.2)) !important;
    box-sizing: border-box;
}

body.fleep-ui .home-seo-title,
body.fleep-ui .fleep-content-a__title.home-seo-title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    color: var(--fleep-text, #fff) !important;
}

body.fleep-ui .home-seo-content,
body.fleep-ui .fleep-content-a__body.home-seo-content {
    --home-seo-prose: #AEB4BA;
    --home-seo-prose-strong: #FFFFFF;
    --home-seo-fade-bottom: var(--fleep-elevated, #262628);
    margin-top: 0 !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    background: var(--fleep-elevated, #262628) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--home-seo-prose) !important;
    box-shadow: none !important;
    overflow-x: hidden;
}

body.fleep-ui .home-seo-content p,
body.fleep-ui .home-seo-content li,
body.fleep-ui .home-seo-content td,
body.fleep-ui .home-seo-content th,
body.fleep-ui .home-seo-content span,
body.fleep-ui .home-seo-content div:not([class]) {
    color: var(--home-seo-prose) !important;
    -webkit-text-fill-color: var(--home-seo-prose) !important;
}

body.fleep-ui .home-seo-content strong,
body.fleep-ui .home-seo-content b {
    color: var(--home-seo-prose-strong) !important;
    -webkit-text-fill-color: var(--home-seo-prose-strong) !important;
    font-weight: 600;
}

body.fleep-ui .home-seo-content h1,
body.fleep-ui .home-seo-content h2,
body.fleep-ui .home-seo-content h3 {
    color: var(--fleep-text, #fff) !important;
    -webkit-text-fill-color: var(--fleep-text, #fff) !important;
}

body.fleep-ui .home-seo-content h2 {
    border-left-color: var(--fleep-red, #D91000) !important;
    border-bottom-color: var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
}

body.fleep-ui .home-seo-content.collapsed::after {
    display: block !important;
    content: "" !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, var(--home-seo-fade-bottom) 88%);
}

body.fleep-ui .home-seo-content.collapsed {
    position: relative;
    max-height: 220px;
    overflow: hidden;
}

body.fleep-ui .home-seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.fleep-ui .home-seo-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.fleep-ui .home-seo-toggle-btn--more {
    width: auto !important;
    align-self: flex-start;
    border: 1px solid rgba(217, 16, 0, 0.45) !important;
    background: rgba(217, 16, 0, 0.1) !important;
    color: var(--fleep-red-light, #F3372B) !important;
    box-shadow: none !important;
}

body.fleep-ui .home-seo-toggle-btn--more:hover {
    border-color: rgba(217, 16, 0, 0.7) !important;
    background: rgba(217, 16, 0, 0.16) !important;
    color: #fff !important;
}

body.fleep-ui .home-seo-toggle-btn--less {
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-text-muted, #83898E) !important;
    box-shadow: none !important;
}

body.fleep-ui .home-seo-toggle-btn--less:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: var(--fleep-text, #fff) !important;
}

html[data-theme="light"] body.fleep-ui .home-seo-block {
    background: var(--fleep-surface, #fff) !important;
    border-color: var(--fleep-border, rgba(0, 0, 0, 0.08)) !important;
}

html[data-theme="light"] body.fleep-ui .home-seo-content {
    --home-seo-prose: #5C6369;
    --home-seo-prose-strong: #1A1B1E;
    --home-seo-fade-bottom: var(--fleep-elevated, #EEEDEB);
    background: var(--fleep-elevated, #EEEDEB) !important;
    border-color: var(--fleep-border, rgba(0, 0, 0, 0.08)) !important;
}

@media (max-width: 767px) {
    body.fleep-ui .home-seo-block {
        margin: 24px 0 32px !important;
        padding: 20px 16px !important;
    }

    body.fleep-ui .home-seo-content {
        padding: 16px !important;
        font-size: 14px !important;
    }
}
