/* Navigation returns immediately while the Home catalog stays mounted. */
.storefront-section-enter { animation: none !important; }

/* Keep the large, already-mounted Home catalog from scaling/fading on tab changes. */
#home-sec.animate-fade-in { animation: none !important; }

/* Compact currency selector beside the wallet. */
.currency-switch {
    position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 38px;
    padding: 0 9px 0 11px; border: 1px solid rgba(16,185,129,.3); border-radius: 999px;
    color: #087b59; background: rgba(236,253,245,.92);
    box-shadow: 0 0 14px rgba(16,185,129,.12), inset 0 1px 0 rgba(255,255,255,.7);
    animation: pp-currency-glow 2s ease-in-out infinite;
}
.currency-switch select { width: 62px; min-width: 0; padding: 0 12px 0 0; border: 0; outline: 0; appearance: none; color: inherit; background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; }
.currency-switch select:disabled { opacity: .58; cursor: not-allowed; }
.currency-switch > i { position: absolute; right: 7px; font-size: 8px; pointer-events: none; }
html[data-theme="dark"] .currency-switch { border-color: rgba(52,211,153,.35); color: #a7f3d0; background: rgba(6,78,59,.35); }
@keyframes pp-currency-glow { 0%,100% { box-shadow: 0 0 10px rgba(16,185,129,.1), inset 0 1px 0 rgba(255,255,255,.68); } 50% { box-shadow: 0 0 18px rgba(16,185,129,.28), inset 0 1px 0 rgba(255,255,255,.8); } }
@media (max-width: 380px) {
    .currency-switch { min-height: 34px; padding-left: 8px; padding-right: 7px; }
    .currency-switch select { width: 54px; font-size: 9px; }
    #user-header-actions { gap: 5px !important; }
    #user-header-actions > button[aria-label^="Wallet"] { padding-left: 7px !important; padding-right: 7px !important; font-size: 9px; }
    #user-header-actions .header-add-balance-btn { padding-left: 8px !important; padding-right: 8px !important; }
}

/* The logo gets a watery highlight clipped inside its mark. */
.brand-lockup { position: relative; overflow: hidden; isolation: isolate; border-radius: 50%; }
.brand-lockup::before { content: ""; position: absolute; z-index: 2; top: 5px; left: 5px; width: 19px; height: 19px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.84), rgba(136,221,255,.25) 40%, transparent 76%); opacity: .35; animation: pp-logo-corner-glint 2s ease-in-out infinite; }
.brand-lockup::after {
    content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,.08) 40%, rgba(255,255,255,.92) 49%, rgba(176,239,255,.58) 53%, transparent 65%);
    -webkit-mask: url("../images/prime-panel-logo.png") center / contain no-repeat;
    mask: url("../images/prime-panel-logo.png") center / contain no-repeat;
    mix-blend-mode: screen; opacity: 0; transform: translateX(-125%);
    animation: pp-brand-glass-shine 1s ease-in-out infinite;
}
.brand-lockup:focus-visible { outline: 3px solid rgba(59,130,246,.6); outline-offset: 3px; }
@keyframes pp-logo-corner-glint { 0%,100% { opacity: .25; transform: scale(.78); } 50% { opacity: .95; transform: scale(1.08); } }
@keyframes pp-brand-glass-shine { 0%,42% { opacity: 0; transform: translateX(-125%); } 49% { opacity: .86; } 66%,100% { opacity: 0; transform: translateX(125%); } }

