/* 
 * Social Link Page Styles
 * Mobile-first, centered, max-width ~680px
 */

/*
 * Defensive reset — prevents any active WordPress theme from adding unwanted
 * padding/margin to the body or inflating <section> padding on this page.
 * These rules are scoped to .slp-body so they only fire on the link bio page.
 */
body.slp-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.slp-body section {
    padding: 0 !important;
    margin: 0 !important;
}

 #moderncart-floating-cart,
 .woocommerce-cart,
 .widget_shopping_cart,
 .cart-contents,
 .site-header-cart {
    display: none !important;
 }
/* Wrapper and Container */
.slp-wrapper {
    min-height: 100vh;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.slp-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Typography Defaults */
.slp-container * {
    box-sizing: border-box;
}
.slp-container a {
    text-decoration: none;
    color: inherit;
}

/* Profile Section */
.slp-profile {
    text-align: center;
    margin-bottom: 16px;
}

.slp-profile-image {
    margin-bottom: 16px;
}

.slp-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.slp-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff; /* Default to white for dark backgrounds, should be customizable or inherit */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.slp-page-description {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-weight: normal;
}

/* Featured Section */
.slp-featured {
    width: 100%;
}

/* Optional heading row above featured / main links (title + icon top-right) */
.slp-block-heading--feat-global {
    margin-bottom: 8px;
}
.slp-block-heading {
    position: relative;
    width: 100%;
    margin: 0 0 12px;
    padding: 4px 0;
    text-align: center;
    box-sizing: border-box;
}
.slp-block-heading--has-icon {
    padding-right: 44px;
}
.slp-block-heading__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
    opacity: 0.92;
}
.slp-block-heading__icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.65rem;
    line-height: 1;
    opacity: 0.88;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.slp-featured-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    color: #333;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.slp-featured-card:hover, .slp-featured-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    outline: none;
}

.slp-featured-card:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.slp-featured-card--static {
    cursor: default;
}

.slp-featured-card--static:hover,
.slp-featured-card--static:focus,
.slp-featured-card--static:active {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.slp-featured-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.slp-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slp-featured-content {
    padding: 20px;
}

.slp-featured-content.has-badge {
    padding-right: 88px;
}

.slp-featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.slp-featured-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Links Section */
.slp-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

/* Main Links region: link lists + tags / text / FAQ / embed */
.slp-main-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}
.slp-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.slp-tag-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.875rem;
    line-height: 1.3;
}
.slp-extra-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: inherit;
    opacity: 0.92;
    text-align: center;
}
.slp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.slp-faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
}
.slp-faq-q {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}
.slp-faq-a {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.95;
}
.slp-embed-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}
.slp-embed-wrap iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
    border: 0;
}

.slp-link-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: #333;
    position: relative;
    min-height: 64px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

/* Extra horizontal room when there is no thumbnail or icon */
.slp-link-card--text-only {
    padding: 14px 22px;
}

.slp-link-card:hover, .slp-link-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    outline: none;
}

.slp-link-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.slp-link-card--static {
    cursor: default;
}

.slp-link-card--static:hover,
.slp-link-card--static:focus,
.slp-link-card--static:active {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.slp-link-thumb,
.slp-link-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.slp-link-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slp-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lbt-link-icon-bg, rgba(255, 255, 255, 0.2));
    color: var(--lbt-link-icon-color, #ffffff);
}

.slp-link-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--lbt-link-icon-color, #ffffff);
}

.slp-link-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slp-link-card--text-only .slp-link-text {
    text-align: var(--lbt-link-text-align, center);
}

.slp-link-text.slp-has-thumb {
    text-align: left;
}

.slp-link-text.slp-no-desc .slp-link-title {
    margin: 0;
}

.slp-link-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #fff;
}

.slp-link-description {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
}

.slp-link-badge {
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 8px;
}

.slp-link-badge span {
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Socials Section */
.slp-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 0;
}

