/*
 * TekirdagXAMMP - Paket B: main-pool browser source
 * Ana havuz lokal vitrin kart/mobil liste davranışı taşımaz.
 */
body.theme-profile-main-pool.theme-slug-main-pool {
    --tx-theme-scope: main-pool-browser;
    --tx-theme-shell-max: 1240px;
}
body.theme-profile-main-pool .site-main {
    min-height: 60vh;
}

/* TX-PKG-D archive expired profile flow START */
.archive-profile-notice,
.archive-contact-closed {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(185, 135, 50, .28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,243,238,.96));
    box-shadow: 0 12px 34px rgba(47, 38, 25, .08);
    color: #2b2f36;
}
.archive-profile-notice strong,
.archive-contact-closed strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #1f2933;
}
.archive-profile-notice span,
.archive-contact-closed p {
    display: block;
    margin: 0 0 12px;
    color: #667085;
    line-height: 1.55;
}
.archive-contact-closed .btn,
.archive-profile-notice .btn {
    margin-top: 4px;
}
.archive-profile-notice .btn,
.archive-contact-closed .btn {
    min-height: 44px;
}
@media (max-width: 720px) {
    .archive-profile-notice,
    .archive-contact-closed {
        margin: 14px 0;
        padding: 14px 15px;
        border-radius: 16px;
    }
}
/* TX-PKG-D archive expired profile flow END */

/* TX-UNIFIED-MAIN-POOL-LOCAL-CARD-SOURCE START */
/* Ana havuz kendi theme dosyasından lokal kart davranışını kullanır; veri yine sadece lokal domainlerden gelir. */
/*
 * TekirdagXAMMP - Paket B: local-theme-source-reset-live
 * Generated: 2026-06-19 12:22:45 UTC
 * Purpose: real local_showcase browser source. Local/mobile showcase rules were moved here from /assets/css/site.css.
 * Loaded by theme_slug through app/domain-profile.php; no domain hardcode is required.
 */

body.theme-profile-local-showcase {
    --tx-theme-scope: tekirdagnoter-browser-source;
    --tx-local-shell-max: 1180px;
}

body.theme-profile-local-showcase .site-main {
    min-height: 60vh;
}

body.theme-profile-local-showcase .nav .nav-contact {
    color: #0b2414;
    background: linear-gradient(135deg, #39d979, #19b85a);
    border-color: rgba(57,217,121,.36);
    font-weight: 900;
}

body.theme-profile-local-showcase .nav .nav-contact:hover,
body.theme-profile-local-showcase .nav .nav-contact:focus {
    color: #06170d;
    background: linear-gradient(135deg, #5ee891, #24c765);
    border-color: rgba(94,232,145,.54);
}

/* TX-PKG-D archive expired profile flow START */
.archive-profile-notice,
.archive-contact-closed {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(185, 135, 50, .28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,243,238,.96));
    box-shadow: 0 12px 34px rgba(47, 38, 25, .08);
    color: #2b2f36;
}
.archive-profile-notice strong,
.archive-contact-closed strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #1f2933;
}
.archive-profile-notice span,
.archive-contact-closed p {
    display: block;
    margin: 0 0 12px;
    color: #667085;
    line-height: 1.55;
}
.archive-contact-closed .btn,
.archive-profile-notice .btn {
    margin-top: 4px;
}
.archive-profile-notice .btn,
.archive-contact-closed .btn {
    min-height: 44px;
}
@media (max-width: 720px) {
    .archive-profile-notice,
    .archive-contact-closed {
        margin: 14px 0;
        padding: 14px 15px;
        border-radius: 16px;
    }
}
/* TX-PKG-D archive expired profile flow END */

