/* Shared homepage atmosphere. Other pages and installed-app layouts are scoped out. */
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-container {
    background: linear-gradient(135deg,rgba(236,246,255,.10),rgba(182,216,241,.035));
    border: 1px solid rgba(209,231,250,.22);
    border-radius: 28px;
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    box-shadow: 0 24px 70px rgba(0,10,24,.18),inset 0 1px 0 rgba(255,255,255,.12);
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-stats-ribbon {
    background: linear-gradient(135deg,rgba(240,249,255,.13),rgba(184,218,244,.045)) !important;
    border: 1px solid rgba(209,231,250,.24) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0,10,24,.10),inset 0 1px 0 rgba(255,255,255,.1) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-cta .cp-btn-pill {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 8px 20px rgba(0,10,24,.12) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-cta .cp-btn-blue {
    background: linear-gradient(135deg,rgba(114,159,232,.86),rgba(66,106,173,.72)) !important;
    border-color: rgba(179,209,255,.5) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-cta .cp-btn-white {
    background: linear-gradient(135deg,rgba(236,246,255,.16),rgba(182,216,241,.07)) !important;
    border-color: rgba(209,231,250,.3) !important;
}

@media (min-width: 768px) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-container {
        max-width: 1200px !important;
        padding: 40px !important;
    }
}

@media (max-width: 767.98px) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-hero { padding-inline: 14px !important; }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-container {
        padding: 24px 16px !important;
        border-radius: 24px;
    }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-web-title {
        font-size: clamp(28px,8.2vw,36px) !important;
    }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-stats-ribbon .stat-lbl {
        font-size: 7px !important;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-hero-container { background: rgba(26,54,79,.94); }
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-hero {
    background: radial-gradient(ellipse at 88% 22%, rgba(39,119,185,.48), transparent 43%), radial-gradient(ellipse at 78% 100%, rgba(18,132,131,.3), transparent 48%), linear-gradient(115deg,#061525 0%,#102943 55%,#123e56 100%) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-portal-background { display: none; }

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(6,21,37,.65),transparent 70%);
    z-index: 2;
    pointer-events: none;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 200%;
    top: -60%;
    right: -10%;
    transform: rotate(-28deg);
    background: linear-gradient(90deg,transparent 25%,rgba(145,216,255,.07) 48%,rgba(145,216,255,.12) 50%,transparent 75%);
    pointer-events: none;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene .cp-court-lines {
    border: 2px solid rgba(132,216,241,.55);
    background: linear-gradient(90deg,transparent calc(50% - 1px),rgba(160,231,246,.38) 50%,transparent calc(50% + 1px)),linear-gradient(0deg,transparent calc(50% - 1px),rgba(160,231,246,.45) 50%,transparent calc(50% + 1px)),linear-gradient(145deg,rgba(27,104,143,.28),rgba(27,134,133,.16));
    box-shadow: 0 0 28px rgba(57,178,217,.13),inset 0 0 70px rgba(57,178,217,.08);
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-court-lines > span {
    border-color: rgba(159,232,246,.42);
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-court-lines::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 8px);
    height: 16px;
    background: repeating-linear-gradient(90deg,rgba(194,236,250,.24) 0 1px,transparent 1px 7px);
    border-block: 1px solid rgba(194,236,250,.3);
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-court-ball {
    opacity: .9;
    box-shadow: 0 0 30px rgba(208,237,132,.25),0 16px 34px rgba(0,0,0,.2);
}

@media (min-width: 1024px) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene .cp-court-lines {
        width: 440px;
        height: 620px;
        right: 4%;
        top: 80px;
        transform: perspective(950px) rotateX(35deg) rotateZ(-25deg);
        border-radius: 14px;
    }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-court-grain {
        opacity: .3;
        background-size: 28px 28px;
    }
}

@media (max-width: 767.98px) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene .cp-court-lines {
        right: -265px;
        opacity: .42;
    }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero-court-scene::before {
        background: linear-gradient(90deg,rgba(6,21,37,.45),transparent);
    }
}

html:not(.pbpi-mobile-app) .pbpi-home-page {
    --home-ink: #132b49;
    --home-line: #e0e8f4;
    background: #f3f6fb !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home > section {
    position: relative;
    isolation: isolate;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-arc-section {
    background: radial-gradient(ellipse at 100% 0, #dfebfa, transparent 40%), linear-gradient(180deg, #f0f5fc, #f8fafc 70%) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-news-section {
    background: radial-gradient(ellipse at 0 15%, #e3edf9, transparent 40%), linear-gradient(160deg, #f8fafc, #edf4fa) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-faq-section {
    background: radial-gradient(ellipse at 100% 60%, #deeeef, transparent 45%), linear-gradient(160deg, #fff, #f4f7fc) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-cta-banner {
    background: linear-gradient(180deg, #f4f7fc, #eaf1f9) !important;
    padding-block: 40px !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page :is(.cp-news-section, .cp-faq-section)::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 40px;
    right: 0;
    width: min(55vw, 360px);
    height: 360px;
    opacity: .45;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113,157,216,.18), transparent 70%);
    animation: cp-atmosphere-drift 20s ease-in-out infinite alternate;
    animation-play-state: paused;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-faq-section::before {
    background: radial-gradient(circle, rgba(72,164,173,.17), transparent 70%);
    animation-delay: -10s;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-in-view::before { animation-play-state: running; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-court-light,
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero .cp-court-ball { animation-play-state: paused; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero.cp-in-view .cp-court-light,
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-hero.cp-in-view .cp-court-ball { animation-play-state: running; }

html:not(.pbpi-mobile-app) .pbpi-home-page :is(.cp-analytics-card, .cp-pillar-card, .cp-bento-card, .pbpi-mission-card, .cp-contact-card, .cp-news-card) {
    background: rgba(255,255,255,.98) !important;
    border-color: var(--home-line) !important;
    box-shadow: 0 10px 34px rgba(27,54,88,.055) !important;
    transition: box-shadow .25s ease, border-color .25s ease;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-polish-enter {
    animation: cp-card-arrive .65s cubic-bezier(.2,.7,.2,1) both;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-faq-item {
    background: #fff !important;
    border-color: var(--home-line) !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-faq-btn:not(.collapsed) {
    background: #edf3fc !important;
    color: #294f85 !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-faq-btn .bi { transition: transform .25s ease; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-faq-btn:not(.collapsed) .bi { transform: rotate(180deg); }

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-cta-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 100% 0,#2c6081,transparent 60%),linear-gradient(135deg,#10233f,#183754) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-cta-inner::before {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: -220px;
    top: -160px;
    border: 1px solid rgba(175,217,243,.15);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(175,217,243,.025),0 0 0 90px rgba(175,217,243,.025);
    animation: cp-atmosphere-drift 18s ease-in-out infinite alternate;
    animation-play-state: paused;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-cta-banner.cp-in-view .cp-cta-inner::before { animation-play-state: running; }

html:not(.pbpi-mobile-app) .pbpi-home-page .pbpi-footer {
    background: radial-gradient(ellipse at 0 100%,#e0ebf8,transparent 60%),#f7f9fc !important;
    color: var(--home-ink) !important;
    border-top: 1px solid #dce6f2 !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-grid-row {
    background: #fff !important;
    border-bottom: 1px solid #e0e8f4;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-btn-pill {
    transition: box-shadow .22s ease, transform .22s ease;
}

html:not(.pbpi-mobile-app) .pbpi-home-page :is(a,button):focus-visible {
    outline: 3px solid #7da9e8;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    html:not(.pbpi-mobile-app) .pbpi-home-page :is(.cp-pillar-card,.cp-bento-card,.pbpi-mission-card,.cp-contact-card,.cp-news-card):hover {
        border-color: #c6d8ee !important;
        box-shadow: 0 18px 42px rgba(27,54,88,.11) !important;
    }
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-btn-pill:hover { transform: translateY(-2px); }
}

@keyframes cp-atmosphere-drift {
    from { transform: translate3d(0,0,0) scale(.9); }
    to { transform: translate3d(-20px,24px,0) scale(1.08); }
}
@keyframes cp-card-arrive {
    from { opacity: .55; translate: 0 14px; }
    to { opacity: 1; translate: 0 0; }
}

html:not(.pbpi-mobile-app) .pbpi-home-page.cp-page-hidden :is(.cp-court-light,.cp-court-ball),
html:not(.pbpi-mobile-app) .pbpi-home-page.cp-page-hidden :is(.cp-news-section,.cp-faq-section,.cp-cta-inner)::before { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    html:not(.pbpi-mobile-app) .pbpi-home-page *,
    html:not(.pbpi-mobile-app) .pbpi-home-page *::before,
    html:not(.pbpi-mobile-app) .pbpi-home-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Full homepage glass surfaces. */
html:not(.pbpi-mobile-app) .pbpi-home-page header.public-header:is(.cp-header-scrolled, .is-scrolled, .scrolled-visible) {
    background: rgba(246,250,255,.82) !important;
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    border-color: rgba(255,255,255,.65) !important;
    box-shadow: 0 8px 30px rgba(8,27,52,.13),inset 0 1px 0 rgba(255,255,255,.8) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home :is(.cp-analytics-card,.cp-pillar-card,.cp-bento-card,.pbpi-mission-card,.cp-contact-card,.cp-news-card,.cp-faq-item,.cp-faq-video-card) {
    background: linear-gradient(135deg,rgba(255,255,255,.85),rgba(245,250,255,.63)) !important;
    border-color: rgba(255,255,255,.9) !important;
    backdrop-filter: blur(12px) saturate(115%);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    box-shadow: 0 12px 32px rgba(27,54,88,.065),inset 0 1px 0 rgba(255,255,255,.9) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home :is(.cp-ranking-panel,.cp-partner-card,.cp-tourney-ticket,.cp-pathway-flow,.cp-card-metric-box,.cp-contact-card,.cp-hof-card) {
    background: rgba(247,251,255,.62) !important;
    border-color: rgba(211,227,244,.75) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85),0 4px 16px rgba(27,54,88,.035) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-faq-btn:not(.collapsed) {
    background: rgba(213,230,252,.52) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cluster-home .cp-cta-inner {
    background: radial-gradient(ellipse at 100% 0,rgba(66,129,160,.55),transparent 65%),linear-gradient(135deg,rgba(16,35,63,.95),rgba(24,55,84,.88)) !important;
    border: 1px solid rgba(203,227,250,.28) !important;
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    box-shadow: 0 20px 40px rgba(16,35,63,.15),inset 0 1px 0 rgba(224,242,255,.15) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .pbpi-footer {
    background: radial-gradient(ellipse at 100% 0,#285476,transparent 65%),linear-gradient(135deg,#10233f,#183754) !important;
    color: #e2ecf9 !important;
    border-top: 1px solid rgba(203,227,250,.24) !important;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-main {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(209,231,250,.16);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    margin-block: 24px;
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-grid-row {
    background: rgba(239,247,255,.93) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-main :is(.cp-footer-brand-title,.cp-footer-col h5) { color: #f4f8ff !important; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-main :is(.cp-footer-brand-sub,.cp-footer-bio,.cp-footer-col a) { color: #c9d9ec !important; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-main .cp-footer-col a:hover { color: #fff !important; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-giant-watermark { color: rgba(195,218,247,.14) !important; }
html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-giant-watermark span { color: inherit !important; }

@media (max-width: 767.98px) {
    html:not(.pbpi-mobile-app) .pbpi-home-page .cp-footer-main { margin-inline: 12px; padding: 24px 16px !important; }
}