.slp-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
    /* Default outline style - can be overridden by build_inline_css */
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.slp-social-icon:hover, .slp-social-icon:focus {
    transform: scale(1.1);
    outline: none;
    opacity: 0.8;
}

.slp-social-icon svg {
    width: 20px;
    height: 20px;
}

.slp-social-icon i {
    font-size: 20px;
}

/* Secondary socials — smaller, quieter, inside collapsible */
.slp-socials-more {
    margin-top: 12px;
    max-width: 100%;
}
.slp-socials-more-summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.12);
    text-align: center;
    user-select: none;
}
.slp-socials-more-summary::-webkit-details-marker {
    display: none;
}
.slp-socials-more[open] .slp-socials-more-summary {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.35);
}
.slp-socials--minor {
    gap: 10px;
    margin-top: 4px;
    padding: 12px 8px 4px;
    justify-content: center;
    flex-wrap: wrap;
}
.slp-socials--minor .slp-social-icon {
    width: 36px;
    height: 36px;
    opacity: 0.92;
    border-color: rgba(255, 255, 255, 0.35);
}
.slp-socials--minor .slp-social-icon i {
    font-size: 16px;
}

/* Footer Section */
.slp-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
/*
.slp-footer a {
    text-decoration: underline;
}*/

/* Focus styles for accessibility */
.slp-featured-card:focus-visible,
.slp-link-card:focus-visible,
.slp-social-icon:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Dark mode / Light mode generic overrides */
@media (prefers-color-scheme: light) {
    /* If the background is light, text should be dark. 
       Assuming the user will set background colors via ACF, 
       we might need a way to toggle text color. 
       For now, we use inherit or white with text-shadow for readability. */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
body.slp-body {
    background-attachment: fixed !important;
}
.slp-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}
.slp-container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slp-profile {
    text-align: center;
    margin-bottom: 0;
}
.slp-profile-image {
    margin-bottom: 16px;
}
.slp-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}
.slp-page-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.slp-page-description {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.5;
}
.slp-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.slp-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    /* Default outline style - can be overridden by build_inline_css */
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}
.slp-social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
.slp-social-icon svg {
    width: 28px;
    height: 28px;
}
.slp-social-icon i {
    font-size: 24px;
}
/* Inline SVG marks (LINE, Telegram): match FA icon size; beat generic .slp-social-icon svg rules. */
.slp-social-icon svg.lbt-soc-svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}
.slp-socials--minor .slp-social-icon svg.lbt-soc-svg {
    width: 16px;
    height: 16px;
}
.slp-featured {
    width: 100%;
    margin-bottom: 16px;
}
.slp-featured-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}
.slp-featured-card:hover,
.slp-featured-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    outline: none;
}

.slp-featured-card--static {
    cursor: default;
}

.slp-featured-card--static:hover,
.slp-featured-card--static:focus {
    transform: none;
    box-shadow: none;
}

.slp-featured-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    padding: 15px;
}
.slp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
/* Horizontal featured: text block vertically centered in the content column; lines stay left-aligned. Badge is fixed top-right of the card. */
.slp-featured-card:not(.slp-featured-card--vertical) .slp-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    text-align: left;
}

/* Beside thumbnail: no left padding (image column provides spacing). */
.slp-featured-card:not(.slp-featured-card--text-only):not(.slp-featured-card--vertical) .slp-featured-content {
    flex: 1;
    padding: 12px 16px 12px 0;
}

.slp-featured-card:not(.slp-featured-card--vertical) .slp-featured-content.has-badge {
    padding-right: 30px;
}

.slp-featured-card--text-only:not(.slp-featured-card--vertical) {
    align-items: center;
}

.slp-featured-card--text-only:not(.slp-featured-card--vertical) .slp-featured-content {
    flex: 1;
    padding: 18px 22px;
}