/* TX-PKG-E verification visual stabilizer START */
body.layout-noter-mobile-list .showcase-card .card-image,
body.layout-noter-mobile-list .showcase-card .mobile-side-image,
body.theme-profile-local-showcase .showcase-card .card-image,
body.theme-profile-local-showcase .showcase-card .mobile-side-image {
    overflow: hidden;
    background: rgba(0,0,0,.22);
}
body.layout-noter-mobile-list .showcase-card .card-image img,
body.layout-noter-mobile-list .showcase-card .mobile-side-image img,
body.theme-profile-local-showcase .showcase-card .card-image img,
body.theme-profile-local-showcase .showcase-card .mobile-side-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
body.layout-noter-mobile-list .card-mobile-premium .card-image,
body.layout-noter-mobile-list .card-mobile-premium .mobile-side-image,
body.theme-profile-local-showcase .card-mobile-premium .card-image,
body.theme-profile-local-showcase .card-mobile-premium .mobile-side-image {
    aspect-ratio: 4 / 5;
    min-height: 0;
}
body.layout-noter-mobile-list .card-mobile-mega .card-image,
body.layout-noter-mobile-list .card-mobile-mega .mobile-side-image,
body.theme-profile-local-showcase .card-mobile-mega .card-image,
body.theme-profile-local-showcase .card-mobile-mega .mobile-side-image {
    aspect-ratio: 4 / 5;
    min-height: 0;
}
body.layout-noter-mobile-list .card-mobile-featured .card-image,
body.layout-noter-mobile-list .card-mobile-featured .mobile-side-image,
body.layout-noter-mobile-list .card-mobile-standard .card-image,
body.layout-noter-mobile-list .card-mobile-standard .mobile-side-image,
body.theme-profile-local-showcase .card-mobile-featured .card-image,
body.theme-profile-local-showcase .card-mobile-featured .mobile-side-image,
body.theme-profile-local-showcase .card-mobile-standard .card-image,
body.theme-profile-local-showcase .card-mobile-standard .mobile-side-image {
    aspect-ratio: 1 / 1;
    min-height: 0;
}
@media (max-width: 720px) {
    body.layout-noter-mobile-list .card-mobile-list,
    body.theme-profile-local-showcase .card-mobile-list {
        align-items: stretch;
    }
    body.layout-noter-mobile-list .card-mobile-list .card-image,
    body.layout-noter-mobile-list .card-mobile-list .mobile-side-image,
    body.theme-profile-local-showcase .card-mobile-list .card-image,
    body.theme-profile-local-showcase .card-mobile-list .mobile-side-image {
        align-self: stretch;
    }
}
/* TX-PKG-E verification visual stabilizer END */

/* TX-PKG-F local showcase browser list visual repair START */
/* Scope: local_showcase desktop/browser only. Mobile list is not shown on desktop. */
body.theme-profile-local-showcase {
    --txf-browser-shell: 1180px;
    --txf-browser-card-bg: rgba(15, 20, 32, .96);
    --txf-browser-line: rgba(255,255,255,.10);
    --txf-browser-gold: #d9b66c;
    --txf-browser-muted: rgba(247,242,231,.72);
}