/* Gold glow on the Most Popular star. */
.catalog-category-tab.is-popular-tab { border-color: rgba(244,179,31,.4); }
.catalog-category-tab.is-popular-tab > i { color: #e8a900; text-shadow: 0 0 7px rgba(255,205,60,.56), 0 0 16px rgba(255,190,25,.3); animation: pp-popular-star 2s ease-in-out infinite; }
html[data-theme="dark"] .catalog-category-tab.is-popular-tab > i { color: #ffd35a; }
@keyframes pp-popular-star { 0%,100% { transform: translateY(0) rotate(-5deg); filter: drop-shadow(0 0 3px rgba(255,198,41,.36)); } 50% { transform: translateY(-2px) rotate(7deg); filter: drop-shadow(0 0 8px rgba(255,198,41,.88)); } }

/* Individually glowing, gently floating support cards below recent orders. */
#app-content .home-support-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 10px; margin: 18px auto 26px; padding: 0 2px; }
#app-content .home-support-cards .support-card {
    position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 112px; flex-direction: column; justify-content: center;
    gap: 7px; overflow: hidden; padding: 12px 7px; border: 1px solid rgba(148,163,184,.22); border-radius: 17px;
    text-align: center; background: rgba(255,255,255,.92);
    box-shadow: 0 8px 22px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.86);
    animation: pp-support-dance 4.6s ease-in-out infinite, pp-support-glow 2s ease-in-out infinite;
    animation-delay: 0s, 0s;
}
#app-content .home-support-cards .support-card:nth-child(2) { animation-delay: .24s, .32s; }
#app-content .home-support-cards .support-card:nth-child(3) { animation-delay: .48s, .64s; }
#app-content .home-support-cards .support-card:nth-child(4) { animation-delay: .72s, .96s; }
#app-content .home-support-cards .support-card::before {
    content: ""; position: absolute; z-index: 0; inset: -60% -55%; pointer-events: none;
    background: linear-gradient(112deg, transparent 12%, rgba(255,255,255,.08) 24%, rgba(255,255,255,.28) 34%, rgba(255,255,255,.58) 42%, rgba(255,255,255,.82) 50%, rgba(220,248,255,.72) 58%, rgba(177,235,255,.48) 67%, rgba(255,255,255,.18) 76%, transparent 88%);
    transform: translateX(-110%) rotate(12deg); animation: pp-support-sheen 10.4s cubic-bezier(.38,0,.22,1) infinite; will-change: transform, opacity;
}
#app-content .home-support-cards .support-card > * { position: relative; z-index: 1; }
#app-content .home-support-cards .support-card:hover { border-color: rgba(59,130,246,.38); box-shadow: 0 12px 28px rgba(15,23,42,.13), 0 0 20px rgba(80,180,255,.16); }
#app-content .home-support-cards .support-card .icon { width: 44px; height: 44px; min-width: 44px; border: 1px solid rgba(148,163,184,.18); border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 5px 16px rgba(15,23,42,.1); }
#app-content .home-support-cards .support-card .icon svg { width: 31px; height: 31px; }
#app-content .home-support-cards #home-email .icon { color: inherit; background: rgba(255,255,255,.94); }
#app-content .home-support-cards .gmail-mark { width: 34px; height: 34px; }
#app-content .home-support-cards .support-card .meta { align-items: center; gap: 3px; }
#app-content .home-support-cards .support-card .label { color: #2367b8 !important; font-size: 10px; font-weight: 900; }
#app-content .home-support-cards .support-card .title { max-width: 100%; color: #334155 !important; font-size: 9px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
#app-content .home-support-cards #home-email .title { font-size: 9px !important; white-space: nowrap !important; overflow-wrap: normal !important; }
#app-content .home-support-cards #home-email, #app-content .home-support-cards.has-instagram #home-instagram { grid-column: auto !important; }
html[data-theme="dark"] #app-content .home-support-cards .support-card { border-color: rgba(148,163,184,.2); background: rgba(20,29,45,.92); box-shadow: 0 8px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] #app-content .home-support-cards .support-card .title { color: #edf3fb !important; }
html[data-theme="dark"] #app-content .home-support-cards .support-card .icon { border-color: rgba(148,163,184,.2); background: rgba(255,255,255,.92); }
@keyframes pp-support-dance { 0%,100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes pp-support-glow { 0%,100% { box-shadow: 0 8px 22px rgba(15,23,42,.08), 0 0 8px rgba(59,130,246,.06), inset 0 1px 0 rgba(255,255,255,.86); } 50% { box-shadow: 0 10px 26px rgba(15,23,42,.11), 0 0 18px rgba(71,174,255,.24), inset 0 1px 0 rgba(255,255,255,.95); } }
@keyframes pp-support-sheen { 0%,12% { transform: translateX(-110%) rotate(12deg); opacity: 0; } 19% { opacity: .72; } 78% { transform: translateX(110%) rotate(12deg); opacity: .22; } 86%,100% { transform: translateX(110%) rotate(12deg); opacity: 0; } }
@media (max-width: 380px) {
    #app-content .home-support-cards { gap: 6px; }
    #app-content .home-support-cards .support-card { min-height: 104px; padding: 9px 4px; }
    #app-content .home-support-cards .support-card .label { font-size: 9px; }
    #app-content .home-support-cards .support-card .title { font-size: 8px; }
}

/* Fast, soft Prime Panel logo reveal for the website and installed web app. */
body.site-intro-running .login-intro-overlay {
    background: radial-gradient(ellipse at center, rgba(250,251,253,.72) 0%, rgba(248,250,252,.48) 34%, rgba(248,250,252,.12) 72%, transparent 100%);
}
body.site-intro-running .login-intro-overlay::before,
body.site-intro-running .login-intro-overlay::after { animation-duration: 1450ms !important; }
body.site-intro-running .login-intro-ripple { animation-duration: 1350ms !important; }
body.site-intro-running .login-intro-mark img {
    animation: pp-premium-logo-reveal 1450ms cubic-bezier(.2,.72,.25,1) both !important;
    filter: drop-shadow(0 8px 18px rgba(18,36,64,.16)) drop-shadow(0 0 25px rgba(255,255,255,.8)) !important;
}
.login-intro-mark::after { animation-duration: 1250ms !important; animation-delay: 120ms !important; }
@keyframes pp-premium-logo-reveal {
    0% { opacity: 0; transform: translate3d(0,18px,0) scale(.94); }
    24% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
    72% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
    100% { opacity: 0; transform: translate3d(0,-8px,0) scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
    body.site-intro-running .login-intro-mark img { animation: none !important; opacity: 1 !important; transform: none !important; }
    body.site-intro-running .login-intro-overlay::before,
    body.site-intro-running .login-intro-overlay::after,
    body.site-intro-running .login-intro-ripple,
    .login-intro-mark::after { animation: none !important; }
}

/* Slightly longer, brighter, watery intro sweep. */
body.site-intro-running #app-content { animation-duration: 650ms !important; animation-delay: 2050ms !important; }
body.site-intro-running .login-intro-mark img { animation-duration: 2650ms !important; filter: drop-shadow(0 0 22px rgba(255,255,255,.26)) drop-shadow(0 0 34px rgba(88,196,255,.22)); }
.login-intro-mark::after { background: linear-gradient(108deg, transparent 34%, rgba(255,255,255,.24) 43%, rgba(255,255,255,.9) 49%, rgba(220,250,255,.72) 51%, rgba(255,255,255,.18) 59%, transparent 67%); animation-duration: 2200ms; animation-delay: 360ms; }
@keyframes pp-intro-glass-sweep { 0% { transform: translateX(-110%); opacity: 0; } 18% { opacity: .18; } 52% { opacity: .92; } 84% { opacity: .28; } 100% { transform: translateX(110%); opacity: 0; } }

/* Glass announcement: blur the page behind it and leave the title transparent. */
.pp-announcement-overlay { background: rgba(5,12,27,.28) !important; -webkit-backdrop-filter: blur(22px) saturate(1.18) !important; backdrop-filter: blur(22px) saturate(1.18) !important; }
.pp-announcement-card, html[data-theme="dark"] .pp-announcement-card {
    border-color: rgba(164,222,255,.38) !important; background: rgba(17,31,54,.42) !important;
    -webkit-backdrop-filter: blur(30px) saturate(150%) !important; backdrop-filter: blur(30px) saturate(150%) !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.32), 0 0 32px rgba(76,181,255,.12), inset 0 1px 0 rgba(255,255,255,.13) !important;
}
.pp-announcement-card::after { opacity: .2 !important; }
.pp-announcement-brandmark { border-color: rgba(180,225,255,.3) !important; background: rgba(255,255,255,.08) !important; box-shadow: 0 0 20px rgba(77,190,255,.12), inset 0 1px 0 rgba(255,255,255,.12) !important; }
.pp-announcement-content h2, html[data-theme="dark"] .pp-announcement-content h2 { color: #a9ddff !important; background: transparent !important; text-shadow: 0 0 12px rgba(88,192,255,.24), 0 0 24px rgba(120,199,255,.16) !important; }
.pp-announcement-image, html[data-theme="dark"] .pp-announcement-image { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.pp-announcement-message { color: #e1efff !important; }

@media (prefers-reduced-motion: reduce) {
    .currency-switch, .brand-lockup::before, .brand-lockup::after, .catalog-category-tab.is-popular-tab > i,
    #app-content .home-support-cards .support-card, #app-content .home-support-cards .support-card::before,
    body.site-intro-running #app-content, body.site-intro-running .login-intro-mark img,
    .login-intro-mark::after { animation: none !important; translate: none !important; }
}

/* Explicit rules links use clear, accessible blue underlined text. */
.rules-condition-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 12px; color: #64748b; }
.rules-condition-links-top { margin-top: 0; margin-bottom: 12px; }
.rules-condition-link-row { max-width: 100%; overflow-wrap: anywhere; line-height: 1.65; }
.rules-condition-note { white-space: normal; overflow-wrap: anywhere; line-height: 1.7; }
#site-footer #footer-developer-contacts[hidden], #site-footer .pp-footer-email[hidden] { display: none !important; }
.rules-condition-link { color: #1769c2 !important; font-weight: 800; text-decoration: underline !important; text-decoration-thickness: 1.5px !important; text-underline-offset: 3px; overflow-wrap: anywhere; }
.rules-condition-link:hover, .rules-condition-link:focus-visible { color: #0b4f9c !important; text-decoration-thickness: 2px !important; }
html[data-theme="dark"] .rules-condition-link { color: #8dcaff !important; }

/* Keep the visitor card visibly glass-like and defer it above the page after the intro. */
.pp-announcement-overlay { z-index: 200000 !important; background: rgba(5,12,27,.13) !important; -webkit-backdrop-filter: blur(22px) saturate(1.16) !important; backdrop-filter: blur(22px) saturate(1.16) !important; }
.pp-announcement-overlay[hidden] { display: none !important; }
.pp-announcement-card, html[data-theme="dark"] .pp-announcement-card {
    border-color: rgba(176,225,255,.44) !important; background: rgba(18,35,59,.22) !important;
    -webkit-backdrop-filter: blur(32px) saturate(145%) !important; backdrop-filter: blur(32px) saturate(145%) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.28), 0 0 30px rgba(76,181,255,.12), inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.pp-announcement-card::after { opacity: .045 !important; }
.pp-announcement-content h2, html[data-theme="dark"] .pp-announcement-content h2 { color: #b8e4ff !important; background: transparent !important; text-shadow: 0 0 12px rgba(88,192,255,.34), 0 0 24px rgba(120,199,255,.18) !important; }
.pp-announcement-message { color: #f0f7ff !important; text-shadow: 0 1px 8px rgba(4,12,24,.62); }

/* Two-second glow cycles use long easing curves to avoid sharp, rapid flashes. */
.brand-lockup::before { animation-duration: 2s !important; animation-timing-function: cubic-bezier(.42,0,.58,1) !important; }
.brand-lockup::after { animation-duration: 2s !important; animation-timing-function: cubic-bezier(.42,0,.58,1) !important; }
#app-content .home-support-cards .support-card { animation-duration: 5.8s, 2s !important; animation-timing-function: cubic-bezier(.42,0,.58,1), cubic-bezier(.42,0,.58,1) !important; }
#app-content .home-support-cards .support-card::before { animation-duration: 10.4s !important; animation-timing-function: cubic-bezier(.38,0,.22,1) !important; }
.login-intro-mark::after { animation-duration: 2s !important; animation-timing-function: cubic-bezier(.42,0,.58,1) !important; }
body.site-intro-running #app-content { opacity: 1 !important; animation: none !important; will-change: auto; }
body.site-intro-running .login-intro-mark img { animation-duration: 2500ms !important; filter: drop-shadow(0 0 22px rgba(255,255,255,.26)) drop-shadow(0 0 34px rgba(88,196,255,.22)); }

#app-content .home-support-cards #home-instagram .icon svg,
#app-content .home-support-cards #home-discord .icon svg { width: 30px; height: 30px; }
#app-content .home-support-cards #home-instagram .icon i,
#app-content .home-support-cards #home-discord .icon i { color: #fff; font-size: 23px; line-height: 1; }
#app-content .home-support-cards #home-discord .icon { color: #fff; background: #5865f2; box-shadow: 0 5px 14px rgba(88,101,242,.22); }
#app-content .home-support-cards #home-discord .icon i { font-size: 22px; }
#app-content .home-support-cards .support-card[hidden],
#contact-sec .contact-social-grid > a[hidden],
#contact-sec .contact-page-notice[hidden] { display: none !important; }

/* A calmer, more official contact card, scoped to this section only. */
#contact-sec .contact-page-card { border-color: rgba(148,163,184,.24); border-radius: 20px; background: linear-gradient(180deg,#fff 0%,#fbfdff 100%); box-shadow: 0 12px 34px rgba(15,23,42,.075); }
#contact-sec .contact-page-kicker { margin: 0 0 9px; color: #2563a9; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
#contact-sec .contact-page-subtitle { margin: 0 0 14px; color: #718096; font-size: 11px; line-height: 1.5; text-align: center; }
#contact-sec .contact-help-heading { margin: 18px 0 9px; color: #344256; font-size: 12px; font-weight: 850; letter-spacing: .02em; }
#contact-sec .contact-page-notice { padding: 12px 14px; border: 1px solid #dbeafe; border-radius: 14px; background: #f5f9ff; color: #536174; font-size: 12px; line-height: 1.75; }
#contact-sec .contact-social-grid > a { min-height: 48px; border-radius: 13px; background: #f8fafc; box-shadow: 0 3px 12px rgba(15,23,42,.035); transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
#contact-sec .contact-social-grid > a:hover { transform: translateY(-1px); border-color: #cbd5e1; background: #fff; box-shadow: 0 8px 18px rgba(15,23,42,.075); }
#contact-sec .contact-social-icon { width: 20px; height: 20px; flex: 0 0 auto; }
#contact-sec #contact-us-section { margin-top: 20px; margin-bottom: 12px; letter-spacing: -.01em; }
html[data-theme="dark"] #contact-sec .contact-page-card { border-color: rgba(148,163,184,.18); background: linear-gradient(180deg,#172235,#121c2e); }
html[data-theme="dark"] #contact-sec .contact-page-kicker { color: #93c5fd; }
html[data-theme="dark"] #contact-sec .contact-page-subtitle,
html[data-theme="dark"] #contact-sec .contact-help-heading { color: #cbd5e1; }
html[data-theme="dark"] #contact-sec .contact-page-notice { border-color: rgba(96,165,250,.24); background: rgba(30,64,175,.12); color: #cbd5e1; }
html[data-theme="dark"] #contact-sec .contact-social-grid > a { border-color: rgba(148,163,184,.18); background: #1b2639; }

/* Keep the wallet heading compact so the amount and receiving method controls stay in view. */
#addmoney-sec > div:first-child > .addmoney-title-card { flex: 0 1 auto; width: max-content; max-width: calc(100% - 108px); padding: 7px 9px; }
#addmoney-sec .add-balance-title { font-size: 1rem !important; line-height: 1.2; }
html[data-theme="dark"] #addmoney-sec > div:first-child > .addmoney-title-card { background: linear-gradient(145deg,#142b2b,#17283a 65%,#172237) !important; }

@media (prefers-reduced-motion: reduce) {
    .brand-lockup::before, .brand-lockup::after, #app-content .home-support-cards .support-card,
    #app-content .home-support-cards .support-card::before, .login-intro-mark::after,
    body.site-intro-running #app-content, body.site-intro-running .login-intro-mark img { animation: none !important; }
}

/* Final overrides keep the web-app logo entrance short and the background soft. */
body.site-intro-running .login-intro-overlay {
    background: radial-gradient(ellipse at center, rgba(250,251,253,.72) 0%, rgba(248,250,252,.48) 34%, rgba(248,250,252,.12) 72%, transparent 100%);
}
body.site-intro-running .login-intro-overlay::before,
body.site-intro-running .login-intro-overlay::after { animation-duration: 1450ms !important; }
body.site-intro-running .login-intro-ripple { animation-duration: 1350ms !important; }
body.site-intro-running .login-intro-mark img {
    animation: pp-premium-logo-reveal 1450ms cubic-bezier(.2,.72,.25,1) both !important;
    filter: drop-shadow(0 8px 18px rgba(18,36,64,.16)) drop-shadow(0 0 25px rgba(255,255,255,.8)) !important;
}
.login-intro-mark::after { animation-duration: 1250ms !important; animation-delay: 120ms !important; }
@keyframes pp-premium-logo-reveal {
    0% { opacity: 0; transform: translate3d(0,18px,0) scale(.94); }
    24% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
    72% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
    100% { opacity: 0; transform: translate3d(0,-8px,0) scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
    body.site-intro-running .login-intro-mark img { animation: none !important; opacity: 1 !important; transform: none !important; }
    body.site-intro-running .login-intro-overlay::before,
    body.site-intro-running .login-intro-overlay::after,
    body.site-intro-running .login-intro-ripple,
    .login-intro-mark::after { animation: none !important; }
}
/* Android intro is native. Do not replay the website logo animation during app handoff. */
html.pp-android-app #login-intro-overlay { display: none !important; }
html.pp-android-app body.site-intro-running #app-content { opacity: 1 !important; animation: none !important; }

/* Browser notification permission reminder; permission requests remain tap-triggered. */
.pp-push-reminder[hidden],
.pp-push-reminder-account-note[hidden],
.pp-push-instructions[hidden] { display: none !important; }
.pp-push-reminder {
    position: fixed; inset: 0; z-index: 250020; display: grid; place-items: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    overflow: auto; background: rgba(3, 9, 23, .72);
    -webkit-backdrop-filter: blur(12px) saturate(125%); backdrop-filter: blur(12px) saturate(125%);
}
.pp-push-reminder-card {
    --pp-modal-blue: #1688ff; --pp-modal-cyan: #36c7ff;
    position: relative; isolation: isolate; width: min(100%, 470px);
    max-height: calc(100vh - 24px); max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #24528e transparent;
    padding: 24px 22px 20px; border: 1px solid rgba(81, 160, 255, .68); border-radius: 27px;
    color: #e8f2ff; text-align: center;
    background: radial-gradient(ellipse at 50% -20%, rgba(19, 104, 221, .3), transparent 52%), linear-gradient(155deg, #0c1d3b 0%, #07152e 58%, #081a35 100%);
    box-shadow: 0 28px 90px rgba(0, 6, 20, .62), 0 0 36px rgba(12, 105, 255, .16), inset 0 1px 0 rgba(190, 224, 255, .16);
    animation: pp-push-card-in .22s cubic-bezier(.2,.75,.25,1) both;
}
.pp-push-reminder-card::before,
.pp-push-reminder-card::after { position: absolute; z-index: 0; right: 16px; left: 16px; height: 1px; content: ""; pointer-events: none; }
.pp-push-reminder-card > :not(.pp-push-reminder-close) { position: relative; z-index: 1; }
.pp-push-reminder-card::before { top: 0; background: linear-gradient(90deg, transparent, rgba(50, 178, 255, .82), transparent); }
.pp-push-reminder-card::after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(20, 105, 255, .72), transparent); }
.pp-push-reminder-close {
    position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; width: 36px; height: 36px;
    padding: 0; border: 1px solid rgba(137, 182, 235, .3); border-radius: 50%; color: #d9eaff;
    background: rgba(14, 35, 68, .76); cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pp-push-reminder-close:hover { transform: rotate(6deg); border-color: rgba(82, 174, 255, .75); background: rgba(24, 72, 132, .9); }
.pp-push-reminder-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pp-push-reminder-icon {
    display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px;
    border: 1px solid rgba(59, 165, 255, .5); border-radius: 19px; color: #eaf7ff;
    background: linear-gradient(145deg, rgba(19, 117, 242, .35), rgba(5, 29, 64, .88));
    box-shadow: 0 0 22px rgba(13, 126, 255, .27), inset 0 1px 0 rgba(216, 243, 255, .2);
}
.pp-push-reminder-icon svg { width: 31px; height: 31px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pp-push-reminder-icon svg path + path { fill: none; }
.pp-push-reminder-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #b4d5ff; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.pp-push-reminder-kicker-mark { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #e4faff; background: linear-gradient(145deg,#19baf5,#1672ec); font-size: 11px; letter-spacing: 0; }
.pp-push-reminder-card h2 { margin: 0; padding: 0 18px; color: #f5f9ff; font-size: clamp(21px, 5vw, 26px); line-height: 1.2; font-weight: 850; letter-spacing: -.025em; }
.pp-push-reminder-copy { margin: 10px 0 17px; color: #b9cbe3; font-size: 14px; line-height: 1.55; }
.pp-push-reminder-account-note { margin: -3px 0 15px; padding: 10px 12px; border: 1px solid rgba(64, 149, 255, .35); border-radius: 13px; color: #c8e2ff; background: rgba(11, 42, 83, .72); font-size: 12px; font-weight: 650; line-height: 1.55; text-align: left; }
.pp-push-instructions { margin: 0 0 16px; padding: 5px 13px; border: 1px solid rgba(84, 143, 218, .48); border-radius: 18px; background: linear-gradient(145deg, rgba(4, 17, 39, .92), rgba(7, 25, 54, .94)); box-shadow: inset 0 1px 0 rgba(178, 213, 255, .07); text-align: left; }
.pp-push-instruction-row { display: grid; grid-template-columns: 30px 30px 1px minmax(0, 1fr) 18px; align-items: center; gap: 10px; min-height: 55px; }
.pp-push-instruction-row + .pp-push-instruction-row { border-top: 1px solid rgba(77, 129, 195, .23); }
.pp-push-step-number { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(90, 194, 255, .9); border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 25%, #20c3ff, #0869e9 74%); box-shadow: 0 0 12px rgba(15, 129, 255, .28); font-size: 14px; font-weight: 850; }
.pp-push-step-icon { width: 27px; height: 27px; overflow: visible; fill: none; stroke: #edf7ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-push-step-icon-bell { stroke-width: 1.8; }
.pp-push-step-toggle { width: 30px; height: 24px; }
.pp-push-step-toggle rect { fill: #1278ed; stroke: #75c7ff; stroke-width: 1.3; }
.pp-push-step-toggle circle { fill: #f5fbff; stroke: #d2eaff; stroke-width: 1; }
.pp-push-step-divider { align-self: stretch; width: 1px; margin: 12px 0; background: linear-gradient(180deg, transparent, rgba(43, 148, 255, .85), transparent); }
.pp-push-step-label { min-width: 0; color: #cbd9eb; font-size: 14px; line-height: 1.35; }
.pp-push-step-label strong { color: #f4f8ff; font-weight: 780; }
.pp-push-step-chevron { width: 17px; height: 17px; fill: none; stroke: #29aaff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-push-reminder-enable, .pp-push-reminder-dismiss {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px;
    padding: 10px 15px; border-radius: 15px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.pp-push-reminder-enable { border: 1px solid rgba(107, 203, 255, .72); color: #fff; background: linear-gradient(110deg, #0878f5, #1769eb 55%, #178eea); box-shadow: 0 10px 25px rgba(0, 105, 255, .3), inset 0 1px 0 rgba(226, 247, 255, .24); }
.pp-push-reminder-enable:hover { transform: translateY(-1px); box-shadow: 0 13px 29px rgba(0, 105, 255, .38), inset 0 1px 0 rgba(226, 247, 255, .24); }
.pp-push-reminder-enable:active, .pp-push-reminder-dismiss:active { transform: translateY(1px); }
.pp-push-reminder-enable:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.pp-push-button-bell { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pp-push-button-chevron { width: 18px; height: 18px; margin-left: auto; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-push-reminder-snooze { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 6px 0 0; color: #c3d2e6; font-size: 13px; font-weight: 650; cursor: pointer; }
.pp-push-reminder-snooze input { width: 18px; height: 18px; margin: 0; accent-color: #1688ff; cursor: pointer; }
.pp-push-reminder-dismiss { margin-top: 2px; border: 1px solid rgba(130, 159, 196, .36); color: #b7c6da; background: rgba(8, 23, 46, .72); box-shadow: inset 0 1px 0 rgba(213, 232, 255, .04); }
.pp-push-reminder-dismiss:hover { border-color: rgba(83, 151, 233, .62); color: #e4f1ff; background: rgba(17, 47, 86, .9); }
.pp-push-reminder-dismiss.is-snoozed { border-color: rgba(107, 203, 255, .72); color: #fff; background: linear-gradient(110deg, #0878f5, #1769eb 55%, #178eea); box-shadow: 0 8px 22px rgba(0, 105, 255, .28), inset 0 1px 0 rgba(226, 247, 255, .2); }
.pp-push-reminder-close:focus-visible, .pp-push-reminder-enable:focus-visible, .pp-push-reminder-dismiss:focus-visible, .pp-push-reminder-snooze input:focus-visible { outline: 3px solid #8ddcff; outline-offset: 3px; }
@keyframes pp-push-card-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 360px) {
    .pp-push-reminder-card { padding: 21px 15px 15px; border-radius: 23px; }
    .pp-push-instructions { padding-right: 9px; padding-left: 9px; }
    .pp-push-instruction-row { grid-template-columns: 27px 27px 1px minmax(0, 1fr) 15px; gap: 8px; min-height: 51px; }
    .pp-push-step-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pp-push-reminder-card { animation: none; } .pp-push-reminder-close, .pp-push-reminder-enable, .pp-push-reminder-dismiss { transition: none; } }

/* Foreground push: a compact in-app heads-up that is visible without opening
   Android's notification shade while the customer is already using the store. */
.pp-push-live-toast[hidden] { display: none !important; }
.pp-push-live-toast {
    position: fixed; z-index: 11990; top: max(12px, env(safe-area-inset-top)); left: 50%;
    width: min(calc(100vw - 24px), 440px); display: grid; grid-template-columns: minmax(0,1fr) 38px;
    align-items: start; gap: 4px; padding: 10px; transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.82); border-radius: 20px;
    background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(241,247,255,.97));
    box-shadow: 0 18px 54px rgba(9,25,49,.28), inset 0 1px 0 #fff;
    -webkit-backdrop-filter: blur(16px) saturate(135%); backdrop-filter: blur(16px) saturate(135%);
    animation: pp-push-toast-in .24s cubic-bezier(.18,.8,.22,1) both;
}
.pp-push-live-toast.is-leaving { animation: pp-push-toast-out .18s ease-in both; }
.pp-push-live-toast-open { min-width: 0; display: grid; gap: 4px; padding: 7px 9px 8px; border: 0; text-align: left; color: #1b2b42; background: transparent; cursor: pointer; }
.pp-push-live-toast-kicker { color: #416795; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.pp-push-live-toast-open strong { overflow: hidden; color: #17263c; font-size: 15px; line-height: 1.28; font-weight: 850; text-overflow: ellipsis; }
.pp-push-live-toast-open > span:not(.pp-push-live-toast-kicker):not(.pp-push-live-toast-action) { display: -webkit-box; overflow: hidden; color: #5f6d80; font-size: 12px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pp-push-live-toast-action { margin-top: 2px; color: #205cae; font-size: 11px; font-weight: 800; }
.pp-push-live-toast-close { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e1e8f1; border-radius: 50%; color: #65748a; background: rgba(255,255,255,.72); font-size: 20px; line-height: 1; cursor: pointer; }
html[data-theme="dark"] .pp-push-live-toast { border-color: rgba(183,203,230,.2); background: linear-gradient(145deg,rgba(25,39,60,.98),rgba(17,28,44,.97)); }
html[data-theme="dark"] .pp-push-live-toast-open strong { color: #eef5ff; }
html[data-theme="dark"] .pp-push-live-toast-open > span:not(.pp-push-live-toast-kicker):not(.pp-push-live-toast-action) { color: #bdc9da; }
html[data-theme="dark"] .pp-push-live-toast-close { border-color: #34445d; color: #d4deec; background: rgba(28,42,63,.8); }
@keyframes pp-push-toast-in { from { opacity: 0; transform: translate(-50%,-12px) scale(.985); } to { opacity: 1; transform: translate(-50%,0) scale(1); } }
@keyframes pp-push-toast-out { to { opacity: 0; transform: translate(-50%,-8px) scale(.99); } }
@media (prefers-reduced-motion: reduce) { .pp-push-live-toast, .pp-push-live-toast.is-leaving { animation: none; } }

/* Quiet, dismissible app-install card: stays clear of the bottom navigation. */
.pp-install-nudge[hidden] { display: none !important; }
.pp-install-nudge {
    position: fixed; z-index: 45; right: max(12px, calc((100vw - 448px) / 2 + 12px));
    bottom: calc(78px + env(safe-area-inset-bottom)); width: min(404px, calc(100vw - 24px));
    display: grid; grid-template-columns: 42px minmax(0,1fr) auto 30px; align-items: center; gap: 10px;
    padding: 10px 10px 10px 12px; border: 1px solid rgba(207,219,235,.92); border-radius: 19px;
    color: #17263b; background: rgba(255,255,255,.97); box-shadow: 0 10px 32px rgba(26,42,68,.18), 0 2px 6px rgba(26,42,68,.08);
    -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
    animation: pp-install-nudge-in .2s ease-out both;
}
.pp-install-nudge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #175a9c; background: #edf5ff; }
.pp-install-nudge-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-install-nudge-copy { min-width: 0; display: grid; gap: 2px; }
.pp-install-nudge-kicker { overflow: hidden; color: #59718e; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; }
.pp-install-nudge-copy strong { overflow: hidden; color: #14253c; font-size: 13px; font-weight: 850; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pp-install-nudge-copy > span:last-child { display: -webkit-box; overflow: hidden; color: #64748b; font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pp-install-nudge-action { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #174f8f; border-radius: 12px; color: #fff !important; background: linear-gradient(135deg,#2675c9,#174f9d); box-shadow: 0 3px 8px rgba(28,83,147,.22); font-size: 11px; font-weight: 850; text-decoration: none !important; white-space: nowrap; }
.pp-install-nudge-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e4eaf2; border-radius: 50%; color: #637187; background: #fff; font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.pp-install-nudge-action:focus-visible, .pp-install-nudge-close:focus-visible { outline: 3px solid #72b7ff; outline-offset: 2px; }
html[data-theme="dark"] .pp-install-nudge { border-color: #34445c; color: #eaf1fb; background: rgba(22,34,52,.97); }
html[data-theme="dark"] .pp-install-nudge-icon { color: #a6d0ff; background: #233b5c; }
html[data-theme="dark"] .pp-install-nudge-kicker { color: #a9bdd7; }
html[data-theme="dark"] .pp-install-nudge-copy strong { color: #f3f7fd; }
html[data-theme="dark"] .pp-install-nudge-copy > span:last-child { color: #bfccdc; }
html[data-theme="dark"] .pp-install-nudge-close { border-color: #3a4a62; color: #d5dfec; background: #1b2b42; }
@keyframes pp-install-nudge-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 360px) { .pp-install-nudge { grid-template-columns: 36px minmax(0,1fr) auto 26px; gap: 7px; padding: 8px; border-radius: 16px; } .pp-install-nudge-icon { width: 36px; height: 36px; border-radius: 12px; } .pp-install-nudge-action { min-height: 33px; padding: 0 9px; font-size: 10px; } .pp-install-nudge-close { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .pp-install-nudge { animation: none; } }

/* Product files/setup resources. The card remains a product selector; its
   dedicated action stops bubbling so opening instructions never changes cart selection. */
#products-grid .product-card { flex-direction: column; align-items: stretch; gap: 9px; min-width: 0; padding: 12px; border-radius: 15px; }
#products-grid .product-card-main { width: 100%; flex: 0 0 auto; }
#products-grid .product-card-price { align-self: flex-end; min-height: 20px; }
.pp-product-setup-trigger { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border: 1px solid #bfdbfe; border-radius: 11px; color: #fff; background: linear-gradient(105deg,#2365d1,#6841d7); box-shadow: 0 5px 13px rgba(53,95,194,.17); font: inherit; font-size: 10px; font-weight: 850; letter-spacing: .025em; cursor: pointer; transition: transform .16s ease, filter .16s ease, box-shadow .16s ease; }
.pp-product-setup-trigger:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 17px rgba(53,95,194,.24); }
.pp-product-setup-trigger:active { transform: translateY(0) scale(.985); }
.pp-product-setup-trigger:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pp-product-setup-trigger-arrow { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: rgba(255,255,255,.16); }
html[data-theme="dark"] .pp-product-setup-trigger { border-color: rgba(147,197,253,.34); color: #f4f7ff; background: linear-gradient(105deg,#275cae,#593cb2); }

.pp-product-setup-overlay[hidden] { display: none !important; }
html body.pp-product-setup-active { overflow: hidden; }
.pp-product-setup-overlay { position: fixed; z-index: 200000; inset: 0; display: grid; place-items: center; overflow: auto; padding: max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left)); background: rgba(8,17,33,.68); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.pp-product-setup-overlay.is-open { opacity: 1; visibility: visible; }
.pp-product-setup-dialog { position: relative; width: min(100%,600px); max-height: calc(100dvh - 28px); overflow: auto; padding: 25px; border: 1px solid rgba(255,255,255,.86); border-radius: 24px; color: #18263b; background: linear-gradient(145deg,#fff 0%,#f8fbff 58%,#f2f7ff 100%); box-shadow: 0 28px 90px rgba(0,8,28,.34),inset 0 1px 0 #fff; transform: translateY(8px) scale(.99); transition: transform .18s cubic-bezier(.2,.75,.25,1); }
.pp-product-setup-overlay.is-open .pp-product-setup-dialog { transform: translateY(0) scale(1); }
.pp-product-setup-close { position: absolute; top: 14px; right: 14px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #dce5f0; border-radius: 50%; color: #52627a; background: #fff; cursor: pointer; }
.pp-product-setup-close:focus-visible,.pp-product-setup-link:focus-visible,.pp-product-setup-video:focus-visible { outline: 3px solid #5ea1fa; outline-offset: 3px; }
.pp-product-setup-kicker { display: flex; align-items: center; gap: 7px; margin: 0 48px 6px 0; color: #365d95; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.pp-product-setup-heading { margin: 0 48px 2px 0; color: #16253a; font-size: clamp(22px,5vw,28px); font-weight: 850; line-height: 1.15; letter-spacing: -.025em; }
.pp-product-setup-product-title { margin: 0 0 18px; color: #65748a; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.pp-product-setup-list { display: grid; gap: 10px; }
.pp-product-setup-item { overflow: hidden; border: 1px solid #e1e9f3; border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: 0 5px 16px rgba(21,42,73,.055); }
.pp-product-setup-link,.pp-product-setup-video { display: flex; width: 100%; min-height: 76px; align-items: center; gap: 13px; padding: 12px; border: 0; color: inherit; background: transparent; text-align: left; text-decoration: none; cursor: pointer; }
.pp-product-setup-link:hover,.pp-product-setup-video:hover { background: #f5f9ff; }
.pp-product-setup-link-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid #dbeafe; border-radius: 14px; color: #2367c3; background: #eff6ff; font-size: 15px; }
.pp-product-setup-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.pp-product-setup-number { color: #3d6da7; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.pp-product-setup-copy strong { color: #145cb5; font-size: 13px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.pp-product-setup-description { color: #69788d; font-size: 11px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.pp-product-setup-trailing { flex: 0 0 auto; color: #5f7798; font-size: 12px; }
.pp-product-setup-thumb { width: 116px; flex: 0 0 116px; aspect-ratio: 16/9; border-radius: 11px; }
.pp-product-setup-thumb img { border-radius: inherit; }
.pp-product-setup-thumb-fallback { border-radius: inherit; }
.pp-product-setup-thumb-fallback i { color: #d52c44; }
.pp-product-setup-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.pp-product-setup-play i { display: grid; width: 34px; height: 34px; place-items: center; padding-left: 2px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(19,34,58,.74); box-shadow: 0 3px 10px rgba(0,0,0,.22); font-size: 12px; }
.pp-product-setup-empty { display: grid; justify-items: center; gap: 8px; padding: 24px 18px; border: 1px dashed #cbd8e9; border-radius: 18px; background: rgba(239,246,255,.65); text-align: center; }
.pp-product-setup-empty-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; color: #356da9; background: #e7f1ff; }
.pp-product-setup-empty strong { color: #273b56; font-size: 13px; }
.pp-product-setup-empty p { max-width: 370px; margin: 0; color: #68788e; font-size: 11px; line-height: 1.55; }
.pp-product-setup-footnote { display: flex; align-items: flex-start; gap: 7px; margin: 15px 0 0; color: #6b7a8d; font-size: 10px; line-height: 1.5; }
.pp-product-setup-footnote i { margin-top: 2px; color: #477db9; }
html[data-theme="dark"] .pp-product-setup-dialog { border-color: #3a4c66; color: #edf3fc; background: linear-gradient(145deg,#17253a,#111d30 62%,#14243a); box-shadow: 0 28px 90px rgba(0,0,0,.62),inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] .pp-product-setup-close { border-color: #3c4d65; color: #dce7f6; background: #202f45; }
html[data-theme="dark"] .pp-product-setup-kicker,html[data-theme="dark"] .pp-product-setup-number { color: #9bc8ff; }
html[data-theme="dark"] .pp-product-setup-heading { color: #f1f6ff; }
html[data-theme="dark"] .pp-product-setup-product-title,html[data-theme="dark"] .pp-product-setup-description,html[data-theme="dark"] .pp-product-setup-footnote { color: #bfccdd; }
html[data-theme="dark"] .pp-product-setup-item { border-color: #35465e; background: rgba(28,43,63,.88); }
html[data-theme="dark"] .pp-product-setup-link:hover,html[data-theme="dark"] .pp-product-setup-video:hover { background: #243650; }
html[data-theme="dark"] .pp-product-setup-copy strong { color: #9dcaff; }
html[data-theme="dark"] .pp-product-setup-trailing { color: #a8bed9; }
html[data-theme="dark"] .pp-product-setup-link-icon,html[data-theme="dark"] .pp-product-setup-empty-mark { border-color: #365274; color: #a9d0ff; background: #203a59; }
html[data-theme="dark"] .pp-product-setup-empty { border-color: #3b4d66; background: rgba(25,40,60,.8); }
html[data-theme="dark"] .pp-product-setup-empty strong { color: #e9f1fc; }
html[data-theme="dark"] .pp-product-setup-empty p { color: #bdc9da; }
@media (max-width: 430px) { .pp-product-setup-dialog { padding: 20px 15px; border-radius: 20px; } .pp-product-setup-video { gap: 10px; padding: 9px; } .pp-product-setup-thumb { width: 92px; flex-basis: 92px; } .pp-product-setup-copy strong { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .pp-product-setup-overlay,.pp-product-setup-dialog,.pp-product-setup-trigger { transition: none !important; } }

/* Footer rebuilt as a compact brand-and-navigation architecture, with a
   deliberate light surface and a high-contrast midnight theme. */
#site-footer.pp-footer { position: relative; overflow: hidden; color: #526176; background: linear-gradient(180deg,#f8fbff 0%,#eef3fa 100%); border-top: 1px solid #dce5ef; }
#site-footer .pp-footer-top-rule { height: 3px; background: linear-gradient(90deg,#dc344b 0%,#536fe1 42%,#15a887 100%); opacity: .85; }
#site-footer .pp-footer-inner { width: min(100%,1120px); margin-inline: auto; padding: 34px 24px calc(112px + env(safe-area-inset-bottom)); }
#site-footer .pp-footer-main-grid { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(0,1.7fr); gap: clamp(24px,5vw,64px); align-items: start; }
#site-footer .pp-footer-brand-panel { max-width: 360px; }
#site-footer .pp-footer-logo { width: 54px; height: 54px; padding: 4px; border: 1px solid #d9e2ed; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(19,38,65,.1); }
#site-footer .pp-footer-brand { color: #16243a; font-size: 15px; letter-spacing: .13em; }
#site-footer .pp-footer-tagline { color: #69788c; font-size: 11px; }
#site-footer .pp-footer-intro { max-width: 330px; margin: 18px 0 14px; color: #5b6a7f; font-size: 12px; line-height: 1.75; }
#site-footer .pp-footer-domain { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #dce6f2; border-radius: 999px; color: #405979; background: rgba(255,255,255,.72); font-size: 10px; font-weight: 750; }
#site-footer .pp-footer-domain i { color: #3d70bd; }
#site-footer .pp-footer-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) minmax(190px,1.12fr); gap: 18px; align-items: stretch; }
#site-footer .pp-footer-nav-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 6px 0; }
#site-footer .pp-footer-heading { margin: 0 0 3px; color: #23344c; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
#site-footer .pp-footer-link { display: inline-flex; align-items: center; gap: 9px; padding: 0; color: #506078; font-size: 11px; font-weight: 600; text-align: left; transition: color .16s ease,transform .16s ease; }
#site-footer .pp-footer-link:hover { color: #b42338; transform: translateX(2px); }
#site-footer .pp-footer-link i { width: 15px; color: #c23449; text-align: center; }
#site-footer .pp-footer-status-card { display: flex; align-items: flex-start; gap: 11px; padding: 15px 14px; border: 1px solid #d7e3ef; border-radius: 18px; background: linear-gradient(140deg,rgba(255,255,255,.95),rgba(242,247,253,.9)); box-shadow: 0 8px 22px rgba(20,41,68,.055); }
#site-footer .pp-footer-status-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #d8efe8; border-radius: 12px; color: #08775a; background: #e8f8f2; }
#site-footer .pp-footer-status-card h2 { margin: 1px 0 6px; color: #24364d; font-size: 11px; font-weight: 850; }
#site-footer .pp-footer-status-card p { margin: 0; color: #66768b; font-size: 10px; line-height: 1.6; }
#site-footer .pp-footer-developer { margin-top: 28px; border-color: #d8e2ed; background: linear-gradient(110deg,rgba(255,255,255,.92),rgba(244,248,253,.92)); box-shadow: 0 10px 28px rgba(24,43,68,.055); }
#site-footer .pp-footer-eyebrow { color: #64758b; }
#site-footer .pp-footer-credit { color: #1d2d44; font-size: 15px; }
#site-footer .pp-footer-email { color: #506982; font-size: 11px; font-weight: 650; text-decoration: none; }
#site-footer .pp-footer-email i { color: #197760; }
#site-footer .pp-footer-legal { border-color: #d8e2ed; color: #718096; }
html[data-theme="dark"] #site-footer.pp-footer { color: #b8c4d5 !important; background: linear-gradient(180deg,#111c2d 0%,#0c1523 100%) !important; border-color: #2b3a50 !important; }
html[data-theme="dark"] #site-footer .pp-footer-logo { border-color: #3b4b63; background: #f8fafc; }
html[data-theme="dark"] #site-footer .pp-footer-brand,html[data-theme="dark"] #site-footer .pp-footer-heading,html[data-theme="dark"] #site-footer .pp-footer-status-card h2 { color: #f0f5fc !important; }
html[data-theme="dark"] #site-footer .pp-footer-tagline,html[data-theme="dark"] #site-footer .pp-footer-intro,html[data-theme="dark"] #site-footer .pp-footer-link,html[data-theme="dark"] #site-footer .pp-footer-email,html[data-theme="dark"] #site-footer .pp-footer-eyebrow { color: #bdcadd !important; }
html[data-theme="dark"] #site-footer .pp-footer-link:hover,html[data-theme="dark"] #site-footer .pp-footer-email:hover { color: #9cc8ff !important; }
html[data-theme="dark"] #site-footer .pp-footer-domain { border-color: #3b4c64; color: #d0dced; background: #18263a; }
html[data-theme="dark"] #site-footer .pp-footer-status-card { border-color: #34465e; background: linear-gradient(140deg,#17263a,#142136); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
html[data-theme="dark"] #site-footer .pp-footer-status-card p { color: #bdcadd; }
html[data-theme="dark"] #site-footer .pp-footer-developer { border-color: #35475f !important; background: linear-gradient(110deg,#17263a,#142136) !important; }
html[data-theme="dark"] #site-footer .pp-footer-credit { color: #f0f5fc !important; }
html[data-theme="dark"] #site-footer .pp-footer-email i { color: #6ee7b7 !important; }
html[data-theme="dark"] #site-footer .pp-footer-legal { border-color: #34445b; color: #aebbd0; }
@media (max-width: 760px) { #site-footer .pp-footer-inner { padding: 27px 18px calc(104px + env(safe-area-inset-bottom)); } #site-footer .pp-footer-main-grid { grid-template-columns: 1fr; gap: 22px; } #site-footer .pp-footer-brand-panel { max-width: none; } #site-footer .pp-footer-intro { max-width: 470px; margin-top: 13px; } #site-footer .pp-footer-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; } #site-footer .pp-footer-status-card { grid-column: 1/-1; } }
@media (max-width: 380px) { #site-footer .pp-footer-inner { padding-inline: 14px; } #site-footer .pp-footer-navigation { gap: 12px; } #site-footer .pp-footer-developer { padding: 14px !important; } }
@media (prefers-reduced-motion: reduce) { #site-footer .pp-footer-link,.pp-product-setup-overlay,.pp-product-setup-dialog,.pp-product-setup-trigger { transition: none !important; } }