.slp-featured-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.slp-featured-description {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}
.slp-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}
.slp-featured-badge span {
    background: #ff6b6b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}
.slp-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.slp-main-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}
.slp-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.slp-tag-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    line-height: 1.3;
}
.slp-extra-text {
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
    opacity: 0.95;
}
.slp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.slp-faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
}
.slp-faq-q {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}
.slp-faq-a {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.95;
}
.slp-embed-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}
.slp-embed-wrap iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
    border: 0;
}
.slp-link-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}
.slp-link-card--text-only {
    padding: 14px 22px;
}
.slp-link-card:hover,
.slp-link-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    outline: none;
}

.slp-link-card--static {
    cursor: default;
}

.slp-link-card--static:hover,
.slp-link-card--static:focus {
    transform: none;
    box-shadow: none;
}

.slp-link-thumb,
.slp-link-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.slp-link-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slp-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lbt-link-icon-bg, rgba(255, 255, 255, 0.2));
    color: var(--lbt-link-icon-color, #ffffff);
}
.slp-link-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--lbt-link-icon-color, #ffffff);
}
.slp-link-text {
    flex: 1;
}
.slp-link-card--text-only .slp-link-text {
    text-align: var(--lbt-link-text-align, center);
}
.slp-link-text.slp-has-thumb {
    text-align: left;
}
.slp-link-title {
    font-size: 15px;
    font-weight: 600;
}
.slp-link-description {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.8;
    margin-top: 2px;
    line-height: 1.5;
}
.slp-link-badge {
    flex-shrink: 0;
    margin-left: auto;
}
.slp-link-badge span {
    background: #ff6b6b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}
.slp-footer {
    margin-top: 32px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}
.slp-footer a {
    color: rgba(255,255,255,0.9);
}
@media (min-width: 768px) {
    .slp-wrapper {
        padding: 60px 20px;
    }
    .slp-avatar {
        width: 120px;
        height: 120px;
    }
    .slp-page-title {
        font-size: 28px;
    }
    .slp-featured-image {
        width: 100px;
        height: 100px;
    }
}

/* Freeform featured: one vertical card — image strip + content */
.slp-featured-card--freeform-combined .slp-featured-freeform-images {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.slp-featured-card--freeform-combined .slp-featured-freeform-images .slp-featured-image {
    margin: 0;
}
.slp-featured--rich_text .slp-featured-card--freeform-combined + .slp-featured-card--freeform-combined {
    margin-top: 12px;
}

/* ── Featured Card — Vertical layout ────────────────────────────────────── */
.slp-featured-card--vertical {
    display: block !important;
}
.slp-featured-card--vertical .slp-featured-image {
    width: 100% !important;
    height: 180px !important;
    padding: 0 !important;
    flex-shrink: unset;
}
.slp-featured-card--vertical .slp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.slp-featured-card--vertical .slp-featured-content {
    padding: 16px !important;
    padding-right: 16px !important;
    text-align: left;
}
.slp-featured-card--vertical .slp-featured-content.has-badge {
    padding-right: 88px !important;
}
.slp-featured-card--vertical .slp-featured-badge {
    top: 12px;
    right: 12px;
}
.slp-featured-card--vertical .slp-featured-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.slp-featured-card--vertical .slp-featured-description {
    font-size: 13px;
}
.slp-featured-card--vertical.slp-featured-card--text-only .slp-featured-content {
    padding: 22px 24px !important;
}

/* ── Featured Card — Style 3 (Dark Bordered + Pill Badge) ───────────────── */
.slp-featured-card--style3 {
    background: var(--lbt-feat-card-bg, #1a1a3e) !important;
    border: 2px solid var(--lbt-feat-card-border, #c9a84c) !important;
    color: var(--lbt-feat-card-text, #ffffff) !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.slp-featured-card--style3:hover,
.slp-featured-card--style3:focus {
    background: color-mix(in srgb, var(--lbt-feat-card-bg, #1a1a3e) 90%, black) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    outline: none;
}
.slp-featured-card--style3 .slp-featured-title {
    color: var(--lbt-feat-card-text, #ffffff);
}
.slp-featured-card--style3 .slp-featured-description {
    color: color-mix(in srgb, var(--lbt-feat-card-text, #ffffff) 70%, transparent);
}
/* Style 3: pill badge vertically centered on the right; copy is left-aligned with room for the badge */
.slp-featured-card--style3 .slp-featured-content.has-badge {
    padding-right: 96px !important;
}
.slp-featured-card--style3 .slp-featured-badge {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}
.slp-featured-card--style3 .slp-featured-badge span {
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--lbt-feat-badge-bg, #c9a84c);
    color: var(--lbt-feat-badge-text, #fff);
}

/* ── Corner browser tools + Pro Smart Exit overlay ───────────────────────── */
.slp-browser-tools {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10050;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.slp-browser-tools__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.15s ease;
}
.slp-browser-tools__trigger:hover,
.slp-browser-tools__trigger:focus-visible {
    background: rgba(0, 0, 0, 0.62);
    transform: scale(1.04);
    outline: none;
}
.slp-browser-tools__trigger .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
}
.slp-browser-tools__panel {
    position: absolute;
    top: 52px;
    right: 0;
    width: min(320px, calc(100vw - 32px));
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(20, 20, 28, 0.96);
    color: #f4f4f5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    line-height: 1.45;
}
.slp-browser-tools__panel[hidden] {
    display: none !important;
}
.slp-browser-tools__title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 14px;
}
.slp-browser-tools__intro {
    margin: 0 0 12px;
    opacity: 0.92;
    font-size: 12px;
}
.slp-browser-tools__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.slp-browser-tools__actions--stacked {
    flex-direction: column;
}
.slp-browser-tools__btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.slp-browser-tools__btn-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.slp-browser-tools__btn-label {
    line-height: 1.25;
    text-align: center;
}
.slp-browser-tools__btn--primary {
    background: #fff;
    color: #111;
    border-color: #fff;
}
.slp-browser-tools__actions--stacked .slp-browser-tools__btn {
    width: 100%;
    flex: none;
}
.slp-browser-tools__status {
    margin: 10px 0 0;
    min-height: 1.2em;
    font-size: 12px;
    color: #a7f3d0;
}

.lbt-smart-exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 16px max(20px, env(safe-area-inset-bottom, 20px));
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.lbt-smart-exit-overlay[hidden] {
    display: none !important;
}
.lbt-smart-exit-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}
.lbt-smart-exit-overlay__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px 18px 18px;
    border-radius: 14px 14px 10px 10px;
    background: #14141c;
    color: #fafafa;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.lbt-smart-exit-overlay__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #a1a1aa;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
}
.lbt-smart-exit-overlay__close:hover,
.lbt-smart-exit-overlay__close:focus-visible {
    color: #fff;
    outline: none;
}
.lbt-smart-exit-overlay__banner {
    margin: 0 32px 12px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}
.lbt-smart-exit-overlay__body {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #d4d4d8;
}
.lbt-smart-exit-overlay__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lbt-smart-exit-overlay__cta {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.lbt-smart-exit-overlay__cta .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
}
.lbt-smart-exit-overlay__cta:hover,
.lbt-smart-exit-overlay__cta:focus-visible {
    filter: brightness(1.06);
    outline: none;
}
.lbt-smart-exit-overlay__btn-secondary {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fafafa;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.lbt-smart-exit-overlay__btn-secondary .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}
.lbt-smart-exit-overlay__btn-secondary:hover,
.lbt-smart-exit-overlay__btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}
.lbt-smart-exit-overlay__hint {
    margin: 12px 0 0;
    min-height: 1.25em;
    font-size: 13px;
    line-height: 1.45;
    color: #d4d4d8;
    opacity: 0.95;
}