@media screen and (min-width: 769px) {
    body.theme-profile-local-showcase .mobile-showcase-list-section {
        display: none !important;
    }

    body.theme-profile-local-showcase .desktop-showcase-section {
        display: block !important;
        max-width: var(--txf-browser-shell);
    }

    body.theme-profile-local-showcase .local-showcase-board {
        padding-top: 34px;
    }

    body.theme-profile-local-showcase .grid-featured-slots {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big {
        display: grid !important;
        grid-template-columns: 44% 56% !important;
        min-height: 320px !important;
        height: 100% !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        background: var(--txf-browser-card-bg) !important;
        border: 1px solid var(--txf-browser-line) !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big .card-image {
        height: 320px !important;
        min-height: 320px !important;
        aspect-ratio: auto !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big .card-body {
        min-width: 0 !important;
        padding: 26px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big h3 {
        font-size: clamp(26px, 2.4vw, 38px) !important;
        line-height: 1.08 !important;
        margin-bottom: 12px !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big p {
        font-size: 15px !important;
        line-height: 1.55 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-local-showcase .grid-small {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .grid-small .showcase-card {
        height: 100% !important;
        border-radius: 22px !important;
        background: var(--txf-browser-card-bg) !important;
        border: 1px solid var(--txf-browser-line) !important;
    }

    body.theme-profile-local-showcase .grid-small .showcase-card .card-image {
        height: 230px !important;
        min-height: 230px !important;
        aspect-ratio: auto !important;
    }

    body.theme-profile-local-showcase .grid-small .showcase-card .card-body {
        padding: 20px !important;
    }

    body.theme-profile-local-showcase .list-cards {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list {
        display: grid !important;
        grid-template-columns: 158px minmax(0, 1fr) !important;
        min-height: 158px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        background: var(--txf-browser-card-bg) !important;
        border: 1px solid var(--txf-browser-line) !important;
        box-shadow: 0 16px 40px rgba(0,0,0,.20) !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list .card-image {
        height: 158px !important;
        min-height: 158px !important;
        aspect-ratio: auto !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list .card-body {
        min-width: 0 !important;
        padding: 16px 16px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list .card-location {
        margin: 0 !important;
        color: var(--txf-browser-gold) !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list h3 {
        margin: 0 !important;
        font-size: 19px !important;
        line-height: 1.16 !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list h3 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list p {
        margin: 0 !important;
        color: var(--txf-browser-muted) !important;
        font-size: 13px !important;
        line-height: 1.42 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-local-showcase .showcase-card .card-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-top: 6px !important;
    }

    body.theme-profile-local-showcase .showcase-card .card-actions .btn {
        min-height: 38px !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.theme-profile-local-showcase .showcase-card .card-image,
    body.theme-profile-local-showcase .showcase-card .mobile-side-image {
        overflow: hidden !important;
        background: rgba(0,0,0,.24) !important;
    }

    body.theme-profile-local-showcase .showcase-card .card-image img,
    body.theme-profile-local-showcase .showcase-card .mobile-side-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.theme-profile-local-showcase .showcase-card .mobile-side-image {
        display: none !important;
    }

    @media screen and (max-width: 1040px) {
        body.theme-profile-local-showcase .grid-featured-slots {
            grid-template-columns: 1fr !important;
        }
        body.theme-profile-local-showcase .grid-small,
        body.theme-profile-local-showcase .list-cards {
            grid-template-columns: 1fr !important;
        }
        body.theme-profile-local-showcase .list-cards .showcase-card.card-list {
            grid-template-columns: 150px minmax(0, 1fr) !important;
        }
    }
}
/* TX-PKG-F local showcase browser list visual repair END */

/* TX-UNIFIED-MAIN-POOL-LOCAL-CARD-SOURCE END */

/* unified-showcase-reflection-v4: browser grouping labels */
.unified-selected-section .badge-slot-big,.unified-selected-section .badge-slot-small,.unified-showcase-board .badge-slot-big,.unified-showcase-board .badge-slot-small{font-size:0;color:transparent}
.unified-selected-section .badge-slot-big:after,.unified-selected-section .badge-slot-small:after,.unified-showcase-board .badge-slot-big:after,.unified-showcase-board .badge-slot-small:after{content:'Seçkin';font-size:.78rem;color:inherit}
.unified-selected-section .card-selected{height:100%}
.unified-list-section .card-source-context small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* TX-MAIN-POOL-BROWSER-CARD-SIZE-FIX-v5 START
   Scope: main_pool desktop/browser only.
   Purpose: prevent huge poster-like cards on tekirdagamp.xyz while keeping shared Premium / Seckin / Liste logic. */
@media screen and (min-width: 769px) {
    body.theme-profile-main-pool.theme-slug-main-pool .mobile-showcase-list-section {
        display: none !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .desktop-showcase-section {
        display: block !important;
        max-width: 1160px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .local-showcase-board,
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-selected-section,
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-list-section {
        padding-top: 28px !important;
        padding-bottom: 18px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium {
        display: grid !important;
        grid-template-columns: 44% 56% !important;
        min-height: 300px !important;
        max-height: 360px !important;
        height: auto !important;
        border-radius: 22px !important;
        overflow: hidden !important;
        background: rgba(10, 12, 20, .96) !important;
        border: 1px solid rgba(231, 189, 114, .42) !important;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium .card-image {
        display: block !important;
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 360px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, #222632, #12151d) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-image img,
    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .mobile-side-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .mobile-side-image {
        display: none !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card .card-body {
        min-width: 0 !important;
        padding: 22px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card h3 {
        margin: 0 !important;
        font-size: clamp(22px, 1.75vw, 30px) !important;
        line-height: 1.12 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card p {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        background: rgba(10, 12, 20, .94) !important;
        border: 1px solid rgba(231, 189, 114, .28) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card .card-image {
        display: block !important;
        width: 100% !important;
        height: 205px !important;
        min-height: 205px !important;
        max-height: 205px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, #222632, #12151d) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card .card-body,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card .card-body {
        min-width: 0 !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card h3,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card h3 {
        margin: 0 !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card h3 a,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card h3 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-small .showcase-card p,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.38 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list {
        display: grid !important;
        grid-template-columns: 138px minmax(0, 1fr) !important;
        min-height: 138px !important;
        max-height: 178px !important;
        height: auto !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        background: rgba(10, 12, 20, .94) !important;
        border: 1px solid rgba(231, 189, 114, .22) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-image {
        display: block !important;
        width: 138px !important;
        height: 138px !important;
        min-height: 138px !important;
        max-height: 138px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, #222632, #12151d) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-body {
        min-width: 0 !important;
        padding: 13px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list h3 {
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.16 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list h3 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list p,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-source-context small {
        display: none !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-location,
    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-source-context,
    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-source-context span {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-top: 6px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-actions .btn {
        min-height: 36px !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    @media screen and (max-width: 1120px) {
        body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots,
        body.theme-profile-main-pool.theme-slug-main-pool .grid-small,
        body.theme-profile-main-pool.theme-slug-main-pool .grid-selected,
        body.theme-profile-main-pool.theme-slug-main-pool .list-cards {
            grid-template-columns: 1fr !important;
        }
        body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big,
        body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium {
            max-height: none !important;
        }
        body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list {
            grid-template-columns: 130px minmax(0, 1fr) !important;
        }
        body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-image {
            width: 130px !important;
            height: 130px !important;
            min-height: 130px !important;
            max-height: 130px !important;
        }
    }
}
/* TX-MAIN-POOL-BROWSER-CARD-SIZE-FIX-v5 END */

/* TX-MAIN-POOL-HERO-LAYOUT-FIX-v6 START */
/* Scope: main domain browser only. Purpose: professional hero/search/stat distribution. */
@media screen and (min-width: 769px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-main.hero-gateway.main-pool-hero {
        min-height: auto !important;
        padding: clamp(74px, 7vw, 118px) 0 clamp(54px, 5vw, 82px) !important;
        display: block !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(1180px, calc(100vw - 64px)) !important;
        margin: 0 auto !important;
        display: grid !important;
        grid-template-columns: minmax(420px, .95fr) minmax(420px, .82fr) !important;
        grid-template-areas:
            "copy search"
            "stats stats" !important;
        align-items: center !important;
        gap: 28px 56px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy {
        grid-area: copy !important;
        max-width: 560px !important;
        align-self: center !important;
        padding: 0 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy .eyebrow,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy .eyebrow {
        margin-bottom: 14px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy h1,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy h1 {
        margin: 0 0 14px !important;
        max-width: 620px !important;
        font-size: clamp(58px, 5.4vw, 84px) !important;
        line-height: .94 !important;
        letter-spacing: -.055em !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy > p:not(.eyebrow),
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy > p:not(.eyebrow) {
        max-width: 500px !important;
        margin-bottom: 26px !important;
        font-size: 17px !important;
        line-height: 1.55 !important;
        color: rgba(245, 248, 255, .82) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy .hero-actions,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy .hero-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        align-items: center !important;
        margin-top: 0 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy .hero-actions .btn,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy .hero-actions .btn {
        min-width: 122px !important;
        min-height: 48px !important;
        padding: 0 22px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel {
        grid-area: search !important;
        width: 100% !important;
        max-width: 468px !important;
        justify-self: end !important;
        margin: 0 !important;
        padding: 24px !important;
        border-radius: 24px !important;
        align-self: center !important;
        box-shadow: 0 26px 80px rgba(0,0,0,.28) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel label {
        margin-bottom: 14px !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px !important;
        align-items: stretch !important;
        margin-bottom: 14px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box input,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box .btn {
        min-height: 48px !important;
        border-radius: 13px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-results {
        display: grid !important;
        gap: 10px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-result {
        min-height: 72px !important;
        padding: 13px 14px !important;
        border-radius: 16px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-note {
        margin: 14px 0 0 !important;
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats {
        grid-area: stats !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-self: start !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats span,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats span {
        min-height: 82px !important;
        margin: 0 !important;
        padding: 18px 20px !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats b,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats b {
        font-size: 28px !important;
        line-height: 1 !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1180px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(980px, calc(100vw - 44px)) !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "copy"
            "search"
            "stats" !important;
        gap: 22px !important;
    }
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel {
        justify-self: stretch !important;
        max-width: 100% !important;
    }
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* TX-MAIN-POOL-HERO-LAYOUT-FIX-v6 END */

/* TX-MAIN-POOL-HERO-COPY-COMPACT-v7 START */
/* Scope: main domain browser only. Purpose: compact upper area and public-facing language layout. */
@media screen and (min-width: 769px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-main.hero-gateway.main-pool-hero {
        padding: clamp(48px, 4.8vw, 76px) 0 clamp(30px, 3vw, 48px) !important;
        min-height: auto !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(1120px, calc(100vw - 72px)) !important;
        grid-template-columns: minmax(390px, .92fr) minmax(380px, 430px) !important;
        gap: 20px 48px !important;
        align-items: center !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy {
        max-width: 520px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy .eyebrow,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy .eyebrow {
        margin-bottom: 10px !important;
        padding: 7px 14px !important;
        font-size: 15px !important;
        letter-spacing: .09em !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy h1,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy h1 {
        font-size: clamp(48px, 4.2vw, 66px) !important;
        margin-bottom: 12px !important;
        line-height: .98 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy > p:not(.eyebrow),
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy > p:not(.eyebrow) {
        max-width: 460px !important;
        margin-bottom: 20px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-copy .hero-actions .btn,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-copy.main-pool-copy .hero-actions .btn {
        min-height: 42px !important;
        min-width: 112px !important;
        padding: 0 18px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel {
        max-width: 420px !important;
        padding: 20px !important;
        border-radius: 20px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel label {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box {
        margin-bottom: 11px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box input,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box .btn {
        min-height: 43px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-result {
        min-height: 62px !important;
        padding: 11px 13px !important;
        border-radius: 14px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-result span {
        font-size: 10px !important;
        letter-spacing: .09em !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-result strong {
        font-size: 15px !important;
        line-height: 1.1 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-result small {
        font-size: 12px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-note {
        margin-top: 11px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        color: rgba(232, 238, 255, .72) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats {
        gap: 10px !important;
        margin-top: 2px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats span,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats span {
        min-height: 62px !important;
        padding: 13px 16px !important;
        border-radius: 14px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats b,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats b {
        font-size: 24px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool #vitrinler,
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-desktop-section,
    body.theme-profile-main-pool.theme-slug-main-pool .local-showcase-board.desktop-showcase-section.main-pool-board {
        margin-top: 0 !important;
        padding-top: 26px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-desktop-section .section-title,
    body.theme-profile-main-pool.theme-slug-main-pool .local-showcase-board.desktop-showcase-section.main-pool-board .section-title {
        margin-bottom: 16px !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1180px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(940px, calc(100vw - 44px)) !important;
        gap: 18px !important;
    }
}
/* TX-MAIN-POOL-HERO-COPY-COMPACT-v7 END */

/* TX-BROWSER-TIER-CARD-SIZE-FINAL START
   Scope: browser/desktop only. Do not affect mobile.css or mobile viewport. */
@media screen and (min-width: 769px) {
    /* Browser: premium cards are the largest tier. */
    body.theme-profile-local-showcase .grid-featured-slots,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots {
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big,
    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-premium,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium {
        display: grid !important;
        grid-template-columns: 44% minmax(0, 56%) !important;
        height: 340px !important;
        min-height: 340px !important;
        max-height: 340px !important;
        overflow: hidden !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
    }

    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-big .card-image,
    body.theme-profile-local-showcase .grid-featured-slots .showcase-card.card-premium .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-big .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots .showcase-card.card-premium .card-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    /* Browser: selected-list cards use the list-card form, only slightly larger than normal list. */
    body.theme-profile-local-showcase .grid-selected,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .grid-selected .showcase-card.card-selected,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected {
        display: grid !important;
        grid-template-columns: 178px minmax(0, 1fr) !important;
        height: 178px !important;
        min-height: 178px !important;
        max-height: 178px !important;
        overflow: hidden !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected {
        grid-template-columns: 182px minmax(0, 1fr) !important;
        height: 182px !important;
        min-height: 182px !important;
        max-height: 182px !important;
    }

    body.theme-profile-local-showcase .grid-selected .showcase-card.card-selected .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected .card-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    body.theme-profile-local-showcase .grid-selected .showcase-card.card-selected .card-body,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected .card-body {
        min-width: 0 !important;
        padding: 16px 17px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    body.theme-profile-local-showcase .grid-selected .showcase-card.card-selected h3,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected h3 {
        margin: 0 !important;
        font-size: 18px !important;
        line-height: 1.16 !important;
    }

    body.theme-profile-local-showcase .grid-selected .showcase-card.card-selected p,
    body.theme-profile-main-pool.theme-slug-main-pool .grid-selected .showcase-card.card-selected p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.38 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Browser: normal list cards are the most compact tier. */
    body.theme-profile-local-showcase .list-cards,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list {
        display: grid !important;
        grid-template-columns: 146px minmax(0, 1fr) !important;
        height: 146px !important;
        min-height: 146px !important;
        max-height: 146px !important;
        overflow: hidden !important;
        align-items: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list {
        grid-template-columns: 150px minmax(0, 1fr) !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list .card-image,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list .card-body,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list .card-body {
        min-width: 0 !important;
        padding: 13px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list h3,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list h3 {
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.15 !important;
    }

    body.theme-profile-local-showcase .list-cards .showcase-card.card-list p,
    body.theme-profile-main-pool.theme-slug-main-pool .list-cards .showcase-card.card-list p {
        display: none !important;
    }

    body.theme-profile-local-showcase .showcase-card .card-image img,
    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .card-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.theme-profile-local-showcase .showcase-card .mobile-side-image,
    body.theme-profile-main-pool.theme-slug-main-pool .showcase-card .mobile-side-image {
        display: none !important;
    }

    @media screen and (max-width: 1120px) {
        body.theme-profile-local-showcase .grid-featured-slots,
        body.theme-profile-local-showcase .grid-selected,
        body.theme-profile-local-showcase .list-cards,
        body.theme-profile-main-pool.theme-slug-main-pool .grid-featured-slots,
        body.theme-profile-main-pool.theme-slug-main-pool .grid-selected,
        body.theme-profile-main-pool.theme-slug-main-pool .list-cards {
            grid-template-columns: 1fr !important;
        }
    }
}
/* TX-BROWSER-TIER-CARD-SIZE-FINAL END */

/* TX-BROWSER-HEADER-SEARCH-HIDE-ONLY START
   Scope: browser.css only. Hide only the logo-side header search on browser/desktop.
   Does not affect gateway/hero search panels or mobile.css. */
@media screen and (min-width: 769px) {
    .site-header .header-mobile-search,
    .site-header .header-inline-search,
    .site-header .header-search,
    .site-header .mobile-header-search {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}
/* TX-BROWSER-HEADER-SEARCH-HIDE-ONLY END */

/* TX-MAIN-POOL-BROWSER-HERO-WIDTH-BALANCE-FINAL START
   Scope: main domain browser only. Balance hero search panel and stat cards.
   Mobile, local domains, list cards and PHP output are not affected. */
@media screen and (min-width: 769px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(1240px, calc(100vw - 56px)) !important;
        grid-template-columns: minmax(500px, 1fr) minmax(470px, 520px) !important;
        gap: 26px 58px !important;
        align-items: center !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel {
        width: 100% !important;
        max-width: 520px !important;
        justify-self: stretch !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-box {
        grid-template-columns: minmax(0, 1fr) 96px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-stats span,
    body.theme-profile-main-pool.theme-slug-main-pool .gateway-stats.main-pool-stats span {
        min-width: 0 !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .site-header .header-inner,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header .container,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header .wrap {
        max-width: min(1240px, calc(100vw - 32px)) !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .site-header .nav,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header nav {
        gap: 16px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .site-header .nav a,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header nav a {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .site-header .nav .nav-advertiser-login,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header nav .nav-advertiser-login,
    body.theme-profile-main-pool.theme-slug-main-pool .site-header .nav a[href*="advertiser"],
    body.theme-profile-main-pool.theme-slug-main-pool .site-header nav a[href*="advertiser"] {
        padding-left: 20px !important;
        padding-right: 20px !important;
        min-width: 0 !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1180px) {
    body.theme-profile-main-pool.theme-slug-main-pool .main-pool-hero .main-pool-wrap,
    body.theme-profile-main-pool.theme-slug-main-pool .hero-gateway .gateway-wrap.main-pool-wrap {
        max-width: min(980px, calc(100vw - 44px)) !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "copy"
            "search"
            "stats" !important;
        gap: 20px !important;
    }

    body.theme-profile-main-pool.theme-slug-main-pool .gateway-search-panel {
        max-width: 100% !important;
        justify-self: stretch !important;
    }
}
/* TX-MAIN-POOL-BROWSER-HERO-WIDTH-BALANCE-FINAL END */
