/* Mobile storefront and theme-safe order support fixes. */

/* The support-code control must stay readable in every light and dark theme. */
html[data-theme] body.ampol-app .ampol-support-code__copy {
    border: 1px solid color-mix(in srgb, var(--theme-accent) 44%, var(--theme-line)) !important;
    background:
        linear-gradient(135deg, var(--theme-panel-strong), color-mix(in srgb, var(--theme-accent) 10%, var(--theme-panel-soft))) !important;
    color: var(--theme-text) !important;
    -webkit-text-fill-color: var(--theme-text) !important;
    box-shadow: inset 0 1px color-mix(in srgb, #fff 10%, transparent), 0 10px 24px var(--theme-shadow) !important;
}
html[data-theme] body.ampol-app .ampol-support-code__number {
    color: var(--theme-text) !important;
    -webkit-text-fill-color: var(--theme-text) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
html[data-theme] body.ampol-app .ampol-support-code__action {
    border: 1px solid color-mix(in srgb, var(--theme-accent) 34%, transparent) !important;
    border-radius: .6rem !important;
    padding: .38rem .55rem !important;
    background: var(--theme-accent-soft) !important;
    color: var(--theme-accent-text) !important;
    -webkit-text-fill-color: var(--theme-accent-text) !important;
}
html[data-theme] body.ampol-app .ampol-support-code__copy:is(:hover, :focus-visible) {
    border-color: var(--theme-accent) !important;
    outline: 3px solid var(--theme-accent-soft) !important;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    /* Keep every discounted pack on one swipeable row, with two cards visible. */
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 9px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px 1px 14px !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding-inline: 1px;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail::-webkit-scrollbar {
        display: none;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item {
        width: calc((100% - 9px) / 2) !important;
        min-width: calc((100% - 9px) / 2) !important;
        max-width: calc((100% - 9px) / 2) !important;
        flex: 0 0 calc((100% - 9px) / 2) !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item > .store-product-card {
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
    }
}

@media (max-width: 700px) {
    /* Keep the order-status story inside the viewport and above mobile chrome. */
    html[data-theme] body.is-home-route .v13-advantage-section {
        overflow: clip !important;
        padding: 52px 0 calc(112px + env(safe-area-inset-bottom)) !important;
    }
    html[data-theme] body.is-home-route .v13-editorial-head,
    html[data-theme] body.is-home-route .v13-editorial-head > div,
    html[data-theme] body.is-home-route .v13-advantage-grid {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    html[data-theme] body.is-home-route .v13-editorial-head h2 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(1.62rem, 8.1vw, 2.2rem) !important;
        line-height: 1.35 !important;
        letter-spacing: -.035em !important;
        overflow-wrap: anywhere;
    }
    html[data-theme] body.is-home-route .v13-editorial-head small {
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }
    html[data-theme] body.is-home-route .v13-ops-panel.v1218-hero-art {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 16px 12px 18px !important;
        border-radius: 22px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__head {
        gap: 8px !important;
        padding-bottom: 14px !important;
        letter-spacing: .1em !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route {
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        margin: 30px 0 26px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route > span {
        width: 100% !important;
        min-width: 0 !important;
        gap: 7px !important;
        text-align: center !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route > span > i {
        width: 42px !important;
        height: 42px !important;
        border-radius: 13px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route small {
        max-width: 100% !important;
        font-size: 6px !important;
        line-height: 1.55 !important;
        white-space: normal !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric {
        min-width: 0 !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric span {
        min-width: 0 !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric :is(small, b) {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric b {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 390px) {
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail {
        gap: 7px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item {
        width: calc((100% - 7px) / 2) !important;
        min-width: calc((100% - 7px) / 2) !important;
        max-width: calc((100% - 7px) / 2) !important;
        flex-basis: calc((100% - 7px) / 2) !important;
    }
}

/* Compact homepage chapters requested for phone-sized screens. */
@media (max-width: 700px) {
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-section {
        min-height: 0 !important;
        padding-block: 22px 28px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-section .page-shell {
        width: min(100% - 18px, 1440px) !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        gap: 9px !important;
        margin-bottom: 12px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-head > div > p {
        color: #63e6b5 !important;
        -webkit-text-fill-color: #63e6b5 !important;
        font-size: 7px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-head h2 {
        margin-top: 7px !important;
        color: #f7fffc !important;
        -webkit-text-fill-color: #f7fffc !important;
        font-size: clamp(1.25rem, 6.5vw, 1.65rem) !important;
        line-height: 1.25 !important;
        text-shadow: 0 4px 24px rgba(0, 0, 0, .34) !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-head > div > small {
        display: block !important;
        margin-top: 5px !important;
        color: #c1d0d8 !important;
        -webkit-text-fill-color: #c1d0d8 !important;
        font-size: 7px !important;
        line-height: 1.55 !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-head > a {
        width: auto !important;
        min-height: 34px !important;
        border-color: rgba(99, 230, 181, .38) !important;
        border-radius: 10px !important;
        padding: 0 9px !important;
        background: rgba(8, 27, 23, .82) !important;
        color: #f3fff9 !important;
        -webkit-text-fill-color: #f3fff9 !important;
        font-size: 7px !important;
        white-space: nowrap;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail {
        gap: 7px !important;
        padding: 1px 1px 7px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item {
        width: calc((100% - 7px) / 2) !important;
        min-width: calc((100% - 7px) / 2) !important;
        max-width: calc((100% - 7px) / 2) !important;
        flex-basis: calc((100% - 7px) / 2) !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item > .store-product-card {
        height: auto !important;
        border-radius: 13px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__visual {
        aspect-ratio: 1.75 / 1 !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .product-art-copy.is-compact strong {
        font-size: clamp(1.05rem, 6.3vw, 1.45rem) !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__body {
        min-height: 116px !important;
        padding: 7px 8px 8px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__delivery {
        min-height: 10px !important;
        font-size: 6px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__body > a:not(.store-product-card__cta) {
        min-height: 28px !important;
        margin-top: 3px !important;
        color: #f7fffc !important;
        -webkit-text-fill-color: #f7fffc !important;
        font-size: 9px !important;
        line-height: 1.45 !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__footer {
        margin-top: 3px !important;
        padding-top: 5px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .shop-price-original {
        color: #aebcb8 !important;
        -webkit-text-fill-color: #aebcb8 !important;
        font-size: 6px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .shop-price-sale {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 11px !important;
    }
    html[data-theme] body.is-home-route .home-v13-pro .v1218-deals-rail__item .store-product-card__cta {
        min-height: 28px !important;
        margin-top: 5px !important;
        border-radius: 9px !important;
        font-size: 7px !important;
    }

    html[data-theme] body.is-home-route .v13-advantage-section {
        min-height: 0 !important;
        padding: 22px 0 28px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-section .page-shell {
        width: min(100% - 18px, 1440px) !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-section .v13-editorial-head {
        gap: 0 !important;
        margin-bottom: 10px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-section .v13-editorial-head h2 {
        margin-top: 5px !important;
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-section .v13-editorial-head small {
        margin-top: 4px !important;
        font-size: 7px !important;
        line-height: 1.5 !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-grid {
        gap: 7px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel.v1218-hero-art {
        min-height: 0 !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__head {
        padding-bottom: 7px !important;
        font-size: 6px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route {
        margin: 13px 0 11px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route > span {
        gap: 4px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route > span > i {
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route > span.is-done > i::after {
        top: -7px !important;
        right: -7px !important;
        width: 16px !important;
        height: 16px !important;
        border-width: 2px !important;
        font-size: 7px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__route small {
        font-size: 5px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric {
        gap: 7px !important;
        padding: 7px 8px !important;
        border-radius: 11px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric span {
        gap: 3px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric small {
        font-size: 6px !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric b {
        font-size: 10px !important;
        line-height: 1.35 !important;
    }
    html[data-theme] body.is-home-route .v13-ops-panel__metric > :is(a,strong) {
        padding: 5px 7px !important;
        font-size: 6px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article {
        grid-template-columns: 1fr !important;
        align-content: start !important;
        justify-items: center !important;
        gap: 5px !important;
        min-height: 86px !important;
        border-radius: 12px !important;
        padding: 7px 5px !important;
        text-align: center !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article > span {
        font-size: 2rem !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article > i {
        width: 26px !important;
        height: 26px !important;
        border-radius: 8px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article > i svg {
        width: 14px !important;
        height: 14px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article > div {
        gap: 3px !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article b {
        font-size: 8px !important;
        line-height: 1.35 !important;
    }
    html[data-theme] body.is-home-route .v13-advantage-cards article small {
        display: -webkit-box !important;
        overflow: hidden !important;
        font-size: 5px !important;
        line-height: 1.35 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* Graphic Arena versus banner. */
body.is-home-route .v1218-arena-section{padding-block:clamp(34px,5vw,66px)!important}
body.is-home-route .ampol-arena-versus{position:relative;isolation:isolate;display:block!important;min-height:clamp(330px,38vw,480px)!important;overflow:hidden;border:1px solid color-mix(in srgb,var(--theme-accent) 42%,rgba(255,255,255,.16))!important;border-radius:32px!important;padding:0!important;background:#020a10!important;box-shadow:0 28px 78px rgba(0,0,0,.34),0 0 46px color-mix(in srgb,var(--theme-accent) 12%,transparent)!important}
body.is-home-route .ampol-arena-versus>img{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.04) contrast(1.04)}
body.is-home-route .ampol-arena-versus__shade{position:absolute;z-index:-2;inset:0;background:linear-gradient(180deg,rgba(1,6,10,.18),transparent 38%,rgba(2,8,13,.92) 100%),linear-gradient(90deg,rgba(4,38,23,.24),transparent 42%,rgba(5,24,49,.2))}
body.is-home-route .ampol-arena-versus__matchup{position:absolute;z-index:2;inset:22px 24px auto;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:14px;direction:ltr}
body.is-home-route .ampol-arena-versus__matchup>span{display:grid;gap:3px;width:max-content;max-width:100%;border:1px solid rgba(255,255,255,.17);border-radius:12px;padding:8px 11px;background:rgba(2,8,13,.62);box-shadow:0 10px 25px rgba(0,0,0,.24);backdrop-filter:blur(10px)}
body.is-home-route .ampol-arena-versus__matchup>span:last-child{justify-self:end;text-align:right}
body.is-home-route .ampol-arena-versus__matchup small{color:rgba(255,255,255,.72);font:900 7px/1 Figtree,sans-serif;letter-spacing:.14em}
body.is-home-route .ampol-arena-versus__matchup b{color:#fff;font:1000 10px/1.2 Figtree,sans-serif;letter-spacing:.08em}
body.is-home-route .ampol-arena-versus__matchup .is-freefire{border-color:rgba(74,222,128,.38)}
body.is-home-route .ampol-arena-versus__matchup .is-freefire b{color:#7bf0a8}
body.is-home-route .ampol-arena-versus__matchup .is-cod{border-color:rgba(56,189,248,.38)}
body.is-home-route .ampol-arena-versus__matchup .is-cod b{color:#7dd9ff}
body.is-home-route .ampol-arena-versus__matchup>i{display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:radial-gradient(circle,#152332,#060c13 70%);box-shadow:0 0 0 6px rgba(255,255,255,.05),0 0 38px rgba(255,255,255,.23);color:#fff;font-style:normal}
body.is-home-route .ampol-arena-versus__matchup>i em{font:1000 15px/1 Figtree,sans-serif;font-style:normal;letter-spacing:-.05em}
body.is-home-route .ampol-arena-versus__copy{position:absolute;z-index:2;right:clamp(18px,4vw,48px);bottom:clamp(18px,3vw,34px);left:clamp(18px,4vw,48px);color:#fff;text-align:right}
body.is-home-route .ampol-arena-versus__copy>p{display:flex;align-items:center;gap:8px;color:#78edbb;font:950 8px/1 Figtree,sans-serif;letter-spacing:.18em}
body.is-home-route .ampol-arena-versus__copy>p i{width:28px;height:1px;background:currentColor;box-shadow:0 0 12px currentColor}
body.is-home-route .ampol-arena-versus__copy h2{margin-top:9px;color:#fff;font-size:clamp(1.65rem,4vw,3rem);font-weight:1000;line-height:1.2;text-shadow:0 5px 26px #000}
body.is-home-route .ampol-arena-versus__copy h2 strong{color:#6de6b6}
body.is-home-route .ampol-arena-versus__copy>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:14px}
body.is-home-route .ampol-arena-versus__copy>div>span{border:1px solid rgba(255,255,255,.17);border-radius:99px;padding:6px 9px;background:rgba(2,8,13,.54);color:rgba(255,255,255,.82);font-size:7px;font-weight:850;backdrop-filter:blur(8px)}
body.is-home-route .ampol-arena-versus__copy a{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:16px;margin-inline-start:4px;border:1px solid rgba(110,231,183,.5);border-radius:11px;padding:0 13px;background:#55d6a2;color:#04120d!important;font-size:8px;font-weight:1000;box-shadow:0 9px 24px rgba(50,215,154,.24)}

@media(max-width:700px){
    body.is-home-route .v1218-arena-section{padding-block:24px!important}
    body.is-home-route .v1218-arena-section .page-shell{width:min(100% - 18px,1440px)!important}
    body.is-home-route .ampol-arena-versus{min-height:270px!important;border-radius:21px!important}
    body.is-home-route .ampol-arena-versus>img{object-position:center}
    body.is-home-route .ampol-arena-versus__matchup{inset:10px 10px auto;gap:6px}
    body.is-home-route .ampol-arena-versus__matchup>span{gap:2px;border-radius:8px;padding:5px 6px}
    body.is-home-route .ampol-arena-versus__matchup small{font-size:5px}
    body.is-home-route .ampol-arena-versus__matchup b{font-size:6px}
    body.is-home-route .ampol-arena-versus__matchup>i{width:34px;height:34px;box-shadow:0 0 0 4px rgba(255,255,255,.05),0 0 24px rgba(255,255,255,.2)}
    body.is-home-route .ampol-arena-versus__matchup>i em{font-size:10px}
    body.is-home-route .ampol-arena-versus__copy{right:13px;bottom:12px;left:13px}
    body.is-home-route .ampol-arena-versus__copy>p{font-size:6px}
    body.is-home-route .ampol-arena-versus__copy h2{margin-top:6px;font-size:18px}
    body.is-home-route .ampol-arena-versus__copy>div{gap:5px;margin-top:8px}
    body.is-home-route .ampol-arena-versus__copy>div>span{padding:4px 6px;font-size:5px}
    body.is-home-route .ampol-arena-versus__copy a{min-height:31px;gap:10px;margin-inline-start:0;border-radius:9px;padding:0 9px;font-size:7px}
}

/* High-visibility official social channels replace the old generic final CTA. */
body.is-home-route .ampol-social-section {
    position: relative;
    padding-block: clamp(54px, 7vw, 92px) !important;
}
body.is-home-route .ampol-social-hub {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--theme-accent) 34%, var(--theme-line));
    border-radius: clamp(24px, 3vw, 38px);
    padding: clamp(24px, 4vw, 52px);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-panel-strong) 94%, #07192a), color-mix(in srgb, var(--theme-panel) 87%, #101b3e));
    box-shadow: 0 28px 80px var(--theme-shadow), inset 0 1px color-mix(in srgb, #fff 12%, transparent);
}
body.is-home-route .ampol-social-hub::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .3;
    background-image: linear-gradient(color-mix(in srgb, var(--theme-accent) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--theme-accent) 12%, transparent) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
}
body.is-home-route .ampol-social-hub__orb {
    position: absolute;
    z-index: -1;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .19;
    pointer-events: none;
    animation: ampolSocialFloat 7s ease-in-out infinite;
}
body.is-home-route .ampol-social-hub__orb.is-one { inset: -110px auto auto -70px; background: #2aabee; }
body.is-home-route .ampol-social-hub__orb.is-two { inset: auto -80px -120px auto; background: #ff2d78; animation-delay: -3.5s; }
body.is-home-route .ampol-social-hub__head { position: relative; z-index: 2; text-align: center; }
body.is-home-route .ampol-social-hub__head p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--theme-accent-text);
    font: 950 .58rem/1 Figtree, sans-serif;
    letter-spacing: .2em;
}
body.is-home-route .ampol-social-hub__head p span { width: 36px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
body.is-home-route .ampol-social-hub__head h2 { margin-top: 13px; color: var(--theme-text); font-size: clamp(1.75rem, 4vw, 3.5rem); font-weight: 1000; line-height: 1.25; }
body.is-home-route .ampol-social-hub__head small { display: block; margin-top: 10px; color: var(--theme-muted); font-size: clamp(.65rem, 1vw, .82rem); line-height: 2; }
body.is-home-route .ampol-social-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 4vw, 40px); }
body.is-home-route .ampol-social-card {
    --social: var(--theme-accent);
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 112px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--social) 42%, var(--theme-line));
    border-radius: 20px;
    padding: 15px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--social) 12%, var(--theme-panel-soft)), color-mix(in srgb, var(--theme-panel-strong) 94%, transparent));
    color: var(--theme-text) !important;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--social) 12%, transparent), inset 0 1px color-mix(in srgb, #fff 10%, transparent);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
body.is-home-route .ampol-social-card::after {
    content: "";
    position: absolute;
    inset: -80% auto -80% -65%;
    width: 42%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.23), transparent);
    transition: left .65s ease;
}
body.is-home-route .ampol-social-card.is-telegram { --social: #2aabee; }
body.is-home-route .ampol-social-card.is-instagram { --social: #ed3f83; }
body.is-home-route .ampol-social-card.is-rubika { --social: #8b5cf6; }
body.is-home-route .ampol-social-card.is-youtube { --social: #ff3040; }
body.is-home-route .ampol-social-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: color-mix(in srgb, var(--social) 20%, var(--theme-panel)); color: color-mix(in srgb, var(--social) 78%, white); box-shadow: 0 0 24px color-mix(in srgb, var(--social) 22%, transparent); }
body.is-home-route .ampol-social-card__icon svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
body.is-home-route .ampol-social-card__icon svg :is(rect, circle) { fill: none; }
body.is-home-route .ampol-social-card__icon svg .is-fill { fill: currentColor; stroke: none; }
body.is-home-route .ampol-social-card__icon svg .is-cut { fill: var(--theme-panel-strong); stroke: none; }
body.is-home-route .ampol-social-card__copy { display: grid; min-width: 0; gap: 3px; }
body.is-home-route .ampol-social-card__copy small { overflow: hidden; color: color-mix(in srgb, var(--social) 74%, var(--theme-text)); font: 900 .43rem/1.2 Figtree, sans-serif; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; }
body.is-home-route .ampol-social-card__copy b { color: var(--theme-text); font-size: .9rem; font-weight: 1000; }
body.is-home-route .ampol-social-card__copy em { overflow: hidden; color: var(--theme-muted); font: 750 .55rem/1.4 Figtree, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
body.is-home-route .ampol-social-card > i { color: color-mix(in srgb, var(--social) 72%, var(--theme-text)); font-size: 1rem; font-style: normal; transition: transform .25s ease; }
body.is-home-route .ampol-social-card:is(:hover, :focus-visible) { z-index: 3; border-color: var(--social); box-shadow: 0 18px 42px color-mix(in srgb, var(--social) 25%, transparent), inset 0 1px rgba(255,255,255,.16); outline: none; transform: translateY(-6px) scale(1.015); }
body.is-home-route .ampol-social-card:is(:hover, :focus-visible)::after { left: 125%; }
body.is-home-route .ampol-social-card:is(:hover, :focus-visible) > i { transform: translate(2px, -2px); }

@media (max-width: 900px) {
    body.is-home-route .ampol-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    body.is-home-route .ampol-social-section { padding-block: 42px calc(112px + env(safe-area-inset-bottom)) !important; }
    body.is-home-route .ampol-social-hub { border-radius: 24px; padding: 22px 14px; }
    body.is-home-route .ampol-social-hub__head h2 { font-size: 1.65rem; }
    body.is-home-route .ampol-social-hub__head small { font-size: .62rem; }
    body.is-home-route .ampol-social-grid { gap: 8px; margin-top: 22px; }
    body.is-home-route .ampol-social-card { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; min-height: 94px; border-radius: 16px; padding: 11px 9px; }
    body.is-home-route .ampol-social-card__icon { width: 38px; height: 38px; border-radius: 12px; }
    body.is-home-route .ampol-social-card__icon svg { width: 20px; height: 20px; }
    body.is-home-route .ampol-social-card__copy b { font-size: .72rem; }
    body.is-home-route .ampol-social-card__copy small { font-size: .35rem; }
    body.is-home-route .ampol-social-card__copy em { font-size: .46rem; }
    body.is-home-route .ampol-social-card > i { display: none; }
}
@keyframes ampolSocialFloat { 50% { transform: translate3d(18px, 12px, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
    body.is-home-route .ampol-social-hub__orb { animation: none !important; }
    body.is-home-route .ampol-social-card { transition: none !important; }
}
